@pipe0/base 0.0.5 → 0.0.7
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 +16 -0
- package/dist/index.d.mts +12264 -4633
- package/dist/index.mjs +10 -10
- package/package.json +4 -4
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{format as u,parse as ee}from"date-fns";import{getDomain as te}from"tldts";e(r);const ne={linkedin:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1ba16ca7-513b-4a25-2bc2-5548acdd2000/icon`},d=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()}),re={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`},f=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()}),ie={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`},p=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`],m=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{format as u,parse as ee}from"date-fns";import{getDomain as te}from"tldts";e(r);const ne={companydb:`https://api.crustdata.com/screener/companydb/autocomplete`,persondb:`https://api.crustdata.com/screener/persondb/autocomplete`};function d(e,t){return async(n,r,i)=>{let a=await fetch(ne[e],{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Token ${i.apiKey}`},body:JSON.stringify({field:t,query:n,limit:r})});if(!a.ok)throw Error(`Crustdata ${e} autocomplete failed`);return(await a.json()).suggestions.map(e=>({value:e,label:e}))}}const re=e=>e.map(e=>({value:e,label:e})),f=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),ie=f([[`Public Company`,`📈`],[`Educational`,`🎓`],[`Self Employed`,`👤`],[`Government Agency`,`🏛️`],[`Non Profit`,`💝`],[`Self Owned`,`🪪`],[`Privately Held`,`🔒`],[`Partnership`,`🤝`]]),p=re([`1-10 employees`,`11-50 employees`,`51-200 employees`,`201-500 employees`,`501-1000 employees`,`1001-5000 employees`,`5001-10000 employees`,`10001+ employees`]),ae=f([[`Owner`,`👑`],[`Founder`,`🚀`],[`C-Suite`,`💼`],[`Partner`,`🤝`],[`VP`,`🎖️`],[`Head`,`🎯`],[`Director`,`🎬`],[`Manager`,`👔`],[`Senior`,`⭐`],[`Entry`,`🌱`],[`Intern`,`🎓`],[`Other`,`❔`],[`Non-Manager`,`👥`],[`Founder / Owner`,`🚀`]]),oe=f([[`Senior Leadership`,`👑`],[`Consulting`,`💼`],[`Design`,`🎨`],[`Education`,`🎓`],[`Engineering & Technical`,`🛠️`],[`Finance`,`💰`],[`Human Resources`,`👥`],[`Information Technology`,`💻`],[`Legal`,`⚖️`],[`Marketing`,`📣`],[`Medical & Health`,`🏥`],[`Operations`,`⚙️`],[`Product`,`📦`],[`Revenue`,`💸`]]),se=re([`$0-$1M`,`$1M-$10M`,`$10M-$100M`,`$100M-$1B`,`$1B+`]),ce=f([[`Account Management`,`🤝`],[`Accounting`,`📊`],[`Acquisitions`,`🛒`],[`Advertising`,`📺`],[`Anesthesiology`,`💉`],[`Application Development`,`📱`],[`Artificial Intelligence / Machine Learning`,`🤖`],[`Bioengineering & Biometrics`,`🧬`],[`Brand Management`,`🏷️`],[`Business Development`,`📈`],[`Business Intelligence`,`🧠`],[`Business Service Management / ITSM`,`🛠️`],[`Call Center`,`📞`],[`Channel Sales`,`📡`],[`Chemical Engineering`,`⚗️`],[`Chiropractics`,`🦴`],[`Clinical Systems`,`🏥`],[`Cloud / Mobility`,`☁️`],[`Collaboration & Web App`,`🌐`],[`Compensation & Benefits`,`💵`],[`Compliance`,`✅`],[`Construction`,`🏗️`],[`Consultant`,`💼`],[`Content Marketing`,`✍️`],[`Contracts`,`📄`],[`Corporate Secretary`,`📋`],[`Corporate Strategy`,`🎯`],[`Culture, Diversity & Inclusion`,`🌈`],[`Customer Experience`,`😊`],[`Customer Marketing`,`📢`],[`Customer Retention & Development`,`🔁`],[`Customer Service / Support`,`🎧`],[`Customer Success`,`🌟`],[`Data Center`,`🗄️`],[`Data Science`,`📈`],[`Data Warehouse`,`🏬`],[`Database Administration`,`🗃️`],[`Demand Generation`,`🧲`],[`Dentistry`,`🦷`],[`Dermatology`,`🧴`],[`DevOps`,`⚙️`],[`Digital Marketing`,`💻`],[`Digital Transformation`,`🔄`],[`Doctors / Physicians`,`👨⚕️`],[`eCommerce Development`,`🛒`],[`eCommerce Marketing`,`🛍️`],[`eDiscovery`,`🔍`],[`Emerging Technology / Innovation`,`💡`],[`Employee & Labor Relations`,`🤝`],[`Engineering & Technical`,`🛠️`],[`Enterprise Architecture`,`🏛️`],[`Enterprise Resource Planning`,`📊`],[`Epidemiology`,`🦠`],[`Ethics`,`⚖️`],[`Event Marketing`,`🎉`],[`Executive`,`💼`],[`Facilities Management`,`🏢`],[`Field / Outside Sales`,`🚗`],[`Field Marketing`,`🌳`],[`Finance`,`💰`],[`Finance Executive`,`💼`],[`Financial Planning & Analysis`,`📈`],[`Financial Reporting`,`📑`],[`Financial Risk`,`⚠️`],[`Financial Strategy`,`🎯`],[`Financial Systems`,`🏦`],[`First Responder`,`🚨`],[`Founder`,`🚀`],[`Governance`,`🏛️`],[`Governmental Affairs & Regulatory Law`,`📜`],[`Graphic / Visual / Brand Design`,`🎨`],[`Growth`,`📈`],[`Health & Safety`,`🦺`],[`Help Desk / Desktop Services`,`🖥️`],[`HR / Financial / ERP Systems`,`🧾`],[`HR Business Partner`,`🤝`],[`Human Resource Information System`,`💾`],[`Human Resources`,`👥`],[`Human Resources Executive`,`💼`],[`Industrial Engineering`,`🏭`],[`Infectious Disease`,`🦠`],[`Information Security`,`🔒`],[`Information Technology`,`💻`],[`Information Technology Executive`,`💼`],[`Infrastructure`,`🏗️`],[`Inside Sales`,`📞`],[`Intellectual Property & Patent`,`💡`],[`Internal Audit & Control`,`🔍`],[`Investor Relations`,`💰`],[`IT Asset Management`,`📦`],[`IT Audit / IT Compliance`,`🔍`],[`IT Operations`,`⚙️`],[`IT Procurement`,`🛒`],[`IT Strategy`,`🎯`],[`IT Training`,`🎓`],[`Labor & Employment`,`👷`],[`Lawyer / Attorney`,`⚖️`],[`Lead Generation`,`🎯`],[`Learning & Development`,`📚`],[`Leasing`,`🔑`],[`Legal`,`⚖️`],[`Legal Counsel`,`⚖️`],[`Legal Executive`,`💼`],[`Legal Operations`,`📋`],[`Litigation`,`🏛️`],[`Logistics`,`🚚`],[`Marketing`,`📣`],[`Marketing Analytics / Insights`,`📊`],[`Marketing Communications`,`📰`],[`Marketing Executive`,`💼`],[`Marketing Operations`,`⚙️`],[`Mechanic`,`🔧`],[`Medical & Health Executive`,`🏥`],[`Medical Administration`,`📋`],[`Medical Education & Training`,`🎓`],[`Medical Research`,`🧪`],[`Medicine`,`💊`],[`Mergers & Acquisitions`,`🤝`],[`Mobile Development`,`📱`],[`Networking`,`🌐`],[`Neurology`,`🧠`],[`Nursing`,`🩺`],[`Nutrition & Dietetics`,`🥗`],[`Obstetrics / Gynecology`,`🤰`],[`Office Operations`,`🏢`],[`Oncology`,`🎗️`],[`Operations`,`⚙️`],[`Operations Executive`,`💼`],[`Ophthalmology`,`👁️`],[`Optometry`,`👓`],[`Organizational Development`,`📈`],[`Orthopedics`,`🦴`],[`Partnerships`,`🤝`],[`Pathology`,`🔬`],[`Pediatrics`,`👶`],[`People Operations`,`👥`],[`Pharmacy`,`💊`],[`Physical Security`,`🛡️`],[`Physical Therapy`,`🤸`],[`Principal`,`🏫`],[`Privacy`,`🔒`],[`Product Development`,`🔧`],[`Product Management`,`📦`],[`Product Marketing`,`📦`],[`Product or UI/UX Design`,`🎨`],[`Professor`,`👨🏫`],[`Project & Program Management`,`📅`],[`Project Development`,`🛠️`],[`Project Management`,`📋`],[`Psychiatry`,`🧠`],[`Psychology`,`🧠`],[`Public Health`,`🏥`],[`Public Relations`,`📰`],[`Quality Assurance`,`✅`],[`Quality Management`,`✅`],[`Radiology`,`📷`],[`Real Estate`,`🏠`],[`Real Estate Finance`,`🏘️`],[`Recruiting & Talent Acquisition`,`🎯`],[`Research & Development`,`🔬`],[`Retail / Store Systems`,`🛍️`],[`Revenue Operations`,`💸`],[`Safety`,`🦺`],[`Sales`,`💸`],[`Sales Enablement`,`🎯`],[`Sales Engineering`,`🛠️`],[`Sales Executive`,`💼`],[`Sales Operations`,`⚙️`],[`Sales Training`,`🎓`],[`Scrum Master / Agile Coach`,`🏃`],[`Search Engine Optimization / Pay Per Click`,`🔍`],[`Servers`,`🖥️`],[`Shared Services`,`🔄`],[`Social Media Marketing`,`📱`],[`Social Work`,`🫂`],[`Software Development`,`💻`],[`Sourcing / Procurement`,`🛒`],[`Storage & Disaster Recovery`,`💾`],[`Store Operations`,`🏪`],[`Strategic Communications`,`📣`],[`Superintendent`,`👷`],[`Supply Chain`,`🔗`],[`Support / Technical Services`,`🎧`],[`Talent Management`,`🌟`],[`Tax`,`💵`],[`Teacher`,`👨🏫`],[`Technical Marketing`,`🛠️`],[`Technician`,`🔧`],[`Technology Operations`,`⚙️`],[`Telecommunications`,`📡`],[`Test / Quality Assurance`,`✅`],[`Treasury`,`💰`],[`UI / UX`,`🎨`],[`Virtualization`,`💻`],[`Web Development`,`🌐`],[`Workforce Management`,`👥`]]),le=f([[`Abrasives and Nonmetallic Minerals Manufacturing`,`🪨`],[`Accessible Architecture and Design`,`♿`],[`Accessible Hardware Manufacturing`,`♿`],[`Accommodation and Food Services`,`🏨`],[`Accounting`,`📊`],[`Administration of Justice`,`⚖️`],[`Administrative and Support Services`,`📋`],[`Advertising Services`,`📺`],[`Agricultural Chemical Manufacturing`,`🧪`],[`Agriculture, Construction, Mining Machinery Manufacturing`,`🚜`],[`Air, Water, and Waste Program Management`,`♻️`],[`Airlines and Aviation`,`✈️`],[`Alternative Dispute Resolution`,`🤝`],[`Alternative Fuel Vehicle Manufacturing`,`🔋`],[`Alternative Medicine`,`🌿`],[`Ambulance Services`,`🚑`],[`Amusement Parks and Arcades`,`🎢`],[`Animal Feed Manufacturing`,`🌾`],[`Animation and Post-production`,`🎬`],[`Apparel Manufacturing`,`👔`],[`Appliances, Electrical, and Electronics Manufacturing`,`🔌`],[`Architectural and Structural Metal Manufacturing`,`🏗️`],[`Architecture and Planning`,`📐`],[`Armed Forces`,`🪖`],[`Artificial Rubber and Synthetic Fiber Manufacturing`,`🧵`],[`Artists and Writers`,`🎨`],[`Audio and Video Equipment Manufacturing`,`🎙️`],[`Automation Machinery Manufacturing`,`🤖`],[`Aviation and Aerospace Component Manufacturing`,`🛩️`],[`Baked Goods Manufacturing`,`🥖`],[`Banking`,`🏦`],[`Bars, Taverns, and Nightclubs`,`🍻`],[`Bed-and-Breakfasts, Hostels, Homestays`,`🛏️`],[`Beverage Manufacturing`,`🥤`],[`Biomass Electric Power Generation`,`🌱`],[`Biotechnology Research`,`🧬`],[`Blockchain Services`,`⛓️`],[`Blogs`,`📝`],[`Boilers, Tanks, and Shipping Container Manufacturing`,`📦`],[`Book Publishing`,`📚`],[`Book and Periodical Publishing`,`📚`],[`Breweries`,`🍺`],[`Broadcast Media Production and Distribution`,`📡`],[`Building Construction`,`🏗️`],[`Building Equipment Contractors`,`🔧`],[`Building Finishing Contractors`,`🪜`],[`Building Structure and Exterior Contractors`,`🧱`],[`Business Consulting and Services`,`💼`],[`Business Content`,`📰`],[`Business Intelligence Platforms`,`📊`],[`Cable and Satellite Programming`,`📡`],[`Capital Markets`,`📈`],[`Caterers`,`🍽️`],[`Chemical Manufacturing`,`⚗️`],[`Chemical Raw Materials Manufacturing`,`🧪`],[`Child Day Care Services`,`👶`],[`Chiropractors`,`🦴`],[`Circuses and Magic Shows`,`🎪`],[`Civic and Social Organizations`,`🏛️`],[`Civil Engineering`,`🌉`],[`Claims Adjusting, Actuarial Services`,`🧮`],[`Clay and Refractory Products Manufacturing`,`🏺`],[`Climate Data and Analytics`,`🌡️`],[`Climate Technology Product Manufacturing`,`🌍`],[`Coal Mining`,`⛏️`],[`Collection Agencies`,`💵`],[`Commercial and Industrial Equipment Rental`,`🏗️`],[`Commercial and Industrial Machinery Maintenance`,`🔧`],[`Commercial and Service Industry Machinery Manufacturing`,`🏭`],[`Communications Equipment Manufacturing`,`📡`],[`Community Development and Urban Planning`,`🏙️`],[`Community Services`,`🫂`],[`Computer Games`,`🎮`],[`Computer Hardware Manufacturing`,`🖥️`],[`Computer Networking Products`,`🌐`],[`Computer and Network Security`,`🔒`],[`Computers and Electronics Manufacturing`,`💻`],[`Conservation Programs`,`🌳`],[`Construction`,`🏗️`],[`Construction Hardware Manufacturing`,`🔩`],[`Consumer Goods Rental`,`🛋️`],[`Consumer Services`,`🛎️`],[`Correctional Institutions`,`🚔`],[`Cosmetology and Barber Schools`,`💇`],[`Courts of Law`,`⚖️`],[`Credit Intermediation`,`💳`],[`Cutlery and Handtool Manufacturing`,`🔪`],[`Dairy Product Manufacturing`,`🥛`],[`Dance Companies`,`💃`],[`Data Infrastructure and Analytics`,`📊`],[`Data Security Software Products`,`🔐`],[`Defense and Space Manufacturing`,`🚀`],[`Dentists`,`🦷`],[`Design Services`,`🎨`],[`Desktop Computing Software Products`,`🖥️`],[`Digital Accessibility Services`,`♿`],[`Distilleries`,`🥃`],[`E-Learning Providers`,`💻`],[`Economic Programs`,`💹`],[`Education`,`🎓`],[`Education Administration Programs`,`🏫`],[`Electric Lighting Equipment Manufacturing`,`💡`],[`Electric Power Generation`,`⚡`],[`Electric Power Transmission, Control, and Distribution`,`🔌`],[`Electrical Equipment Manufacturing`,`🔌`],[`Electronic and Precision Equipment Maintenance`,`🔧`],[`Embedded Software Products`,`💾`],[`Emergency and Relief Services`,`🚨`],[`Engineering Services`,`🛠️`],[`Engines and Power Transmission Equipment Manufacturing`,`⚙️`],[`Entertainment Providers`,`🎭`],[`Environmental Quality Programs`,`🌿`],[`Environmental Services`,`♻️`],[`Equipment Rental Services`,`🏗️`],[`Events Services`,`🎉`],[`Executive Offices`,`🏢`],[`Executive Search Services`,`🎯`],[`Fabricated Metal Products`,`🔩`],[`Facilities Services`,`🧹`],[`Family Planning Centers`,`👨👩👧`],[`Farming`,`🌾`],[`Farming, Ranching, Forestry`,`🚜`],[`Fashion Accessories Manufacturing`,`👜`],[`Financial Services`,`💰`],[`Fine Arts Schools`,`🎨`],[`Fire Protection`,`🔥`],[`Fisheries`,`🎣`],[`Flight Training`,`✈️`],[`Food and Beverage Manufacturing`,`🍱`],[`Food and Beverage Retail`,`🛒`],[`Food and Beverage Services`,`🍽️`],[`Footwear Manufacturing`,`👟`],[`Footwear and Leather Goods Repair`,`👞`],[`Forestry and Logging`,`🌲`],[`Fossil Fuel Electric Power Generation`,`🛢️`],[`Freight and Package Transportation`,`📦`],[`Fruit and Vegetable Preserves Manufacturing`,`🥫`],[`Fuel Cell Manufacturing`,`🔋`],[`Fundraising`,`🎗️`],[`Funds and Trusts`,`💰`],[`Furniture and Home Furnishings Manufacturing`,`🛋️`],[`Gambling Facilities and Casinos`,`🎰`],[`Geothermal Electric Power Generation`,`🌋`],[`Glass Product Manufacturing`,`🪟`],[`Glass, Ceramics and Concrete Manufacturing`,`🧱`],[`Golf Courses and Country Clubs`,`⛳`],[`Government Administration`,`🏛️`],[`Government Relations Services`,`🏛️`],[`Graphic Design`,`🎨`],[`Ground Passenger Transportation`,`🚌`],[`HVAC and Refrigeration Equipment Manufacturing`,`❄️`],[`Health and Human Services`,`🏥`],[`Higher Education`,`🎓`],[`Highway, Street, and Bridge Construction`,`🛣️`],[`Historical Sites`,`🏛️`],[`Holding Companies`,`🏢`],[`Home Health Care Services`,`🏠`],[`Horticulture`,`🌷`],[`Hospitality`,`🏨`],[`Hospitals`,`🏥`],[`Hospitals and Health Care`,`🏥`],[`Hotels and Motels`,`🏨`],[`Household Appliance Manufacturing`,`🍳`],[`Household Services`,`🧹`],[`Household and Institutional Furniture Manufacturing`,`🪑`],[`Housing Programs`,`🏘️`],[`Housing and Community Development`,`🏘️`],[`Human Resources Services`,`👥`],[`Hydroelectric Power Generation`,`💧`],[`IT Services and IT Consulting`,`💻`],[`IT System Custom Software Development`,`💻`],[`IT System Data Services`,`🗄️`],[`IT System Design Services`,`🖥️`],[`IT System Installation and Disposal`,`🔧`],[`IT System Operations and Maintenance`,`⚙️`],[`IT System Testing and Evaluation`,`🧪`],[`IT System Training and Support`,`🎓`],[`Individual and Family Services`,`👨👩👧`],[`Industrial Machinery Manufacturing`,`🏭`],[`Industry Associations`,`🤝`],[`Information Services`,`ℹ️`],[`Insurance`,`🛡️`],[`Insurance Agencies and Brokerages`,`🛡️`],[`Insurance Carriers`,`🛡️`],[`Insurance and Employee Benefit Funds`,`🛡️`],[`Interior Design`,`🛋️`],[`International Affairs`,`🌍`],[`International Trade and Development`,`🌐`],[`Internet Marketplace Platforms`,`🛒`],[`Internet News`,`📰`],[`Internet Publishing`,`📰`],[`Interurban and Rural Bus Services`,`🚌`],[`Investment Advice`,`📈`],[`Investment Banking`,`💼`],[`Investment Management`,`💰`],[`Janitorial Services`,`🧹`],[`Landscaping Services`,`🌳`],[`Language Schools`,`🗣️`],[`Laundry and Drycleaning Services`,`🧺`],[`Law Enforcement`,`🚓`],[`Law Practice`,`⚖️`],[`Leasing Non-residential Real Estate`,`🏢`],[`Leasing Residential Real Estate`,`🏘️`],[`Leather Product Manufacturing`,`👜`],[`Legal Services`,`⚖️`],[`Legislative Offices`,`🏛️`],[`Libraries`,`📚`],[`Lime and Gypsum Products Manufacturing`,`🧱`],[`Loan Brokers`,`💳`],[`Machinery Manufacturing`,`🏭`],[`Magnetic and Optical Media Manufacturing`,`💿`],[`Manufacturing`,`🏭`],[`Maritime Transportation`,`🚢`],[`Market Research`,`📊`],[`Marketing Services`,`📣`],[`Mattress and Blinds Manufacturing`,`🛏️`],[`Measuring and Control Instrument Manufacturing`,`📏`],[`Meat Products Manufacturing`,`🥩`],[`Media Production`,`🎬`],[`Media and Telecommunications`,`📡`],[`Medical Equipment Manufacturing`,`🩺`],[`Medical Practices`,`🏥`],[`Medical and Diagnostic Laboratories`,`🧪`],[`Mental Health Care`,`🧠`],[`Metal Ore Mining`,`⛏️`],[`Metal Treatments`,`🔥`],[`Metal Valve, Ball, and Roller Manufacturing`,`⚙️`],[`Metalworking Machinery Manufacturing`,`🔩`],[`Military and International Affairs`,`🪖`],[`Mining`,`⛏️`],[`Mobile Computing Software Products`,`📱`],[`Mobile Food Services`,`🚐`],[`Mobile Gaming Apps`,`🎮`],[`Motor Vehicle Manufacturing`,`🚗`],[`Motor Vehicle Parts Manufacturing`,`🔧`],[`Movies and Sound Recording`,`🎬`],[`Movies, Videos, and Sound`,`🎥`],[`Museums`,`🏛️`],[`Museums, Historical Sites, and Zoos`,`🦁`],[`Musicians`,`🎵`],[`Nanotechnology Research`,`🔬`],[`Natural Gas Distribution`,`🔥`],[`Natural Gas Extraction`,`⛽`],[`Newspaper Publishing`,`📰`],[`Non-profit Organizations`,`💝`],[`Nonmetallic Mineral Mining`,`⛏️`],[`Nonresidential Building Construction`,`🏢`],[`Nuclear Electric Power Generation`,`☢️`],[`Nursing Homes and Residential Care Facilities`,`🏥`],[`Office Administration`,`🗂️`],[`Office Furniture and Fixtures Manufacturing`,`🪑`],[`Oil Extraction`,`🛢️`],[`Oil and Coal Product Manufacturing`,`🛢️`],[`Oil and Gas`,`🛢️`],[`Oil, Gas, and Mining`,`⛏️`],[`Online Audio and Video Media`,`🎥`],[`Online and Mail Order Retail`,`📦`],[`Operations Consulting`,`💼`],[`Optometrists`,`👓`],[`Outpatient Care Centers`,`🏥`],[`Outsourcing and Offshoring Consulting`,`🌐`],[`Packaging and Containers Manufacturing`,`📦`],[`Paint, Coating, and Adhesive Manufacturing`,`🎨`],[`Paper and Forest Product Manufacturing`,`📄`],[`Pension Funds`,`💰`],[`Performing Arts`,`🎭`],[`Performing Arts and Spectator Sports`,`🎭`],[`Periodical Publishing`,`📰`],[`Personal Care Product Manufacturing`,`🧴`],[`Personal Care Services`,`💆`],[`Personal and Laundry Services`,`🧺`],[`Pet Services`,`🐾`],[`Pharmaceutical Manufacturing`,`💊`],[`Philanthropic Fundraising Services`,`🎗️`],[`Photography`,`📷`],[`Physical, Occupational and Speech Therapists`,`🤸`],[`Physicians`,`👨⚕️`],[`Pipeline Transportation`,`🛢️`],[`Plastics Manufacturing`,`🛢️`],[`Plastics and Rubber Product Manufacturing`,`🧰`],[`Political Organizations`,`🗳️`],[`Postal Services`,`📮`],[`Primary Metal Manufacturing`,`🔩`],[`Primary and Secondary Education`,`🏫`],[`Printing Services`,`🖨️`],[`Professional Organizations`,`🤝`],[`Professional Services`,`💼`],[`Professional Training and Coaching`,`🎓`],[`Public Assistance Programs`,`🤲`],[`Public Health`,`🏥`],[`Public Policy Offices`,`🏛️`],[`Public Relations and Communications Services`,`📰`],[`Public Safety`,`🚨`],[`Racetracks`,`🏁`],[`Radio and Television Broadcasting`,`📻`],[`Rail Transportation`,`🚆`],[`Railroad Equipment Manufacturing`,`🚂`],[`Ranching`,`🐄`],[`Ranching and Fisheries`,`🐟`],[`Real Estate`,`🏠`],[`Real Estate Agents and Brokers`,`🔑`],[`Real Estate and Equipment Rental Services`,`🏘️`],[`Recreational Facilities`,`🎳`],[`Regenerative Design`,`♻️`],[`Religious Institutions`,`⛪`],[`Renewable Energy Equipment Manufacturing`,`🔋`],[`Renewable Energy Power Generation`,`🌞`],[`Renewable Energy Semiconductor Manufacturing`,`🔋`],[`Repair and Maintenance`,`🔧`],[`Research Services`,`🔬`],[`Residential Building Construction`,`🏠`],[`Restaurants`,`🍽️`],[`Retail`,`🛍️`],[`Retail Apparel and Fashion`,`👗`],[`Retail Appliances, Electrical, and Electronic Equipment`,`📺`],[`Retail Art Dealers`,`🖼️`],[`Retail Art Supplies`,`🎨`],[`Retail Books and Printed News`,`📚`],[`Retail Building Materials and Garden Equipment`,`🪴`],[`Retail Florists`,`💐`],[`Retail Furniture and Home Furnishings`,`🛋️`],[`Retail Gasoline`,`⛽`],[`Retail Groceries`,`🛒`],[`Retail Health and Personal Care Products`,`🧴`],[`Retail Luxury Goods and Jewelry`,`💎`],[`Retail Motor Vehicles`,`🚗`],[`Retail Musical Instruments`,`🎸`],[`Retail Office Equipment`,`🖨️`],[`Retail Office Supplies and Gifts`,`🎁`],[`Retail Pharmacies`,`💊`],[`Retail Recyclable Materials & Used Merchandise`,`♻️`],[`Reupholstery and Furniture Repair`,`🪑`],[`Robot Manufacturing`,`🤖`],[`Robotics Engineering`,`🤖`],[`Rubber Products Manufacturing`,`🛞`],[`Satellite Telecommunications`,`🛰️`],[`Savings Institutions`,`🏦`],[`School and Employee Bus Services`,`🚌`],[`Seafood Product Manufacturing`,`🐟`],[`Secretarial Schools`,`📋`],[`Securities and Commodity Exchanges`,`📈`],[`Security Guards and Patrol Services`,`👮`],[`Security Systems Services`,`🔒`],[`Security and Investigations`,`🕵️`],[`Semiconductor Manufacturing`,`💾`],[`Services for Renewable Energy`,`🌞`],[`Services for the Elderly and Disabled`,`👴`],[`Sheet Music Publishing`,`🎼`],[`Shipbuilding`,`🚢`],[`Shuttles and Special Needs Transportation Services`,`🚐`],[`Sightseeing Transportation`,`🚌`],[`Skiing Facilities`,`⛷️`],[`Smart Meter Manufacturing`,`📟`],[`Soap and Cleaning Product Manufacturing`,`🧼`],[`Social Networking Platforms`,`💬`],[`Software Development`,`💻`],[`Solar Electric Power Generation`,`☀️`],[`Sound Recording`,`🎙️`],[`Space Research and Technology`,`🚀`],[`Specialty Trade Contractors`,`🔨`],[`Spectator Sports`,`🏟️`],[`Sporting Goods Manufacturing`,`🏀`],[`Sports Teams and Clubs`,`⚽`],[`Sports and Recreation Instruction`,`🏃`],[`Spring and Wire Product Manufacturing`,`🔩`],[`Staffing and Recruiting`,`🎯`],[`Steam and Air-Conditioning Supply`,`♨️`],[`Strategic Management Services`,`🎯`],[`Subdivision of Land`,`🗺️`],[`Sugar and Confectionery Product Manufacturing`,`🍬`],[`Surveying and Mapping Services`,`🗺️`],[`Taxi and Limousine Services`,`🚕`],[`Technical and Vocational Training`,`🎓`],[`Technology, Information and Internet`,`💻`],[`Technology, Information and Media`,`📡`],[`Telecommunications`,`📡`],[`Telecommunications Carriers`,`📶`],[`Telephone Call Centers`,`📞`],[`Temporary Help Services`,`👷`],[`Textile Manufacturing`,`🧵`],[`Theater Companies`,`🎭`],[`Think Tanks`,`🧠`],[`Tobacco Manufacturing`,`🚬`],[`Translation and Localization`,`🌐`],[`Transportation Equipment Manufacturing`,`🚛`],[`Transportation Programs`,`🚆`],[`Transportation, Logistics, Supply Chain and Storage`,`🚚`],[`Travel Arrangements`,`🧳`],[`Truck Transportation`,`🚛`],[`Trusts and Estates`,`📜`],[`Turned Products and Fastener Manufacturing`,`🔩`],[`Urban Transit Services`,`🚇`],[`Utilities`,`💡`],[`Utilities Administration`,`📋`],[`Utility System Construction`,`🏗️`],[`Vehicle Repair and Maintenance`,`🔧`],[`Venture Capital and Private Equity Principals`,`💰`],[`Veterinary Services`,`🐾`],[`Vocational Rehabilitation Services`,`🦽`],[`Warehousing and Storage`,`🏬`],[`Waste Collection`,`🗑️`],[`Waste Treatment and Disposal`,`♻️`],[`Water Supply and Irrigation Systems`,`💧`],[`Water, Waste, Steam, and Air Conditioning Services`,`💧`],[`Wellness and Fitness Services`,`🧘`],[`Wholesale`,`📦`],[`Wholesale Alcoholic Beverages`,`🍷`],[`Wholesale Apparel and Sewing Supplies`,`🧵`],[`Wholesale Appliances, Electrical, and Electronics`,`📺`],[`Wholesale Building Materials`,`🧱`],[`Wholesale Chemical and Allied Products`,`🧪`],[`Wholesale Computer Equipment`,`💻`],[`Wholesale Drugs and Sundries`,`💊`],[`Wholesale Food and Beverage`,`🥫`],[`Wholesale Footwear`,`👟`],[`Wholesale Furniture and Home Furnishings`,`🛋️`],[`Wholesale Hardware, Plumbing, Heating Equipment`,`🔧`],[`Wholesale Import and Export`,`🌐`],[`Wholesale Luxury Goods and Jewelry`,`💎`],[`Wholesale Machinery`,`🏭`],[`Wholesale Metals and Minerals`,`⚙️`],[`Wholesale Motor Vehicles and Parts`,`🚗`],[`Wholesale Paper Products`,`📄`],[`Wholesale Petroleum and Petroleum Products`,`🛢️`],[`Wholesale Photography Equipment and Supplies`,`📷`],[`Wholesale Raw Farm Products`,`🌾`],[`Wholesale Recyclable Materials`,`♻️`],[`Wind Electric Power Generation`,`🌬️`],[`Wineries`,`🍷`],[`Wireless Services`,`📶`],[`Women's Handbag Manufacturing`,`👜`],[`Wood Product Manufacturing`,`🪵`],[`Writing and Editing`,`✍️`],[`Zoos and Botanical Gardens`,`🦒`]]),ue=e=>e.map(e=>({value:e,label:e})),m=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),de=e=>e.map(([e,t,n])=>({value:e,label:t,widgets:{emoji:{char:n}}})),fe=m([[`1-10`,`🌱`],[`11-50`,`🏠`],[`51-200`,`🏢`],[`201-500`,`🏬`],[`501-1,000`,`🏛️`],[`1,001-5,000`,`🏙️`],[`5,001-10,000`,`🌆`],[`10,001+`,`🌍`]]),pe=m([[`1-500`,`✨`],[`501-1000`,`⭐`],[`1001-5000`,`🌟`],[`5001-10000`,`💫`],[`10001-30000`,`🌠`],[`30000+`,`🌌`]]),me=m([[`Series A`,`1️⃣`],[`Series B`,`2️⃣`],[`Series C`,`3️⃣`],[`Series D`,`4️⃣`]]),he=m([[`Self-employed`,`🧑💻`],[`1-10`,`🌱`],[`11-50`,`🏠`],[`51-200`,`🏢`],[`201-500`,`🏬`],[`501-1,000`,`🏛️`],[`1,001-5,000`,`🏙️`],[`5,001-10,000`,`🌆`],[`10,001+`,`🌍`]]),ge=[{value:`Arabic`,label:`Arabic`,widgets:{emoji:{char:`🇸🇦`}}},{value:`English`,label:`English`,widgets:{emoji:{char:`🇬🇧`}}},{value:`Spanish`,label:`Spanish`,widgets:{emoji:{char:`🇪🇸`}}},{value:`Portuguese`,label:`Portuguese`,widgets:{emoji:{char:`🇵🇹`}}},{value:`Chinese`,label:`Chinese`,widgets:{emoji:{char:`🇨🇳`}}},{value:`French`,label:`French`,widgets:{emoji:{char:`🇫🇷`}}},{value:`Italian`,label:`Italian`,widgets:{emoji:{char:`🇮🇹`}}},{value:`Russian`,label:`Russian`,widgets:{emoji:{char:`🇷🇺`}}},{value:`German`,label:`German`,widgets:{emoji:{char:`🇩🇪`}}},{value:`Dutch`,label:`Dutch`,widgets:{emoji:{char:`🇳🇱`}}},{value:`Turkish`,label:`Turkish`,widgets:{emoji:{char:`🇹🇷`}}},{value:`Tagalog`,label:`Tagalog`,widgets:{emoji:{char:`🇵🇭`}}},{value:`Polish`,label:`Polish`,widgets:{emoji:{char:`🇵🇱`}}},{value:`Korean`,label:`Korean`,widgets:{emoji:{char:`🇰🇷`}}},{value:`Japanese`,label:`Japanese`,widgets:{emoji:{char:`🇯🇵`}}},{value:`Malay`,label:`Malay`,widgets:{emoji:{char:`🇲🇾`}}},{value:`Norwegian`,label:`Norwegian`,widgets:{emoji:{char:`🇳🇴`}}},{value:`Danish`,label:`Danish`,widgets:{emoji:{char:`🇩🇰`}}},{value:`Romanian`,label:`Romanian`,widgets:{emoji:{char:`🇷🇴`}}},{value:`Swedish`,label:`Swedish`,widgets:{emoji:{char:`🇸🇪`}}},{value:`Bahasa Indonesia`,label:`Bahasa Indonesia`,widgets:{emoji:{char:`🇮🇩`}}},{value:`Czech`,label:`Czech`,widgets:{emoji:{char:`🇨🇿`}}}],_e=m([[`Owner / Partner`,`👑`],[`CXO`,`🎩`],[`Vice President`,`🏅`],[`Director`,`🎯`],[`Experienced Manager`,`🧑💼`],[`Entry Level Manager`,`👔`],[`Strategic`,`♟️`],[`Senior`,`⭐`],[`Entry Level`,`🌱`],[`In Training`,`📚`]]),ve=m([[`Less than 1 year`,`🌱`],[`1 to 2 years`,`🌿`],[`3 to 5 years`,`🌳`],[`6 to 10 years`,`🌲`],[`More than 10 years`,`🏔️`]]),ye=m([[`Less than 1 year`,`🌱`],[`1 to 2 years`,`🌿`],[`3 to 5 years`,`🌳`],[`6 to 10 years`,`🌲`],[`More than 10 years`,`🏔️`]]),be=m([[`Less than 1 year`,`🌱`],[`1 to 2 years`,`🌿`],[`3 to 5 years`,`🌳`],[`6 to 10 years`,`🌲`],[`More than 10 years`,`🏔️`]]),xe=m([[`Accounting`,`📊`],[`Administrative`,`📋`],[`Arts and Design`,`🎨`],[`Business Development`,`📈`],[`Community and Social Services`,`🫂`],[`Consulting`,`💼`],[`Education`,`🎓`],[`Engineering`,`🛠️`],[`Entrepreneurship`,`🚀`],[`Finance`,`💰`],[`Healthcare Services`,`🏥`],[`Human Resources`,`👥`],[`Information Technology`,`💻`],[`Legal`,`⚖️`],[`Marketing`,`📣`],[`Media and Communication`,`📺`],[`Military and Protective Services`,`🛡️`],[`Operations`,`⚙️`],[`Product Management`,`📦`],[`Program and Project Management`,`📅`],[`Purchasing`,`🛒`],[`Quality Assurance`,`✅`],[`Real Estate`,`🏘️`],[`Research`,`🔬`],[`Sales`,`💸`],[`Customer Success and Support`,`🎧`]]),Se=m([[`Public Company`,`📈`],[`Privately Held`,`🔒`],[`Non Profit`,`💝`],[`Educational Institution`,`🎓`],[`Partnership`,`🤝`],[`Self Employed`,`👤`],[`Self Owned`,`🪪`],[`Government Agency`,`🏛️`]]),Ce=ue([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),we=ue([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),Te=de([[`angel`,`Angel`,`😇`],[`convertible_note`,`Convertible Note`,`📜`],[`corporate_round`,`Corporate Round`,`🏢`],[`debt_financing`,`Debt Financing`,`💳`],[`equity_crowdfunding`,`Equity Crowdfunding`,`🌐`],[`grant`,`Grant`,`🎁`],[`initial_coin_offering`,`Initial Coin Offering`,`🪙`],[`non_equity_assistance`,`Non Equity Assistance`,`🤲`],[`post_ipo_debt`,`Post IPO Debt`,`🏛️`],[`post_ipo_equity`,`Post IPO Equity`,`📊`],[`post_ipo_secondary`,`Post IPO Secondary`,`🔁`],[`pre_seed`,`Pre Seed`,`🌱`],[`private_equity`,`Private Equity`,`💼`],[`product_crowdfunding`,`Product Crowdfunding`,`📦`],[`secondary_market`,`Secondary Market`,`🔄`],[`seed`,`Seed`,`🌿`],[`series_a`,`Series A`,`1️⃣`],[`series_b`,`Series B`,`2️⃣`],[`series_c`,`Series C`,`3️⃣`],[`series_d`,`Series D`,`4️⃣`],[`series_e`,`Series E`,`5️⃣`],[`series_f`,`Series F`,`6️⃣`],[`series_g`,`Series G`,`7️⃣`],[`series_h`,`Series H`,`8️⃣`],[`series_i`,`Series I`,`9️⃣`],[`series_j`,`Series J`,`🔟`],[`series_unknown`,`Series Unknown`,`❓`],[`undisclosed`,`Undisclosed`,`🤐`]]),Ee=(e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})))([[`Abrasives and Nonmetallic Minerals Manufacturing`,`🪨`],[`Accessible Architecture and Design`,`♿`],[`Accessible Hardware Manufacturing`,`♿`],[`Accommodation and Food Services`,`🏨`],[`Accounting`,`📊`],[`Administration of Justice`,`⚖️`],[`Administrative and Support Services`,`📋`],[`Advertising Services`,`📣`],[`Agriculture`,`🌾`],[`Air, Water, and Waste Program Management`,`♻️`],[`Airlines and Aviation`,`✈️`],[`Alternative Dispute Resolution`,`🤝`],[`Alternative Fuel Vehicle Manufacturing`,`🔋`],[`Alternative Medicine`,`🌿`],[`Ambulance Services`,`🚑`],[`Amusement Parks and Arcades`,`🎢`],[`Animal Feed Manufacturing`,`🐄`],[`Animation`,`🎞️`],[`Animation and Post-production`,`🎬`],[`Apparel & Fashion`,`👗`],[`Apparel Manufacturing`,`🧵`],[`Appliances, Electrical, and Electronics Manufacturing`,`🔌`],[`Architectural and Structural Metal Manufacturing`,`🏗️`],[`Architecture and Planning`,`📐`],[`Armed Forces`,`🪖`],[`Artificial Rubber and Synthetic Fiber Manufacturing`,`🧪`],[`Artists and Writers`,`🎨`],[`Arts`,`🎨`],[`Arts & Crafts`,`🖌️`],[`Audio and Video Equipment Manufacturing`,`🎧`],[`Automation Machinery Manufacturing`,`🤖`],[`Automotive`,`🚗`],[`Aviation & Aerospace`,`🚀`],[`Aviation and Aerospace Component Manufacturing`,`🛩️`],[`Baked Goods Manufacturing`,`🥐`],[`Banking`,`🏦`],[`Bars, Taverns, and Nightclubs`,`🍻`],[`Bed-and-Breakfasts, Hostels, Homestays`,`🛏️`],[`Beverage Manufacturing`,`🥤`],[`Biomass Electric Power Generation`,`🌱`],[`Biotechnology`,`🧬`],[`Biotechnology Research`,`🔬`],[`Blockchain Services`,`⛓️`],[`Boilers, Tanks, and Shipping Container Manufacturing`,`🛢️`],[`Book and Periodical Publishing`,`📚`],[`Book Publishing`,`📖`],[`Breweries`,`🍺`],[`Broadcast Media Production and Distribution`,`📡`],[`Building Construction`,`🏗️`],[`Building Equipment Contractors`,`🔧`],[`Building Finishing Contractors`,`🪛`],[`Building Materials`,`🧱`],[`Building Structure and Exterior Contractors`,`🏚️`],[`Business Consulting and Services`,`💼`],[`Business Content`,`📑`],[`Business Intelligence Platforms`,`📊`],[`Business Intelligence-platforms`,`📊`],[`Business Supplies & Equipment`,`📎`],[`Cable and Satellite Programming`,`📺`],[`Callcenters`,`☎️`],[`Capital Markets`,`💹`],[`Caterer`,`🍽️`],[`Catering`,`🍴`],[`Chemical Manufacturing`,`🧪`],[`Chemical Raw Materials Manufacturing`,`⚗️`],[`Child Day Care Services`,`👶`],[`Circuses and Magic Shows`,`🎪`],[`Civic and Social Organizations`,`🤝`],[`Civil Engineering`,`🌉`],[`Claims Adjusting, Actuarial Services`,`📋`],[`Clay and Refractory Products Manufacturing`,`🏺`],[`Climate Data and Analytics`,`🌡️`],[`Climate Technology Product Manufacturing`,`🌍`],[`Coal Mining`,`⛏️`],[`Collection Agencies`,`💼`],[`Commercial and Industrial Equipment Rental`,`🏗️`],[`Commercial and Industrial Machinery Maintenance`,`🔧`],[`Commercial and Service Industry Machinery Manufacturing`,`🏭`],[`Commercial Real Estate`,`🏢`],[`Communications Equipment Manufacturing`,`📡`],[`Community Development and Urban Planning`,`🏙️`],[`Community Services`,`🤲`],[`Computer and Network Security`,`🔐`],[`Computer Games`,`🎮`],[`Computer Hardware`,`🖥️`],[`Computer Hardware Manufacturing`,`💻`],[`Computer Networking`,`🌐`],[`Computer Networking Products`,`🔌`],[`Computerhardware`,`🖥️`],[`Computers and Electronics Manufacturing`,`💻`],[`Conservation Programs`,`🌳`],[`Construction`,`🏗️`],[`Construction Hardware Manufacturing`,`🔨`],[`Consulting outsourcing en offshoring`,`💼`],[`Consumer Electronics`,`📱`],[`Consumer Goods`,`🛍️`],[`Consumer Goods Rental`,`🛒`],[`Consumer Services`,`🛎️`],[`Correctional Institutions`,`🔒`],[`Cosmetics`,`💄`],[`Cosmetology and Barber Schools`,`💇`],[`Courts of Law`,`⚖️`],[`Credit Intermediation`,`💳`],[`Cutlery and Handtool Manufacturing`,`🔪`],[`Dairy`,`🥛`],[`Dairy Product Manufacturing`,`🧀`],[`Dance Companies`,`💃`],[`Data Infrastructure and Analytics`,`📊`],[`Data Security Software Products`,`🔐`],[`Defense & Space`,`🛡️`],[`Defense and Space Manufacturing`,`🚀`],[`Dentists`,`🦷`],[`Design`,`🎨`],[`Design Services`,`✏️`],[`Desktop Computing Software Products`,`🖥️`],[`Detailhandel meubilair en interieur`,`🛋️`],[`Digital Accessibility Services`,`♿`],[`Distilleries`,`🥃`],[`E-learning`,`🎓`],[`E-Learning`,`🎓`],[`E-Learning Providers`,`💻`],[`Economic Programs`,`📈`],[`Education`,`🎓`],[`Education Administration Programs`,`🏫`],[`Education Management`,`📚`],[`Electric Lighting Equipment Manufacturing`,`💡`],[`Electric Power Generation`,`⚡`],[`Electric Power Transmission, Control, and Distribution`,`🔌`],[`Electrical Equipment Manufacturing`,`⚡`],[`Electronic and Precision Equipment Maintenance`,`🔧`],[`Embedded Software Products`,`🛠️`],[`Emergency and Relief Services`,`🚨`],[`Engineering Services`,`⚙️`],[`Engines and Power Transmission Equipment Manufacturing`,`⚙️`],[`Enquêteurs d’assurances et services actuariels`,`🔍`],[`Enregistrement sonore`,`🎙️`],[`Entertainment`,`🎭`],[`Entertainment Providers`,`🎬`],[`Environmental Quality Programs`,`🌿`],[`Environmental Services`,`♻️`],[`Equipment Rental Services`,`🏗️`],[`Events Services`,`🎉`],[`Executive Offices`,`🏢`],[`Executive Search Services`,`🔍`],[`Fabricated Metal Products`,`🔩`],[`Facilities Services`,`🏢`],[`Family Planning Centers`,`👨👩👧`],[`Farming`,`🚜`],[`Farming, Ranching, Forestry`,`🌾`],[`Fashion Accessories Manufacturing`,`👜`],[`Financial Services`,`💰`],[`Fine Art`,`🖼️`],[`Fine Arts Schools`,`🎨`],[`Fire Protection`,`🚒`],[`Fisheries`,`🐟`],[`Flight Training`,`🛩️`],[`Food & Beverages`,`🍽️`],[`Food and Beverage Manufacturing`,`🥫`],[`Food and Beverage Retail`,`🛒`],[`Food and Beverage Services`,`🍴`],[`Food Production`,`🍱`],[`Footwear and Leather Goods Repair`,`👞`],[`Footwear Manufacturing`,`👟`],[`Forestry and Logging`,`🌲`],[`Fossil Fuel Electric Power Generation`,`🛢️`],[`Freight and Package Transportation`,`📦`],[`Fruit and Vegetable Preserves Manufacturing`,`🥫`],[`Fuel Cell Manufacturing`,`🔋`],[`Fundraising`,`💵`],[`Funds and Trusts`,`💰`],[`Furniture`,`🛋️`],[`Furniture and Home Furnishings Manufacturing`,`🪑`],[`Gambling Facilities and Casinos`,`🎰`],[`Geothermal Electric Power Generation`,`🌋`],[`Glass Product Manufacturing`,`🪟`],[`Glass, Ceramics and Concrete Manufacturing`,`🏺`],[`Golf Courses and Country Clubs`,`⛳`],[`Government Administration`,`🏛️`],[`Government Relations`,`🏛️`],[`Government Relations Services`,`🤝`],[`Graphic Design`,`🎨`],[`Groothandel machines`,`🏭`],[`Ground Passenger Transportation`,`🚌`],[`Health and Human Services`,`🏥`],[`Health, Wellness & Fitness`,`💪`],[`Higher Education`,`🎓`],[`Highway, Street, and Bridge Construction`,`🛣️`],[`Historical Sites`,`🏛️`],[`Holding Companies`,`🏢`],[`Home Health Care Services`,`🏠`],[`Hospitality`,`🛎️`],[`Hospitals`,`🏥`],[`Hospitals and Health Care`,`⚕️`],[`Hotels and Motels`,`🏨`],[`Household and Institutional Furniture Manufacturing`,`🛋️`],[`Household Appliance Manufacturing`,`🧺`],[`Household Services`,`🏡`],[`Housing and Community Development`,`🏘️`],[`Housing Programs`,`🏠`],[`Human resources`,`👥`],[`Human Resources`,`👥`],[`Human Resources Services`,`👔`],[`HVAC and Refrigeration Equipment Manufacturing`,`❄️`],[`Hydroelectric Power Generation`,`💧`],[`Import & Export`,`🚢`],[`Import en export`,`🚢`],[`Incassobureaus`,`💼`],[`Individual and Family Services`,`👨👩👧👦`],[`Industrial Automation`,`🤖`],[`Industrial Machinery Manufacturing`,`🏭`],[`Industries extractives`,`⛏️`],[`Industry Associations`,`🏛️`],[`Information Services`,`📡`],[`Information Technology & Services`,`💻`],[`Insurance`,`🛡️`],[`Insurance Agencies and Brokerages`,`📑`],[`Insurance and Employee Benefit Funds`,`🏦`],[`Insurance Carriers`,`🛡️`],[`Interior Design`,`🛋️`],[`International Affairs`,`🌐`],[`International Trade and Development`,`🌍`],[`Internet Marketplace Platforms`,`🛒`],[`Internet News`,`📰`],[`Internet Publishing`,`📰`],[`Internet-Publishing`,`📰`],[`Internetmedia`,`📺`],[`Interurban and Rural Bus Services`,`🚌`],[`Investment Advice`,`📈`],[`Investment Banking`,`🏦`],[`Investment Management`,`💼`],[`IT Services and IT Consulting`,`💻`],[`IT System Custom Software Development`,`👨💻`],[`IT System Data Services`,`💾`],[`IT System Design Services`,`🖥️`],[`IT System Installation and Disposal`,`🔧`],[`IT System Operations and Maintenance`,`🛠️`],[`IT System Testing and Evaluation`,`🧪`],[`IT System Training and Support`,`🎧`],[`IT-services en consultancy`,`💻`],[`Janitorial Services`,`🧹`],[`Landscaping Services`,`🌿`],[`Language Schools`,`🗣️`],[`Law Enforcement`,`👮`],[`Law Practice`,`⚖️`],[`Legal Services`,`📜`],[`Legislative Offices`,`🏛️`],[`Libraries`,`📚`],[`LKW-Transport`,`🚛`],[`Loan Brokers`,`💳`],[`Luxury Goods & Jewelry`,`💎`],[`Machinery Manufacturing`,`🏭`],[`Magnetic and Optical Media Manufacturing`,`💿`],[`Manufacturing`,`🏭`],[`Maritime`,`⚓`],[`Maritime Transportation`,`🚢`],[`Market Research`,`📊`],[`Marketing Services`,`📣`],[`Maroquinerie`,`👜`],[`Mattress and Blinds Manufacturing`,`🛏️`],[`Measuring and Control Instrument Manufacturing`,`📏`],[`Meat Products Manufacturing`,`🥩`],[`Mechanical Or Industrial Engineering`,`⚙️`],[`Media and Telecommunications`,`📡`],[`Media Production`,`🎬`],[`Medical and Diagnostic Laboratories`,`🔬`],[`Medical Device`,`🩺`],[`Medical Equipment Manufacturing`,`🩻`],[`Medical Practices`,`⚕️`],[`Mental Health Care`,`🧠`],[`Metal Ore Mining`,`⛏️`],[`Metal Treatments`,`🔩`],[`Metal Valve, Ball, and Roller Manufacturing`,`⚙️`],[`Military and International Affairs`,`🪖`],[`Mining`,`⛏️`],[`Mobile Computing Software Products`,`📱`],[`Mobile Food Services`,`🚚`],[`Mobile Gaming Apps`,`🎮`],[`Motor Vehicle Manufacturing`,`🚗`],[`Movies and Sound Recording`,`🎬`],[`Movies, Videos, and Sound`,`🎥`],[`Museums`,`🏛️`],[`Museums, Historical Sites, and Zoos`,`🦁`],[`Music`,`🎵`],[`Musicians`,`🎸`],[`Nanotechnology Research`,`🔬`],[`Natural Gas Distribution`,`🔥`],[`Natural Gas Extraction`,`⛽`],[`Newspaper Publishing`,`📰`],[`Non-profit Organization Management`,`💝`],[`Non-profit Organizations`,`🤝`],[`Nonmetallic Mineral Mining`,`🪨`],[`Nonresidential Building Construction`,`🏢`],[`Nuclear Electric Power Generation`,`☢️`],[`Nursing Homes and Residential Care Facilities`,`🏥`],[`Office Administration`,`🗂️`],[`Office Furniture and Fixtures Manufacturing`,`🪑`],[`Oil and Gas`,`🛢️`],[`Oil Extraction`,`⛽`],[`Oil, Gas, and Mining`,`🛢️`],[`Online and Mail Order Retail`,`📦`],[`Online Audio and Video Media`,`🎥`],[`Online media`,`📺`],[`Online Media`,`📺`],[`Operations Consulting`,`💼`],[`Operations management consulting`,`💼`],[`Optometrists`,`👓`],[`Outpatient Care Centers`,`🏥`],[`Outsourcing and Offshoring Consulting`,`🌐`],[`Outsourcing/Offshoring`,`🔄`],[`Packaging & Containers`,`📦`],[`Packaging and Containers Manufacturing`,`📦`],[`Paint, Coating, and Adhesive Manufacturing`,`🎨`],[`Paper & Forest Products`,`📄`],[`Paper and Forest Product Manufacturing`,`🌲`],[`Pension Funds`,`💰`],[`Performing Arts`,`🎭`],[`Performing Arts and Spectator Sports`,`🎭`],[`Periodical Publishing`,`📖`],[`Personal and Laundry Services`,`🧺`],[`Personal Care Product Manufacturing`,`🧴`],[`Personal Care Services`,`💆`],[`Pet Services`,`🐾`],[`Pharmaceutical Manufacturing`,`💊`],[`Philanthropic Fundraising Services`,`💝`],[`Philanthropy`,`❤️`],[`Photography`,`📷`],[`Physical, Occupational and Speech Therapists`,`🩺`],[`Physicians`,`👨⚕️`],[`Pipeline Transportation`,`🚰`],[`Plastics and Rubber Product Manufacturing`,`♻️`],[`Plastics Manufacturing`,`🧴`],[`Political Organizations`,`🗳️`],[`Postal Services`,`📮`],[`Primary and Secondary Education`,`🏫`],[`Primary Metal Manufacturing`,`🔩`],[`Printing Services`,`🖨️`],[`Professional Organizations`,`🏛️`],[`Professional Services`,`💼`],[`Professional Training and Coaching`,`🎯`],[`Program Development`,`👨💻`],[`Public Assistance Programs`,`🤝`],[`Public Health`,`🏥`],[`Public Policy`,`📜`],[`Public Policy Offices`,`🏛️`],[`Public Relations and Communications Services`,`📣`],[`Public Safety`,`🚨`],[`Racetracks`,`🏁`],[`Radio and Television Broadcasting`,`📻`],[`Rail Transportation`,`🚆`],[`Railroad Equipment Manufacturing`,`🚂`],[`Ranching`,`🤠`],[`Ranching and Fisheries`,`🐂`],[`Real Estate`,`🏘️`],[`Real Estate Agents and Brokers`,`🔑`],[`Real Estate and Equipment Rental Services`,`🏠`],[`Recreational Facilities`,`🏟️`],[`Regenerative Design`,`🌱`],[`Religious Institutions`,`⛪`],[`Renewable Energy Equipment Manufacturing`,`🔋`],[`Renewable Energy Power Generation`,`🌬️`],[`Renewable Energy Semiconductor Manufacturing`,`☀️`],[`Renewables & Environment`,`♻️`],[`Repair and Maintenance`,`🔧`],[`Research`,`🔬`],[`Research Services`,`🧪`],[`Residential Building Construction`,`🏠`],[`Restaurants`,`🍽️`],[`Restauration collective`,`🍴`],[`Retail`,`🛍️`],[`Retail Apparel and Fashion`,`👗`],[`Retail Appliances, Electrical, and Electronic Equipment`,`🔌`],[`Retail Art Dealers`,`🖼️`],[`Retail Art Supplies`,`🖌️`],[`Retail Books and Printed News`,`📚`],[`Retail Building Materials and Garden Equipment`,`🌱`],[`Retail Florists`,`💐`],[`Retail Furniture and Home Furnishings`,`🛋️`],[`Retail Gasoline`,`⛽`],[`Retail Groceries`,`🛒`],[`Retail Health and Personal Care Products`,`🧴`],[`Retail Luxury Goods and Jewelry`,`💍`],[`Retail Motor Vehicles`,`🚙`],[`Retail Musical Instruments`,`🎺`],[`Retail Office Equipment`,`🖇️`],[`Retail Office Supplies and Gifts`,`🎁`],[`Retail Pharmacies`,`💊`],[`Retail Recyclable Materials & Used Merchandise`,`♻️`],[`Reupholstery and Furniture Repair`,`🪑`],[`Robot Manufacturing`,`🤖`],[`Robotics engineering`,`🦾`],[`Robotics Engineering`,`🦾`],[`Rubber Products Manufacturing`,`🛞`],[`Satellite Telecommunications`,`🛰️`],[`Savings Institutions`,`🏦`],[`School and Employee Bus Services`,`🚌`],[`Secretarial Schools`,`⌨️`],[`Securities and Commodity Exchanges`,`📈`],[`Security and Investigations`,`🔍`],[`Security Guards and Patrol Services`,`💂`],[`Security Systems Services`,`🚨`],[`Semiconductor Manufacturing`,`🔌`],[`Semiconductors`,`💾`],[`Services for Renewable Energy`,`🌱`],[`Services for the Elderly and Disabled`,`👴`],[`Services strategisch management`,`♟️`],[`Sheet Music Publishing`,`🎼`],[`Shipbuilding`,`🚢`],[`Shuttles and Special Needs Transportation Services`,`🚐`],[`Sightseeing Transportation`,`🚎`],[`Skiing Facilities`,`🎿`],[`Smart Meter Manufacturing`,`📊`],[`Soap and Cleaning Product Manufacturing`,`🧼`],[`Social Networking Platforms`,`💬`],[`Software Development`,`💻`],[`Solar Electric Power Generation`,`☀️`],[`Sound Recording`,`🎙️`],[`Space Research and Technology`,`🚀`],[`Specialty Trade Contractors`,`🔨`],[`Spectator Sports`,`🏟️`],[`Sporting Goods`,`🏀`],[`Sporting Goods Manufacturing`,`⚽`],[`Sports and Recreation Instruction`,`🏋️`],[`Sports Teams and Clubs`,`🏆`],[`Spring and Wire Product Manufacturing`,`🔗`],[`Staffing and Recruiting`,`🧑💼`],[`Steam and Air-Conditioning Supply`,`♨️`],[`Strategic Management Services`,`♟️`],[`Subdivision of Land`,`🗺️`],[`Sugar and Confectionery Product Manufacturing`,`🍬`],[`Surveying and Mapping Services`,`🗺️`],[`Taxi and Limousine Services`,`🚕`],[`Technical and Vocational Training`,`🛠️`],[`Technology, Information and Internet`,`🌐`],[`Technology, Information and Media`,`💻`],[`Telecommunications`,`📞`],[`Telecommunications Carriers`,`📡`],[`Telephone Call Centers`,`☎️`],[`Temporary Help Services`,`⏳`],[`Textile Manufacturing`,`🧵`],[`Theater Companies`,`🎭`],[`Think tanks`,`💡`],[`Think Tanks`,`💡`],[`Tobacco`,`🚬`],[`Tobacco Manufacturing`,`🚬`],[`Translation and Localization`,`🌐`],[`Transport aérien`,`✈️`],[`Transport maritime`,`🚢`],[`Transportation Equipment Manufacturing`,`🚛`],[`Transportation Programs`,`🚆`],[`Transportation, Logistics, Supply Chain and Storage`,`📦`],[`Transportation/Trucking/Railroad`,`🚚`],[`Travel Arrangements`,`🧳`],[`Truck Transportation`,`🚛`],[`Trusts and Estates`,`📜`],[`Turned Products and Fastener Manufacturing`,`🔩`],[`Urban Transit Services`,`🚇`],[`Utilities`,`💡`],[`Utilities Administration`,`📋`],[`Utility System Construction`,`🏗️`],[`Vehicle Repair and Maintenance`,`🔧`],[`Venture Capital and Private Equity Principals`,`💸`],[`Veterinary`,`🐕`],[`Veterinary Services`,`🐈`],[`Vocational Rehabilitation Services`,`♿`],[`Warehousing`,`🏬`],[`Warehousing and Storage`,`📦`],[`Waste Collection`,`🗑️`],[`Waste Treatment and Disposal`,`♻️`],[`Water Supply and Irrigation Systems`,`💧`],[`Water, Waste, Steam, and Air Conditioning Services`,`💧`],[`Wellness and Fitness Services`,`🧘`],[`Wholesale`,`📦`],[`Wholesale Alcoholic Beverages`,`🍷`],[`Wholesale Apparel and Sewing Supplies`,`🧵`],[`Wholesale Appliances, Electrical, and Electronics`,`🔌`],[`Wholesale Building Materials`,`🧱`],[`Wholesale Chemical and Allied Products`,`🧪`],[`Wholesale Computer Equipment`,`💻`],[`Wholesale Drugs and Sundries`,`💊`],[`Wholesale Food and Beverage`,`🍱`],[`Wholesale Footwear`,`👞`],[`Wholesale Furniture and Home Furnishings`,`🛋️`],[`Wholesale Hardware, Plumbing, Heating Equipment`,`🔧`],[`Wholesale Import and Export`,`🚢`],[`Wholesale Luxury Goods and Jewelry`,`💎`],[`Wholesale Machinery`,`🏭`],[`Wholesale Metals and Minerals`,`🔩`],[`Wholesale Motor Vehicles and Parts`,`🚙`],[`Wholesale Paper Products`,`📄`],[`Wholesale Petroleum and Petroleum Products`,`⛽`],[`Wholesale Photography Equipment and Supplies`,`📷`],[`Wholesale Raw Farm Products`,`🌽`],[`Wholesale Recyclable Materials`,`♻️`],[`Wind Electric Power Generation`,`🌬️`],[`Wine & Spirits`,`🍷`],[`Wineries`,`🍇`],[`Wireless Services`,`📶`],[`Women's Handbag Manufacturing`,`👜`],[`Wood Product Manufacturing`,`🪵`],[`Writing and Editing`,`✍️`],[`Zoos and Botanical Gardens`,`🦁`]]),De={locations:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crustdata/regions.csv`,filter:`ranked`,columns:{value:0,weight:1,widgets:2}},company_names:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/company_names.csv`,filter:`contains`,columns:{value:0,weight:1}},company_domains:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/company_domains.csv`,filter:`contains`,columns:{value:0,weight:1}},schools:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/schools.csv`,filter:`ranked`,columns:{value:0,weight:1}},countries:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/countries.csv`,filter:`contains`,columns:{value:0,label:0,widgets:1}},titles:{type:`csv`,filter:`ranked`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/titles.csv`,columns:{value:0,label:0,weight:1,widgets:2}},"company.crunchbase_categories.crustdata":{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crunchbase/categories.csv`,filter:`contains`},"company.crunchbase_investors.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crunchbase/investors.csv`},"company.tracxn_investors.crustdata":{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/tracxn/investors.csv`,filter:`contains`},"linkedin_industries.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crustdata/linkedin_industries.csv`,columns:{label:0,value:0,widgets:1}},"company.markets.crustdata":{type:`provider`,provider:`crustdata`,resolve:d(`companydb`,`markets`)},"company.linkedin_categories.crustdata":{type:`provider`,provider:`crustdata`,resolve:d(`companydb`,`linkedin_categories`)},skills:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/skills.csv`,filter:`contains`},"person.current_employer_names.crustdata":{type:`provider`,provider:`crustdata`,resolve:d(`persondb`,`current_employers.name`)},"person.current_employer_titles.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/titles.csv`},"person.past_employer_names.crustdata":{type:`provider`,provider:`crustdata`,resolve:d(`persondb`,`past_employers.name`)},"person.past_employer_titles.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/titles.csv`},"person.education_field_of_study.crustdata":{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crustdata/field_of_study.csv`,filter:`ranked`},"person.education_degree.crustdata":{type:`provider`,provider:`crustdata`,resolve:d(`persondb`,`education_background.degree_name`)},"person.education_activities.crustdata":{type:`provider`,provider:`crustdata`,resolve:d(`persondb`,`education_background.activities_and_societies`)},"amplemarket.company_types":{type:`static`,filter:`contains`,values:ie},"amplemarket.company_size":{type:`static`,filter:`contains`,values:p},"amplemarket.seniority_levels":{type:`static`,filter:`contains`,values:ae},"amplemarket.departments":{type:`static`,filter:`contains`,values:oe},"amplemarket.company_revenue":{type:`static`,filter:`contains`,values:se},"amplemarket.job_functions":{type:`static`,filter:`contains`,values:ce},"amplemarket.industries":{type:`static`,filter:`contains`,values:le},"crustdata.company_size":{type:`static`,filter:`contains`,values:fe},"crustdata.company_followers":{type:`static`,filter:`contains`,values:pe},"crustdata.funding_rounds":{type:`static`,filter:`contains`,values:me},"crustdata.person_company_size":{type:`static`,filter:`contains`,values:he},"crustdata.person_profile_languages":{type:`static`,filter:`contains`,values:ge},"crustdata.person_seniority":{type:`static`,filter:`contains`,values:_e},"crustdata.person_years_at_current_company":{type:`static`,filter:`contains`,values:ve},"crustdata.person_years_in_current_position":{type:`static`,filter:`contains`,values:ye},"crustdata.years_of_experience":{type:`static`,filter:`contains`,values:be},"crustdata.functions":{type:`static`,filter:`contains`,values:xe},"crustdata.company_types":{type:`static`,filter:`contains`,values:Se},"crustdata.headcount_growth":{type:`static`,filter:`contains`,values:Ce},"crustdata.follower_growth":{type:`static`,filter:`contains`,values:we},"crustdata.last_funding_round_type":{type:`static`,filter:`contains`,values:Te},"linkedin.industries":{type:`static`,filter:`contains`,values:Ee}};r.enum(Object.keys(De));function Oe(e,t){let n=De[e];if(!n)throw Error(`Autocomplete: Source for key: ${e} is not defined`);let r=typeof t?.widgets==`function`?t.widgets:void 0,i=typeof t?.widgets==`function`?void 0:t?.widgets;return{options:async({query:n,limit:i,token:a})=>{let o=await fetch(`https://autocomplete.pipe0.com/v1/complete`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${a}`},body:JSON.stringify({source:e,query:n,limit:t?.limit??i??20})});if(!o.ok)throw Error(`Autocomplete failed`);let s=(await o.json()).results;return r?s.map(e=>{let t=r(e);return{...e,widgets:{...t,...e.widgets??{}}}}):s},type:n.type,file:`url`in n?n.url:void 0,widgets:i}}function h(e){let t=De[e];if(!t)throw Error(`Autocomplete: source "${e}" is not defined`);if(t.type!==`static`)throw Error(`Autocomplete: source "${e}" is not static (type=${t.type}); use autocomplete() instead`);return t.values.map(e=>({value:e.value,label:e.label,widgets:e.widgets}))}function g(e){return{type:`static`,options:h(e)}}function _(e,t){return Oe(e,t)}const ke={linkedin:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1ba16ca7-513b-4a25-2bc2-5548acdd2000/icon`},Ae=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()}),je={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`},Me=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()}),Ne={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`},Pe=r.array(r.string()),Fe=[`1Password`,`AJAX Libraries API`,`AWS Global Accelerator`,`AWS Lambda`,`Algolia`,`Amazon`,`Amazon ALB`,`Amazon Elastic Load Balancing Sticky Session`,`Amazon Ireland Region`],Ie=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()))}),Le={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`]}},Re=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`)}),ze={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:[]},Be=r.object({recommendation:r.string().nullable(),referee_full_name:r.string().nullable(),referee_url:r.string().nullable(),order_in_profile:r.number().nullable()}),Ve=r.object({department:r.string().nullable(),management_level:r.string().nullable(),total_experience_duration_months:r.number().nullable()}),He=r.object({field_name:r.string().nullable(),change_type:r.string().nullable(),last_changed_at:r.string().nullable()}),Ue=r.object({field_name:r.string().nullable(),last_changed_at:r.string().nullable()}),We=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(Be).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(Ve).nullable(),total_experience_duration_months_breakdown_management_level:r.array(Ve).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(He).nullable(),profile_collection_field_changes_summary:r.array(Ue).nullable(),experience_recently_started:r.array(r.unknown()).nullable(),experience_recently_closed:r.array(r.unknown()).nullable()}),Ge=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()}),Ke=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()}),qe=r.object({language:r.string().nullable(),proficiency:r.string().nullable(),order_in_profile:r.number().nullable()}),Je=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()}),Xe=r.object({reasoning:r.string().nullable(),answer:r.string().nullable()}),Ze=r.object({profile:We.nullable(),experience:r.array(Ge),education:r.array(Ke),languages:r.array(qe),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(Je),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(),Xe).nullable()}),Qe={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`}}},$e=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()}),et={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`},tt=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())}),nt={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`},rt=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()}),it={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`},at=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()}))}),ot={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`},st=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)})),ct=[{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,19 +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:p,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:m,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:[]}],lt=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()}))}),ut={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`}]},dt=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()})),ft=[{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`}]}],pt=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`)}),mt={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:[]},ht=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.`)}),gt={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`},_t=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()})),vt=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],yt=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),bt=[{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`}],xt=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),St=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],Ct=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)}),wt=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(),Tt=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:wt,logo:r.url(),blurhash:r.string(),colors:r.array(Ct)}),Et={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`}]},Dt=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()}),Ot={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``};function kt(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function At(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)&&!At(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function jt(e){return e.split(`@`)[0]}const Mt=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:kt(),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`}]},Pt=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()}),Ft={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`},It=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()})),Lt=[{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.`}}],Rt=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),zt=[{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.`}],Bt=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`)]),Vt=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(``)]),Ht=r.object({address:r.email(),status:Bt,sub_status:Vt,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()}),Ut={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`},Wt=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()}),Gt={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`},Kt={"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 qt(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 Jt(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function Yt(e){let t=Jt(e);if(Kt[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(Kt)){let a=qt(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 Xt(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function Zt(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=Xt(e);return t?Qt(t):null}catch{return null}}function Qt(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=Yt(e);return t&&Kt[t]||null}catch{return null}}function $t(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 en={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:Rt,exampleValue:zt}},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:It,exampleValue:Lt},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:Re,exampleValue:ze},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:_t,exampleValue:vt},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:bt,zodSchema:yt}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:St,zodSchema:xt}},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:dt,exampleValue:ft}},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:Pe,exampleValue:Fe},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:Ie,exampleValue:Le}},number_of_social_followers:{label:`Follower count`,type:`number`,description:`Social followers (or zero if not found).`,jsonMeta:null,format:`int`},mobile:{label:`Mobile`,type:`string`,description:`Mobile telephone number of a person.`,jsonMeta:null,format:`phone`},phone:{label:`Phone`,type:`string`,description:`A generic field for phone numbers. Can be mobile or landline.`,jsonMeta:null,format:`phone`},landline:{label:`Landline`,type:`string`,description:`A landline phone number`,jsonMeta:null,format:`phone`},job_title:{label:`Job title`,type:`string`,description:`Current job title of a person`,jsonMeta:null,format:`text`},job_description:{label:`Job description`,type:`string`,description:`Description of current job`,jsonMeta:null,format:`text`},email:{label:`Email address`,type:`string`,description:`A union field that can contain both professional and personal email addresses.`,jsonMeta:null,format:`email`},personal_email:{label:`Personal email`,type:`string`,description:`The personal email address of a prospect.`,jsonMeta:null,format:`email`},alternate_personal_emails:{label:`Alternate personal email`,type:`json`,description:`The personal email addresses that are associated with a prospect but less likely to be the primary email address of a prospect.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`john@pipe0.com`,`jane@pipe0.com`]},format:`json_list_string`},company_news_summary:{label:`Latest news`,type:`string`,description:`Latest company news.`,jsonMeta:null,format:`markdown`},work_email:{label:`Work email`,type:`string`,jsonMeta:null,description:`Email address of a person connection to their place of employment.`,format:`email`},headcount:{label:`Headcount`,type:`string`,jsonMeta:null,description:`Total number of people employed in a particular organization`,format:`text`},company_website_url:{label:`Company website URL`,type:`string`,description:`Website URL of a related company.`,jsonMeta:null,format:`website_url`},company_domain:{label:`Company domain`,type:`string`,description:`Bare domain of a related company. Example: stripe.com (no scheme, no path).`,jsonMeta:null,format:`text`},company_name:{label:`Company name`,type:`string`,description:`Name of a company.`,jsonMeta:null,format:`text`},clado_person_match:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Re,exampleValue:ze}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Ze,exampleValue:Qe}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:ht,exampleValue:gt}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:pt,exampleValue:mt}},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:Mt,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(Wt),exampleValue:Gt}},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:Dt,exampleValue:Ot}},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:Ht,exampleValue:Ut}},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:lt,exampleValue:ut}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:$e,exampleValue:et}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:at,exampleValue:ot}},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:tt,exampleValue:nt}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:rt,exampleValue:it}},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:f,exampleValue:ie}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:d,exampleValue:re}},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:ne.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:ne.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 h(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.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(`.`),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`],Un=r.enum(Hn);Un.nullable();const Wn=r.object({type:wn,label:r.string().nullable().optional(),format:Un.nullable().optional(),json_metadata:On.nullable().optional()}),Gn=r.record(r.string(),Wn),Kn=r.enum([...xn,`input`]).nullable(),qn=r.enum([...xn,`input`,`system`]).nullable(),Jn=r.object({ref:Kn,config_hash:r.string().nullable()}),Yn=r.object({ref:qn,environment:bn.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),Xn=r.object({value:Dn,status:En,type:wn,reason:Vn.nullable(),claimed_by:Jn,resolved_by:Yn.nullable(),widgets:zn.optional(),format:Un.nullable()}),Zn=r.object({value:Dn,status:En,reason:Vn.nullable().optional(),type:wn.optional(),format:Un.nullable().optional(),claimed_by:Jn.optional(),resolved_by:Yn.nullable().optional(),widgets:zn.optional()}),Qn=r.record(r.string(),r.union([Dn,Zn])).openapi(`PipesInput`),$n=r.object({id:Tn,fields:r.record(Tn,Xn)}),er=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),tr=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:Un.nullable()}),nr=r.record(r.string(),tr),rr=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:Un.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)})})}),ir=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`]),ar={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`},or=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`],sr=[`eq`,`neq`],cr=r.object({type:r.literal(`vault`),connection:r.string()}),g=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(cr)}).nullable().optional(),lr=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(cr).min(1,{message:`Provide your own credentials to use this object.`})}),ur=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(),dr=r.enum(or),fr=r.enum(sr),pr=r.enum([`failed`,`no_result`,`completed`,`skipped`]),mr=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:dr.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:fr.describe(`Status comparison operator: "eq" or "neq".`),value:pr.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" }] } }`),hr={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 gr(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 _r(e){return`${e.provider}_${e.id}`}const vr=new s;function yr(e){return vr.validateSchema(e)}function br(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 xr=[`gemini-flash-latest`,`openai-gpt-latest`,`openai-gpt-mini-latest`],Sr={"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 Cr(e,t){let n={};for(let r of xr){let i=Sr[r],a=`${r}-${e}`;n[a]={credits:t?.[r]??i.defaultCredits,allowManagedConnection:!0,provider:i.provider,mode:i.billingMode}}return n}function wr(e){let t=Sr[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function Tr(e,t){return`${e}-${t}`}function Er(e){let t=Sr[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function Dr(){let e=new Set;for(let t of xr)e.add(Sr[t].provider);return[...e]}function Or(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 kr(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)?h(o.fieldName):null;return s?.jsonMeta?{jsonSchema:s.jsonMeta.zodSchema?r.toJSONSchema(s.jsonMeta.zodSchema):null,exampleValue:s.jsonMeta.exampleValue||null}:i}const _=r.registry();{let e=_._map,t=_.get.bind(_);_.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 v=r.registry(),y={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())])},Ar=(e,t)=>{let n=y.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},jr=(e,t)=>{let n=y.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},Mr=(e,t)=>{let n=y.key_value_list_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{oi({value:e.key,issues:t.issues},!1,[n,`key`]),oi({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},Nr=(e,t)=>{let n=e.maxItems||200,r=y.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},Pr=()=>{let e=rr;return _.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}=kr(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},Fr=(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:hr[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},Ir=(e,t)=>{let n=e.maxItems||200,r=y.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},Lr=(e,t)=>{let n=y.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},Rr=(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},zr=(e,t)=>{let n=y.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},Br=(e,t)=>{let n=y.boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`boolean_input`}),n},Vr=(e,t)=>{let n=y.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},Hr=(e,t)=>{let n=y.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},Ur=(e,t)=>{let n=y.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},Wr=(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})},Gr=(e,t)=>{let n=y.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},Kr=(e,t)=>{let n=y.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},qr=(e,t)=>{let n=y.json_schema_input,r=e.required?n:n.optional();return r.check(e=>{yr(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(r=r.check(e=>{br(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},Jr=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=y.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},Yr=({billableOperations:e,...t},n)=>{let i=r.enum(xr).default(t.defaultValue||`gemini-flash-latest`);return n.add(i,{type:`select_input`,options:xr.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:hr[Sr[t].provider].logoUrl},pricing:{credits:n.credits}}}}),required:!0,description:``,label:`AI Models`,...t}),i},Xr=(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},Zr=(e,t)=>{let n=e.required?y.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`})}):y.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??Or(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},Qr=(e,t)=>{let n=y.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},$r=(e,t)=>{let n=y.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},ei=(e,t)=>{let n=e.maxItems||200,r=y.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 ti(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 b=()=>{let e=mr.nullish();return _.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},ni={"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`}},ri={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 ii({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 ai=({schema:e,groupPathMatch:t,extractFromSchema:n,sectionOrder:i=ri,store:a,formResolvers:o})=>{let s={};function c(e){let i=n(e);if(i){s[i.sectionKey]??={type:`section`,groups:[],metadata:ni[i.sectionKey]};let e=s[i.sectionKey],n=e?.groups.find(e=>e.groupPath===i.groupPath);if(n){let e=ii({fieldMetadata:i,store:a,formResolvers:o});e&&n.fields.push(e)}else{let n=t[i.groupPath],r=ii({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 oi(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 si=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:r.string().min(10).check(e=>oi(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 _.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},ci=e=>{let t=r.string();e.required&&(t=t.min(1));let n=t.check(e=>oi(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 _.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},x=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=>oi(e,!1,[])),n=n.describe(e.description||t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??Or(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:[]},_.add(n,o),n};function li(e,t){_.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:_r({id:e.public_id,provider:e.provider})}))}})}const ui=()=>{let e=lr;return li(e,`required`),e},S=()=>{let e=g;return li(e,`optional`),e},C=()=>{let e=ur;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 w=e=>{let t=r.object({alias:r.string().describe(`Override field name mapping. Leave empty to use default.`)});return _.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:``})},T=e=>Fr(e,_),fi=e=>{let t=y.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([]),_.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=>Nr(e,_),mi=e=>Ar(e,_),hi=e=>jr(e,_),gi=e=>Mr(e,_),_i=e=>Ir(e,_),vi=e=>ei(e,_),yi=e=>Lr(e,_),bi=e=>zr(e,_),E=e=>Br(e,_),D=e=>Wr(e,_),xi=e=>Hr(e,_),Si=e=>Ur(e,_),Ci=e=>Jr(e,_),wi=e=>Yr(e,_),Ti=e=>Xr(e,_),Ei=e=>Gr(e,_),Di=e=>Kr(e,_),Oi=e=>qr(e,_),ki=e=>Zr(e,_),O=e=>Ar(e,v),Ai=e=>jr(e,v),ji=e=>Qr(e,v),k=e=>Nr(e,v),A=e=>Ir(e,v),Mi=e=>Lr(e,v),Ni=e=>Rr(e,v),Pi=e=>zr(e,v),Fi=e=>Br(e,v),Ii=e=>Vr(e,v),j=e=>Wr(e,v,`config.output_fields`),Li=e=>Hr(e,v),Ri=e=>Ur(e,v),zi=e=>Jr(e,v),M=e=>Xr(e,v),N=e=>$r(e,v),P=e=>ei(e,v),F=e=>Gr(e,v),Bi=e=>Kr(e,v),I=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()),L=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 R={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},z=e=>({kind:`field`,field:e}),Wi=(...e)=>({kind:`all`,of:e.map(Ui)}),Gi=(...e)=>({kind:`any`,of:e.map(Ui)}),Ki=e=>({kind:`optional`,field:e});function qi(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>qi(e,t));case`any`:return e.of.some(e=>qi(e,t))}}function Ji(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(Ji)}}function Yi(e,t){let n=Xi(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function Xi(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=Xi(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=Xi(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Zi(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Zi).filter(e=>!$e(e));let t={};for(let[n,r]of Object.entries(e)){let e=Zi(r);$e(e)||(t[n]=e)}return t}const Qi=await l();var $i=class e{static hashObject(t){if(!Qi)throw Error(`HashAPI not initialized`);let{h64ToString:n}=Qi,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 ea(e,t){let n={pipeId:e,config:Zi(t)};return $i.hashObject(n)}function ta(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:$i.hashObject(Zi(n))}var B=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 Ji(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return ea(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return ta(e,this.inputFields)}};function na(e){return Ji(e).map(({field:e})=>e)}function ra({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function ia({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function aa({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 oa(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 sa(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function ca(e){return e.value=null,e.status=`processing`,e.resolved_by=null,e.widgets={},e}function V(e){return e.split(`@`)[0]}function H(e){return`/docs/pipes/pipes-catalog/${V(e)}/${e.split(`@`)[1]}`}function U(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 la=`company:funding:leadmagic@1`,ua=h(`company_name`),da=h(`company_website_url`),fa=h(`funding_history`),pa=h(`funding_total_usd`),ma=h(`leadmagic_competitor_list`),ha=h(`leadmagic_acquisition_history`),ga=h(`leadmagic_company_news_list`),_a=r.object({pipe_id:r.literal(la),connector:S(),trigger:b(),config:r.object({input_fields:L(r.object({[ua.name]:w({fieldName:ua.name}),[da.name]:w({fieldName:da.name})})),output_fields:I(r.object({[fa.name]:D({fieldName:fa.name}),[pa.name]:D({fieldName:pa.name}),[ma.name]:D({fieldName:ma.name}),[ha.name]:D({fieldName:ha.name}),[ga.name]:D({fieldName:ga.name})}))}).optional()}),va=e=>Gi(U(ua,e),U(da,e)),ya={"get-company-funding-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},ba=class extends B{pipeId=la;payload;payloadSchema=_a;billableOperations=ya;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`get-company-funding-leadmagic`]}getInputRequirement(){return va(this.payload.config)}getRawOutputFields(){return{[fa.name]:this.catalogOutput(fa),[pa.name]:this.catalogOutput(pa)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},xa=_a,Sa={pipeId:la,basePipe:V(la),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[R.FINANCIAL_DATA],docPath:H(la),billableOperations:ya,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:va(null),defaultPayload:{pipe_id:la,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:``}}}}},Ca=h(`company_name`),wa=h(`company_profile_url`),Ta=h(`company_website_url`),Ea=h(`cleaned_company_name`),Da=`company:identity@2`,Oa=r.object({pipe_id:r.literal(Da),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[Ca.name]:w({fieldName:Ca.name})})),output_fields:I(r.object({[wa.name]:D({fieldName:wa.name}),[Ea.name]:D({fieldName:Ea.name}),[Ta.name]:D({fieldName:Ta.name})}))}).optional()}),ka=e=>z(U(Ca,e)),Aa={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},ja=class extends B{pipeId=Da;payload;payloadSchema=Oa;billableOperations=Aa;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return ka(this.payload.config)}getRawOutputFields(){return{[wa.name]:this.catalogOutput(wa),[Ta.name]:this.catalogOutput(Ta),[Ea.name]:this.catalogOutput(Ea)}}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}]}},Ma=Oa,Na={pipeId:Da,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(Da),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:[R.WEBSITE,R.LINKEDIN],docPath:H(Da),billableOperations:Aa,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ka(null),defaultPayload:{pipe_id:Da,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}}}}},Pa=h(`company_website_url`),Fa=h(`companyenrich_matches`),Ia=`company:lookalikes:companyenrich@1`,La=r.object({pipe_id:r.literal(Ia),trigger:b(),connector:S(),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:L(r.object({[Pa.name]:w({fieldName:Pa.name})})),output_fields:I(r.object({[Fa.name]:D({fieldName:Fa.name})}))}).optional()}),Ra=e=>z(U(Pa,e)),za={companyenrich_lookalike_result:{allowManagedConnection:!0,credits:.2,mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Ba=class extends B{pipeId=Ia;payload;payloadSchema=La;billableOperations=za;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`companyenrich_lookalike_result`)}getInputRequirement(){return Ra(this.payload.config)}getRawOutputFields(){return{[Fa.name]:this.catalogOutput(Fa)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Va=La,Ha={pipeId:Ia,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(Ia),label:`Find company lookalikes`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find companies similar to the company you provide as input.`,tags:[R.COMPANY_PROFILES],docPath:H(Ia),billableOperations:za,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:Ra(null),defaultPayload:{pipe_id:Ia,connector:null,trigger:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Ua=h(`company_website_url`),Wa=h(`crustdata_companyenrich_match`),Ga=`company:match:crustdata@1`,Ka=r.object({pipe_id:r.literal(Ga),trigger:b(),connector:S(),config:r.object({input_fields:L(r.object({[Ua.name]:w({fieldName:Ua.name})})),output_fields:I(r.object({[Wa.name]:D({fieldName:Wa.name})}))}).optional()}),qa=e=>z(U(Ua,e)),Ja={crustdata_company_enrich:{allowManagedConnection:!0,credits:2,mode:`onSuccess`,provider:`crustdata`}},Ya=class extends B{pipeId=Ga;payload;payloadSchema=Ka;billableOperations=Ja;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata_company_enrich`]}getInputRequirement(){return qa(this.payload.config)}getRawOutputFields(){return{[Wa.name]:this.catalogOutput(Wa)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Xa=Ka,Za={pipeId:Ga,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(Ga),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[R.WEBSITE,R.LINKEDIN],docPath:H(Ga),billableOperations:Ja,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:qa(null),defaultPayload:{pipe_id:Ga,connector:null,trigger:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},Qa=h(`company_website_url`),$a=h(`company_name`),eo=h(`company_profile_url`),to=h(`logodev_describe_match`),no=h(`logo_url`),ro=`company:match:logodev@1`,io=r.object({pipe_id:r.literal(ro),trigger:b(),connector:S(),config:r.object({input_fields:L(r.object({[Qa.name]:w({fieldName:Qa.name})})),output_fields:I(r.object({[eo.name]:D({fieldName:eo.name}),[no.name]:D({fieldName:no.name}),[$a.name]:D({fieldName:$a.name}),[to.name]:D({fieldName:to.name})}))}).optional()}),ao=e=>z(U(Qa,e)),oo={"logodev-company-describe":{allowManagedConnection:!0,credits:.1,mode:`onSuccess`,provider:`logodev`}},so=class extends B{pipeId=ro;payload;payloadSchema=io;billableOperations=oo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`logodev-company-describe`]}getInputRequirement(){return ao(this.payload.config)}getRawOutputFields(){return{[eo.name]:this.catalogOutput(eo),[$a.name]:this.catalogOutput($a),[no.name]:this.catalogOutput(no),[to.name]:this.catalogOutput(to)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},co=io,lo={pipeId:ro,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(ro),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:[R.WEBSITE,R.LINKEDIN],docPath:H(ro),billableOperations:oo,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:ao(null),defaultPayload:{pipe_id:ro,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}}}}},uo=`company:newssummary:website@1`,fo=h(`company_news_summary`),po=h(`company_website_url`),mo=r.object({pipe_id:r.literal(uo),trigger:b(),connector:S(),config:r.object({input_fields:L(r.object({[po.name]:w({fieldName:po.name})})),output_fields:I(r.object({[fo.name]:D({fieldName:fo.name})}))}).optional()}),ho=e=>z(U(po,e)),go={"pipe0-get-company-news-summary":{allowManagedConnection:!0,credits:1,mode:`always`,provider:`pipe0`}},_o=class extends B{pipeId=uo;payloadSchema=mo;billableOperations=go;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-news-summary`]}getInputRequirement(){return ho(this.payload.config)}getRawOutputFields(){return{[fo.name]:this.catalogOutput(fo)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},vo=mo,yo={pipeId:uo,basePipe:V(uo),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:[R.NEWS],docPath:H(uo),billableOperations:go,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ho(null),defaultPayload:{pipe_id:uo,trigger:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},bo=h(`company_website_url`),xo=h(`company_profile_url`),So=h(`company_description`),Co=h(`company_industry`),wo=h(`company_region`),To=h(`headcount`),Eo=h(`estimated_revenue`),Do=h(`founded_year`),Oo=h(`company_name`),ko=`company:overview@2`,Ao=r.object({pipe_id:r.literal(ko),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[bo.name]:w({fieldName:bo.name}),[xo.name]:w({fieldName:xo.name})})),output_fields:I(r.object({[So.name]:D({fieldName:So.name}),[Co.name]:D({fieldName:Co.name}),[wo.name]:D({fieldName:wo.name}),[To.name]:D({fieldName:To.name}),[Eo.name]:D({fieldName:Eo.name}),[Do.name]:D({fieldName:Do.name}),[Oo.name]:D({fieldName:Oo.name})}))}).optional()}),jo=e=>Gi(U(bo,e),U(xo,e)),Mo={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},No=class extends B{pipeId=ko;payloadSchema=Ao;billableOperations=Mo;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return jo(this.payload.config)}getRawOutputFields(){return{[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),[Oo.name]:this.catalogOutput(Oo)}}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}]}},Po=Ao,Fo={pipeId:ko,basePipe:V(ko),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:H(ko),tags:[R.WEBSITE,R.LINKEDIN,R.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Mo,defaultInputRequirement:jo(null),defaultPayload:{pipe_id:ko,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}}}}},Io=h(`company_website_url`),Lo=h(`technology_list`),Ro=h(`spending_trend`),zo=h(`technology_match_builtwith`),Bo=`company:techstack:builtwith@1`,Vo=r.object({pipe_id:r.literal(Bo),connector:S(),trigger:b(),config:r.object({input_fields:L(r.object({[Io.name]:w({fieldName:Io.name})})),output_fields:I(r.object({[Lo.name]:D({fieldName:Lo.name}),[zo.name]:D({fieldName:zo.name}),[Ro.name]:D({fieldName:Ro.name})}))}).optional()}),Ho=e=>z(U(Io,e)),Uo={"builtwith-get-technology-stack":{provider:`builtwith`,allowManagedConnection:!0,credits:2,mode:`always`}},Wo=class extends B{pipeId=Bo;payload;payloadSchema=Vo;billableOperations=Uo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`builtwith-get-technology-stack`]}getInputRequirement(){return Ho(this.payload.config)}getRawOutputFields(){return{[Lo.name]:this.catalogOutput(Lo),[zo.name]:this.catalogOutput(zo),[Ro.name]:this.catalogOutput(Ro)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Go=Vo,Ko={pipeId:Bo,basePipe:V(Bo),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:[R.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:H(Bo),billableOperations:Uo,defaultInputRequirement:Ho(null),defaultPayload:{pipe_id:Bo,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}}}}},qo=`company:websiteurl:email@1`,Jo=h(`company_website_url`),Yo=h(`email`),Xo=r.object({pipe_id:r.literal(qo),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[Yo.name]:w({fieldName:Yo.name})})),output_fields:I(r.object({[Jo.name]:D({fieldName:Jo.name})}))}).optional()}),Zo=e=>z(U(Yo,e)),Qo={"pipe0-get-website-url":{credits:0,allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},$o=class extends B{pipeId=qo;payload;payloadSchema=Xo;billableOperations=Qo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-website-url`]}getInputRequirement(){return Zo(this.payload.config)}getRawOutputFields(){return{[Jo.name]:this.catalogOutput(Jo)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},es=Xo,ts={pipeId:qo,basePipe:V(qo),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:[R.EMAIL,R.WORK_EMAIL,R.WEBSITE],docPath:H(qo),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Qo,defaultInputRequirement:Zo(null),defaultPayload:{pipe_id:qo,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},ns={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},rs=`contact:create:resend@1`,is={"contact-create-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},as=h(`email`),os=h(`name`),ss=h(`resend_contact_id`),cs=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],ls=r.object({pipe_id:r.literal(rs),connector:ui(),trigger:b(),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 cs;if(!t)throw new ns.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 ns.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:E({sectionKey:`general`,defaultValue:!0,label:`Add as subscribed`,groupPath:`config.general`,path:`config.add_as_subscribed`,info:``}),input_fields:L(r.object({[os.name]:w({fieldName:os.name}),[as.name]:w({fieldName:as.name})})),output_fields:I(r.object({[ss.name]:D({fieldName:ss.name})}))})}),us=e=>Wi(z(U(as,e)),z(U(os,e))),ds=class extends B{pipeId=rs;payload;payloadSchema=ls;billableOperations=is;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`contact-create-resend`]}getInputRequirement(){return us(this.payload.config)}getRawOutputFields(){return{[ss.name]:this.catalogOutput(ss)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},fs=ls,ps={pipeId:rs,basePipe:V(rs),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[R.EMAIL],docPath:H(rs),billableOperations:is,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:us(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:rs,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}}}}},ms=h(`company_name`),hs=h(`company_social_url`),gs=h(`company_website_url`),_s=h(`cleaned_company_name`),vs=`company:identity@1`,ys=r.object({pipe_id:r.literal(vs),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[ms.name]:w({fieldName:ms.name})})),output_fields:I(r.object({[hs.name]:D({fieldName:hs.name}),[_s.name]:D({fieldName:_s.name}),[gs.name]:D({fieldName:gs.name})}))}).optional()}),bs=e=>z(U(ms,e)),xs={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},Ss=class extends B{pipeId=vs;payload;payloadSchema=ys;billableOperations=xs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return bs(this.payload.config)}getRawOutputFields(){return{[hs.name]:this.catalogOutput(hs),[gs.name]:this.catalogOutput(gs),[_s.name]:this.catalogOutput(_s)}}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}]}},Cs=ys,ws={pipeId:vs,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(vs),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:[R.WEBSITE,R.LINKEDIN],docPath:`/resources/pipe-catalog/company:identity/1`,billableOperations:xs,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:bs(null),defaultPayload:{pipe_id:vs,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}}}}},Ts=h(`company_website_url`),Es=h(`company_social_url`),Ds=h(`company_description`),Os=h(`company_industry`),ks=h(`company_region`),As=h(`headcount`),js=h(`estimated_revenue`),Ms=h(`founded_year`),Ns=`company:overview@1`,Ps=r.object({pipe_id:r.literal(Ns),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[Ts.name]:w({fieldName:Ts.name}),[Es.name]:w({fieldName:Es.name})})),output_fields:I(r.object({[Ds.name]:D({fieldName:Ds.name}),[Os.name]:D({fieldName:Os.name}),[ks.name]:D({fieldName:ks.name}),[As.name]:D({fieldName:As.name}),[js.name]:D({fieldName:js.name}),[Ms.name]:D({fieldName:Ms.name})}))}).optional()}),Fs=e=>Gi(U(Ts,e),U(Es,e)),Is={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},Ls=class extends B{pipeId=Ns;payloadSchema=Ps;billableOperations=Is;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Fs(this.payload.config)}getRawOutputFields(){return{[Ds.name]:this.catalogOutput(Ds),[Os.name]:this.catalogOutput(Os),[ks.name]:this.catalogOutput(ks),[As.name]:this.catalogOutput(As),[js.name]:this.catalogOutput(js),[Ms.name]:this.catalogOutput(Ms)}}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}]}},Rs=Ps,zs={pipeId:Ns,basePipe:V(Ns),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:[R.WEBSITE,R.LINKEDIN,R.FINANCIAL_DATA,R.DEPRECATED],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Is,defaultInputRequirement:Fs(null),defaultPayload:{pipe_id:Ns,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}}}}},Bs=`people:email:validate:zerobounce@1`,Vs=h(`work_email`),Hs=h(`is_email_valid`),Us=r.object({pipe_id:r.literal(Bs),connector:S(),trigger:b(),config:r.object({input_fields:L(r.object({[Vs.name]:w({fieldName:Vs.name})})),output_fields:I(r.object({[Hs.name]:D({fieldName:Hs.name})}))}).optional()}),Ws=e=>z(U(Vs,e)),Gs={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},Ks=class extends B{pipeId=Bs;payload;payloadSchema=Us;billableOperations=Gs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Ws(this.payload.config)}getRawOutputFields(){return{[Hs.name]:this.catalogOutput(Hs)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},qs=Us,Js={pipeId:Bs,basePipe:V(Bs),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:[R.EMAIL],docPath:`/resources/pipe-catalog/people:email:validate:zerobounce/1`,billableOperations:Gs,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Ws(null),defaultPayload:{pipe_id:Bs,connector:null,trigger:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}};function Ys(e){return(e.widgets||{}).display_value?.label}function Xs(e){console.dir(e,{depth:100})}function Zs(e){return typeof e==`object`&&e?JSON.stringify(e):e}function W(e){return e===0?1:e===1?.3:e===2?.2:.1}function Qs(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=Qs(e[n])}),t}const $s={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 G(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 ec=`people:mobilenumber:professionalprofile:waterfall@1`,tc=h(`professional_profile_url`),nc=h(`mobile_number`),rc=[`leadmagic`,`prospeo`],ic=[{provider:`leadmagic`},{provider:`prospeo`}],ac=r.object({pipe_id:r.literal(ec),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,defaultProviders:ic,availableProviders:rc}),input_fields:L(r.object({[tc.name]:w({fieldName:tc.name})})),output_fields:I(r.object({[nc.name]:D({fieldName:nc.name})}))}).optional()}),oc=e=>z(U(tc,e)),sc={"leadmagic-mobile-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"prospeo-mobile-from-profile":{provider:`prospeo`,allowManagedConnection:!0,credits:5,mode:`onSuccess`}},cc=class extends B{pipeId=ec;payload;payloadSchema=ac;billableOperations=sc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return oc(this.payload.config)}getRawOutputFields(){return{[nc.name]:this.catalogOutput(nc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lc=ac,uc={pipeId:ec,basePipe:V(ec),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:[R.PHONE,R.WATERFALL],billableOperations:sc,defaultInputRequirement:oc(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:rc,deprecatedProviders:[],allowedUserConnectionProviders:rc,defaultPayload:{pipe_id:ec,connector:null,trigger:null,config:{providers:ic,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},dc=`people:mobilenumber:workemail:waterfall@1`,fc=h(`work_email`),pc=h(`mobile_number`),mc=[`leadmagic`],hc=[{provider:`leadmagic`}],gc=r.object({pipe_id:r.literal(dc),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,availableProviders:mc,defaultProviders:hc}),input_fields:L(r.object({[fc.name]:w({fieldName:fc.name})})),output_fields:I(r.object({[pc.name]:D({fieldName:pc.name})}))}).optional()}),_c=e=>z(U(fc,e)),vc={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},yc=class extends B{pipeId=dc;payload;payloadSchema=gc;billableOperations=vc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return _c(this.payload.config)}getRawOutputFields(){return{[pc.name]:this.catalogOutput(pc)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},bc=gc,xc={pipeId:dc,basePipe:V(dc),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:[R.PHONE,R.WATERFALL],docPath:`/resources/pipe-catalog/people:mobilenumber:workemail:waterfall/1`,billableOperations:vc,defaultInputRequirement:_c(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:mc,managedProviders:mc,deprecatedProviders:[],defaultPayload:{pipe_id:dc,connector:null,trigger:null,config:{providers:hc,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Sc=`people:professionalprofile:waterfall@1`,Cc=h(`professional_profile`),wc=h(`professional_profile_url`),Tc=[`prospeo`,`icypeas`],Ec=[{provider:`prospeo`},{provider:`icypeas`}],Dc=r.object({pipe_id:r.literal(Sc),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,availableProviders:Tc,defaultProviders:Ec}),input_fields:L(r.object({[wc.name]:w({fieldName:wc.name})})),output_fields:I(r.object({[Cc.name]:D({fieldName:Cc.name})}))}).optional()}),Oc=e=>z(U(wc,e)),kc={"icypeas-get-professional-profile":{provider:`icypeas`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"prospeo-get-professional-profile":{provider:`prospeo`,credits:1,mode:`onSuccess`,allowManagedConnection:!0}},Ac=class extends B{pipeId=Sc;payload;payloadSchema=Dc;billableOperations=kc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Oc(this.payload.config)}getRawOutputFields(){return{[Cc.name]:this.catalogOutput(Cc)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},jc=Dc,Mc={pipeId:Sc,basePipe:V(Sc),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:[R.LINKEDIN,R.WATERFALL],managedProviders:Tc,deprecatedProviders:[],allowedUserConnectionProviders:Tc,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:kc,defaultInputRequirement:Oc(null),defaultPayload:{pipe_id:Sc,trigger:null,connector:null,config:{providers:Ec,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},Nc=`people:professionalprofileurl:email:waterfall@1`,Pc=h(`email`),Fc=h(`work_email`),Ic=h(`professional_profile_url`),Lc=[`leadmagic`],Rc=[{provider:`leadmagic`}],zc=r.object({pipe_id:r.literal(Nc),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,defaultProviders:Rc,availableProviders:Lc}),input_fields:L(r.object({[Pc.name]:w({fieldName:Pc.name}),[Fc.name]:w({fieldName:Fc.name})})),output_fields:I(r.object({[Ic.name]:D({fieldName:Ic.name})}))}).optional()}),Bc=e=>Gi(U(Pc,e),U(Fc,e)),Vc={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Hc=class extends B{pipeId=Nc;payload;payloadSchema=zc;billableOperations=Vc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Bc(this.payload.config)}getRawOutputFields(){return{[Ic.name]:this.catalogOutput(Ic)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Uc=zc,Wc={pipeId:Nc,basePipe:V(Nc),managedProviders:Lc,deprecatedProviders:[],allowedUserConnectionProviders:Lc,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:[R.LINKEDIN],docPath:`/resources/pipe-catalog/people:professionalprofileurl:email:waterfall/1`,billableOperations:Vc,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Bc(null),defaultPayload:{pipe_id:Nc,trigger:null,connector:null,config:{providers:Rc,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},Gc=`people:professionalprofileurl:name@1`,Kc=h(`name`),qc=h(`company_name`),Jc=h(`location_hint`),Yc=h(`professional_profile_url`),Xc=r.object({pipe_id:r.literal(Gc),connector:C(),trigger:b(),config:r.object({input_fields:L(r.object({[Kc.name]:w({fieldName:Kc.name}),[qc.name]:w({fieldName:qc.name}),[Jc.name]:w({fieldName:Jc.name})})),output_fields:I(r.object({[Yc.name]:D({fieldName:Yc.name})}))}).optional()}),Zc=e=>Wi(z(U(Kc,e)),z(U(qc,e)),Ki(U(Jc,e))),Qc={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},$c=class extends B{pipeId=Gc;payload;payloadSchema=Xc;billableOperations=Qc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return Zc(this.payload.config)}getRawOutputFields(){return{[Yc.name]:this.catalogOutput(Yc)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},el=Xc,tl={pipeId:Gc,basePipe:V(Gc),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:[R.LINKEDIN],billableOperations:Qc,defaultInputRequirement:Zc(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Gc,connector:void 0,trigger:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},nl=`people:validate:email:zerobounce@1`,rl=h(`work_email`),il=h(`ip_address`),al=h(`is_email_valid`),ol=r.object({pipe_id:r.literal(nl),connector:S(),trigger:b(),config:r.object({input_fields:L(r.object({[rl.name]:w({fieldName:rl.name}),[il.name]:w({fieldName:il.name})})),output_fields:I(r.object({[al.name]:D({fieldName:al.name})}))}).optional()}),sl=e=>Wi(z(U(rl,e)),Ki(U(il,e))),cl={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},ll=class extends B{pipeId=nl;payload;payloadSchema=ol;billableOperations=cl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return sl(this.payload.config)}getRawOutputFields(){return{[al.name]:this.catalogOutput(al)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},ul=ol,dl={pipeId:nl,basePipe:V(nl),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:[R.EMAIL],docPath:`/resources/pipe-catalog/people:validate:email:zerobounce/1`,billableOperations:cl,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:sl(null),defaultPayload:{pipe_id:nl,connector:null,trigger:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}};function fl(e,t){return typeof t==`string`?t:t(e)}function pl(e,t){return typeof t==`string`||t===null?t:t(e)}function ml(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:fl(e,a[r].type),format:pl(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 hl(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:fl(e,r[t].type),format:pl(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function K(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=>hl(t,e)?.type||n,format:r};a.push(t.required?z(i):Ki(i))}return Wi(...a)}function q(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 gl=`email:send:gmail@1`,_l=h(`gmail_email_success`),vl=r.object({pipe_id:r.literal(gl),connector:ui(),trigger:b(),config:r.object({to:x({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:x({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:x({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:x({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Email body in markdown. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }},
|
|
67
|
+
How do you...`]}},crustdata_post_list:{label:`Crustdata Post list`,type:`json`,format:`json_list_string`,description:`Rich JSON post list`,jsonMeta:{zodSchema:st,exampleValue:ct}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:Pt,exampleValue:Ft}},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:Me,exampleValue:Ne}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:Ae,exampleValue:je}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array($e),exampleValue:[et]}},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:Et,zodSchema:Tt}},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:Mt,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}},tn={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=Zt(e);return n&&(t.location_indicator={emoji:n}),t}},location_hint:{},estimated_revenue:{},founded_year:{},technology_list:{},spending_trend:{getStaticWidgets(e){let t=e;return{display_value:{label:`${t>3?`🔼🔼🔼`:t>1?`🔼🔼`:t>0?`🔼`:t<-3?`🔽🔽🔽`:t<-1?`🔽🔽`:t<0?`🔽`:``} ${Math.round(t*100)}%`}}}},technology_match_builtwith:{getStaticWidgets(e){return{display_value:{label:`Technology profile`}}}},number_of_social_followers:{},email:{},personal_email:{},alternate_personal_emails:{},company_news_summary:{},work_email:{},headcount:{},company_website_url:{},company_domain:{},company_name:{},first_name:{},addressee_name:{},address_line_1:{},address_line_2:{},job_title:{getStaticWidgets(){return{icon:{key:`job`}}}},job_description:{},profile_headline:{},address_city:{},address_country:{},address_state:{},zip_code:{},last_name:{},is_work_email:{},name:{},ip_address:{},skills:{},avatar_url:{},string_input:{},domain:{},url_input:{},slugified:{},http_response_status:{},http_response_body:{},http_response_headers:{},estimated_salary:{},scrape_list_response:{},clado_person_match:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} profile`}}:{}}},clado_person_match_v2:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} profile`}}:{}}},company_social_url:{getStaticWidgets(e){let t=$t(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=$t(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=$t(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:ke.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:ke.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{...en[e],name:e}}function nn(e,t){if(an(e,t))return tn[e]}function rn(e){return e in en}function an(e,t){return e in en?en[e].format===t:!1}const on={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function sn(e){return on[e]}const cn=(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},ln=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},un=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},dn=(...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 fn(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 pn=r.enum(`company_description.cleaned_company_name.company_industry.company_region.location_hint.estimated_revenue.founded_year.technology_list.spending_trend.technology_match_builtwith.number_of_social_followers.email.personal_email.alternate_personal_emails.company_news_summary.work_email.headcount.company_website_url.company_domain.company_name.first_name.addressee_name.address_line_1.address_line_2.job_title.job_description.profile_headline.address_city.address_country.address_state.zip_code.last_name.is_work_email.companyenrich_match.companyenrich_matches.name.ip_address.skills.avatar_url.estimated_salary.is_email_valid.profile_url.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(`.`)),mn=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`]),hn=r.enum([`production`,`sandbox`]),gn=`prompt:run@1.company:newssummary:website@1.company:newssummary:domain@1.company:techstack:builtwith@1.company:techstack:builtwith@2.company:websiteurl:email@1.company:domain:workemail@1.company:funding:leadmagic@1.company:funding:leadmagic@2.people:workemail:waterfall@1.person:workemail:waterfall@1.people:email:iswork@1.email:iswork@1.people:name:split@1.person:name:split@1.person:name:join@1.people:validate:email:zerobounce@1.people:email:validate:zerobounce@2.email:validate:zerobounce@1.people:mobilenumber:workemail:waterfall@1.company:overview@1.company:overview@2.company:overview@3.json:extract:multi@1.email:write@1.message:write@1.email:send:resend@1.email:send:gmail@1.message:send:slack@1.template:fill@1.contact:create:resend@1.people:match:role:waterfall@1.person:match:role:waterfall@1.person:identity:amplemarket@1.company:identity@2.company:identity@3.person:match:amplemarket@1.people:phone:profile:waterfall@1.person:mobile:profileurl:waterfall@1.people:personalemail:profile:waterfall@1.person:personalemail:profileurl:waterfall@1.people:profile:waterfall@1.person:profile:waterfall@1.people:profileurl:email:waterfall@1.person:profileurl:email:waterfall@1.person:profileurl:name@1.people:email:validate:zerobounce@1.person:email:validate:millionverifier@1.people:phone:workemail:waterfall@1.person:mobile:workemail:waterfall@1.fields:merge@1.field:slugify@1.field:domainify@1.website:scrape:firecrawl@1.website:scrapelist:firecrawl@1.website:extract:firecrawl@1.website:maplinks:firecrawl@1.sheet:row:append@1.sheet:row:expandappend@1.company:lookalikes:companyenrich@1.company:lookalikes:companyenrich@2.company:match:logodev@1.company:match:logodev@2.person:posts:crustdata@1.company:match:crustdata@1.company:match:crustdata@2.people:profile:workemail:crustdata@1.person:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.person:workemail:profileurl:waterfall@1.people:identity:email:waterfall@1.person:identity:email:waterfall@1.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(`.`),_n=r.enum(gn),vn=[`string`,`number`,`boolean`,`json`,`unknown`],yn=r.enum(vn),bn=r.union([r.number(),r.string()]),xn=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),Sn=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),Cn=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),wn=r.object({}),Tn=wn.extend({image_url:r.string().url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),En=wn.extend({emoji:r.string().describe(`Country flag emoji.`)}),Dn=wn.extend({image_url:r.url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),On=wn.extend({attempted_providers:r.array(r.object({provider:mn})),available_providers:r.array(mn),successful_provider:mn.optional()}),kn=r.enum([`linkedin`,`job`]),An=wn.extend({key:kn}).optional(),jn=r.object({result_status:r.enum([`completed`,`failed`])}).optional(),Mn=r.object({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),Nn=r.object({numeric:r.int().min(1).max(5)}).optional(),Pn=r.object({display_value:r.object({label:r.string().optional()}),entity_logo:Tn.optional(),location_indicator:En.optional(),avatar:Dn.optional(),waterfall:On.optional(),icon:An,action_summary:jn,sources:Mn,confidence:Nn}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),Fn=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),In=r.object({code:r.string(),summary:r.string(),message:r.string()}),Ln=[`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`],Rn=r.enum(Ln);Rn.nullable();const zn=r.object({type:yn,label:r.string().nullable().optional(),format:Rn.nullable().optional(),json_metadata:Cn.nullable().optional()}),Bn=r.record(r.string(),zn),Vn=r.enum([...gn,`input`]).nullable(),Hn=r.enum([...gn,`input`,`system`]).nullable(),Un=r.object({ref:Vn,config_hash:r.string().nullable()}),Wn=r.object({ref:Hn,environment:hn.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),Gn=r.object({value:Sn,status:xn,type:yn,reason:In.nullable(),claimed_by:Un,resolved_by:Wn.nullable(),widgets:Pn.optional(),format:Rn.nullable()}),Kn=r.object({value:Sn,status:xn,reason:In.nullable().optional(),type:yn.optional(),format:Rn.nullable().optional(),claimed_by:Un.optional(),resolved_by:Wn.nullable().optional(),widgets:Pn.optional()}),qn=r.record(r.string(),r.union([Sn,Kn])).openapi(`PipesInput`),Jn=r.object({id:bn,fields:r.record(bn,Gn)}),Yn=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),Xn=r.object({type:yn,label:r.string(),added_by:r.object({ref:r.union([_n,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:Rn.nullable(),is_primary_output:r.boolean()}),Zn=r.record(r.string(),Xn),Qn=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:Rn.nullable().default(null),label:r.string().optional(),type:yn})})).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)})})}),$n=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`]),er={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`},tr=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`],nr=[`eq`,`neq`],rr=r.object({type:r.literal(`vault`),connection:r.string()}),y=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(rr)}).nullable().optional(),ir=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(rr).min(1,{message:`Provide your own credentials to use this object.`})}),ar=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(),or=r.enum(tr),sr=r.enum(nr),cr=r.enum([`failed`,`no_result`,`completed`,`skipped`]),lr=r.object({action:r.enum([`run`]).default(`run`).describe(`What to do when conditions match. Defaults to "run" (run the pipe only on matching records). Reserved for future extension.`),when:r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(r.discriminatedUnion(`property`,[r.object({property:r.literal(`value`).describe(`Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains.`),field_name:r.string().min(1,{message:`Select a target field for the condition.`}).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:or.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:sr.describe(`Status comparison operator: "eq" or "neq".`),value:cr.describe(`Field status to compare against: "completed", "no_result", "failed", or "skipped".`)})])).min(1).describe(`Array of conditions to evaluate. Each condition checks either a field value or its resolution status.`)}).describe(`Condition block. All conditions are combined with the chosen logic (and/or).`)}).describe(`Run-if gate for a pipe. When set, the pipe only runs on records matching the conditions. Example: { "when": { "logic": "and", "conditions": [{ "property": "status", "field_name": "work_email", "operator": "neq", "value": "no_result" }] } }`),ur={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}},dr=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],fr=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],pr=/^[A-Z][A-Z0-9_]*$/,mr=/^[A-Z][A-Z0-9_]*$/,hr=/^[a-zA-Z_][a-zA-Z0-9_]*$/,gr=`SECRETS`,_r=`CONSTANTS`,vr=new Set(dr),yr=new Set(fr),br=e=>`{${e}}`;var xr=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!pr.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]}},Sr=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!mr.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 Cr(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(!hr.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 wr(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=Cr(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(br(n.name))}});for(let t of Object.keys(e.tags))vr.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))yr.has(t)||delete e.filters[t];return e}let Tr=null;function Er(){return Tr||=wr(),Tr}async function Dr(e,t,n={}){let r=Er(),i=n.renderLimitMs??250,a={...t.inputs??{},[gr]:new xr(t.secrets??{}),[_r]:new Sr(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 Or(e,t,n={}){let r=Er(),i=n.renderLimitMs??250,a={...t.inputs??{},[gr]:new xr(t.secrets??{}),[_r]:new Sr(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function kr(e){return Er().parse(e)}function Ar(e){let t=Er().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};jr(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 jr(e,t){for(let n of e)Mr(n,t)}function Mr(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){Lr(n.value,t,!1);return}if(typeof n.name==`string`){Nr(n,t);return}}function Nr(e,t){switch(e.name){case`for`:Pr(e,t);return;case`if`:case`unless`:Fr(e,t);return;case`output`:Ir(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function Pr(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&&Rr(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),jr(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),jr(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function Fr(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=Vr(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&Lr(i,t,!1),jr(r.templates,t),a&&t.guardStack.pop()}jr(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function Ir(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=Cr(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 Lr(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)Hr(n)&&Br(n,t,i);for(let n of e.filters)for(let e of n.args)zr(e,t)}function Rr(e,t,n){Hr(e)&&Br(e,t,n)}function zr(e,t){if(Array.isArray(e)){let n=e[1];n&&Rr(n,t,!1)}else Rr(e,t,!1)}function Br(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!Ur(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!Ur(e))throw Error(`Invalid SECRETS reference — expected SECRETS.KEY (got ${Kr(r)}).`);let n=e.content;if(!pr.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||!Ur(e))throw Error(`Invalid CONSTANTS reference — expected CONSTANTS.KEY (got ${Kr(r)}).`);let n=e.content;if(!mr.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 Vr(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&Hr(t)&&t.props.length===1){let e=t.props[0];if(e&&Ur(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&Hr(t)&&t.props.length===1){let e=t.props[0];if(e&&Ur(e)&&Wr(n)&&Gr(r,[`==`,`!=`]))return e.content}}return null}function Hr(e){return e.kind===o.PropertyAccess}function Ur(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function Wr(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function Gr(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function Kr(e){let t=[];for(let n of e)n&&Ur(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}function qr(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:mn.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function Jr(e){return`${e.provider}_${e.id}`}const Yr=new s;function Xr(e){return Yr.validateSchema(e)}function Zr(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 Qr=[`gemini-flash-latest`,`openai-gpt-latest`,`openai-gpt-mini-latest`],$r={"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 ei(e,t){let n={};for(let r of Qr){let i=$r[r],a=`${r}-${e}`;n[a]={credits:t?.[r]??i.defaultCredits,allowManagedConnection:!0,provider:i.provider,mode:i.billingMode}}return n}function ti(e){let t=$r[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function ni(e,t){return`${e}-${t}`}function ri(e){let t=$r[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function ii(){let e=new Set;for(let t of Qr)e.add($r[t].provider);return[...e]}function ai(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(cn(e.requires.connection));for(let n of e.requires.fields??[])t.push(ln(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]:un(...t)}function oi(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=fn(e,n,t),s=rn(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 b=r.registry();{let e=b._map,t=b.get.bind(b);b.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 x=r.registry(),S={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_run_if_input:r.record(r.string(),r.unknown()).nullable(),fields_select_input:r.array(r.object({field_name:r.string()})),output_field_input:r.object({alias:r.string(),enabled:r.boolean()}),json_schema_input:r.record(r.string(),r.unknown()),cursor_pagination_metadata:r.object({limit:r.number()}),context_select_input:r.union([r.string(),r.array(r.string())])},si=(e,t)=>{let n=S.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},ci=(e,t)=>{let n=S.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},li=(e,t)=>{let n=S.key_value_list_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{Li({value:e.key,issues:t.issues},!1,[n,`key`]),Li({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},ui=(e,t)=>{let n=e.maxItems||200,r=S.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},di=()=>{let e=Qn;return b.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}=oi(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},fi=(e,t)=>{let n=r.array(r.object({provider:r.enum(e.availableProviders)})).max(e.maxItems||99).min(1).default(e.defaultProviders),i=e.availableProviders.map(t=>{let n=e.providerCredits?.[t];return{value:t,label:ur[t].label,widgets:{provider_logo:{provider:t},...typeof n==`number`?{pricing:{credits:n}}:{}}}});return t.add(n,{label:`Provider sequence`,description:``,path:`config.providers`,groupPath:`config.providers`,type:`providers_input`,options:i,defaultProviders:e.defaultProviders,maxItems:e.maxItems,sectionKey:e.sectionKey}),n},pi=(e,t)=>{let n=e.maxItems||200,r=S.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},mi=(e,t)=>{let n=S.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},hi=(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},gi=(e,t)=>{let n=S.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},_i=(e,t)=>{let n=S.boolean_input.default(e.defaultValue);return e.description&&n.describe(e.description),t.add(n,{...e,required:!1,type:`boolean_input`}),n},vi=(e,t)=>{let n=S.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},yi=(e,t)=>{let n=S.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},bi=(e,t)=>{let n=S.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},xi=(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})},Si=(e,t)=>{let n=S.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},Ci=(e,t)=>{let n=S.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},wi=(e,t)=>{let n=S.json_schema_input,r=e.required?n:n.optional();return r.check(e=>{Xr(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(r=r.check(e=>{Zr(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},Ti=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=S.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},Ei=({billableOperations:e,...t},n)=>{let i=r.enum(Qr).default(t.defaultValue||`gemini-flash-latest`);return n.add(i,{type:`select_input`,options:Qr.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:ur[$r[t].provider].logoUrl},pricing:{credits:n.credits}}}}),required:!0,description:``,label:`AI Models`,...t}),i},Di=(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},Oi=(e,t)=>{let n=e.required?S.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`})}):S.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??ai(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},ki=(e,t)=>{let n=S.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},Ai=(e,t)=>{let n=S.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},ji=(e,t)=>{let n=e.maxItems||200,r=S.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 Mi(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 C=()=>{let e=lr.nullish();return b.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_run_if_input`,groupPath:`run_if`,path:`run_if`,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},Ni={"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:`run_if`,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`}},Pi={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 Fi({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=Pi,sectionMap:a=Ni,store:o,formResolvers:s})=>{let c={};function l(e){let i=n(e);if(i){c[i.sectionKey]??={type:`section`,groups:[],metadata:a[i.sectionKey]};let e=c[i.sectionKey],n=e?.groups.find(e=>e.groupPath===i.groupPath);if(n){let e=Fi({fieldMetadata:i,store:o,formResolvers:s});e&&n.fields.push(e)}else{let n=t[i.groupPath],r=Fi({fieldMetadata:i,store:o,formResolvers:s});r&&e.groups.push({groupPath:i.groupPath,fields:[r],type:`group`,label:n?.label,defaultExpand:!!n?.defaultExpand,description:n?.description,iconKey:n?.iconKey,order:n?.order})}}if(typeof e==`object`&&`unwrap`in e&&typeof e.unwrap==`function`&&l(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))l(t)}l(e);let u=Object.values(c);return u.forEach(e=>{e.groups.sort((e,t)=>(e.order??99)-(t.order??99))}),[...u].filter(e=>e.groups.length!==0).sort((e,t)=>(i?.[e.metadata?.path||``]??99)-(i?.[t.metadata?.path||``]??99))};function Li(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=Ar(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 Ri=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:r.string().min(10).check(e=>Li(e,t,[`template`])).describe(e.description||'Liquid prompt with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% output name, type: "string", description: "..." %}` to declare model outputs. Supports `{% if %}` / `{% for %}` control flow. Example: "Summarize {{ name }}. {% output summary, type: \\"string\\", description: \\"One-line summary\\" %}"'),json_schemas:r.record(r.string().min(1,`Schema name cannot be empty`),r.record(r.string(),r.any())).optional().describe(`JSON schemas for output fields with type="json". Keys are referenced via schema="<name>" in output tags.`)});return b.add(n,t=>{let n=t.validationContext;return{type:`prompt_input`,inputFields:Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).map(([e,t])=>({...t,resolvedName:e})),...e}}),n},zi=e=>{let t=r.string();e.required&&(t=t.min(1));let n=t.check(e=>Li(e,!1,[])).describe(e.description||'Liquid template with `{{ field }}` input refs, `{{ field | default: "" }}` for optional refs, `{{ SECRETS.KEY }}` for secrets, `{{ CONSTANTS.KEY }}` for plaintext constants, and `{% if %}` / `{% for %}` control flow. Example: "Write to {{ name }} about {{ topic | default: \\"the project\\" }}."');return b.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},w=e=>{let t=`${e.multiline?`Multi-line`:`Single-line`} ${e.expectedTagType} value, optionally containing \`{{ field }}\` Liquid input refs (use \`| default: ""\` for optional refs), \`{{ SECRETS.KEY }}\` for encrypted secrets, and \`{{ CONSTANTS.KEY }}\` for plaintext constants.`,n=r.coerce.string();e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),e.minLength||(n=n.nullable()),n=n.check(e=>Li(e,!1,[])),n=n.describe(e.description||t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??ai(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:[]},b.add(n,o),n};function Bi(e,t){b.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:Jr({id:e.public_id,provider:e.provider})}))}})}const Vi=()=>{let e=ir;return Bi(e,`required`),e},T=()=>{let e=y;return Bi(e,`optional`),e},E=()=>{let e=ar;return Bi(e,`disabled`),e};function Hi(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 b.add(t,t=>{let n=t.validationContext;return{type:`select_input`,required:!1,sectionKey:`config.pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:Hi(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=>fi(e,b),Ui=e=>{let t=S.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([]),b.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},Wi=e=>ui(e,b),Gi=e=>si(e,b),Ki=e=>ci(e,b),qi=e=>li(e,b),Ji=e=>pi(e,b),Yi=e=>ji(e,b),Xi=e=>mi(e,b),Zi=e=>gi(e,b),k=e=>_i(e,b),A=e=>xi(e,b),Qi=e=>yi(e,b),$i=e=>bi(e,b),ea=e=>Ti(e,b),ta=e=>Ei(e,b),na=e=>Di(e,b),ra=e=>Si(e,b),ia=e=>Ci(e,b),aa=e=>wi(e,b),oa=e=>Oi(e,b),j=e=>si(e,x),sa=e=>ci(e,x),ca=e=>ki(e,x),M=e=>ui(e,x),N=e=>pi(e,x),la=e=>mi(e,x),ua=e=>hi(e,x),da=e=>gi(e,x),fa=e=>_i(e,x),pa=e=>vi(e,x),P=e=>xi(e,x,`config.output_fields`),ma=e=>yi(e,x),ha=e=>bi(e,x),ga=e=>Ti(e,x),F=e=>Di(e,x),I=e=>Ai(e,x),L=e=>ji(e,x),R=e=>Si(e,x),_a=e=>Ci(e,x),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 va(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]=va(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 ❌`},ya=e=>typeof e.kind==`string`,ba=e=>ya(e)?e:{kind:`field`,field:e},H=e=>({kind:`field`,field:e}),xa=(...e)=>({kind:`all`,of:e.map(ba)}),U=(...e)=>({kind:`any`,of:e.map(ba)}),Sa=e=>({kind:`optional`,field:e});function Ca(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>Ca(e,t));case`any`:return e.of.some(e=>Ca(e,t))}}function wa(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(wa)}}function Ta(e,t){let n=Ea(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function Ea(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=Ea(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=Ea(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Da(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Da).filter(e=>!At(e));let t={};for(let[n,r]of Object.entries(e)){let e=Da(r);At(e)||(t[n]=e)}return t}const Oa=await l();var ka=class e{static hashObject(t){if(!Oa)throw Error(`HashAPI not initialized`);let{h64ToString:n}=Oa,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 Aa(e,t){let n={pipeId:e,config:Da(t)};return ka.hashObject(n)}function ja(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:ka.hashObject(Da(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[]}getConstantRequirements(){return[]}catalogOutput(e,{isPrimaryOutput:t=!1,resolveFormat:n,resolveType:r}={resolveType:void 0,resolveFormat:void 0,isPrimaryOutput:!1}){return{name:e.name,enabled:!!this.payload.config?.output_fields?.[e.name].enabled,type:r||e.type,format:n||e.format,resolvedName:this.payload.config?.output_fields?.[e.name]?.alias||e.name,description:e.description,jsonMeta:e.jsonMeta,label:e.label,isCatalogFIeld:!0,isPrimaryOutput:t}}getOutputFields(){let e={};for(let[t,n]of Object.entries(this.getRawOutputFields()))n.enabled&&(e[t]=n);return e}get inputFields(){let e={};for(let{field:t}of wa(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return Aa(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return ja(e,this.inputFields)}};function Ma(e,t){let n={};for(let r of t)for(let t of Object.values(e))if(t&&t.provider===r&&t.credits!=null){n[r]=t.credits;break}return n}function Na(e){return wa(e).map(({field:e})=>e)}function Pa({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function Fa({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 La(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 Ra(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function za(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 Ba=`company:domain:workemail@1`,Va=v(`company_domain`),Ha=v(`work_email`),Ua=r.object({pipe_id:r.literal(Ba),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[Ha.name]:D({fieldName:Ha.name})})),output_fields:z(r.object({[Va.name]:A({fieldName:Va.name})}))}).optional()}),Wa=e=>H(q(Ha,e)),Ga={"pipe0-company-domain-from-work-email":{credits:0,allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},Ka=class extends W{pipeId=Ba;payload;payloadSchema=Ua;billableOperations=Ga;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-company-domain-from-work-email`]}getInputRequirement(){return Wa(this.payload.config)}getRawOutputFields(){return{[Va.name]:this.catalogOutput(Va)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},qa=Ua,Ja={pipeId:Ba,basePipe:G(Ba),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(Ba),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Ga,defaultInputRequirement:Wa(null),defaultPayload:{pipe_id:Ba,connector:null,run_if:null,config:{input_fields:{[Ha.name]:{alias:``}},output_fields:{[Va.name]:{alias:``,enabled:!0}}}}},Ya=`company:funding:leadmagic@2`,Xa=v(`company_name`),Za=v(`company_domain`),Qa=v(`funding_history`),$a=v(`funding_total_usd`),eo=v(`leadmagic_competitor_list`),to=v(`leadmagic_acquisition_history`),no=v(`leadmagic_company_news_list`),ro=r.object({pipe_id:r.literal(Ya),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Xa.name]:D({fieldName:Xa.name}),[Za.name]:D({fieldName:Za.name})})),output_fields:z(r.object({[Qa.name]:A({fieldName:Qa.name}),[$a.name]:A({fieldName:$a.name}),[eo.name]:A({fieldName:eo.name}),[to.name]:A({fieldName:to.name}),[no.name]:A({fieldName:no.name})}))}).optional()}),io=e=>U(q(Xa,e),q(Za,e)),ao={"get-company-funding-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},oo=class extends W{pipeId=Ya;payload;payloadSchema=ro;billableOperations=ao;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`get-company-funding-leadmagic`]}getInputRequirement(){return io(this.payload.config)}getRawOutputFields(){return{[Qa.name]:this.catalogOutput(Qa),[$a.name]:this.catalogOutput($a),[to.name]:this.catalogOutput(to),[no.name]:this.catalogOutput(no),[eo.name]:this.catalogOutput(eo)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},so=ro,co={pipeId:Ya,basePipe:G(Ya),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(Ya),billableOperations:ao,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:io(null),defaultPayload:{pipe_id:Ya,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``},company_domain:{alias:``}},output_fields:{funding_history:{enabled:!0,alias:``},funding_total_usd:{enabled:!0,alias:``},leadmagic_acquisition_history:{enabled:!1,alias:``},leadmagic_company_news_list:{enabled:!1,alias:``},leadmagic_competitor_list:{enabled:!1,alias:``}}}}},lo=v(`company_name`),uo=v(`company_profile_url`),fo=v(`company_domain`),po=v(`cleaned_company_name`),mo=`company:identity@3`,ho=r.object({pipe_id:r.literal(mo),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[lo.name]:D({fieldName:lo.name})})),output_fields:z(r.object({[uo.name]:A({fieldName:uo.name}),[po.name]:A({fieldName:po.name}),[fo.name]:A({fieldName:fo.name})}))}).optional()}),go=e=>H(q(lo,e)),_o={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},vo=class extends W{pipeId=mo;payload;payloadSchema=ho;billableOperations=_o;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return go(this.payload.config)}getRawOutputFields(){return{[uo.name]:this.catalogOutput(uo),[fo.name]:this.catalogOutput(fo),[po.name]:this.catalogOutput(po)}}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}]}},yo=ho,bo={pipeId:mo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(mo),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(mo),billableOperations:_o,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:go(null),defaultPayload:{pipe_id:mo,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_domain:{alias:``,enabled:!0}}}}},xo=v(`company_domain`),So=v(`companyenrich_matches`),Co=`company:lookalikes:companyenrich@2`,wo=r.object({pipe_id:r.literal(Co),run_if:C(),connector:T(),config:r.object({limit:ra({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({[xo.name]:D({fieldName:xo.name})})),output_fields:z(r.object({[So.name]:A({fieldName:So.name})}))}).optional()}),To=e=>H(q(xo,e)),Eo={companyenrich_lookalike_result:{allowManagedConnection:!0,credits:.2,mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Do=class extends W{pipeId=Co;payload;payloadSchema=wo;billableOperations=Eo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`companyenrich_lookalike_result`)}getInputRequirement(){return To(this.payload.config)}getRawOutputFields(){return{[So.name]:this.catalogOutput(So)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Oo=wo,ko={pipeId:Co,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Co),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(Co),billableOperations:Eo,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:To(null),defaultPayload:{pipe_id:Co,connector:null,run_if:null,config:{limit:20,input_fields:{company_domain:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Ao=v(`company_domain`),jo=v(`crustdata_companyenrich_match`),Mo=`company:match:crustdata@2`,No=r.object({pipe_id:r.literal(Mo),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[Ao.name]:D({fieldName:Ao.name})})),output_fields:z(r.object({[jo.name]:A({fieldName:jo.name})}))}).optional()}),Po=e=>H(q(Ao,e)),Fo={crustdata_company_enrich:{allowManagedConnection:!0,credits:2,mode:`onSuccess`,provider:`crustdata`}},Io=class extends W{pipeId=Mo;payload;payloadSchema=No;billableOperations=Fo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata_company_enrich`]}getInputRequirement(){return Po(this.payload.config)}getRawOutputFields(){return{[jo.name]:this.catalogOutput(jo)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Lo=No,Ro={pipeId:Mo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Mo),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(Mo),billableOperations:Fo,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Po(null),defaultPayload:{pipe_id:Mo,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},zo=v(`company_domain`),Bo=v(`company_name`),Vo=v(`company_profile_url`),Ho=v(`logodev_describe_match`),Uo=v(`logo_url`),Wo=`company:match:logodev@2`,Go=r.object({pipe_id:r.literal(Wo),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[zo.name]:D({fieldName:zo.name})})),output_fields:z(r.object({[Vo.name]:A({fieldName:Vo.name}),[Uo.name]:A({fieldName:Uo.name}),[Bo.name]:A({fieldName:Bo.name}),[Ho.name]:A({fieldName:Ho.name})}))}).optional()}),Ko=e=>H(q(zo,e)),qo={"logodev-company-describe":{allowManagedConnection:!0,credits:.1,mode:`onSuccess`,provider:`logodev`}},Jo=class extends W{pipeId=Wo;payload;payloadSchema=Go;billableOperations=qo;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`logodev-company-describe`]}getInputRequirement(){return Ko(this.payload.config)}getRawOutputFields(){return{[Vo.name]:this.catalogOutput(Vo),[Bo.name]:this.catalogOutput(Bo),[Uo.name]:this.catalogOutput(Uo),[Ho.name]:this.catalogOutput(Ho)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},Yo=Go,Xo={pipeId:Wo,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Wo),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(Wo),billableOperations:qo,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:Ko(null),defaultPayload:{pipe_id:Wo,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_profile_url:{alias:``,enabled:!0},logo_url:{alias:``,enabled:!0},logodev_describe_match:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},Zo=`company:newssummary:domain@1`,Qo=v(`company_news_summary`),$o=v(`company_domain`),es=r.object({pipe_id:r.literal(Zo),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[$o.name]:D({fieldName:$o.name})})),output_fields:z(r.object({[Qo.name]:A({fieldName:Qo.name})}))}).optional()}),ts=e=>H(q($o,e)),ns={"pipe0-get-company-news-summary":{allowManagedConnection:!0,credits:1,mode:`always`,provider:`pipe0`}},rs=class extends W{pipeId=Zo;payloadSchema=es;billableOperations=ns;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-news-summary`]}getInputRequirement(){return ts(this.payload.config)}getRawOutputFields(){return{[Qo.name]:this.catalogOutput(Qo)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},is=es,as={pipeId:Zo,basePipe:G(Zo),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(Zo),billableOperations:ns,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:ts(null),defaultPayload:{pipe_id:Zo,run_if:null,connector:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},os=v(`company_domain`),ss=v(`company_profile_url`),cs=v(`company_description`),ls=v(`company_industry`),us=v(`company_region`),ds=v(`headcount`),fs=v(`estimated_revenue`),ps=v(`founded_year`),ms=v(`company_name`),hs=`company:overview@3`,gs=r.object({pipe_id:r.literal(hs),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[os.name]:D({fieldName:os.name}),[ss.name]:D({fieldName:ss.name})})),output_fields:z(r.object({[cs.name]:A({fieldName:cs.name}),[ls.name]:A({fieldName:ls.name}),[us.name]:A({fieldName:us.name}),[ds.name]:A({fieldName:ds.name}),[fs.name]:A({fieldName:fs.name}),[ps.name]:A({fieldName:ps.name}),[ms.name]:A({fieldName:ms.name})}))}).optional()}),_s=e=>U(q(os,e),q(ss,e)),vs={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},ys=class extends W{pipeId=hs;payloadSchema=gs;billableOperations=vs;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return _s(this.payload.config)}getRawOutputFields(){return{[cs.name]:this.catalogOutput(cs),[ls.name]:this.catalogOutput(ls),[us.name]:this.catalogOutput(us),[ds.name]:this.catalogOutput(ds),[fs.name]:this.catalogOutput(fs),[ps.name]:this.catalogOutput(ps),[ms.name]:this.catalogOutput(ms)}}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}]}},bs=gs,xs={pipeId:hs,basePipe:G(hs),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:K(hs),tags:[V.WEBSITE,V.LINKEDIN,V.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:vs,defaultInputRequirement:_s(null),defaultPayload:{pipe_id:hs,run_if:null,connector:void 0,config:{input_fields:{company_profile_url:{alias:``},company_domain:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},Ss=v(`company_domain`),Cs=v(`technology_list`),ws=v(`spending_trend`),Ts=v(`technology_match_builtwith`),Es=`company:techstack:builtwith@2`,Ds=r.object({pipe_id:r.literal(Es),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Ss.name]:D({fieldName:Ss.name})})),output_fields:z(r.object({[Cs.name]:A({fieldName:Cs.name}),[Ts.name]:A({fieldName:Ts.name}),[ws.name]:A({fieldName:ws.name})}))}).optional()}),Os=e=>H(q(Ss,e)),ks={"builtwith-get-technology-stack":{provider:`builtwith`,allowManagedConnection:!0,credits:2,mode:`always`}},As=class extends W{pipeId=Es;payload;payloadSchema=Ds;billableOperations=ks;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`builtwith-get-technology-stack`]}getInputRequirement(){return Os(this.payload.config)}getRawOutputFields(){return{[Cs.name]:this.catalogOutput(Cs),[Ts.name]:this.catalogOutput(Ts),[ws.name]:this.catalogOutput(ws)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},js=Ds,Ms={pipeId:Es,basePipe:G(Es),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(Es),billableOperations:ks,defaultInputRequirement:Os(null),defaultPayload:{pipe_id:Es,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{technology_list:{alias:``,enabled:!0},technology_match_builtwith:{alias:``,enabled:!0},spending_trend:{alias:``,enabled:!0}}}}},Ns={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},Ps=`contact:create:resend@1`,Fs={"contact-create-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Is=v(`email`),Ls=v(`name`),Rs=v(`resend_contact_id`),zs=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],Bs=r.object({pipe_id:r.literal(Ps),connector:Vi(),run_if:C(),config:r.object({segment_id:oa({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:cn(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return zs;if(!t)throw new Ns.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 Ns.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({[Ls.name]:D({fieldName:Ls.name}),[Is.name]:D({fieldName:Is.name})})),output_fields:z(r.object({[Rs.name]:A({fieldName:Rs.name})}))})}),Vs=e=>xa(H(q(Is,e)),H(q(Ls,e))),Hs=class extends W{pipeId=Ps;payload;payloadSchema=Bs;billableOperations=Fs;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(){return[`contact-create-resend`]}getInputRequirement(){return Vs(this.payload.config)}getRawOutputFields(){return{[Rs.name]:this.catalogOutput(Rs)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},Us=Bs,Ws={pipeId:Ps,basePipe:G(Ps),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[V.EMAIL],docPath:K(Ps),billableOperations:Fs,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:Vs(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Ps,connector:{strategy:`first`,connections:[]},run_if:null,config:{segment_id:``,add_as_subscribed:!0,input_fields:{name:{alias:``},email:{alias:``}},output_fields:{resend_contact_id:{alias:``,enabled:!0}}}}},Gs=`company:funding:leadmagic@1`,Ks=v(`company_name`),qs=v(`company_website_url`),Js=v(`funding_history`),Ys=v(`funding_total_usd`),Xs=v(`leadmagic_competitor_list`),Zs=v(`leadmagic_acquisition_history`),Qs=v(`leadmagic_company_news_list`),$s=r.object({pipe_id:r.literal(Gs),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Ks.name]:D({fieldName:Ks.name}),[qs.name]:D({fieldName:qs.name})})),output_fields:z(r.object({[Js.name]:A({fieldName:Js.name}),[Ys.name]:A({fieldName:Ys.name}),[Xs.name]:A({fieldName:Xs.name}),[Zs.name]:A({fieldName:Zs.name}),[Qs.name]:A({fieldName:Qs.name})}))}).optional()}),ec=e=>U(q(Ks,e),q(qs,e)),tc={"get-company-funding-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},nc=class extends W{pipeId=Gs;payload;payloadSchema=$s;billableOperations=tc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(){return[`get-company-funding-leadmagic`]}getInputRequirement(){return ec(this.payload.config)}getRawOutputFields(){return{[Js.name]:this.catalogOutput(Js),[Ys.name]:this.catalogOutput(Ys)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},rc=$s,ic={pipeId:Gs,basePipe:G(Gs),label:`Funding history`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:funding:leadmagic@2`},description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[V.FINANCIAL_DATA],docPath:K(Gs),billableOperations:tc,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:ec(null),defaultPayload:{pipe_id:Gs,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``},company_website_url:{alias:``}},output_fields:{funding_history:{enabled:!0,alias:``},funding_total_usd:{enabled:!0,alias:``},leadmagic_acquisition_history:{enabled:!1,alias:``},leadmagic_company_news_list:{enabled:!1,alias:``},leadmagic_competitor_list:{enabled:!1,alias:``}}}}},ac=v(`company_name`),oc=v(`company_social_url`),sc=v(`company_website_url`),cc=v(`cleaned_company_name`),lc=`company:identity@1`,uc=r.object({pipe_id:r.literal(lc),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[ac.name]:D({fieldName:ac.name})})),output_fields:z(r.object({[oc.name]:A({fieldName:oc.name}),[cc.name]:A({fieldName:cc.name}),[sc.name]:A({fieldName:sc.name})}))}).optional()}),dc=e=>H(q(ac,e)),fc={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},pc=class extends W{pipeId=lc;payload;payloadSchema=uc;billableOperations=fc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return dc(this.payload.config)}getRawOutputFields(){return{[oc.name]:this.catalogOutput(oc),[sc.name]:this.catalogOutput(sc),[cc.name]:this.catalogOutput(cc)}}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}]}},mc=uc,hc={pipeId:lc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(lc),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:fc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:dc(null),defaultPayload:{pipe_id:lc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_social_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},gc=v(`company_name`),_c=v(`company_profile_url`),vc=v(`company_website_url`),yc=v(`cleaned_company_name`),bc=`company:identity@2`,xc=r.object({pipe_id:r.literal(bc),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[gc.name]:D({fieldName:gc.name})})),output_fields:z(r.object({[_c.name]:A({fieldName:_c.name}),[yc.name]:A({fieldName:yc.name}),[vc.name]:A({fieldName:vc.name})}))}).optional()}),Sc=e=>H(q(gc,e)),Cc={"pipe0-get-company-identity":{allowManagedConnection:!0,credits:.3,mode:`always`,provider:`pipe0`}},wc=class extends W{pipeId=bc;payload;payloadSchema=xc;billableOperations=Cc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-identity`]}getInputRequirement(){return Sc(this.payload.config)}getRawOutputFields(){return{[_c.name]:this.catalogOutput(_c),[vc.name]:this.catalogOutput(vc),[yc.name]:this.catalogOutput(yc)}}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}]}},Tc=xc,Ec={pipeId:bc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(bc),label:`Find company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:identity@3`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[V.WEBSITE,V.LINKEDIN],docPath:K(bc),billableOperations:Cc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Sc(null),defaultPayload:{pipe_id:bc,connector:null,run_if:null,config:{input_fields:{company_name:{alias:``}},output_fields:{cleaned_company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_website_url:{alias:``,enabled:!0}}}}},Dc=v(`company_website_url`),Oc=v(`companyenrich_matches`),kc=`company:lookalikes:companyenrich@1`,Ac=r.object({pipe_id:r.literal(kc),run_if:C(),connector:T(),config:r.object({limit:ra({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({[Dc.name]:D({fieldName:Dc.name})})),output_fields:z(r.object({[Oc.name]:A({fieldName:Oc.name})}))}).optional()}),jc=e=>H(q(Dc,e)),Mc={companyenrich_lookalike_result:{allowManagedConnection:!0,credits:.2,mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Nc=class extends W{pipeId=kc;payload;payloadSchema=Ac;billableOperations=Mc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(){return[,,,,,].fill(`companyenrich_lookalike_result`)}getInputRequirement(){return jc(this.payload.config)}getRawOutputFields(){return{[Oc.name]:this.catalogOutput(Oc)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Pc=Ac,Fc={pipeId:kc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(kc),label:`Find company lookalikes`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:lookalikes:companyenrich@2`},description:`Find companies similar to the company you provide as input.`,tags:[V.COMPANY_PROFILES],docPath:K(kc),billableOperations:Mc,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:jc(null),defaultPayload:{pipe_id:kc,connector:null,run_if:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Ic=v(`company_website_url`),Lc=v(`crustdata_companyenrich_match`),Rc=`company:match:crustdata@1`,zc=r.object({pipe_id:r.literal(Rc),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[Ic.name]:D({fieldName:Ic.name})})),output_fields:z(r.object({[Lc.name]:A({fieldName:Lc.name})}))}).optional()}),Bc=e=>H(q(Ic,e)),Vc={crustdata_company_enrich:{allowManagedConnection:!0,credits:2,mode:`onSuccess`,provider:`crustdata`}},Hc=class extends W{pipeId=Rc;payload;payloadSchema=zc;billableOperations=Vc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata_company_enrich`]}getInputRequirement(){return Bc(this.payload.config)}getRawOutputFields(){return{[Lc.name]:this.catalogOutput(Lc)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Uc=zc,Wc={pipeId:Rc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Rc),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:match:crustdata@2`},description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[V.WEBSITE,V.LINKEDIN],docPath:K(Rc),billableOperations:Vc,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Bc(null),defaultPayload:{pipe_id:Rc,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},Gc=v(`company_website_url`),Kc=v(`company_name`),qc=v(`company_profile_url`),Jc=v(`logodev_describe_match`),Yc=v(`logo_url`),Xc=`company:match:logodev@1`,Zc=r.object({pipe_id:r.literal(Xc),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[Gc.name]:D({fieldName:Gc.name})})),output_fields:z(r.object({[qc.name]:A({fieldName:qc.name}),[Yc.name]:A({fieldName:Yc.name}),[Kc.name]:A({fieldName:Kc.name}),[Jc.name]:A({fieldName:Jc.name})}))}).optional()}),Qc=e=>H(q(Gc,e)),$c={"logodev-company-describe":{allowManagedConnection:!0,credits:.1,mode:`onSuccess`,provider:`logodev`}},el=class extends W{pipeId=Xc;payload;payloadSchema=Zc;billableOperations=$c;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(){return[`logodev-company-describe`]}getInputRequirement(){return Qc(this.payload.config)}getRawOutputFields(){return{[qc.name]:this.catalogOutput(qc),[Kc.name]:this.catalogOutput(Kc),[Yc.name]:this.catalogOutput(Yc),[Jc.name]:this.catalogOutput(Jc)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},tl=Zc,nl={pipeId:Xc,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Xc),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:match:logodev@2`},description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[V.WEBSITE,V.LINKEDIN],docPath:K(Xc),billableOperations:$c,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:Qc(null),defaultPayload:{pipe_id:Xc,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_profile_url:{alias:``,enabled:!0},logo_url:{alias:``,enabled:!0},logodev_describe_match:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},rl=`company:newssummary:website@1`,il=v(`company_news_summary`),al=v(`company_website_url`),ol=r.object({pipe_id:r.literal(rl),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[al.name]:D({fieldName:al.name})})),output_fields:z(r.object({[il.name]:A({fieldName:il.name})}))}).optional()}),sl=e=>H(q(al,e)),cl={"pipe0-get-company-news-summary":{allowManagedConnection:!0,credits:1,mode:`always`,provider:`pipe0`}},ll=class extends W{pipeId=rl;payloadSchema=ol;billableOperations=cl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-news-summary`]}getInputRequirement(){return sl(this.payload.config)}getRawOutputFields(){return{[il.name]:this.catalogOutput(il)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},ul=ol,dl={pipeId:rl,basePipe:G(rl),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:newssummary:domain@1`},description:`Find recent company news by performing a search and scrape.`,tags:[V.NEWS],docPath:K(rl),billableOperations:cl,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:sl(null),defaultPayload:{pipe_id:rl,run_if:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},fl=v(`company_website_url`),pl=v(`company_social_url`),ml=v(`company_description`),hl=v(`company_industry`),gl=v(`company_region`),_l=v(`headcount`),vl=v(`estimated_revenue`),yl=v(`founded_year`),bl=`company:overview@1`,xl=r.object({pipe_id:r.literal(bl),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[fl.name]:D({fieldName:fl.name}),[pl.name]:D({fieldName:pl.name})})),output_fields:z(r.object({[ml.name]:A({fieldName:ml.name}),[hl.name]:A({fieldName:hl.name}),[gl.name]:A({fieldName:gl.name}),[_l.name]:A({fieldName:_l.name}),[vl.name]:A({fieldName:vl.name}),[yl.name]:A({fieldName:yl.name})}))}).optional()}),Sl=e=>U(q(fl,e),q(pl,e)),Cl={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},wl=class extends W{pipeId=bl;payloadSchema=xl;billableOperations=Cl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Sl(this.payload.config)}getRawOutputFields(){return{[ml.name]:this.catalogOutput(ml),[hl.name]:this.catalogOutput(hl),[gl.name]:this.catalogOutput(gl),[_l.name]:this.catalogOutput(_l),[vl.name]:this.catalogOutput(vl),[yl.name]:this.catalogOutput(yl)}}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}]}},Tl=xl,El={pipeId:bl,basePipe:G(bl),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:Cl,defaultInputRequirement:Sl(null),defaultPayload:{pipe_id:bl,run_if:null,connector:void 0,config:{input_fields:{company_social_url:{alias:``},company_website_url:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0}}}}},Dl=v(`company_website_url`),Ol=v(`company_profile_url`),kl=v(`company_description`),Al=v(`company_industry`),jl=v(`company_region`),Ml=v(`headcount`),Nl=v(`estimated_revenue`),Pl=v(`founded_year`),Fl=v(`company_name`),Il=`company:overview@2`,Ll=r.object({pipe_id:r.literal(Il),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[Dl.name]:D({fieldName:Dl.name}),[Ol.name]:D({fieldName:Ol.name})})),output_fields:z(r.object({[kl.name]:A({fieldName:kl.name}),[Al.name]:A({fieldName:Al.name}),[jl.name]:A({fieldName:jl.name}),[Ml.name]:A({fieldName:Ml.name}),[Nl.name]:A({fieldName:Nl.name}),[Pl.name]:A({fieldName:Pl.name}),[Fl.name]:A({fieldName:Fl.name})}))}).optional()}),Rl=e=>U(q(Dl,e),q(Ol,e)),zl={"pipe0-get-company-overview":{provider:`pipe0`,allowManagedConnection:!0,credits:1,mode:`always`}},Bl=class extends W{pipeId=Il;payloadSchema=Ll;billableOperations=zl;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-company-overview`]}getInputRequirement(){return Rl(this.payload.config)}getRawOutputFields(){return{[kl.name]:this.catalogOutput(kl),[Al.name]:this.catalogOutput(Al),[jl.name]:this.catalogOutput(jl),[Ml.name]:this.catalogOutput(Ml),[Nl.name]:this.catalogOutput(Nl),[Pl.name]:this.catalogOutput(Pl),[Fl.name]:this.catalogOutput(Fl)}}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}]}},Vl=Ll,Hl={pipeId:Il,basePipe:G(Il),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:overview@3`},description:`Business description, industry, and financial information.`,docPath:K(Il),tags:[V.WEBSITE,V.LINKEDIN,V.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:zl,defaultInputRequirement:Rl(null),defaultPayload:{pipe_id:Il,run_if:null,connector:void 0,config:{input_fields:{company_profile_url:{alias:``},company_website_url:{alias:``}},output_fields:{company_description:{alias:``,enabled:!0},company_industry:{alias:``,enabled:!0},company_region:{alias:``,enabled:!0},estimated_revenue:{alias:``,enabled:!0},founded_year:{alias:``,enabled:!0},headcount:{alias:``,enabled:!0},company_name:{alias:``,enabled:!1}}}}},Ul=v(`company_website_url`),Wl=v(`technology_list`),Gl=v(`spending_trend`),Kl=v(`technology_match_builtwith`),ql=`company:techstack:builtwith@1`,Jl=r.object({pipe_id:r.literal(ql),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Ul.name]:D({fieldName:Ul.name})})),output_fields:z(r.object({[Wl.name]:A({fieldName:Wl.name}),[Kl.name]:A({fieldName:Kl.name}),[Gl.name]:A({fieldName:Gl.name})}))}).optional()}),Yl=e=>H(q(Ul,e)),Xl={"builtwith-get-technology-stack":{provider:`builtwith`,allowManagedConnection:!0,credits:2,mode:`always`}},Zl=class extends W{pipeId=ql;payload;payloadSchema=Jl;billableOperations=Xl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(){return[`builtwith-get-technology-stack`]}getInputRequirement(){return Yl(this.payload.config)}getRawOutputFields(){return{[Wl.name]:this.catalogOutput(Wl),[Kl.name]:this.catalogOutput(Kl),[Gl.name]:this.catalogOutput(Gl)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Ql=Jl,$l={pipeId:ql,basePipe:G(ql),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:techstack:builtwith@2`},description:`All technologies and frameworks powering a given website.`,tags:[V.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:K(ql),billableOperations:Xl,defaultInputRequirement:Yl(null),defaultPayload:{pipe_id:ql,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{technology_list:{alias:``,enabled:!0},technology_match_builtwith:{alias:``,enabled:!0},spending_trend:{alias:``,enabled:!0}}}}},eu=`company:websiteurl:email@1`,tu=v(`company_website_url`),nu=v(`email`),ru=r.object({pipe_id:r.literal(eu),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[nu.name]:D({fieldName:nu.name})})),output_fields:z(r.object({[tu.name]:A({fieldName:tu.name})}))}).optional()}),iu=e=>H(q(nu,e)),au={"pipe0-company-domain-from-work-email":{credits:0,allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},ou=class extends W{pipeId=eu;payload;payloadSchema=ru;billableOperations=au;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-company-domain-from-work-email`]}getInputRequirement(){return iu(this.payload.config)}getRawOutputFields(){return{[tu.name]:this.catalogOutput(tu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},su=ru,cu={pipeId:eu,basePipe:G(eu),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`company:domain:workemail@1`},description:`Extract the company website URL from a work email address.`,tags:[V.EMAIL,V.WORK_EMAIL,V.WEBSITE],docPath:K(eu),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:au,defaultInputRequirement:iu(null),defaultPayload:{pipe_id:eu,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},lu=`people:email:iswork@1`,uu=v(`is_work_email`),du=v(`email`),fu=r.object({pipe_id:r.literal(lu),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[du.name]:D({fieldName:du.name})})),output_fields:z(r.object({[uu.name]:A({fieldName:uu.name})}))}).optional()}),pu=e=>H(q(du,e)),mu={"pipe0-is-workemail-check":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},hu=class extends W{pipeId=lu;payload;payloadSchema=fu;billableOperations=mu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-is-workemail-check`]}getInputRequirement(){return pu(this.payload.config)}getRawOutputFields(){return{[uu.name]:this.catalogOutput(uu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},gu=fu,_u={pipeId:lu,label:`Work email checker`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`email:iswork@1`},description:`Check if a given email address is personal or professional.`,tags:[V.EMAIL,V.WORK_EMAIL],docPath:K(lu),billableOperations:mu,basePipe:G(lu),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:pu(null),defaultPayload:{pipe_id:lu,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},vu=`people:email:validate:zerobounce@1`,yu=v(`work_email`),bu=v(`is_email_valid`),xu=r.object({pipe_id:r.literal(vu),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[yu.name]:D({fieldName:yu.name})})),output_fields:z(r.object({[bu.name]:A({fieldName:bu.name})}))}).optional()}),Su=e=>H(q(yu,e)),Cu={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},wu=class extends W{pipeId=vu;payload;payloadSchema=xu;billableOperations=Cu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Su(this.payload.config)}getRawOutputFields(){return{[bu.name]:this.catalogOutput(bu)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Tu=xu,Eu={pipeId:vu,basePipe:G(vu),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:Cu,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Su(null),defaultPayload:{pipe_id:vu,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},Du=`people:email:validate:zerobounce@2`,Ou=v(`email`),ku=v(`zerobounce_validation_status`),Au=v(`zerobounce_validation_match`),ju=r.object({pipe_id:r.literal(Du),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Ou.name]:D({fieldName:Ou.name})})),output_fields:z(r.object({[Au.name]:A({fieldName:Au.name}),[ku.name]:A({fieldName:ku.name})}))}).optional()}),Mu=e=>H(q(Ou,e)),Nu={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},Pu=class extends W{pipeId=Du;payload;payloadSchema=ju;billableOperations=Nu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Mu(this.payload.config)}getRawOutputFields(){return{[ku.name]:this.catalogOutput(ku),[Au.name]:this.catalogOutput(Au)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Fu=ju,Iu={pipeId:Du,basePipe:G(Du),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[V.EMAIL],docPath:K(Du),billableOperations:Nu,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Mu(null),defaultPayload:{pipe_id:Du,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}};function Lu(e){return(e.widgets||{}).display_value?.label}function Ru(e){console.dir(e,{depth:100})}function zu(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 Bu(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=Bu(e[n])}),t}const Vu={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 Hu=`people:identity:email:waterfall@1`,Uu=v(`email`),Wu=v(`company_website_url`),Gu=v(`name`),Ku=v(`job_title`),qu=v(`profile_url`),Ju=v(`company_profile_url`),Yu=v(`company_name`),Xu=[`findymail`,`hunter`,`crustdata`],Zu=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],Qu=r.object({pipe_id:r.literal(Hu),connector:T(),run_if:C(),config:r.object({providers:O({availableProviders:Xu,defaultProviders:Zu,sectionKey:`general`}),input_fields:B(r.object({[Uu.name]:D({fieldName:Uu.name})})),output_fields:z(r.object({[Gu.name]:A({fieldName:Gu.name}),[qu.name]:A({fieldName:qu.name}),[Ku.name]:A({fieldName:Ku.name}),[Wu.name]:A({fieldName:Wu.name}),[Yu.name]:A({fieldName:Yu.name}),[Ju.name]:A({fieldName:Ju.name})}))}).optional()}),$u=e=>H(q(Uu,e)),ed={"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`}},td=class extends W{pipeId=Hu;payload;payloadSchema=Qu;billableOperations=ed;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 $u(this.payload.config)}getRawOutputFields(){return{[Gu.name]:this.catalogOutput(Gu,{isPrimaryOutput:!0}),[qu.name]:this.catalogOutput(qu,{isPrimaryOutput:!0}),[Ku.name]:this.catalogOutput(Ku,{isPrimaryOutput:!0}),[Yu.name]:this.catalogOutput(Yu,{isPrimaryOutput:!0}),[Ju.name]:this.catalogOutput(Ju,{isPrimaryOutput:!0}),[Wu.name]:this.catalogOutput(Wu,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={hunter:`prospeo_email_lookup`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},nd=Qu,rd={pipeId:Hu,basePipe:G(Hu),label:`Person identity from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:identity:email:waterfall@1`},description:`Find identity of a person from their email address.`,tags:[V.EMAIL,V.PEOPLE_PROFILES],docPath:K(Hu),managedProviders:Xu,deprecatedProviders:[],allowedUserConnectionProviders:Xu,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:ed,defaultInputRequirement:$u(null),defaultPayload:{pipe_id:Hu,connector:null,run_if:null,config:{providers:Zu,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}}}}},id=`people:match:role:waterfall@1`,ad=v(`company_website_url`),od=v(`role_finder_match`),sd=[`leadmagic`],cd=[{provider:`leadmagic`}],ld=r.object({pipe_id:r.literal(id),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:cd,availableProviders:sd}),roles:Ki({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:B(r.object({[ad.name]:D({fieldName:ad.name})})),output_fields:z(r.object({[od.name]:A({fieldName:od.name})}))})}),ud=e=>U(q(ad,e)),dd={"leadmagic-find-role":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},fd=class extends W{pipeId=id;payload;payloadSchema=ld;billableOperations=dd;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 ud(this.payload.config)}getRawOutputFields(){return{[od.name]:this.catalogOutput(od,{isPrimaryOutput:!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}))}},pd=ld,md={pipeId:id,basePipe:G(id),managedProviders:sd,deprecatedProviders:[],allowedUserConnectionProviders:sd,label:`Role finder`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:match:role:waterfall@1`},description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[V.PEOPLE_PROFILES],docPath:K(id),billableOperations:dd,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:ud(null),defaultPayload:{pipe_id:id,run_if:null,connector:null,config:{roles:[],providers:cd,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},hd=`people:mobilenumber:professionalprofile:waterfall@1`,gd=v(`professional_profile_url`),_d=v(`mobile_number`),vd=[`leadmagic`,`prospeo`],yd=[{provider:`leadmagic`},{provider:`prospeo`}],bd=r.object({pipe_id:r.literal(hd),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:yd,availableProviders:vd}),input_fields:B(r.object({[gd.name]:D({fieldName:gd.name})})),output_fields:z(r.object({[_d.name]:A({fieldName:_d.name})}))}).optional()}),xd=e=>H(q(gd,e)),Sd={"leadmagic-mobile-from-profile":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"prospeo-mobile-from-profile":{provider:`prospeo`,allowManagedConnection:!0,credits:5,mode:`onSuccess`}},Cd=class extends W{pipeId=hd;payload;payloadSchema=bd;billableOperations=Sd;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{[_d.name]:this.catalogOutput(_d)}}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}))}},wd=bd,Td={pipeId:hd,basePipe:G(hd),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:Sd,defaultInputRequirement:xd(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:vd,deprecatedProviders:[],allowedUserConnectionProviders:vd,defaultPayload:{pipe_id:hd,connector:null,run_if:null,config:{providers:yd,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Ed=`people:mobilenumber:workemail:waterfall@1`,Dd=v(`work_email`),Od=v(`mobile_number`),kd=[`leadmagic`],Ad=[{provider:`leadmagic`}],jd=r.object({pipe_id:r.literal(Ed),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:kd,defaultProviders:Ad}),input_fields:B(r.object({[Dd.name]:D({fieldName:Dd.name})})),output_fields:z(r.object({[Od.name]:A({fieldName:Od.name})}))}).optional()}),Md=e=>H(q(Dd,e)),Nd={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`}},Pd=class extends W{pipeId=Ed;payload;payloadSchema=jd;billableOperations=Nd;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 Md(this.payload.config)}getRawOutputFields(){return{[Od.name]:this.catalogOutput(Od)}}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}))}},Fd=jd,Id={pipeId:Ed,basePipe:G(Ed),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:Nd,defaultInputRequirement:Md(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:kd,managedProviders:kd,deprecatedProviders:[],defaultPayload:{pipe_id:Ed,connector:null,run_if:null,config:{providers:Ad,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Ld=`people:name:split@1`,Rd=v(`name`),zd=v(`first_name`),Bd=v(`last_name`),Vd=r.object({pipe_id:r.literal(Ld),connector:E(),run_if:C(),config:r.object({input_fields:B(r.object({[Rd.name]:D({fieldName:Rd.name})})),output_fields:z(r.object({[zd.name]:A({fieldName:zd.name}),[Bd.name]:A({fieldName:Bd.name})}))}).optional()}),Hd=e=>H(q(Rd,e)),Ud={"pipe0-split-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Wd=class extends W{pipeId=Ld;payload;payloadSchema=Vd;billableOperations=Ud;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-split-name`]}getInputRequirement(){return Hd(this.payload.config)}getRawOutputFields(){return{[zd.name]:this.catalogOutput(zd),[Bd.name]:this.catalogOutput(Bd)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Gd=Vd,Kd={pipeId:Ld,basePipe:G(Ld),label:`Split name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:name:split@1`},description:`Split a full name into first and last name.`,tags:[V.NAMES],docPath:K(Ld),billableOperations:Ud,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Hd(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Ld,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},qd=`people:personalemail:profile:waterfall@1`,Jd=v(`profile_url`),Yd=v(`personal_email`),Xd=v(`alternate_personal_emails`),Zd=[`clado`,`leadmagic`,`mixrank`],Qd=[{provider:`leadmagic`},{provider:`mixrank`}],$d=r.object({pipe_id:r.literal(qd),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:Zd,defaultProviders:Qd}),input_fields:B(r.object({[Jd.name]:D({fieldName:Jd.name})})),output_fields:z(r.object({[Yd.name]:A({fieldName:Yd.name}),[Xd.name]:A({fieldName:Xd.name})}))}).optional()}),ef=e=>H(q(Jd,e)),tf={"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`}},nf=class extends W{pipeId=qd;payload;payloadSchema=$d;billableOperations=tf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return ef(this.payload.config)}getRawOutputFields(){return{[Yd.name]:this.catalogOutput(Yd,{isPrimaryOutput:!0}),[Xd.name]:this.catalogOutput(Xd)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,clado:`clado_contact_information`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},rf=$d,af={pipeId:qd,basePipe:G(qd),allowedUserConnectionProviders:Zd,managedProviders:Zd,deprecatedProviders:[`clado`],label:`Find personal email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:personalemail:profileurl:waterfall@1`},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(qd),billableOperations:tf,defaultInputRequirement:ef(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:qd,connector:null,run_if:null,config:{providers:Qd,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},of=`people:phone:profile:waterfall@1`,sf=v(`profile_url`),cf=v(`mobile`),lf=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],uf=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],df=r.object({pipe_id:r.literal(of),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:uf,availableProviders:lf}),input_fields:B(r.object({[sf.name]:D({fieldName:sf.name})})),output_fields:z(r.object({[cf.name]:A({fieldName:cf.name})}))}).optional()}),ff=e=>H(q(sf,e)),pf={"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`}},mf=class extends W{pipeId=of;payload;payloadSchema=df;billableOperations=pf;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 ff(this.payload.config)}getRawOutputFields(){return{[cf.name]:this.catalogOutput(cf,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,clado:`clado_contact_information`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},hf=df,gf={pipeId:of,basePipe:G(of),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:mobile:profileurl:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:K(of),tags:[V.PHONE,V.WATERFALL],billableOperations:pf,defaultInputRequirement:ff(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:lf,allowedUserConnectionProviders:lf,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:of,connector:null,run_if:null,config:{providers:uf,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},_f=`people:phone:workemail:waterfall@1`,vf=v(`work_email`),yf=v(`mobile`),bf=[`leadmagic`,`amplemarket`],xf=[{provider:`leadmagic`},{provider:`amplemarket`}],Sf=r.object({pipe_id:r.literal(_f),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:bf,defaultProviders:xf}),input_fields:B(r.object({[vf.name]:D({fieldName:vf.name})})),output_fields:z(r.object({[yf.name]:A({fieldName:yf.name})}))}).optional()}),Cf=e=>H(q(vf,e)),wf={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},Tf=class extends W{pipeId=_f;payload;payloadSchema=Sf;billableOperations=wf;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 Cf(this.payload.config)}getRawOutputFields(){return{[yf.name]:this.catalogOutput(yf,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ef=Sf,Df={pipeId:_f,basePipe:G(_f),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:mobile:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[V.PHONE,V.WATERFALL],docPath:K(_f),billableOperations:wf,defaultInputRequirement:Cf(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:bf,managedProviders:bf,deprecatedProviders:[],defaultPayload:{pipe_id:_f,connector:null,run_if:null,config:{providers:xf,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Of=`people:professionalprofile:waterfall@1`,kf=v(`professional_profile`),Af=v(`professional_profile_url`),jf=[`prospeo`,`icypeas`],Mf=[{provider:`prospeo`},{provider:`icypeas`}],Nf=r.object({pipe_id:r.literal(Of),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:jf,defaultProviders:Mf}),input_fields:B(r.object({[Af.name]:D({fieldName:Af.name})})),output_fields:z(r.object({[kf.name]:A({fieldName:kf.name})}))}).optional()}),Pf=e=>H(q(Af,e)),Ff={"icypeas-get-professional-profile":{provider:`icypeas`,credits:1,mode:`onSuccess`,allowManagedConnection:!0},"prospeo-get-professional-profile":{provider:`prospeo`,credits:1,mode:`onSuccess`,allowManagedConnection:!0}},If=class extends W{pipeId=Of;payload;payloadSchema=Nf;billableOperations=Ff;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 Pf(this.payload.config)}getRawOutputFields(){return{[kf.name]:this.catalogOutput(kf)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Lf=Nf,Rf={pipeId:Of,basePipe:G(Of),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:jf,deprecatedProviders:[],allowedUserConnectionProviders:jf,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Ff,defaultInputRequirement:Pf(null),defaultPayload:{pipe_id:Of,run_if:null,connector:null,config:{providers:Mf,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},zf=`people:professionalprofileurl:email:waterfall@1`,Bf=v(`email`),Vf=v(`work_email`),Hf=v(`professional_profile_url`),Uf=[`leadmagic`],Wf=[{provider:`leadmagic`}],Gf=r.object({pipe_id:r.literal(zf),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:Wf,availableProviders:Uf}),input_fields:B(r.object({[Bf.name]:D({fieldName:Bf.name}),[Vf.name]:D({fieldName:Vf.name})})),output_fields:z(r.object({[Hf.name]:A({fieldName:Hf.name})}))}).optional()}),Kf=e=>U(q(Bf,e),q(Vf,e)),qf={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Jf=class extends W{pipeId=zf;payload;payloadSchema=Gf;billableOperations=qf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Kf(this.payload.config)}getRawOutputFields(){return{[Hf.name]:this.catalogOutput(Hf)}}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}))}},Yf=Gf,Xf={pipeId:zf,basePipe:G(zf),managedProviders:Uf,deprecatedProviders:[],allowedUserConnectionProviders:Uf,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:qf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Kf(null),defaultPayload:{pipe_id:zf,run_if:null,connector:null,config:{providers:Wf,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},Zf=`people:professionalprofileurl:name@1`,Qf=v(`name`),$f=v(`company_name`),ep=v(`location_hint`),tp=v(`professional_profile_url`),np=r.object({pipe_id:r.literal(Zf),connector:E(),run_if:C(),config:r.object({input_fields:B(r.object({[Qf.name]:D({fieldName:Qf.name}),[$f.name]:D({fieldName:$f.name}),[ep.name]:D({fieldName:ep.name})})),output_fields:z(r.object({[tp.name]:A({fieldName:tp.name})}))}).optional()}),rp=e=>xa(H(q(Qf,e)),H(q($f,e)),Sa(q(ep,e))),ip={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},ap=class extends W{pipeId=Zf;payload;payloadSchema=np;billableOperations=ip;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return rp(this.payload.config)}getRawOutputFields(){return{[tp.name]:this.catalogOutput(tp)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},op=np,sp={pipeId:Zf,basePipe:G(Zf),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:[V.LINKEDIN],billableOperations:ip,defaultInputRequirement:rp(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Zf,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},cp=`people:profile:waterfall@1`,lp=v(`profile`),up=v(`profile_url`),dp=[`prospeo`,`icypeas`,`amplemarket`,`clado`],fp=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],pp=r.object({pipe_id:r.literal(cp),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:dp,defaultProviders:fp}),input_fields:B(r.object({[up.name]:D({fieldName:up.name})})),output_fields:z(r.object({[lp.name]:A({fieldName:lp.name})}))}).optional()}),mp=e=>H(q(up,e)),hp={"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}},gp=class extends W{pipeId=cp;payload;payloadSchema=pp;billableOperations=hp;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 mp(this.payload.config)}getRawOutputFields(){return{[lp.name]:this.catalogOutput(lp,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,clado:`clado_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},_p=pp,vp={pipeId:cp,basePipe:G(cp),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:K(cp),tags:[V.LINKEDIN,V.WATERFALL],managedProviders:dp,deprecatedProviders:[`clado`],allowedUserConnectionProviders:dp,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:hp,defaultInputRequirement:mp(null),defaultPayload:{pipe_id:cp,run_if:null,connector:null,config:{providers:fp,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},yp=v(`work_email`),bp=v(`crustdata_person_match`),xp=v(`crustdata_profile_match_score`),Sp=`people:profile:workemail:crustdata@1`,Cp=r.object({pipe_id:r.literal(Sp),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[yp.name]:D({fieldName:yp.name})})),output_fields:z(r.object({[bp.name]:A({fieldName:bp.name}),[xp.name]:A({fieldName:xp.name})}))}).optional()}),wp=e=>H(q(yp,e)),Tp={"crustdata-profile-from-workemail":{allowManagedConnection:!0,credits:5,mode:`onSuccess`,provider:`crustdata`}},Ep=class extends W{pipeId=Sp;payload;payloadSchema=Cp;billableOperations=Tp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-profile-from-workemail`]}getInputRequirement(){return wp(this.payload.config)}getRawOutputFields(){return{[bp.name]:this.catalogOutput(bp),[xp.name]:this.catalogOutput(xp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Dp=Cp,Op={pipeId:Sp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Sp),label:`Profile from work email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:profile:workemail:crustdata@1`},description:`Find person profile by their work email address.`,tags:[V.EMAIL,V.PEOPLE_PROFILES],docPath:K(Sp),billableOperations:Tp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:wp(null),defaultPayload:{pipe_id:Sp,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},kp=`people:profileurl:email:waterfall@1`,Ap=v(`email`),jp=v(`work_email`),Mp=v(`profile_url`),Np=[`leadmagic`],Pp=[{provider:`leadmagic`}],Fp=r.object({pipe_id:r.literal(kp),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:Pp,availableProviders:Np}),input_fields:B(r.object({[Ap.name]:D({fieldName:Ap.name}),[jp.name]:D({fieldName:jp.name})})),output_fields:z(r.object({[Mp.name]:A({fieldName:Mp.name})}))}).optional()}),Ip=e=>U(q(Ap,e),q(jp,e)),Lp={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Rp=class extends W{pipeId=kp;payload;payloadSchema=Fp;billableOperations=Lp;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 Ip(this.payload.config)}getRawOutputFields(){return{[Mp.name]:this.catalogOutput(Mp,{isPrimaryOutput:!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}))}},zp=Fp,Bp={pipeId:kp,basePipe:G(kp),managedProviders:Np,deprecatedProviders:[],allowedUserConnectionProviders:Np,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person: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:K(kp),billableOperations:Lp,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Ip(null),defaultPayload:{pipe_id:kp,run_if:null,connector:null,config:{providers:Pp,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},Vp=`people:validate:email:zerobounce@1`,Hp=v(`work_email`),Up=v(`ip_address`),Wp=v(`is_email_valid`),Gp=r.object({pipe_id:r.literal(Vp),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Hp.name]:D({fieldName:Hp.name}),[Up.name]:D({fieldName:Up.name})})),output_fields:z(r.object({[Wp.name]:A({fieldName:Wp.name})}))}).optional()}),Kp=e=>xa(H(q(Hp,e)),Sa(q(Up,e))),qp={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},Jp=class extends W{pipeId=Vp;payload;payloadSchema=Gp;billableOperations=qp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return Kp(this.payload.config)}getRawOutputFields(){return{[Wp.name]:this.catalogOutput(Wp)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Yp=Gp,Xp={pipeId:Vp,basePipe:G(Vp),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:qp,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Kp(null),defaultPayload:{pipe_id:Vp,connector:null,run_if:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},Zp=`people:workemail:profileurl:waterfall@1`,Qp=v(`profile_url`),$p=v(`work_email`),em=v(`email_validation_status`),tm=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],nm=[`clado`],rm=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],im=r.object({pipe_id:r.literal(Zp),connector:T(),run_if:C(),config:r.object({providers:O({availableProviders:tm,defaultProviders:rm,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({[Qp.name]:D({fieldName:Qp.name})})),output_fields:z(r.object({[$p.name]:A({fieldName:$p.name}),[em.name]:A({fieldName:em.name})}))}).optional()}),am=e=>H(q(Qp,e)),om={"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 W{pipeId=Zp;payload;payloadSchema=im;billableOperations=om;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return am(this.payload.config)}getRawOutputFields(){return{[$p.name]:this.catalogOutput($p,{isPrimaryOutput:!0}),[em.name]:this.catalogOutput(em,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`,clado:`clado_contact_information`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},cm=im,lm={pipeId:Zp,basePipe:G(Zp),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:workemail:profileurl:waterfall@1`},description:`Find work email addresses from B2B profile.`,tags:[V.EMAIL,V.WORK_EMAIL,V.WATERFALL],docPath:K(Zp),managedProviders:tm,allowedUserConnectionProviders:tm,deprecatedProviders:nm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:om,defaultInputRequirement:am(null),defaultPayload:{pipe_id:Zp,connector:null,run_if:null,config:{providers:rm,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}}}}},um=`people:workemail:waterfall@1`,dm=v(`name`),fm=v(`company_website_url`),pm=v(`company_name`),mm=v(`work_email`),hm=v(`email_validation_status`),gm=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],_m=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],vm=r.object({pipe_id:r.literal(um),connector:T(),run_if:C(),config:r.object({providers:O({availableProviders:gm,defaultProviders:_m,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({[dm.name]:D({fieldName:dm.name}),[fm.name]:D({fieldName:fm.name}),[pm.name]:D({fieldName:pm.name})})),output_fields:z(r.object({[mm.name]:A({fieldName:mm.name}),[hm.name]:A({fieldName:hm.name})}))}).optional()}),ym=e=>xa(H(q(dm,e)),U(q(fm,e),q(pm,e))),bm={"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`}},xm=class extends W{pipeId=um;payload;payloadSchema=vm;billableOperations=bm;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 ym(this.payload.config)}getRawOutputFields(){return{[mm.name]:this.catalogOutput(mm,{isPrimaryOutput:!0}),[hm.name]:this.catalogOutput(hm,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_email_lookup`,icypeas:`icypeas_email_lookup`,findymail:`findymail_email_lookup`,hunter:`hunter_email_finder`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Sm=vm,Cm={pipeId:um,basePipe:G(um),label:`Work email from name`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`person:workemail:waterfall@1`},description:`Find work email addresses in a waterfall motion.`,tags:[V.EMAIL,V.WORK_EMAIL,V.WATERFALL],docPath:K(um),managedProviders:gm,deprecatedProviders:[],allowedUserConnectionProviders:gm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:bm,defaultInputRequirement:ym(null),defaultPayload:{pipe_id:um,connector:null,run_if:null,config:{providers:_m,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}}}}},wm=`email:iswork@1`,Tm=v(`is_work_email`),Em=v(`email`),Dm=r.object({pipe_id:r.literal(wm),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[Em.name]:D({fieldName:Em.name})})),output_fields:z(r.object({[Tm.name]:A({fieldName:Tm.name})}))}).optional()}),Om=e=>H(q(Em,e)),km={"pipe0-is-workemail-check":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Am=class extends W{pipeId=wm;payload;payloadSchema=Dm;billableOperations=km;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-is-workemail-check`]}getInputRequirement(){return Om(this.payload.config)}getRawOutputFields(){return{[Tm.name]:this.catalogOutput(Tm)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},jm=Dm,Mm={pipeId:wm,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(wm),billableOperations:km,basePipe:G(wm),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Om(null),defaultPayload:{pipe_id:wm,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}};function Nm(e,t){return typeof t==`string`?t:t(e)}function Pm(e,t){return typeof t==`string`||t===null?t:t(e)}function Fm(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:Nm(e,a[r].type),format:Pm(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 Im(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:Nm(e,r[t].type),format:Pm(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function Lm(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=Ar(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=>Im(t,e)?.type||n,format:r};a.push(t.required?H(i):Sa(i))}return xa(...a)}function Rm(e){let t=new Set;for(let n of e)if(n)try{let e=Ar(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}function zm(e){let t=new Set;for(let n of e)if(n)try{let e=Ar(n);for(let n of e.constants)t.add(n)}catch{}return[...t]}const Bm=`email:send:gmail@1`,Vm=v(`gmail_email_success`),Hm=r.object({pipe_id:r.literal(Bm),connector:Vi(),run_if:C(),config:r.object({to:w({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:w({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:w({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:w({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Email body in markdown. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }},
|
|
68
68
|
|
|
69
|
-
…`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:
|
|
69
|
+
…`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:z(r.object({[Vm.name]:A({fieldName:Vm.name})}))})}),Um={"send-email-gmail":{allowManagedConnection:!1,provider:`gmail`,credits:null,mode:null}},Wm=class extends W{pipeId=Bm;payload;payloadSchema=Hm;billableOperations=Um;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 Lm(this.getTemplatedFields())}getSecretRequirements(){return Rm(this.getTemplatedFields())}getConstantRequirements(){return zm(this.getTemplatedFields())}getRawOutputFields(){return{[Vm.name]:this.catalogOutput(Vm)}}getConnectionsRequirements(){return[{provider:`gmail`,rateLimitRatio:1,rateLimitOperation:`gmail_send_email`,allowManagedConnection:!1}]}},Gm=Hm,Km={pipeId:Bm,basePipe:G(Bm),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:[V.EMAIL],docPath:K(Bm),billableOperations:Um,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`gmail`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Bm,connector:{strategy:`first`,connections:[]},run_if:null,config:{to:``,reply_to:``,subject:``,body:``,output_fields:{gmail_email_success:{alias:``,enabled:!0}}}}},qm=`email:send:resend@1`,Jm=v(`resend_email_success`),Ym=r.object({pipe_id:r.literal(qm),connector:Vi(),run_if:C(),config:r.object({from:w({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:w({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:w({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:w({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:w({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Email body in markdown. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ first_name }},
|
|
70
70
|
|
|
71
|
-
…`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:I(r.object({[wl.name]:D({fieldName:wl.name})}))})}),El={"send-email-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Dl=class extends B{pipeId=Cl;payload;payloadSchema=Tl;billableOperations=El;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 K(this.getTemplatedFields())}getSecretRequirements(){return q(this.getTemplatedFields())}getRawOutputFields(){return{[wl.name]:this.catalogOutput(wl)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},Ol=Tl,kl={pipeId:Cl,basePipe:V(Cl),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:[R.EMAIL],docPath:H(Cl),billableOperations:El,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Cl,connector:{strategy:`first`,connections:[]},trigger:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},Al={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 J(e){return Al[e]}const jl=`email:write@1`,Ml=Cr(`write-email`),Nl=h(`email_subject`),Pl=h(`email_body`),Fl=r.object({pipe_id:r.literal(jl),connector:S(),trigger:b(),config:r.object({template:ci({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:J(`prompt`),groupPath:`config.prompt`,required:!0}),model:wi({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Ml}),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:I(r.object({[Nl.name]:D({fieldName:Nl.name}),[Pl.name]:D({fieldName:Pl.name})}))})}),Il=class extends B{pipeId=jl;payload;payloadSchema=Fl;billableOperations=Ml;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return wr(this.payload.config.model)}estimateBillableOperations(){return[Tr(this.payload.config.model,`write-email`)]}getInputRequirement(){return K([this.payload.config.template])}getSecretRequirements(){return q([this.payload.config.template])}getRawOutputFields(){return{[Nl.name]:this.catalogOutput(Nl),[Pl.name]:this.catalogOutput(Pl)}}getConnectionsRequirements(){return Er(this.payload.config.model)}},Ll=Fl,Rl={pipeId:jl,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:V(jl),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:[R.AI],docPath:H(jl),defaultInputRequirement:null,billableOperations:Ml,allowedUserConnectionProviders:Dr(),managedProviders:Dr(),deprecatedProviders:[],defaultPayload:{pipe_id:jl,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:``}}},zl=`field:domainify@1`,Bl=h(`url_input`),Vl=h(`domain`),Hl=r.object({pipe_id:r.literal(zl),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[Bl.name]:w({fieldName:Bl.name})})),output_fields:I(r.object({[Vl.name]:D({fieldName:Vl.name})}))}).optional()}),Ul=e=>z(U(Bl,e)),Wl={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Gl=class extends B{pipeId=zl;payload;payloadSchema=Hl;billableOperations=Wl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Ul(this.payload.config)}getRawOutputFields(){return{[Vl.name]:this.catalogOutput(Vl)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Kl=Hl,ql={pipeId:zl,basePipe:V(zl),label:`Extract domain`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.`,tags:[R.LOGIC,R.FIELDS],docPath:H(zl),billableOperations:Wl,defaultInputRequirement:Ul(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:zl,trigger:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},Jl=`field:slugify@1`,Yl=h(`string_input`),Xl=h(`slugified`),Zl=r.object({pipe_id:r.literal(Jl),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[Yl.name]:w({fieldName:Yl.name})})),output_fields:I(r.object({[Xl.name]:D({fieldName:Xl.name})}))}).optional()}),Ql=e=>z(U(Yl,e)),$l={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},eu=class extends B{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:V(Jl),label:`Slugify field`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Strip a field value of characters not commonly found in slugs.`,tags:[R.LOGIC,R.FIELDS],docPath:H(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:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function ru({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function iu(e){switch(e.kind){case`field`:return ru(e.field);case`optional`:return`[optional ${ru(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?iu(e.of[0]):`(${e.of.map(iu).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?iu(e.of[0]):`(${e.of.map(iu).join(` OR `)})`}}function au(e){return`Pipe input requirement is not satisfied: ${iu(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var ou=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 Y={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:au(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 ${ru(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 su=class extends Error{},X=class extends su{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 cu=`fields:merge@1`,lu=h(`merge_result`),uu=r.object({pipe_id:r.literal(cu),connector:C(),trigger:b(),config:r.object({sources:fi({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:I(r.object({[lu.name]:D({fieldName:lu.name})}))})}),du={"pipe0-field-or":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},fu=class extends B{pipeId=cu;payload;payloadSchema=uu;billableOperations=du;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 Gi(...this.payload.config.sources.map(n=>z({format:null,type:r=>{let i=ml(r,e)[n.field_name],a=i?.type?i.type:`unknown`;if(a!==`unknown`){if(t&&t!==a)throw new X([Y.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{[lu.name]:this.catalogOutput(lu,{resolveType:e=>{let t=ml(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}]}},pu=uu,mu={pipeId:cu,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:V(cu),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:[R.FIELDS,R.LOGIC],docPath:H(cu),defaultInputRequirement:null,billableOperations:du,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:cu,connector:null,trigger:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},hu=`http:request@1`,gu=h(`http_response_status`),_u=h(`http_response_body`),vu=h(`http_response_headers`),yu=r.object({pipe_id:r.literal(hu),connector:C(),trigger:b(),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:x({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:x({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Sent verbatim as the request body. Type `@` to insert a field reference or `$` to insert a secret reference. Set Content-Type via Headers.",placeholder:`{
|
|
71
|
+
…`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:z(r.object({[Jm.name]:A({fieldName:Jm.name})}))})}),Xm={"send-email-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Zm=class extends W{pipeId=qm;payload;payloadSchema=Ym;billableOperations=Xm;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 Lm(this.getTemplatedFields())}getSecretRequirements(){return Rm(this.getTemplatedFields())}getConstantRequirements(){return zm(this.getTemplatedFields())}getRawOutputFields(){return{[Jm.name]:this.catalogOutput(Jm)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},Qm=Ym,$m={pipeId:qm,basePipe:G(qm),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:[V.EMAIL],docPath:K(qm),billableOperations:Xm,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:qm,connector:{strategy:`first`,connections:[]},run_if:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},eh=`email:validate:zerobounce@1`,th=v(`email`),nh=v(`zerobounce_validation_status`),rh=v(`zerobounce_validation_match`),ih=r.object({pipe_id:r.literal(eh),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[th.name]:D({fieldName:th.name})})),output_fields:z(r.object({[rh.name]:A({fieldName:rh.name}),[nh.name]:A({fieldName:nh.name})}))}).optional()}),ah=e=>H(q(th,e)),oh={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},sh=class extends W{pipeId=eh;payload;payloadSchema=ih;billableOperations=oh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return ah(this.payload.config)}getRawOutputFields(){return{[nh.name]:this.catalogOutput(nh),[rh.name]:this.catalogOutput(rh)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},ch=ih,lh={pipeId:eh,basePipe:G(eh),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(eh),billableOperations:oh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:ah(null),defaultPayload:{pipe_id:eh,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},uh={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 uh[e]}const dh=`email:write@1`,fh=ei(`write-email`),ph=v(`email_subject`),mh=v(`email_body`),hh=r.object({pipe_id:r.literal(dh),connector:T(),run_if:C(),config:r.object({template:zi({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:ta({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:fh}),signature:$i({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:ea({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({[ph.name]:A({fieldName:ph.name}),[mh.name]:A({fieldName:mh.name})}))})}),gh=class extends W{pipeId=dh;payload;payloadSchema=hh;billableOperations=fh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return ti(this.payload.config.model)}estimateBillableOperations(){return[ni(this.payload.config.model,`write-email`)]}getInputRequirement(){return Lm([this.payload.config.template])}getSecretRequirements(){return Rm([this.payload.config.template])}getConstantRequirements(){return zm([this.payload.config.template])}getRawOutputFields(){return{[ph.name]:this.catalogOutput(ph),[mh.name]:this.catalogOutput(mh)}}getConnectionsRequirements(){return ri(this.payload.config.model)}},_h=hh,vh={pipeId:dh,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(dh),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(dh),defaultInputRequirement:null,billableOperations:fh,allowedUserConnectionProviders:ii(),managedProviders:ii(),deprecatedProviders:[],defaultPayload:{pipe_id:dh,connector:null,run_if:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-gpt-latest`,signature:``}}},yh=`field:domainify@1`,bh=v(`url_input`),xh=v(`domain`),Sh=r.object({pipe_id:r.literal(yh),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[bh.name]:D({fieldName:bh.name})})),output_fields:z(r.object({[xh.name]:A({fieldName:xh.name})}))}).optional()}),Ch=e=>H(q(bh,e)),wh={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Th=class extends W{pipeId=yh;payload;payloadSchema=Sh;billableOperations=wh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Ch(this.payload.config)}getRawOutputFields(){return{[xh.name]:this.catalogOutput(xh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Eh=Sh,Dh={pipeId:yh,basePipe:G(yh),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(yh),billableOperations:wh,defaultInputRequirement:Ch(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:yh,run_if:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},Oh=`field:slugify@1`,kh=v(`string_input`),Ah=v(`slugified`),jh=r.object({pipe_id:r.literal(Oh),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[kh.name]:D({fieldName:kh.name})})),output_fields:z(r.object({[Ah.name]:A({fieldName:Ah.name})}))}).optional()}),Mh=e=>H(q(kh,e)),Nh={"pipe0-platform-operation":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Ph=class extends W{pipeId=Oh;payload;payloadSchema=jh;billableOperations=Nh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Mh(this.payload.config)}getRawOutputFields(){return{[Ah.name]:this.catalogOutput(Ah)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Fh=jh,Ih={pipeId:Oh,basePipe:G(Oh),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(Oh),billableOperations:Nh,defaultInputRequirement:Mh(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Oh,run_if:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function Lh({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function Rh(e){switch(e.kind){case`field`:return Lh(e.field);case`optional`:return`[optional ${Lh(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?Rh(e.of[0]):`(${e.of.map(Rh).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?Rh(e.of[0]):`(${e.of.map(Rh).join(` OR `)})`}}function zh(e){return`Pipe input requirement is not satisfied: ${Rh(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var Bh=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:zh(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 ${Lh(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 Vh=class extends Error{},Q=class extends Vh{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 Hh=`fields:merge@1`,Uh=v(`merge_result`),Wh=r.object({pipe_id:r.literal(Hh),connector:E(),run_if:C(),config:r.object({sources:Ui({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:z(r.object({[Uh.name]:A({fieldName:Uh.name})}))})}),Gh={"pipe0-field-or":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},Kh=class extends W{pipeId=Hh;payload;payloadSchema=Wh;billableOperations=Gh;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 U(...this.payload.config.sources.map(n=>H({format:null,type:r=>{let i=Fm(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{[Uh.name]:this.catalogOutput(Uh,{resolveType:e=>{let t=Fm(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}]}},qh=Wh,Jh={pipeId:Hh,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(Hh),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(Hh),defaultInputRequirement:null,billableOperations:Gh,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Hh,connector:null,run_if:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},Yh=`http:request@1`,Xh=v(`http_response_status`),Zh=v(`http_response_body`),Qh=v(`http_response_headers`),$h=r.object({pipe_id:r.literal(Yh),connector:E(),run_if:C(),config:r.object({method:ea({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:w({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:qi({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:w({sectionKey:`general`,groupPath:`config.general`,path:`config.body`,label:`Body`,info:"Sent verbatim as the request body. Type `@` to insert a field reference or `$` to insert a secret reference. Set Content-Type via Headers.",placeholder:`{
|
|
72
72
|
"key": "value"
|
|
73
|
-
}`,inputType:`text`,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`text`,multiline:!0}),headers: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:I(r.object({[gu.name]:D({fieldName:gu.name}),[_u.name]:D({fieldName:_u.name}),[vu.name]:D({fieldName:vu.name})}))})}),bu={"pipe0-http-request":{provider:`pipe0`,allowManagedConnection:!0,credits:.001,mode:`always`}},xu=class extends B{pipeId=hu;payload;payloadSchema=yu;billableOperations=bu;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 K(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return q(this.getTemplatedFields())}getRawOutputFields(){return{[gu.name]:this.catalogOutput(gu),[_u.name]:this.catalogOutput(_u),[vu.name]:this.catalogOutput(vu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Su=yu,Cu={pipeId:hu,basePipe:V(hu),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:[R.LOGIC,R.JSON,R.NEW],docPath:H(hu),billableOperations:bu,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:hu,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}}}}},wu=`json:extract@1`,Tu=r.object({pipe_id:r.literal(wu),trigger:b(),connector:C(),config:r.object({json_extraction:Pr()})}),Eu={"pipe0-extract-json":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Du=class extends B{pipeId=wu;payload;payloadSchema=Tu;billableOperations=Eu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-extract-json`]}getInputRequirement(){return z({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[]}},Ou=Tu,ku={pipeId:wu,basePipe:V(wu),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,docPath:H(wu),tags:[R.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:Eu,defaultInputRequirement:null,defaultPayload:{pipe_id:wu,trigger:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},Au=`message:send:slack@1`,ju=h(`slack_message_success`),Mu=r.object({pipe_id:r.literal(Au),connector:ui(),trigger:b(),config:r.object({channel_id:x({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:x({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:I(r.object({[ju.name]:D({fieldName:ju.name})}))})}),Nu={"send-message-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},Pu=class extends B{pipeId=Au;payload;payloadSchema=Mu;billableOperations=Nu;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 K(this.getTemplatedFields())}getSecretRequirements(){return q(this.getTemplatedFields())}getRawOutputFields(){return{[ju.name]:this.catalogOutput(ju)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},Fu=Mu,Iu={pipeId:Au,basePipe:V(Au),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:[R.CHAT],docPath:H(Au),billableOperations:Nu,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:Au,connector:{strategy:`first`,connections:[]},trigger:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},Lu=`message:write@1`,Ru=h(`message`),zu=Cr(`write-message`),Bu=r.object({pipe_id:r.literal(Lu),connector:S(),trigger:b(),config:r.object({template:ci({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:J(`prompt`),groupPath:`config.prompt`,required:!0}),model:wi({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:zu}),output_fields:I(r.object({[Ru.name]:D({fieldName:Ru.name})}))})}),Vu=class extends B{pipeId=Lu;payload;payloadSchema=Bu;billableOperations=zu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return wr(this.payload.config.model)}estimateBillableOperations(){return[Tr(this.payload.config.model,`write-message`)]}getInputRequirement(){return K([this.payload.config.template])}getSecretRequirements(){return q([this.payload.config.template])}getRawOutputFields(){return{[Ru.name]:this.catalogOutput(Ru)}}getConnectionsRequirements(){return Er(this.payload.config.model)}},Hu=Bu,Uu={pipeId:Lu,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:V(Lu),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:[R.AI],docPath:H(Lu),defaultInputRequirement:null,billableOperations:zu,allowedUserConnectionProviders:Dr(),managedProviders:Dr(),deprecatedProviders:[],defaultPayload:{pipe_id:Lu,connector:null,trigger:null,config:{model:`openai-gpt-latest`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},Wu=`people:email:iswork@1`,Gu=h(`is_work_email`),Ku=h(`email`),qu=r.object({pipe_id:r.literal(Wu),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[Ku.name]:w({fieldName:Ku.name})})),output_fields:I(r.object({[Gu.name]:D({fieldName:Gu.name})}))}).optional()}),Ju=e=>z(U(Ku,e)),Yu={"pipe0-is-workemail-check":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Xu=class extends B{pipeId=Wu;payload;payloadSchema=qu;billableOperations=Yu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-is-workemail-check`]}getInputRequirement(){return Ju(this.payload.config)}getRawOutputFields(){return{[Gu.name]:this.catalogOutput(Gu)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Zu=qu,Qu={pipeId:Wu,label:`Work email checker`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Check if a given email address is personal or professional.`,tags:[R.EMAIL,R.WORK_EMAIL],docPath:H(Wu),billableOperations:Yu,basePipe:V(Wu),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Ju(null),defaultPayload:{pipe_id:Wu,trigger:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},$u=`person:email:validate:millionverifier@1`,ed=h(`email`),td=h(`email_validation_status`),nd=h(`million_validation_match`),rd=r.object({pipe_id:r.literal($u),connector:S(),trigger:b(),config:r.object({input_fields:L(r.object({[ed.name]:w({fieldName:ed.name})})),output_fields:I(r.object({[td.name]:D({fieldName:td.name}),[nd.name]:D({fieldName:nd.name})}))}).optional()}),id=e=>z(U(ed,e)),ad={"millionverifier-validate-email":{provider:`millionverifier`,allowManagedConnection:!0,credits:.1,mode:`always`}},od=class extends B{pipeId=$u;payload;payloadSchema=rd;billableOperations=ad;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(){return[`millionverifier-validate-email`]}getInputRequirement(){return id(this.payload.config)}getRawOutputFields(){return{[td.name]:this.catalogOutput(td),[nd.name]:this.catalogOutput(nd)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},sd=rd,cd={pipeId:$u,basePipe:V($u),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[R.EMAIL],docPath:H($u),billableOperations:ad,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:id(null),defaultPayload:{pipe_id:$u,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},ld=`people:email:validate:zerobounce@2`,ud=h(`email`),dd=h(`zerobounce_validation_status`),fd=h(`zerobounce_validation_match`),pd=r.object({pipe_id:r.literal(ld),connector:S(),trigger:b(),config:r.object({input_fields:L(r.object({[ud.name]:w({fieldName:ud.name})})),output_fields:I(r.object({[fd.name]:D({fieldName:fd.name}),[dd.name]:D({fieldName:dd.name})}))}).optional()}),md=e=>z(U(ud,e)),hd={"zerobounce-validate-email":{provider:`zerobounce`,allowManagedConnection:!0,credits:.3,mode:`always`}},gd=class extends B{pipeId=ld;payload;payloadSchema=pd;billableOperations=hd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(){return[`zerobounce-validate-email`]}getInputRequirement(){return md(this.payload.config)}getRawOutputFields(){return{[dd.name]:this.catalogOutput(dd),[fd.name]:this.catalogOutput(fd)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},_d=pd,vd={pipeId:ld,basePipe:V(ld),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:[R.EMAIL],docPath:H(ld),billableOperations:hd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:md(null),defaultPayload:{pipe_id:ld,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},yd=h(`email`),bd=h(`amplemarket_person_match`),xd=`person:identity:amplemarket@1`,Sd=r.object({pipe_id:r.literal(xd),trigger:b(),connector:S(),config:r.object({input_fields:L(r.object({[yd.name]:w({fieldName:yd.name})})),output_fields:I(r.object({[bd.name]:D({fieldName:bd.name})}))}).optional()}),Cd=e=>z(U(yd,e)),wd={"amplemarket-people-identity":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},Td=class extends B{pipeId=xd;payload;payloadSchema=Sd;billableOperations=wd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Cd(this.payload.config)}getRawOutputFields(){return{[bd.name]:this.catalogOutput(bd)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Ed=Sd,Dd={pipeId:xd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(xd),label:`Person identity`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their email`,tags:[R.PEOPLE_PROFILES],docPath:H(xd),billableOperations:wd,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Cd(null),defaultPayload:{pipe_id:xd,connector:null,trigger:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},Od=`people:identity:email:waterfall@1`,kd=h(`email`),Ad=h(`company_website_url`),jd=h(`name`),Md=h(`job_title`),Nd=h(`profile_url`),Pd=h(`company_profile_url`),Fd=h(`company_name`),Id=[`findymail`,`hunter`,`crustdata`],Ld=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],Rd=r.object({pipe_id:r.literal(Od),connector:S(),trigger:b(),config:r.object({providers:T({availableProviders:Id,defaultProviders:Ld,sectionKey:`general`}),input_fields:L(r.object({[kd.name]:w({fieldName:kd.name})})),output_fields:I(r.object({[jd.name]:D({fieldName:jd.name}),[Nd.name]:D({fieldName:Nd.name}),[Md.name]:D({fieldName:Md.name}),[Ad.name]:D({fieldName:Ad.name}),[Fd.name]:D({fieldName:Fd.name}),[Pd.name]:D({fieldName:Pd.name})}))}).optional()}),zd=e=>z(U(kd,e)),Bd={"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`}},Vd=class extends B{pipeId=Od;payload;payloadSchema=Rd;billableOperations=Bd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return zd(this.payload.config)}getRawOutputFields(){return{[jd.name]:this.catalogOutput(jd,{receivesMovementWidgets:!0}),[Nd.name]:this.catalogOutput(Nd,{receivesMovementWidgets:!0}),[Md.name]:this.catalogOutput(Md,{receivesMovementWidgets:!0}),[Fd.name]:this.catalogOutput(Fd,{receivesMovementWidgets:!0}),[Pd.name]:this.catalogOutput(Pd,{receivesMovementWidgets:!0}),[Ad.name]:this.catalogOutput(Ad,{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:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Hd=Rd,Ud={pipeId:Od,basePipe:V(Od),label:`Person identity from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find identity of a person from their email address.`,tags:[R.EMAIL,R.PEOPLE_PROFILES],docPath:H(Od),managedProviders:Id,deprecatedProviders:[],allowedUserConnectionProviders:Id,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Bd,defaultInputRequirement:zd(null),defaultPayload:{pipe_id:Od,connector:null,trigger:null,config:{providers:Ld,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}}}}},Wd=h(`profile_url`),Gd=h(`amplemarket_person_match`),Kd=`person:match:amplemarket@1`,qd=r.object({pipe_id:r.literal(Kd),trigger:b(),connector:S(),config:r.object({input_fields:L(r.object({[Wd.name]:w({fieldName:Wd.name})})),output_fields:I(r.object({[Gd.name]:D({fieldName:Gd.name})}))}).optional()}),Jd=e=>z(U(Wd,e)),Yd={"amplemarket-person-match":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},Xd=class extends B{pipeId=Kd;payload;payloadSchema=qd;billableOperations=Yd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Jd(this.payload.config)}getRawOutputFields(){return{[Gd.name]:this.catalogOutput(Gd)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Zd=qd,Qd={pipeId:Kd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(Kd),label:`Person match`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their LinkedIn profile URL.`,tags:[R.PEOPLE_PROFILES],docPath:H(Kd),billableOperations:Yd,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Jd(null),defaultPayload:{pipe_id:Kd,connector:null,trigger:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},$d=`people:match:role:waterfall@1`,ef=h(`company_website_url`),tf=h(`role_finder_match`),nf=[`leadmagic`],rf=[{provider:`leadmagic`}],af=r.object({pipe_id:r.literal($d),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,defaultProviders:rf,availableProviders:nf}),roles:hi({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:L(r.object({[ef.name]:w({fieldName:ef.name})})),output_fields:I(r.object({[tf.name]:D({fieldName:tf.name})}))})}),of=e=>Gi(U(ef,e)),sf={"leadmagic-find-role":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},cf=class extends B{pipeId=$d;payload;payloadSchema=af;billableOperations=sf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return of(this.payload.config)}getRawOutputFields(){return{[tf.name]:this.catalogOutput(tf,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lf=af,uf={pipeId:$d,basePipe:V($d),managedProviders:nf,deprecatedProviders:[],allowedUserConnectionProviders:nf,label:`Role finder`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[R.PEOPLE_PROFILES],docPath:H($d),billableOperations:sf,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:of(null),defaultPayload:{pipe_id:$d,trigger:null,connector:null,config:{roles:[],providers:rf,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},df=`person:name:join@1`,ff=h(`first_name`),pf=h(`last_name`),mf=h(`name`),hf=r.object({pipe_id:r.literal(df),trigger:b(),connector:C(),config:r.object({input_fields:L(r.object({[ff.name]:w({fieldName:ff.name}),[pf.name]:w({fieldName:pf.name})})),output_fields:I(r.object({[mf.name]:D({fieldName:mf.name})}))}).optional()}),gf=e=>Wi(U(ff,e),U(pf,e)),_f={"pipe0-join-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},vf=class extends B{pipeId=df;payload;payloadSchema=hf;billableOperations=_f;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-join-name`]}getInputRequirement(){return gf(this.payload.config)}getRawOutputFields(){return{[mf.name]:this.catalogOutput(mf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},yf=hf,bf={pipeId:df,basePipe:V(df),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:[R.NAMES],docPath:H(df),billableOperations:_f,defaultInputRequirement:gf(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:df,trigger:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},xf=`people:name:split@1`,Sf=h(`name`),Cf=h(`first_name`),wf=h(`last_name`),Tf=r.object({pipe_id:r.literal(xf),connector:C(),trigger:b(),config:r.object({input_fields:L(r.object({[Sf.name]:w({fieldName:Sf.name})})),output_fields:I(r.object({[Cf.name]:D({fieldName:Cf.name}),[wf.name]:D({fieldName:wf.name})}))}).optional()}),Ef=e=>z(U(Sf,e)),Df={"pipe0-split-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},Of=class extends B{pipeId=xf;payload;payloadSchema=Tf;billableOperations=Df;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-split-name`]}getInputRequirement(){return Ef(this.payload.config)}getRawOutputFields(){return{[Cf.name]:this.catalogOutput(Cf),[wf.name]:this.catalogOutput(wf)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},kf=Tf,Af={pipeId:xf,basePipe:V(xf),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[R.NAMES],docPath:H(xf),billableOperations:Df,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Ef(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:xf,trigger:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},jf=`people:personalemail:profile:waterfall@1`,Mf=h(`profile_url`),Nf=h(`personal_email`),Pf=h(`alternate_personal_emails`),Ff=[`clado`,`leadmagic`,`mixrank`],If=[{provider:`leadmagic`},{provider:`mixrank`}],Lf=r.object({pipe_id:r.literal(jf),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,availableProviders:Ff,defaultProviders:If}),input_fields:L(r.object({[Mf.name]:w({fieldName:Mf.name})})),output_fields:I(r.object({[Nf.name]:D({fieldName:Nf.name}),[Pf.name]:D({fieldName:Pf.name})}))}).optional()}),Rf=e=>z(U(Mf,e)),zf={"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`}},Bf=class extends B{pipeId=jf;payload;payloadSchema=Lf;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=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Rf(this.payload.config)}getRawOutputFields(){return{[Nf.name]:this.catalogOutput(Nf,{receivesMovementWidgets:!0}),[Pf.name]:this.catalogOutput(Pf)}}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:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Vf=Lf,Hf={pipeId:jf,basePipe:V(jf),allowedUserConnectionProviders:Ff,managedProviders:Ff,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:[R.EMAIL,R.PERSONAL_EMAIL],docPath:H(jf),billableOperations:zf,defaultInputRequirement:Rf(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:jf,connector:null,trigger:null,config:{providers:If,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},Uf=`people:phone:profile:waterfall@1`,Wf=h(`profile_url`),Gf=h(`mobile`),Kf=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],qf=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Jf=r.object({pipe_id:r.literal(Uf),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,defaultProviders:qf,availableProviders:Kf}),input_fields:L(r.object({[Wf.name]:w({fieldName:Wf.name})})),output_fields:I(r.object({[Gf.name]:D({fieldName:Gf.name})}))}).optional()}),Yf=e=>z(U(Wf,e)),Xf={"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`}},Zf=class extends B{pipeId=Uf;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=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Yf(this.payload.config)}getRawOutputFields(){return{[Gf.name]:this.catalogOutput(Gf,{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:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Qf=Jf,$f={pipeId:Uf,basePipe:V(Uf),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:H(Uf),tags:[R.PHONE,R.WATERFALL],billableOperations:Xf,defaultInputRequirement:Yf(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Kf,allowedUserConnectionProviders:Kf,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:Uf,connector:null,trigger:null,config:{providers:qf,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},ep=`people:phone:workemail:waterfall@1`,tp=h(`work_email`),np=h(`mobile`),rp=[`leadmagic`,`amplemarket`],ip=[{provider:`leadmagic`},{provider:`amplemarket`}],ap=r.object({pipe_id:r.literal(ep),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,availableProviders:rp,defaultProviders:ip}),input_fields:L(r.object({[tp.name]:w({fieldName:tp.name})})),output_fields:I(r.object({[np.name]:D({fieldName:np.name})}))}).optional()}),op=e=>z(U(tp,e)),sp={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},cp=class extends B{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=>G(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`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lp=ap,up={pipeId:ep,basePipe:V(ep),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for a prospect.`,tags:[R.PHONE,R.WATERFALL],docPath:H(ep),billableOperations:sp,defaultInputRequirement:op(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:rp,managedProviders:rp,deprecatedProviders:[],defaultPayload:{pipe_id:ep,connector:null,trigger:null,config:{providers:ip,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},dp=h(`profile_url`),fp=h(`post_list_string`),pp=h(`crustdata_post_list`),mp=`person:posts:crustdata@1`,hp=r.object({pipe_id:r.literal(mp),trigger:b(),connector:S(),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:L(r.object({[dp.name]:w({fieldName:dp.name})})),output_fields:I(r.object({[fp.name]:D({fieldName:fp.name}),[pp.name]:D({fieldName:pp.name})}))}).optional()}),gp=e=>z(U(dp,e)),_p={"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`}},vp=class extends B{pipeId=mp;payload;payloadSchema=hp;billableOperations=_p;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-single-post-fetch`]}getInputRequirement(){return gp(this.payload.config)}getRawOutputFields(){return{[fp.name]:this.catalogOutput(fp),[pp.name]:this.catalogOutput(pp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},yp=hp,bp={pipeId:mp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(mp),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[R.LINKEDIN],docPath:H(mp),billableOperations:_p,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:gp(null),defaultPayload:{pipe_id:mp,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}}}}},xp=`people:profile:waterfall@1`,Sp=h(`profile`),Cp=h(`profile_url`),wp=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Tp=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Ep=r.object({pipe_id:r.literal(xp),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,availableProviders:wp,defaultProviders:Tp}),input_fields:L(r.object({[Cp.name]:w({fieldName:Cp.name})})),output_fields:I(r.object({[Sp.name]:D({fieldName:Sp.name})}))}).optional()}),Dp=e=>z(U(Cp,e)),Op={"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}},kp=class extends B{pipeId=xp;payload;payloadSchema=Ep;billableOperations=Op;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Dp(this.payload.config)}getRawOutputFields(){return{[Sp.name]:this.catalogOutput(Sp,{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:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ap=Ep,jp={pipeId:xp,basePipe:V(xp),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:H(xp),tags:[R.LINKEDIN,R.WATERFALL],managedProviders:wp,deprecatedProviders:[`clado`],allowedUserConnectionProviders:wp,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Op,defaultInputRequirement:Dp(null),defaultPayload:{pipe_id:xp,trigger:null,connector:null,config:{providers:Tp,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Mp=h(`work_email`),Np=h(`crustdata_person_match`),Pp=h(`crustdata_profile_match_score`),Fp=`people:profile:workemail:crustdata@1`,Ip=r.object({pipe_id:r.literal(Fp),trigger:b(),connector:S(),config:r.object({input_fields:L(r.object({[Mp.name]:w({fieldName:Mp.name})})),output_fields:I(r.object({[Np.name]:D({fieldName:Np.name}),[Pp.name]:D({fieldName:Pp.name})}))}).optional()}),Lp=e=>z(U(Mp,e)),Rp={"crustdata-profile-from-workemail":{allowManagedConnection:!0,credits:5,mode:`onSuccess`,provider:`crustdata`}},zp=class extends B{pipeId=Fp;payload;payloadSchema=Ip;billableOperations=Rp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-profile-from-workemail`]}getInputRequirement(){return Lp(this.payload.config)}getRawOutputFields(){return{[Np.name]:this.catalogOutput(Np),[Pp.name]:this.catalogOutput(Pp)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Bp=Ip,Vp={pipeId:Fp,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:V(Fp),label:`Profile from work email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find person profile by their work email address.`,tags:[R.EMAIL,R.PEOPLE_PROFILES],docPath:H(Fp),billableOperations:Rp,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Lp(null),defaultPayload:{pipe_id:Fp,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}}}}},Hp=`people:profileurl:email:waterfall@1`,Up=h(`email`),Wp=h(`work_email`),Gp=h(`profile_url`),Kp=[`leadmagic`],qp=[{provider:`leadmagic`}],Jp=r.object({pipe_id:r.literal(Hp),trigger:b(),connector:S(),config:r.object({providers:T({sectionKey:`general`,defaultProviders:qp,availableProviders:Kp}),input_fields:L(r.object({[Up.name]:w({fieldName:Up.name}),[Wp.name]:w({fieldName:Wp.name})})),output_fields:I(r.object({[Gp.name]:D({fieldName:Gp.name})}))}).optional()}),Yp=e=>Gi(U(Up,e),U(Wp,e)),Xp={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},Zp=class extends B{pipeId=Hp;payload;payloadSchema=Jp;billableOperations=Xp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Yp(this.payload.config)}getRawOutputFields(){return{[Gp.name]:this.catalogOutput(Gp,{receivesMovementWidgets:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Qp=Jp,$p={pipeId:Hp,basePipe:V(Hp),managedProviders:Kp,deprecatedProviders:[],allowedUserConnectionProviders:Kp,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:[R.LINKEDIN],docPath:H(Hp),billableOperations:Xp,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Yp(null),defaultPayload:{pipe_id:Hp,trigger:null,connector:null,config:{providers:qp,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},em=`person:profileurl:name@1`,tm=h(`name`),nm=h(`company_name`),rm=h(`location_hint`),im=h(`profile_url`),am=r.object({pipe_id:r.literal(em),connector:C(),trigger:b(),config:r.object({input_fields:L(r.object({[tm.name]:w({fieldName:tm.name}),[nm.name]:w({fieldName:nm.name}),[rm.name]:w({fieldName:rm.name})})),output_fields:I(r.object({[im.name]:D({fieldName:im.name})}))}).optional()}),om=e=>Wi(z(U(tm,e)),z(U(nm,e)),Ki(U(rm,e))),sm={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},cm=class extends B{pipeId=em;payload;payloadSchema=am;billableOperations=sm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return om(this.payload.config)}getRawOutputFields(){return{[im.name]:this.catalogOutput(im)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},lm=am,um={pipeId:em,basePipe:V(em),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:H(em),tags:[R.LINKEDIN],billableOperations:sm,defaultInputRequirement:om(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:em,connector:void 0,trigger:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},dm=`people:workemail:profileurl:waterfall@1`,fm=h(`profile_url`),pm=h(`work_email`),mm=h(`email_validation_status`),hm=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],gm=[`clado`],_m=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],vm=r.object({pipe_id:r.literal(dm),connector:S(),trigger:b(),config:r.object({providers:T({availableProviders:hm,defaultProviders:_m,sectionKey:`general`}),allow_catch_all_emails:E({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:E({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:L(r.object({[fm.name]:w({fieldName:fm.name})})),output_fields:I(r.object({[pm.name]:D({fieldName:pm.name}),[mm.name]:D({fieldName:mm.name})}))}).optional()}),ym=e=>z(U(fm,e)),bm={"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`}},xm=class extends B{pipeId=dm;payload;payloadSchema=vm;billableOperations=bm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return ym(this.payload.config)}getRawOutputFields(){return{[pm.name]:this.catalogOutput(pm,{receivesMovementWidgets:!0}),[mm.name]:this.catalogOutput(mm,{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:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Sm=vm,Cm={pipeId:dm,basePipe:V(dm),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses from B2B profile.`,tags:[R.EMAIL,R.WORK_EMAIL,R.WATERFALL],docPath:H(dm),managedProviders:hm,allowedUserConnectionProviders:hm,deprecatedProviders:gm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:bm,defaultInputRequirement:ym(null),defaultPayload:{pipe_id:dm,connector:null,trigger:null,config:{providers:_m,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}}}}},wm=`people:workemail:waterfall@1`,Tm=h(`name`),Em=h(`company_website_url`),Dm=h(`company_name`),Om=h(`work_email`),km=h(`email_validation_status`),Am=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],jm=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],Mm=r.object({pipe_id:r.literal(wm),connector:S(),trigger:b(),config:r.object({providers:T({availableProviders:Am,defaultProviders:jm,sectionKey:`general`}),allow_catch_all_emails:E({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:E({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:L(r.object({[Tm.name]:w({fieldName:Tm.name}),[Em.name]:w({fieldName:Em.name}),[Dm.name]:w({fieldName:Dm.name})})),output_fields:I(r.object({[Om.name]:D({fieldName:Om.name}),[km.name]:D({fieldName:km.name})}))}).optional()}),Nm=e=>Wi(z(U(Tm,e)),Gi(U(Em,e),U(Dm,e))),Pm={"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`}},Fm=class extends B{pipeId=wm;payload;payloadSchema=Mm;billableOperations=Pm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>G(e,this.billableOperations).billableOperation)}getInputRequirement(){return Nm(this.payload.config)}getRawOutputFields(){return{[Om.name]:this.catalogOutput(Om,{receivesMovementWidgets:!0}),[km.name]:this.catalogOutput(km,{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:W(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Im=Mm,Lm={pipeId:wm,basePipe:V(wm),label:`Work email from name`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses in a waterfall motion.`,tags:[R.EMAIL,R.WORK_EMAIL,R.WATERFALL],docPath:H(wm),managedProviders:Am,deprecatedProviders:[],allowedUserConnectionProviders:Am,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Pm,defaultInputRequirement:Nm(null),defaultPayload:{pipe_id:wm,connector:null,trigger:null,config:{providers:jm,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}}}}},Rm=`prompt:run@1`,zm=Cr(`prompt`),Bm=r.object({pipe_id:r.literal(Rm),connector:S(),trigger:b(),config:r.object({prompt:si({sectionKey:`general`,path:`config.prompt`,placeholder:J(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:wi({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:zm})})}),Vm=class extends B{pipeId=Rm;payload;payloadSchema=Bm;billableOperations=zm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return wr(this.payload.config.model)}estimateBillableOperations(){return[Tr(this.payload.config.model,`prompt`)]}getInputRequirement(){return K([this.payload.config.prompt.template])}getSecretRequirements(){return q([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 Er(this.payload.config.model)}},Hm=Bm,Um={pipeId:Rm,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:V(Rm),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:[R.AI],docPath:H(Rm),defaultInputRequirement:null,billableOperations:zm,allowedUserConnectionProviders:Dr(),managedProviders:Dr(),deprecatedProviders:[],defaultPayload:{pipe_id:Rm,connector:null,trigger:null,config:{model:`openai-gpt-latest`,prompt:{template:``,json_schemas:{}}}}},Wm=`sheet:row:append@1`,Gm=h(`sheet_record_id`),Km=h(`created_sheet`),qm=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],Jm=[{label:`Demo team`,value:`sandbox-team-1`},{label:`Demo workspace`,value:`sandbox-team-2`}],Ym={requires:{connection:`pipe0`},enabledIf:At(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?qm: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`}}},Xm={requires:{connection:`pipe0`},enabledIf:At(`pipe0`,`Select a pipe0 connection to see team suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Jm:t?(await t.teams.list({query:e})).map(e=>({label:e.name,value:e.id})):[],widgets:{provider_logo:{provider:`pipe0`}}},Zm=r.object({pipe_id:r.literal(Wm),connector:ui(),trigger:b(),config:r.object({sheet:x({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:Ym}),run:E({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:E({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:E({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:Xm,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:I(r.object({[Gm.name]:D({fieldName:Gm.name}),[Km.name]:D({fieldName:Km.name})}))})}),Qm={"sheets-append-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},$m=class extends B{pipeId=Wm;payload;payloadSchema=Zm;billableOperations=Qm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-append-pipe0`]}getInputRequirement(){let e=[K([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(z({name:t.field_name,resolvedName:t.field_name,label:``,description:``,type:e=>{let n=hl(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 Wi(...e)}getSecretRequirements(){return q([this.payload.config.sheet])}getRawOutputFields(){return{[Gm.name]:this.catalogOutput(Gm),[Km.name]:this.catalogOutput(Km)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},eh=Zm,th={pipeId:Wm,basePipe:V(Wm),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:H(Wm),tags:[R.FIELDS],billableOperations:Qm,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Wm,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}}}}},nh=`sheet:row:expandappend@1`,rh=h(`sheet_record_ids`),ih=h(`input_objects`),ah=r.object({pipe_id:r.literal(nh),connector:ui(),trigger:b(),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:E({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:E({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:L(r.object({[ih.name]:w({fieldName:ih.name})})),output_fields:I(r.object({[rh.name]:D({fieldName:rh.name})}))})}),oh={"sheets-appendexpand-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},sh=e=>z(U(ih,e)),ch=class extends B{pipeId=nh;payload;payloadSchema=ah;billableOperations=oh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-appendexpand-pipe0`]}getInputRequirement(){return sh(this.payload.config)}getRawOutputFields(){return{[rh.name]:this.catalogOutput(rh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},lh=ah,uh={pipeId:nh,basePipe:V(nh),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:H(nh),tags:[R.FIELDS],billableOperations:oh,defaultInputRequirement:sh(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:nh,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}}}}},dh=`template:fill@1`,fh=h(`template_output`),ph=r.object({pipe_id:r.literal(dh),connector:S(),trigger:b(),config:r.object({template:ci({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:J(`template`),groupPath:`config.general`,required:!0}),output_fields:I(r.object({[fh.name]:D({fieldName:fh.name})}))})}),mh={"template-fill":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},hh=class extends B{pipeId=dh;payload;payloadSchema=ph;billableOperations=mh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`template-fill`]}getInputRequirement(){return K([this.payload.config.template])}getSecretRequirements(){return q([this.payload.config.template])}getRawOutputFields(){return{[fh.name]:this.catalogOutput(fh)}}getConnectionsRequirements(){return[]}},gh=ph,_h={pipeId:dh,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:V(dh),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ input name type="string" }} with actual values.`,tags:[R.TEXT],docPath:H(dh),defaultInputRequirement:null,billableOperations:mh,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:dh,connector:null,trigger:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},vh=`website:extract:firecrawl@1`,yh=h(`website_url`),bh=h(`firecrawl_extract_result`),xh=r.object({pipe_id:r.literal(vh),connector:S(),trigger:b(),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:E({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:E({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:L(r.object({[yh.name]:w({fieldName:yh.name})})),output_fields:I(r.object({[bh.name]:D({fieldName:bh.name})}))})}),Sh=e=>z(U(yh,e)),Ch={"firecrawl-website-extract":{allowManagedConnection:!0,provider:`firecrawl`,credits:2,mode:`onSuccess`}},wh=class extends B{pipeId=vh;payload;payloadSchema=xh;billableOperations=Ch;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-extract`]}getInputRequirement(){return Sh(this.payload.config)}getRawOutputFields(){return{[bh.name]:this.catalogOutput(bh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Th=xh,Eh={pipeId:vh,basePipe:V(vh),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:[R.SCRAPE],docPath:H(vh),billableOperations:Ch,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Sh(null),defaultPayload:{pipe_id:vh,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}}}}},Dh=`website:maplinks:firecrawl@1`,Oh={"firecrawl-website-maplinks":{allowManagedConnection:!0,provider:`firecrawl`,credits:1,mode:`onSuccess`}},kh=h(`website_url`),Ah=h(`mapped_links`),jh=r.object({pipe_id:r.literal(Dh),connector:S(),trigger:b(),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:L(r.object({[kh.name]:w({fieldName:kh.name})})),output_fields:I(r.object({[Ah.name]:D({fieldName:Ah.name})}))}).optional()}),Mh=e=>z(U(kh,e)),Nh=class extends B{pipeId=Dh;payload;payloadSchema=jh;billableOperations=Oh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-maplinks`]}getInputRequirement(){return Mh(this.payload.config)}getRawOutputFields(){return{[Ah.name]:this.catalogOutput(Ah)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},Ph=jh,Fh={pipeId:Dh,basePipe:V(Dh),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:[R.SCRAPE],docPath:H(Dh),billableOperations:Oh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Mh(null),defaultPayload:{pipe_id:Dh,trigger:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},Ih=`website:scrape:firecrawl@1`,Lh=h(`website_url`),Rh=h(`website_markdown`),zh=h(`website_html`),Bh=h(`website_links`),Vh=r.object({pipe_id:r.literal(Ih),connector:S(),trigger:b(),config:r.object({scrape_main_only:E({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:L(r.object({[Lh.name]:w({fieldName:Lh.name})})),output_fields:I(r.object({[Rh.name]:D({fieldName:Rh.name}),[zh.name]:D({fieldName:zh.name}),[Bh.name]:D({fieldName:Bh.name})}))}).optional()}),Hh=e=>z(U(Lh,e)),Uh={"firecrawl-website-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`}},Wh=class extends B{pipeId=Ih;payload;payloadSchema=Vh;billableOperations=Uh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-scrape`]}getInputRequirement(){return Hh(this.payload.config)}getRawOutputFields(){return{[Rh.name]:this.catalogOutput(Rh),[zh.name]:this.catalogOutput(zh),[Bh.name]:this.catalogOutput(Bh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Gh=Vh,Kh={pipeId:Ih,basePipe:V(Ih),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[R.SCRAPE],docPath:H(Ih),billableOperations:Uh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Hh(null),defaultPayload:{pipe_id:Ih,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}}}}},qh=`website:scrapelist:firecrawl@1`,Jh={"firecrawl-list-url-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`,note:`You are charged per url that is scraped.`}},Yh=h(`urls`),Xh=h(`scrape_list_response`),Zh=r.object({pipe_id:r.literal(qh),connector:S(),trigger:b(),config:r.object({scrape_main_only:E({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:L(r.object({[Yh.name]:w({fieldName:Yh.name})})),output_fields:I(r.object({[Xh.name]:D({fieldName:Xh.name})}))}).optional()}),Qh=e=>z(U(Yh,e)),$h=class extends B{pipeId=qh;payload;payloadSchema=Zh;billableOperations=Jh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[,,,,,].fill(`firecrawl-list-url-scrape`)}getInputRequirement(){return Qh(this.payload.config)}getRawOutputFields(){return{[Xh.name]:this.catalogOutput(Xh)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},eg=Zh,tg={pipeId:qh,basePipe:V(qh),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[R.SCRAPE],docPath:H(qh),billableOperations:Jh,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Qh(null),defaultPayload:{pipe_id:qh,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}}}}},ng={"prompt:run@1":Vm,"company:newssummary:website@1":_o,"company:techstack:builtwith@1":Wo,"company:websiteurl:email@1":$o,"company:funding:leadmagic@1":ba,"people:workemail:waterfall@1":Fm,"people:email:iswork@1":Xu,"people:name:split@1":Of,"people:validate:email:zerobounce@1":ll,"people:email:validate:zerobounce@2":gd,"people:mobilenumber:workemail:waterfall@1":yc,"person:name:join@1":vf,"company:overview@1":Ls,"company:overview@2":No,"json:extract@1":Du,"company:lookalikes:companyenrich@1":Ba,"company:match:logodev@1":so,"person:posts:crustdata@1":vp,"people:profile:workemail:crustdata@1":zp,"people:identity:email:waterfall@1":Vd,"person:identity:amplemarket@1":Td,"email:send:resend@1":Dl,"contact:create:resend@1":ds,"email:send:gmail@1":bl,"email:write@1":Il,"fields:merge@1":fu,"field:slugify@1":eu,"field:domainify@1":Gl,"http:request@1":xu,"template:fill@1":hh,"message:send:slack@1":Pu,"message:write@1":Vu,"people:personalemail:profile:waterfall@1":Bf,"website:scrape:firecrawl@1":Wh,"website:scrapelist:firecrawl@1":$h,"website:extract:firecrawl@1":wh,"website:maplinks:firecrawl@1":Nh,"sheet:row:append@1":$m,"sheet:row:expandappend@1":ch,"people:match:role:waterfall@1":cf,"company:match:crustdata@1":Ya,"person:match:amplemarket@1":Xd,"company:identity@2":ja,"people:phone:profile:waterfall@1":Zf,"people:phone:workemail:waterfall@1":cp,"people:profile:waterfall@1":kp,"people:profileurl:email:waterfall@1":Zp,"person:profileurl:name@1":cm,"people:email:validate:zerobounce@1":Ks,"person:email:validate:millionverifier@1":od,"people:workemail:profileurl:waterfall@1":xm,"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},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,"email:write@1":Ll,"fields:merge@1":pu,"field:slugify@1":tu,"field:domainify@1":Kl,"http:request@1":Su,"email:send:resend@1":Ol,"contact:create:resend@1":fs,"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,"company:match:crustdata@1":Xa,"person:identity:amplemarket@1":Ed,"message:send:slack@1":Fu,"email:send:gmail@1":xl,"message:write@1":Hu,"template:fill@1":gh,"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:identity@2":Ma,"people:phone:profile:waterfall@1":Qf,"people:personalemail:profile:waterfall@1":Vf,"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:phone:workemail:waterfall@1":lp,"people:workemail:profileurl:waterfall@1":Sm,"person:match:amplemarket@1":Zd,"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:mobilenumber:workemail:waterfall@1":xc,"person:name:join@1":bf,"company:overview@1":zs,"company:overview@2":Fo,"json:extract@1":ku,"email:send:resend@1":kl,"contact:create:resend@1":ps,"email:send:gmail@1":Sl,"message:send:slack@1":Iu,"message:write@1":Uu,"email:write@1":Rl,"template:fill@1":_h,"fields:merge@1":mu,"field:slugify@1":nu,"field:domainify@1":ql,"http:request@1":Cu,"sheet:row:append@1":th,"sheet:row:expandappend@1":uh,"company:lookalikes:companyenrich@1":Ha,"people:match:role:waterfall@1":uf,"company:match:logodev@1":lo,"person:posts:crustdata@1":bp,"people:profile:workemail:crustdata@1":Vp,"people:workemail:profileurl:waterfall@1":Cm,"people:identity:email:waterfall@1":Ud,"company:match:crustdata@1":Za,"person:identity:amplemarket@1":Dd,"people:personalemail:profile:waterfall@1":Hf,"people:email:validate:zerobounce@1":Js,"people:email:validate:zerobounce@2":vd,"person:email:validate:millionverifier@1":cd,"people:phone:workemail:waterfall@1":up,"website:scrape:firecrawl@1":Kh,"website:scrapelist:firecrawl@1":tg,"website:extract:firecrawl@1":Eh,"website:maplinks:firecrawl@1":Fh,"person:match:amplemarket@1":Qd,"company:identity@2":Na,"people:phone:profile:waterfall@1":$f,"people:profile:waterfall@1":jp,"people:profileurl:email:waterfall@1":$p,"person:profileurl:name@1":um,"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};function ag(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function og(e){return ng[e]}function sg(e){return ig[e].defaultPayload}function cg(e){return rg[e]}const lg=r.discriminatedUnion(`pipe_id`,Object.values(rg)).openapi(`PipePayload`),ug=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=sg(Sn.parse(e.pipe_id));return t?{...e,config:Vi(e?.config||{},t.config)}:e}catch{return e}},lg);function dg(e){return ig[e]}function fg(e,t){let n=dg(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 pg(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function mg(){let e={};for(let t of Object.values(ig)){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=pg(e.pipeId);return pg(t.pipeId)-n})}),e}const hg=e=>{let t=dg(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},gg=mg();function _g(e){let t=[];for(let[n,r]of Object.entries(gg)){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:pg(i.pipeId)})}return t}function vg(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=hg(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of ag(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of Ji(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:gg}}const yg=r.object({id:r.string(),organization_id:r.string(),order:r.array(Tn),field_definitions:nr,errors:r.array(Bn),records:r.record(Tn,$n),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),bg=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`),xg=r.object({config:bg.openapi(`PipesRequestConfig`),field_annotations:Gn.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(lg),input:r.array(Qn.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function Sg(e){let t=dg(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 Cg={"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 wg(e){let t=cg(e),n=[];function i(e){let t=_.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 Tg({pipePayload:e,validationContext:t,sectionOrder:n,store:r,groupPathMatch:i=Cg,formResolvers:a}){let o=cg(e.pipe_id),s=ea(e.pipe_id,e.config||{});return ai({schema:o,groupPathMatch:i,extractFromSchema:n=>{let i=_.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:dg(e.pipe_id),hash:s}):i},sectionOrder:n,store:r,formResolvers:a})}const Eg=[`companies:profiles:crustdata@1`,`companies:profiles:amplemarket@1`,`people:profiles:crustdata@1`,`people:profiles:amplemarket@1`],Dg=r.enum(Eg),Og={companydb:`https://api.crustdata.com/screener/companydb/autocomplete`,persondb:`https://api.crustdata.com/screener/persondb/autocomplete`};function kg(e,t){return async(n,r,i)=>{let a=await fetch(Og[e],{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Token ${i.apiKey}`},body:JSON.stringify({field:t,query:n,limit:r})});if(!a.ok)throw Error(`Crustdata ${e} autocomplete failed`);return(await a.json()).suggestions.map(e=>({value:e,label:e}))}}const Ag=e=>e.map(e=>({value:e,label:e})),jg=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),Mg=jg([[`Public Company`,`📈`],[`Educational`,`🎓`],[`Self Employed`,`👤`],[`Government Agency`,`🏛️`],[`Non Profit`,`💝`],[`Self Owned`,`🪪`],[`Privately Held`,`🔒`],[`Partnership`,`🤝`]]),Ng=Ag([`1-10 employees`,`11-50 employees`,`51-200 employees`,`201-500 employees`,`501-1000 employees`,`1001-5000 employees`,`5001-10000 employees`,`10001+ employees`]),Pg=jg([[`Owner`,`👑`],[`Founder`,`🚀`],[`C-Suite`,`💼`],[`Partner`,`🤝`],[`VP`,`🎖️`],[`Head`,`🎯`],[`Director`,`🎬`],[`Manager`,`👔`],[`Senior`,`⭐`],[`Entry`,`🌱`],[`Intern`,`🎓`],[`Other`,`❔`],[`Non-Manager`,`👥`],[`Founder / Owner`,`🚀`]]),Fg=jg([[`Senior Leadership`,`👑`],[`Consulting`,`💼`],[`Design`,`🎨`],[`Education`,`🎓`],[`Engineering & Technical`,`🛠️`],[`Finance`,`💰`],[`Human Resources`,`👥`],[`Information Technology`,`💻`],[`Legal`,`⚖️`],[`Marketing`,`📣`],[`Medical & Health`,`🏥`],[`Operations`,`⚙️`],[`Product`,`📦`],[`Revenue`,`💸`]]),Ig=Ag([`$0-$1M`,`$1M-$10M`,`$10M-$100M`,`$100M-$1B`,`$1B+`]),Lg=jg([[`Account Management`,`🤝`],[`Accounting`,`📊`],[`Acquisitions`,`🛒`],[`Advertising`,`📺`],[`Anesthesiology`,`💉`],[`Application Development`,`📱`],[`Artificial Intelligence / Machine Learning`,`🤖`],[`Bioengineering & Biometrics`,`🧬`],[`Brand Management`,`🏷️`],[`Business Development`,`📈`],[`Business Intelligence`,`🧠`],[`Business Service Management / ITSM`,`🛠️`],[`Call Center`,`📞`],[`Channel Sales`,`📡`],[`Chemical Engineering`,`⚗️`],[`Chiropractics`,`🦴`],[`Clinical Systems`,`🏥`],[`Cloud / Mobility`,`☁️`],[`Collaboration & Web App`,`🌐`],[`Compensation & Benefits`,`💵`],[`Compliance`,`✅`],[`Construction`,`🏗️`],[`Consultant`,`💼`],[`Content Marketing`,`✍️`],[`Contracts`,`📄`],[`Corporate Secretary`,`📋`],[`Corporate Strategy`,`🎯`],[`Culture, Diversity & Inclusion`,`🌈`],[`Customer Experience`,`😊`],[`Customer Marketing`,`📢`],[`Customer Retention & Development`,`🔁`],[`Customer Service / Support`,`🎧`],[`Customer Success`,`🌟`],[`Data Center`,`🗄️`],[`Data Science`,`📈`],[`Data Warehouse`,`🏬`],[`Database Administration`,`🗃️`],[`Demand Generation`,`🧲`],[`Dentistry`,`🦷`],[`Dermatology`,`🧴`],[`DevOps`,`⚙️`],[`Digital Marketing`,`💻`],[`Digital Transformation`,`🔄`],[`Doctors / Physicians`,`👨⚕️`],[`eCommerce Development`,`🛒`],[`eCommerce Marketing`,`🛍️`],[`eDiscovery`,`🔍`],[`Emerging Technology / Innovation`,`💡`],[`Employee & Labor Relations`,`🤝`],[`Engineering & Technical`,`🛠️`],[`Enterprise Architecture`,`🏛️`],[`Enterprise Resource Planning`,`📊`],[`Epidemiology`,`🦠`],[`Ethics`,`⚖️`],[`Event Marketing`,`🎉`],[`Executive`,`💼`],[`Facilities Management`,`🏢`],[`Field / Outside Sales`,`🚗`],[`Field Marketing`,`🌳`],[`Finance`,`💰`],[`Finance Executive`,`💼`],[`Financial Planning & Analysis`,`📈`],[`Financial Reporting`,`📑`],[`Financial Risk`,`⚠️`],[`Financial Strategy`,`🎯`],[`Financial Systems`,`🏦`],[`First Responder`,`🚨`],[`Founder`,`🚀`],[`Governance`,`🏛️`],[`Governmental Affairs & Regulatory Law`,`📜`],[`Graphic / Visual / Brand Design`,`🎨`],[`Growth`,`📈`],[`Health & Safety`,`🦺`],[`Help Desk / Desktop Services`,`🖥️`],[`HR / Financial / ERP Systems`,`🧾`],[`HR Business Partner`,`🤝`],[`Human Resource Information System`,`💾`],[`Human Resources`,`👥`],[`Human Resources Executive`,`💼`],[`Industrial Engineering`,`🏭`],[`Infectious Disease`,`🦠`],[`Information Security`,`🔒`],[`Information Technology`,`💻`],[`Information Technology Executive`,`💼`],[`Infrastructure`,`🏗️`],[`Inside Sales`,`📞`],[`Intellectual Property & Patent`,`💡`],[`Internal Audit & Control`,`🔍`],[`Investor Relations`,`💰`],[`IT Asset Management`,`📦`],[`IT Audit / IT Compliance`,`🔍`],[`IT Operations`,`⚙️`],[`IT Procurement`,`🛒`],[`IT Strategy`,`🎯`],[`IT Training`,`🎓`],[`Labor & Employment`,`👷`],[`Lawyer / Attorney`,`⚖️`],[`Lead Generation`,`🎯`],[`Learning & Development`,`📚`],[`Leasing`,`🔑`],[`Legal`,`⚖️`],[`Legal Counsel`,`⚖️`],[`Legal Executive`,`💼`],[`Legal Operations`,`📋`],[`Litigation`,`🏛️`],[`Logistics`,`🚚`],[`Marketing`,`📣`],[`Marketing Analytics / Insights`,`📊`],[`Marketing Communications`,`📰`],[`Marketing Executive`,`💼`],[`Marketing Operations`,`⚙️`],[`Mechanic`,`🔧`],[`Medical & Health Executive`,`🏥`],[`Medical Administration`,`📋`],[`Medical Education & Training`,`🎓`],[`Medical Research`,`🧪`],[`Medicine`,`💊`],[`Mergers & Acquisitions`,`🤝`],[`Mobile Development`,`📱`],[`Networking`,`🌐`],[`Neurology`,`🧠`],[`Nursing`,`🩺`],[`Nutrition & Dietetics`,`🥗`],[`Obstetrics / Gynecology`,`🤰`],[`Office Operations`,`🏢`],[`Oncology`,`🎗️`],[`Operations`,`⚙️`],[`Operations Executive`,`💼`],[`Ophthalmology`,`👁️`],[`Optometry`,`👓`],[`Organizational Development`,`📈`],[`Orthopedics`,`🦴`],[`Partnerships`,`🤝`],[`Pathology`,`🔬`],[`Pediatrics`,`👶`],[`People Operations`,`👥`],[`Pharmacy`,`💊`],[`Physical Security`,`🛡️`],[`Physical Therapy`,`🤸`],[`Principal`,`🏫`],[`Privacy`,`🔒`],[`Product Development`,`🔧`],[`Product Management`,`📦`],[`Product Marketing`,`📦`],[`Product or UI/UX Design`,`🎨`],[`Professor`,`👨🏫`],[`Project & Program Management`,`📅`],[`Project Development`,`🛠️`],[`Project Management`,`📋`],[`Psychiatry`,`🧠`],[`Psychology`,`🧠`],[`Public Health`,`🏥`],[`Public Relations`,`📰`],[`Quality Assurance`,`✅`],[`Quality Management`,`✅`],[`Radiology`,`📷`],[`Real Estate`,`🏠`],[`Real Estate Finance`,`🏘️`],[`Recruiting & Talent Acquisition`,`🎯`],[`Research & Development`,`🔬`],[`Retail / Store Systems`,`🛍️`],[`Revenue Operations`,`💸`],[`Safety`,`🦺`],[`Sales`,`💸`],[`Sales Enablement`,`🎯`],[`Sales Engineering`,`🛠️`],[`Sales Executive`,`💼`],[`Sales Operations`,`⚙️`],[`Sales Training`,`🎓`],[`Scrum Master / Agile Coach`,`🏃`],[`Search Engine Optimization / Pay Per Click`,`🔍`],[`Servers`,`🖥️`],[`Shared Services`,`🔄`],[`Social Media Marketing`,`📱`],[`Social Work`,`🫂`],[`Software Development`,`💻`],[`Sourcing / Procurement`,`🛒`],[`Storage & Disaster Recovery`,`💾`],[`Store Operations`,`🏪`],[`Strategic Communications`,`📣`],[`Superintendent`,`👷`],[`Supply Chain`,`🔗`],[`Support / Technical Services`,`🎧`],[`Talent Management`,`🌟`],[`Tax`,`💵`],[`Teacher`,`👨🏫`],[`Technical Marketing`,`🛠️`],[`Technician`,`🔧`],[`Technology Operations`,`⚙️`],[`Telecommunications`,`📡`],[`Test / Quality Assurance`,`✅`],[`Treasury`,`💰`],[`UI / UX`,`🎨`],[`Virtualization`,`💻`],[`Web Development`,`🌐`],[`Workforce Management`,`👥`]]),Rg=jg([[`Abrasives and Nonmetallic Minerals Manufacturing`,`🪨`],[`Accessible Architecture and Design`,`♿`],[`Accessible Hardware Manufacturing`,`♿`],[`Accommodation and Food Services`,`🏨`],[`Accounting`,`📊`],[`Administration of Justice`,`⚖️`],[`Administrative and Support Services`,`📋`],[`Advertising Services`,`📺`],[`Agricultural Chemical Manufacturing`,`🧪`],[`Agriculture, Construction, Mining Machinery Manufacturing`,`🚜`],[`Air, Water, and Waste Program Management`,`♻️`],[`Airlines and Aviation`,`✈️`],[`Alternative Dispute Resolution`,`🤝`],[`Alternative Fuel Vehicle Manufacturing`,`🔋`],[`Alternative Medicine`,`🌿`],[`Ambulance Services`,`🚑`],[`Amusement Parks and Arcades`,`🎢`],[`Animal Feed Manufacturing`,`🌾`],[`Animation and Post-production`,`🎬`],[`Apparel Manufacturing`,`👔`],[`Appliances, Electrical, and Electronics Manufacturing`,`🔌`],[`Architectural and Structural Metal Manufacturing`,`🏗️`],[`Architecture and Planning`,`📐`],[`Armed Forces`,`🪖`],[`Artificial Rubber and Synthetic Fiber Manufacturing`,`🧵`],[`Artists and Writers`,`🎨`],[`Audio and Video Equipment Manufacturing`,`🎙️`],[`Automation Machinery Manufacturing`,`🤖`],[`Aviation and Aerospace Component Manufacturing`,`🛩️`],[`Baked Goods Manufacturing`,`🥖`],[`Banking`,`🏦`],[`Bars, Taverns, and Nightclubs`,`🍻`],[`Bed-and-Breakfasts, Hostels, Homestays`,`🛏️`],[`Beverage Manufacturing`,`🥤`],[`Biomass Electric Power Generation`,`🌱`],[`Biotechnology Research`,`🧬`],[`Blockchain Services`,`⛓️`],[`Blogs`,`📝`],[`Boilers, Tanks, and Shipping Container Manufacturing`,`📦`],[`Book Publishing`,`📚`],[`Book and Periodical Publishing`,`📚`],[`Breweries`,`🍺`],[`Broadcast Media Production and Distribution`,`📡`],[`Building Construction`,`🏗️`],[`Building Equipment Contractors`,`🔧`],[`Building Finishing Contractors`,`🪜`],[`Building Structure and Exterior Contractors`,`🧱`],[`Business Consulting and Services`,`💼`],[`Business Content`,`📰`],[`Business Intelligence Platforms`,`📊`],[`Cable and Satellite Programming`,`📡`],[`Capital Markets`,`📈`],[`Caterers`,`🍽️`],[`Chemical Manufacturing`,`⚗️`],[`Chemical Raw Materials Manufacturing`,`🧪`],[`Child Day Care Services`,`👶`],[`Chiropractors`,`🦴`],[`Circuses and Magic Shows`,`🎪`],[`Civic and Social Organizations`,`🏛️`],[`Civil Engineering`,`🌉`],[`Claims Adjusting, Actuarial Services`,`🧮`],[`Clay and Refractory Products Manufacturing`,`🏺`],[`Climate Data and Analytics`,`🌡️`],[`Climate Technology Product Manufacturing`,`🌍`],[`Coal Mining`,`⛏️`],[`Collection Agencies`,`💵`],[`Commercial and Industrial Equipment Rental`,`🏗️`],[`Commercial and Industrial Machinery Maintenance`,`🔧`],[`Commercial and Service Industry Machinery Manufacturing`,`🏭`],[`Communications Equipment Manufacturing`,`📡`],[`Community Development and Urban Planning`,`🏙️`],[`Community Services`,`🫂`],[`Computer Games`,`🎮`],[`Computer Hardware Manufacturing`,`🖥️`],[`Computer Networking Products`,`🌐`],[`Computer and Network Security`,`🔒`],[`Computers and Electronics Manufacturing`,`💻`],[`Conservation Programs`,`🌳`],[`Construction`,`🏗️`],[`Construction Hardware Manufacturing`,`🔩`],[`Consumer Goods Rental`,`🛋️`],[`Consumer Services`,`🛎️`],[`Correctional Institutions`,`🚔`],[`Cosmetology and Barber Schools`,`💇`],[`Courts of Law`,`⚖️`],[`Credit Intermediation`,`💳`],[`Cutlery and Handtool Manufacturing`,`🔪`],[`Dairy Product Manufacturing`,`🥛`],[`Dance Companies`,`💃`],[`Data Infrastructure and Analytics`,`📊`],[`Data Security Software Products`,`🔐`],[`Defense and Space Manufacturing`,`🚀`],[`Dentists`,`🦷`],[`Design Services`,`🎨`],[`Desktop Computing Software Products`,`🖥️`],[`Digital Accessibility Services`,`♿`],[`Distilleries`,`🥃`],[`E-Learning Providers`,`💻`],[`Economic Programs`,`💹`],[`Education`,`🎓`],[`Education Administration Programs`,`🏫`],[`Electric Lighting Equipment Manufacturing`,`💡`],[`Electric Power Generation`,`⚡`],[`Electric Power Transmission, Control, and Distribution`,`🔌`],[`Electrical Equipment Manufacturing`,`🔌`],[`Electronic and Precision Equipment Maintenance`,`🔧`],[`Embedded Software Products`,`💾`],[`Emergency and Relief Services`,`🚨`],[`Engineering Services`,`🛠️`],[`Engines and Power Transmission Equipment Manufacturing`,`⚙️`],[`Entertainment Providers`,`🎭`],[`Environmental Quality Programs`,`🌿`],[`Environmental Services`,`♻️`],[`Equipment Rental Services`,`🏗️`],[`Events Services`,`🎉`],[`Executive Offices`,`🏢`],[`Executive Search Services`,`🎯`],[`Fabricated Metal Products`,`🔩`],[`Facilities Services`,`🧹`],[`Family Planning Centers`,`👨👩👧`],[`Farming`,`🌾`],[`Farming, Ranching, Forestry`,`🚜`],[`Fashion Accessories Manufacturing`,`👜`],[`Financial Services`,`💰`],[`Fine Arts Schools`,`🎨`],[`Fire Protection`,`🔥`],[`Fisheries`,`🎣`],[`Flight Training`,`✈️`],[`Food and Beverage Manufacturing`,`🍱`],[`Food and Beverage Retail`,`🛒`],[`Food and Beverage Services`,`🍽️`],[`Footwear Manufacturing`,`👟`],[`Footwear and Leather Goods Repair`,`👞`],[`Forestry and Logging`,`🌲`],[`Fossil Fuel Electric Power Generation`,`🛢️`],[`Freight and Package Transportation`,`📦`],[`Fruit and Vegetable Preserves Manufacturing`,`🥫`],[`Fuel Cell Manufacturing`,`🔋`],[`Fundraising`,`🎗️`],[`Funds and Trusts`,`💰`],[`Furniture and Home Furnishings Manufacturing`,`🛋️`],[`Gambling Facilities and Casinos`,`🎰`],[`Geothermal Electric Power Generation`,`🌋`],[`Glass Product Manufacturing`,`🪟`],[`Glass, Ceramics and Concrete Manufacturing`,`🧱`],[`Golf Courses and Country Clubs`,`⛳`],[`Government Administration`,`🏛️`],[`Government Relations Services`,`🏛️`],[`Graphic Design`,`🎨`],[`Ground Passenger Transportation`,`🚌`],[`HVAC and Refrigeration Equipment Manufacturing`,`❄️`],[`Health and Human Services`,`🏥`],[`Higher Education`,`🎓`],[`Highway, Street, and Bridge Construction`,`🛣️`],[`Historical Sites`,`🏛️`],[`Holding Companies`,`🏢`],[`Home Health Care Services`,`🏠`],[`Horticulture`,`🌷`],[`Hospitality`,`🏨`],[`Hospitals`,`🏥`],[`Hospitals and Health Care`,`🏥`],[`Hotels and Motels`,`🏨`],[`Household Appliance Manufacturing`,`🍳`],[`Household Services`,`🧹`],[`Household and Institutional Furniture Manufacturing`,`🪑`],[`Housing Programs`,`🏘️`],[`Housing and Community Development`,`🏘️`],[`Human Resources Services`,`👥`],[`Hydroelectric Power Generation`,`💧`],[`IT Services and IT Consulting`,`💻`],[`IT System Custom Software Development`,`💻`],[`IT System Data Services`,`🗄️`],[`IT System Design Services`,`🖥️`],[`IT System Installation and Disposal`,`🔧`],[`IT System Operations and Maintenance`,`⚙️`],[`IT System Testing and Evaluation`,`🧪`],[`IT System Training and Support`,`🎓`],[`Individual and Family Services`,`👨👩👧`],[`Industrial Machinery Manufacturing`,`🏭`],[`Industry Associations`,`🤝`],[`Information Services`,`ℹ️`],[`Insurance`,`🛡️`],[`Insurance Agencies and Brokerages`,`🛡️`],[`Insurance Carriers`,`🛡️`],[`Insurance and Employee Benefit Funds`,`🛡️`],[`Interior Design`,`🛋️`],[`International Affairs`,`🌍`],[`International Trade and Development`,`🌐`],[`Internet Marketplace Platforms`,`🛒`],[`Internet News`,`📰`],[`Internet Publishing`,`📰`],[`Interurban and Rural Bus Services`,`🚌`],[`Investment Advice`,`📈`],[`Investment Banking`,`💼`],[`Investment Management`,`💰`],[`Janitorial Services`,`🧹`],[`Landscaping Services`,`🌳`],[`Language Schools`,`🗣️`],[`Laundry and Drycleaning Services`,`🧺`],[`Law Enforcement`,`🚓`],[`Law Practice`,`⚖️`],[`Leasing Non-residential Real Estate`,`🏢`],[`Leasing Residential Real Estate`,`🏘️`],[`Leather Product Manufacturing`,`👜`],[`Legal Services`,`⚖️`],[`Legislative Offices`,`🏛️`],[`Libraries`,`📚`],[`Lime and Gypsum Products Manufacturing`,`🧱`],[`Loan Brokers`,`💳`],[`Machinery Manufacturing`,`🏭`],[`Magnetic and Optical Media Manufacturing`,`💿`],[`Manufacturing`,`🏭`],[`Maritime Transportation`,`🚢`],[`Market Research`,`📊`],[`Marketing Services`,`📣`],[`Mattress and Blinds Manufacturing`,`🛏️`],[`Measuring and Control Instrument Manufacturing`,`📏`],[`Meat Products Manufacturing`,`🥩`],[`Media Production`,`🎬`],[`Media and Telecommunications`,`📡`],[`Medical Equipment Manufacturing`,`🩺`],[`Medical Practices`,`🏥`],[`Medical and Diagnostic Laboratories`,`🧪`],[`Mental Health Care`,`🧠`],[`Metal Ore Mining`,`⛏️`],[`Metal Treatments`,`🔥`],[`Metal Valve, Ball, and Roller Manufacturing`,`⚙️`],[`Metalworking Machinery Manufacturing`,`🔩`],[`Military and International Affairs`,`🪖`],[`Mining`,`⛏️`],[`Mobile Computing Software Products`,`📱`],[`Mobile Food Services`,`🚐`],[`Mobile Gaming Apps`,`🎮`],[`Motor Vehicle Manufacturing`,`🚗`],[`Motor Vehicle Parts Manufacturing`,`🔧`],[`Movies and Sound Recording`,`🎬`],[`Movies, Videos, and Sound`,`🎥`],[`Museums`,`🏛️`],[`Museums, Historical Sites, and Zoos`,`🦁`],[`Musicians`,`🎵`],[`Nanotechnology Research`,`🔬`],[`Natural Gas Distribution`,`🔥`],[`Natural Gas Extraction`,`⛽`],[`Newspaper Publishing`,`📰`],[`Non-profit Organizations`,`💝`],[`Nonmetallic Mineral Mining`,`⛏️`],[`Nonresidential Building Construction`,`🏢`],[`Nuclear Electric Power Generation`,`☢️`],[`Nursing Homes and Residential Care Facilities`,`🏥`],[`Office Administration`,`🗂️`],[`Office Furniture and Fixtures Manufacturing`,`🪑`],[`Oil Extraction`,`🛢️`],[`Oil and Coal Product Manufacturing`,`🛢️`],[`Oil and Gas`,`🛢️`],[`Oil, Gas, and Mining`,`⛏️`],[`Online Audio and Video Media`,`🎥`],[`Online and Mail Order Retail`,`📦`],[`Operations Consulting`,`💼`],[`Optometrists`,`👓`],[`Outpatient Care Centers`,`🏥`],[`Outsourcing and Offshoring Consulting`,`🌐`],[`Packaging and Containers Manufacturing`,`📦`],[`Paint, Coating, and Adhesive Manufacturing`,`🎨`],[`Paper and Forest Product Manufacturing`,`📄`],[`Pension Funds`,`💰`],[`Performing Arts`,`🎭`],[`Performing Arts and Spectator Sports`,`🎭`],[`Periodical Publishing`,`📰`],[`Personal Care Product Manufacturing`,`🧴`],[`Personal Care Services`,`💆`],[`Personal and Laundry Services`,`🧺`],[`Pet Services`,`🐾`],[`Pharmaceutical Manufacturing`,`💊`],[`Philanthropic Fundraising Services`,`🎗️`],[`Photography`,`📷`],[`Physical, Occupational and Speech Therapists`,`🤸`],[`Physicians`,`👨⚕️`],[`Pipeline Transportation`,`🛢️`],[`Plastics Manufacturing`,`🛢️`],[`Plastics and Rubber Product Manufacturing`,`🧰`],[`Political Organizations`,`🗳️`],[`Postal Services`,`📮`],[`Primary Metal Manufacturing`,`🔩`],[`Primary and Secondary Education`,`🏫`],[`Printing Services`,`🖨️`],[`Professional Organizations`,`🤝`],[`Professional Services`,`💼`],[`Professional Training and Coaching`,`🎓`],[`Public Assistance Programs`,`🤲`],[`Public Health`,`🏥`],[`Public Policy Offices`,`🏛️`],[`Public Relations and Communications Services`,`📰`],[`Public Safety`,`🚨`],[`Racetracks`,`🏁`],[`Radio and Television Broadcasting`,`📻`],[`Rail Transportation`,`🚆`],[`Railroad Equipment Manufacturing`,`🚂`],[`Ranching`,`🐄`],[`Ranching and Fisheries`,`🐟`],[`Real Estate`,`🏠`],[`Real Estate Agents and Brokers`,`🔑`],[`Real Estate and Equipment Rental Services`,`🏘️`],[`Recreational Facilities`,`🎳`],[`Regenerative Design`,`♻️`],[`Religious Institutions`,`⛪`],[`Renewable Energy Equipment Manufacturing`,`🔋`],[`Renewable Energy Power Generation`,`🌞`],[`Renewable Energy Semiconductor Manufacturing`,`🔋`],[`Repair and Maintenance`,`🔧`],[`Research Services`,`🔬`],[`Residential Building Construction`,`🏠`],[`Restaurants`,`🍽️`],[`Retail`,`🛍️`],[`Retail Apparel and Fashion`,`👗`],[`Retail Appliances, Electrical, and Electronic Equipment`,`📺`],[`Retail Art Dealers`,`🖼️`],[`Retail Art Supplies`,`🎨`],[`Retail Books and Printed News`,`📚`],[`Retail Building Materials and Garden Equipment`,`🪴`],[`Retail Florists`,`💐`],[`Retail Furniture and Home Furnishings`,`🛋️`],[`Retail Gasoline`,`⛽`],[`Retail Groceries`,`🛒`],[`Retail Health and Personal Care Products`,`🧴`],[`Retail Luxury Goods and Jewelry`,`💎`],[`Retail Motor Vehicles`,`🚗`],[`Retail Musical Instruments`,`🎸`],[`Retail Office Equipment`,`🖨️`],[`Retail Office Supplies and Gifts`,`🎁`],[`Retail Pharmacies`,`💊`],[`Retail Recyclable Materials & Used Merchandise`,`♻️`],[`Reupholstery and Furniture Repair`,`🪑`],[`Robot Manufacturing`,`🤖`],[`Robotics Engineering`,`🤖`],[`Rubber Products Manufacturing`,`🛞`],[`Satellite Telecommunications`,`🛰️`],[`Savings Institutions`,`🏦`],[`School and Employee Bus Services`,`🚌`],[`Seafood Product Manufacturing`,`🐟`],[`Secretarial Schools`,`📋`],[`Securities and Commodity Exchanges`,`📈`],[`Security Guards and Patrol Services`,`👮`],[`Security Systems Services`,`🔒`],[`Security and Investigations`,`🕵️`],[`Semiconductor Manufacturing`,`💾`],[`Services for Renewable Energy`,`🌞`],[`Services for the Elderly and Disabled`,`👴`],[`Sheet Music Publishing`,`🎼`],[`Shipbuilding`,`🚢`],[`Shuttles and Special Needs Transportation Services`,`🚐`],[`Sightseeing Transportation`,`🚌`],[`Skiing Facilities`,`⛷️`],[`Smart Meter Manufacturing`,`📟`],[`Soap and Cleaning Product Manufacturing`,`🧼`],[`Social Networking Platforms`,`💬`],[`Software Development`,`💻`],[`Solar Electric Power Generation`,`☀️`],[`Sound Recording`,`🎙️`],[`Space Research and Technology`,`🚀`],[`Specialty Trade Contractors`,`🔨`],[`Spectator Sports`,`🏟️`],[`Sporting Goods Manufacturing`,`🏀`],[`Sports Teams and Clubs`,`⚽`],[`Sports and Recreation Instruction`,`🏃`],[`Spring and Wire Product Manufacturing`,`🔩`],[`Staffing and Recruiting`,`🎯`],[`Steam and Air-Conditioning Supply`,`♨️`],[`Strategic Management Services`,`🎯`],[`Subdivision of Land`,`🗺️`],[`Sugar and Confectionery Product Manufacturing`,`🍬`],[`Surveying and Mapping Services`,`🗺️`],[`Taxi and Limousine Services`,`🚕`],[`Technical and Vocational Training`,`🎓`],[`Technology, Information and Internet`,`💻`],[`Technology, Information and Media`,`📡`],[`Telecommunications`,`📡`],[`Telecommunications Carriers`,`📶`],[`Telephone Call Centers`,`📞`],[`Temporary Help Services`,`👷`],[`Textile Manufacturing`,`🧵`],[`Theater Companies`,`🎭`],[`Think Tanks`,`🧠`],[`Tobacco Manufacturing`,`🚬`],[`Translation and Localization`,`🌐`],[`Transportation Equipment Manufacturing`,`🚛`],[`Transportation Programs`,`🚆`],[`Transportation, Logistics, Supply Chain and Storage`,`🚚`],[`Travel Arrangements`,`🧳`],[`Truck Transportation`,`🚛`],[`Trusts and Estates`,`📜`],[`Turned Products and Fastener Manufacturing`,`🔩`],[`Urban Transit Services`,`🚇`],[`Utilities`,`💡`],[`Utilities Administration`,`📋`],[`Utility System Construction`,`🏗️`],[`Vehicle Repair and Maintenance`,`🔧`],[`Venture Capital and Private Equity Principals`,`💰`],[`Veterinary Services`,`🐾`],[`Vocational Rehabilitation Services`,`🦽`],[`Warehousing and Storage`,`🏬`],[`Waste Collection`,`🗑️`],[`Waste Treatment and Disposal`,`♻️`],[`Water Supply and Irrigation Systems`,`💧`],[`Water, Waste, Steam, and Air Conditioning Services`,`💧`],[`Wellness and Fitness Services`,`🧘`],[`Wholesale`,`📦`],[`Wholesale Alcoholic Beverages`,`🍷`],[`Wholesale Apparel and Sewing Supplies`,`🧵`],[`Wholesale Appliances, Electrical, and Electronics`,`📺`],[`Wholesale Building Materials`,`🧱`],[`Wholesale Chemical and Allied Products`,`🧪`],[`Wholesale Computer Equipment`,`💻`],[`Wholesale Drugs and Sundries`,`💊`],[`Wholesale Food and Beverage`,`🥫`],[`Wholesale Footwear`,`👟`],[`Wholesale Furniture and Home Furnishings`,`🛋️`],[`Wholesale Hardware, Plumbing, Heating Equipment`,`🔧`],[`Wholesale Import and Export`,`🌐`],[`Wholesale Luxury Goods and Jewelry`,`💎`],[`Wholesale Machinery`,`🏭`],[`Wholesale Metals and Minerals`,`⚙️`],[`Wholesale Motor Vehicles and Parts`,`🚗`],[`Wholesale Paper Products`,`📄`],[`Wholesale Petroleum and Petroleum Products`,`🛢️`],[`Wholesale Photography Equipment and Supplies`,`📷`],[`Wholesale Raw Farm Products`,`🌾`],[`Wholesale Recyclable Materials`,`♻️`],[`Wind Electric Power Generation`,`🌬️`],[`Wineries`,`🍷`],[`Wireless Services`,`📶`],[`Women's Handbag Manufacturing`,`👜`],[`Wood Product Manufacturing`,`🪵`],[`Writing and Editing`,`✍️`],[`Zoos and Botanical Gardens`,`🦒`]]),zg=e=>e.map(e=>({value:e,label:e})),Bg=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),Vg=e=>e.map(([e,t,n])=>({value:e,label:t,widgets:{emoji:{char:n}}})),Hg=zg([`1-10`,`11-50`,`51-200`,`201-500`,`501-1,000`,`1,001-5,000`,`5,001-10,000`,`10,001+`]),Ug=zg([`1-500`,`501-1000`,`1001-5000`,`5001-10000`,`10001-30000`,`30000+`]),Wg=zg([`Series A`,`Series B`,`Series C`,`Series D`]),Gg=zg([`Self-employed`,`1-10`,`11-50`,`51-200`,`201-500`,`501-1,000`,`1,001-5,000`,`5,001-10,000`,`10,001+`]),Kg=[{value:`Arabic`,label:`Arabic`,widgets:{emoji:{char:`🇸🇦`}}},{value:`English`,label:`English`,widgets:{emoji:{char:`🇬🇧`}}},{value:`Spanish`,label:`Spanish`,widgets:{emoji:{char:`🇪🇸`}}},{value:`Portuguese`,label:`Portuguese`,widgets:{emoji:{char:`🇵🇹`}}},{value:`Chinese`,label:`Chinese`,widgets:{emoji:{char:`🇨🇳`}}},{value:`French`,label:`French`,widgets:{emoji:{char:`🇫🇷`}}},{value:`Italian`,label:`Italian`,widgets:{emoji:{char:`🇮🇹`}}},{value:`Russian`,label:`Russian`,widgets:{emoji:{char:`🇷🇺`}}},{value:`German`,label:`German`,widgets:{emoji:{char:`🇩🇪`}}},{value:`Dutch`,label:`Dutch`,widgets:{emoji:{char:`🇳🇱`}}},{value:`Turkish`,label:`Turkish`,widgets:{emoji:{char:`🇹🇷`}}},{value:`Tagalog`,label:`Tagalog`,widgets:{emoji:{char:`🇵🇭`}}},{value:`Polish`,label:`Polish`,widgets:{emoji:{char:`🇵🇱`}}},{value:`Korean`,label:`Korean`,widgets:{emoji:{char:`🇰🇷`}}},{value:`Japanese`,label:`Japanese`,widgets:{emoji:{char:`🇯🇵`}}},{value:`Malay`,label:`Malay`,widgets:{emoji:{char:`🇲🇾`}}},{value:`Norwegian`,label:`Norwegian`,widgets:{emoji:{char:`🇳🇴`}}},{value:`Danish`,label:`Danish`,widgets:{emoji:{char:`🇩🇰`}}},{value:`Romanian`,label:`Romanian`,widgets:{emoji:{char:`🇷🇴`}}},{value:`Swedish`,label:`Swedish`,widgets:{emoji:{char:`🇸🇪`}}},{value:`Bahasa Indonesia`,label:`Bahasa Indonesia`,widgets:{emoji:{char:`🇮🇩`}}},{value:`Czech`,label:`Czech`,widgets:{emoji:{char:`🇨🇿`}}}],qg=zg([`Owner / Partner`,`CXO`,`Vice President`,`Director`,`Experienced Manager`,`Entry Level Manager`,`Strategic`,`Senior`,`Entry Level`,`In Training`]),Jg=zg([`Less than 1 year`,`1 to 2 years`,`3 to 5 years`,`6 to 10 years`,`More than 10 years`]),Yg=zg([`Less than 1 year`,`1 to 2 years`,`3 to 5 years`,`6 to 10 years`,`More than 10 years`]),Xg=zg([`Less than 1 year`,`1 to 2 years`,`3 to 5 years`,`6 to 10 years`,`More than 10 years`]),Zg=Bg([[`Accounting`,`📊`],[`Administrative`,`📋`],[`Arts and Design`,`🎨`],[`Business Development`,`📈`],[`Community and Social Services`,`🫂`],[`Consulting`,`💼`],[`Education`,`🎓`],[`Engineering`,`🛠️`],[`Entrepreneurship`,`🚀`],[`Finance`,`💰`],[`Healthcare Services`,`🏥`],[`Human Resources`,`👥`],[`Information Technology`,`💻`],[`Legal`,`⚖️`],[`Marketing`,`📣`],[`Media and Communication`,`📺`],[`Military and Protective Services`,`🛡️`],[`Operations`,`⚙️`],[`Product Management`,`📦`],[`Program and Project Management`,`📅`],[`Purchasing`,`🛒`],[`Quality Assurance`,`✅`],[`Real Estate`,`🏘️`],[`Research`,`🔬`],[`Sales`,`💸`],[`Customer Success and Support`,`🎧`]]),Qg=Bg([[`Public Company`,`📈`],[`Privately Held`,`🔒`],[`Non Profit`,`💝`],[`Educational Institution`,`🎓`],[`Partnership`,`🤝`],[`Self Employed`,`👤`],[`Self Owned`,`🪪`],[`Government Agency`,`🏛️`]]),$g=zg([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),e_=zg([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),t_=Vg([[`angel`,`Angel`,`😇`],[`convertible_note`,`Convertible Note`,`📜`],[`corporate_round`,`Corporate Round`,`🏢`],[`debt_financing`,`Debt Financing`,`💳`],[`equity_crowdfunding`,`Equity Crowdfunding`,`🌐`],[`grant`,`Grant`,`🎁`],[`initial_coin_offering`,`Initial Coin Offering`,`🪙`],[`non_equity_assistance`,`Non Equity Assistance`,`🤲`],[`post_ipo_debt`,`Post IPO Debt`,`🏛️`],[`post_ipo_equity`,`Post IPO Equity`,`📊`],[`post_ipo_secondary`,`Post IPO Secondary`,`🔁`],[`pre_seed`,`Pre Seed`,`🌱`],[`private_equity`,`Private Equity`,`💼`],[`product_crowdfunding`,`Product Crowdfunding`,`📦`],[`secondary_market`,`Secondary Market`,`🔄`],[`seed`,`Seed`,`🌿`],[`series_a`,`Series A`,`1️⃣`],[`series_b`,`Series B`,`2️⃣`],[`series_c`,`Series C`,`3️⃣`],[`series_d`,`Series D`,`4️⃣`],[`series_e`,`Series E`,`5️⃣`],[`series_f`,`Series F`,`6️⃣`],[`series_g`,`Series G`,`7️⃣`],[`series_h`,`Series H`,`8️⃣`],[`series_i`,`Series I`,`9️⃣`],[`series_j`,`Series J`,`🔟`],[`series_unknown`,`Series Unknown`,`❓`],[`undisclosed`,`Undisclosed`,`🤐`]]),n_=(e=>e.map(e=>({value:e,label:e})))(`Abrasives and Nonmetallic Minerals Manufacturing.Accessible Architecture and Design.Accessible Hardware Manufacturing.Accommodation and Food Services.Accounting.Administration of Justice.Administrative and Support Services.Advertising Services.Agriculture.Air, Water, and Waste Program Management.Airlines and Aviation.Alternative Dispute Resolution.Alternative Fuel Vehicle Manufacturing.Alternative Medicine.Ambulance Services.Amusement Parks and Arcades.Animal Feed Manufacturing.Animation.Animation and Post-production.Apparel & Fashion.Apparel Manufacturing.Appliances, Electrical, and Electronics Manufacturing.Architectural and Structural Metal Manufacturing.Architecture and Planning.Armed Forces.Artificial Rubber and Synthetic Fiber Manufacturing.Artists and Writers.Arts.Arts & Crafts.Audio and Video Equipment Manufacturing.Automation Machinery Manufacturing.Automotive.Aviation & Aerospace.Aviation and Aerospace Component Manufacturing.Baked Goods Manufacturing.Banking.Bars, Taverns, and Nightclubs.Bed-and-Breakfasts, Hostels, Homestays.Beverage Manufacturing.Biomass Electric Power Generation.Biotechnology.Biotechnology Research.Blockchain Services.Boilers, Tanks, and Shipping Container Manufacturing.Book and Periodical Publishing.Book Publishing.Breweries.Broadcast Media Production and Distribution.Building Construction.Building Equipment Contractors.Building Finishing Contractors.Building Materials.Building Structure and Exterior Contractors.Business Consulting and Services.Business Content.Business Intelligence Platforms.Business Intelligence-platforms.Business Supplies & Equipment.Cable and Satellite Programming.Callcenters.Capital Markets.Caterer.Catering.Chemical Manufacturing.Chemical Raw Materials Manufacturing.Child Day Care Services.Circuses and Magic Shows.Civic and Social Organizations.Civil Engineering.Claims Adjusting, Actuarial Services.Clay and Refractory Products Manufacturing.Climate Data and Analytics.Climate Technology Product Manufacturing.Coal Mining.Collection Agencies.Commercial and Industrial Equipment Rental.Commercial and Industrial Machinery Maintenance.Commercial and Service Industry Machinery Manufacturing.Commercial Real Estate.Communications Equipment Manufacturing.Community Development and Urban Planning.Community Services.Computer and Network Security.Computer Games.Computer Hardware.Computer Hardware Manufacturing.Computer Networking.Computer Networking Products.Computerhardware.Computers and Electronics Manufacturing.Conservation Programs.Construction.Construction Hardware Manufacturing.Consulting outsourcing en offshoring.Consumer Electronics.Consumer Goods.Consumer Goods Rental.Consumer Services.Correctional Institutions.Cosmetics.Cosmetology and Barber Schools.Courts of Law.Credit Intermediation.Cutlery and Handtool Manufacturing.Dairy.Dairy Product Manufacturing.Dance Companies.Data Infrastructure and Analytics.Data Security Software Products.Defense & Space.Defense and Space Manufacturing.Dentists.Design.Design Services.Desktop Computing Software Products.Detailhandel meubilair en interieur.Digital Accessibility Services.Distilleries.E-learning.E-Learning.E-Learning Providers.Economic Programs.Education.Education Administration Programs.Education Management.Electric Lighting Equipment Manufacturing.Electric Power Generation.Electric Power Transmission, Control, and Distribution.Electrical Equipment Manufacturing.Electronic and Precision Equipment Maintenance.Embedded Software Products.Emergency and Relief Services.Engineering Services.Engines and Power Transmission Equipment Manufacturing.Enquêteurs d’assurances et services actuariels.Enregistrement sonore.Entertainment.Entertainment Providers.Environmental Quality Programs.Environmental Services.Equipment Rental Services.Events Services.Executive Offices.Executive Search Services.Fabricated Metal Products.Facilities Services.Family Planning Centers.Farming.Farming, Ranching, Forestry.Fashion Accessories Manufacturing.Financial Services.Fine Art.Fine Arts Schools.Fire Protection.Fisheries.Flight Training.Food & Beverages.Food and Beverage Manufacturing.Food and Beverage Retail.Food and Beverage Services.Food Production.Footwear and Leather Goods Repair.Footwear Manufacturing.Forestry and Logging.Fossil Fuel Electric Power Generation.Freight and Package Transportation.Fruit and Vegetable Preserves Manufacturing.Fuel Cell Manufacturing.Fundraising.Funds and Trusts.Furniture.Furniture and Home Furnishings Manufacturing.Gambling Facilities and Casinos.Geothermal Electric Power Generation.Glass Product Manufacturing.Glass, Ceramics and Concrete Manufacturing.Golf Courses and Country Clubs.Government Administration.Government Relations.Government Relations Services.Graphic Design.Groothandel machines.Ground Passenger Transportation.Health and Human Services.Health, Wellness & Fitness.Higher Education.Highway, Street, and Bridge Construction.Historical Sites.Holding Companies.Home Health Care Services.Hospitality.Hospitals.Hospitals and Health Care.Hotels and Motels.Household and Institutional Furniture Manufacturing.Household Appliance Manufacturing.Household Services.Housing and Community Development.Housing Programs.Human resources.Human Resources.Human Resources Services.HVAC and Refrigeration Equipment Manufacturing.Hydroelectric Power Generation.Import & Export.Import en export.Incassobureaus.Individual and Family Services.Industrial Automation.Industrial Machinery Manufacturing.Industries extractives.Industry Associations.Information Services.Information Technology & Services.Insurance.Insurance Agencies and Brokerages.Insurance and Employee Benefit Funds.Insurance Carriers.Interior Design.International Affairs.International Trade and Development.Internet Marketplace Platforms.Internet News.Internet Publishing.Internet-Publishing.Internetmedia.Interurban and Rural Bus Services.Investment Advice.Investment Banking.Investment Management.IT Services and IT Consulting.IT System Custom Software Development.IT System Data Services.IT System Design Services.IT System Installation and Disposal.IT System Operations and Maintenance.IT System Testing and Evaluation.IT System Training and Support.IT-services en consultancy.Janitorial Services.Landscaping Services.Language Schools.Law Enforcement.Law Practice.Legal Services.Legislative Offices.Libraries.LKW-Transport.Loan Brokers.Luxury Goods & Jewelry.Machinery Manufacturing.Magnetic and Optical Media Manufacturing.Manufacturing.Maritime.Maritime Transportation.Market Research.Marketing Services.Maroquinerie.Mattress and Blinds Manufacturing.Measuring and Control Instrument Manufacturing.Meat Products Manufacturing.Mechanical Or Industrial Engineering.Media and Telecommunications.Media Production.Medical and Diagnostic Laboratories.Medical Device.Medical Equipment Manufacturing.Medical Practices.Mental Health Care.Metal Ore Mining.Metal Treatments.Metal Valve, Ball, and Roller Manufacturing.Military and International Affairs.Mining.Mobile Computing Software Products.Mobile Food Services.Mobile Gaming Apps.Motor Vehicle Manufacturing.Movies and Sound Recording.Movies, Videos, and Sound.Museums.Museums, Historical Sites, and Zoos.Music.Musicians.Nanotechnology Research.Natural Gas Distribution.Natural Gas Extraction.Newspaper Publishing.Non-profit Organization Management.Non-profit Organizations.Nonmetallic Mineral Mining.Nonresidential Building Construction.Nuclear Electric Power Generation.Nursing Homes and Residential Care Facilities.Office Administration.Office Furniture and Fixtures Manufacturing.Oil and Gas.Oil Extraction.Oil, Gas, and Mining.Online and Mail Order Retail.Online Audio and Video Media.Online media.Online Media.Operations Consulting.Operations management consulting.Optometrists.Outpatient Care Centers.Outsourcing and Offshoring Consulting.Outsourcing/Offshoring.Packaging & Containers.Packaging and Containers Manufacturing.Paint, Coating, and Adhesive Manufacturing.Paper & Forest Products.Paper and Forest Product Manufacturing.Pension Funds.Performing Arts.Performing Arts and Spectator Sports.Periodical Publishing.Personal and Laundry Services.Personal Care Product Manufacturing.Personal Care Services.Pet Services.Pharmaceutical Manufacturing.Philanthropic Fundraising Services.Philanthropy.Photography.Physical, Occupational and Speech Therapists.Physicians.Pipeline Transportation.Plastics and Rubber Product Manufacturing.Plastics Manufacturing.Political Organizations.Postal Services.Primary and Secondary Education.Primary Metal Manufacturing.Printing Services.Professional Organizations.Professional Services.Professional Training and Coaching.Program Development.Public Assistance Programs.Public Health.Public Policy.Public Policy Offices.Public Relations and Communications Services.Public Safety.Racetracks.Radio and Television Broadcasting.Rail Transportation.Railroad Equipment Manufacturing.Ranching.Ranching and Fisheries.Real Estate.Real Estate Agents and Brokers.Real Estate and Equipment Rental Services.Recreational Facilities.Regenerative Design.Religious Institutions.Renewable Energy Equipment Manufacturing.Renewable Energy Power Generation.Renewable Energy Semiconductor Manufacturing.Renewables & Environment.Repair and Maintenance.Research.Research Services.Residential Building Construction.Restaurants.Restauration collective.Retail.Retail Apparel and Fashion.Retail Appliances, Electrical, and Electronic Equipment.Retail Art Dealers.Retail Art Supplies.Retail Books and Printed News.Retail Building Materials and Garden Equipment.Retail Florists.Retail Furniture and Home Furnishings.Retail Gasoline.Retail Groceries.Retail Health and Personal Care Products.Retail Luxury Goods and Jewelry.Retail Motor Vehicles.Retail Musical Instruments.Retail Office Equipment.Retail Office Supplies and Gifts.Retail Pharmacies.Retail Recyclable Materials & Used Merchandise.Reupholstery and Furniture Repair.Robot Manufacturing.Robotics engineering.Robotics Engineering.Rubber Products Manufacturing.Satellite Telecommunications.Savings Institutions.School and Employee Bus Services.Secretarial Schools.Securities and Commodity Exchanges.Security and Investigations.Security Guards and Patrol Services.Security Systems Services.Semiconductor Manufacturing.Semiconductors.Services for Renewable Energy.Services for the Elderly and Disabled.Services strategisch management.Sheet Music Publishing.Shipbuilding.Shuttles and Special Needs Transportation Services.Sightseeing Transportation.Skiing Facilities.Smart Meter Manufacturing.Soap and Cleaning Product Manufacturing.Social Networking Platforms.Software Development.Solar Electric Power Generation.Sound Recording.Space Research and Technology.Specialty Trade Contractors.Spectator Sports.Sporting Goods.Sporting Goods Manufacturing.Sports and Recreation Instruction.Sports Teams and Clubs.Spring and Wire Product Manufacturing.Staffing and Recruiting.Steam and Air-Conditioning Supply.Strategic Management Services.Subdivision of Land.Sugar and Confectionery Product Manufacturing.Surveying and Mapping Services.Taxi and Limousine Services.Technical and Vocational Training.Technology, Information and Internet.Technology, Information and Media.Telecommunications.Telecommunications Carriers.Telephone Call Centers.Temporary Help Services.Textile Manufacturing.Theater Companies.Think tanks.Think Tanks.Tobacco.Tobacco Manufacturing.Translation and Localization.Transport aérien.Transport maritime.Transportation Equipment Manufacturing.Transportation Programs.Transportation, Logistics, Supply Chain and Storage.Transportation/Trucking/Railroad.Travel Arrangements.Truck Transportation.Trusts and Estates.Turned Products and Fastener Manufacturing.Urban Transit Services.Utilities.Utilities Administration.Utility System Construction.Vehicle Repair and Maintenance.Venture Capital and Private Equity Principals.Veterinary.Veterinary Services.Vocational Rehabilitation Services.Warehousing.Warehousing and Storage.Waste Collection.Waste Treatment and Disposal.Water Supply and Irrigation Systems.Water, Waste, Steam, and Air Conditioning Services.Wellness and Fitness Services.Wholesale.Wholesale Alcoholic Beverages.Wholesale Apparel and Sewing Supplies.Wholesale Appliances, Electrical, and Electronics.Wholesale Building Materials.Wholesale Chemical and Allied Products.Wholesale Computer Equipment.Wholesale Drugs and Sundries.Wholesale Food and Beverage.Wholesale Footwear.Wholesale Furniture and Home Furnishings.Wholesale Hardware, Plumbing, Heating Equipment.Wholesale Import and Export.Wholesale Luxury Goods and Jewelry.Wholesale Machinery.Wholesale Metals and Minerals.Wholesale Motor Vehicles and Parts.Wholesale Paper Products.Wholesale Petroleum and Petroleum Products.Wholesale Photography Equipment and Supplies.Wholesale Raw Farm Products.Wholesale Recyclable Materials.Wind Electric Power Generation.Wine & Spirits.Wineries.Wireless Services.Women's Handbag Manufacturing.Wood Product Manufacturing.Writing and Editing.Zoos and Botanical Gardens`.split(`.`)),r_={locations:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crustdata/regions.csv`,filter:`ranked`,columns:{value:0,weight:1,widgets:2}},company_names:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/company_names.csv`,filter:`contains`,columns:{value:0,weight:1}},company_domains:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/company_domains.csv`,filter:`contains`,columns:{value:0,weight:1}},schools:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/schools.csv`,filter:`ranked`,columns:{value:0,weight:1}},countries:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/countries.csv`,filter:`contains`,columns:{value:0,label:0,widgets:1}},titles:{type:`csv`,filter:`ranked`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/titles.csv`,columns:{value:0,label:0,weight:1,widgets:2}},"company.crunchbase_categories.crustdata":{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crunchbase/categories.csv`,filter:`contains`},"company.crunchbase_investors.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crunchbase/investors.csv`},"company.tracxn_investors.crustdata":{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/tracxn/investors.csv`,filter:`contains`},"linkedin_industries.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crustdata/linkedin_industries.csv`,columns:{label:0,value:0,widgets:1}},"company.markets.crustdata":{type:`provider`,provider:`crustdata`,resolve:kg(`companydb`,`markets`)},"company.linkedin_categories.crustdata":{type:`provider`,provider:`crustdata`,resolve:kg(`companydb`,`linkedin_categories`)},skills:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/skills.csv`,filter:`contains`},"person.current_employer_names.crustdata":{type:`provider`,provider:`crustdata`,resolve:kg(`persondb`,`current_employers.name`)},"person.current_employer_titles.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/titles.csv`},"person.past_employer_names.crustdata":{type:`provider`,provider:`crustdata`,resolve:kg(`persondb`,`past_employers.name`)},"person.past_employer_titles.crustdata":{type:`csv`,filter:`contains`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/titles.csv`},"person.education_field_of_study.crustdata":{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/crustdata/field_of_study.csv`,filter:`ranked`},"person.education_degree.crustdata":{type:`provider`,provider:`crustdata`,resolve:kg(`persondb`,`education_background.degree_name`)},"person.education_activities.crustdata":{type:`provider`,provider:`crustdata`,resolve:kg(`persondb`,`education_background.activities_and_societies`)},"amplemarket.company_types":{type:`static`,filter:`contains`,values:Mg},"amplemarket.company_size":{type:`static`,filter:`contains`,values:Ng},"amplemarket.seniority_levels":{type:`static`,filter:`contains`,values:Pg},"amplemarket.departments":{type:`static`,filter:`contains`,values:Fg},"amplemarket.company_revenue":{type:`static`,filter:`contains`,values:Ig},"amplemarket.job_functions":{type:`static`,filter:`contains`,values:Lg},"amplemarket.industries":{type:`static`,filter:`contains`,values:Rg},"crustdata.company_size":{type:`static`,filter:`contains`,values:Hg},"crustdata.company_followers":{type:`static`,filter:`contains`,values:Ug},"crustdata.funding_rounds":{type:`static`,filter:`contains`,values:Wg},"crustdata.person_company_size":{type:`static`,filter:`contains`,values:Gg},"crustdata.person_profile_languages":{type:`static`,filter:`contains`,values:Kg},"crustdata.person_seniority":{type:`static`,filter:`contains`,values:qg},"crustdata.person_years_at_current_company":{type:`static`,filter:`contains`,values:Jg},"crustdata.person_years_in_current_position":{type:`static`,filter:`contains`,values:Yg},"crustdata.years_of_experience":{type:`static`,filter:`contains`,values:Xg},"crustdata.functions":{type:`static`,filter:`contains`,values:Zg},"crustdata.company_types":{type:`static`,filter:`contains`,values:Qg},"crustdata.headcount_growth":{type:`static`,filter:`contains`,values:$g},"crustdata.follower_growth":{type:`static`,filter:`contains`,values:e_},"crustdata.last_funding_round_type":{type:`static`,filter:`contains`,values:t_},"linkedin.industries":{type:`static`,filter:`contains`,values:n_}};r.enum(Object.keys(r_));function Z(e,t){let n=r_[e];if(!n)throw Error(`Autocomplete: Source for key: ${e} is not defined`);return{options:async({query:n,limit:r,token:i})=>{let a=await fetch(`https://autocomplete.pipe0.com/v1/complete`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${i}`},body:JSON.stringify({source:e,query:n,limit:t?.limit??r??20})});if(!a.ok)throw Error(`Autocomplete failed`);return(await a.json()).results},type:n.type,file:`url`in n?n.url:void 0,widgets:t?.widgets}}function Q(e){let t=r_[e];if(!t)throw Error(`Autocomplete: source "${e}" is not defined`);if(t.type!==`static`)throw Error(`Autocomplete: source "${e}" is not static (type=${t.type}); use autocomplete() instead`);return t.values.map(e=>({value:e.value,label:e.label,widgets:e.widgets}))}function i_(e){return{type:`static`,options:Q(e)}}function a_(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 o_(e,t){let n={name:e,config:t};return $i.hashObject(n)}var s_=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 o_(this.searchId,this.payload)}};function c_(e){return e.split(`@`)[0]}function l_(e){return`/docs/searches/searches-catalog/${c_(e)}/${e.split(`@`)[1]}`}const u_=`companies:profiles:amplemarket@1`,d_=h(`company_name`),f_=h(`company_website_url`),p_=h(`company_description`),m_=h(`company_profile_url`),h_=h(`amplemarket_company_match`),g_=r.object({search_id:r.literal(u_),connector:g.nullable().optional(),config:r.object({limit:F({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,sectionKey:`pagination`}),page_number:F({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:I(r.object({[d_.name]:j({fieldName:d_.name}),[f_.name]:j({fieldName:f_.name}),[p_.name]:j({fieldName:p_.name}),[m_.name]:j({fieldName:m_.name}),[h_.name]:j({fieldName:h_.name})})),filters:r.object({hq_locations:P({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:J(`location`),groupPath:`config.filters.location`,optionsDef:Z(`locations`)}),company_names:k({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:J(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:Z(`company_names`)}),company_website_urls:k({sectionKey:`config.filters`,path:`config.filters.company_website_urls`,label:`Company domains`,description:``,placeholder:J(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:Z(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),company_profile_urls:k({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:Q(`amplemarket.company_types`),required:!1}),investors:N({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:Z(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:J(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}),company_industries:A({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:i_(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:J(`industry`),groupPath:`config.filters.industry`}),customer_types:M({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:k({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}),revenue_groups:M({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:Q(`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:O({path:`config.filters.open_positions_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:J(`title`),suggestionsDef:Z(`titles`)}),headcount:M({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:Q(`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=>{a_(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),__={default:{input:[{fields:[]}]}},v_=class extends s_{searchId=u_;schema=g_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[d_.name]:this.catalogOutput(d_),[f_.name]:this.catalogOutput(f_),[p_.name]:this.catalogOutput(p_),[m_.name]:this.catalogOutput(m_),[h_.name]:this.catalogOutput(h_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return __}},y_=g_,b_={searchId:u_,baseSearch:c_(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[R.COMPANY_PROFILES],docPath:l_(u_),cost:{mode:`per_page`,creditsPerPage:2},provider:`amplemarket`,defaultPayload:{search_id:u_,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:[]}}}}},x_=`companies:profiles:crustdata@1`,S_=h(`company_name`),C_=h(`company_website_url`),w_=h(`company_description`),T_=h(`company_profile_url`),E_=h(`crustdata_company_match`),D_=r.object({search_id:r.literal(x_),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[S_.name]:j({fieldName:S_.name}),[C_.name]:j({fieldName:S_.name}),[w_.name]:j({fieldName:w_.name}),[T_.name]:j({fieldName:T_.name}),[E_.name]:j({fieldName:E_.name})})),filters:r.object({hq_locations:P({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:J(`location`),groupPath:`config.filters.location`,optionsDef:Z(`locations`)}),crunchbase_categories:P({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:J(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:Z(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:P({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:J(`investor`),groupPath:`config.filters.investors`,optionsDef:Z(`company.crunchbase_investors.crustdata`)}),tracxn_investors:P({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:J(`investor`),groupPath:`config.filters.investors`,optionsDef:Z(`company.tracxn_investors.crustdata`)}),company_types:A({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:Q(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}),linkedin_industries:P({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:Z(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:J(`industry`),groupPath:`config.filters.industry`}),markets:P({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:Z(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}),linkedin_categories:P({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:Z(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}),headcount:A({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:Q(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:M({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:Q(`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:A({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:Q(`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:M({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:Q(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:M({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:Q(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:k({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:J(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}),competitor_websites:k({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:``,placeholder:J(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:Z(`company_domains`,{widgets:{emoji:{char:`🌐`}}})})}).check(e=>{a_(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),O_={default:{input:[{fields:[]}]}},k_=class extends s_{searchId=x_;schema=D_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[S_.name]:this.catalogOutput(S_),[C_.name]:this.catalogOutput(C_),[w_.name]:this.catalogOutput(w_),[T_.name]:this.catalogOutput(T_),[E_.name]:this.catalogOutput(E_)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return O_}},A_=D_,j_={searchId:x_,baseSearch:c_(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[R.COMPANY_PROFILES],docPath:l_(x_),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:x_,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:[]}}}}},M_=`people:profiles:amplemarket@1`,N_=h(`name`),P_=h(`company_website_url`),F_=h(`profile_url`),I_=h(`job_title`),L_=h(`amplemarket_person_match`),R_=r.object({search_id:r.literal(M_),connector:g.nullable().optional(),config:r.object({limit:F({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,required:!0,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}),page_number:F({path:`config.page_number`,groupPath:`config.pagination`,required:!1,label:`Page number`,min:1,sectionKey:`pagination`,description:``}),output_fields:I(r.object({[N_.name]:j({fieldName:N_.name}),[P_.name]:j({fieldName:P_.name}),[F_.name]:j({fieldName:F_.name}),[I_.name]:j({fieldName:I_.name}),[L_.name]:j({fieldName:L_.name})})),filters:r.object({person_names:O({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:P({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:Z(`locations`),groupPath:`config.filters.general`}),current_job_titles:O({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:J(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:Z(`titles`)}),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:J(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:Q(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}),current_departments:M({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:J(`department`),disableSearch:!1,required:!1,options:Q(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}),current_job_functions:M({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:J(`job_function`),disableSearch:!1,required:!1,options:Q(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}),current_employer_locations:P({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:Z(`locations`),groupPath:`config.filters.current_company`,placeholder:J(`location`)}),current_employer_names:k({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:J(`company_name`),suggestionsDef:Z(`company_names`)}),current_employer_website_urls:k({path:`config.filters.current_employer_website_urls`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:J(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:Z(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),current_employer_linkedin_industries:M({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:J(`industry`),required:!1,options:Q(`linkedin.industries`)}),current_employer_estimated_revenue:M({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:Q(`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:O({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:J(`investor`),description:``}),current_employer_open_positions_titles:O({path:`config.filters.current_employer_open_positions_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:J(`title`),suggestionsDef:Z(`titles`)}),school_names:P({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:J(`school`),groupPath:`config.filters.education`,optionsDef:Z(`schools`)})}).check(e=>{a_(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),z_={default:{input:[{fields:[]}]}},B_=class extends s_{searchId=M_;schema=R_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[N_.name]:this.catalogOutput(N_),[P_.name]:this.catalogOutput(P_),[F_.name]:this.catalogOutput(F_),[I_.name]:this.catalogOutput(I_),[L_.name]:this.catalogOutput(L_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return z_}},V_=R_,H_={searchId:M_,baseSearch:c_(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[R.PEOPLE_PROFILES],docPath:l_(M_),cost:{mode:`per_page`,creditsPerPage:3,info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:M_,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:[]}}}},U_=`people:profiles:crustdata@1`,W_=h(`name`),G_=h(`company_website_url`),K_=h(`profile_url`),q_=h(`job_title`),J_=h(`crustdata_person_match`),Y_=r.object({search_id:r.literal(U_),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[W_.name]:j({fieldName:W_.name}),[G_.name]:j({fieldName:G_.name}),[K_.name]:j({fieldName:K_.name}),[q_.name]:j({fieldName:q_.name}),[J_.name]:j({fieldName:J_.name})})),filters:r.object({locations:P({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:J(`location`),optionsDef:Z(`locations`),groupPath:`config.filters.general`}),current_job_titles:k({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:J(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:Z(`titles`)}),current_employers:k({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:J(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:Z(`company_names`,{widgets:{emoji:{char:`🏬`}}})}),current_employers_website_urls:k({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Company domain`,placeholder:J(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:Z(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),current_employers_linkedin_industries:P({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:J(`industry`),description:``,optionsDef:Z(`linkedin_industries.crustdata`,{limit:300})}),years_at_current_company:M({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:Q(`crustdata.years_of_experience`)}),previous_employers_website_urls:k({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:J(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:Z(`company_domains`,{widgets:{emoji:{char:`🌐`}}})}),previous_seniority_levels:A({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:J(`seniority`),disableSearch:!0,optionsDef:i_(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:k({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:J(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:Z(`company_names`,{widgets:{emoji:{char:`🏬`}}})}),previous_job_titles:k({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:J(`title`),groupPath:`config.filters.experience`,suggestionsDef:Z(`titles`)}),previous_employers_linkedin_industries:P({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:J(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:Z(`linkedin_industries.crustdata`,{limit:300})}),profile_headline_keywords:k({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:J(`headline_keywords`)}),profile_summary_keywords:k({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:J(`profile_keywords`)}),profile_languages:A({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:J(`languages`),optionsDef:i_(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),languages:A({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:J(`languages_1`),optionsDef:i_(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}),skills:P({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:J(`skills`),groupPath:`config.filters.skills`,optionsDef:Z(`skills`)}),years_of_experience:M({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:Q(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:A({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:J(`seniority`),optionsDef:i_(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),certifications:k({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:J(`certification`),description:``}),honors:k({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:J(`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:P({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:J(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:Z(`person.education_field_of_study.crustdata`)}),degree_names:P({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:J(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:Z(`person.education_degree.crustdata`)}),school_names:P({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:J(`school`),groupPath:`config.filters.education`,optionsDef:Z(`schools`)}),current_school_names:P({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:J(`school`),groupPath:`config.filters.education`,optionsDef:Z(`schools`)}),extracurricular_activities:k({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:J(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:Z(`person.education_activities.crustdata`)})}).check(e=>{a_(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),X_={default:{input:[{fields:[]}]}},Z_=class extends s_{searchId=U_;schema=Y_;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[W_.name]:this.catalogOutput(W_),[G_.name]:this.catalogOutput(G_),[K_.name]:this.catalogOutput(K_),[q_.name]:this.catalogOutput(q_),[J_.name]:this.catalogOutput(J_)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return X_}},Q_=Y_,$_={searchId:U_,baseSearch:c_(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[R.PEOPLE_PROFILES],docPath:l_(U_),cost:{mode:`per_page`,creditsPerPage:5,info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:U_,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:[]}}}}},ev={"people:profiles:crustdata@1":Z_,"companies:profiles:crustdata@1":k_,"people:profiles:amplemarket@1":B_,"companies:profiles:amplemarket@1":v_},tv={"people:profiles:crustdata@1":Q_,"companies:profiles:crustdata@1":A_,"people:profiles:amplemarket@1":V_,"companies:profiles:amplemarket@1":y_},nv={"people:profiles:crustdata@1":$_,"companies:profiles:crustdata@1":j_,"people:profiles:amplemarket@1":H_,"companies:profiles:amplemarket@1":b_};function rv(e){return ev[e]}const iv=t.discriminatedUnion(`search_id`,Object.values(tv).map(e=>e)).openapi(`SearchPayloadSchema`);function av(e,t){return Vi(t,nv[e].defaultPayload)}const ov=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=av(e.search_id);return t?{...e,config:Vi(e?.config||{},t.config)}:e},iv),sv=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:ov}).openapi(`SearchRequestSchema`),cv=Bn,lv=t.object({value:Dn,status:En,type:wn.optional(),format:Un.nullable().optional(),resolved_by:Yn.nullable().optional(),widgets:zn.optional()}),uv=t.record(t.string(),lv.nullable());function dv(e){return tv[e]}const fv=t.enum([`cursor`,`page_number`]),pv=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:Dg,errors:t.array(cv),results:t.array(uv),organization_id:t.string(),next_page:ov.nullable(),pagination_type:fv.nullable(),total_pages:t.int32().nullable()}).openapi(`SearchResponseSchema`);function mv(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function hv(){let e={};for(let t of Object.values(nv)){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=mv(e.searchId);return mv(t.searchId)-n})}),e}function gv(e){return nv[e]}const _v=hv();function vv(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:mv(i.searchId)})}return t}function yv(e){return Object.keys(nv[e].defaultPayload.config.output_fields)}function bv(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 yv(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 xv(e){let t=gv(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}const Sv={"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 Cv({searchPayload:e,sectionOrder:t,formContext:n,groupPathMatch:r=Sv,formResolvers:i}){return ai({schema:dv(e.search_id),groupPathMatch:r,extractFromSchema:e=>v.get(e),sectionOrder:t,store:n,formResolvers:i})}const wv=new Proxy({},{get:(e,t)=>e=>e.type===t}),Tv=`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(`.`),Ev=r.enum(Tv),Dv=r.object({provider_logo:r.object({provider:yn}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:Ev}).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()}),Ov=`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(Ov);const kv=r.object({value:r.string(),label:r.string(),widgets:Dv.optional()}),Av=r.object({field_options:r.record(r.string(),r.object({options:r.array(kv)}))}),jv=[{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}],Mv=new Map(jv.map(e=>[e.id,e]));function Nv(e){return Mv.get(e)}function Pv(){return jv}const Fv={"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:qi({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:aa({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({[Xh.name]:A({fieldName:Xh.name}),[Zh.name]:A({fieldName:Zh.name}),[Qh.name]:A({fieldName:Qh.name})}))})}),eg={"pipe0-http-request":{provider:`pipe0`,allowManagedConnection:!0,credits:.001,mode:`always`}},tg=class extends W{pipeId=Yh;payload;payloadSchema=$h;billableOperations=eg;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 Lm(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Rm(this.getTemplatedFields())}getConstantRequirements(){return zm(this.getTemplatedFields())}getRawOutputFields(){return{[Xh.name]:this.catalogOutput(Xh),[Zh.name]:this.catalogOutput(Zh),[Qh.name]:this.catalogOutput(Qh)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ng=$h,rg={pipeId:Yh,basePipe:G(Yh),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(Yh),billableOperations:eg,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Yh,run_if:null,connector:null,config:{method:`GET`,url:``,query_params:[],body:``,headers:[],expected_response_schema:{},output_fields:{http_response_status:{alias:``,enabled:!0},http_response_body:{alias:``,enabled:!0},http_response_headers:{alias:``,enabled:!1}}}}},ig=`json:extract:multi@1`,ag=r.object({pipe_id:r.literal(ig),run_if:C(),connector:E(),config:r.object({json_extraction:di()})}),og={"pipe0-extract-json":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},sg=class extends W{pipeId=ig;payload;payloadSchema=ag;billableOperations=og;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,isPrimaryOutput:!1};return e}getConnectionsRequirements(){return[]}},cg=ag,lg={pipeId:ig,basePipe:G(ig),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,docPath:K(ig),tags:[V.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:og,defaultInputRequirement:null,defaultPayload:{pipe_id:ig,run_if:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},ug=`message:send:slack@1`,dg=v(`slack_message_success`),fg=[{label:`#demo-general`,value:`C0SANDBOX001`},{label:`#demo-alerts`,value:`C0SANDBOX002`}],pg=r.object({pipe_id:r.literal(ug),connector:Vi(),run_if:C(),config:r.object({channel_id:w({sectionKey:`general`,groupPath:`config.general`,path:`config.channel_id`,label:`Channel ID`,info:"Your connection must be authorized to post to this channel. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`C0123456789`,inputType:`text`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:{requires:{connection:`slack`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return fg;if(!t)throw new Ns.MissingSecretError({providerName:`slack`});let r=await fetch(`https://slack.com/api/conversations.list?limit=200&exclude_archived=true&types=public_channel,private_channel`,{headers:{Authorization:`Bearer ${t}`}});if(!r.ok){let e=await r.text();throw new Ns.HttpError({msg:e})}let i=await r.json();if(!i.ok)throw new Ns.HttpError({msg:i.error??`slack_error`});let a=(i.channels??[]).map(e=>({label:`#${e.name}`,value:e.id}));return e?a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):a},widgets:{provider_logo:{provider:`slack`}}}}),message:w({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:z(r.object({[dg.name]:A({fieldName:dg.name})}))})}),mg={"send-message-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},hg=class extends W{pipeId=ug;payload;payloadSchema=pg;billableOperations=mg;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 Lm(this.getTemplatedFields())}getSecretRequirements(){return Rm(this.getTemplatedFields())}getConstantRequirements(){return zm(this.getTemplatedFields())}getRawOutputFields(){return{[dg.name]:this.catalogOutput(dg)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},gg=pg,_g={pipeId:ug,basePipe:G(ug),label:`Send message into channel`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send a Slack message to a channel.`,detailed_description:"Send a Slack message. The channel ID and message body are templated config fields — reference upstream fields with `{{ field_name }}` and stored secrets with `{{ SECRETS.KEY }}`. Requires a Slack vault connection (call list_connections to find one).",tags:[V.CHAT],docPath:K(ug),billableOperations:mg,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:ug,connector:{strategy:`first`,connections:[]},run_if:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},vg=`message:write@1`,yg=v(`message`),bg=ei(`write-message`),xg=r.object({pipe_id:r.literal(vg),connector:T(),run_if:C(),config:r.object({template:zi({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:X(`prompt`),groupPath:`config.prompt`,required:!0}),model:ta({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:bg}),output_fields:z(r.object({[yg.name]:A({fieldName:yg.name})}))})}),Sg=class extends W{pipeId=vg;payload;payloadSchema=xg;billableOperations=bg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return ti(this.payload.config.model)}estimateBillableOperations(){return[ni(this.payload.config.model,`write-message`)]}getInputRequirement(){return Lm([this.payload.config.template])}getSecretRequirements(){return Rm([this.payload.config.template])}getConstantRequirements(){return zm([this.payload.config.template])}getRawOutputFields(){return{[yg.name]:this.catalogOutput(yg)}}getConnectionsRequirements(){return ri(this.payload.config.model)}},Cg=xg,wg={pipeId:vg,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(vg),label:`Message writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing messages for modern workplace communication platforms (Slack, Teams, Discord, etc.)`,detailed_description:`AI message composer for Slack/Teams/Discord. Outputs: message. Pair with message:send:slack@1 to send.`,tags:[V.AI],docPath:K(vg),defaultInputRequirement:null,billableOperations:bg,allowedUserConnectionProviders:ii(),managedProviders:ii(),deprecatedProviders:[],defaultPayload:{pipe_id:vg,connector:null,run_if:null,config:{model:`openai-gpt-latest`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},Tg=`person:email:validate:millionverifier@1`,Eg=v(`email`),Dg=v(`email_validation_status`),Og=v(`million_validation_match`),kg=r.object({pipe_id:r.literal(Tg),connector:T(),run_if:C(),config:r.object({input_fields:B(r.object({[Eg.name]:D({fieldName:Eg.name})})),output_fields:z(r.object({[Dg.name]:A({fieldName:Dg.name}),[Og.name]:A({fieldName:Og.name})}))}).optional()}),Ag=e=>H(q(Eg,e)),jg={"millionverifier-validate-email":{provider:`millionverifier`,allowManagedConnection:!0,credits:.1,mode:`always`}},Mg=class extends W{pipeId=Tg;payload;payloadSchema=kg;billableOperations=jg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(){return[`millionverifier-validate-email`]}getInputRequirement(){return Ag(this.payload.config)}getRawOutputFields(){return{[Dg.name]:this.catalogOutput(Dg),[Og.name]:this.catalogOutput(Og)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},Ng=kg,Pg={pipeId:Tg,basePipe:G(Tg),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[V.EMAIL],docPath:K(Tg),billableOperations:jg,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:Ag(null),defaultPayload:{pipe_id:Tg,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},Fg=v(`email`),Ig=v(`amplemarket_person_match`),Lg=`person:identity:amplemarket@1`,Rg=r.object({pipe_id:r.literal(Lg),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[Fg.name]:D({fieldName:Fg.name})})),output_fields:z(r.object({[Ig.name]:A({fieldName:Ig.name})}))}).optional()}),zg=e=>H(q(Fg,e)),Bg={"amplemarket-person-identity":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},Vg=class extends W{pipeId=Lg;payload;payloadSchema=Rg;billableOperations=Bg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return zg(this.payload.config)}getRawOutputFields(){return{[Ig.name]:this.catalogOutput(Ig)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Hg=Rg,Ug={pipeId:Lg,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Lg),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(Lg),billableOperations:Bg,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:zg(null),defaultPayload:{pipe_id:Lg,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},Wg=`person:identity:email:waterfall@1`,Gg=v(`email`),Kg=v(`company_domain`),qg=v(`name`),Jg=v(`job_title`),Yg=v(`profile_url`),Xg=v(`company_profile_url`),Zg=v(`company_name`),Qg=[`findymail`,`hunter`,`crustdata`],$g=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],e_=r.object({pipe_id:r.literal(Wg),connector:T(),run_if:C(),config:r.object({providers:O({availableProviders:Qg,defaultProviders:$g,sectionKey:`general`}),input_fields:B(r.object({[Gg.name]:D({fieldName:Gg.name})})),output_fields:z(r.object({[qg.name]:A({fieldName:qg.name}),[Yg.name]:A({fieldName:Yg.name}),[Jg.name]:A({fieldName:Jg.name}),[Kg.name]:A({fieldName:Kg.name}),[Zg.name]:A({fieldName:Zg.name}),[Xg.name]:A({fieldName:Xg.name})}))}).optional()}),t_=e=>H(q(Gg,e)),n_={"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`}},r_=class extends W{pipeId=Wg;payload;payloadSchema=e_;billableOperations=n_;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 t_(this.payload.config)}getRawOutputFields(){return{[qg.name]:this.catalogOutput(qg,{isPrimaryOutput:!0}),[Yg.name]:this.catalogOutput(Yg,{isPrimaryOutput:!0}),[Jg.name]:this.catalogOutput(Jg,{isPrimaryOutput:!0}),[Zg.name]:this.catalogOutput(Zg,{isPrimaryOutput:!0}),[Xg.name]:this.catalogOutput(Xg,{isPrimaryOutput:!0}),[Kg.name]:this.catalogOutput(Kg,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={hunter:`prospeo_email_lookup`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},i_=e_,a_={pipeId:Wg,basePipe:G(Wg),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(Wg),managedProviders:Qg,deprecatedProviders:[],allowedUserConnectionProviders:Qg,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:n_,defaultInputRequirement:t_(null),defaultPayload:{pipe_id:Wg,connector:null,run_if:null,config:{providers:$g,input_fields:{email:{alias:``}},output_fields:{name:{alias:``,enabled:!0},profile_url:{alias:``,enabled:!0},job_title:{alias:``,enabled:!0},company_name:{alias:``,enabled:!0},company_profile_url:{alias:``,enabled:!0},company_domain:{alias:``,enabled:!0}}}}},o_=v(`profile_url`),s_=v(`amplemarket_person_match`),c_=`person:match:amplemarket@1`,l_=r.object({pipe_id:r.literal(c_),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[o_.name]:D({fieldName:o_.name})})),output_fields:z(r.object({[s_.name]:A({fieldName:s_.name})}))}).optional()}),u_=e=>H(q(o_,e)),d_={"amplemarket-person-match":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},f_=class extends W{pipeId=c_;payload;payloadSchema=l_;billableOperations=d_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return u_(this.payload.config)}getRawOutputFields(){return{[s_.name]:this.catalogOutput(s_)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},p_=l_,m_={pipeId:c_,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(c_),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(c_),billableOperations:d_,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:u_(null),defaultPayload:{pipe_id:c_,connector:null,run_if:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},h_=`person:match:role:waterfall@1`,g_=v(`company_domain`),__=v(`role_finder_match`),v_=[`leadmagic`],y_=[{provider:`leadmagic`}],b_=r.object({pipe_id:r.literal(h_),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:y_,availableProviders:v_}),roles:Ki({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:B(r.object({[g_.name]:D({fieldName:g_.name})})),output_fields:z(r.object({[__.name]:A({fieldName:__.name})}))})}),x_=e=>U(q(g_,e)),S_={"leadmagic-find-role":{provider:`leadmagic`,allowManagedConnection:!0,credits:1,mode:`onSuccess`}},C_=class extends W{pipeId=h_;payload;payloadSchema=b_;billableOperations=S_;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 x_(this.payload.config)}getRawOutputFields(){return{[__.name]:this.catalogOutput(__,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},w_=b_,T_={pipeId:h_,basePipe:G(h_),managedProviders:v_,deprecatedProviders:[],allowedUserConnectionProviders:v_,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(h_),billableOperations:S_,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:x_(null),defaultPayload:{pipe_id:h_,run_if:null,connector:null,config:{roles:[],providers:y_,input_fields:{company_domain:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},E_=`person:mobile:profileurl:waterfall@1`,D_=v(`profile_url`),O_=v(`mobile`),k_=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],A_=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],j_=r.object({pipe_id:r.literal(E_),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:A_,availableProviders:k_}),input_fields:B(r.object({[D_.name]:D({fieldName:D_.name})})),output_fields:z(r.object({[O_.name]:A({fieldName:O_.name})}))}).optional()}),M_=e=>H(q(D_,e)),N_={"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`}},P_=class extends W{pipeId=E_;payload;payloadSchema=j_;billableOperations=N_;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 M_(this.payload.config)}getRawOutputFields(){return{[O_.name]:this.catalogOutput(O_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,clado:`clado_contact_information`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},F_=j_,I_={pipeId:E_,basePipe:G(E_),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(E_),tags:[V.PHONE,V.WATERFALL],billableOperations:N_,defaultInputRequirement:M_(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:k_,allowedUserConnectionProviders:k_,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:E_,connector:null,run_if:null,config:{providers:A_,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},L_=`person:mobile:workemail:waterfall@1`,R_=v(`work_email`),z_=v(`mobile`),B_=[`leadmagic`,`amplemarket`],V_=[{provider:`leadmagic`},{provider:`amplemarket`}],H_=r.object({pipe_id:r.literal(L_),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:B_,defaultProviders:V_}),input_fields:B(r.object({[R_.name]:D({fieldName:R_.name})})),output_fields:z(r.object({[z_.name]:A({fieldName:z_.name})}))}).optional()}),U_=e=>H(q(R_,e)),W_={"leadmagic-mobile-from-workemail":{provider:`leadmagic`,allowManagedConnection:!0,credits:2,mode:`onSuccess`},"amplemarket-email-lookup":{provider:`amplemarket`,allowManagedConnection:!0,credits:4,mode:`onSuccess`}},G_=class extends W{pipeId=L_;payload;payloadSchema=H_;billableOperations=W_;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 U_(this.payload.config)}getRawOutputFields(){return{[z_.name]:this.catalogOutput(z_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},K_=H_,q_={pipeId:L_,basePipe:G(L_),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(L_),billableOperations:W_,defaultInputRequirement:U_(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:B_,managedProviders:B_,deprecatedProviders:[],defaultPayload:{pipe_id:L_,connector:null,run_if:null,config:{providers:V_,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},J_=`person:name:join@1`,Y_=v(`first_name`),X_=v(`last_name`),Z_=v(`name`),Q_=r.object({pipe_id:r.literal(J_),run_if:C(),connector:E(),config:r.object({input_fields:B(r.object({[Y_.name]:D({fieldName:Y_.name}),[X_.name]:D({fieldName:X_.name})})),output_fields:z(r.object({[Z_.name]:A({fieldName:Z_.name})}))}).optional()}),$_=e=>xa(q(Y_,e),q(X_,e)),ev={"pipe0-join-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},tv=class extends W{pipeId=J_;payload;payloadSchema=Q_;billableOperations=ev;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-join-name`]}getInputRequirement(){return $_(this.payload.config)}getRawOutputFields(){return{[Z_.name]:this.catalogOutput(Z_)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},nv=Q_,rv={pipeId:J_,basePipe:G(J_),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(J_),billableOperations:ev,defaultInputRequirement:$_(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:J_,run_if:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},iv=`person:name:split@1`,av=v(`name`),ov=v(`first_name`),sv=v(`last_name`),cv=r.object({pipe_id:r.literal(iv),connector:E(),run_if:C(),config:r.object({input_fields:B(r.object({[av.name]:D({fieldName:av.name})})),output_fields:z(r.object({[ov.name]:A({fieldName:ov.name}),[sv.name]:A({fieldName:sv.name})}))}).optional()}),lv=e=>H(q(av,e)),uv={"pipe0-split-name":{provider:`pipe0`,allowManagedConnection:!0,credits:0,mode:`always`}},dv=class extends W{pipeId=iv;payload;payloadSchema=cv;billableOperations=uv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-split-name`]}getInputRequirement(){return lv(this.payload.config)}getRawOutputFields(){return{[ov.name]:this.catalogOutput(ov),[sv.name]:this.catalogOutput(sv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},fv=cv,pv={pipeId:iv,basePipe:G(iv),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(iv),billableOperations:uv,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:lv(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:iv,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},mv=`person:personalemail:profileurl:waterfall@1`,hv=v(`profile_url`),gv=v(`personal_email`),_v=v(`alternate_personal_emails`),vv=[`clado`,`leadmagic`,`mixrank`],yv=[{provider:`leadmagic`},{provider:`mixrank`}],bv=r.object({pipe_id:r.literal(mv),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:vv,defaultProviders:yv}),input_fields:B(r.object({[hv.name]:D({fieldName:hv.name})})),output_fields:z(r.object({[gv.name]:A({fieldName:gv.name}),[_v.name]:A({fieldName:_v.name})}))}).optional()}),xv=e=>H(q(hv,e)),Sv={"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`}},Cv=class extends W{pipeId=mv;payload;payloadSchema=bv;billableOperations=Sv;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 xv(this.payload.config)}getRawOutputFields(){return{[gv.name]:this.catalogOutput(gv,{isPrimaryOutput:!0}),[_v.name]:this.catalogOutput(_v)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,clado:`clado_contact_information`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},wv=bv,Tv={pipeId:mv,basePipe:G(mv),allowedUserConnectionProviders:vv,managedProviders:vv,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(mv),billableOperations:Sv,defaultInputRequirement:xv(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:mv,connector:null,run_if:null,config:{providers:yv,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!1}}}}},Ev=v(`profile_url`),Dv=v(`post_list_string`),Ov=v(`crustdata_post_list`),kv=`person:posts:crustdata@1`,Av=r.object({pipe_id:r.literal(kv),run_if:C(),connector:T(),config:r.object({limit:ra({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({[Ev.name]:D({fieldName:Ev.name})})),output_fields:z(r.object({[Dv.name]:A({fieldName:Dv.name}),[Ov.name]:A({fieldName:Ov.name})}))}).optional()}),jv=e=>H(q(Ev,e)),Mv={"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`}},Nv=class extends W{pipeId=kv;payload;payloadSchema=Av;billableOperations=Mv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-single-post-fetch`]}getInputRequirement(){return jv(this.payload.config)}getRawOutputFields(){return{[Dv.name]:this.catalogOutput(Dv),[Ov.name]:this.catalogOutput(Ov)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},Pv=Av,Fv={pipeId:kv,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(kv),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[V.LINKEDIN],docPath:K(kv),billableOperations:Mv,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:jv(null),defaultPayload:{pipe_id:kv,connector:null,run_if:null,config:{limit:5,input_fields:{profile_url:{alias:``}},output_fields:{crustdata_post_list:{alias:``,enabled:!0},post_list_string:{alias:``,enabled:!0}}}}},Iv=`person:profile:waterfall@1`,Lv=v(`profile`),Rv=v(`profile_url`),zv=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Bv=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Vv=r.object({pipe_id:r.literal(Iv),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,availableProviders:zv,defaultProviders:Bv}),input_fields:B(r.object({[Rv.name]:D({fieldName:Rv.name})})),output_fields:z(r.object({[Lv.name]:A({fieldName:Lv.name})}))}).optional()}),Hv=e=>H(q(Rv,e)),Uv={"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}},Wv=class extends W{pipeId=Iv;payload;payloadSchema=Vv;billableOperations=Uv;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 Hv(this.payload.config)}getRawOutputFields(){return{[Lv.name]:this.catalogOutput(Lv,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,clado:`clado_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Gv=Vv,Kv={pipeId:Iv,basePipe:G(Iv),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:K(Iv),tags:[V.LINKEDIN,V.WATERFALL],managedProviders:zv,deprecatedProviders:[`clado`],allowedUserConnectionProviders:zv,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Uv,defaultInputRequirement:Hv(null),defaultPayload:{pipe_id:Iv,run_if:null,connector:null,config:{providers:Bv,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},qv=v(`work_email`),Jv=v(`crustdata_person_match`),Yv=v(`crustdata_profile_match_score`),Xv=`person:profile:workemail:crustdata@1`,Zv=r.object({pipe_id:r.literal(Xv),run_if:C(),connector:T(),config:r.object({input_fields:B(r.object({[qv.name]:D({fieldName:qv.name})})),output_fields:z(r.object({[Jv.name]:A({fieldName:Jv.name}),[Yv.name]:A({fieldName:Yv.name})}))}).optional()}),Qv=e=>H(q(qv,e)),$v={"crustdata-profile-from-workemail":{allowManagedConnection:!0,credits:5,mode:`onSuccess`,provider:`crustdata`}},ey=class extends W{pipeId=Xv;payload;payloadSchema=Zv;billableOperations=$v;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(){return[`crustdata-profile-from-workemail`]}getInputRequirement(){return Qv(this.payload.config)}getRawOutputFields(){return{[Jv.name]:this.catalogOutput(Jv),[Yv.name]:this.catalogOutput(Yv)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},ty=Zv,ny={pipeId:Xv,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Xv),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(Xv),billableOperations:$v,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Qv(null),defaultPayload:{pipe_id:Xv,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{crustdata_person_match:{alias:``,enabled:!0},crustdata_profile_match_score:{alias:``,enabled:!0}}}}},ry=`person:profileurl:email:waterfall@1`,iy=v(`email`),ay=v(`work_email`),oy=v(`profile_url`),sy=[`leadmagic`],cy=[{provider:`leadmagic`}],ly=r.object({pipe_id:r.literal(ry),run_if:C(),connector:T(),config:r.object({providers:O({sectionKey:`general`,defaultProviders:cy,availableProviders:sy}),input_fields:B(r.object({[iy.name]:D({fieldName:iy.name}),[ay.name]:D({fieldName:ay.name})})),output_fields:z(r.object({[oy.name]:A({fieldName:oy.name})}))}).optional()}),uy=e=>U(q(iy,e),q(ay,e)),dy={"leadmagic-profile-url-from-email":{provider:`leadmagic`,allowManagedConnection:!0,credits:3.5,mode:`onSuccess`}},fy=class extends W{pipeId=ry;payload;payloadSchema=ly;billableOperations=dy;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 uy(this.payload.config)}getRawOutputFields(){return{[oy.name]:this.catalogOutput(oy,{isPrimaryOutput:!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}))}},py=ly,my={pipeId:ry,basePipe:G(ry),managedProviders:sy,deprecatedProviders:[],allowedUserConnectionProviders:sy,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(ry),billableOperations:dy,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:uy(null),defaultPayload:{pipe_id:ry,run_if:null,connector:null,config:{providers:cy,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},hy=`person:profileurl:name@1`,gy=v(`name`),_y=v(`company_name`),vy=v(`location_hint`),yy=v(`profile_url`),by=r.object({pipe_id:r.literal(hy),connector:E(),run_if:C(),config:r.object({input_fields:B(r.object({[gy.name]:D({fieldName:gy.name}),[_y.name]:D({fieldName:_y.name}),[vy.name]:D({fieldName:vy.name})})),output_fields:z(r.object({[yy.name]:A({fieldName:yy.name})}))}).optional()}),xy=e=>xa(H(q(gy,e)),H(q(_y,e)),Sa(q(vy,e))),Sy={"pipe0-get-profileurl-from-name":{provider:`pipe0`,allowManagedConnection:!0,credits:.6,mode:`always`}},Cy=class extends W{pipeId=hy;payload;payloadSchema=by;billableOperations=Sy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`pipe0-get-profileurl-from-name`]}getInputRequirement(){return xy(this.payload.config)}getRawOutputFields(){return{[yy.name]:this.catalogOutput(yy)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},wy=by,Ty={pipeId:hy,basePipe:G(hy),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(hy),tags:[V.LINKEDIN],billableOperations:Sy,defaultInputRequirement:xy(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:hy,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},Ey=`person:workemail:profileurl:waterfall@1`,Dy=v(`profile_url`),Oy=v(`work_email`),ky=v(`email_validation_status`),Ay=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],jy=[`clado`],My=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],Ny=r.object({pipe_id:r.literal(Ey),connector:T(),run_if:C(),config:r.object({providers:O({availableProviders:Ay,defaultProviders:My,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({[Dy.name]:D({fieldName:Dy.name})})),output_fields:z(r.object({[Oy.name]:A({fieldName:Oy.name}),[ky.name]:A({fieldName:ky.name})}))}).optional()}),Py=e=>H(q(Dy,e)),Fy={"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`}},Iy=class extends W{pipeId=Ey;payload;payloadSchema=Ny;billableOperations=Fy;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 Py(this.payload.config)}getRawOutputFields(){return{[Oy.name]:this.catalogOutput(Oy,{isPrimaryOutput:!0}),[ky.name]:this.catalogOutput(ky,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`,clado:`clado_contact_information`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ly=Ny,Ry={pipeId:Ey,basePipe:G(Ey),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(Ey),managedProviders:Ay,allowedUserConnectionProviders:Ay,deprecatedProviders:jy,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Fy,defaultInputRequirement:Py(null),defaultPayload:{pipe_id:Ey,connector:null,run_if:null,config:{providers:My,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{profile_url:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},zy=`person:workemail:waterfall@1`,By=v(`name`),Vy=v(`company_domain`),Hy=v(`company_name`),Uy=v(`work_email`),Wy=v(`email_validation_status`),Gy=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],Ky=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],qy={"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`}},Jy=r.object({pipe_id:r.literal(zy),connector:T(),run_if:C(),config:r.object({providers:O({availableProviders:Gy,defaultProviders:Ky,sectionKey:`general`,providerCredits:Ma(qy,Gy)}),allow_catch_all_emails:k({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:k({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:B(r.object({[By.name]:D({fieldName:By.name}),[Vy.name]:D({fieldName:Vy.name}),[Hy.name]:D({fieldName:Hy.name})})),output_fields:z(r.object({[Uy.name]:A({fieldName:Uy.name}),[Wy.name]:A({fieldName:Wy.name})}))}).optional()}),Yy=e=>xa(H(q(By,e)),U(q(Vy,e),q(Hy,e))),Xy=class extends W{pipeId=zy;payload;payloadSchema=Jy;billableOperations=qy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(){return this.getProviderNames().map(e=>Y(e,this.billableOperations).billableOperation)}getInputRequirement(){return Yy(this.payload.config)}getRawOutputFields(){return{[Uy.name]:this.catalogOutput(Uy,{isPrimaryOutput:!0}),[Wy.name]:this.catalogOutput(Wy,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_email_lookup`,icypeas:`icypeas_email_lookup`,findymail:`findymail_email_lookup`,hunter:`hunter_email_finder`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:J(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Zy=Jy,Qy={pipeId:zy,basePipe:G(zy),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(zy),managedProviders:Gy,deprecatedProviders:[],allowedUserConnectionProviders:Gy,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:qy,defaultInputRequirement:Yy(null),defaultPayload:{pipe_id:zy,connector:null,run_if:null,config:{providers:Ky,allow_catch_all_emails:!0,allow_risky_emails:!0,input_fields:{company_name:{alias:``},company_domain:{alias:``},name:{alias:``}},output_fields:{work_email:{alias:``,enabled:!0},email_validation_status:{alias:``,enabled:!1}}}}},$y=`prompt:run@1`,eb=ei(`prompt`),tb=r.object({pipe_id:r.literal($y),connector:T(),run_if:C(),config:r.object({prompt:Ri({sectionKey:`general`,path:`config.prompt`,placeholder:X(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:ta({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:eb})})}),nb=class extends W{pipeId=$y;payload;payloadSchema=tb;billableOperations=eb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return ti(this.payload.config.model)}estimateBillableOperations(){return[ni(this.payload.config.model,`prompt`)]}getInputRequirement(){return Lm([this.payload.config.prompt.template])}getSecretRequirements(){return Rm([this.payload.config.prompt.template])}getConstantRequirements(){return zm([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=Ar(e)}catch{return n}for(let e of r.outputs){let r=e.type;if(r===`json`){let i=e.schemaRef?t[e.schemaRef]:void 0;n[e.name]={enabled:!0,name:e.name,label:e.name,resolvedName:e.name,type:r,description:e.description,jsonMeta:{zodSchema:i,exampleValue:null},format:null,isCatalogFIeld:!1,isPrimaryOutput:!1}}else n[e.name]={enabled:!0,name:e.name,label:e.name,resolvedName:e.name,type:r,description:e.description,jsonMeta:null,format:e.format??null,isCatalogFIeld:!1,isPrimaryOutput:!1}}return n}getConnectionsRequirements(){return ri(this.payload.config.model)}},rb=tb,ib={pipeId:$y,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G($y),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($y),defaultInputRequirement:null,billableOperations:eb,allowedUserConnectionProviders:ii(),managedProviders:ii(),deprecatedProviders:[],defaultPayload:{pipe_id:$y,connector:null,run_if:null,config:{model:`openai-gpt-latest`,prompt:{template:``,json_schemas:{}}}}},ab=`sheet:row:append@1`,ob=v(`sheet_record_id`),sb=v(`created_sheet`),cb=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],lb=[{label:`Demo team`,value:`sandbox-team-1`},{label:`Demo workspace`,value:`sandbox-team-2`}],ub={requires:{connection:`pipe0`},enabledIf:cn(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?cb: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`}}},db={requires:{connection:`pipe0`},enabledIf:cn(`pipe0`,`Select a pipe0 connection to see team suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?lb:t?(await t.teams.list({query:e})).map(e=>({label:e.name,value:e.id})):[],widgets:{provider_logo:{provider:`pipe0`}}},fb=r.object({pipe_id:r.literal(ab),connector:Vi(),run_if:C(),config:r.object({sheet:w({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:ub}),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:oa({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:db,enabledIf:e=>e.config?.allow_sheet_creation?{disabled:!1}:{disabled:!0,message:`Turn on “Upsert sheets” to specify a team.`}}),included_fields:Ui({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({[ob.name]:A({fieldName:ob.name}),[sb.name]:A({fieldName:sb.name})}))})}),pb={"sheets-append-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},mb=class extends W{pipeId=ab;payload;payloadSchema=fb;billableOperations=pb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-append-pipe0`]}getInputRequirement(){let e=[Lm([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=Im(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 xa(...e)}getSecretRequirements(){return Rm([this.payload.config.sheet])}getConstantRequirements(){return zm([this.payload.config.sheet])}getRawOutputFields(){return{[ob.name]:this.catalogOutput(ob),[sb.name]:this.catalogOutput(sb)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},hb=fb,gb={pipeId:ab,basePipe:G(ab),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(ab),tags:[V.FIELDS],billableOperations:pb,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:ab,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,run:!0,allow_field_creation:!0,allow_sheet_creation:!0,new_sheet_team_id:``,included_fields:[],output_fields:{sheet_record_id:{alias:``,enabled:!0},created_sheet:{alias:``,enabled:!0}}}}},_b=`sheet:row:expandappend@1`,vb=v(`sheet_record_ids`),yb=v(`input_objects`),bb=r.object({pipe_id:r.literal(_b),connector:Vi(),run_if:C(),config:r.object({sheet:Qi({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({[yb.name]:D({fieldName:yb.name})})),output_fields:z(r.object({[vb.name]:A({fieldName:vb.name})}))})}),xb={"sheets-appendexpand-pipe0":{provider:`pipe0`,allowManagedConnection:!1,credits:null,mode:null}},Sb=e=>H(q(yb,e)),Cb=class extends W{pipeId=_b;payload;payloadSchema=bb;billableOperations=xb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`sheets-appendexpand-pipe0`]}getInputRequirement(){return Sb(this.payload.config)}getRawOutputFields(){return{[vb.name]:this.catalogOutput(vb)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},wb=bb,Tb={pipeId:_b,basePipe:G(_b),label:`Object list to sheet rows`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Expand a list of nested objects into sheet rows.`,docPath:K(_b),tags:[V.FIELDS],billableOperations:xb,defaultInputRequirement:Sb(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:_b,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,run:!0,allow_field_creation:!0,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},Eb=`template:fill@1`,Db=v(`template_output`),Ob=r.object({pipe_id:r.literal(Eb),connector:T(),run_if:C(),config:r.object({template:zi({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:X(`template`),groupPath:`config.general`,required:!0}),output_fields:z(r.object({[Db.name]:A({fieldName:Db.name})}))})}),kb={"template-fill":{credits:0,allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},Ab=class extends W{pipeId=Eb;payload;payloadSchema=Ob;billableOperations=kb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[`template-fill`]}getInputRequirement(){return Lm([this.payload.config.template])}getSecretRequirements(){return Rm([this.payload.config.template])}getConstantRequirements(){return zm([this.payload.config.template])}getRawOutputFields(){return{[Db.name]:this.catalogOutput(Db)}}getConnectionsRequirements(){return[]}},jb=Ob,Mb={pipeId:Eb,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G(Eb),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(Eb),defaultInputRequirement:null,billableOperations:kb,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Eb,connector:null,run_if:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},Nb=`website:extract:firecrawl@1`,Pb=v(`website_url`),Fb=v(`firecrawl_extract_result`),Ib=r.object({pipe_id:r.literal(Nb),connector:T(),run_if:C(),config:r.object({json_schema:aa({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:$i({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({[Pb.name]:D({fieldName:Pb.name})})),output_fields:z(r.object({[Fb.name]:A({fieldName:Fb.name})}))})}),Lb=e=>H(q(Pb,e)),Rb={"firecrawl-website-extract":{allowManagedConnection:!0,provider:`firecrawl`,credits:2,mode:`onSuccess`}},zb=class extends W{pipeId=Nb;payload;payloadSchema=Ib;billableOperations=Rb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-extract`]}getInputRequirement(){return Lb(this.payload.config)}getRawOutputFields(){return{[Fb.name]:this.catalogOutput(Fb)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},Bb=Ib,Vb={pipeId:Nb,basePipe:G(Nb),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(Nb),billableOperations:Rb,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:Lb(null),defaultPayload:{pipe_id:Nb,run_if:null,connector:null,config:{json_schema:{type:`object`},enable_full_domain_crawl:!1,enable_web_search:!1,extraction_prompt:``,input_fields:{website_url:{alias:``}},output_fields:{firecrawl_extract_result:{alias:``,enabled:!0}}}}},Hb=`website:maplinks:firecrawl@1`,Ub={"firecrawl-website-maplinks":{allowManagedConnection:!0,provider:`firecrawl`,credits:1,mode:`onSuccess`}},Wb=v(`website_url`),Gb=v(`mapped_links`),Kb=r.object({pipe_id:r.literal(Hb),connector:T(),run_if:C(),config:r.object({page_limit:ra({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,required:!1,path:`config.page_limit`,sectionKey:`general`}),sitemap:ea({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:Qi({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).default(``),input_fields:B(r.object({[Wb.name]:D({fieldName:Wb.name})})),output_fields:z(r.object({[Gb.name]:A({fieldName:Gb.name})}))}).optional()}),qb=e=>H(q(Wb,e)),Jb=class extends W{pipeId=Hb;payload;payloadSchema=Kb;billableOperations=Ub;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-maplinks`]}getInputRequirement(){return qb(this.payload.config)}getRawOutputFields(){return{[Gb.name]:this.catalogOutput(Gb)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},Yb=Kb,Xb={pipeId:Hb,basePipe:G(Hb),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(Hb),billableOperations:Ub,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:qb(null),defaultPayload:{pipe_id:Hb,run_if:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},Zb=`website:scrape:firecrawl@1`,Qb=v(`website_url`),$b=v(`website_markdown`),ex=v(`website_html`),tx=v(`website_links`),nx=r.object({pipe_id:r.literal(Zb),connector:T(),run_if:C(),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({[Qb.name]:D({fieldName:Qb.name})})),output_fields:z(r.object({[$b.name]:A({fieldName:$b.name}),[ex.name]:A({fieldName:ex.name}),[tx.name]:A({fieldName:tx.name})}))}).optional()}),rx=e=>H(q(Qb,e)),ix={"firecrawl-website-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`}},ax=class extends W{pipeId=Zb;payload;payloadSchema=nx;billableOperations=ix;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[`firecrawl-website-scrape`]}getInputRequirement(){return rx(this.payload.config)}getRawOutputFields(){return{[$b.name]:this.catalogOutput($b),[ex.name]:this.catalogOutput(ex),[tx.name]:this.catalogOutput(tx)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},ox=nx,sx={pipeId:Zb,basePipe:G(Zb),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[V.SCRAPE],docPath:K(Zb),billableOperations:ix,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:rx(null),defaultPayload:{pipe_id:Zb,run_if:null,connector:null,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}},output_fields:{website_markdown:{alias:``,enabled:!0},website_html:{alias:``,enabled:!1},website_links:{alias:``,enabled:!1}}}}},cx=`website:scrapelist:firecrawl@1`,lx={"firecrawl-list-url-scrape":{allowManagedConnection:!0,provider:`firecrawl`,credits:.1,mode:`onSuccess`,note:`You are charged per url that is scraped.`}},ux=v(`urls`),dx=v(`scrape_list_response`),fx=r.object({pipe_id:r.literal(cx),connector:T(),run_if:C(),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:na({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({[ux.name]:D({fieldName:ux.name})})),output_fields:z(r.object({[dx.name]:A({fieldName:dx.name})}))}).optional()}),px=e=>H(q(ux,e)),mx=class extends W{pipeId=cx;payload;payloadSchema=fx;billableOperations=lx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(){return[,,,,,].fill(`firecrawl-list-url-scrape`)}getInputRequirement(){return px(this.payload.config)}getRawOutputFields(){return{[dx.name]:this.catalogOutput(dx)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},hx=fx,gx={pipeId:cx,basePipe:G(cx),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[V.SCRAPE],docPath:K(cx),billableOperations:lx,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:px(null),defaultPayload:{pipe_id:cx,run_if:null,connector:null,config:{scrape_main_only:!0,formats:[`html`,`markdown`,`links`],input_fields:{urls:{alias:``}},output_fields:{scrape_list_response:{alias:``,enabled:!0}}}}},_x={"prompt:run@1":nb,"company:newssummary:website@1":ll,"company:newssummary:domain@1":rs,"company:techstack:builtwith@1":Zl,"company:techstack:builtwith@2":As,"company:websiteurl:email@1":ou,"company:domain:workemail@1":Ka,"company:funding:leadmagic@1":nc,"company:funding:leadmagic@2":oo,"people:workemail:waterfall@1":xm,"person:workemail:waterfall@1":Xy,"people:email:iswork@1":hu,"email:iswork@1":Am,"people:name:split@1":Wd,"person:name:split@1":dv,"people:validate:email:zerobounce@1":Jp,"people:email:validate:zerobounce@2":Pu,"email:validate:zerobounce@1":sh,"people:mobilenumber:workemail:waterfall@1":Pd,"person:name:join@1":tv,"company:overview@1":wl,"company:overview@2":Bl,"company:overview@3":ys,"json:extract:multi@1":sg,"company:lookalikes:companyenrich@1":Nc,"company:lookalikes:companyenrich@2":Do,"company:match:logodev@1":el,"company:match:logodev@2":Jo,"person:posts:crustdata@1":Nv,"people:profile:workemail:crustdata@1":Ep,"person:profile:workemail:crustdata@1":ey,"people:identity:email:waterfall@1":td,"person:identity:email:waterfall@1":r_,"person:identity:amplemarket@1":Vg,"email:send:resend@1":Zm,"contact:create:resend@1":Hs,"email:send:gmail@1":Wm,"email:write@1":gh,"fields:merge@1":Kh,"field:slugify@1":Ph,"field:domainify@1":Th,"http:request@1":tg,"template:fill@1":Ab,"message:send:slack@1":hg,"message:write@1":Sg,"people:personalemail:profile:waterfall@1":nf,"person:personalemail:profileurl:waterfall@1":Cv,"website:scrape:firecrawl@1":ax,"website:scrapelist:firecrawl@1":mx,"website:extract:firecrawl@1":zb,"website:maplinks:firecrawl@1":Jb,"sheet:row:append@1":mb,"sheet:row:expandappend@1":Cb,"people:match:role:waterfall@1":fd,"person:match:role:waterfall@1":C_,"company:match:crustdata@1":Hc,"company:match:crustdata@2":Io,"person:match:amplemarket@1":f_,"company:identity@2":wc,"company:identity@3":vo,"people:phone:profile:waterfall@1":mf,"person:mobile:profileurl:waterfall@1":P_,"people:phone:workemail:waterfall@1":Tf,"person:mobile:workemail:waterfall@1":G_,"people:profile:waterfall@1":gp,"person:profile:waterfall@1":Wv,"people:profileurl:email:waterfall@1":Rp,"person:profileurl:email:waterfall@1":fy,"person:profileurl:name@1":Cy,"people:email:validate:zerobounce@1":wu,"person:email:validate:millionverifier@1":Mg,"people:workemail:profileurl:waterfall@1":sm,"person:workemail:profileurl:waterfall@1":Iy,"company:identity@1":pc,"people:professionalprofile:waterfall@1":If,"people:professionalprofileurl:name@1":ap,"people:professionalprofileurl:email:waterfall@1":Jf,"people:mobilenumber:professionalprofile:waterfall@1":Cd},vx={"prompt:run@1":rb,"company:newssummary:website@1":ul,"company:newssummary:domain@1":is,"company:techstack:builtwith@1":Ql,"company:techstack:builtwith@2":js,"company:websiteurl:email@1":su,"company:domain:workemail@1":qa,"company:funding:leadmagic@1":rc,"company:funding:leadmagic@2":so,"people:workemail:waterfall@1":Sm,"person:workemail:waterfall@1":Zy,"people:email:iswork@1":gu,"email:iswork@1":jm,"people:name:split@1":Gd,"person:name:split@1":fv,"people:validate:email:zerobounce@1":Yp,"people:email:validate:zerobounce@2":Fu,"email:validate:zerobounce@1":ch,"people:mobilenumber:workemail:waterfall@1":Fd,"person:name:join@1":nv,"company:overview@1":Tl,"company:overview@2":Vl,"company:overview@3":bs,"json:extract:multi@1":cg,"email:write@1":_h,"fields:merge@1":qh,"field:slugify@1":Fh,"field:domainify@1":Eh,"http:request@1":ng,"email:send:resend@1":Qm,"contact:create:resend@1":Us,"company:lookalikes:companyenrich@1":Pc,"company:lookalikes:companyenrich@2":Oo,"company:match:logodev@1":tl,"company:match:logodev@2":Yo,"person:posts:crustdata@1":Pv,"people:profile:workemail:crustdata@1":Dp,"person:profile:workemail:crustdata@1":ty,"people:identity:email:waterfall@1":nd,"person:identity:email:waterfall@1":i_,"company:match:crustdata@1":Uc,"company:match:crustdata@2":Lo,"person:identity:amplemarket@1":Hg,"message:send:slack@1":gg,"email:send:gmail@1":Gm,"message:write@1":Cg,"template:fill@1":jb,"website:scrape:firecrawl@1":ox,"website:scrapelist:firecrawl@1":hx,"website:extract:firecrawl@1":Bb,"website:maplinks:firecrawl@1":Yb,"sheet:row:append@1":hb,"sheet:row:expandappend@1":wb,"people:match:role:waterfall@1":pd,"person:match:role:waterfall@1":w_,"company:identity@2":Tc,"company:identity@3":yo,"people:phone:profile:waterfall@1":hf,"person:mobile:profileurl:waterfall@1":F_,"people:personalemail:profile:waterfall@1":rf,"person:personalemail:profileurl:waterfall@1":wv,"people:profile:waterfall@1":_p,"person:profile:waterfall@1":Gv,"people:profileurl:email:waterfall@1":zp,"person:profileurl:email:waterfall@1":py,"person:profileurl:name@1":wy,"people:email:validate:zerobounce@1":Tu,"person:email:validate:millionverifier@1":Ng,"people:phone:workemail:waterfall@1":Ef,"person:mobile:workemail:waterfall@1":K_,"people:workemail:profileurl:waterfall@1":cm,"person:workemail:profileurl:waterfall@1":Ly,"person:match:amplemarket@1":p_,"company:identity@1":mc,"people:professionalprofile:waterfall@1":Lf,"people:professionalprofileurl:name@1":op,"people:professionalprofileurl:email:waterfall@1":Yf,"people:mobilenumber:professionalprofile:waterfall@1":wd},yx={"prompt:run@1":ib,"company:newssummary:website@1":dl,"company:newssummary:domain@1":as,"company:techstack:builtwith@1":$l,"company:techstack:builtwith@2":Ms,"company:websiteurl:email@1":cu,"company:domain:workemail@1":Ja,"company:funding:leadmagic@1":ic,"company:funding:leadmagic@2":co,"people:workemail:waterfall@1":Cm,"person:workemail:waterfall@1":Qy,"people:email:iswork@1":_u,"email:iswork@1":Mm,"people:name:split@1":Kd,"person:name:split@1":pv,"people:validate:email:zerobounce@1":Xp,"people:mobilenumber:workemail:waterfall@1":Id,"person:name:join@1":rv,"company:overview@1":El,"company:overview@2":Hl,"company:overview@3":xs,"json:extract:multi@1":lg,"email:send:resend@1":$m,"contact:create:resend@1":Ws,"email:send:gmail@1":Km,"message:send:slack@1":_g,"message:write@1":wg,"email:write@1":vh,"template:fill@1":Mb,"fields:merge@1":Jh,"field:slugify@1":Ih,"field:domainify@1":Dh,"http:request@1":rg,"sheet:row:append@1":gb,"sheet:row:expandappend@1":Tb,"company:lookalikes:companyenrich@1":Fc,"company:lookalikes:companyenrich@2":ko,"people:match:role:waterfall@1":md,"person:match:role:waterfall@1":T_,"company:match:logodev@1":nl,"company:match:logodev@2":Xo,"person:posts:crustdata@1":Fv,"people:profile:workemail:crustdata@1":Op,"person:profile:workemail:crustdata@1":ny,"people:workemail:profileurl:waterfall@1":lm,"person:workemail:profileurl:waterfall@1":Ry,"people:identity:email:waterfall@1":rd,"person:identity:email:waterfall@1":a_,"company:match:crustdata@1":Wc,"company:match:crustdata@2":Ro,"person:identity:amplemarket@1":Ug,"people:personalemail:profile:waterfall@1":af,"person:personalemail:profileurl:waterfall@1":Tv,"people:email:validate:zerobounce@1":Eu,"people:email:validate:zerobounce@2":Iu,"email:validate:zerobounce@1":lh,"person:email:validate:millionverifier@1":Pg,"people:phone:workemail:waterfall@1":Df,"person:mobile:workemail:waterfall@1":q_,"website:scrape:firecrawl@1":sx,"website:scrapelist:firecrawl@1":gx,"website:extract:firecrawl@1":Vb,"website:maplinks:firecrawl@1":Xb,"person:match:amplemarket@1":m_,"company:identity@2":Ec,"company:identity@3":bo,"people:phone:profile:waterfall@1":gf,"person:mobile:profileurl:waterfall@1":I_,"people:profile:waterfall@1":vp,"person:profile:waterfall@1":Kv,"people:profileurl:email:waterfall@1":Bp,"person:profileurl:email:waterfall@1":my,"person:profileurl:name@1":Ty,"company:identity@1":hc,"people:professionalprofile:waterfall@1":Rf,"people:professionalprofileurl:name@1":sp,"people:professionalprofileurl:email:waterfall@1":Xf,"people:mobilenumber:professionalprofile:waterfall@1":Td};function bx(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function xx(e){return _x[e]}function Sx(e){return yx[e].defaultPayload}function Cx(e){return vx[e]}const wx=r.discriminatedUnion(`pipe_id`,Object.values(vx)).openapi(`PipePayload`),Tx=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=Sx(_n.parse(e.pipe_id));return t?{...e,config:va(e?.config||{},t.config)}:e}catch{return e}},wx);function Ex(e){return yx[e]}function Dx(e,t){let n=Ex(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 Ox(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function kx(){let e={};for(let t of Object.values(yx)){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=Ox(e.pipeId);return Ox(t.pipeId)-n})}),e}const Ax=e=>{let t=Ex(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},jx=kx();function Mx(e){let t=[];for(let[n,r]of Object.entries(jx)){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:Ox(i.pipeId)})}return t}function Nx(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=Ax(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of bx(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of wa(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:jx}}const Px=r.object({id:r.string(),organization_id:r.string(),order:r.array(bn),field_definitions:Zn,errors:r.array(Fn),records:r.record(bn,Jn),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),Fx=r.object({environment:hn.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`),Ix=r.object({config:Fx.openapi(`PipesRequestConfig`),field_annotations:Bn.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(wx),input:r.array(qn.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function Lx(e){let t=Ex(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 Rx={"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:!1},"config.extraction":{order:0,label:`Extraction`,iconKey:`code`,defaultExpand:!0},run_if:{order:99,label:`Run if`,iconKey:`workflow`,defaultExpand:!1},"config.email":{order:3,label:`Email`,iconKey:`mail`,defaultExpand:!0},"config.json_extraction":{order:1,label:`Extract fields`,iconKey:`braces`,defaultExpand:!0},"config.providers":{order:1,label:`Providers`,iconKey:`tags`,defaultExpand:!0},"config.output_fields":{order:10,label:`Output config`,description:`Toggle or rename output fields.`,iconKey:`output`,defaultExpand:!1}},zx={general:{type:`form_section`,path:`general`,label:`Behavior`,description:`How this pipe runs and selects providers.`},pagination:{type:`form_section`,path:`pagination`,label:`Behavior`},"config.input_fields":{type:`form_section`,path:`config.input_fields`,label:`I/O & conditions`,description:`Wire inputs, outputs, and run-time conditions.`},"config.output_fields":{type:`form_section`,path:`config.output_fields`,label:`I/O & conditions`},"config.pipe_io":{type:`form_section`,path:`config.pipe_io`,label:`I/O & conditions`},"config.extractions":{type:`form_section`,path:`config.json_extraction`,label:`I/O & conditions`},conditions:{type:`form_section`,path:`run_if`,label:`I/O & conditions`,mode:`dynamic`},connector:{type:`form_section`,path:`connector`,label:`I/O & conditions`,mode:`dynamic`},"config.filters":{type:`form_section`,path:`config.filters`,label:`I/O & conditions`}},Bx={general:1,pagination:2,"config.input_fields":10,"config.pipe_io":11,"config.output_fields":12,"config.extractions":13,"config.filters":14,conditions:15,connector:16};function Vx(e){let t=Cx(e),n=[];function i(e){let t=b.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 Hx({pipePayload:e,validationContext:t,sectionOrder:n=Bx,store:r,groupPathMatch:i=Rx,formResolvers:a}){let o=Cx(e.pipe_id),s=Aa(e.pipe_id,e.config||{});return Ii({schema:o,groupPathMatch:i,extractFromSchema:n=>{let i=b.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:Ex(e.pipe_id),hash:s}):i},sectionOrder:n,sectionMap:zx,store:r,formResolvers:a})}const Ux=[`companies:profiles:crustdata@1`,`companies:profiles:crustdata@2`,`companies:profiles:amplemarket@1`,`companies:profiles:amplemarket@2`,`people:profiles:crustdata@1`,`people:profiles:crustdata@2`,`people:profiles:amplemarket@1`,`people:profiles:amplemarket@2`],Wx=r.enum(Ux);function Gx(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 Kx(e,t){let n={name:e,config:t};return ka.hashObject(n)}var qx=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 Kx(this.searchId,this.payload)}};function Jx(e){return e.split(`@`)[0]}function Yx(e){return`/docs/searches/searches-catalog/${Jx(e)}/${e.split(`@`)[1]}`}function Xx(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function Zx(e,t){return e==null?void 0:t(e)}function Qx(){return $x({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function $x({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:Xx(e),entity:t||e}}function eS(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}const tS=`companies:profiles:amplemarket@2`,nS=v(`company_name`),rS=v(`company_domain`),iS=v(`company_description`),aS=v(`company_profile_url`),oS=v(`amplemarket_company_match`),sS=r.object({search_id:r.literal(tS),connector:y.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({[nS.name]:P({fieldName:nS.name}),[rS.name]:P({fieldName:rS.name}),[iS.name]:P({fieldName:iS.name}),[aS.name]:P({fieldName:aS.name}),[oS.name]:P({fieldName:oS.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:_(`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:_(`company_names`)}),company_domains:M({sectionKey:`config.filters`,path:`config.filters.company_domains`,label:`Company domains`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:_(`company_domains`,{widgets:e=>({logo_url:{url:Xx(e.value)}})})}),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:h(`amplemarket.company_types`),required:!1}),investors:I({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:_(`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:g(`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:h(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:ca({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,required:!1,description:``}),open_position_titles:j({path:`config.filters.open_position_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:X(`title`),suggestionsDef:_(`titles`)}),headcount:F({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:h(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_l6m_in_percent:ca({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months (in %)`,groupPath:`config.filters.company_size`,description:``,max:1e4,min:0,required:!1})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),cS={default:{input:[{fields:[]}]}},lS=class extends qx{searchId=tS;schema=sS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[nS.name]:this.catalogOutput(nS),[rS.name]:this.catalogOutput(rS),[iS.name]:this.catalogOutput(iS),[aS.name]:this.catalogOutput(aS),[oS.name]:this.catalogOutput(oS)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return cS}},uS=sS,dS={searchId:tS,baseSearch:Jx(`companies:profiles:amplemarket@2`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Yx(tS),cost:{mode:`per_page`,creditsPerPage:2},provider:`amplemarket`,defaultPayload:{search_id:tS,connector:null,config:{limit:100,page_number:1,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},amplemarket_company_match:{enabled:!0,alias:``}},filters:{company_industries:{include:[],exclude:[]},company_names:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}},fS=`companies:profiles:crustdata@2`,pS=v(`company_name`),mS=v(`company_domain`),hS=v(`company_description`),gS=v(`company_profile_url`),_S=v(`crustdata_company_match`),vS=r.object({search_id:r.literal(fS),connector:y.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:ma({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:z(r.object({[pS.name]:P({fieldName:pS.name}),[mS.name]:P({fieldName:mS.name}),[hS.name]:P({fieldName:hS.name}),[gS.name]:P({fieldName:gS.name}),[_S.name]:P({fieldName:_S.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:_(`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:_(`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:_(`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:_(`company.tracxn_investors.crustdata`)}),company_types:N({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:h(`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:_(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),markets:L({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:_(`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:_(`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:h(`crustdata.company_size`)},groupPath:`config.filters.company_size`}),headcount_growth_l6m_in_percent:F({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:h(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:ua({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:h(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:ua({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:h(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_l6m_in_percent:F({path:`config.filters.follower_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:h(`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_domains:M({path:`config.filters.competitor_domains`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domain`,description:``,placeholder:X(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:_(`company_domains`,{widgets:e=>({logo_url:{url:Xx(e.value)}})})})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),yS={default:{input:[{fields:[]}]}},bS=class extends qx{searchId=fS;schema=vS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[pS.name]:this.catalogOutput(pS),[mS.name]:this.catalogOutput(mS),[hS.name]:this.catalogOutput(hS),[gS.name]:this.catalogOutput(gS),[_S.name]:this.catalogOutput(_S)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return yS}},xS=vS,SS={searchId:fS,baseSearch:Jx(`companies:profiles:crustdata@2`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Yx(fS),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:fS,connector:null,config:{limit:100,cursor:``,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},crustdata_company_match:{enabled:!0,alias:``}},filters:{company_types:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],last_funding_amount:{from:null,to:null},last_funding_type:{include:[],exclude:[]},linkedin_industries:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},crunchbase_categories:{include:[],exclude:[]},markets:{include:[],exclude:[]},revenue_in_usd:{from:null,to:null},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},follower_growth_l6m_in_percent:[],headcount:{include:[],exclude:[]},hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[],exclude:[]}}}}},CS=`companies:profiles:amplemarket@1`,wS=v(`company_name`),TS=v(`company_website_url`),ES=v(`company_description`),DS=v(`company_profile_url`),OS=v(`amplemarket_company_match`),kS=r.object({search_id:r.literal(CS),connector:y.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({[wS.name]:P({fieldName:wS.name}),[TS.name]:P({fieldName:TS.name}),[ES.name]:P({fieldName:ES.name}),[DS.name]:P({fieldName:DS.name}),[OS.name]:P({fieldName:OS.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:_(`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:_(`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:_(`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:h(`amplemarket.company_types`),required:!1}),investors:I({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:_(`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:g(`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:h(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}),founded_year:ca({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:_(`titles`)}),headcount:F({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:h(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}),headcount_growth_last_6_months_in_percent:ca({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=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),AS={default:{input:[{fields:[]}]}},jS=class extends qx{searchId=CS;schema=kS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[wS.name]:this.catalogOutput(wS),[TS.name]:this.catalogOutput(TS),[ES.name]:this.catalogOutput(ES),[DS.name]:this.catalogOutput(DS),[OS.name]:this.catalogOutput(OS)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return AS}},MS=kS,NS={searchId:CS,baseSearch:Jx(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`deprecated`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`companies:profiles:amplemarket@2`},description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Yx(CS),cost:{mode:`per_page`,creditsPerPage:2},provider:`amplemarket`,defaultPayload:{search_id:CS,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:[]}}}}},PS=`companies:profiles:crustdata@1`,FS=v(`company_name`),IS=v(`company_website_url`),LS=v(`company_description`),RS=v(`company_profile_url`),zS=v(`crustdata_company_match`),BS=r.object({search_id:r.literal(PS),connector:y.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:ma({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:z(r.object({[FS.name]:P({fieldName:FS.name}),[IS.name]:P({fieldName:FS.name}),[LS.name]:P({fieldName:LS.name}),[RS.name]:P({fieldName:RS.name}),[zS.name]:P({fieldName:zS.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:_(`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:_(`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:_(`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:_(`company.tracxn_investors.crustdata`)}),company_types:N({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:h(`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:_(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:X(`industry`),groupPath:`config.filters.industry`}),markets:L({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:_(`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:_(`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:h(`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:h(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:ua({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:h(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}),last_funding_amount:ua({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:h(`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:h(`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:_(`company_domains`,{widgets:{emoji:{char:`🌐`}}})})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),VS={default:{input:[{fields:[]}]}},HS=class extends qx{searchId=PS;schema=BS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[FS.name]:this.catalogOutput(FS),[IS.name]:this.catalogOutput(IS),[LS.name]:this.catalogOutput(LS),[RS.name]:this.catalogOutput(RS),[zS.name]:this.catalogOutput(zS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return VS}},US=BS,WS={searchId:PS,baseSearch:Jx(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`deprecated`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`companies:profiles:crustdata@2`},description:`Filter based company search.`,tags:[V.COMPANY_PROFILES],docPath:Yx(PS),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:PS,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:[]}}}}},GS=`people:profiles:amplemarket@1`,KS=v(`name`),qS=v(`company_website_url`),JS=v(`profile_url`),YS=v(`job_title`),XS=v(`amplemarket_person_match`),ZS=r.object({search_id:r.literal(GS),connector:y.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({[KS.name]:P({fieldName:KS.name}),[qS.name]:P({fieldName:qS.name}),[JS.name]:P({fieldName:JS.name}),[YS.name]:P({fieldName:YS.name}),[XS.name]:P({fieldName:XS.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:_(`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:_(`titles`)}),current_seniority_levels:F({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:X(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:h(`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:h(`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:h(`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:_(`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:_(`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:_(`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:h(`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:h(`amplemarket.company_revenue`)}),current_employer_founded_year:ca({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:_(`titles`)}),school_names:L({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:_(`schools`)})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),QS={default:{input:[{fields:[]}]}},$S=class extends qx{searchId=GS;schema=ZS;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[KS.name]:this.catalogOutput(KS),[qS.name]:this.catalogOutput(qS),[JS.name]:this.catalogOutput(JS),[YS.name]:this.catalogOutput(YS),[XS.name]:this.catalogOutput(XS)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return QS}},eC=ZS,tC={searchId:GS,baseSearch:Jx(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`people:profiles:amplemarket@2`},description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Yx(GS),cost:{mode:`per_page`,creditsPerPage:3,info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:GS,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:[]}}}},nC=`people:profiles:crustdata@1`,rC=v(`name`),iC=v(`company_website_url`),aC=v(`profile_url`),oC=v(`job_title`),sC=v(`crustdata_person_match`),cC=r.object({search_id:r.literal(nC),connector:y.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:ma({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:z(r.object({[rC.name]:P({fieldName:rC.name}),[iC.name]:P({fieldName:iC.name}),[aC.name]:P({fieldName:aC.name}),[oC.name]:P({fieldName:oC.name}),[sC.name]:P({fieldName:sC.name})})),filters:r.object({locations:L({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:X(`location`),optionsDef:_(`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:_(`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:_(`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:_(`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:_(`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:h(`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:_(`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:g(`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:_(`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:_(`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:_(`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:g(`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:g(`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:_(`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:h(`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:g(`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:pa({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:_(`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:_(`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:_(`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:_(`schools`)}),extracurricular_activities:M({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:X(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:_(`person.education_activities.crustdata`)})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),lC={default:{input:[{fields:[]}]}},uC=class extends qx{searchId=nC;schema=cC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[rC.name]:this.catalogOutput(rC),[iC.name]:this.catalogOutput(iC),[aC.name]:this.catalogOutput(aC),[oC.name]:this.catalogOutput(oC),[sC.name]:this.catalogOutput(sC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return lC}},dC=cC,fC={searchId:nC,baseSearch:Jx(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-30`,replacedBy:`people:profiles:crustdata@2`},description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Yx(nC),cost:{mode:`per_page`,creditsPerPage:5,info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:nC,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:[]}}}}},pC=`people:profiles:amplemarket@2`,mC=v(`name`),hC=v(`company_domain`),gC=v(`profile_url`),_C=v(`job_title`),vC=v(`amplemarket_person_match`),yC=r.object({search_id:r.literal(pC),connector:y.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({[mC.name]:P({fieldName:mC.name}),[hC.name]:P({fieldName:hC.name}),[gC.name]:P({fieldName:gC.name}),[_C.name]:P({fieldName:_C.name}),[vC.name]:P({fieldName:vC.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:_(`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:_(`titles`)}),current_seniority_levels:F({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:X(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:h(`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:h(`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:h(`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:_(`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:_(`company_names`)}),current_employer_domains:M({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:X(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:_(`company_domains`,{widgets:e=>({logo_url:{url:Xx(e.value)}})})}),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:h(`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:h(`amplemarket.company_revenue`)}),current_employer_founded_year:ca({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_position_titles:j({path:`config.filters.current_employer_open_position_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:X(`title`),suggestionsDef:_(`titles`)}),school_names:L({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:X(`school`),groupPath:`config.filters.education`,optionsDef:_(`schools`)})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),bC={default:{input:[{fields:[]}]}},xC=class extends qx{searchId=pC;schema=yC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[mC.name]:this.catalogOutput(mC),[hC.name]:this.catalogOutput(hC),[gC.name]:this.catalogOutput(gC),[_C.name]:this.catalogOutput(_C),[vC.name]:this.catalogOutput(vC)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return bC}},SC=yC,CC={searchId:pC,baseSearch:Jx(`people:profiles:amplemarket@2`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Yx(pC),cost:{mode:`per_page`,creditsPerPage:3,info:`1 page = 100 records; 200 results = 2 pages`},provider:`amplemarket`,defaultPayload:{search_id:pC,connector:null,config:{limit:50,page_number:1,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},amplemarket_person_match:{enabled:!0,alias:``}},filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}},wC=`people:profiles:crustdata@2`,TC=v(`name`),EC=v(`company_domain`),DC=v(`profile_url`),OC=v(`job_title`),kC=v(`crustdata_person_match`),AC=r.object({search_id:r.literal(wC),connector:y.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:ma({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}),output_fields:z(r.object({[TC.name]:P({fieldName:TC.name}),[EC.name]:P({fieldName:EC.name}),[DC.name]:P({fieldName:DC.name}),[OC.name]:P({fieldName:OC.name}),[kC.name]:P({fieldName:kC.name})})),filters:r.object({locations:L({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:X(`location`),optionsDef:_(`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:_(`titles`)}),current_employer_names:M({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:_(`company_names`,{widgets:{emoji:{char:`🏷️`}}})}),current_employer_domains:M({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:X(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:_(`company_domains`,{widgets:e=>({logo_url:{url:Xx(e.value)}})})}),current_employer_industries:L({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:X(`industry`),description:``,optionsDef:_(`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:h(`crustdata.years_of_experience`)}),previous_employer_domains:M({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:X(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:_(`company_domains`,{widgets:e=>({logo_url:{url:Xx(e.value)}})})}),previous_seniority_levels:N({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:X(`seniority`),disableSearch:!0,optionsDef:g(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employer_names:M({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:X(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:_(`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:_(`titles`)}),previous_employer_industries:L({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:X(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:_(`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:g(`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:g(`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:_(`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:h(`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:g(`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:pa({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:_(`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:_(`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:_(`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:_(`schools`)}),extracurricular_activities:M({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:X(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:_(`person.education_activities.crustdata`)})}).check(e=>{Gx(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),jC={default:{input:[{fields:[]}]}},MC=class extends qx{searchId=wC;schema=AC;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[TC.name]:this.catalogOutput(TC),[EC.name]:this.catalogOutput(EC),[DC.name]:this.catalogOutput(DC),[OC.name]:this.catalogOutput(OC),[kC.name]:this.catalogOutput(kC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return jC}},NC=AC,PC={searchId:wC,baseSearch:Jx(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[V.PEOPLE_PROFILES],docPath:Yx(wC),cost:{mode:`per_page`,creditsPerPage:5,info:`1 page = 100 records; 200 results = 2 pages`},provider:`crustdata`,defaultPayload:{search_id:wC,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},crustdata_person_match:{enabled:!0,alias:``}},filters:{profile_headline_keywords:{include:[],exclude:[]},languages:{include:[],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},current_employer_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},years_at_current_company:[],certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employer_industries:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},current_seniority_levels:{include:[],exclude:[]},previous_seniority_levels:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},locations:{include:[],exclude:[]},profile_languages:{include:[],exclude:[]},recently_changed_jobs:null,extracurricular_activities:{include:[],exclude:[]},school_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},current_job_titles:{include:[],exclude:[]},skills:{include:[],exclude:[]},years_of_experience:[],previous_employer_industries:{include:[],exclude:[]}}}}},FC={"people:profiles:crustdata@1":uC,"people:profiles:crustdata@2":MC,"companies:profiles:crustdata@1":HS,"companies:profiles:crustdata@2":bS,"people:profiles:amplemarket@1":$S,"people:profiles:amplemarket@2":xC,"companies:profiles:amplemarket@1":jS,"companies:profiles:amplemarket@2":lS},IC={"people:profiles:crustdata@1":dC,"people:profiles:crustdata@2":NC,"companies:profiles:crustdata@1":US,"companies:profiles:crustdata@2":xS,"people:profiles:amplemarket@1":eC,"people:profiles:amplemarket@2":SC,"companies:profiles:amplemarket@1":MS,"companies:profiles:amplemarket@2":uS},LC={"people:profiles:crustdata@1":fC,"people:profiles:crustdata@2":PC,"companies:profiles:crustdata@1":WS,"companies:profiles:crustdata@2":SS,"people:profiles:amplemarket@1":tC,"people:profiles:amplemarket@2":CC,"companies:profiles:amplemarket@1":NS,"companies:profiles:amplemarket@2":dS};function RC(e){return FC[e]}const zC=t.discriminatedUnion(`search_id`,Object.values(IC).map(e=>e)).openapi(`SearchPayloadSchema`);function BC(e,t){return va(t,LC[e].defaultPayload)}const VC=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=BC(e.search_id);return t?{...e,config:va(e?.config||{},t.config)}:e},zC),HC=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:VC}).openapi(`SearchRequestSchema`),UC=Fn,WC=t.object({value:Sn,status:xn,type:yn.optional(),format:Rn.nullable().optional(),resolved_by:Wn.nullable().optional(),widgets:Pn.optional()}),GC=t.record(t.string(),WC.nullable());function KC(e){return IC[e]}const qC=t.enum([`cursor`,`page_number`]),JC=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:Wx,errors:t.array(UC),results:t.array(GC),organization_id:t.string(),next_page:VC.nullable(),pagination_type:qC.nullable(),total_pages:t.int32().nullable()}).openapi(`SearchResponseSchema`);function YC(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function XC(){let e={};for(let t of Object.values(LC)){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=YC(e.searchId);return YC(t.searchId)-n})}),e}function ZC(e){return LC[e]}const QC=XC();function $C(e){let t=[];for(let[n,r]of Object.entries(QC)){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:YC(i.searchId)})}return t}function ew(e){return Object.keys(LC[e].defaultPayload.config.output_fields)}function tw(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 ew(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:QC}}function nw(e){let t=ZC(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}const rw={"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}},iw={general:{type:`form_section`,path:`general`,label:`General`,description:`Search settings and pagination.`},pagination:{type:`form_section`,path:`pagination`,label:`General`},"config.filters":{type:`form_section`,path:`config.filters`,label:`Filters`,description:`Narrow the search results.`},"config.output_fields":{type:`form_section`,path:`config.output_fields`,label:`Outputs`,description:`Pick and rename the fields the search returns.`},"config.input_fields":{type:`form_section`,path:`config.input_fields`,label:`Inputs`},"config.pipe_io":{type:`form_section`,path:`config.pipe_io`,label:`I/O`},"config.extractions":{type:`form_section`,path:`config.json_extraction`,label:`Extractions`},conditions:{type:`form_section`,path:`run_if`,label:`Conditions`},connector:{type:`form_section`,path:`connector`,label:`Connector`}},aw={general:1,pagination:2,"config.filters":10,"config.output_fields":20,"config.input_fields":21,"config.pipe_io":22,"config.extractions":23,conditions:90,connector:91};function ow({searchPayload:e,sectionOrder:t=aw,formContext:n,groupPathMatch:r=rw,formResolvers:i}){return Ii({schema:KC(e.search_id),groupPathMatch:r,extractFromSchema:e=>x.get(e),sectionOrder:t,sectionMap:iw,store:n,formResolvers:i})}const sw=new Proxy({},{get:(e,t)=>e=>e.type===t}),cw=`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(`.`),lw=r.enum(cw),uw=r.object({provider_logo:r.object({provider:mn}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:lw}).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()}),dw=`providers_input.fields_select_input.json_extraction_input.pipes_run_if_input.connector_input.include_exclude_input.include_exclude_select_input.exact_range_input.range_input.date_range_input.boolean_input.nullable_boolean_input.text_input.template_input.output_field_input.textarea_input.prompt_input.select_input.context_select_input.multi_select_input.min_max_int_input.async_multi_select_input.async_include_exclude_select_input.multi_create_input.ordered_multi_create_input.int_input.number_input.json_schema_input`.split(`.`);r.enum(dw);const fw=r.object({value:r.string(),label:r.string(),widgets:uw.optional()}),pw=r.object({field_options:r.record(r.string(),r.object({options:r.array(fw)}))}),mw=[{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}],hw=new Map(mw.map(e=>[e.id,e]));function gw(e){return hw.get(e)}function _w(){return mw}const vw={"company:funding:leadmagic@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:funding:leadmagic@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:funding:leadmagic@2`}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"company:identity@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@1`}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:identity@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@2`,config:{}}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:identity@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity@3`,config:{}}],input:[{id:`1`,company_name:`Pipe0`}]}],"company:overview@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@1`}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"people:phone:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:phone:workemail:waterfall@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"person:mobile:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:mobile:workemail:waterfall@1`}],input:[{id:`1`,work_email:`jane@pipe0.com`}]}],"people:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:waterfall@1`}],input:[{id:`1`,name:`John Doe`,company_website_url:`https://pipe0.com`}]}],"person:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:waterfall@1`}],input:[{id:`1`,name:`John Doe`,company_domain:`pipe0.com`}]}],"company:techstack:builtwith@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@1`}],input:[{id:`1`,company_website_url:`https://pipe0.com`}]}],"company:techstack:builtwith@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:techstack:builtwith@2`}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"prompt:run@1":[{config:{environment:`production`},pipes:[{pipe_id:`prompt:run@1`,config:{model:`openai-gpt-latest`,prompt:{template:`
|
|
74
74
|
Tell me if {{ input name required="true" type="string" }} fits the ICP criteria for my company <YOUR_COMPANY_NAME>.
|
|
75
75
|
|
|
76
76
|
My company, <YOUR_COMPANY_NAME>, can be described as follows: <ADD_COMPANY_DESCRIPTION>.
|
|
@@ -88,7 +88,7 @@ How do you...`]}},crustdata_post_list:{label:`Crustdata Post list`,type:`json`,f
|
|
|
88
88
|
{{ output reason type="string" description="A text explanation of your decision process" }}
|
|
89
89
|
|
|
90
90
|
{{ output json_summary type="json" schema="summary" description="A JSON object that combines both fields" }}
|
|
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:`
|
|
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`}]}],"email:iswork@1":[{config:{environment:`production`},pipes:[{pipe_id:`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:split@1":[{config:{environment:`production`},pipes:[{pipe_id:`person: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`}]}],"person:personalemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:personalemail:profileurl: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`}]}],"email:validate:zerobounce@1":[{config:{environment:`production`},pipes:[{pipe_id:`email:validate:zerobounce@1`}],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`}]}],"person:mobile:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:mobile:profileurl: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`}]}],"person:profile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person: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:newssummary:domain@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:newssummary:domain@1`,config:{}}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"company:websiteurl:email@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:websiteurl:email@1`}],input:[{id:`1`,email:`https://pipe0.com`}]}],"company:domain:workemail@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:domain:workemail@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"json:extract:multi@1":[{config:{environment:`production`},pipes:[{pipe_id:`json:extract:multi@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:`
|
|
92
92
|
Write an internal slack message that notifies the team about a high value signup
|
|
93
93
|
that customer success should reach out to personally.
|
|
94
94
|
|
|
@@ -115,4 +115,4 @@ Customize the message using the name of the user: {{ input name type="string" re
|
|
|
115
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:
|
|
116
116
|
**Name**: {{ input name type="string" }}
|
|
117
117
|
**Email**: {{ input email type="string" }}
|
|
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 Iv(e){let t=[];for(let n of e){if(n instanceof B){t.push(n);continue}let e=ug.parse(n);if(!dg(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(og(n.pipe_id))(e);t.push(r)}return t}function Lv(e,t){let n=Iv(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 Rv(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 zv(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 Vv(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(!zv(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 Hv(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(!zv(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(zv(i)||Bv(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function Uv(e){try{return Vv(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function Wv(e,t){if(t)switch(e){case`website_url`:return Uv(t);default:return}}function Gv(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function Kv(e,t){return e==null?void 0:t(e)}function qv(){return Jv({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function Jv({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:Gv(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 Xv(e){let t;if(Zv(e))return Xv(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function Zv(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`&&Zv(e.value,t++))throw new X([Y.RecursiveExpandedValue()]);return!0}return!1}function Qv(e){let t=Zv(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function $v(e){return Zv(e)?$v(e.value):e}function ey(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 Yv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function ty(e,t,n){if(t==null)return{};try{let r=Tt(e,n)?.getStaticWidgets?.(t),i=Wv(n,t);return Yv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function ny(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 ry=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}=Qv(n),c;c=s&&o.type?o.type:Xv(e);let l;Et(t)&&(l=h(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]=ny(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function iy(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 X([Y.AmbiguousDependency({fieldName:e.resolvedName})]);t[e.resolvedName]=n})}return t}function ay(e){let t=iy(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of Ji(i.getInputRequirement())){let o=t[n.resolvedName];if(r===o)throw new X([{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 oy({config:e,pipes:t,input:n,field_annotations:r}){try{let i=uy({config:e,pipes:t,input:n,fieldAnnotations:r});return sy(i),i}catch(e){throw e instanceof X?e:new X([Y.ValidationFailed({error:e})])}}function sy(e){for(let t of e.orderedPipeInstances)for(let{field:n}of Ji(t.getInputRequirement()))fl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),pl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function cy(e,t){if(!e&&!t)throw new X([Y.MustDefineAnnotations()]);return new ry(t||{}).merge(ry.fromInput(e||[]))}function ly(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 X([Y.DuplicatePipeOutput({pipeId:t.pipeId,outputField:a})]);n[a.resolvedName]={type:fl(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:pl(e,a.format)}}}),n}function uy(e){let t=Iv(e.pipes),n=cy(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)}),py(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]=dy(t,n),u=ly({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 dy(e,t){let n=ay(e),r=fy(n,e,t),i=[],a=[];return r.forEach(t=>{let n=e[t];if(!n)throw new X([Y.FaultyEnrichmentOrder()]);i.push(n.payload),a.push(n)}),[i,a,n]}function fy(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?Ji(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 X([Y.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 X([Y.UnresolvableDependency({index:t,dependencyIndex:e.index})]);!o.has(e.index)&&!e.required&&u(e.index)}o.delete(t),a.add(t),i.push(t)}for(let e=0;e<r;e++)c(e)&&l(e);for(let e=0;e<r;e++)c(e)||l(e);for(let e=0;e<r;e++)u(e);let ee=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];if(!n)throw Error(`Pipe not defined`);Object.values(n.getOutputFields()).forEach(e=>{ee.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();qi(a,ee)||s.push(Y.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`)?Y.HardInputDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}):Y.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(!ee.has(e))throw new X([Y.ConditionTargetFieldNotFound({fieldName:e,pipeId:r.pipeId,pipeIdx:n})])})}if(s.length>0)throw new X(s);return i}function py(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 gr(e.connection).provider;e.type}).forEach(e=>{e&&n.delete(e)}),n.size>0))throw new X([Y.MissingCustomConnections({index:t,pipeId:e.pipeId,missingProviders:Array.from(n)})])}}const my=[`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`],hy=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],gy=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})}),_y=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 vy(e){return!isNaN(e.getTime())}const yy=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of my){let n=ee(t,e,new Date(0));if(vy(n))return u(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),by=r.coerce.string().trim().transform(e=>{for(let t of hy){let n=ee(e,t,new Date(0));if(vy(n))return u(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),xy=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`}),Sy=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()),Cy=r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`});function wy(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return gy.parse(e);case`email`:return _y.parse(e);case`datetime`:return yy.parse(e);case`date`:return by.parse(e);case`decimal`:return xy.parse(e);case`int`:return Sy.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return Cy.parse(e);case`website_url`:return gy.parse(e);case`profile_url`:return gy.parse(e);case`zip_code`:return Cy.parse(e);case`markdown`:case`phone`:case`text`:return Cy.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 ${Zs(e)} into format ${t}: ${r.message}`):r}}function Ty(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(Zv(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:wy(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 Ey(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(Y.InvalidId());continue}if(n.records[a]){n.errors.push(Y.IDConflict({index:r,id:a}));continue}n.order.push(a),n.records[a]={id:a,fields:Ty(e,n,i)}}}function Dy({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{Ey(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=Oy(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,ky(e,r,n?.queue?.enabled),Fy(e,r),r.errors.length>0)throw new X(r.errors);return r}catch(e){throw e instanceof X?e:new X([Y.ResponseGenerationFailed({error:e})])}}function Oy(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(Y.UnknownResolver({pipeId:s.pipe_id,index:o}));continue}let{queuedRecordIds:l,adoptedRecordIds:u}=Py(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function ky(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 ${ru(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 ${ru(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(Y.UnknownResolver({pipeId:i.pipe_id,index:n}));continue}Object.values(t.records).forEach(e=>{let{valid:t,failedPipeInputField:n,failedRecordField:i}=Yi(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function Ay({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 jy({status:e,config:t}){return t.queue?.enabled?!!(e===`failed`&&t.queue?.triggers?.fieldIsFailed||e===`no_result`&&t.queue?.triggers?.fieldIsNoResult):!1}function My({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return Ay({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||jy({status:n.status,config:r})}function Ny({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 Py(e,t,n,r,i){let a=Object.entries(r.records),o=[],s=[];for(let c=0;c<a.length;c++){let[l,u]=a[c];for(let a of Object.values(n.getOutputFields())){let{resolvedName:l,type:ee}=a,te=fl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},ee),ne=pl({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:d,isExpanded:re,expandedValue:f}=Qv(t[c]?.[l]??null),ie=u.fields[l],p=n.getConfigHashKey(),ae=n.getInputHashKey(u),m={type:te,format:ne,claimed_by:{ref:n.pipeId,config_hash:p}};if(r.errors.length>0&&d===null){u.fields[l]={...m,value:null,status:`failed`,reason:{summary:`Validation error`,...r.errors[0]},claimed_by:{ref:d===void 0?n.pipeId:`input`,config_hash:d===void 0?p:null},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let oe=Xv(d);if(oe!==`unknown`&&oe!==te){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;u.fields[l]={...m,value:t?null:d,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:f?.widgets||ie?.widgets||{},format:t?ne:f?.format||ne};continue}if(d==null){let t=re&&i.queue?.enabled&&(f.status===`pending`||f.status===`skipped`),n=re&&!t;if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=Ny({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}if(re&&f.status!==`pending`&&My({inputHashKey:ae,configHashKey:p,config:i,expandedValue:f})&&i.queue?.enabled)o.push(u.id),u.fields[l]={...m,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae},widgets:{}};else if(n)u.fields[l]={...m,value:null,status:f.status,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||null,widgets:f.widgets||{},format:f.format||ne};else{let t=i.queue?.enabled?`queued`:`pending`;t===`queued`&&o.push(u.id),u.fields[l]={...m,value:null,status:t,reason:null,resolved_by:t===`queued`?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:null,widgets:{}}}continue}if(re){if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=Ny({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}My({inputHashKey:ae,configHashKey:p,expandedValue:f,config:i})&&r.errors.length===0?(o.push(u.id),u.fields[l]={...m,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):u.fields[l]={...m,value:d,status:`completed`,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:f.widgets||ie?.widgets||{},format:f.format||ne}}else try{let e=wy(d,ne);u.fields[l]={...m,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:ie?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(u.id),u.fields[l]={...m,value:d,status:t,reason:{code:`InvalidFormat`,message:`Field is of invalid format. Expected: ${a.format}`,summary:`Invalid Format`},resolved_by:{ref:`system`,environment:e.environment,config_hash:p,input_hash:ae},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function Fy(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=ey(i,r.value,r);r.widgets=Yv(r.widgets||{},e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function Iy(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 Ly(e,t={}){return Object.values(e).map(e=>Iy(e.fields,t))}function Ry(e,t={}){return e.map(e=>Iy(e.fields,t))}function zy(e,t={}){return Iy(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}=Qv(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function Vy(e){let t=hr[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const Hy=[`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`],Uy=r.enum(Hy);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 Gy(e,t){let n={name:e,config:t};return $i.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 Gy(this.searchId,this.payload)}};function Ky(e){return e.split(`@`)[0]}function qy(e){return`/docs/searches/searches-catalog/${Ky(e)}/${e.split(`@`)[1]}`}const Jy=`companies:profiles:crustdata@1`,Yy=h(`company_name`),Xy=h(`company_website_url`),Zy=h(`company_description`),Qy=h(`company_profile_url`),$y=h(`crustdata_company_match`),eb=r.object({search_id:r.literal(Jy),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[Yy.name]:j({fieldName:Yy.name}),[Xy.name]:j({fieldName:Yy.name}),[Zy.name]:j({fieldName:Zy.name}),[Qy.name]:j({fieldName:Qy.name}),[$y.name]:j({fieldName:$y.name})})),filters:r.object({hq_locations:N({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.location`,optionsDef:Z(`locations`)}),crunchbase_categories:N({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.categories`,optionsDef:Z(`company.crunchbase_categories.crustdata`)}),crunchbase_investors:N({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.investors`,optionsDef:Z(`company.crunchbase_investors.crustdata`)}),tracxn_investors:N({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,required:!1,groupPath:`config.filters.investors`,disableSearch:!1,optionsDef:Z(`company.tracxn_investors.crustdata`)}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,options:Q(`crustdata.company_types`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),linkedin_industries:N({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:Z(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),markets:N({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:Z(`company.markets.crustdata`),label:`Markets`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),linkedin_categories:N({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:Z(`company.linkedin_categories.crustdata`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,required:!1,options:Q(`crustdata.company_size`),groupPath:`config.filters.company_size`}),headcount_growth_last_6m_in_percent:M({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:Q(`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:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,disableSearch:!0,required:!1,options:Q(`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:M({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,disableSearch:!0,description:``,required:!1,options:Q(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}),follower_growth_last_6m_in_percent:M({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:Q(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}),profile_summary_keywords:O({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,description:``,groupPath:`config.filters.keywords`}),competitor_websites:O({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})})})}),tb={default:{input:[{fields:[]}]}},nb=class extends ${searchId=Jy;schema=eb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Yy.name]:this.catalogOutput(Yy),[Xy.name]:this.catalogOutput(Xy),[Zy.name]:this.catalogOutput(Zy),[Qy.name]:this.catalogOutput(Qy),[$y.name]:this.catalogOutput($y)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return tb}},rb=eb,ib={searchId:Jy,baseSearch:Ky(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[R.COMPANY_PROFILES],docPath:qy(Jy),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:Jy,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:[]}}}},ab=`companies:profiles:exa@1`,ob=h(`company_name`),sb=h(`company_website_url`),cb=h(`company_description`),lb=h(`company_industry`),ub=h(`headcount`),db=h(`exa_match_evaluation`),fb=r.object({search_id:r.literal(ab),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[ob.name]:j({fieldName:ob.name}),[sb.name]:j({fieldName:ob.name}),[cb.name]:j({fieldName:cb.name}),[lb.name]:j({fieldName:lb.name}),[ub.name]:j({fieldName:ub.name}),[db.name]:j({fieldName:db.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})})})}),pb={default:{input:[{fields:[]}]}},mb=class extends ${searchId=ab;schema=fb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ob.name]:this.catalogOutput(ob),[sb.name]:this.catalogOutput(sb),[cb.name]:this.catalogOutput(cb),[lb.name]:this.catalogOutput(lb),[ub.name]:this.catalogOutput(ub),[db.name]:this.catalogOutput(db)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return pb}},hb=fb,gb={searchId:ab,baseSearch:Ky(`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:[R.COMPANY_PROFILES],docPath:qy(ab),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:ab,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:``}}}},_b=`companies:profiles:icypeas@1`,vb=h(`company_industry`),yb=h(`company_name`),bb=h(`company_description`),xb=h(`company_website_url`),Sb=h(`headcount`),Cb=h(`company_region`),wb=h(`company_profile_url`),Tb=h(`icypeas_company_match`),Eb=r.object({search_id:r.literal(_b),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({company_name:j({fieldName:yb.name}),company_industry:j({fieldName:vb.name}),company_description:j({fieldName:bb.name}),company_website_url:j({fieldName:xb.name}),headcount:j({fieldName:Sb.name}),company_region:j({fieldName:Cb.name}),company_profile_url:j({fieldName:wb.name}),icypeas_company_match:j({fieldName:Tb.name})})),filters:r.object({name:k({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:A({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:A({path:`config.filters.industry`,sectionKey:`config.filters`,optionsDef:i_(`linkedin.industries`),includeLabel:`Industries to include`,excludeLabel:`Industries to exclude`,description:``,placeholder:``,groupPath:`config.filters.industry`,maxItems:50}).optional(),location:k({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:k({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:k({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})})})}),Db={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},Ob=class extends ${searchId=_b;schema=Eb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[yb.name]:this.catalogOutput(yb),[vb.name]:this.catalogOutput(vb),[wb.name]:this.catalogOutput(wb),[xb.name]:this.catalogOutput(xb),[bb.name]:this.catalogOutput(bb),[Sb.name]:this.catalogOutput(Sb),[Cb.name]:this.catalogOutput(Cb),[Tb.name]:this.catalogOutput(Tb)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Db}},kb=Eb,Ab={searchId:_b,baseSearch:Ky(`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:[R.COMPANY_PROFILES],docPath:qy(_b),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:_b,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:[]}}}}},jb=`people:profiles:clado@1`,Mb=h(`name`),Nb=h(`job_title`),Pb=h(`company_name`),Fb=h(`company_profile_url`),Ib=h(`profile_url`),Lb=h(`clado_person_match`),Rb=r.object({search_id:r.literal(jb),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[Mb.name]:j({fieldName:Mb.name}),[Nb.name]:j({fieldName:Nb.name}),[Fb.name]:j({fieldName:Fb.name}),[Pb.name]:j({fieldName:Pb.name}),[Ib.name]:j({fieldName:Ib.name}),[Lb.name]:j({fieldName:Lb.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})})})}),zb={default:{input:[{fields:[{outputField:`profile_url`}]}]}},Bb=class extends ${searchId=jb;schema=Rb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Mb.name]:this.catalogOutput(Mb),[Nb.name]:this.catalogOutput(Nb),[Pb.name]:this.catalogOutput(Pb),[Ib.name]:this.catalogOutput(Ib),[Fb.name]:this.catalogOutput(Fb),[Lb.name]:this.catalogOutput(Lb)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return zb}},Vb=Rb,Hb={searchId:jb,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:[R.PEOPLE_PROFILES],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_search`,creditsPerSearch:3},provider:`clado`,defaultPayload:{search_id:jb,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:``}}}},Ub=`people:profiles:clado@2`,Wb=h(`name`),Gb=h(`job_title`),Kb=h(`company_name`),qb=h(`company_profile_url`),Jb=h(`profile_url`),Yb=h(`clado_person_match_v2`),Xb=r.object({search_id:r.literal(Ub),connector:g.nullable().optional(),config:r.object({limit:F({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:F({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:I(r.object({[Wb.name]:j({fieldName:Wb.name}),[Gb.name]:j({fieldName:Gb.name}),[qb.name]:j({fieldName:qb.name}),[Kb.name]:j({fieldName:Kb.name}),[Jb.name]:j({fieldName:Jb.name}),[Yb.name]:j({fieldName:Yb.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`]})}),Zb={default:{input:[{fields:[{outputField:`profile_url`}]}]}},Qb=class extends ${searchId=Ub;schema=Xb;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Wb.name]:this.catalogOutput(Wb),[Gb.name]:this.catalogOutput(Gb),[Kb.name]:this.catalogOutput(Kb),[Jb.name]:this.catalogOutput(Jb),[qb.name]:this.catalogOutput(qb),[Yb.name]:this.catalogOutput(Yb)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Zb}},$b=Xb,ex={searchId:Ub,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:Ub,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:``}}}},tx=`people:employees:leadmagic@1`,nx=h(`name`),rx=h(`job_title`),ix=h(`company_website_url`),ax=h(`company_name`),ox=r.object({search_id:r.literal(tx),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[nx.name]:j({fieldName:nx.name}),[ax.name]:j({fieldName:ax.name}),[ix.name]:j({fieldName:ix.name}),[rx.name]:j({fieldName:rx.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`})})})}),sx={default:{input:[{fields:[{outputField:ix.name}]}]}},cx=class extends ${searchId=tx;schema=ox;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[nx.name]:this.catalogOutput(nx),[rx.name]:this.catalogOutput(rx),[ix.name]:this.catalogOutput(ix),[ax.name]:this.catalogOutput(ax)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return sx}},lx=ox,ux={searchId:tx,baseSearch:Ky(`people:employees:leadmagic@1`),label:`Employee finder`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search for employees of a company.`,tags:[R.PEOPLE_PROFILES],docPath:qy(tx),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:tx,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:``}}}},dx=`people:profiles:crustdata@1`,fx=h(`name`),px=h(`company_website_url`),mx=h(`profile_url`),hx=h(`job_title`),gx=h(`crustdata_person_match`),_x=r.object({search_id:r.literal(dx),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[fx.name]:j({fieldName:fx.name}),[px.name]:j({fieldName:px.name}),[mx.name]:j({fieldName:mx.name}),[hx.name]:j({fieldName:hx.name}),[gx.name]:j({fieldName:gx.name})})),filters:r.object({locations:N({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:Z(`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:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile languages`,disableSearch:!1,required:!1,options:Q(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken languages`,disableSearch:!1,required:!1,options:Q(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}),skills:N({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,placeholder:`.NET, PMO, ...`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.skills`,optionsDef:Z(`skills`)}),years_of_experience:M({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:Q(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}),current_seniority_levels:A({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,optionsDef:i_(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),current_employers:O({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Current employers`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:Z(`person.current_employer_names.crustdata`)}),current_employers_website_urls:O({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Current employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),current_job_titles:O({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,order:1,groupPath:`config.filters.experience`,suggestionsDef:Z(`titles`)}),current_employers_linkedin_industries:N({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Current employers industries`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:Z(`linkedin_industries.crustdata`)}),years_at_current_company:M({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:Q(`crustdata.years_of_experience`)}),previous_employers_website_urls:O({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),previous_seniority_levels:A({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,disableSearch:!0,optionsDef:i_(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}),previous_employers:O({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:Z(`person.past_employer_names.crustdata`)}),previous_job_titles:O({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,groupPath:`config.filters.experience`,suggestionsDef:Z(`titles`)}),previous_employers_linkedin_industries:N({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:Z(`linkedin_industries.crustdata`)}),certifications:O({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,description:``}),honors:O({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:N({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:Z(`person.education_field_of_study.crustdata`)}),degree_names:N({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:Z(`person.education_degree.crustdata`)}),school_names:N({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:Z(`schools`)}),current_school_names:N({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:Z(`schools`)}),extracurricular_activities:O({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:Z(`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})})})}),vx={default:{input:[{fields:[]}]}},yx=class extends ${searchId=dx;schema=_x;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[fx.name]:this.catalogOutput(fx),[px.name]:this.catalogOutput(px),[mx.name]:this.catalogOutput(mx),[hx.name]:this.catalogOutput(hx),[gx.name]:this.catalogOutput(gx)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return vx}},bx=_x,xx={searchId:dx,baseSearch:Ky(`people:profiles:crustdata@1`),label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[R.PEOPLE_PROFILES],docPath:qy(dx),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:dx,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:[]}}}},Sx=`people:profiles:exa@1`,Cx=h(`name`),wx=h(`profile_url`),Tx=h(`job_title`),Ex=h(`company_name`),Dx=h(`company_region`),Ox=h(`exa_match_evaluation`),kx=r.object({search_id:r.literal(Sx),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[Cx.name]:j({fieldName:Cx.name}),[wx.name]:j({fieldName:wx.name}),[Tx.name]:j({fieldName:Tx.name}),[Ex.name]:j({fieldName:Ex.name}),[Dx.name]:j({fieldName:Dx.name}),[Ox.name]:j({fieldName:Ox.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})})})}),Ax={default:{input:[{fields:[]}]}},jx=class extends ${searchId=Sx;schema=kx;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Cx.name]:this.catalogOutput(Cx),[wx.name]:this.catalogOutput(wx),[Tx.name]:this.catalogOutput(Tx),[Ex.name]:this.catalogOutput(Ex),[Dx.name]:this.catalogOutput(Dx),[Ox.name]:this.catalogOutput(Ox)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Ax}},Mx=kx,Nx={searchId:Sx,baseSearch:Ky(`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:[R.COMPANY_PROFILES],docPath:qy(Sx),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:Sx,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:``}}}},Px=`people:profiles:icypeas@1`,Fx=h(`name`),Ix=h(`job_title`),Lx=h(`profile_headline`),Rx=h(`company_website_url`),zx=h(`company_profile_url`),Bx=h(`profile_url`),Vx=h(`icypeas_person_match`),Hx=r.object({search_id:r.literal(Px),connector:g.nullable().optional(),config:r.object({limit:F({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:I(r.object({[Fx.name]:j({fieldName:Fx.name}),[Ix.name]:j({fieldName:Ix.name}),[Lx.name]:j({fieldName:Lx.name}),[Rx.name]:j({fieldName:Rx.name}),[zx.name]:j({fieldName:zx.name}),[Bx.name]:j({fieldName:Bx.name}),[Vx.name]:j({fieldName:Vx.name})})),filters:r.object({firstname:k({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:k({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:k({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:k({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:k({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:k({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:k({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:k({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:k({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:k({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:k({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:k({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:k({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})})})}),Ux={default:{input:[{fields:[{outputField:`profile_url`}]}]}},Wx=class extends ${searchId=Px;schema=Hx;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Fx.name]:this.catalogOutput(Fx),[Ix.name]:this.catalogOutput(Ix),[Lx.name]:this.catalogOutput(Lx),[Rx.name]:this.catalogOutput(Rx),[zx.name]:this.catalogOutput(zx),[Bx.name]:this.catalogOutput(Bx),[Vx.name]:this.catalogOutput(Vx)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Ux}},Gx=Hx,Kx={searchId:Px,provider:`icypeas`,baseSearch:Ky(Px),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:[R.PEOPLE_PROFILES],docPath:qy(Px),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:Px,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:[]}}}}},qx={"people:profiles:crustdata@1":yx,"companies:profiles:crustdata@1":nb,"companies:profiles:exa@1":mb,"people:profiles:exa@1":jx,"people:profiles:icypeas@1":Wx,"companies:profiles:icypeas@1":Ob,"people:employees:leadmagic@1":cx,"people:profiles:clado@1":Bb,"people:profiles:clado@2":Qb},Jx={"people:profiles:crustdata@1":bx,"companies:profiles:crustdata@1":rb,"companies:profiles:exa@1":hb,"people:profiles:exa@1":Mx,"people:profiles:icypeas@1":Gx,"companies:profiles:icypeas@1":kb,"people:employees:leadmagic@1":lx,"people:profiles:clado@1":Vb,"people:profiles:clado@2":$b},Yx={"people:profiles:crustdata@1":xx,"companies:profiles:crustdata@1":ib,"companies:profiles:exa@1":gb,"people:profiles:exa@1":Nx,"people:profiles:icypeas@1":Kx,"companies:profiles:icypeas@1":Ab,"people:employees:leadmagic@1":ux,"people:profiles:clado@1":Hb,"people:profiles:clado@2":ex};function Xx(e){return qx[e]}function Zx(e){return Jx[e]}function Qx(e){return Yx[e].defaultPayload}const $x=t.discriminatedUnion(`search_id`,Object.values(Jx).map(e=>e)),eS=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=Qx(e.search_id);return t?{...e,config:Vi(e?.config||{},t.config)}:e},$x);function tS(e){return Object.keys(Yx[e].defaultPayload.config.output_fields)}const nS=Bn,rS=t.object({value:Dn,status:En,type:wn.optional(),format:Un.nullable().optional(),resolved_by:Yn.nullable().optional(),widgets:zn.optional()}),iS=t.record(t.string(),rS.nullable()),aS=t.object({search:t.object({ref:Uy}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(nS),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()})}),oS=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(iS),search_statuses:t.array(aS),organizationId:t.string()}).openapi(`SearchesResponseSchema`),sS=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),cS=sS.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),lS=t.object({config:cS.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(eS)}).openapi(`SearchesRequestSchema`);function uS(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function dS(){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=uS(e.searchId);return uS(t.searchId)-n})}),e}const fS=dS();function pS(e){let t=[];for(let[n,r]of Object.entries(fS)){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:uS(i.searchId)})}return t}function mS(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 tS(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:fS}}function hS(e){return Yx[e]}function gS(e){let t=hS(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function _S(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function vS(e){return _S(dg(e).allowedUserConnectionProviders)}function yS(e){return _S([gv(e).provider])}function bS(e){return _S([hS(e).provider])}const xS=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:2}],SS=new Map(xS.map(e=>[e.id,e]));function CS(e){return SS.get(e)}function wS(){return xS}const TS={"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 ES(e,t,n){if(t==null)return{};try{let r=Tt(e,n)?.getStaticWidgets?.(t),i=Wv(n,t);return Yv(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function DS(e){if(e instanceof s_)return e;let t=e.search_id,n=rv(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(ov.parse(e))}var OS=class extends su{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function kS(e){let t=[];for(let n of e){if(n instanceof $){t.push(n);continue}let e=n.search_id,r=Xx(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(eS.parse(n));t.push(i)}return t}function AS(e){try{return kS(e.searches)}catch(e){throw e instanceof OS?e:new X([Y.ValidationFailed({error:e})])}}const jS=/[\\^$.+()|[\]{}]/g,MS=new Map;function NS(e){let t=MS.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(jS,`\\$&`)}let r=RegExp(`^${n}$`);return MS.set(e,r),r}function PS(e,t){return NS(t).test(e)}function FS(e,t){if(!t||t.length===0)return!1;for(let n of t)if(PS(e,n))return!0;return!1}function IS(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!FS(e,n)||r&&r.length>0&&FS(e,r))}function LS(e,t){return IS(e,t?.providers)}function RS(e,t){if(!t)return!0;if(!IS(e,t.pipes))return!1;if(t.providers){let n=hg(e);if(n.length===0)return!0;if(!n.some(e=>LS(e,t)))return!1}return!0}function zS(e,t,n){return t?!(!IS(e,t.searches)||n!==void 0&&!LS(n,t)):!0}function BS(e,t,n){return t?!(!IS(e,t.searchesMulti)||n!==void 0&&!LS(n,t)):!0}function VS(e,t){return t?e.filter(e=>RS(e.pipeId,t)):e.slice()}function HS(e,t){return t?e.filter(e=>zS(e.searchId,t,e.provider)):e.slice()}function US(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 GS(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function KS(e){let t=e.cost;return Math.min(t.mode===`per_result`?t.creditsPerResult:t.mode===`per_search`?t.creditsPerSearch:t.creditsPerPage)}function qS(e){let t=Hv(e);return te(t)||new URL(t).hostname}const JS=[`http://`,`https://`,`mailto:`],YS=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function XS(e){return e?ZS(e):[]}function ZS(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=QS(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=QS(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:ZS(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=QS(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:ZS(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=QS(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:ZS(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=QS(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=QS(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(JS.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:ZS(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function QS(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if($S(e,r,n))return r;r+=1}return-1}function $S(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{xr as AI_MODELS,Sr as AI_MODEL_CATALOG,er as CatalogSchemaRefSchema,ir as ConditionOperatorsSchema,Zn as ExpandedFieldValueSchema,Al as FIELD_PLACEHOLDERS,Wn as FieldAnnotationSchema,ry as FieldAnnotations,Gn as FieldAnnotationsSchema,vn as FieldNameSchema,Vn as FieldReasonSchema,Dn as FieldValueSchema,Av as FormStoreSchema,rr as JSONExtractSchema,On as JSONMetaSchema,ur as NoConnectorSchema,g as OptionalConnectorSchema,xn as PIPE_IDS,fv as PaginationTypeSchema,Lm as PeopleWorkEmailWaterfallEntry1,B as Pipe,su as Pipe0Error,Sn as PipeIdSchema,lg as PipePayloadSchema,mr as PipeTriggerSchema,X as PipelineValidationError,bn as PipesEnvironmentSchema,Bn as PipesErrorSchema,tr as PipesFieldDefinitionSchema,nr as PipesFieldDefinitionsSchema,Qn as PipesInputSchema,bg as PipesRequestConfigSchema,xg as PipesRequestSchema,yg as PipesResponseSchema,Im as PoepleWorkEmailWaterfallPayloadSchema1,Fm as PoepleWorkEmailWaterfallPipeClass1,ug as ProcessedPipePayloadSchema,ov as ProcessedSearchPayloadSchema,eS as ProcessedSearchesPayloadSchema,yn as ProviderNameSchema,Hn as RECORD_FIELD_FORMATS,Cn as RECORD_FIELD_TYPES,Jn as RecordClaimedBySchema,Un as RecordFieldFormatSchema,Xn as RecordFieldSchema,En as RecordFieldStatusSchema,wn as RecordFieldTypeSchema,Tn as RecordIdSchema,Yn as RecordResolvedBySchema,$n as RecordSchema,ou as RequestValidationError,lr as RequiredConnectorSchema,Hy as SEARCHES_IDS,Eg as SEARCH_IDS,s_ as Search,cv as SearchErrorSchema,Dg as SearchIdSchema,iv as SearchPayloadSchema,sv as SearchRequestSchema,pv as SearchResponseSchema,lv as SearchResultFieldSchema,uv as SearchResultSchema,nS as SearchesErrorSchema,Uy as SearchesIdSchema,$x as SearchesPayloadSchema,sS as SearchesRequestBaseConfigSchema,lS as SearchesRequestSchema,oS as SearchesResponseSchema,rS as SearchesResultFieldSchema,iS as SearchesResultSchema,$ as SearchesSearch,aS as SearchesStatusSchema,ar as TRIGGER_OPERATOR_LABELS,sr as TRIGGER_STATUS_OPERATORS,or as TRIGGER_VALUE_OPERATORS,$s as TYPES_TO_FORMATS,fr as TriggerStatusOperatorsSchema,pr as TriggerStatusValueSchema,dr as TriggerValueOperatorsSchema,Dv as WidgetsByKindSchema,zn as WidgetsSchema,Wi as all,en as analyzeLiquidTemplate,Mt as and,Gi as any,Cr as buildAiModelBillableOperations,ay as buildDependencyGraph,K as buildInputRequirementFromTemplates,U as catalogInput,Zi as cleanObject,Hv as cleanUrl,Vv as cleanWebsiteUrl,wg as collectPipeContextSelectFields,Ji as collectRequirementFields,q as collectSecretReferencesFromTemplates,NS as compilePattern,Vi as configDefaults,ti as convertIntermediateFieldsIntoGroups,iu as describeRequirement,Jv as entityLogoFavicon,qv as entityLogoProfessionalProfileUrl,ai as extractFormMetadata,z as field,wt as fieldBehaviorCatalog,Ct as fieldCatalog,ru as fieldNameStr,Xv as fieldTypeFromValue,Iy as fieldsToObject,VS as filterPipeEntries,HS as filterSearchEntries,US as filterSearchesEntries,Tr as getAiModelBillingKey,Er as getAiModelConnectionRequirements,wr as getAiModelProviders,Dr as getAllAiModelProviders,V as getBasePipeName,ag as getDefaultOutputFields,hg as getDefaultPipeProviders,yv as getDefaultSearchOutputFields,tS as getDefaultSearchesOutputFields,Lv as getDependentPipeNamesForInputProperty,Rv as getDependentPipeNamesForPipe,qS as getDomain,Qv as getExpansionState,Gv as getFaviconUrlGoogle,h as getField,Tt as getFieldBehavior,Ys as getFieldDisplayLabel,ey as getFieldWidgets,vv as getInitialSearchTableData,pS as getInitialSearchesTableData,_g as getInitialTableData,ta as getInputHash,kr as getJsonMetaForFieldDef,KS as getLoweestSearchCreditAmount,GS as getLoweestSearchesCreditAmount,WS as getLowestPipeCreditAmount,Pt as getOutputFieldInfoFromDef,fg as getPipeBillableOperationDef,Pv as getPipeCategoryEntries,Nv as getPipeCategoryEntry,og as getPipeClass,ea as getPipeConfigHash,sg as getPipeDefaultPayload,H as getPipeDocsURI,dg as getPipeEntry,Iv as getPipeInstances,Tg as getPipePayloadFormConfig,cg as getPipePayloadSchema,pg as getPipeVersion,G as getProviderBillableOperation,Vy as getProviderEntry,kt as getReadableFieldStatus,_S as getSandboxConnections,vS as getSandboxConnectionsForPipe,yS as getSandboxConnectionsForSearch,bS as getSandboxConnectionsForSearches,wS as getSearchCategoryEntries,CS as getSearchCategoryEntry,rv as getSearchClass,av as getSearchDefaultPayload,gv as getSearchEntry,ES as getSearchFieldWidgets,DS as getSearchInstance,Cv as getSearchPayloadFormConfig,dv as getSearchPayloadSchema,bv as getSearchTableDataAggregates,mv as getSearchVersion,Xx as getSearchesClass,Qx as getSearchesDefaultPayload,hS as getSearchesEntry,ty as getSearchesFieldWidgets,kS as getSearchesInstances,Zx as getSearchesPayloadSchema,mS as getSearchesTableDataAggregates,uS as getSearchesVersion,Sg as getStartingCostPerPipesProvider,xv as getStartingCostPerSearchProvider,gS as getStartingCostPerSearchesProvider,vg as getTableDataAggregates,$v as getUnexpandedValue,Kv as ifDefined,L as inputFields,zy as inputFromRecord,Ry as inputFromRecordArr,Ly as inputFromRecords,wv as inputGuards,Dt as isCatalogField,$e as isEmptyValue,Et as isFieldName,RS as isPipeAllowed,LS as isProviderAllowed,qi as isRequirementMet,Yi as isRequirementSatisfiedByRecord,zS as isSearchAllowed,BS as isSearchesAllowed,_r as joinConnectionString,ra as markRecordFieldAsComplete,oa as markRecordFieldAsFailed,aa as markRecordFieldAsNoResult,ia as markRecordFieldAsPending,ca as markRecordFieldAsProcessing,sa as markRecordFieldAsSkipped,FS as matchesAny,PS as matchesPattern,Yv as mergeWidgets,C as noConnectorInput,Ki as optional,S as optionalConnectorInput,Nt as or,I as outputFields,$t as parseLiquidTemplate,qt as parseOutputTagArgs,wy as parseRecordValueOrError,XS as parseRichText,ig as pipeCatalog,jv as pipeCategoryCatalog,ng as pipeClassCatalog,rg as pipePayloadSchemaCatalog,vi as pipesAsyncIncludeExcludeSelectInput,ki as pipesContextSelectInput,bi as pipesDateRangeInput,fi as pipesFieldsSelectInput,pi as pipesIncludeExcludeInput,_i as pipesIncludeExcludeSelectInput,w as pipesInputField,Ei as pipesIntInput,Pr as pipesJsonExtractionInput,Oi as pipesJsonSchemaField,gi as pipesKeyValueListInput,wi as pipesLLMSelectInput,mi as pipesMultiCreateInput,Ti as pipesMultiSelectInput,Di as pipesNumberInput,E as pipesOptionalBooleanInput,hi as pipesOrderedMultiCreateInput,D as pipesOutputField,_ as pipesPayloadRegistry,si as pipesPromptInput,T as pipesProviderInput,yi as pipesRangeInput,Ci as pipesSelectInput,Fv as pipesSnippetCatalog,x as pipesTaggedTextInput,ci as pipesTemplateInput,xi as pipesTextInput,Si as pipesTextareaInput,b as pipesTriggerInput,J as placeholder,By as processInputObjects,hr as providerCatalog,W as rateLimitRationFallingProgression,Zt as renderLiquidTemplate,Qt as renderLiquidTemplateSync,ui as requiredConnectorInput,na as requirementToInputFields,au as requirementUnmetMessage,At as requiresConnection,jt as requiresField,nv as searchCatalog,xS as searchCategoryCatalog,ev as searchClassCatalog,tv as searchPayloadSchemaCatalog,TS as searchSnippetCatalog,P as searchesAsyncIncludeExcludeSelectInput,N as searchesAsyncMultiSelectInput,Yx as searchesCatalog,qx as searchesClassCatalog,Pi as searchesDateRangeInput,Mi as searchesExactRangeInput,k as searchesIncludeExcludeInput,A as searchesIncludeExcludeSelectInput,F as searchesIntInput,ji as searchesMinMaxIntInput,O as searchesMultiCreateInput,M as searchesMultiSelectInput,Bi as searchesNumberField,Fi as searchesOptionalBooleanInput,Ii as searchesOptionalNullableBooleanInput,Ai as searchesOrderedMultiCreateInput,j as searchesOutputField,v as searchesPayloadRegistry,Jx as searchesPayloadSchemaCatalog,Ni as searchesRangeInput,zi as searchesSelectInput,Li as searchesTextInput,Ri as searchesTextareaField,Qs as sortObjectKeys,mg as sortPipeCatalogByBasePipe,hv as sortSearchCatalogByBaseSearch,dS as sortSearchesCatalogByBaseSearch,gr as splitConnectionString,Zs as stringify,Xs as testPrint,Dy as transformIntoResponse,oy as validatePipesOrError,AS as validateSearches,Y 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>`}]}],"person:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"people:validate:email:zerobounce@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:validate:email:zerobounce@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:mobilenumber:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:workemail:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`john@pipe0.com`}]}],"people:professionalprofileurl:name@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:name@1`}],input:[{id:`1`,name:`John`,company_name:`Pipe0`,location_int:`Berlin`}]}],"people:professionalprofileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:email:waterfall@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"people:mobilenumber:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`https://linkedin.com/li/john`}]}],"company:overview@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@2`,config:{}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"company:overview@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@3`,config:{}}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"fields:merge@1":[{config:{environment:`production`},pipes:[{pipe_id:`fields:merge@1`,config:{sources:[{field_name:`field_1`},{field_name:`field_2`}]}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:scrape:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrape:firecrawl@1`,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:firecrawl@1`,config:{extraction_prompt:`Extract the company mission as well as the latest news.`,enable_full_domain_crawl:!0,enable_web_search:!0,json_schema:{type:`object`,required:[`company_mission`,`latest_news`],properties:{company_mission:{type:`string`},latest_news:{type:`string`}}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"person:email:validate:millionverifier@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:email:validate:millionverifier@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"website:scrapelist:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrapelist:firecrawl@1`,config:{scrape_main_only:!0,formats:[`markdown`,`links`]}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"website:maplinks:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:maplinks:firecrawl@1`,config:{sitemap:`include`,page_limit:20,search:``}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"contact:create:resend@1":[{config:{environment:`production`},pipes:[{pipe_id:`contact:create:resend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`resend_123`}]},config:{segment_id:`segment_id_12xeeb12`,add_as_subscribed:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"sheet:row:append@1":[{config:{environment:`production`},pipes:[{pipe_id:`sheet:row:append@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sheet_id`,run:!0,allow_field_creation:!0,allow_sheet_creation:!0,new_sheet_team_id:``,included_fields:[{field_name:`field_name`}]}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"sheet:row:expandappend@1":[{config:{environment:`production`},pipes:[{pipe_id:`sheet:row:expandappend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sheet_id`,run:!0,allow_field_creation:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"people:match:role:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:match:role:waterfall@1`,config:{providers:[{provider:`leadmagic`}],roles:[`CEO`]}}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"person:match:role:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:match:role:waterfall@1`,config:{providers:[{provider:`leadmagic`}],roles:[`CEO`]}}],input:[{id:`1`,company_domain:`acme.com`}]}],"company:match:logodev@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@1`}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"company:match:logodev@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:logodev@2`}],input:[{id:`1`,company_domain:`acme.com`}]}],"company:lookalikes:companyenrich@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:lookalikes:companyenrich@1`}],input:[{id:`1`,company_website_url:`https://acme.com`}]}],"company:lookalikes:companyenrich@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:lookalikes:companyenrich@2`}],input:[{id:`1`,company_domain:`acme.com`}]}],"person:posts:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:posts:crustdata@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-doe-3445`}]}],"people:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"person:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"company:match:crustdata@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@2`}],input:[{id:`1`,company_domain:`microsoft.com`}]}],"person:identity:amplemarket@1":[{pipes:[{pipe_id:`person:identity:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,email:`hallp@pipe0.com`}]}],"person:match:amplemarket@1":[{pipes:[{pipe_id:`person:match:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,profile_url:`https://linkedin.com/li/johndoe`}]}],"field:domainify@1":[{pipes:[{pipe_id:`field:domainify@1`}],input:[{id:`1`,url_input:`https://google.com`}]}],"field:slugify@1":[{pipes:[{pipe_id:`field:slugify@1`}],input:[{id:`1`,string_input:`input value`}]}],"http:request@1":[{pipes:[{pipe_id:`http:request@1`,config:{method:`GET`,url:`https://api.example.com/v1/companies/{{ company_name }}`,query_params:[{key:`limit`,value:`10`}],body:``,headers:[{key:`Authorization`,value:`Bearer SECRET`}],expected_response_schema:{},output_fields:{http_response_status:{alias:``,enabled:!0},http_response_body:{alias:``,enabled:!0},http_response_headers:{alias:``,enabled:!1}}}}],input:[{id:`1`,company_name:`Acme`}]}]};function yw(e){let t=[];for(let n of e){if(n instanceof W){t.push(n);continue}let e=Tx.parse(n);if(!Ex(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(xx(n.pipe_id))(e);t.push(r)}return t}function bw(e,t){let n=yw(e),r=new Set;return n.forEach(e=>Object.entries(e.inputFields).forEach(([n,i])=>{i.resolvedName===t&&r.add(e.pipeId)})),Array.from(r)}function xw(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 Sw(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 Cw(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 ww(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(Cw(e))return`https://${e}`;if(!Sw(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 Tw(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(Cw(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!Sw(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(Sw(i)||Cw(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function Ew(e){try{return ww(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function Dw(e,t){if(t)switch(e){case`website_url`:return Ew(t);default:return}}function Ow(e){let t;if(kw(e))return Ow(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function kw(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&xn.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&kw(e.value,t++))throw new Q([Z.RecursiveExpandedValue()]);return!0}return!1}function Aw(e){let t=kw(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function jw(e){return kw(e)?jw(e.value):e}function Mw(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=nn(e,n.format)?.getStaticWidgets?.(t),i=Dw(n.format,t);return eS(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Nw(e,t,n){if(t==null)return{};try{let r=nn(e,n)?.getStaticWidgets?.(t),i=Dw(n,t);return eS(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function Pw(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 Fw=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}=Aw(n),c;c=s&&o.type?o.type:Ow(e);let l;rn(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]=Pw(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function Iw(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 Lw(e){let t=Iw(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of wa(i.getInputRequirement())){let o=t[n.resolvedName];if(r===o)throw new Q([{code:`SelfReference`,message:`Pipe '${i.pipeId} has an input requirement that points to a field that is produced by itself.'`}]);if(o==null)continue;let s=e.find(e=>e.index===o);s?(s.reason??=[],s.reason=Array.from(new Set([...s.reason,`input`])),s.required=a||s.required):e.push({index:o,required:a,reason:[`input`]})}if(i.payload.run_if){let n=i.payload.run_if.when.conditions.map(e=>e.field_name);for(let r of n){let n=t[r];if(n==null)continue;let i=e.find(e=>e.index===n);i?(i.reason??=[],i.reason=Array.from(new Set([...i.reason,`input`])),i.required=!0):e.push({index:n,required:!0,reason:[`input`]})}}n.push(e)}return n}function Rw({config:e,pipes:t,input:n,field_annotations:r}){try{let i=Hw({config:e,pipes:t,input:n,fieldAnnotations:r});return zw(i),i}catch(e){throw e instanceof Q?e:new Q([Z.ValidationFailed({error:e})])}}function zw(e){for(let t of e.orderedPipeInstances)for(let{field:n}of wa(t.getInputRequirement()))Nm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),Pm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function Bw(e,t){if(!e&&!t)throw new Q([Z.MustDefineAnnotations()]);return new Fw(t||{}).merge(Fw.fromInput(e||[]))}function Vw(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:Nm(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:Pm(e,a.format),is_primary_output:a.isPrimaryOutput}}}),n}function Hw(e){let t=yw(e.pipes),n=Bw(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)}),Gw(e,t)});let a={},o={};for(let[e,t]of Object.entries(n.annotations))o[e]={type:t.type,added_by:{ref:`input`,config_hash:null,pipe_index:null},label:t.label||``,format:t.format?t.format:null,is_primary_output:!1},!i.has(e)&&(a[e]={addedBy:`input`,required:!1,type:t.type,label:t.label||e});let[s,c,l]=Uw(t,n),u=Vw({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 Uw(e,t){let n=Lw(e),r=Ww(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 Ww(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?wa(n.getInputRequirement()).length>0:!1},l=(n,r=[])=>{if(o.has(n)){let e=n,i=r[r.length-1]||0,a={idx:i,pipe_id:t[i]?.pipeId},o={idx:e,pipeId:t[e]?.pipeId};throw new Q([Z.CircularDependency({currentPipe:a,circularPipe:o})])}if(a.has(n))return;o.add(n),r.push(n);let s=e[n]||[];for(let e of s)l(e.index,r);r.pop(),o.delete(n),a.add(n),i.push(n)};function u(t){if(a.has(t))return;o.add(t);let n=e[t]||[];for(let e of n){if(!a.has(e.index)&&e.required)throw new Q([Z.UnresolvableDependency({index:t,dependencyIndex:e.index})]);!o.has(e.index)&&!e.required&&u(e.index)}o.delete(t),a.add(t),i.push(t)}for(let e=0;e<r;e++)c(e)&&l(e);for(let e=0;e<r;e++)c(e)||l(e);for(let e=0;e<r;e++)u(e);let ee=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];if(!n)throw Error(`Pipe not defined`);Object.values(n.getOutputFields()).forEach(e=>{ee.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();Ca(a,ee)||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.run_if&&r.payload.run_if.when.conditions.map(e=>e.field_name).forEach(e=>{if(!ee.has(e))throw new Q([Z.ConditionTargetFieldNotFound({fieldName:e,pipeId:r.pipeId,pipeIdx:n})])})}if(s.length>0)throw new Q(s);return i}function Gw(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 qr(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 Kw=[`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`],qw=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],Jw=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})}),Yw=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 Xw(e){return!isNaN(e.getTime())}const Zw=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of Kw){let n=ee(t,e,new Date(0));if(Xw(n))return u(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),Qw=r.coerce.string().trim().transform(e=>{for(let t of qw){let n=ee(e,t,new Date(0));if(Xw(n))return u(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),$w=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`}),eT=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()),tT=r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`});function nT(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return Jw.parse(e);case`email`:return Yw.parse(e);case`datetime`:return Zw.parse(e);case`date`:return Qw.parse(e);case`decimal`:return $w.parse(e);case`int`:return eT.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return tT.parse(e);case`website_url`:return Jw.parse(e);case`profile_url`:return Jw.parse(e);case`zip_code`:return tT.parse(e);case`markdown`:case`phone`:case`text`:return tT.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 ${zu(e)} into format ${t}: ${r.message}`):r}}function rT(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(kw(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:nT(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 iT(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:rT(e,n,i)}}}function aT({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{iT(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=oT(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,sT(e,r,n?.queue?.enabled),pT(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 oT(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}=fT(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function sT(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 ${Lh(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 ${Lh(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}=Ta(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function cT({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 lT({status:e,config:t}){return t.queue?.enabled?!!(e===`failed`&&t.queue?.triggers?.fieldIsFailed||e===`no_result`&&t.queue?.triggers?.fieldIsNoResult):!1}function uT({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return cT({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||lT({status:n.status,config:r})}function dT({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 fT(e,t,n,r,i){let a=Object.entries(r.records),o=[],s=[];for(let c=0;c<a.length;c++){let[l,u]=a[c];for(let a of Object.values(n.getOutputFields())){let{resolvedName:l,type:ee}=a,te=Nm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},ee),ne=Pm({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:d,isExpanded:re,expandedValue:f}=Aw(t[c]?.[l]??null),ie=u.fields[l],p=n.getConfigHashKey(),ae=n.getInputHashKey(u),oe={type:te,format:ne,claimed_by:{ref:n.pipeId,config_hash:p}};if(r.errors.length>0&&d===null){u.fields[l]={...oe,value:null,status:`failed`,reason:{summary:`Validation error`,...r.errors[0]},claimed_by:{ref:d===void 0?n.pipeId:`input`,config_hash:d===void 0?p:null},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let se=Ow(d);if(se!==`unknown`&&se!==te){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;u.fields[l]={...oe,value:t?null:d,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:f?.widgets||ie?.widgets||{},format:t?ne:f?.format||ne};continue}if(d==null){let t=re&&i.queue?.enabled&&(f.status===`pending`||f.status===`skipped`),n=re&&!t;if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=dT({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}if(re&&f.status!==`pending`&&uT({inputHashKey:ae,configHashKey:p,config:i,expandedValue:f})&&i.queue?.enabled)o.push(u.id),u.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae},widgets:{}};else if(n)u.fields[l]={...oe,value:null,status:f.status,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||null,widgets:f.widgets||{},format:f.format||ne};else{let t=i.queue?.enabled?`queued`:`pending`;t===`queued`&&o.push(u.id),u.fields[l]={...oe,value:null,status:t,reason:null,resolved_by:t===`queued`?{environment:e.environment,ref:`system`,config_hash:p,input_hash:ae}:null,widgets:{}}}continue}if(re){if(re&&i.adopt?.enabled===!0){let{didAdopt:e}=dT({inputHashKey:ae,configHashKey:p,expandedValue:f});e&&s.push(u.id)}uT({inputHashKey:ae,configHashKey:p,expandedValue:f,config:i})&&r.errors.length===0?(o.push(u.id),u.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):u.fields[l]={...oe,value:d,status:`completed`,type:f.type||te,reason:f.reason||null,resolved_by:f.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:f.widgets||ie?.widgets||{},format:f.format||ne}}else try{let e=nT(d,ne);u.fields[l]={...oe,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:ie?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(u.id),u.fields[l]={...oe,value:d,status:t,reason:{code:`InvalidFormat`,message:`Field is of invalid format. Expected: ${a.format}`,summary:`Invalid Format`},resolved_by:{ref:`system`,environment:e.environment,config_hash:p,input_hash:ae},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function pT(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=Mw(i,r.value,r);r.widgets=eS(r.widgets||{},e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function mT(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 hT(e,t={}){return Object.values(e).map(e=>mT(e.fields,t))}function gT(e,t={}){return e.map(e=>mT(e.fields,t))}function _T(e,t={}){return mT(e.fields,t)}function vT(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=Aw(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function yT(e){let t=ur[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const bT=[`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`],xT=r.enum(bT);function ST(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 CT(e,t){let n={name:e,config:t};return ka.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 CT(this.searchId,this.payload)}};function wT(e){return e.split(`@`)[0]}function TT(e){return`/docs/searches/searches-catalog/${wT(e)}/${e.split(`@`)[1]}`}const ET=`companies:profiles:crustdata@1`,DT=v(`company_name`),OT=v(`company_website_url`),kT=v(`company_description`),AT=v(`company_profile_url`),jT=v(`crustdata_company_match`),MT=r.object({search_id:r.literal(ET),connector:y.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:ma({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:z(r.object({[DT.name]:P({fieldName:DT.name}),[OT.name]:P({fieldName:DT.name}),[kT.name]:P({fieldName:kT.name}),[AT.name]:P({fieldName:AT.name}),[jT.name]:P({fieldName:jT.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:_(`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:_(`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:_(`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:_(`company.tracxn_investors.crustdata`)}),company_types:F({sectionKey:`config.filters`,path:`config.filters.company_types`,options:h(`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:_(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:_(`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:_(`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:h(`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:h(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}),revenue_in_usd:ua({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:h(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}),last_funding_amount:ua({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:h(`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:h(`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=>{ST(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),NT={default:{input:[{fields:[]}]}},PT=class extends ${searchId=ET;schema=MT;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[DT.name]:this.catalogOutput(DT),[OT.name]:this.catalogOutput(OT),[kT.name]:this.catalogOutput(kT),[AT.name]:this.catalogOutput(AT),[jT.name]:this.catalogOutput(jT)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return NT}},FT=MT,IT={searchId:ET,baseSearch:wT(`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:TT(ET),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:ET,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:[]}}}},LT=`companies:profiles:exa@1`,RT=v(`company_name`),zT=v(`company_website_url`),BT=v(`company_description`),VT=v(`company_industry`),HT=v(`headcount`),UT=v(`exa_match_evaluation`),WT=r.object({search_id:r.literal(LT),connector:y.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({[RT.name]:P({fieldName:RT.name}),[zT.name]:P({fieldName:RT.name}),[BT.name]:P({fieldName:BT.name}),[VT.name]:P({fieldName:VT.name}),[HT.name]:P({fieldName:HT.name}),[UT.name]:P({fieldName:UT.name})})),filters:r.object({query:ha({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})})})}),GT={default:{input:[{fields:[]}]}},KT=class extends ${searchId=LT;schema=WT;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[RT.name]:this.catalogOutput(RT),[zT.name]:this.catalogOutput(zT),[BT.name]:this.catalogOutput(BT),[VT.name]:this.catalogOutput(VT),[HT.name]:this.catalogOutput(HT),[UT.name]:this.catalogOutput(UT)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return GT}},qT=WT,JT={searchId:LT,baseSearch:wT(`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:TT(LT),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:LT,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:``}}}},YT=`companies:profiles:icypeas@1`,XT=v(`company_industry`),ZT=v(`company_name`),QT=v(`company_description`),$T=v(`company_website_url`),eE=v(`headcount`),tE=v(`company_region`),nE=v(`company_profile_url`),rE=v(`icypeas_company_match`),iE=r.object({search_id:r.literal(YT),connector:y.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:ZT.name}),company_industry:P({fieldName:XT.name}),company_description:P({fieldName:QT.name}),company_website_url:P({fieldName:$T.name}),headcount:P({fieldName:eE.name}),company_region:P({fieldName:tE.name}),company_profile_url:P({fieldName:nE.name}),icypeas_company_match:P({fieldName:rE.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:g(`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:ua({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=>{ST(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),aE={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},oE=class extends ${searchId=YT;schema=iE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ZT.name]:this.catalogOutput(ZT),[XT.name]:this.catalogOutput(XT),[nE.name]:this.catalogOutput(nE),[$T.name]:this.catalogOutput($T),[QT.name]:this.catalogOutput(QT),[eE.name]:this.catalogOutput(eE),[tE.name]:this.catalogOutput(tE),[rE.name]:this.catalogOutput(rE)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return aE}},sE=iE,cE={searchId:YT,baseSearch:wT(`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:TT(YT),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:YT,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:[]}}}}},lE=`people:profiles:clado@1`,uE=v(`name`),dE=v(`job_title`),fE=v(`company_name`),pE=v(`company_profile_url`),mE=v(`profile_url`),hE=v(`clado_person_match`),gE=r.object({search_id:r.literal(lE),connector:y.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({[uE.name]:P({fieldName:uE.name}),[dE.name]:P({fieldName:dE.name}),[pE.name]:P({fieldName:pE.name}),[fE.name]:P({fieldName:fE.name}),[mE.name]:P({fieldName:mE.name}),[hE.name]:P({fieldName:hE.name})})),filters:r.object({query:ha({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})})})}),_E={default:{input:[{fields:[{outputField:`profile_url`}]}]}},vE=class extends ${searchId=lE;schema=gE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[uE.name]:this.catalogOutput(uE),[dE.name]:this.catalogOutput(dE),[fE.name]:this.catalogOutput(fE),[mE.name]:this.catalogOutput(mE),[pE.name]:this.catalogOutput(pE),[hE.name]:this.catalogOutput(hE)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return _E}},yE=gE,bE={searchId:lE,baseSearch:jt(`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:lE,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:``}}}},xE=`people:profiles:clado@2`,SE=v(`name`),CE=v(`job_title`),wE=v(`company_name`),TE=v(`company_profile_url`),EE=v(`profile_url`),DE=v(`clado_person_match_v2`),OE=r.object({search_id:r.literal(xE),connector:y.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:ma({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({[SE.name]:P({fieldName:SE.name}),[CE.name]:P({fieldName:CE.name}),[TE.name]:P({fieldName:TE.name}),[wE.name]:P({fieldName:wE.name}),[EE.name]:P({fieldName:EE.name}),[DE.name]:P({fieldName:DE.name})})),filters:r.object({query:ha({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`]})}),kE={default:{input:[{fields:[{outputField:`profile_url`}]}]}},AE=class extends ${searchId=xE;schema=OE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[SE.name]:this.catalogOutput(SE),[CE.name]:this.catalogOutput(CE),[wE.name]:this.catalogOutput(wE),[EE.name]:this.catalogOutput(EE),[TE.name]:this.catalogOutput(TE),[DE.name]:this.catalogOutput(DE)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return kE}},jE=OE,ME={searchId:xE,baseSearch:jt(`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:xE,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:``}}}},NE=`people:employees:leadmagic@1`,PE=v(`name`),FE=v(`job_title`),IE=v(`company_website_url`),LE=v(`company_name`),RE=r.object({search_id:r.literal(NE),connector:y.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({[PE.name]:P({fieldName:PE.name}),[LE.name]:P({fieldName:LE.name}),[IE.name]:P({fieldName:IE.name}),[FE.name]:P({fieldName:FE.name})})),filters:r.object({company_website_url:ma({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`})})})}),zE={default:{input:[{fields:[{outputField:IE.name}]}]}},BE=class extends ${searchId=NE;schema=RE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[PE.name]:this.catalogOutput(PE),[FE.name]:this.catalogOutput(FE),[IE.name]:this.catalogOutput(IE),[LE.name]:this.catalogOutput(LE)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return zE}},VE=RE,HE={searchId:NE,baseSearch:wT(`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:TT(NE),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:NE,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:``}}}},UE=`people:profiles:crustdata@1`,WE=v(`name`),GE=v(`company_website_url`),KE=v(`profile_url`),qE=v(`job_title`),JE=v(`crustdata_person_match`),YE=r.object({search_id:r.literal(UE),connector:y.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:ma({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}),output_fields:z(r.object({[WE.name]:P({fieldName:WE.name}),[GE.name]:P({fieldName:GE.name}),[KE.name]:P({fieldName:KE.name}),[qE.name]:P({fieldName:qE.name}),[JE.name]:P({fieldName:JE.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:_(`locations`),groupPath:`config.filters.general`}),profile_headline_keywords:sa({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:sa({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:h(`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:h(`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:_(`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:h(`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:g(`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:_(`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:_(`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:_(`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:h(`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:g(`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:_(`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:_(`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:_(`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:pa({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:_(`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:_(`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:_(`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:_(`schools`)}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:_(`person.education_activities.crustdata`)})}).check(e=>{ST(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),XE={default:{input:[{fields:[]}]}},ZE=class extends ${searchId=UE;schema=YE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[WE.name]:this.catalogOutput(WE),[GE.name]:this.catalogOutput(GE),[KE.name]:this.catalogOutput(KE),[qE.name]:this.catalogOutput(qE),[JE.name]:this.catalogOutput(JE)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return XE}},QE=YE,$E={searchId:UE,baseSearch:wT(`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:TT(UE),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:UE,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:[]}}}},eD=`people:profiles:exa@1`,tD=v(`name`),nD=v(`profile_url`),rD=v(`job_title`),iD=v(`company_name`),aD=v(`company_region`),oD=v(`exa_match_evaluation`),sD=r.object({search_id:r.literal(eD),connector:y.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({[tD.name]:P({fieldName:tD.name}),[nD.name]:P({fieldName:nD.name}),[rD.name]:P({fieldName:rD.name}),[iD.name]:P({fieldName:iD.name}),[aD.name]:P({fieldName:aD.name}),[oD.name]:P({fieldName:oD.name})})),filters:r.object({query:ha({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})})})}),cD={default:{input:[{fields:[]}]}},lD=class extends ${searchId=eD;schema=sD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[tD.name]:this.catalogOutput(tD),[nD.name]:this.catalogOutput(nD),[rD.name]:this.catalogOutput(rD),[iD.name]:this.catalogOutput(iD),[aD.name]:this.catalogOutput(aD),[oD.name]:this.catalogOutput(oD)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return cD}},uD=sD,dD={searchId:eD,baseSearch:wT(`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:TT(eD),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:eD,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:``}}}},fD=`people:profiles:icypeas@1`,pD=v(`name`),mD=v(`job_title`),hD=v(`profile_headline`),gD=v(`company_website_url`),_D=v(`company_profile_url`),vD=v(`profile_url`),yD=v(`icypeas_person_match`),bD=r.object({search_id:r.literal(fD),connector:y.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({[pD.name]:P({fieldName:pD.name}),[mD.name]:P({fieldName:mD.name}),[hD.name]:P({fieldName:hD.name}),[gD.name]:P({fieldName:gD.name}),[_D.name]:P({fieldName:_D.name}),[vD.name]:P({fieldName:vD.name}),[yD.name]:P({fieldName:yD.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=>{ST(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),xD={default:{input:[{fields:[{outputField:`profile_url`}]}]}},SD=class extends ${searchId=fD;schema=bD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[pD.name]:this.catalogOutput(pD),[mD.name]:this.catalogOutput(mD),[hD.name]:this.catalogOutput(hD),[gD.name]:this.catalogOutput(gD),[_D.name]:this.catalogOutput(_D),[vD.name]:this.catalogOutput(vD),[yD.name]:this.catalogOutput(yD)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return xD}},CD=bD,wD={searchId:fD,provider:`icypeas`,baseSearch:wT(fD),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:TT(fD),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:fD,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:[]}}}}},TD={"people:profiles:crustdata@1":ZE,"companies:profiles:crustdata@1":PT,"companies:profiles:exa@1":KT,"people:profiles:exa@1":lD,"people:profiles:icypeas@1":SD,"companies:profiles:icypeas@1":oE,"people:employees:leadmagic@1":BE,"people:profiles:clado@1":vE,"people:profiles:clado@2":AE},ED={"people:profiles:crustdata@1":QE,"companies:profiles:crustdata@1":FT,"companies:profiles:exa@1":qT,"people:profiles:exa@1":uD,"people:profiles:icypeas@1":CD,"companies:profiles:icypeas@1":sE,"people:employees:leadmagic@1":VE,"people:profiles:clado@1":yE,"people:profiles:clado@2":jE},DD={"people:profiles:crustdata@1":$E,"companies:profiles:crustdata@1":IT,"companies:profiles:exa@1":JT,"people:profiles:exa@1":dD,"people:profiles:icypeas@1":wD,"companies:profiles:icypeas@1":cE,"people:employees:leadmagic@1":HE,"people:profiles:clado@1":bE,"people:profiles:clado@2":ME};function OD(e){return TD[e]}function kD(e){return ED[e]}function AD(e){return DD[e].defaultPayload}const jD=t.discriminatedUnion(`search_id`,Object.values(ED).map(e=>e)),MD=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=AD(e.search_id);return t?{...e,config:va(e?.config||{},t.config)}:e},jD);function ND(e){return Object.keys(DD[e].defaultPayload.config.output_fields)}const PD=Fn,FD=t.object({value:Sn,status:xn,type:yn.optional(),format:Rn.nullable().optional(),resolved_by:Wn.nullable().optional(),widgets:Pn.optional()}),ID=t.record(t.string(),FD.nullable()),LD=t.object({search:t.object({ref:xT}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(PD),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()})}),RD=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(ID),search_statuses:t.array(LD),organizationId:t.string()}).openapi(`SearchesResponseSchema`),zD=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),BD=zD.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),VD=t.object({config:BD.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(MD)}).openapi(`SearchesRequestSchema`);function HD(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function UD(){let e={};for(let t of Object.values(DD)){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=HD(e.searchId);return HD(t.searchId)-n})}),e}const WD=UD();function GD(e){let t=[];for(let[n,r]of Object.entries(WD)){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:HD(i.searchId)})}return t}function KD(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 ND(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:WD}}function qD(e){return DD[e]}function JD(e){let t=qD(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function YD(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function XD(e){return YD(Ex(e).allowedUserConnectionProviders)}function ZD(e){return YD([ZC(e).provider])}function QD(e){return YD([qD(e).provider])}const $D=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:2}],eO=new Map($D.map(e=>[e.id,e]));function tO(e){return eO.get(e)}function nO(){return $D}const rO={"people:profiles:amplemarket@1":[{search_id:`people:profiles:amplemarket@1`,config:{page_number:1,limit:50,filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}],"companies:profiles:amplemarket@1":[{search_id:`companies:profiles:amplemarket@1`,config:{page_number:1,limit:50,filters:{company_industries:{include:[],exclude:[]},company_names:{include:[`Microsoft`],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}],"people:profiles:crustdata@1":[{search_id:`people:profiles:crustdata@1`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin`,`Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},profile_languages:{include:[`English`],exclude:[]},languages:{include:[],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},years_of_experience:[`1 to 2 years`],current_seniority_levels:{include:[`Senior`],exclude:[]},current_employers:{include:[],exclude:[]},current_employers_website_urls:{include:[],exclude:[]},current_job_titles:{include:[`Software Engineer`],exclude:[]},current_employers_linkedin_industries:{include:[],exclude:[]},years_at_current_company:[`1 to 2 years`],previous_seniority_levels:{include:[],exclude:[]},previous_employers:{include:[],exclude:[]},previous_employers_website_urls:{include:[],exclude:[]},previous_employers_linkedin_industries:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},recently_changed_jobs:!1,fields_of_study:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},school_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},extracurricular_activities:{include:[],exclude:[]}}}}],"companies:profiles:crustdata@1":[{search_id:`companies:profiles:crustdata@1`,config:{cursor:``,limit:10,filters:{hq_locations:{include:[`San Francisco, CA`],exclude:[]},crunchbase_categories:{include:[`Artificial Intelligence`],exclude:[]},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},company_types:{include:[],exclude:[]},linkedin_industries:{include:[`Technology`],exclude:[]},markets:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},headcount:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],revenue_in_usd:{from:1e4,to:1e6},last_funding_type:{include:[],exclude:[]},last_funding_amount:{from:null,to:null},number_of_followers:[],follower_growth_l6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[`google.com`],exclude:[]}}}}],"people:profiles:amplemarket@2":[{search_id:`people:profiles:amplemarket@2`,config:{page_number:1,limit:50,filters:{current_employer_names:{include:[],exclude:[]},current_departments:[],current_employer_locations:{include:[],exclude:[]},person_names:[],current_employer_founded_year:{min:null,max:null},current_employer_estimated_revenue:[],current_employer_investors:[],current_employer_open_position_titles:[],current_job_functions:[],current_locations:{include:[`Berlin`],exclude:[]},current_employer_linkedin_industries:[],current_employer_domains:{include:[],exclude:[]},current_seniority_levels:[],school_names:{include:[],exclude:[]},current_job_titles:[]}}}],"companies:profiles:amplemarket@2":[{search_id:`companies:profiles:amplemarket@2`,config:{page_number:1,limit:50,filters:{company_industries:{include:[],exclude:[]},company_names:{include:[`Microsoft`],exclude:[]},company_profile_urls:{include:[],exclude:[]},company_types:[],company_domains:{include:[],exclude:[]},customer_types:[],headcount_growth_l6m_in_percent:{min:null,max:null},founded_year:{min:null,max:null},revenue_groups:[],investors:[],keywords:{include:[],exclude:[]},open_position_titles:[],headcount:[],hq_locations:{include:[],exclude:[]}}}}],"people:profiles:crustdata@2":[{search_id:`people:profiles:crustdata@2`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin`,`Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},profile_summary_keywords:{include:[],exclude:[]},profile_languages:{include:[`English`],exclude:[]},languages:{include:[],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},years_of_experience:[`1 to 2 years`],current_seniority_levels:{include:[`Senior`],exclude:[]},current_employer_names:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},current_job_titles:{include:[`Software Engineer`],exclude:[]},current_employer_industries:{include:[],exclude:[]},years_at_current_company:[`1 to 2 years`],previous_seniority_levels:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},previous_employer_industries:{include:[],exclude:[]},previous_job_titles:{include:[],exclude:[]},certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},recently_changed_jobs:!1,fields_of_study:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},school_names:{include:[],exclude:[]},current_school_names:{include:[],exclude:[]},extracurricular_activities:{include:[],exclude:[]}}}}],"companies:profiles:crustdata@2":[{search_id:`companies:profiles:crustdata@2`,config:{cursor:``,limit:10,filters:{hq_locations:{include:[`San Francisco, CA`],exclude:[]},crunchbase_categories:{include:[`Artificial Intelligence`],exclude:[]},crunchbase_investors:{include:[],exclude:[]},tracxn_investors:{include:[],exclude:[]},company_types:{include:[],exclude:[]},linkedin_industries:{include:[`Technology`],exclude:[]},markets:{include:[],exclude:[]},linkedin_categories:{include:[],exclude:[]},headcount:{include:[],exclude:[]},headcount_growth_l6m_in_percent:[],revenue_in_usd:{from:1e4,to:1e6},last_funding_type:{include:[],exclude:[]},last_funding_amount:{from:null,to:null},number_of_followers:[],follower_growth_l6m_in_percent:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[`google.com`],exclude:[]}}}}]};function iO(e,t,n){if(t==null)return{};try{let r=nn(e,n)?.getStaticWidgets?.(t),i=Dw(n,t);return eS(r||{},{display_value:i?{label:i}:void 0})}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function aO(e){if(e instanceof qx)return e;let t=e.search_id,n=RC(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(VC.parse(e))}var oO=class extends Vh{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function sO(e){let t=[];for(let n of e){if(n instanceof $){t.push(n);continue}let e=n.search_id,r=OD(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(MD.parse(n));t.push(i)}return t}function cO(e){try{return sO(e.searches)}catch(e){throw e instanceof oO?e:new Q([Z.ValidationFailed({error:e})])}}const lO=/[\\^$.+()|[\]{}]/g,uO=new Map;function dO(e){let t=uO.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(lO,`\\$&`)}let r=RegExp(`^${n}$`);return uO.set(e,r),r}function fO(e,t){return dO(t).test(e)}function pO(e,t){if(!t||t.length===0)return!1;for(let n of t)if(fO(e,n))return!0;return!1}function mO(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!pO(e,n)||r&&r.length>0&&pO(e,r))}function hO(e,t){return mO(e,t?.providers)}function gO(e,t){if(!t)return!0;if(!mO(e,t.pipes))return!1;if(t.providers){let n=Ax(e);if(n.length===0)return!0;if(!n.some(e=>hO(e,t)))return!1}return!0}function _O(e,t,n){return t?!(!mO(e,t.searches)||n!==void 0&&!hO(n,t)):!0}function vO(e,t,n){return t?!(!mO(e,t.searchesMulti)||n!==void 0&&!hO(n,t)):!0}function yO(e,t){return t?e.filter(e=>gO(e.pipeId,t)):e.slice()}function bO(e,t){return t?e.filter(e=>_O(e.searchId,t,e.provider)):e.slice()}function xO(e,t){return t?e.filter(e=>vO(e.searchId,t,e.provider)):e.slice()}function SO(e){let t=Object.values(e.billableOperations).map(e=>e.credits||0);return Math.min(...t)}function CO(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function wO(e){let t=e.cost;return Math.min(t.mode===`per_result`?t.creditsPerResult:t.mode===`per_search`?t.creditsPerSearch:t.creditsPerPage)}function TO(e){let t=Tw(e);return te(t)||new URL(t).hostname}const EO=[`http://`,`https://`,`mailto:`],DO=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function OO(e){return e?kO(e):[]}function kO(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&&DO.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=AO(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=AO(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:kO(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=AO(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:kO(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=AO(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:kO(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=AO(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=AO(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(EO.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:kO(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function AO(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(jO(e,r,n))return r;r+=1}return-1}function jO(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{Qr as AI_MODELS,$r as AI_MODEL_CATALOG,Yn as CatalogSchemaRefSchema,$n as ConditionOperatorsSchema,Kn as ExpandedFieldValueSchema,uh as FIELD_PLACEHOLDERS,zn as FieldAnnotationSchema,Fw as FieldAnnotations,Bn as FieldAnnotationsSchema,pn as FieldNameSchema,In as FieldReasonSchema,Sn as FieldValueSchema,pw as FormStoreSchema,Qn as JSONExtractSchema,Cn as JSONMetaSchema,ar as NoConnectorSchema,y as OptionalConnectorSchema,gn as PIPE_IDS,qC as PaginationTypeSchema,Qy as PersonWorkemailWaterfall1Entry,Zy as PersonWorkemailWaterfall1PayloadSchema,Xy as PersonWorkemailWaterfall1PipeClass,W as Pipe,Vh as Pipe0Error,_n as PipeIdSchema,wx as PipePayloadSchema,lr as PipeRunIfSchema,Q as PipelineValidationError,hn as PipesEnvironmentSchema,Fn as PipesErrorSchema,Xn as PipesFieldDefinitionSchema,Zn as PipesFieldDefinitionsSchema,qn as PipesInputSchema,Fx as PipesRequestConfigSchema,Ix as PipesRequestSchema,Px as PipesResponseSchema,Tx as ProcessedPipePayloadSchema,VC as ProcessedSearchPayloadSchema,MD as ProcessedSearchesPayloadSchema,mn as ProviderNameSchema,Ln as RECORD_FIELD_FORMATS,vn as RECORD_FIELD_TYPES,er as RUN_IF_OPERATOR_LABELS,nr as RUN_IF_STATUS_OPERATORS,tr as RUN_IF_VALUE_OPERATORS,Un as RecordClaimedBySchema,Rn as RecordFieldFormatSchema,Gn as RecordFieldSchema,xn as RecordFieldStatusSchema,yn as RecordFieldTypeSchema,bn as RecordIdSchema,Wn as RecordResolvedBySchema,Jn as RecordSchema,Bh as RequestValidationError,ir as RequiredConnectorSchema,sr as RunIfStatusOperatorsSchema,cr as RunIfStatusValueSchema,or as RunIfValueOperatorsSchema,bT as SEARCHES_IDS,Ux as SEARCH_IDS,qx as Search,UC as SearchErrorSchema,Wx as SearchIdSchema,zC as SearchPayloadSchema,HC as SearchRequestSchema,JC as SearchResponseSchema,WC as SearchResultFieldSchema,GC as SearchResultSchema,PD as SearchesErrorSchema,xT as SearchesIdSchema,jD as SearchesPayloadSchema,zD as SearchesRequestBaseConfigSchema,VD as SearchesRequestSchema,RD as SearchesResponseSchema,FD as SearchesResultFieldSchema,ID as SearchesResultSchema,$ as SearchesSearch,LD as SearchesStatusSchema,Vu as TYPES_TO_FORMATS,uw as WidgetsByKindSchema,Pn as WidgetsSchema,xa as all,Ar as analyzeLiquidTemplate,un as and,U as any,_ as autocomplete,ei as buildAiModelBillableOperations,Lw as buildDependencyGraph,Lm as buildInputRequirementFromTemplates,q as catalogInput,Da as cleanObject,Tw as cleanUrl,ww as cleanWebsiteUrl,zm as collectConstantReferencesFromTemplates,Vx as collectPipeContextSelectFields,wa as collectRequirementFields,Rm as collectSecretReferencesFromTemplates,dO as compilePattern,va as configDefaults,Mi as convertIntermediateFieldsIntoGroups,Ni as defaultSectionMap,Rh as describeRequirement,$x as entityLogoFavicon,Qx as entityLogoProfessionalProfileUrl,Ii as extractFormMetadata,H as field,tn as fieldBehaviorCatalog,en as fieldCatalog,Lh as fieldNameStr,Ow as fieldTypeFromValue,mT as fieldsToObject,yO as filterPipeEntries,bO as filterSearchEntries,xO as filterSearchesEntries,ni as getAiModelBillingKey,ri as getAiModelConnectionRequirements,ti as getAiModelProviders,ii as getAllAiModelProviders,G as getBasePipeName,bx as getDefaultOutputFields,Ax as getDefaultPipeProviders,ew as getDefaultSearchOutputFields,ND as getDefaultSearchesOutputFields,bw as getDependentPipeNamesForInputProperty,xw as getDependentPipeNamesForPipe,TO as getDomain,Aw as getExpansionState,Xx as getFaviconUrlGoogle,v as getField,nn as getFieldBehavior,Lu as getFieldDisplayLabel,Mw as getFieldWidgets,$C as getInitialSearchTableData,GD as getInitialSearchesTableData,Mx as getInitialTableData,ja as getInputHash,oi as getJsonMetaForFieldDef,wO as getLoweestSearchCreditAmount,CO as getLoweestSearchesCreditAmount,SO as getLowestPipeCreditAmount,fn as getOutputFieldInfoFromDef,Dx as getPipeBillableOperationDef,_w as getPipeCategoryEntries,gw as getPipeCategoryEntry,xx as getPipeClass,Aa as getPipeConfigHash,Sx as getPipeDefaultPayload,K as getPipeDocsURI,Ex as getPipeEntry,yw as getPipeInstances,Hx as getPipePayloadFormConfig,Cx as getPipePayloadSchema,Ox as getPipeVersion,Y as getProviderBillableOperation,Ma as getProviderCreditsFromBillableOperations,yT as getProviderEntry,sn as getReadableFieldStatus,YD as getSandboxConnections,XD as getSandboxConnectionsForPipe,ZD as getSandboxConnectionsForSearch,QD as getSandboxConnectionsForSearches,nO as getSearchCategoryEntries,tO as getSearchCategoryEntry,RC as getSearchClass,BC as getSearchDefaultPayload,ZC as getSearchEntry,iO as getSearchFieldWidgets,aO as getSearchInstance,ow as getSearchPayloadFormConfig,KC as getSearchPayloadSchema,tw as getSearchTableDataAggregates,YC as getSearchVersion,OD as getSearchesClass,AD as getSearchesDefaultPayload,qD as getSearchesEntry,Nw as getSearchesFieldWidgets,sO as getSearchesInstances,kD as getSearchesPayloadSchema,KD as getSearchesTableDataAggregates,HD as getSearchesVersion,Lx as getStartingCostPerPipesProvider,nw as getStartingCostPerSearchProvider,JD as getStartingCostPerSearchesProvider,Nx as getTableDataAggregates,jw as getUnexpandedValue,Zx as ifDefined,B as inputFields,_T as inputFromRecord,gT as inputFromRecordArr,hT as inputFromRecords,sw as inputGuards,an as isCatalogField,At as isEmptyValue,rn as isFieldName,gO as isPipeAllowed,hO as isProviderAllowed,Ca as isRequirementMet,Ta as isRequirementSatisfiedByRecord,_O as isSearchAllowed,vO as isSearchesAllowed,Jr as joinConnectionString,Pa as markRecordFieldAsComplete,La as markRecordFieldAsFailed,Ia as markRecordFieldAsNoResult,Fa as markRecordFieldAsPending,za as markRecordFieldAsProcessing,Ra as markRecordFieldAsSkipped,pO as matchesAny,fO as matchesPattern,eS as mergeWidgets,E as noConnectorInput,Sa as optional,T as optionalConnectorInput,dn as or,z as outputFields,kr as parseLiquidTemplate,Cr as parseOutputTagArgs,nT as parseRecordValueOrError,OO as parseRichText,yx as pipeCatalog,mw as pipeCategoryCatalog,_x as pipeClassCatalog,vx as pipePayloadSchemaCatalog,Yi as pipesAsyncIncludeExcludeSelectInput,oa as pipesContextSelectInput,Zi as pipesDateRangeInput,Ui as pipesFieldsSelectInput,Wi as pipesIncludeExcludeInput,Ji as pipesIncludeExcludeSelectInput,D as pipesInputField,ra as pipesIntInput,di as pipesJsonExtractionInput,aa as pipesJsonSchemaField,qi as pipesKeyValueListInput,ta as pipesLLMSelectInput,Gi as pipesMultiCreateInput,na as pipesMultiSelectInput,ia as pipesNumberInput,k as pipesOptionalBooleanInput,Ki as pipesOrderedMultiCreateInput,A as pipesOutputField,b as pipesPayloadRegistry,Ri as pipesPromptInput,O as pipesProviderInput,Xi as pipesRangeInput,C as pipesRunIfInput,ea as pipesSelectInput,vw as pipesSnippetCatalog,w as pipesTaggedTextInput,zi as pipesTemplateInput,Qi as pipesTextInput,$i as pipesTextareaInput,X as placeholder,vT as processInputObjects,ur as providerCatalog,J as rateLimitRatioFallingProgression,Dr as renderLiquidTemplate,Or as renderLiquidTemplateSync,Vi as requiredConnectorInput,Na as requirementToInputFields,zh as requirementUnmetMessage,cn as requiresConnection,ln as requiresField,LC as searchCatalog,$D as searchCategoryCatalog,FC as searchClassCatalog,IC as searchPayloadSchemaCatalog,rO as searchSnippetCatalog,L as searchesAsyncIncludeExcludeSelectInput,I as searchesAsyncMultiSelectInput,DD as searchesCatalog,TD as searchesClassCatalog,da as searchesDateRangeInput,la as searchesExactRangeInput,M as searchesIncludeExcludeInput,N as searchesIncludeExcludeSelectInput,R as searchesIntInput,ca as searchesMinMaxIntInput,j as searchesMultiCreateInput,F as searchesMultiSelectInput,_a as searchesNumberField,fa as searchesOptionalBooleanInput,pa as searchesOptionalNullableBooleanInput,sa as searchesOrderedMultiCreateInput,P as searchesOutputField,x as searchesPayloadRegistry,ED as searchesPayloadSchemaCatalog,ua as searchesRangeInput,ga as searchesSelectInput,ma as searchesTextInput,ha as searchesTextareaField,Bu as sortObjectKeys,kx as sortPipeCatalogByBasePipe,XC as sortSearchCatalogByBaseSearch,UD as sortSearchesCatalogByBaseSearch,qr as splitConnectionString,g as staticAutocomplete,h as staticOptions,zu as stringify,Ru as testPrint,aT as transformIntoResponse,Rw as validatePipesOrError,cO as validateSearches,Z as validationErrorMessages};
|