@pipe0/base 0.5.4 โ 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/index.d.mts +11487 -4681
- package/dist/index.mjs +13 -13
- package/package.json +2 -2
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{differenceInCalendarDays as u,format as d,parse as f,parseISO 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 p(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={companydb:`https://api.crustdata.com/company/search/autocomplete`,persondb:`https://api.crustdata.com/person/search/autocomplete`};function ie({db:e,field:t}){return async(n=``,r,i)=>{let a=await fetch(re[e],{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${i.apiKey}`,"x-api-version":`2025-11-01`},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.value,label:e.value}))}}const ae=e=>e.map(e=>({value:e,label:e})),oe=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),se=oe([[`Public Company`,`๐`],[`Educational`,`๐`],[`Self Employed`,`๐ค`],[`Government Agency`,`๐๏ธ`],[`Non Profit`,`๐`],[`Self Owned`,`๐ชช`],[`Privately Held`,`๐`],[`Partnership`,`๐ค`]]),ce=ae([`1-10 employees`,`11-50 employees`,`51-200 employees`,`201-500 employees`,`501-1000 employees`,`1001-5000 employees`,`5001-10000 employees`,`10001+ employees`]),le=oe([[`Owner`,`๐`],[`Founder`,`๐`],[`C-Suite`,`๐ผ`],[`Partner`,`๐ค`],[`VP`,`๐๏ธ`],[`Head`,`๐ฏ`],[`Director`,`๐ฌ`],[`Manager`,`๐`],[`Senior`,`โญ`],[`Entry`,`๐ฑ`],[`Intern`,`๐`],[`Other`,`โ`],[`Non-Manager`,`๐ฅ`],[`Founder / Owner`,`๐`]]),ue=oe([[`Senior Leadership`,`๐`],[`Consulting`,`๐ผ`],[`Design`,`๐จ`],[`Education`,`๐`],[`Engineering & Technical`,`๐ ๏ธ`],[`Finance`,`๐ฐ`],[`Human Resources`,`๐ฅ`],[`Information Technology`,`๐ป`],[`Legal`,`โ๏ธ`],[`Marketing`,`๐ฃ`],[`Medical & Health`,`๐ฅ`],[`Operations`,`โ๏ธ`],[`Product`,`๐ฆ`],[`Revenue`,`๐ธ`]]),de=ae([`$0-$1M`,`$1M-$10M`,`$10M-$100M`,`$100M-$1B`,`$1B+`]),fe=oe([[`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`,`๐ฅ`]]),pe=oe([[`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`,`๐ฆ`]]),me=e=>e.map(e=>({value:e,label:e})),he=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),ge=e=>e.map(([e,t,n])=>({value:e,label:t,widgets:{emoji:{char:n}}})),_e=he([[`1-10`,`๐ฑ`],[`11-50`,`๐ `],[`51-200`,`๐ข`],[`201-500`,`๐ฌ`],[`501-1,000`,`๐๏ธ`],[`1,001-5,000`,`๐๏ธ`],[`5,001-10,000`,`๐`],[`10,001+`,`๐`]]),ve=he([[`myself only`,`๐ง`],[`2-10`,`๐ฑ`],[`11-50`,`๐ `],[`51-200`,`๐ข`],[`201-500`,`๐ฌ`],[`501-1000`,`๐๏ธ`],[`1001-5000`,`๐๏ธ`],[`5001-10000`,`๐`],[`10001+`,`๐`]]),ye=he([[`1-500`,`โจ`],[`501-1000`,`โญ`],[`1001-5000`,`๐`],[`5001-10000`,`๐ซ`],[`10001-30000`,`๐ `],[`30000+`,`๐`]]),be=he([[`Series A`,`1๏ธโฃ`],[`Series B`,`2๏ธโฃ`],[`Series C`,`3๏ธโฃ`],[`Series D`,`4๏ธโฃ`]]),xe=he([[`Self-employed`,`๐งโ๐ป`],[`1-10`,`๐ฑ`],[`11-50`,`๐ `],[`51-200`,`๐ข`],[`201-500`,`๐ฌ`],[`501-1,000`,`๐๏ธ`],[`1,001-5,000`,`๐๏ธ`],[`5,001-10,000`,`๐`],[`10,001+`,`๐`]]),Se=[{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:`๐จ๐ฟ`}}}],Ce=he([[`Owner / Partner`,`๐`],[`CXO`,`๐ฉ`],[`Vice President`,`๐
`],[`Director`,`๐ฏ`],[`Experienced Manager`,`๐งโ๐ผ`],[`Entry Level Manager`,`๐`],[`Strategic`,`โ๏ธ`],[`Senior`,`โญ`],[`Entry Level`,`๐ฑ`],[`In Training`,`๐`]]),we=he([[`Less than 1 year`,`๐ฑ`],[`1 to 2 years`,`๐ฟ`],[`3 to 5 years`,`๐ณ`],[`6 to 10 years`,`๐ฒ`],[`More than 10 years`,`๐๏ธ`]]),Te=he([[`Less than 1 year`,`๐ฑ`],[`1 to 2 years`,`๐ฟ`],[`3 to 5 years`,`๐ณ`],[`6 to 10 years`,`๐ฒ`],[`More than 10 years`,`๐๏ธ`]]),Ee=he([[`Less than 1 year`,`๐ฑ`],[`1 to 2 years`,`๐ฟ`],[`3 to 5 years`,`๐ณ`],[`6 to 10 years`,`๐ฒ`],[`More than 10 years`,`๐๏ธ`]]),De=ge([[`past-24h`,`Past 24 hours`,`๐`],[`past-week`,`Past week`,`๐
`],[`past-month`,`Past month`,`๐๏ธ`],[`past-quarter`,`Past quarter`,`๐`],[`past-year`,`Past year`,`๐`]]),Oe=ge([[`photos`,`Photos`,`๐ผ๏ธ`],[`jobs`,`Jobs`,`๐ผ`],[`collaborativeArticles`,`Collaborative articles`,`๐`],[`videos`,`Videos`,`๐ฌ`],[`documents`,`Documents`,`๐`],[`liveVideos`,`Live videos`,`๐ก`]]),ke=he([[`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`,`๐ง`]]),Ae=he([[`Public Company`,`๐`],[`Privately Held`,`๐`],[`Non Profit`,`๐`],[`Educational Institution`,`๐`],[`Partnership`,`๐ค`],[`Self Employed`,`๐ค`],[`Self Owned`,`๐ชช`],[`Government Agency`,`๐๏ธ`]]),je=me([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),Me=me([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),Ne=ge([[`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`,`๐ค`]]),Pe=(e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})))([[`Engineering`,`๐ ๏ธ`],[`Sales`,`๐ธ`],[`Consulting`,`๐ผ`],[`Marketing`,`๐ฃ`],[`Operations`,`โ๏ธ`],[`Finance`,`๐ฐ`],[`Research`,`๐ฌ`],[`Customer Success and Support`,`๐ง`],[`Arts and Design`,`๐จ`],[`Human Resources`,`๐ฅ`],[`Legal`,`โ๏ธ`],[`Product Management`,`๐ฆ`]]),Fe=(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`,`๐ฆ`]]),Ie={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}},"employment_function.crustdata":{type:`static`,filter:`contains`,values:Pe},"company.markets.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`companydb`,`markets`)},"company.linkedin_categories.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`companydb`,`linkedin_categories`)},skills:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/skills.csv`,filter:`contains`},"person.skills.crustdata":{type:`provider`,provider:`crustdata`,resolve:ie({db:`persondb`,field:`skills.professional_network_skills`})},"person.certifications.crustdata":{type:`provider`,provider:`crustdata`,resolve:ie({db:`persondb`,field:`certifications.name`})},"person.honors.crustdata":{type:`provider`,provider:`crustdata`,resolve:ie({db:`persondb`,field:`honors.title`})},"person.current_employer_names.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`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:p(`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:p(`persondb`,`education_background.degree_name`)},"person.education_activities.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`persondb`,`education_background.activities_and_societies`)},"amplemarket.company_types":{type:`static`,filter:`contains`,values:se},"amplemarket.company_size":{type:`static`,filter:`contains`,values:ce},"amplemarket.seniority_levels":{type:`static`,filter:`contains`,values:le},"amplemarket.departments":{type:`static`,filter:`contains`,values:ue},"amplemarket.company_revenue":{type:`static`,filter:`contains`,values:de},"amplemarket.job_functions":{type:`static`,filter:`contains`,values:fe},"amplemarket.industries":{type:`static`,filter:`contains`,values:pe},"crustdata.company_size":{type:`static`,filter:`contains`,values:_e},"crustdata.company_followers":{type:`static`,filter:`contains`,values:ye},"crustdata.linkedin_headcount_ranges":{type:`static`,filter:`contains`,values:ve},"crustdata.funding_rounds":{type:`static`,filter:`contains`,values:be},"crustdata.person_company_size":{type:`static`,filter:`contains`,values:xe},"crustdata.person_profile_languages":{type:`static`,filter:`contains`,values:Se},"crustdata.person_seniority":{type:`static`,filter:`contains`,values:Ce},"crustdata.person_years_at_current_company":{type:`static`,filter:`contains`,values:we},"crustdata.person_years_in_current_position":{type:`static`,filter:`contains`,values:Te},"crustdata.years_of_experience":{type:`static`,filter:`contains`,values:Ee},"crustdata.functions":{type:`static`,filter:`contains`,values:ke},"crustdata.company_types":{type:`static`,filter:`contains`,values:Ae},"crustdata.headcount_growth":{type:`static`,filter:`contains`,values:je},"crustdata.follower_growth":{type:`static`,filter:`contains`,values:Me},"crustdata.last_funding_round_type":{type:`static`,filter:`contains`,values:Ne},"crustdata.post_date_posted":{type:`static`,filter:`contains`,values:De},"crustdata.post_content_type":{type:`static`,filter:`contains`,values:Oe},"linkedin.industries":{type:`static`,filter:`contains`,values:Fe}};r.enum(Object.keys(Ie));function Le(e,t){let n=Ie[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 m(e){let t=Ie[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 Re(e){return{type:`static`,options:m(e)}}function h(e,t){return Le(e,t)}var ze=class extends Error{constructor(e){super(`Field '${e}' not found`),this.fieldName=e,this.name=`ConditionFieldNotFoundError`}},Be=class extends Error{constructor(e,t,n){super(e),this.fieldName=t,this.operator=n,this.name=`ConditionEvaluationError`}};function Ve(e){if(!e)return null;if(e instanceof Date)return e;if(typeof e==`string`){let t=new Date(e);return Number.isNaN(t.getTime())?null:t}if(typeof e==`number`){let t=new Date(e);return Number.isNaN(t.getTime())?null:t}return null}function He(e){if(typeof e==`number`)return e;if(typeof e==`string`){let t=Number.parseFloat(e);return Number.isNaN(t)?null:t}return null}function Ue(e,t){let n=e.value,{field_name:r,operator:i}=t,a=t.value;if(e.type===`json`)throw new Be(`Conditions on json fields are not supported. Extract nested JSON properties into their own fields to apply conditions.`,r,i);if(n==null)switch(i){case`eq`:return{isCheckTrue:a==null};case`neq`:return{isCheckTrue:a!=null};default:return{isCheckTrue:!1}}if(i===`matches`){let e;try{e=new RegExp(String(a))}catch{throw new Be(`Comparison value '${a}' is not a valid regular expression for field '${r}'`,r,i)}return{isCheckTrue:e.test(String(n))}}if(e.format===`date`||e.format===`datetime`){let e=Ve(n),t=Ve(a);if(!e)throw new Be(`Field '${r}' has date format but value '${n}' cannot be parsed as a date`,r,i);if(!t)throw new Be(`Comparison value '${a}' cannot be parsed as a date for field '${r}'`,r,i);let o=e.getTime(),s=t.getTime();switch(i){case`gt`:return{isCheckTrue:o>s};case`gte`:return{isCheckTrue:o>=s};case`lt`:return{isCheckTrue:o<s};case`lte`:return{isCheckTrue:o<=s};case`eq`:return{isCheckTrue:o===s};case`neq`:return{isCheckTrue:o!==s};default:throw new Be(`Operator '${i}' is not supported for date fields`,r,i)}}if((e.type===`number`||typeof n==`number`)&&[`gt`,`gte`,`lt`,`lte`].includes(i)){let e=He(n),t=He(a);if(e===null)throw new Be(`Field '${r}' value '${n}' cannot be parsed as a number for ${i} comparison`,r,i);if(t===null)throw new Be(`Comparison value '${a}' cannot be parsed as a number for field '${r}'`,r,i);switch(i){case`gt`:return{isCheckTrue:e>t};case`gte`:return{isCheckTrue:e>=t};case`lt`:return{isCheckTrue:e<t};case`lte`:return{isCheckTrue:e<=t}}}let o=a;switch(e.type===`boolean`&&typeof a==`string`&&(o=a.toLowerCase()===`true`),i){case`eq`:return{isCheckTrue:n===o};case`neq`:return{isCheckTrue:n!==o};case`contains`:return{isCheckTrue:String(n).toLowerCase().includes(String(o).toLocaleLowerCase())};default:throw new Be(`Operator '${i}' is not supported for field '${r}' with type '${e.type}'`,r,i)}}function We(e,t){let{field_name:n,operator:r}=t,i=t.value,a=e.status;switch(r){case`eq`:if(typeof i!=`string`)throw new Be(`When comparing status values, the comparison value must be a string for field '${n}'`,n,r);return{isCheckTrue:a===i};case`neq`:if(typeof i!=`string`)throw new Be(`When comparing status values, the comparison value must be a string for field '${n}'`,n,r);return{isCheckTrue:a!==i};case`contains`:if(typeof i!=`string`)throw new Be(`When comparing status values, the comparison value must be a string for field '${n}'`,n,r);return{isCheckTrue:a.includes(i)};default:throw new Be(`Operator '${r}' is not supported for status comparison on field '${n}'`,n,r)}}function Ge(e,t){let{field_name:n,property:r}=t,i=e[n];if(!i)throw new ze(n);switch(r){case`status`:return We(i,t).isCheckTrue;case`value`:return Ue(i,t).isCheckTrue;default:throw new Be(`Unknown property '${r}' for field '${n}'`,n,`unknown`)}}function Ke(e,t){let{logic:n,conditions:r}=t;if(r.length===0)return!0;let i=r.map(t=>Ge(e,t));if(n===`and`)return i.every(e=>e===!0);if(n===`or`)return i.some(e=>e===!0);throw Error(`Unknown logic operator: ${n}`)}const qe=[{id:`data_hygiene`,label:`Data hygiene`,color:`#10B981`,order:0},{id:`enrichment`,label:`Enrichment`,color:`#3B82F6`,order:1},{id:`internal`,label:`Internal`,color:`#94A3B8`,order:2},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:3}],Je=new Map(qe.map(e=>[e.id,e]));function Ye(e){return Je.get(e)}function Xe(){return qe}function Ze(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]=Ze(n[e],r));return n}const Qe=[`rows:dedupe@1`,`rows:duplicate@1`,`rows:enrich@1`,`rows:adopt@1`,`rows:add@1`,`rows:import@1`,`row:update@1`,`rows:remove@1`,`rows:copy_to_sheet@1`,`rows:filter:prompt@1`,`pipe:add@1`,`pipe:update@1`,`pipe:remove@1`,`fields:remove@1`,`fields:patch@1`,`fields:add@1`,`fields:deletesparse:input@1`,`env:change@1`,`timetravel:create@1`,`timetravel:travel@1`,`sheet:export@1`,`search:run@1`,`sheet:reset@1`,`sheet:update@1`],$e=r.enum(Qe),et=r.object({type:r.literal(`rows`),record_ids:r.array(r.string())}),tt=r.object({type:r.literal(`all`)}),nt=r.object({type:r.literal(`window`),count:r.number().int().min(1).nullable(),cursor:r.string().optional()}),rt=r.discriminatedUnion(`type`,[et,tt,nt]),it={linkedin:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1ba16ca7-513b-4a25-2bc2-5548acdd2000/icon`};function at(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function ot(e,t){return e==null?void 0:t(e)}function st(){return ct({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function ct({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:at(e),entity:t||e}}function lt(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 ut(e){let t={};for(let n in e){let r=e[n];r!=null&&(t[n]={...r,type:`static`})}return t}function dt(e){let t={};if(!e)return t;for(let n in e){let r=e[n];r!=null&&r.type!==`static`&&(t[n]=r)}return t}const ft=r.object({id:r.string(),object:r.literal(`company`),name:r.string(),website:r.url().nullable(),linkedin_url:r.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.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()}),pt={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`},mt=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.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.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.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.url().nullable(),linkedin_url:r.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.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()}),ht={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`},gt=r.array(r.string()),_t=[`1Password`,`AJAX Libraries API`,`AWS Global Accelerator`,`AWS Lambda`,`Algolia`,`Amazon`,`Amazon ALB`,`Amazon Elastic Load Balancing Sticky Session`,`Amazon Ireland Region`],vt=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()))}),yt={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`]}},bt=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`)}),xt={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:[]},St=r.object({recommendation:r.string().nullable(),referee_full_name:r.string().nullable(),referee_url:r.string().nullable(),order_in_profile:r.number().nullable()}),Ct=r.object({department:r.string().nullable(),management_level:r.string().nullable(),total_experience_duration_months:r.number().nullable()}),wt=r.object({field_name:r.string().nullable(),change_type:r.string().nullable(),last_changed_at:r.string().nullable()}),Tt=r.object({field_name:r.string().nullable(),last_changed_at:r.string().nullable()}),Et=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(St).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(Ct).nullable(),total_experience_duration_months_breakdown_management_level:r.array(Ct).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(wt).nullable(),profile_collection_field_changes_summary:r.array(Tt).nullable(),experience_recently_started:r.array(r.unknown()).nullable(),experience_recently_closed:r.array(r.unknown()).nullable()}),Dt=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()}),Ot=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()}),kt=r.object({language:r.string().nullable(),proficiency:r.string().nullable(),order_in_profile:r.number().nullable()}),At=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()}),jt=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()}),Mt=r.object({reasoning:r.string().nullable(),answer:r.string().nullable()}),Nt=r.object({profile:Et.nullable(),experience:r.array(Dt),education:r.array(Ot),languages:r.array(kt),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(At),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(jt),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(),Mt).nullable()}),Pt={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{differenceInCalendarDays as u,format as d,parse as f,parseISO 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 p(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={companydb:`https://api.crustdata.com/company/search/autocomplete`,persondb:`https://api.crustdata.com/person/search/autocomplete`};function ie({db:e,field:t}){return async(n=``,r,i)=>{let a=await fetch(re[e],{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${i.apiKey}`,"x-api-version":`2025-11-01`},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.value,label:e.value}))}}const ae=e=>e.map(e=>({value:e,label:e})),oe=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),se=oe([[`Public Company`,`๐`],[`Educational`,`๐`],[`Self Employed`,`๐ค`],[`Government Agency`,`๐๏ธ`],[`Non Profit`,`๐`],[`Self Owned`,`๐ชช`],[`Privately Held`,`๐`],[`Partnership`,`๐ค`]]),ce=ae([`1-10 employees`,`11-50 employees`,`51-200 employees`,`201-500 employees`,`501-1000 employees`,`1001-5000 employees`,`5001-10000 employees`,`10001+ employees`]),le=oe([[`Owner`,`๐`],[`Founder`,`๐`],[`C-Suite`,`๐ผ`],[`Partner`,`๐ค`],[`VP`,`๐๏ธ`],[`Head`,`๐ฏ`],[`Director`,`๐ฌ`],[`Manager`,`๐`],[`Senior`,`โญ`],[`Entry`,`๐ฑ`],[`Intern`,`๐`],[`Other`,`โ`],[`Non-Manager`,`๐ฅ`],[`Founder / Owner`,`๐`]]),ue=oe([[`Senior Leadership`,`๐`],[`Consulting`,`๐ผ`],[`Design`,`๐จ`],[`Education`,`๐`],[`Engineering & Technical`,`๐ ๏ธ`],[`Finance`,`๐ฐ`],[`Human Resources`,`๐ฅ`],[`Information Technology`,`๐ป`],[`Legal`,`โ๏ธ`],[`Marketing`,`๐ฃ`],[`Medical & Health`,`๐ฅ`],[`Operations`,`โ๏ธ`],[`Product`,`๐ฆ`],[`Revenue`,`๐ธ`]]),de=ae([`$0-$1M`,`$1M-$10M`,`$10M-$100M`,`$100M-$1B`,`$1B+`]),fe=oe([[`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`,`๐ฅ`]]),pe=oe([[`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`,`๐ฆ`]]),me=e=>e.map(e=>({value:e,label:e})),he=e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})),ge=e=>e.map(([e,t,n])=>({value:e,label:t,widgets:{emoji:{char:n}}})),_e=he([[`1-10`,`๐ฑ`],[`11-50`,`๐ `],[`51-200`,`๐ข`],[`201-500`,`๐ฌ`],[`501-1,000`,`๐๏ธ`],[`1,001-5,000`,`๐๏ธ`],[`5,001-10,000`,`๐`],[`10,001+`,`๐`]]),ve=he([[`myself only`,`๐ง`],[`2-10`,`๐ฑ`],[`11-50`,`๐ `],[`51-200`,`๐ข`],[`201-500`,`๐ฌ`],[`501-1000`,`๐๏ธ`],[`1001-5000`,`๐๏ธ`],[`5001-10000`,`๐`],[`10001+`,`๐`]]),ye=he([[`1-500`,`โจ`],[`501-1000`,`โญ`],[`1001-5000`,`๐`],[`5001-10000`,`๐ซ`],[`10001-30000`,`๐ `],[`30000+`,`๐`]]),be=he([[`Series A`,`1๏ธโฃ`],[`Series B`,`2๏ธโฃ`],[`Series C`,`3๏ธโฃ`],[`Series D`,`4๏ธโฃ`]]),xe=he([[`Self-employed`,`๐งโ๐ป`],[`1-10`,`๐ฑ`],[`11-50`,`๐ `],[`51-200`,`๐ข`],[`201-500`,`๐ฌ`],[`501-1,000`,`๐๏ธ`],[`1,001-5,000`,`๐๏ธ`],[`5,001-10,000`,`๐`],[`10,001+`,`๐`]]),Se=[{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:`๐จ๐ฟ`}}}],Ce=he([[`Owner / Partner`,`๐`],[`CXO`,`๐ฉ`],[`Vice President`,`๐
`],[`Director`,`๐ฏ`],[`Experienced Manager`,`๐งโ๐ผ`],[`Entry Level Manager`,`๐`],[`Strategic`,`โ๏ธ`],[`Senior`,`โญ`],[`Entry Level`,`๐ฑ`],[`In Training`,`๐`]]),we=he([[`Less than 1 year`,`๐ฑ`],[`1 to 2 years`,`๐ฟ`],[`3 to 5 years`,`๐ณ`],[`6 to 10 years`,`๐ฒ`],[`More than 10 years`,`๐๏ธ`]]),Te=he([[`Less than 1 year`,`๐ฑ`],[`1 to 2 years`,`๐ฟ`],[`3 to 5 years`,`๐ณ`],[`6 to 10 years`,`๐ฒ`],[`More than 10 years`,`๐๏ธ`]]),Ee=he([[`Less than 1 year`,`๐ฑ`],[`1 to 2 years`,`๐ฟ`],[`3 to 5 years`,`๐ณ`],[`6 to 10 years`,`๐ฒ`],[`More than 10 years`,`๐๏ธ`]]),De=ge([[`past-24h`,`Past 24 hours`,`๐`],[`past-week`,`Past week`,`๐
`],[`past-month`,`Past month`,`๐๏ธ`],[`past-quarter`,`Past quarter`,`๐`],[`past-year`,`Past year`,`๐`]]),Oe=ge([[`photos`,`Photos`,`๐ผ๏ธ`],[`jobs`,`Jobs`,`๐ผ`],[`collaborativeArticles`,`Collaborative articles`,`๐`],[`videos`,`Videos`,`๐ฌ`],[`documents`,`Documents`,`๐`],[`liveVideos`,`Live videos`,`๐ก`]]),ke=he([[`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`,`๐ง`]]),Ae=he([[`Public Company`,`๐`],[`Privately Held`,`๐`],[`Non Profit`,`๐`],[`Educational Institution`,`๐`],[`Partnership`,`๐ค`],[`Self Employed`,`๐ค`],[`Self Owned`,`๐ชช`],[`Government Agency`,`๐๏ธ`]]),je=me([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),Me=me([`0-10%`,`10-20%`,`20-50%`,`50-70%`,`70%+`]),Ne=ge([[`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`,`๐ค`]]),Pe=(e=>e.map(([e,t])=>({value:e,label:e,widgets:{emoji:{char:t}}})))([[`Engineering`,`๐ ๏ธ`],[`Sales`,`๐ธ`],[`Consulting`,`๐ผ`],[`Marketing`,`๐ฃ`],[`Operations`,`โ๏ธ`],[`Finance`,`๐ฐ`],[`Research`,`๐ฌ`],[`Customer Success and Support`,`๐ง`],[`Arts and Design`,`๐จ`],[`Human Resources`,`๐ฅ`],[`Legal`,`โ๏ธ`],[`Product Management`,`๐ฆ`]]),Fe=(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`,`๐ฆ`]]),Ie={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}},"employment_function.crustdata":{type:`static`,filter:`contains`,values:Pe},"company.markets.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`companydb`,`markets`)},"company.linkedin_categories.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`companydb`,`linkedin_categories`)},skills:{type:`csv`,url:`https://raw.githubusercontent.com/pipe-0/pipe0/main/static/autocomplete/common/skills.csv`,filter:`contains`},"person.skills.crustdata":{type:`provider`,provider:`crustdata`,resolve:ie({db:`persondb`,field:`skills.professional_network_skills`})},"person.certifications.crustdata":{type:`provider`,provider:`crustdata`,resolve:ie({db:`persondb`,field:`certifications.name`})},"person.honors.crustdata":{type:`provider`,provider:`crustdata`,resolve:ie({db:`persondb`,field:`honors.title`})},"person.current_employer_names.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`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:p(`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:p(`persondb`,`education_background.degree_name`)},"person.education_activities.crustdata":{type:`provider`,provider:`crustdata`,resolve:p(`persondb`,`education_background.activities_and_societies`)},"amplemarket.company_types":{type:`static`,filter:`contains`,values:se},"amplemarket.company_size":{type:`static`,filter:`contains`,values:ce},"amplemarket.seniority_levels":{type:`static`,filter:`contains`,values:le},"amplemarket.departments":{type:`static`,filter:`contains`,values:ue},"amplemarket.company_revenue":{type:`static`,filter:`contains`,values:de},"amplemarket.job_functions":{type:`static`,filter:`contains`,values:fe},"amplemarket.industries":{type:`static`,filter:`contains`,values:pe},"crustdata.company_size":{type:`static`,filter:`contains`,values:_e},"crustdata.company_followers":{type:`static`,filter:`contains`,values:ye},"crustdata.linkedin_headcount_ranges":{type:`static`,filter:`contains`,values:ve},"crustdata.funding_rounds":{type:`static`,filter:`contains`,values:be},"crustdata.person_company_size":{type:`static`,filter:`contains`,values:xe},"crustdata.person_profile_languages":{type:`static`,filter:`contains`,values:Se},"crustdata.person_seniority":{type:`static`,filter:`contains`,values:Ce},"crustdata.person_years_at_current_company":{type:`static`,filter:`contains`,values:we},"crustdata.person_years_in_current_position":{type:`static`,filter:`contains`,values:Te},"crustdata.years_of_experience":{type:`static`,filter:`contains`,values:Ee},"crustdata.functions":{type:`static`,filter:`contains`,values:ke},"crustdata.company_types":{type:`static`,filter:`contains`,values:Ae},"crustdata.headcount_growth":{type:`static`,filter:`contains`,values:je},"crustdata.follower_growth":{type:`static`,filter:`contains`,values:Me},"crustdata.last_funding_round_type":{type:`static`,filter:`contains`,values:Ne},"crustdata.post_date_posted":{type:`static`,filter:`contains`,values:De},"crustdata.post_content_type":{type:`static`,filter:`contains`,values:Oe},"linkedin.industries":{type:`static`,filter:`contains`,values:Fe}};r.enum(Object.keys(Ie));function Le(e,t){let n=Ie[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 m(e){let t=Ie[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 Re(e){return{type:`static`,options:m(e)}}function h(e,t){return Le(e,t)}const ze=[`claim`,`counter`],Be=1,Ve=r.enum([`string`,`number`,`boolean`]),He=r.object({type:Ve,format:r.string().default(``)}),Ue=r.object({type:r.literal(`fields`),input_fields:r.record(r.string(),He)}),We=r.object({ttl_seconds:r.number().int().positive().nullable().default(null),on_own_entry:r.enum([`proceed`,`block`]).default(`block`),on_missing:r.enum([`block`,`proceed`]).default(`proceed`)}),Ge=r.object({start:r.number().int().default(1),step:r.number().int().positive().default(1)});function Ke(e,t){if(t!==1)throw Error(`Unsupported bucket type version: ${e}@${t}`);switch(e){case`claim`:return We;case`counter`:return Ge;default:throw Error(`Unknown bucket type: ${String(e)}`)}}function qe(e){switch(e){case`claim`:return We.parse({});case`counter`:return Ge.parse({});default:throw Error(`Unknown bucket type: ${String(e)}`)}}function Je(e,t){if(!t)return{};let n={};return e===`claim`?(t.new_bucket_ttl_in_seconds!=null&&(n.ttl_seconds=t.new_bucket_ttl_in_seconds),t.new_bucket_own_entry_behavior&&(n.on_own_entry=t.new_bucket_own_entry_behavior),t.new_bucket_missing_value_behavior&&(n.on_missing=t.new_bucket_missing_value_behavior)):(t.new_bucket_start!=null&&(n.start=t.new_bucket_start),t.new_bucket_step!=null&&(n.step=t.new_bucket_step)),n}function Ye(e){return e?.new_bucket_name?.trim()||null}function Xe(e){return{column:e.field_name,bucketField:e.entry_field?.trim()||e.field_name}}function Ze(e){return e.map(e=>Xe(e).bucketField)}function Qe(e){return Array.isArray(e)?e[0]??``:e}function $e(e){return Object.keys(e.input_fields).sort()}function et(e,t){let n=$e(e),r=$e(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i+=1){let a=n[i];if(a===void 0||a!==r[i])return!1;let o=e.input_fields[a],s=t.input_fields[a];if(!o||!s||o.type!==s.type)return!1}return!0}function tt(e){let t=new TextEncoder().encode(e),n=``;for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}function nt(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`),n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e+=1)r[e]=n.charCodeAt(e);return new TextDecoder().decode(r)}function rt(e){return tt(JSON.stringify(e))}function it(e){let t=nt(e);return Ue.parse(JSON.parse(t))}function at(e){if(!e)return null;try{return it(e)}catch{return null}}var ot=class extends Error{constructor(e){super(`Field '${e}' not found`),this.fieldName=e,this.name=`ConditionFieldNotFoundError`}},st=class extends Error{constructor(e,t,n){super(e),this.fieldName=t,this.operator=n,this.name=`ConditionEvaluationError`}};function ct(e){if(!e)return null;if(e instanceof Date)return e;if(typeof e==`string`){let t=new Date(e);return Number.isNaN(t.getTime())?null:t}if(typeof e==`number`){let t=new Date(e);return Number.isNaN(t.getTime())?null:t}return null}function lt(e){if(typeof e==`number`)return e;if(typeof e==`string`){let t=Number.parseFloat(e);return Number.isNaN(t)?null:t}return null}function ut(e,t){let n=e.value,{field_name:r,operator:i}=t,a=t.value;if(e.type===`json`)throw new st(`Conditions on json fields are not supported. Extract nested JSON properties into their own fields to apply conditions.`,r,i);if(n==null)switch(i){case`eq`:return{isCheckTrue:a==null};case`neq`:return{isCheckTrue:a!=null};default:return{isCheckTrue:!1}}if(i===`matches`){let e;try{e=new RegExp(String(a))}catch{throw new st(`Comparison value '${a}' is not a valid regular expression for field '${r}'`,r,i)}return{isCheckTrue:e.test(String(n))}}if(e.format===`date`||e.format===`datetime`){let e=ct(n),t=ct(a);if(!e)throw new st(`Field '${r}' has date format but value '${n}' cannot be parsed as a date`,r,i);if(!t)throw new st(`Comparison value '${a}' cannot be parsed as a date for field '${r}'`,r,i);let o=e.getTime(),s=t.getTime();switch(i){case`gt`:return{isCheckTrue:o>s};case`gte`:return{isCheckTrue:o>=s};case`lt`:return{isCheckTrue:o<s};case`lte`:return{isCheckTrue:o<=s};case`eq`:return{isCheckTrue:o===s};case`neq`:return{isCheckTrue:o!==s};default:throw new st(`Operator '${i}' is not supported for date fields`,r,i)}}if((e.type===`number`||typeof n==`number`)&&[`gt`,`gte`,`lt`,`lte`].includes(i)){let e=lt(n),t=lt(a);if(e===null)throw new st(`Field '${r}' value '${n}' cannot be parsed as a number for ${i} comparison`,r,i);if(t===null)throw new st(`Comparison value '${a}' cannot be parsed as a number for field '${r}'`,r,i);switch(i){case`gt`:return{isCheckTrue:e>t};case`gte`:return{isCheckTrue:e>=t};case`lt`:return{isCheckTrue:e<t};case`lte`:return{isCheckTrue:e<=t}}}let o=a;switch(e.type===`boolean`&&typeof a==`string`&&(o=a.toLowerCase()===`true`),i){case`eq`:return{isCheckTrue:n===o};case`neq`:return{isCheckTrue:n!==o};case`contains`:return{isCheckTrue:String(n).toLowerCase().includes(String(o).toLocaleLowerCase())};default:throw new st(`Operator '${i}' is not supported for field '${r}' with type '${e.type}'`,r,i)}}function dt(e,t){let{field_name:n,operator:r}=t,i=t.value,a=e.status;switch(r){case`eq`:if(typeof i!=`string`)throw new st(`When comparing status values, the comparison value must be a string for field '${n}'`,n,r);return{isCheckTrue:a===i};case`neq`:if(typeof i!=`string`)throw new st(`When comparing status values, the comparison value must be a string for field '${n}'`,n,r);return{isCheckTrue:a!==i};case`contains`:if(typeof i!=`string`)throw new st(`When comparing status values, the comparison value must be a string for field '${n}'`,n,r);return{isCheckTrue:a.includes(i)};default:throw new st(`Operator '${r}' is not supported for status comparison on field '${n}'`,n,r)}}function ft(e,t){let{field_name:n,property:r}=t,i=e[n];if(!i)throw new ot(n);switch(r){case`status`:return dt(i,t).isCheckTrue;case`value`:return ut(i,t).isCheckTrue;default:throw new st(`Unknown property '${r}' for field '${n}'`,n,`unknown`)}}function pt(e,t){let{logic:n,conditions:r}=t;if(r.length===0)return!0;let i=r.map(t=>ft(e,t));if(n===`and`)return i.every(e=>e===!0);if(n===`or`)return i.some(e=>e===!0);throw Error(`Unknown logic operator: ${n}`)}const mt=[{id:`data_hygiene`,label:`Data hygiene`,color:`#10B981`,order:0},{id:`enrichment`,label:`Enrichment`,color:`#3B82F6`,order:1},{id:`internal`,label:`Internal`,color:`#94A3B8`,order:2},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:3}],ht=new Map(mt.map(e=>[e.id,e]));function gt(e){return ht.get(e)}function _t(){return mt}function vt(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]=vt(n[e],r));return n}const yt=[`rows:dedupe@1`,`rows:duplicate@1`,`rows:enrich@1`,`rows:adopt@1`,`rows:add@1`,`rows:import@1`,`row:update@1`,`rows:remove@1`,`rows:copy_to_sheet@1`,`rows:filter:prompt@1`,`pipe:add@1`,`pipe:update@1`,`pipe:remove@1`,`fields:remove@1`,`fields:patch@1`,`fields:add@1`,`fields:deletesparse:input@1`,`env:change@1`,`timetravel:create@1`,`timetravel:travel@1`,`sheet:export@1`,`search:run@1`,`sheet:reset@1`,`sheet:update@1`],bt=r.enum(yt),xt=r.object({type:r.literal(`rows`),record_ids:r.array(r.string())}),St=r.object({type:r.literal(`all`)}),Ct=r.object({type:r.literal(`window`),count:r.number().int().min(1).nullable(),cursor:r.string().optional()}),wt=r.discriminatedUnion(`type`,[xt,St,Ct]),Tt={linkedin:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1ba16ca7-513b-4a25-2bc2-5548acdd2000/icon`};function Et(e,t=32){return`https://www.google.com/s2/favicons?sz=${t}&domain=${e.replace(/^(https?:\/\/)?(www\.)?/,``)}`}function Dt(e,t){return e==null?void 0:t(e)}function Ot(){return kt({companyWebsiteUrl:`linkedin.com`,entity:`LinkedIn`})}function kt({companyWebsiteUrl:e,entity:t}){if(e)return{image_url:Et(e),entity:t||e}}function At(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 jt(e){let t={};for(let n in e){let r=e[n];r!=null&&(t[n]={...r,type:`static`})}return t}function Mt(e){let t={};if(!e)return t;for(let n in e){let r=e[n];r!=null&&r.type!==`static`&&(t[n]=r)}return t}const Nt=r.object({id:r.string(),object:r.literal(`company`),name:r.string(),website:r.url().nullable(),linkedin_url:r.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.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()}),Pt={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`},Ft=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.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.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.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.url().nullable(),linkedin_url:r.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.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()}),It={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`},Lt=r.array(r.string()),Rt=[`1Password`,`AJAX Libraries API`,`AWS Global Accelerator`,`AWS Lambda`,`Algolia`,`Amazon`,`Amazon ALB`,`Amazon Elastic Load Balancing Sticky Session`,`Amazon Ireland Region`],zt=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()))}),Bt={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`]}},Vt=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`)}),Ht={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:[]},Ut=r.object({recommendation:r.string().nullable(),referee_full_name:r.string().nullable(),referee_url:r.string().nullable(),order_in_profile:r.number().nullable()}),Wt=r.object({department:r.string().nullable(),management_level:r.string().nullable(),total_experience_duration_months:r.number().nullable()}),Gt=r.object({field_name:r.string().nullable(),change_type:r.string().nullable(),last_changed_at:r.string().nullable()}),Kt=r.object({field_name:r.string().nullable(),last_changed_at:r.string().nullable()}),qt=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(Ut).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(Wt).nullable(),total_experience_duration_months_breakdown_management_level:r.array(Wt).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(Gt).nullable(),profile_collection_field_changes_summary:r.array(Kt).nullable(),experience_recently_started:r.array(r.unknown()).nullable(),experience_recently_closed:r.array(r.unknown()).nullable()}),Jt=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()}),Yt=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()}),Xt=r.object({language:r.string().nullable(),proficiency:r.string().nullable(),order_in_profile:r.number().nullable()}),Zt=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()}),Qt=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()}),$t=r.object({reasoning:r.string().nullable(),answer:r.string().nullable()}),en=r.object({profile:qt.nullable(),experience:r.array(Jt),education:r.array(Yt),languages:r.array(Xt),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(Zt),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(Qt),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(),$t).nullable()}),tn={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`}}},Ft=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()}),It={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`},Lt=r.array(r.object({confidence_score:r.number(),name:r.string().nullable(),primary_domain:r.string().nullable(),all_domains:r.array(r.string()),website:r.string().nullable(),professional_network_url:r.string().nullable(),professional_network_id:r.string().nullable(),profile_name:r.string().nullable(),logo_permalink:r.string().nullable(),description:r.string().nullable(),company_type:r.string().nullable(),year_founded:r.number().int().nullable(),employee_count_range:r.string().nullable(),markets:r.array(r.string()).nullable(),industries:r.array(r.string()).nullable(),social_profiles:r.unknown()})),Rt=[{confidence_score:1,name:`Samsung Electronics America`,primary_domain:`samsung.com`,all_domains:[`samsung.com`],website:`http://www.samsung.com/us/`,professional_network_url:`https://www.linkedin.com/company/samsung-electronics-america`,professional_network_id:`1447520`,profile_name:`Samsung Electronics America`,logo_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/company/ada6bbcc640f3f6943eb82501500e4960e39f8e6446952a8b59ebeadaafba538.jpg`,description:null,company_type:null,year_founded:null,employee_count_range:`5001-10000`,markets:null,industries:[`Computers and Electronics Manufacturing`,`Manufacturing`],social_profiles:null},{confidence_score:1,name:`Samsung India`,primary_domain:`samsung.com`,all_domains:[`samsung.com`],website:`https://samsung.com/in/`,professional_network_url:`https://www.linkedin.com/company/samsung-india`,professional_network_id:`13749561`,profile_name:`Samsung India`,logo_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/company/9d9f71122023cb760c9fc5240def5c7ddc3343c013441193ff4f40699e8d31b5.jpg`,description:null,company_type:null,year_founded:null,employee_count_range:`10001+`,markets:null,industries:[`Computers and Electronics Manufacturing`,`Manufacturing`],social_profiles:null}],zt=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.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.url(),company_website_domain:r.string().min(1),crunchbase_profile_url:r.url(),acquisition_status:r.string(),fiscal_year_end:r.string(),twitter_profile_url:r.url().optional(),twitter_handle:r.string().optional(),crunchbase_valuation_date:r.iso.datetime(),ipo_date:r.iso.datetime(),last_funding_date:r.iso.datetime(),growth_calculation_date:r.iso.datetime(),updated_at:r.iso.datetime(),indexed_at:r.iso.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.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())}),Bt={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`},Vt=r.object({company_id:r.number(),company_name:r.string(),linkedin_profile_name:r.string(),linkedin_profile_url:r.url(),crunchbase_profile_url:r.url(),crunchbase_profile_uuid:r.string(),linkedin_id:r.string(),linkedin_logo_url:r.url(),linkedin_logo_permalink:r.url(),company_twitter_url:r.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.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()}),Ht={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`},Ut=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.email()),open_to_cards:r.array(r.string()),profile_language:r.string().optional(),linkedin_profile_url:r.url(),linkedin_flagship_url:r.string().optional().nullable(),flagship_profile_url:r.url().optional(),profile_picture_url:r.url().optional(),profile_picture_permalink:r.url().optional(),twitter_handle:r.string().optional(),num_of_connections:r.number().int().nonnegative(),last_updated:r.iso.datetime(),updated_at:r.iso.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.url().or(r.string()).optional(),institute_logo_url:r.url().or(r.string()).optional(),field_of_study:r.string().optional(),activities_and_societies:r.string().optional(),start_date:r.iso.datetime().optional(),end_date:r.iso.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.iso.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.url().or(r.string()).optional(),company_linkedin_profile_url:r.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.iso.datetime().optional(),end_date:r.iso.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.url().or(r.string()).optional(),company_linkedin_profile_url:r.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.iso.datetime().optional(),end_date:r.iso.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.url().or(r.string()).optional(),company_linkedin_profile_url:r.url().or(r.string()).optional()}))}),Wt={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`}}},nn=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()}),rn={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`},an=r.array(r.object({confidence_score:r.number(),name:r.string().nullable(),primary_domain:r.string().nullable(),all_domains:r.array(r.string()),website:r.string().nullable(),professional_network_url:r.string().nullable(),professional_network_id:r.string().nullable(),profile_name:r.string().nullable(),logo_permalink:r.string().nullable(),description:r.string().nullable(),company_type:r.string().nullable(),year_founded:r.number().int().nullable(),employee_count_range:r.string().nullable(),markets:r.array(r.string()).nullable(),industries:r.array(r.string()).nullable(),social_profiles:r.unknown()})),on=[{confidence_score:1,name:`Samsung Electronics America`,primary_domain:`samsung.com`,all_domains:[`samsung.com`],website:`http://www.samsung.com/us/`,professional_network_url:`https://www.linkedin.com/company/samsung-electronics-america`,professional_network_id:`1447520`,profile_name:`Samsung Electronics America`,logo_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/company/ada6bbcc640f3f6943eb82501500e4960e39f8e6446952a8b59ebeadaafba538.jpg`,description:null,company_type:null,year_founded:null,employee_count_range:`5001-10000`,markets:null,industries:[`Computers and Electronics Manufacturing`,`Manufacturing`],social_profiles:null},{confidence_score:1,name:`Samsung India`,primary_domain:`samsung.com`,all_domains:[`samsung.com`],website:`https://samsung.com/in/`,professional_network_url:`https://www.linkedin.com/company/samsung-india`,professional_network_id:`13749561`,profile_name:`Samsung India`,logo_permalink:`https://crustdata-media.s3.us-east-2.amazonaws.com/company/9d9f71122023cb760c9fc5240def5c7ddc3343c013441193ff4f40699e8d31b5.jpg`,description:null,company_type:null,year_founded:null,employee_count_range:`10001+`,markets:null,industries:[`Computers and Electronics Manufacturing`,`Manufacturing`],social_profiles:null}],sn=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.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.url(),company_website_domain:r.string().min(1),crunchbase_profile_url:r.url(),acquisition_status:r.string(),fiscal_year_end:r.string(),twitter_profile_url:r.url().optional(),twitter_handle:r.string().optional(),crunchbase_valuation_date:r.iso.datetime(),ipo_date:r.iso.datetime(),last_funding_date:r.iso.datetime(),growth_calculation_date:r.iso.datetime(),updated_at:r.iso.datetime(),indexed_at:r.iso.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.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())}),cn={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`},ln=r.object({company_id:r.number(),company_name:r.string(),linkedin_profile_name:r.string(),linkedin_profile_url:r.url(),crunchbase_profile_url:r.url(),crunchbase_profile_uuid:r.string(),linkedin_id:r.string(),linkedin_logo_url:r.url(),linkedin_logo_permalink:r.url(),company_twitter_url:r.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.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()}),un={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`},dn=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.email()),open_to_cards:r.array(r.string()),profile_language:r.string().optional(),linkedin_profile_url:r.url(),linkedin_flagship_url:r.string().optional().nullable(),flagship_profile_url:r.url().optional(),profile_picture_url:r.url().optional(),profile_picture_permalink:r.url().optional(),twitter_handle:r.string().optional(),num_of_connections:r.number().int().nonnegative(),last_updated:r.iso.datetime(),updated_at:r.iso.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.url().or(r.string()).optional(),institute_logo_url:r.url().or(r.string()).optional(),field_of_study:r.string().optional(),activities_and_societies:r.string().optional(),start_date:r.iso.datetime().optional(),end_date:r.iso.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.iso.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.url().or(r.string()).optional(),company_linkedin_profile_url:r.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.iso.datetime().optional(),end_date:r.iso.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.url().or(r.string()).optional(),company_linkedin_profile_url:r.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.iso.datetime().optional(),end_date:r.iso.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.url().or(r.string()).optional(),company_linkedin_profile_url:r.url().or(r.string()).optional()}))}),fn={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`},pn=r.array(r.object({backend_urn:r.string(),actor_backend_urn:r.string().nullable(),share_urn:r.string(),share_url:r.url(),text:r.string(),actor_name:r.string(),hyperlinks:r.object({company_linkedin_urls:r.array(r.url()),person_linkedin_urls:r.array(r.url()),other_urls:r.array(r.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)})),mn=[{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,23 +58,23 @@ 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:[]}],qt=r.array(r.record(r.string(),r.unknown())),Jt=[{id:42,email:`jane@acme.com`,plan:`pro`,created_at:`2026-01-15T09:30:00Z`}],Yt=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()}))}),Xt={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`}]},Zt=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()})),Qt=[{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`}]}],$t=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`)}),en={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:[]},tn=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.`)}),nn={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`},rn=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()})),an=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],on=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),sn=[{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`}],cn=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),ln=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],un=r.object({lead_id:r.string(),contact_id:r.string().nullable().optional(),campaign_id:r.string(),campaign_name:r.string().nullable().optional(),is_paused:r.boolean().nullable().optional(),variables_set:r.number().int().nullable().optional()}),dn={lead_id:`lea_fiDpiGV585wy3Oii2`,contact_id:`ctc_xW8Ou6C03Csv8vatp`,campaign_id:`cam_bSn8EORHQxbWPjHvu`,campaign_name:`Q3 Outbound`,is_paused:!1},fn=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)}),pn=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(),mn=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:pn,logo:r.url(),blurhash:r.string(),colors:r.array(fn)}),hn={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`}]},gn=r.object({label:r.string().nullable().optional(),question_id:r.string().nullable().optional(),question_type:r.string().nullable().optional(),value:r.unknown().nullable().optional(),answer:r.unknown().nullable().optional(),answer_company:r.string().nullable().optional(),answer_job_title:r.string().nullable().optional()}),_n=r.object({id:r.string().nullable().optional(),name:r.string().nullable().optional(),amount:r.number().nullable().optional(),amount_discount:r.number().nullable().optional(),amount_tax:r.number().nullable().optional(),currency:r.string().nullable().optional(),checked_in_at:r.string().nullable().optional(),event_ticket_type_id:r.string().nullable().optional(),is_captured:r.boolean().nullable().optional()}),vn=r.object({id:r.string().nullable().optional(),user_id:r.string().nullable().optional(),user_email:r.string().nullable().optional(),user_name:r.string().nullable().optional(),user_first_name:r.string().nullable().optional(),user_last_name:r.string().nullable().optional(),approval_status:r.string().nullable().optional(),check_in_qr_code:r.string().nullable().optional(),eth_address:r.string().nullable().optional(),solana_address:r.string().nullable().optional(),phone_number:r.string().nullable().optional(),utm_source:r.string().nullable().optional(),invited_at:r.string().nullable().optional(),joined_at:r.string().nullable().optional(),registered_at:r.string().nullable().optional(),registration_answers:r.array(gn).nullable().optional(),event_tickets:r.array(_n).nullable().optional()}),yn={id:`guest-evt-abc123`,user_id:`usr-9f8e7d`,user_email:`ada.lovelace@example.com`,user_name:`Ada Lovelace`,user_first_name:`Ada`,user_last_name:`Lovelace`,approval_status:`approved`,check_in_qr_code:`QR-1A2B3C`,eth_address:null,solana_address:null,phone_number:`+1 555 0100`,utm_source:`newsletter`,invited_at:`2026-05-01T12:00:00.000Z`,joined_at:`2026-05-02T09:30:00.000Z`,registered_at:`2026-05-02T09:31:42.000Z`,registration_answers:[{label:`Company`,question_id:`q-company`,question_type:`company`,value:{company:`Analytical Engines Ltd`,job_title:`Founder`},answer:`Analytical Engines Ltd`,answer_company:`Analytical Engines Ltd`,answer_job_title:`Founder`}],event_tickets:[{id:`ticket-001`,name:`General Admission`,amount:0,amount_discount:0,amount_tax:0,currency:`usd`,checked_in_at:null,event_ticket_type_id:`tt-ga`,is_captured:!0}]},bn=r.object({email:r.string(),quality:r.enum([``,`good`,`bod`,`risky`]),result:r.enum([`ok`,`catch_all`,`unknown`,`error`,`disposable`,`invalid`]),resultcode:r.int(),subresult:r.string(),free:r.boolean(),role:r.boolean(),didyoumean:r.string(),error:r.string().nullable().optional()}),xn={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``},Sn=r.object({sector:r.string().nullable().optional(),subsector:r.string().nullable().optional(),country:r.string().nullable().optional(),state:r.string().nullable().optional(),city:r.string().nullable().optional(),founded_year:r.number().int().nonnegative().nullable().optional(),stage:r.string().nullable().optional(),special_flags:r.array(r.string()).nullable().optional()}),Cn={sector:`Auto Tech`,subsector:`Auto IT`,country:`Germany`,state:`Baden-wurttemberg`,city:`Schwenningen`,founded_year:2018,stage:`Acquired`,special_flags:[`Tech`,`Enterprise`,`Software`]},wn=r.array(r.object({url:r.string(),title:r.string().nullable(),publish_date:r.string().nullable(),excerpts:r.array(r.string())})),Tn=[{url:`https://www.un.org/en/about-us/history-of-the-un`,title:`History of the United Nations | United Nations`,publish_date:`2001-01-01`,excerpts:[`As World War II was about to end in 1945, nations were in ruins, and the world wanted peace. Representatives of 50 countries gathered at the United Nations Conference on International Organization in San Francisco, California from 25 April to 26 June 1945.`]}],En=r.object({current_company:r.string().nullable().optional(),headline:r.string().nullable().optional(),connection_count:r.number().int().nonnegative().nullable().optional(),follower_count:r.number().int().nonnegative().nullable().optional(),experience_raw:r.string().nullable().optional()}),Dn={current_company:`On`,headline:`Engineering leadership`,connection_count:2396,follower_count:2419,experience_raw:`On 2025-03-01 Head of Engineering Google 2019-04-01 2025-02-01 Staff Software Engineer`};function On(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function kn(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)&&!kn(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function An(e){return e.split(`@`)[0]}function jn(e,t){if(t.length===0)throw Error(`pickStable: cannot pick from an empty array`);let n=5381;for(let t=0;t<e.length;t++)n=(n<<5)+n+e.charCodeAt(t)>>>0;return t[n%t.length]}const Mn=[`๐ง๐ฝโ๐ป`],Nn=[`๐งโ๐ผ`],Pn=[`๐ท`],Fn=[`c_suite`,`leadership`,`manager`,`senior_ic`,`ic`,`frontline`,`junior`,`unknown`],In=r.enum(Fn),Ln={c_suite:`๐`,leadership:`โญ๏ธ`,manager:`๐งโโ๏ธ`,senior_ic:Mn,ic:Nn,frontline:Pn,junior:`๐ฅ`,unknown:`๐ซฅ`},Rn=`product owner.process owner.scrum master.chief of staff.business partner.hr business partner.human resources business partner.people partner.channel partner.finance business partner.account executive.assistant professor.staff accountant.staff nurse.staff writer.lead generation.sales lead.case manager.care manager.police officer.patrol officer.correctional officer.loan officer.program officer.compliance officer.foreign service officer.research associate.sales associate.marketing associate`.split(`.`),zn=[`associate professor`,`senior associate`,`of counsel`,`senior counsel`,`special counsel`,`nurse practitioner`,`charge nurse`,`attending physician`,`chief resident`,`senior resident`,`chief petty officer`,`founding engineer`,`founding designer`],Bn=[`research fellow`,`teaching fellow`,`postdoctoral fellow`,`postdoc`,`research assistant`,`teaching assistant`,`medical assistant`,`dental assistant`,`resident physician`,`medical resident`],Vn=[`ceo`,`cto`,`cfo`,`coo`,`cmo`,`cio`,`ciso`,`cpo`,`cdo`,`cro`,`chro`,`cco`,`clo`,`cao`,`cxo`],Hn=`founder.co founder.cofounder.proprietor.chairman.chairwoman.chairperson.managing partner.general partner.equity partner.founding partner.managing director.managing member.general counsel.executive director.managing broker.principal broker.designated broker.superintendent.chancellor.headmaster.headmistress.head teacher.head of school.school principal.executive chef.franchisee.sheriff.warden`.split(`.`),Un=[`vp`,`svp`,`evp`,`vice president`,`director`,`head of`,`dean`,`provost`,`principal investigator`,`medical director`,`director of nursing`,`general manager`,`district manager`,`regional manager`,`area manager`,`plant manager`,`head chef`,`chef de cuisine`,`vice principal`,`assistant principal`,`colonel`,`commander`,`captain`],Wn=[`junior`,`jr`,`jnr`,`intern`,`internship`,`trainee`,`apprentice`,`graduate`,`grad`,`entry`,`entry level`,`student`,`working student`,`cadet`,`recruit`,`probationary`,`extern`],Gn=[`senior`,`sr`,`snr`,`staff`,`principal`,`lead`,`distinguished`,`fellow`,`architect`,`professor`,`attending`,`journeyman`,`master electrician`,`master plumber`,`master carpenter`,`master mechanic`,`master stylist`,`master barber`],Kn=[`manager`,`mgr`],qn=[`supervisor`,`foreman`,`forewoman`,`foreperson`,`sergeant`,`team leader`],Jn=`account.accounts.key account.project.projects.special projects.special project.initiative.initiatives.strategic initiatives.program.programs.product.products.portfolio.portfolios.people.talent.talent acquisition.recruiting.recruitment.community.brand.brands.social media.social.partnership.partnerships.alliance.alliances.vendor.vendors.supplier.suppliers.office.category.categories.channel.channels.content.campaign.campaigns.relationship.relationships.territory.territories.customer success.success.implementation.onboarding.delivery.deployment.release.engagement.growth.seo.sem.ppc.performance.demand generation.demand gen.digital.email.events.event.webinar.procurement.sourcing.logistics.supply chain.inventory.facilities.fleet.risk.compliance.contract.contracts.knowledge.localization.product marketing.media.paid.business development.go to market.gtm.data.analytics.insights.research`.split(`.`),Yn=`engineer.developer.programmer.sysadmin.administrator.technician.technologist.designer.researcher.analyst.scientist.statistician.consultant.specialist.coordinator.representative.strategist.marketer.copywriter.accountant.bookkeeper.auditor.recruiter.sourcer.paralegal.attorney.lawyer.solicitor.counsel.underwriter.actuary.adjuster.agent.broker.realtor.appraiser.planner.buyer.trader.advisor.adviser.writer.editor.journalist.sdr.bdr.csm.tam.nurse.physician.surgeon.pharmacist.dentist.therapist.dietitian.paramedic.veterinarian.optometrist.psychologist.psychiatrist.hygienist.teacher.educator.instructor.lecturer.tutor.officer`.split(`.`),Xn=[`electrician`,`plumber`,`carpenter`,`welder`,`machinist`,`mechanic`,`millwright`,`pipefitter`,`mason`,`roofer`,`operator`,`laborer`,`labourer`,`driver`,`warehouse`,`stylist`,`barber`,`cook`,`server`,`bartender`,`barista`,`cashier`,`clerk`],Zn=[`associate`,`assistant`,`aide`,`helper`,`resident`,`commis`];function Qn(e){let t=t=>e.includes(` ${t} `),n=e=>e.some(t);if(n(Rn))return`ic`;if(n(zn))return`senior_ic`;if(n(Bn))return`junior`;if(n(Vn)||t(`chief`)||n(Hn)||t(`owner`)||t(`president`)&&!t(`vice president`)||t(`partner`))return`c_suite`;if(n(Un))return`leadership`;if(n(Wn))return`junior`;let r=n(Gn);return n(qn)?`manager`:n(Kn)?n(Jn)?r?`senior_ic`:`ic`:`manager`:n(Xn)?`frontline`:r?`senior_ic`:n(Yn)?`ic`:n(Zn)?`junior`:`unknown`}function $n(e){return e?Qn(` ${e.toLowerCase().replace(/[^a-z ]+/g,` `).replace(/\s+/g,` `).trim()} `):`unknown`}function er(e){let t=Ln[$n(e)];return typeof t==`string`?t:jn(` ${e.toLowerCase().replace(/[^a-z ]+/g,` `).replace(/\s+/g,` `).trim()} `,t)}const tr=r.object({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`),highest_current_seniority_level:r.enum(Fn).nullable().describe(`The highest seniority bucket across the person's current roles. Uses the same taxonomy as the job-title seniority emoji (see getSeniorityEmojiFromTitle). Null if not available.`),social_handles_linkedin:r.array(r.string()).nullable(),social_handles_github:r.array(r.string()).nullable(),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`)).nullable().describe(`A list of skills listed on the profile, with optional proficiency levels.`),connections_count:r.number().int().nullable().describe(`The number of connections the profile has. Null if not available or visible.`),current_location_city:r.string().nullable().describe(`The city of the profile owner's primary location.`),current_location_state:r.string().nullable().describe(`The state/region of the profile owner's primary location.`),current_location_country:r.string().nullable().describe(`The country of the profile owner's primary location.`),about:r.string().nullable().describe(`The 'About' section content from the profile. Null if empty.`),employment_history:r.array(r.object({job_title:r.string().nullable().describe(`The title of the job.`),is_current_employer:r.boolean().nullable().describe(`Does this person currently work at this company`),is_primary_current_employer:r.boolean().nullable().describe(`Is this the person's primary current employer`),seniority_level:r.enum(Fn).nullable().describe(`The seniority bucket inferred from the job title. Uses the same taxonomy as the job-title seniority emoji (see getSeniorityEmojiFromTitle). Null if not available.`),company_name:r.string().nullable().describe(`The name of the company.`),contract_type:r.string().nullable().describe(`The employment type (e.g., 'Full-time', 'Contract', 'Internship'). Null if not available.`),company_domain:r.string().nullable().describe(`The domain of the company.`),company_website_url:r.url().nullable().describe(`The website URL of the company.`),company_profile_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_bracket:r.string().nullable().describe(`The company headcount bracket (e.g., '1001-5000', '11-50', '10001+'). Forwarded verbatim from the provider, so brackets are not yet normalized to a standard set. Null if not available.`),company_industries:r.array(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.`),company_hq_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.`),education_history:r.array(r.object({degree_name:r.string().nullable().describe(`The name of the degree (e.g., 'Bachelor of Science', 'MBA').`),is_current_education:r.boolean().nullable().describe(`Is this person currently enrolled in this institution`),is_primary_current_education:r.boolean().nullable().describe(`Is this the person's primary current education`),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 institution in years. Null if not available.`),tenure_in_days:r.number().nullable().describe(`Duration at institution 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.`)}),nr={profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:On(),highest_current_seniority_level:`senior_ic`,social_handles_linkedin:[`https://www.linkedin.com/in/janedoe/`],social_handles_github:[`https://github.com/janedoe`],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`}],connections_count:850,current_location_city:`Berlin`,current_location_state:`Berlin`,current_location_country:`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.`,employment_history:[{job_title:`Senior Software Engineer`,is_current_employer:!0,is_primary_current_employer:!0,seniority_level:`senior_ic`,company_name:`Tech Solutions`,contract_type:`Full-time`,company_domain:`techsolutions.com`,company_website_url:`https://www.techsolutions.com`,company_profile_url:`https://www.linkedin.com/company/tech-solutions`,job_description:`Developing and maintaining scalable web applications using React, Node.js, and AWS.`,start_date:`2023-01-15`,end_date:null,headcount_bracket:`1001-5000`,company_industries:[`Information Technology & Services`],tenure_in_days:870,tenure_in_years:2.38,company_hq_region:`Berlin, Berlin, Germany`,country:`DE`},{job_title:`Software Developer`,is_current_employer:!1,is_primary_current_employer:!1,seniority_level:`ic`,company_name:`Innovate Corp`,contract_type:`Full-time`,company_domain:`innovatecorp.com`,company_website_url:`https://www.innovatecorp.com`,company_profile_url:`https://www.linkedin.com/company/innovate-corp`,job_description:`Contributed to the development of enterprise-level applications and collaborated with cross-functional teams.`,start_date:`2019-06-01`,end_date:`2022-12-31`,headcount_bracket:`501-1000`,company_industries:[`Software Development`],tenure_in_days:1300,tenure_in_years:3.56,company_hq_region:`Munich, Bavaria, Germany`,country:`DE`}],education_history:[{degree_name:`Master of Science`,field_of_study:`Computer Science`,is_current_education:!1,is_primary_current_education:!1,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`,is_current_education:!1,is_primary_current_education:!1,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`}]},rr=r.object({share_urn:r.string().nullable().describe(``),share_url:r.string().nullable().describe(``),text:r.string(),actor:r.string().describe(`A person or a company`),posted_at_date:r.iso.date(),has_video:r.boolean().nullable(),number_of_shares:r.int().nullable(),number_of_comments:r.int().nullable(),number_of_reactions:r.int().nullable(),number_of_reactions_like:r.int().nullable(),number_of_reactions_praise:r.int().nullable(),number_of_reactions_curious:r.int().nullable(),number_of_reactions_empathy:r.int().nullable(),number_of_reactions_appreciation:r.int().nullable(),number_of_reactions_entertainment:r.int().nullable(),author_profile_person:r.object({person_name:r.string().nullable(),person_profile_url:r.url().nullable(),person_title:r.string().nullable(),person_location:r.string().nullable(),current_employers:r.array(r.object({company_name:r.string().nullable(),job_title:r.string().nullable(),company_linkedin_id:r.string().nullable(),company_domain:r.url().nullable(),company_profile_url:r.url().nullable()})).nullable()}).nullable(),author_profile_company:r.object({company_name:r.string().nullable(),company_profile_url:r.url().nullable()}).nullable()}),ir={share_urn:`urn:li:ugcPost:7475096396619194368`,share_url:`https://www.linkedin.com/posts/miroslav-milovanovi%C4%87-b3139110a_your-llm-isnt-failing-because-of-a-bad-prompt-activity-7475096397168578560-JJoN`,text:`Your LLM isn't failing because of a bad prompt: it's failing because you're flying blind in production.`,actor:`person`,posted_at_date:`2026-06-23`,has_video:!1,number_of_shares:0,number_of_comments:0,number_of_reactions:7,number_of_reactions_like:7,number_of_reactions_praise:null,number_of_reactions_curious:null,number_of_reactions_empathy:null,number_of_reactions_appreciation:null,number_of_reactions_entertainment:null,author_profile_person:{person_name:`Miroslav Milovanoviฤ`,person_profile_url:`https://www.linkedin.com/in/miroslav-milovanovi%C4%87-b3139110a`,person_title:`AI Engineer`,person_location:`Belgrade, Serbia`,current_employers:[{company_name:`PubNub`,job_title:`AI Engineer`,company_linkedin_id:`2224710`,company_domain:null,company_profile_url:null}]},author_profile_company:null},ar=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.`)}),or={object:`linkedin_profile`,profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:On(),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`}]},sr=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()}),cr={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`},lr=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()})),ur=[{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.`}}],dr=r.array(r.record(r.string(),r.unknown())),fr=[{id:`0197a2f0-5c1e-7d38-9a44-3f9b2f6c8e01`,email:`jane@acme.com`,name:`Jane Doe`,company:`Acme Inc`}],pr=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),mr=[{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.`}],hr=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`)]),gr=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(``)]),_r=r.object({address:r.email(),status:hr,sub_status:gr,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()}),vr={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`},yr=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()}),br={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`},xr={"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 Sr(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 Cr(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function wr(e){let t=Cr(e);if(xr[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(xr)){let a=Sr(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 Tr(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function Er(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=Tr(e);return t?Dr(t):null}catch{return null}}function Dr(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=wr(e);return t&&xr[t]||null}catch{return null}}function Or(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 kr={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:pr,exampleValue:mr}},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:lr,exampleValue:ur},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:bt,exampleValue:xt},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:rn,exampleValue:an},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:sn,zodSchema:on}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:ln,zodSchema:cn}},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:Zt,exampleValue:Qt}},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:gt,exampleValue:_t},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:vt,exampleValue:yt}},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:bt,exampleValue:xt}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Nt,exampleValue:Pt}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:tn,exampleValue:nn}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:$t,exampleValue:en}},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:ar,exampleValue:or}},profile_url:{label:`LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null},developer_profile_url:{label:`Developer profile URL`,type:`string`,format:`profile_url`,description:`A person's primary developer profile URL (e.g. GitHub).`,jsonMeta:null},alternative_developer_profile_urls:{label:`Alternative developer profile URLs`,type:`json`,format:`json_list_string`,description:`Additional developer profile URLs (GitHub, GitLab, etc.) discovered for the person.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://github.com/mxschmitt`]}},profile_posts:{label:`Recrent linkedIn posts`,type:`json`,description:`List of recent LinkedIn posts in JSON format.`,format:`json_list`,jsonMeta:{zodSchema:r.array(yr),exampleValue:br}},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},lemlist_lead_id:{label:`lemlist lead id`,type:`string`,format:`text`,description:`Id of the lead created in a lemlist campaign.`,jsonMeta:null},lemlist_enrollment_result:{label:`lemlist enrollment`,type:`json`,format:`json_object`,description:`Leaner snake_case object describing a lead's enrollment into a lemlist campaign.`,jsonMeta:{zodSchema:un,exampleValue:dn}},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},luma_id:{label:`Luma ID`,type:`string`,format:`text`,description:`Unique identifier of the guest's event registration in Luma.`,jsonMeta:null},registered_at:{label:`Registered at`,type:`string`,format:`text`,description:`ISO timestamp of when the guest registered for the event.`,jsonMeta:null},luma_event_guest_match:{label:`Event guest match`,type:`json`,format:`json_object`,description:`Full event guest object returned by Luma.`,jsonMeta:{zodSchema:vn,exampleValue:yn}},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},sheet_rows_found_count:{label:`Rows found`,type:`number`,format:`int`,jsonMeta:null,description:`Total number of matching rows in the target sheet (not capped by the row limit)`},sheet_found_rows:{label:`Matching rows`,type:`json`,format:`json_list`,jsonMeta:{zodSchema:dr,exampleValue:fr},description:`The matching rows of the target sheet โ each row is its record id plus one entry per column`},sheet_found_row_ids:{label:`Matching row IDs`,type:`json`,format:`json_list_string`,jsonMeta:null,description:`Stable record IDs of the matching rows in the target sheet`},db_rows_found_count:{label:`Rows found`,type:`number`,format:`int`,jsonMeta:null,description:`Total number of rows matched by the query (not capped by the row limit)`},db_found_rows:{label:`Matching rows`,type:`json`,format:`json_list`,jsonMeta:{zodSchema:qt,exampleValue:Jt},description:`The rows returned by the query, keyed by the result set's column names`},gmail_email_success:{label:`Gmail e-mail success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of email sending action using Gmail`},slack_message_success:{label:`Slack message success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of sending a message using Slack`},email_body:{label:`A markdown email`,type:`string`,format:`markdown`,jsonMeta:null,description:`The test of an email formatted as markdown`},message:{label:`Message`,type:`string`,format:`markdown`,jsonMeta:null,description:`A markdown message that be send to any chat app.`},email_subject:{label:`Subject Line`,type:`string`,format:`text`,jsonMeta:null,description:`Subject line for email`},template_output:{label:`Template Output`,type:`string`,format:`text`,jsonMeta:null,description:`Template value where the tags are replaces with real values`},email_validation_status:{label:`Validation status`,type:`string`,format:`text`,jsonMeta:null,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`},million_validation_match:{label:`Million Verifier match`,type:`json`,format:`json_object`,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`,jsonMeta:{zodSchema:bn,exampleValue:xn}},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:_r,exampleValue:vr}},input_objects:{label:`Input objects`,type:`json`,format:`json_list`,description:`List of unstructured input objects`,jsonMeta:null},created_sheet:{label:`Created sheet`,type:`string`,format:null,description:`Reference to a created sheet`,jsonMeta:null},merge_result:{label:`Merge Result`,type:`unknown`,format:null,description:`Full validation object as returned by ZeroBounce`,jsonMeta:null},firecrawl_extract_result:{label:`Extract Result`,type:`json`,format:null,description:`Result of a firecrawl extract operation`,jsonMeta:null},parallel_extract_result:{label:`Extract Result`,type:`json`,format:`json_list`,description:`Flat list of Parallel Extract results (url, title, publish_date, excerpts).`,jsonMeta:{zodSchema:wn,exampleValue:Tn}},exa_match_evaluation:{label:`Exa Match Evaluation`,type:`json`,format:`json_object`,description:`Exa search result.`,jsonMeta:{zodSchema:Yt,exampleValue:Xt}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:Ft,exampleValue:It}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:Ut,exampleValue:Wt}},person_profile_match:{label:`Person profile`,type:`json`,format:`json_object`,description:`Crustdata person basic profile data`,jsonMeta:{zodSchema:tr,exampleValue:nr}},post_match:{label:`LinkedIn post`,type:`json`,format:`json_object`,description:`A detailed representation of a LinkedIn post`,jsonMeta:{zodSchema:rr,exampleValue:ir}},parallel_person_entity_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Parallel person match object parsed from the entity description`,jsonMeta:{zodSchema:En,exampleValue:Dn}},parallel_company_entity_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Parallel company match object parsed from the entity description`,jsonMeta:{zodSchema:Sn,exampleValue:Cn}},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:zt,exampleValue:Bt}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:Vt,exampleValue:Ht}},crustdata_company_identity_matches:{label:`Company identity matches`,type:`json`,format:`json_list`,description:`List of Crustdata company candidates matched by name or domain.`,jsonMeta:{zodSchema:Lt,exampleValue:Rt}},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:[]}],hn=r.array(r.record(r.string(),r.unknown())),gn=[{id:42,email:`jane@acme.com`,plan:`pro`,created_at:`2026-01-15T09:30:00Z`}],_n=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()}))}),vn={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`}]},yn=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()})),bn=[{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`}]}],xn=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`)}),Sn={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:[]},Cn=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.`)}),wn={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`},Tn=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()})),En=[{company_name:`Chorus`,revenue:`$21M`,headquarters_region:`San Francisco, California, USA`,company_type:`private`,company_website_url:`https://www.chorus.ai`}],Dn=r.array(r.object({company_name:r.string().nullable(),date:r.string().nullable(),company_description:r.string(),source_url:r.url().nullable()})),On=[{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`}],kn=r.array(r.object({title:r.string().nullable(),outlet_name:r.string().nullable(),date:r.string().nullable()})),An=[{title:`Gong: Gong Named to the Forbes Cloud 100 for the Fifth Consecutive Year`,outlet_name:`Martech Cube`,date:`2024-08-07`}],jn=r.object({lead_id:r.string(),contact_id:r.string().nullable().optional(),campaign_id:r.string(),campaign_name:r.string().nullable().optional(),is_paused:r.boolean().nullable().optional(),variables_set:r.number().int().nullable().optional()}),Mn={lead_id:`lea_fiDpiGV585wy3Oii2`,contact_id:`ctc_xW8Ou6C03Csv8vatp`,campaign_id:`cam_bSn8EORHQxbWPjHvu`,campaign_name:`Q3 Outbound`,is_paused:!1},Nn=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)}),Pn=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(),Fn=r.object({name:r.string(),domain:r.string(),description:r.string(),indexed_at:r.iso.datetime(),socials:Pn,logo:r.url(),blurhash:r.string(),colors:r.array(Nn)}),In={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`}]},Ln=r.object({label:r.string().nullable().optional(),question_id:r.string().nullable().optional(),question_type:r.string().nullable().optional(),value:r.unknown().nullable().optional(),answer:r.unknown().nullable().optional(),answer_company:r.string().nullable().optional(),answer_job_title:r.string().nullable().optional()}),Rn=r.object({id:r.string().nullable().optional(),name:r.string().nullable().optional(),amount:r.number().nullable().optional(),amount_discount:r.number().nullable().optional(),amount_tax:r.number().nullable().optional(),currency:r.string().nullable().optional(),checked_in_at:r.string().nullable().optional(),event_ticket_type_id:r.string().nullable().optional(),is_captured:r.boolean().nullable().optional()}),zn=r.object({id:r.string().nullable().optional(),user_id:r.string().nullable().optional(),user_email:r.string().nullable().optional(),user_name:r.string().nullable().optional(),user_first_name:r.string().nullable().optional(),user_last_name:r.string().nullable().optional(),approval_status:r.string().nullable().optional(),check_in_qr_code:r.string().nullable().optional(),eth_address:r.string().nullable().optional(),solana_address:r.string().nullable().optional(),phone_number:r.string().nullable().optional(),utm_source:r.string().nullable().optional(),invited_at:r.string().nullable().optional(),joined_at:r.string().nullable().optional(),registered_at:r.string().nullable().optional(),registration_answers:r.array(Ln).nullable().optional(),event_tickets:r.array(Rn).nullable().optional()}),Bn={id:`guest-evt-abc123`,user_id:`usr-9f8e7d`,user_email:`ada.lovelace@example.com`,user_name:`Ada Lovelace`,user_first_name:`Ada`,user_last_name:`Lovelace`,approval_status:`approved`,check_in_qr_code:`QR-1A2B3C`,eth_address:null,solana_address:null,phone_number:`+1 555 0100`,utm_source:`newsletter`,invited_at:`2026-05-01T12:00:00.000Z`,joined_at:`2026-05-02T09:30:00.000Z`,registered_at:`2026-05-02T09:31:42.000Z`,registration_answers:[{label:`Company`,question_id:`q-company`,question_type:`company`,value:{company:`Analytical Engines Ltd`,job_title:`Founder`},answer:`Analytical Engines Ltd`,answer_company:`Analytical Engines Ltd`,answer_job_title:`Founder`}],event_tickets:[{id:`ticket-001`,name:`General Admission`,amount:0,amount_discount:0,amount_tax:0,currency:`usd`,checked_in_at:null,event_ticket_type_id:`tt-ga`,is_captured:!0}]},Vn=r.object({email:r.string(),quality:r.enum([``,`good`,`bod`,`risky`]),result:r.enum([`ok`,`catch_all`,`unknown`,`error`,`disposable`,`invalid`]),resultcode:r.int(),subresult:r.string(),free:r.boolean(),role:r.boolean(),didyoumean:r.string(),error:r.string().nullable().optional()}),Hn={email:`bademail@gmal.com`,quality:`good`,result:`invalid`,resultcode:6,subresult:`unknown`,free:!1,role:!1,didyoumean:`bademail@gmail.com`,error:``},Un=r.object({sector:r.string().nullable().optional(),subsector:r.string().nullable().optional(),country:r.string().nullable().optional(),state:r.string().nullable().optional(),city:r.string().nullable().optional(),founded_year:r.number().int().nonnegative().nullable().optional(),stage:r.string().nullable().optional(),special_flags:r.array(r.string()).nullable().optional()}),Wn={sector:`Auto Tech`,subsector:`Auto IT`,country:`Germany`,state:`Baden-wurttemberg`,city:`Schwenningen`,founded_year:2018,stage:`Acquired`,special_flags:[`Tech`,`Enterprise`,`Software`]},Gn=r.array(r.object({url:r.string(),title:r.string().nullable(),publish_date:r.string().nullable(),excerpts:r.array(r.string())})),Kn=[{url:`https://www.un.org/en/about-us/history-of-the-un`,title:`History of the United Nations | United Nations`,publish_date:`2001-01-01`,excerpts:[`As World War II was about to end in 1945, nations were in ruins, and the world wanted peace. Representatives of 50 countries gathered at the United Nations Conference on International Organization in San Francisco, California from 25 April to 26 June 1945.`]}],qn=r.object({current_company:r.string().nullable().optional(),headline:r.string().nullable().optional(),connection_count:r.number().int().nonnegative().nullable().optional(),follower_count:r.number().int().nonnegative().nullable().optional(),experience_raw:r.string().nullable().optional()}),Jn={current_company:`On`,headline:`Engineering leadership`,connection_count:2396,follower_count:2419,experience_raw:`On 2025-03-01 Head of Engineering Google 2019-04-01 2025-02-01 Staff Software Engineer`};function Yn(){return`https://i.pravatar.cc/300?u=${crypto.randomUUID()}`}function Xn(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)&&!Xn(e[n],{isNullEmpty:t}))return!1;return!0}return!1}function Zn(e){return e.split(`@`)[0]}function Qn(e,t){if(t.length===0)throw Error(`pickStable: cannot pick from an empty array`);let n=5381;for(let t=0;t<e.length;t++)n=(n<<5)+n+e.charCodeAt(t)>>>0;return t[n%t.length]}const $n=[`๐ง๐ฝโ๐ป`],er=[`๐งโ๐ผ`],tr=[`๐ท`],nr=[`c_suite`,`leadership`,`manager`,`senior_ic`,`ic`,`frontline`,`junior`,`unknown`],rr=r.enum(nr),ir={c_suite:`๐`,leadership:`โญ๏ธ`,manager:`๐งโโ๏ธ`,senior_ic:$n,ic:er,frontline:tr,junior:`๐ฅ`,unknown:`๐ซฅ`},ar=`product owner.process owner.scrum master.chief of staff.business partner.hr business partner.human resources business partner.people partner.channel partner.finance business partner.account executive.assistant professor.staff accountant.staff nurse.staff writer.lead generation.sales lead.case manager.care manager.police officer.patrol officer.correctional officer.loan officer.program officer.compliance officer.foreign service officer.research associate.sales associate.marketing associate`.split(`.`),or=[`associate professor`,`senior associate`,`of counsel`,`senior counsel`,`special counsel`,`nurse practitioner`,`charge nurse`,`attending physician`,`chief resident`,`senior resident`,`chief petty officer`,`founding engineer`,`founding designer`],sr=[`research fellow`,`teaching fellow`,`postdoctoral fellow`,`postdoc`,`research assistant`,`teaching assistant`,`medical assistant`,`dental assistant`,`resident physician`,`medical resident`],cr=[`ceo`,`cto`,`cfo`,`coo`,`cmo`,`cio`,`ciso`,`cpo`,`cdo`,`cro`,`chro`,`cco`,`clo`,`cao`,`cxo`],lr=`founder.co founder.cofounder.proprietor.chairman.chairwoman.chairperson.managing partner.general partner.equity partner.founding partner.managing director.managing member.general counsel.executive director.managing broker.principal broker.designated broker.superintendent.chancellor.headmaster.headmistress.head teacher.head of school.school principal.executive chef.franchisee.sheriff.warden`.split(`.`),ur=[`vp`,`svp`,`evp`,`vice president`,`director`,`head of`,`dean`,`provost`,`principal investigator`,`medical director`,`director of nursing`,`general manager`,`district manager`,`regional manager`,`area manager`,`plant manager`,`head chef`,`chef de cuisine`,`vice principal`,`assistant principal`,`colonel`,`commander`,`captain`],dr=[`junior`,`jr`,`jnr`,`intern`,`internship`,`trainee`,`apprentice`,`graduate`,`grad`,`entry`,`entry level`,`student`,`working student`,`cadet`,`recruit`,`probationary`,`extern`],fr=[`senior`,`sr`,`snr`,`staff`,`principal`,`lead`,`distinguished`,`fellow`,`architect`,`professor`,`attending`,`journeyman`,`master electrician`,`master plumber`,`master carpenter`,`master mechanic`,`master stylist`,`master barber`],pr=[`manager`,`mgr`],mr=[`supervisor`,`foreman`,`forewoman`,`foreperson`,`sergeant`,`team leader`],hr=`account.accounts.key account.project.projects.special projects.special project.initiative.initiatives.strategic initiatives.program.programs.product.products.portfolio.portfolios.people.talent.talent acquisition.recruiting.recruitment.community.brand.brands.social media.social.partnership.partnerships.alliance.alliances.vendor.vendors.supplier.suppliers.office.category.categories.channel.channels.content.campaign.campaigns.relationship.relationships.territory.territories.customer success.success.implementation.onboarding.delivery.deployment.release.engagement.growth.seo.sem.ppc.performance.demand generation.demand gen.digital.email.events.event.webinar.procurement.sourcing.logistics.supply chain.inventory.facilities.fleet.risk.compliance.contract.contracts.knowledge.localization.product marketing.media.paid.business development.go to market.gtm.data.analytics.insights.research`.split(`.`),gr=`engineer.developer.programmer.sysadmin.administrator.technician.technologist.designer.researcher.analyst.scientist.statistician.consultant.specialist.coordinator.representative.strategist.marketer.copywriter.accountant.bookkeeper.auditor.recruiter.sourcer.paralegal.attorney.lawyer.solicitor.counsel.underwriter.actuary.adjuster.agent.broker.realtor.appraiser.planner.buyer.trader.advisor.adviser.writer.editor.journalist.sdr.bdr.csm.tam.nurse.physician.surgeon.pharmacist.dentist.therapist.dietitian.paramedic.veterinarian.optometrist.psychologist.psychiatrist.hygienist.teacher.educator.instructor.lecturer.tutor.officer`.split(`.`),_r=[`electrician`,`plumber`,`carpenter`,`welder`,`machinist`,`mechanic`,`millwright`,`pipefitter`,`mason`,`roofer`,`operator`,`laborer`,`labourer`,`driver`,`warehouse`,`stylist`,`barber`,`cook`,`server`,`bartender`,`barista`,`cashier`,`clerk`],vr=[`associate`,`assistant`,`aide`,`helper`,`resident`,`commis`];function yr(e){let t=t=>e.includes(` ${t} `),n=e=>e.some(t);if(n(ar))return`ic`;if(n(or))return`senior_ic`;if(n(sr))return`junior`;if(n(cr)||t(`chief`)||n(lr)||t(`owner`)||t(`president`)&&!t(`vice president`)||t(`partner`))return`c_suite`;if(n(ur))return`leadership`;if(n(dr))return`junior`;let r=n(fr);return n(mr)?`manager`:n(pr)?n(hr)?r?`senior_ic`:`ic`:`manager`:n(_r)?`frontline`:r?`senior_ic`:n(gr)?`ic`:n(vr)?`junior`:`unknown`}function br(e){return e?yr(` ${e.toLowerCase().replace(/[^a-z ]+/g,` `).replace(/\s+/g,` `).trim()} `):`unknown`}function xr(e){let t=ir[br(e)];return typeof t==`string`?t:Qn(` ${e.toLowerCase().replace(/[^a-z ]+/g,` `).replace(/\s+/g,` `).trim()} `,t)}const Sr=r.object({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`),highest_current_seniority_level:r.enum(nr).nullable().describe(`The highest seniority bucket across the person's current roles. Uses the same taxonomy as the job-title seniority emoji (see getSeniorityEmojiFromTitle). Null if not available.`),social_handles_linkedin:r.array(r.string()).nullable(),social_handles_github:r.array(r.string()).nullable(),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`)).nullable().describe(`A list of skills listed on the profile, with optional proficiency levels.`),connections_count:r.number().int().nullable().describe(`The number of connections the profile has. Null if not available or visible.`),current_location_city:r.string().nullable().describe(`The city of the profile owner's primary location.`),current_location_state:r.string().nullable().describe(`The state/region of the profile owner's primary location.`),current_location_country:r.string().nullable().describe(`The country of the profile owner's primary location.`),about:r.string().nullable().describe(`The 'About' section content from the profile. Null if empty.`),employment_history:r.array(r.object({job_title:r.string().nullable().describe(`The title of the job.`),is_current_employer:r.boolean().nullable().describe(`Does this person currently work at this company`),is_primary_current_employer:r.boolean().nullable().describe(`Is this the person's primary current employer`),seniority_level:r.enum(nr).nullable().describe(`The seniority bucket inferred from the job title. Uses the same taxonomy as the job-title seniority emoji (see getSeniorityEmojiFromTitle). Null if not available.`),company_name:r.string().nullable().describe(`The name of the company.`),contract_type:r.string().nullable().describe(`The employment type (e.g., 'Full-time', 'Contract', 'Internship'). Null if not available.`),company_domain:r.string().nullable().describe(`The domain of the company.`),company_website_url:r.url().nullable().describe(`The website URL of the company.`),company_profile_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_bracket:r.string().nullable().describe(`The company headcount bracket (e.g., '1001-5000', '11-50', '10001+'). Forwarded verbatim from the provider, so brackets are not yet normalized to a standard set. Null if not available.`),company_industries:r.array(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.`),company_hq_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.`),education_history:r.array(r.object({degree_name:r.string().nullable().describe(`The name of the degree (e.g., 'Bachelor of Science', 'MBA').`),is_current_education:r.boolean().nullable().describe(`Is this person currently enrolled in this institution`),is_primary_current_education:r.boolean().nullable().describe(`Is this the person's primary current education`),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 institution in years. Null if not available.`),tenure_in_days:r.number().nullable().describe(`Duration at institution 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.`)}),Cr={profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:Yn(),highest_current_seniority_level:`senior_ic`,social_handles_linkedin:[`https://www.linkedin.com/in/janedoe/`],social_handles_github:[`https://github.com/janedoe`],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`}],connections_count:850,current_location_city:`Berlin`,current_location_state:`Berlin`,current_location_country:`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.`,employment_history:[{job_title:`Senior Software Engineer`,is_current_employer:!0,is_primary_current_employer:!0,seniority_level:`senior_ic`,company_name:`Tech Solutions`,contract_type:`Full-time`,company_domain:`techsolutions.com`,company_website_url:`https://www.techsolutions.com`,company_profile_url:`https://www.linkedin.com/company/tech-solutions`,job_description:`Developing and maintaining scalable web applications using React, Node.js, and AWS.`,start_date:`2023-01-15`,end_date:null,headcount_bracket:`1001-5000`,company_industries:[`Information Technology & Services`],tenure_in_days:870,tenure_in_years:2.38,company_hq_region:`Berlin, Berlin, Germany`,country:`DE`},{job_title:`Software Developer`,is_current_employer:!1,is_primary_current_employer:!1,seniority_level:`ic`,company_name:`Innovate Corp`,contract_type:`Full-time`,company_domain:`innovatecorp.com`,company_website_url:`https://www.innovatecorp.com`,company_profile_url:`https://www.linkedin.com/company/innovate-corp`,job_description:`Contributed to the development of enterprise-level applications and collaborated with cross-functional teams.`,start_date:`2019-06-01`,end_date:`2022-12-31`,headcount_bracket:`501-1000`,company_industries:[`Software Development`],tenure_in_days:1300,tenure_in_years:3.56,company_hq_region:`Munich, Bavaria, Germany`,country:`DE`}],education_history:[{degree_name:`Master of Science`,field_of_study:`Computer Science`,is_current_education:!1,is_primary_current_education:!1,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`,is_current_education:!1,is_primary_current_education:!1,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`}]},wr=r.object({share_urn:r.string().nullable().describe(``),share_url:r.string().nullable().describe(``),text:r.string(),actor:r.string().describe(`A person or a company`),posted_at_date:r.iso.date(),has_video:r.boolean().nullable(),number_of_shares:r.int().nullable(),number_of_comments:r.int().nullable(),number_of_reactions:r.int().nullable(),number_of_reactions_like:r.int().nullable(),number_of_reactions_praise:r.int().nullable(),number_of_reactions_curious:r.int().nullable(),number_of_reactions_empathy:r.int().nullable(),number_of_reactions_appreciation:r.int().nullable(),number_of_reactions_entertainment:r.int().nullable(),author_profile_person:r.object({person_name:r.string().nullable(),person_profile_url:r.url().nullable(),person_title:r.string().nullable(),person_location:r.string().nullable(),current_employers:r.array(r.object({company_name:r.string().nullable(),job_title:r.string().nullable(),company_linkedin_id:r.string().nullable(),company_domain:r.url().nullable(),company_profile_url:r.url().nullable()})).nullable()}).nullable(),author_profile_company:r.object({company_name:r.string().nullable(),company_profile_url:r.url().nullable()}).nullable()}),Tr={share_urn:`urn:li:ugcPost:7475096396619194368`,share_url:`https://www.linkedin.com/posts/miroslav-milovanovi%C4%87-b3139110a_your-llm-isnt-failing-because-of-a-bad-prompt-activity-7475096397168578560-JJoN`,text:`Your LLM isn't failing because of a bad prompt: it's failing because you're flying blind in production.`,actor:`person`,posted_at_date:`2026-06-23`,has_video:!1,number_of_shares:0,number_of_comments:0,number_of_reactions:7,number_of_reactions_like:7,number_of_reactions_praise:null,number_of_reactions_curious:null,number_of_reactions_empathy:null,number_of_reactions_appreciation:null,number_of_reactions_entertainment:null,author_profile_person:{person_name:`Miroslav Milovanoviฤ`,person_profile_url:`https://www.linkedin.com/in/miroslav-milovanovi%C4%87-b3139110a`,person_title:`AI Engineer`,person_location:`Belgrade, Serbia`,current_employers:[{company_name:`PubNub`,job_title:`AI Engineer`,company_linkedin_id:`2224710`,company_domain:null,company_profile_url:null}]},author_profile_company:null},Er=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.`)}),Dr={object:`linkedin_profile`,profile_url:`https://www.linkedin.com/in/janedoe/`,profile_picture_url:Yn(),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`}]},Or=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()}),kr={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`},Ar=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()})),jr=[{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.`}}],Mr=r.array(r.record(r.string(),r.unknown())),Nr=[{id:`0197a2f0-5c1e-7d38-9a44-3f9b2f6c8e01`,email:`jane@acme.com`,name:`Jane Doe`,company:`Acme Inc`}],Pr=r.array(r.object({url:r.url(),title:r.string().nullable(),description:r.string().nullable()})),Fr=[{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.`}],Ir=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`)]),Lr=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(``)]),Rr=r.object({address:r.email(),status:Ir,sub_status:Lr,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()}),zr={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`},Br=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()}),Vr={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`},Hr={"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 Ur(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 Wr(e){return e.toLowerCase().trim().replace(/[^\w\s]/g,` `).replace(/\s+/g,` `).trim()}function Gr(e){let t=Wr(e);if(Hr[t])return t;let n=null,r=1/0,i=Math.min(3,Math.floor(t.length*.3));for(let e of Object.keys(Hr)){let a=Ur(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 Kr(e){try{let t=e.split(`,`).map(e=>e.trim());return t.length===0?null:t[t.length-1]||null}catch{return null}}function qr(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=Kr(e);return t?Jr(t):null}catch{return null}}function Jr(e){try{if(!e||typeof e!=`string`||e.trim()===``)return null;let t=Gr(e);return t&&Hr[t]||null}catch{return null}}function Yr(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 Xr={is_claim_successful:{label:`Claimed`,type:`boolean`,description:`Whether this row won the bucket claim (true โ proceed) or the key was already taken (resolves no_result).`,jsonMeta:null,format:null},bucket_counter:{label:`Bucket counter`,type:`number`,description:`The number a counter bucket assigned to this row's key (stable across re-runs of the same key).`,jsonMeta:null,format:null},found_in_bucket:{label:`Found in bucket`,type:`boolean`,description:`Whether the row's key is present (and live) in the checked bucket.`,jsonMeta:null,format:null},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:Pr,exampleValue:Fr}},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:Ar,exampleValue:jr},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:Vt,exampleValue:Ht},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:Tn,exampleValue:En},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:On,zodSchema:Dn}},leadmagic_company_news_list:{label:`Company news list`,type:`json`,description:`A list of company news`,format:`json_list`,jsonMeta:{exampleValue:An,zodSchema:kn}},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:yn,exampleValue:bn}},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:Lt,exampleValue:Rt},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:zt,exampleValue:Bt}},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:Vt,exampleValue:Ht}},clado_person_match_v2:{label:`Clado person match`,description:`Object returned from a Clado people search.`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:en,exampleValue:tn}},icypeas_person_match:{label:`Icypeas person match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:Cn,exampleValue:wn}},icypeas_company_match:{label:`Icypeas company match`,description:`Object returned from a Icypeas people search`,format:`json_object`,type:`json`,jsonMeta:{zodSchema:xn,exampleValue:Sn}},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:Er,exampleValue:Dr}},profile_url:{label:`LinkedIn profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null},developer_profile_url:{label:`Developer profile URL`,type:`string`,format:`profile_url`,description:`A person's primary developer profile URL (e.g. GitHub).`,jsonMeta:null},alternative_developer_profile_urls:{label:`Alternative developer profile URLs`,type:`json`,format:`json_list_string`,description:`Additional developer profile URLs (GitHub, GitLab, etc.) discovered for the person.`,jsonMeta:{zodSchema:r.array(r.string()),exampleValue:[`https://github.com/mxschmitt`]}},profile_posts:{label:`Recrent linkedIn posts`,type:`json`,description:`List of recent LinkedIn posts in JSON format.`,format:`json_list`,jsonMeta:{zodSchema:r.array(Br),exampleValue:Vr}},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},lemlist_lead_id:{label:`lemlist lead id`,type:`string`,format:`text`,description:`Id of the lead created in a lemlist campaign.`,jsonMeta:null},lemlist_enrollment_result:{label:`lemlist enrollment`,type:`json`,format:`json_object`,description:`Leaner snake_case object describing a lead's enrollment into a lemlist campaign.`,jsonMeta:{zodSchema:jn,exampleValue:Mn}},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},luma_id:{label:`Luma ID`,type:`string`,format:`text`,description:`Unique identifier of the guest's event registration in Luma.`,jsonMeta:null},registered_at:{label:`Registered at`,type:`string`,format:`text`,description:`ISO timestamp of when the guest registered for the event.`,jsonMeta:null},luma_event_guest_match:{label:`Event guest match`,type:`json`,format:`json_object`,description:`Full event guest object returned by Luma.`,jsonMeta:{zodSchema:zn,exampleValue:Bn}},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},sheet_rows_found_count:{label:`Rows found`,type:`number`,format:`int`,jsonMeta:null,description:`Total number of matching rows in the target sheet (not capped by the row limit)`},sheet_found_rows:{label:`Matching rows`,type:`json`,format:`json_list`,jsonMeta:{zodSchema:Mr,exampleValue:Nr},description:`The matching rows of the target sheet โ each row is its record id plus one entry per column`},sheet_found_row_ids:{label:`Matching row IDs`,type:`json`,format:`json_list_string`,jsonMeta:null,description:`Stable record IDs of the matching rows in the target sheet`},db_rows_found_count:{label:`Rows found`,type:`number`,format:`int`,jsonMeta:null,description:`Total number of rows matched by the query (not capped by the row limit)`},db_found_rows:{label:`Matching rows`,type:`json`,format:`json_list`,jsonMeta:{zodSchema:hn,exampleValue:gn},description:`The rows returned by the query, keyed by the result set's column names`},gmail_email_success:{label:`Gmail e-mail success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of email sending action using Gmail`},slack_message_success:{label:`Slack message success`,type:`boolean`,format:null,jsonMeta:null,description:`Result of sending a message using Slack`},email_body:{label:`A markdown email`,type:`string`,format:`markdown`,jsonMeta:null,description:`The test of an email formatted as markdown`},message:{label:`Message`,type:`string`,format:`markdown`,jsonMeta:null,description:`A markdown message that be send to any chat app.`},email_subject:{label:`Subject Line`,type:`string`,format:`text`,jsonMeta:null,description:`Subject line for email`},template_output:{label:`Template Output`,type:`string`,format:`text`,jsonMeta:null,description:`Template value where the tags are replaces with real values`},email_validation_status:{label:`Validation status`,type:`string`,format:`text`,jsonMeta:null,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`},million_validation_match:{label:`Million Verifier match`,type:`json`,format:`json_object`,description:`Email validation status. Allowed values are: 'valid', 'invalid', 'catch_all', 'unknown'`,jsonMeta:{zodSchema:Vn,exampleValue:Hn}},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:Rr,exampleValue:zr}},input_objects:{label:`Input objects`,type:`json`,format:`json_list`,description:`List of unstructured input objects`,jsonMeta:null},created_sheet:{label:`Created sheet`,type:`string`,format:null,description:`Reference to a created sheet`,jsonMeta:null},merge_result:{label:`Merge Result`,type:`unknown`,format:null,description:`Full validation object as returned by ZeroBounce`,jsonMeta:null},firecrawl_extract_result:{label:`Extract Result`,type:`json`,format:null,description:`Result of a firecrawl extract operation`,jsonMeta:null},parallel_extract_result:{label:`Extract Result`,type:`json`,format:`json_list`,description:`Flat list of Parallel Extract results (url, title, publish_date, excerpts).`,jsonMeta:{zodSchema:Gn,exampleValue:Kn}},exa_match_evaluation:{label:`Exa Match Evaluation`,type:`json`,format:`json_object`,description:`Exa search result.`,jsonMeta:{zodSchema:_n,exampleValue:vn}},companyenrich_match:{label:`Company match`,type:`json`,format:`json_object`,description:`CompanyEnrich response object`,jsonMeta:{zodSchema:nn,exampleValue:rn}},crustdata_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Crustdata company match object`,jsonMeta:{zodSchema:dn,exampleValue:fn}},person_profile_match:{label:`Person profile`,type:`json`,format:`json_object`,description:`Crustdata person basic profile data`,jsonMeta:{zodSchema:Sr,exampleValue:Cr}},post_match:{label:`LinkedIn post`,type:`json`,format:`json_object`,description:`A detailed representation of a LinkedIn post`,jsonMeta:{zodSchema:wr,exampleValue:Tr}},parallel_person_entity_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Parallel person match object parsed from the entity description`,jsonMeta:{zodSchema:qn,exampleValue:Jn}},parallel_company_entity_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Parallel company match object parsed from the entity description`,jsonMeta:{zodSchema:Un,exampleValue:Wn}},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:sn,exampleValue:cn}},crustdata_companyenrich_match:{label:`Company enrichment match`,type:`json`,format:`json_object`,description:`Crustdata company enrichment match.`,jsonMeta:{zodSchema:ln,exampleValue:un}},crustdata_company_identity_matches:{label:`Company identity matches`,type:`json`,format:`json_list`,description:`List of Crustdata company candidates matched by name or domain.`,jsonMeta:{zodSchema:an,exampleValue:on}},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:Gt,exampleValue:Kt}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:sr,exampleValue:cr}},post_text:{label:`Post text`,description:`Raw text content of a social media post`,format:`text`,type:`string`,jsonMeta:null},post_id:{label:`Post ID`,description:`Stable identifier of the post (its LinkedIn share URN)`,format:`text`,type:`string`,jsonMeta:null},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:mt,exampleValue:ht}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:ft,exampleValue:pt}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array(Ft),exampleValue:[It]}},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:hn,zodSchema:mn}},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:ar,exampleValue:or},format:`json_object`},professional_profile_url:{label:`LinkedIn Profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null}},Ar={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`}}:{}}},person_profile_match:{},company_region:{getStaticWidgets:e=>{let t={},n=Er(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:{getStaticWidgets(e){return typeof e==`string`?{entity_logo:{entity:e,image_url:at(e)}}:{}}},company_name:{},first_name:{},addressee_name:{},address_line_1:{},address_line_2:{},job_title:{getStaticWidgets(e){return typeof e==`string`?{emoji:{value:er(e)}}:{}}},job_description:{},profile_headline:{},address_city:{},address_country:{},address_state:{},zip_code:{},last_name:{},is_work_email:{},name:{getStaticWidgets(e){return typeof e==`string`?{avatar:{image_url:``,name:e}}:{}}},ip_address:{},skills:{},avatar_url:{},string_input:{},domain:{},url_input:{},slugified:{},http_response_status:{},http_response_body:{},http_response_headers:{},luma_id:{},registered_at:{},luma_event_guest_match:{getStaticWidgets(){return{display_value:{label:`Guest`}}}},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=Or(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=Or(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=Or(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},developer_profile_url:{},alternative_developer_profile_urls:{},profile_posts:{getStaticWidgets(){return{display_value:{label:`LinkedIn posts`}}}},profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.name||`Person`} LinkedIn profile`}}:{}}},clado_person_profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} match`}}:{}}},email_subject:{},message:{},slack_message_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},resend_email_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},email_body:{},mobile:{},landline:{},phone:{},funding_history:{},funding_total_usd:{},leadmagic_competitor_list:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_acquisition_history:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_company_news_list:{getStaticWidgets(e){return e?{display_value:{label:`${e.length} news sources`}}:{}}},merge_result:{},website_markdown:{getStaticWidgets(e){return e?{display_value:{label:`๐ Markdown result`}}:{}}},urls:{},website_html:{},website_url:{},website_links:{},mapped_links:{},firecrawl_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},parallel_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},exa_match_evaluation:{getStaticWidgets(){return{display_value:{label:`Exa match`}}}},email_validation_status:{},million_validation_match:{getStaticWidgets(){return{display_value:{label:`Validation result`}}}},post_list_string:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:it.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:it.linkedin}}}},crustdata_company_match:{},crustdata_company_identity_matches:{},crustdata_person_match:{},parallel_person_entity_match:{},parallel_company_entity_match:{},resend_contact_id:{},lemlist_lead_id:{},lemlist_enrollment_result:{getStaticWidgets(e){return e?{display_value:{label:`Enrolled`}}:{}}},sheet_record_id:{},sheet_record_ids:{},sheet_rows_found_count:{},sheet_found_rows:{getStaticWidgets(e){if(!e)return{};let t=e;return{display_value:{label:`${t.length} row${t.length===1?``:`s`}`}}}},sheet_found_row_ids:{},db_rows_found_count:{},db_found_rows:{getStaticWidgets(e){if(!e)return{};let t=e;return{display_value:{label:`${t.length} row${t.length===1?``:`s`}`}}}},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`}}}},post_match:{},post_text:{},post_id:{},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 g(e){return{...kr[e],name:e}}function jr(e,t){if(Nr(e,t))return Ar[e]}function Mr(e){return e in kr}function Nr(e,t){return e in kr?kr[e].format===t:!1}function Pr(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 Fr=r.enum(`company_description.cleaned_company_name.company_industry.company_region.location_hint.estimated_revenue.founded_year.technology_list.spending_trend.technology_match_builtwith.number_of_social_followers.email.personal_email.alternate_personal_emails.company_news_summary.work_email.headcount.company_website_url.company_domain.company_name.first_name.addressee_name.address_line_1.address_line_2.job_title.job_description.profile_headline.address_city.address_country.address_state.zip_code.last_name.is_work_email.companyenrich_match.companyenrich_matches.name.ip_address.skills.avatar_url.estimated_salary.is_email_valid.profile_url.developer_profile_url.alternative_developer_profile_urls.company_profile_url.profile_posts.clado_person_match.clado_person_match_v2.icypeas_person_match.icypeas_company_match.clado_person_profile.resend_email_success.email_body.email_subject.profile.mobile.landline.phone.message.slack_message_success.funding_history.funding_total_usd.template_output.gmail_email_success.zerobounce_validation_status.zerobounce_validation_match.leadmagic_competitor_list.leadmagic_acquisition_history.leadmagic_company_news_list.merge_result.mapped_links.website_markdown.website_html.website_url.urls.website_links.firecrawl_extract_result.parallel_extract_result.exa_match_evaluation.email_validation_status.million_validation_match.scrape_list_response.resend_contact_id.sheet_record_id.sheet_record_ids.sheet_rows_found_count.sheet_found_rows.sheet_found_row_ids.db_rows_found_count.db_found_rows.input_objects.role_finder_match.logodev_describe_match.logo_url.crustdata_company_match.crustdata_companyenrich_match.crustdata_company_identity_matches.crustdata_person_match.person_profile_match.parallel_person_entity_match.parallel_company_entity_match.post_list_string.crustdata_post_list.crustdata_profile_match_score.amplemarket_person_match.amplemarket_company_match.created_sheet.sheet.string_input.domain.url_input.slugified.http_response_status.http_response_body.http_response_headers.luma_id.registered_at.luma_event_guest_match.post_match.post_text.post_id.lemlist_lead_id.lemlist_enrollment_result.professional_profile_url.professional_profile.company_social_url.mobile_number`.split(`.`)),Ir=r.enum(`pipe0.findymail.crustdata.hunter.zerobounce.millionverifier.googlemaps.gemini.anthropic.leadmagic.mixrank.builtwith.perplexity.serper.icypeas.prospeo.clado.resend.slack.gmail.firecrawl.exa.openai.companyenrich.logodev.amplemarket.parallel.luma.postgres.databricks.lemlist`.split(`.`)),Lr=r.enum([`production`,`sandbox`]),Rr=`prompt:run@1.agent: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.lead:enroll:lemlist@1.people:match:role:waterfall@1.person:match:role:waterfall@1.person:identity:amplemarket@1.company:identity@2.company:identity@3.company:identity:crustdata@1.person:match:amplemarket@1.people:phone:profile:waterfall@1.person:mobile:profileurl:waterfall@1.people:personalemail:profile:waterfall@1.person:personalemail:profileurl:waterfall@1.people:profile:waterfall@1.person:profile:waterfall@1.people:profileurl:email:waterfall@1.person:profileurl:email:waterfall@1.person:profileurl:name@1.people:email:validate:zerobounce@1.person:email:validate:millionverifier@1.people:phone:workemail:waterfall@1.person:mobile:workemail:waterfall@1.fields:merge@1.field:slugify@1.field:domainify@1.website:scrape:firecrawl@1.website:scrapelist:firecrawl@1.website:extract:firecrawl@1.website:extract:parallel@1.website:maplinks:firecrawl@1.row:append:sheet@1.row:expandappend:sheet@1.rows:find:sheet@1.rows:find:postgres@1.rows:find:databricks@1.company:lookalikes:companyenrich@1.company:lookalikes:companyenrich@2.company:match:logodev@1.company:match:logodev@2.person:posts:content:crustdata@1.company:match:crustdata@1.company:match:crustdata@2.people:profile:workemail:crustdata@1.person:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.person:workemail:profileurl:waterfall@1.people:identity:email:waterfall@1.person:identity:email:waterfall@1.person:devprofileurl:profileurl:waterfall@1.http:request@1.company:identity@1.people:professionalprofile:waterfall@1.people:professionalprofileurl:name@1.people:professionalprofileurl:email:waterfall@1.people:mobilenumber:professionalprofile:waterfall@1`.split(`.`),zr=r.enum(Rr),Br=[`string`,`number`,`boolean`,`json`,`unknown`],Vr=r.enum(Br),Hr=r.union([r.number(),r.string()]),Ur=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),Wr=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),Gr=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),Kr=r.object({type:r.literal(`static`).optional()}),qr=Kr.extend({image_url:r.url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),Jr=Kr.extend({emoji:r.string().describe(`Country flag emoji.`)}),Yr=Kr.extend({image_url:r.url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),Xr=Kr.extend({attempted_providers:r.array(r.object({provider:Ir})),available_providers:r.array(Ir),successful_provider:Ir.optional()}),Zr=r.enum([`linkedin`,`job`]),Qr=Kr.extend({key:Zr}).optional(),$r=Kr.extend({result_status:r.enum([`completed`,`failed`])}).optional(),ei=Kr.extend({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),ti=Kr.extend({numeric:r.int().min(1).max(5)}).optional(),ni=Kr.extend({value:r.string().min(1)}).optional(),ri=r.object({display_value:Kr.extend({label:r.string().optional()}),entity_logo:qr.optional(),location_indicator:Jr.optional(),avatar:Yr.optional(),waterfall:Xr.optional(),icon:Qr,action_summary:$r,sources:ei,confidence:ti,emoji:ni}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),ii=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),ai=r.object({code:r.string(),summary:r.string(),message:r.string()}),oi=[`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`],si=r.enum(oi);si.nullable();const ci=r.object({type:Vr,label:r.string().nullable().optional(),format:si.nullable().optional(),json_metadata:Gr.nullable().optional()}),li=r.record(r.string(),ci),ui=r.enum([...Rr,`input`]).nullable(),di=r.enum([...Rr,`input`,`system`]).nullable(),fi=r.object({ref:ui,config_hash:r.string().nullable()}),pi=r.object({ref:di,environment:Lr.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),mi=r.object({value:Wr,status:Ur,type:Vr,reason:ai.nullable(),claimed_by:fi,resolved_by:pi.nullable(),widgets:ri.optional(),format:si.nullable()}),hi=r.object({value:Wr,status:Ur,reason:ai.nullable().optional(),type:Vr.optional(),format:si.nullable().optional(),claimed_by:fi.optional(),resolved_by:pi.nullable().optional(),widgets:ri.optional()}),gi=r.record(r.string(),r.union([Wr,hi])).openapi(`PipesInput`),_i=r.object({id:Hr,fields:r.record(Hr,mi)}),vi=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),yi=r.object({type:Vr,label:r.string(),added_by:r.object({ref:r.union([zr,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:si.nullable(),is_primary_output:r.boolean()}),bi=r.record(r.string(),yi),xi=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:si.nullable().default(null),label:r.string().optional(),type:Vr})})).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)})})}),Si=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`,`matches`]),Ci={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`,matches:`matches regex`},wi=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`,`matches`],Ti=[`eq`,`neq`],Ei=r.object({type:r.literal(`vault`),connection:r.string().refine(e=>{let t=e.split(`_`)[0];return t!=null&&Ir.safeParse(t).success},{message:`Invalid vault connection string: expected the full provider-prefixed value (e.g. "slack_my-workspace") where the segment before the first "_" is a known provider name. Copy the string exactly as the vault lists it โ never strip the prefix.`})}),Di=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(Ei)}).nullable().optional(),Oi=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(Ei).min(1,{message:`Provide your own credentials to use this object.`})},{error:`Provide your own credentials to use this object.`}),ki=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(),Ai=r.enum(wi),ji=r.enum(Ti),Mi=r.enum([`failed`,`no_result`,`completed`,`skipped`]),Ni=r.object({property:r.literal(`value`).describe(`Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, matches.`),field_name:r.string().min(1,{message:`Provide a target field for the condition.`}).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:Ai.describe(`Comparison operator: "eq", "neq", "gt", "gte", "lt", "lte", "contains", "matches" (regex).`),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.`})})}),Pi=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:ji.describe(`Status comparison operator: "eq" or "neq".`),value:Mi.describe(`Field status to compare against: "completed", "no_result", "failed", or "skipped".`)}),Fi=r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(r.discriminatedUnion(`property`,[Ni,Pi])).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).`),Ii=r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(Ni).min(1).describe(`Array of value conditions to evaluate.`)}).describe(`Condition block. All conditions are combined with the chosen logic (and/or).`),Li=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:Fi}).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" }] } }`),Ri={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/a612ed1c-d5cf-421a-23c5-3cf74f506100/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/95032a9f-932b-4898-ff0d-45d49390d100/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},anthropic:{name:`anthropic`,label:`Anthropic`,description:`Anthropic's Claude AI models`,url:`https://www.anthropic.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8f2b7ff3-12a6-4c55-31fd-460b9f461300/icon`,background:{light:`#F0EEE6`,dark:`#2B2A26`},oAuthConfig:null},slack:{name:`slack`,label:`Slack`,description:`A modern business chat application.`,url:`https://slack.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/676e823c-c926-4b0b-465c-121b9d1c3300/icon`,background:{light:`#F1E0FF`,dark:`#2A0E44`},oAuthConfig:{}},companyenrich:{name:`companyenrich`,label:`CompanyEnrich`,description:`A company enrichment service.`,url:`https://companyenrich.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/e80b3a16-7b36-4733-bcbe-46f471d33100/icon`,background:{light:`#DCEEFF`,dark:`#0E2C4A`},oAuthConfig:{}},mixrank:{name:`mixrank`,label:`MixRank`,description:`Ultra-high-frequency technographic and people data for your data teams.`,url:`https://mixrank.com/`,hasManagedConnections:!0,allowsUserConnections:!1,connectionType:`api_key`,oAuthConfig:{},public:!0,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/a29f3095-b3f9-4b12-d21b-1c506ccd7200/icon`,background:{light:`#FFE5D4`,dark:`#3A1D08`}},clado:{name:`clado`,label:`Clado`,description:`A data provider deploying 10^5 AI agents to find contact information.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,url:`https://clado.ai`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fdf3d2d0-70be-45c3-2fe5-a8c5cac55a00/icon`,background:{light:`#E8E8EC`,dark:`#1A1A1F`},oAuthConfig:null},gmail:{name:`gmail`,label:`Gmail`,description:`Google's email service`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token_bundle`,url:`https://mail.google.com`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8da8ab6b-7f7e-4c42-6abf-212ea537db00/icon`,background:{light:`#FFD8D8`,dark:`#45100F`},oAuthConfig:{}},resend:{name:`resend`,label:`Resend`,description:`An email platform built for developers.`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,url:`https://clado.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7c88f71b-8472-40f4-4bec-0e77eac30400/icon`,background:{light:`#EDEDEE`,dark:`#1A1A1C`},oAuthConfig:null},firecrawl:{name:`firecrawl`,label:`Firecrawl`,description:`Firecrawl is an API service that takes a URL, crawls it, and converts it into clean markdown. Firecrawl crawls all accessible subpages and gives you clean markdown for each. No sitemap required.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.firecrawl.dev`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5c318569-7bf4-4276-a3f2-1f25530f7f00/icon`,background:{light:`#FFE5CC`,dark:`#3A1A05`},oAuthConfig:null},exa:{name:`exa`,label:`Exa`,description:`Exa is a search engine built for AI.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://exa.ai/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8ae69780-4506-4952-a90e-02e70b06af00/icon`,background:{light:`#D8DCFF`,dark:`#14154A`},oAuthConfig:null},openai:{name:`openai`,label:`OpenAI`,description:`Foundational AI company based out of San Francisco.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://openai.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7ac79c3a-bccb-4ed4-d6e5-7b300b2fd300/icon`,background:{light:`#D8EFE4`,dark:`#0C2A1C`},oAuthConfig:null},millionverifier:{name:`millionverifier`,label:`MillionVerifier`,description:`E-Mail validation service.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.millionverifier.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7a8bd9cb-efeb-492e-3f4c-311c9492b800/icon`,background:{light:`#D8F0DB`,dark:`#0E3215`},oAuthConfig:null},logodev:{name:`logodev`,label:`Logo.dev`,description:`Every company logo, one simple API.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.logo.dev/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1defa51b-5c01-4034-1030-60f68aa46400/icon`,background:{light:`#F4ECD4`,dark:`#2C2406`},oAuthConfig:null},crustdata:{name:`crustdata`,label:`Crustdata`,description:`Real-time company & people data`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://crustdata.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fa05be24-d174-40f0-69c2-4fdb43c6be00/icon`,background:{light:`#FFE2D2`,dark:`#3C1A08`},oAuthConfig:null},amplemarket:{name:`amplemarket`,label:`Amplemarket`,description:`Sales data platform`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.amplemarket.com`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/adecf16b-4187-409b-d77f-16fc07fc6100/icon`,background:{light:`#FFD8E1`,dark:`#45102A`},oAuthConfig:null},parallel:{name:`parallel`,label:`Parallel`,description:`Agentic web search & research APIs purpose-built for AI agents.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://parallel.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/13d4ae54-9400-4577-8fbf-c96021fb0000/icon`,background:{light:`#E0E5FF`,dark:`#0F1A3D`},oAuthConfig:null},luma:{name:`luma`,label:`Luma`,description:`Delightful events, calendars, and ticketing for communities.`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,url:`https://lu.ma`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/ed6cf16b-e69e-4f90-7718-85e4600fff00/icon`,background:{light:`#FFF0E6`,dark:`#3A1F0F`},oAuthConfig:null},postgres:{name:`postgres`,label:`PostgreSQL`,description:`Connect your own PostgreSQL database and query it read-only.`,url:`https://www.postgresql.org`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`connection_string`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/eb8b2802-8280-45c3-ee08-a24aad6a0a00/icon`,background:{light:`#DCE9F5`,dark:`#0B2A45`},oAuthConfig:null},databricks:{name:`databricks`,label:`Databricks`,description:`Query your Databricks SQL warehouse read-only via a service principal.`,url:`https://www.databricks.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`databricks`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/07b73e49-e1fa-445b-865e-2b7dc2641700/icon`,background:{light:`#F5E6DC`,dark:`#3A1B0B`},oAuthConfig:null},lemlist:{name:`lemlist`,label:`lemlist`,description:`Sales engagement & cold outreach platform.`,url:`https://lemlist.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5d2b25c5-86a7-4eea-9416-fcca77cc7000/icon`,background:{light:`#E6F0FF`,dark:`#0E1F3D`},oAuthConfig:null}},zi=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],Bi=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],Vi=/^[A-Z][A-Z0-9_]*$/,Hi=/^[A-Z][A-Z0-9_]*$/,Ui=/^[a-zA-Z_][a-zA-Z0-9_]*$/,Wi=`SECRETS`,Gi=`CONSTANTS`,Ki=new Set(zi),qi=new Set(Bi),Ji=e=>`{${e}}`;var Yi=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Vi.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]}},Xi=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!Hi.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 Zi(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(!Ui.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 Qi(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=Zi(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(Ji(n.name))}});for(let t of Object.keys(e.tags))Ki.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))qi.has(t)||delete e.filters[t];return e}let $i=null;function ea(){return $i||=Qi(),$i}async function ta(e,t,n={}){let r=ea(),i=n.renderLimitMs??250,a={...t.inputs??{},[Wi]:new Yi(t.secrets??{}),[Gi]:new Xi(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 na(e,t,n={}){let r=ea(),i=n.renderLimitMs??250,a={...t.inputs??{},[Wi]:new Yi(t.secrets??{}),[Gi]:new Xi(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function ra(e){return ea().parse(e)}function ia(e){let t=ea().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};aa(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 aa(e,t){for(let n of e)oa(n,t)}function oa(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){da(n.value,t,!1);return}if(typeof n.name==`string`){sa(n,t);return}}function sa(e,t){switch(e.name){case`for`:ca(e,t);return;case`if`:case`unless`:la(e,t);return;case`output`:ua(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function ca(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&&fa(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),aa(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),aa(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function la(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=ha(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&da(i,t,!1),aa(r.templates,t),a&&t.guardStack.pop()}aa(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function ua(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=Zi(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 da(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)ga(n)&&ma(n,t,i);for(let n of e.filters)for(let e of n.args)pa(e,t)}function fa(e,t,n){ga(e)&&ma(e,t,n)}function pa(e,t){if(Array.isArray(e)){let n=e[1];n&&fa(n,t,!1)}else fa(e,t,!1)}function ma(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!_a(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!_a(e))throw Error(`Invalid SECRETS reference โ expected SECRETS.KEY (got ${ba(r)}).`);let n=e.content;if(!Vi.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||!_a(e))throw Error(`Invalid CONSTANTS reference โ expected CONSTANTS.KEY (got ${ba(r)}).`);let n=e.content;if(!Hi.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 ha(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&ga(t)&&t.props.length===1){let e=t.props[0];if(e&&_a(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&ga(t)&&t.props.length===1){let e=t.props[0];if(e&&_a(e)&&va(n)&&ya(r,[`==`,`!=`]))return e.content}}return null}function ga(e){return e.kind===o.PropertyAccess}function _a(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function va(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function ya(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function ba(e){let t=[];for(let n of e)n&&_a(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}function xa(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:Ir.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function Sa(e){return`${e.provider}_${e.id}`}const Ca=new s;function wa(e){return Ca.validateSchema(e)}function Ta(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}function Ea(e){try{return JSON.parse(e)}catch{}return JSON.parse(ja(e))}function Da(e){try{return Ea(e)}catch{return}}const Oa=/[A-Za-z_$]/,ka=/[\w$]/,Aa=/\s/;function ja(e){let t=``,n=0,r=e.length;for(;n<r;){let i=e[n];if(i===`"`||i===`'`){let a=i,o=``;for(n++;n<r&&e[n]!==a;){if(e[n]===`\\`){o+=`\\${e[n+1]??``}`,n+=2;continue}o+=e[n],n++}n++,t+=JSON.stringify(Ma(o));continue}if(Oa.test(i)){let i=n;for(;i<r&&ka.test(e[i]);)i++;let a=e.slice(n,i),o=i;for(;o<r&&Aa.test(e[o]);)o++;t+=e[o]===`:`?JSON.stringify(a):a,n=i;continue}if(i===`,`){let t=n+1;for(;t<r&&Aa.test(e[t]);)t++;if(e[t]===`}`||e[t]===`]`){n++;continue}}t+=i,n++}return t}function Ma(e){let t=``;for(let n=0;n<e.length;n++){if(e[n]!==`\\`){t+=e[n];continue}let r=e[++n];switch(r){case`n`:t+=`
|
|
68
|
-
`;break;case`t`:t+=` `;break;case`r`:t+=`\r`;break;case`b`:t+=`\b`;break;case`f`:t+=`\f`;break;case`v`:t+=`\v`;break;case`0`:t+=`\0`;break;case`u`:{let r=e.slice(n+1,n+5);/^[0-9a-fA-F]{4}$/.test(r)?(t+=String.fromCharCode(Number.parseInt(r,16)),n+=4):t+=`u`;break}default:t+=r??``;break}}return t}const Na=(e,t=`Add a ${e} connection to enable this field`)=>n=>(n.connector?.connections??[]).some(t=>t?.connection?.startsWith(`${e}_`))?{disabled:!1}:{disabled:!0,message:t},Pa=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},Fa=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},Ia=(...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},La=[`google-low`,`openai-high`,`anthropic-high`],Ra={"google-low":{label:`Gemini 3.5 Flash`,provider:`gemini`,rateLimitOperation:`gemini_35_flash`,rateLimitRatio:1,allowManagedConnection:!0,billingMode:`always`},"openai-high":{label:`GPT-5.5`,provider:`openai`,rateLimitOperation:`openai_gpt-5`,rateLimitRatio:1,allowManagedConnection:!0,billingMode:`always`},"anthropic-high":{label:`Claude Opus 4.8`,provider:`anthropic`,rateLimitOperation:`anthropic_opus`,rateLimitRatio:1,allowManagedConnection:!0,billingMode:`always`}},za=.03,Ba=.3,Va=100,Ha=100,Ua={"google-low":{inputPer1M:1.5,outputPer1M:9},"openai-high":{inputPer1M:5,outputPer1M:30},"anthropic-high":{inputPer1M:5,outputPer1M:25}};function Wa(e){let t=Ra[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function Ga(e){let t=Ra[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function Ka(){let e=new Set;for(let t of La)e.add(Ra[t].provider);return[...e]}function qa(e){return Object.keys(e).some(e=>La.some(t=>e.endsWith(`-in-${t}`)||e.endsWith(`-out-${t}`)))}function Ja(e,t){return e/1e6*(1+Ba)/za*t}function Ya(e){let t=Ua[e];if(!t)throw Error(`Unknown AI model: ${e}`);return{in:Ja(t.inputPer1M,100),out:Ja(t.outputPer1M,100)}}function Xa(e,t){let n=Math.round(Ba*100);return`Billed per 100 ${e} tokens at ${Number(t.toPrecision(4))} credits/block (managed keys include a ${n}% margin over provider cost).`}function Za(e){let t={};for(let n of La){let r=Ra[n],i=Ya(n);t[`${e}-in-${n}`]={credits:{default:i.in},allowManagedConnection:!0,provider:r.provider,mode:r.billingMode,note:Xa(`input`,i.in)},t[`${e}-out-${n}`]={credits:{default:i.out},allowManagedConnection:!0,provider:r.provider,mode:r.billingMode,note:Xa(`output`,i.out)}}return t}function Qa(e,t){return{input:`${t}-in-${e}`,output:`${t}-out-${e}`}}function $a(e,t){let n=Qa(t.model,t.prefix);return[{billableOperation:n.input,quantity:e.count*Math.ceil(t.inputTokens/100)},{billableOperation:n.output,quantity:e.count*Math.ceil(t.outputTokens/100)}]}var eo=class{carriedInput=0;carriedOutput=0;addUsage(e){this.carriedInput+=Math.max(0,e.inputTokens),this.carriedOutput+=Math.max(0,e.outputTokens)}drainBlocks(){let e=Math.floor(this.carriedInput/100),t=Math.floor(this.carriedOutput/100);return this.carriedInput-=e*100,this.carriedOutput-=t*100,{inBlocks:e,outBlocks:t}}flush(){let e=+(this.carriedInput>0),t=+(this.carriedOutput>0);return this.carriedInput=0,this.carriedOutput=0,{inBlocks:e,outBlocks:t}}};function to(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(Na(e.requires.connection));for(let n of e.requires.fields??[])t.push(Pa(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]:Fa(...t)}function no(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=Pr(e,n,t),s=Mr(o.fieldName)?g(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();{let e=v._map,t=v.get.bind(v);v.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 y=r.registry();{let e=y._map,t=y.get.bind(y);y.get=n=>{let r=n;for(;r;){let t=e.get(r);if(typeof t==`function`)return t;r=r?._zod?.parent}return t(n)}}const ro=e=>e,b={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(),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(),number_input:r.coerce.number(),min_max_int_input:r.object({min:r.number().nullable().default(null),max:r.number().nullable().default(null)}),include_exclude_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),async_include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),exact_range_input:r.record(r.string(),r.number().nullable()),range_input:r.object({from:r.number().nullable(),to:r.number().nullable()}),date_range_input:r.record(r.string(),r.string()),multi_create_input:r.array(r.string()),ordered_multi_create_input:r.array(r.string()),tagged_ordered_multi_create_input:r.array(r.string()),loose_object_input:r.record(r.string(),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(),condition_block_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())]),search_payload_input:r.looseObject({search_id:r.string()})},io=(e,t,n)=>{let r=[t.description||n,t.guide].filter(Boolean).join(` `);return r?e.describe(r):e},ao=(e,t)=>{let n=b.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},oo=(e,t)=>{let n=b.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},so=/^\s*\{\{\s*[a-zA-Z_][a-zA-Z0-9_.]*(?:\s*\|\s*[^}]+)?\s*\}\}\s*$/,co=/\{\{|\{%/,lo=(e,t)=>{let n=b.tagged_ordered_multi_create_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{let r=so.test(e),i=co.test(e);!r&&i&&t.issues.push({code:`custom`,input:e,path:[n],message:`Each entry must be either plain text or a single field reference โ not mixed.`})})}),n=e.minItems?n.min(e.minItems):n.default([]);let r={type:`tagged_ordered_multi_create_input`,...e};if(t===_){let i=t=>{let n=t.validationContext,i=n?Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).filter(([t,n])=>!e.expectedTagType||n.type===e.expectedTagType).map(([e,t])=>({...t,resolvedName:e})):[];return{...r,inputFields:i}};return i.staticMeta={...r,inputFields:[]},t.add(n,i),n}return t.add(n,r),n},uo=(e,t)=>{let n=b.loose_object_input;n=n.check(t=>{let n=t,r=Object.entries(n.value??{});e.minKeys!=null&&r.length<e.minKeys&&n.issues.push({code:`custom`,input:n.value,message:`Add at least ${e.minKeys} ${e.keyLabel?.toLowerCase()??`entr`}${e.keyLabel?`s`:`ies`}.`}),e.maxKeys!=null&&r.length>e.maxKeys&&n.issues.push({code:`custom`,input:n.value,message:`Use at most ${e.maxKeys} ${e.keyLabel?.toLowerCase()??`entr`}${e.keyLabel?`s`:`ies`}.`}),r.forEach(([e,t])=>{Vo({value:t,issues:n.issues},!1,[e])})}),n=n.default({});let r={type:`loose_object_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},fo=(e,t)=>{let n=e.maxItems||200,r=io(b.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)`})}),e);return t.add(r,{type:`include_exclude_input`,...e}),r},po=()=>{let e=xi;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}=no(e,t,n)||{};return{fieldName:e,fieldLabel:n.label,schema:r||null,exampleValue:i||null}}),path:`config.json_extraction`,groupPath:`config.json_extraction`,sectionKey:`general`}}),e},mo=(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:Ri[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},ho=(e,t)=>{let n=e.maxItems||200,r=io(b.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)`})}),e);return t.add(r,{type:`include_exclude_select_input`,...e}),r},go=(e,t)=>{let n=io(b.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`}`})}),e);return t.add(n,{type:`exact_range_input`,...e}),n},_o=(e,t)=>{let n=r.object({from:r.number().optional().nullable(),to:r.number().optional().nullable()}).default({from:null,to:null}),i=n;(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.`})}));let a=io(i,e);return t.add(a,{type:`range_input`,...e}),a},vo=(e,t)=>{let n=io(b.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`})}),e);return t.add(n,{type:`date_range_input`,...e}),n},yo=(e,t)=>{let n=io(b.boolean_input.default(e.defaultValue),e);return t.add(n,{...e,required:!1,type:`boolean_input`}),n},bo=(e,t)=>{let n=io(b.nullable_boolean_input.default(e.defaultValue),e);return t.add(n,{...e,required:!1,type:`nullable_boolean_input`,defaultValue:e.defaultValue}),n},xo=(e,t)=>{let n=b.text_input;e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern)));let r=io(n,e);return t.add(r,{type:`text_input`,...e}),r},So=(e,t)=>{let n=b.textarea_input;e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength));let r=io(n,e);return t.add(r,{type:`textarea_input`,...e}),r},Co=(e,t,n=`pipe_io`)=>{let i=r.object({alias:r.string().default(``).describe(`Rename this output field. Leave empty to use default name.`),enabled:r.boolean().default(!0).describe(`Whether to include this field in the output.`)}).describe(`Output field '${e.fieldName}'`);return t.add(i,{type:`output_field_input`,label:`Rename *${e.fieldName}*`,placeholder:e.fieldName,path:`config.output_fields.${e.fieldName}`,description:void 0,groupPath:`config.output_fields`,sectionKey:n}),i.default({alias:``,enabled:!0})},wo=(e,t)=>r.unknown().check(e=>{t(e.value)&&e.issues.push({code:`custom`,input:e.value,message:`Required`})}).pipe(e),To=(e,t)=>{let n=io(wo(b.int_input.check(t=>{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}`})}),e=>e==null),e);return t.add(n,{...e,type:`int_input`}),n},Eo=(e,t)=>{let n=io(wo(b.number_input.check(t=>{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}`})}),e=>e===void 0),e);return t.add(n,{...e,type:`number_input`}),n},Do=(e,t)=>{let n=b.json_schema_input;return n.check(e=>{wa(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(n=n.check(e=>{Ta(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(n,{...e,type:`json_schema_input`}),n},Oo=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=b.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=io(e.defaultValue?i.default(e.defaultValue):i,e);return t.add(a,{type:`select_input`,...e}),a},ko=(e,t,n)=>{let r=io(b.search_payload_input.check(e=>{if(!e.value?.search_id){e.issues.push({code:`custom`,input:e.value,message:`Required`});return}let t=n?.safeParse(e.value);if(t&&!t.success)for(let n of t.error.issues)e.issues.push({code:`custom`,input:e.value,message:n.message,path:n.path})}),e);return t.add(r,{...e,type:`search_payload_input`,required:!0}),r},Ao=({billableOperations:e,...t},n)=>{let i=r.enum(La).default(t.defaultValue||`google-low`);return n.add(i,{type:`select_input`,options:La.map(t=>{let n=Object.keys(e).find(e=>e.endsWith(`-in-${t}`)),r=Object.keys(e).find(e=>e.endsWith(`-out-${t}`)),i=n?e[n]:void 0,a=r?e[r]:void 0;if(!i||!a)throw Error(`Unable to find token billing info for model ${t}`);return{label:Ra[t].label,value:t,widgets:{logo:{url:Ri[Ra[t].provider].logoUrl},token_pricing:{inputPerBlock:i.credits.default,outputPerBlock:a.credits.default,blockSize:100}}}}),required:!0,description:``,label:`AI Models`,...t}),i},jo=(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`});let r=new Set;t.value.forEach((e,a)=>{i.has(e)?r.has(e)?t.issues.push({code:`custom`,input:e,path:[a],message:`Duplicate option: ${e}`}):r.add(e):t.issues.push({code:`custom`,input:e,path:[a],message:`Must be one of: ${n.join(`, `)}`})})});return t.add(a,{type:`multi_select_input`,...e}),a},Mo=(e,t)=>{let n=e.required?b.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`})}):b.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??to(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},No=(e,t)=>{let n=b.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},Po=(e,t)=>{let n=b.async_multi_select_input.check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`})});return e.maxItems&&(n=n.max(e.maxItems)),t.add(n,{type:`async_multi_select_input`,...e}),n},Fo=(e,t)=>{let n=e.maxItems||200,r=b.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)`})});return t.add(r,{type:`async_include_exclude_select_input`,...e}),r},x=()=>{let e=Li.nullish();return _.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_run_if_input`,groupPath:`run_if`,path:`run_if`,sectionKey:`pipe_io`,fields:Object.entries(t.fieldDefinitions).filter(([e,t])=>t.type!==`json`&&e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:t.label,format:t.format,type:t.type}))}}),e},Io=e=>{let t=Fi.nullish();return y.add(t,t=>{let n=t.validationContext;return{type:`condition_block_input`,...e,fields:Object.entries(n.fieldDefinitions).filter(([e,t])=>t.type!==`json`&&e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:t.label,format:t.format,type:t.type}))}}),t},Lo=e=>{let t=io(Ii.nullable().check(e=>{let t=e;if(t.value===null){t.issues.push({code:`custom`,input:t.value,message:`Add at least one condition.`});return}(t.value?.conditions??[]).forEach((e,n)=>{typeof e.value==`string`&&Vo({value:e.value,issues:t.issues},!1,[`conditions`,n,`value`])})}),e,"Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row.");return _.add(t,t=>{let n=t.validationContext;return{type:`condition_block_input`,fields:[],fieldNameMode:`text`,properties:[`value`],inputFields:Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).map(([e,t])=>({...t,resolvedName:e})),...e}}),t};function Ro(e,t){if(!t)return e;let n={...e};for(let[r,i]of Object.entries(t))n[r]=i===null?null:{...e[r]??{},...i};return n}function zo({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 Bo=({schema:e,extractFromSchema:t,store:n,formResolvers:i,sectionMap:a,groupMap:o,pathMap:s})=>{let c={};function l(e){let t=e?._zod?.def?.type;return!(t===`optional`||t===`nullable`||t===`default`)}function u(e,d){let f=t(e),ee=f?.required,te=f&&ee===void 0&&d!==void 0?{...f,required:d}:f;if(te){let{sectionKey:e,groupPath:t,path:r}=te,l=a?.[e],u=o?.[t],d=s?.[r];if(!(l===null||u===null||d===null)){let r=d?{...te,label:d.label??te.label,description:d.description??te.description}:te;c[e]??={type:`section`,groups:[],metadata:{type:`form_section`,path:l?.path??e,label:l?.label,description:l?.description}};let a=c[e];if(!a)throw Error(`Section not defined`);let o=a.groups.find(e=>e.groupPath===t);if(o){let e=zo({fieldMetadata:r,store:n,formResolvers:i});e&&o.fields.push(e)}else{let e=zo({fieldMetadata:r,store:n,formResolvers:i});e&&a.groups.push({groupPath:t,fields:[e],type:`group`,label:u?.label,defaultExpand:!!u?.defaultExpand,description:u?.description,iconKey:u?.iconKey,order:u?.order})}}}if(typeof e==`object`&&`unwrap`in e&&typeof e.unwrap==`function`&&u(e.unwrap(),d),e instanceof r.ZodObject)for(let t of Object.values(e.shape))u(t,l(t))}u(e);for(let e of Object.values(c))e.groups=e.groups.filter(e=>e.fields.length!==0),e.groups.sort((e,t)=>(e.order??99)-(t.order??99));return Object.entries(c).filter(([,e])=>e.groups.length!==0).sort(([e],[t])=>(a?.[e]?.order??99)-(a?.[t]?.order??99)).map(([,e])=>e)};function Vo(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=ia(r);!t&&i.outputs.length>0&&e.issues.push({code:`custom`,input:r,path:n,message:`{% output %} tags are not allowed in this field.`}),t&&i.outputs.length===0&&e.issues.push({code:`custom`,input:r,path:n,message:`At least one {% output %} tag is required, e.g. {% output result, type: "string", description: "..." %}`})}catch(t){e.issues.push({code:`custom`,input:r,path:n,message:t instanceof Error?t.message:String(t)})}}const Ho=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:io(r.string().min(10).check(e=>Vo(e,t,[])),e,'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 _.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},Uo=e=>{let t=r.string();e.required&&(t=t.min(1)),e.maxLength&&(t=t.max(e.maxLength));let n=io(t.check(e=>Vo(e,!1,[])),e,'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 _.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},S=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))),n=n.check(e=>Vo(e,!1,[])),n=io(n,e,t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??to(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 Wo(e,t){_.add(e,({userConnections:e,pipeEntry:n})=>{let r=new Set(n.allowedUserConnectionProviders),i=e.filter(e=>r.has(e.provider));return{label:t===`required`?`Custom connection`:``,description:``,required:t===`required`,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:Sa({id:e.public_id,provider:e.provider})}))}})}const Go=()=>{let e=Oi;return Wo(e,`required`),e},C=()=>{let e=Di;return Wo(e,`optional`),e},w=()=>{let e=ki;return Wo(e,`disabled`),e};function Ko(e,t){v.add(e,({userConnections:e,searchEntry:n})=>{let r=n.allowsUserConnection?[n.provider]:[],i=new Set(r),a=e.filter(e=>i.has(e.provider));return{label:t===`required`?`Custom connection`:``,description:``,required:t===`required`,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:i.size>0,filteredConnections:a.map(e=>({provider:e.provider,connection:Sa({id:e.public_id,provider:e.provider})}))}})}const qo=()=>{let e=Oi;return Ko(e,`required`),e},Jo=()=>{let e=Di;return Ko(e,`optional`),e};function Yo(e,t){y.add(e,({userConnections:e,effectEntry:n})=>{let r=new Set(n.allowedUserConnectionProviders),i=e.filter(e=>r.has(e.provider));return{label:t===`required`?`Custom connection`:``,description:``,required:t===`required`,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:Sa({id:e.public_id,provider:e.provider})}))}})}const Xo=()=>{let e=Oi;return Yo(e,`required`),e},Zo=()=>{let e=Di;return Yo(e,`optional`),e},T=()=>{let e=ki;return Yo(e,`disabled`),e};function Qo(e,t){return Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e&&t.toLowerCase()!==`id`).map(([e,t])=>({label:e,value:e,type:t.type,format:t.format}))}const E=e=>{let t=r.object({alias:r.string().describe(`Override field name mapping. Leave empty to use default.`)});return _.add(t,t=>{let n=t.validationContext;return{type:`select_input`,required:!1,sectionKey:`pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:Qo(t.hash,n),path:`config.input_fields.${e.fieldName}.alias`,label:`Assign *${e.fieldName}* to:`,description:``,groupPath:`config.input_fields`,multiple:!1}}),t.default({alias:``})},D=e=>mo(e,_),$o=e=>{let t=b.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},es=e=>{let t=b.fields_select_input.check(e=>{e.value.forEach((t,n)=>{t.field_name.length<1&&e.issues.push({code:`custom`,input:t.field_name,path:[n,`field_name`],message:`field_name must not be empty`})})});return t=e.minItems?t.min(e.minItems):t.default([]),y.add(t,t=>{let n=t.validationContext;return{type:`fields_select_input`,options:Object.entries(n.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:e,type:t.type})).map(e=>({value:e.fieldName,label:e.fieldLabel,widgets:{field_type:{type:e.type}}})),...e}}),t},ts=(e,t)=>{let n=t===`selection`?et:t===`sheet`?tt:rt,i={label:`All rows`,value:{type:`all`}},a={label:`Specific rows by ID`,value:{type:`rows`,record_ids:[]}},o=t===`selection`?[a]:t===`sheet`?[i]:[i,a,{label:`Window of 10 rows`,value:{type:`window`,count:10}}],s=r.preprocess(e=>{if(typeof e!=`string`)return e;let t=e.trim();if(t===``)return;let n=Da(t);return n===void 0?e:n},n).optional();return y.add(s,{type:`textarea_input`,rows:3,language:`json`,quickOptions:o,...e}),s},ns=e=>fo(e,_),rs=e=>ao(e,_),is=e=>oo(e,_),as=e=>lo(e,_),os=e=>uo(e,_),ss=e=>ho(e,_),cs=e=>Fo(e,_),ls=e=>go(e,_),us=e=>vo(e,_),ds=e=>yo(e,_),O=e=>Co(e,_),fs=e=>{let{groupPath:t,sectionKey:n=`pipe_io`,defaultName:r,nameInfo:i}=e;return{destination_field_name:ps({label:`Field name`,description:`Destination field name`,info:i??`Name of the field written to the destination sheet.`,placeholder:r,inputType:`text`,path:`config.destination_field_name`,groupPath:t,sectionKey:n}).nullable().default(``),destination_field_type:hs({label:`Type`,info:`Field data type. Leave unset to infer it from the data.`,path:`config.destination_field_type`,groupPath:t,sectionKey:n,required:!1,options:Br.filter(e=>e!==`unknown`).map(e=>({value:e,label:e}))}).default(``),destination_field_format:hs({label:`Format`,info:`Optional display format for the field.`,path:`config.destination_field_format`,groupPath:t,sectionKey:n,required:!1,options:oi.map(e=>({value:e,label:e}))}).default(``),destination_field_label:ps({label:`Label`,description:`Destination field label`,info:`Human-friendly column header. Defaults to the field name.`,inputType:`text`,path:`config.destination_field_label`,groupPath:t,sectionKey:n}).nullable().default(``)}},ps=e=>xo(e,_),ms=e=>So(e,_),hs=e=>Oo(e,_),gs=e=>Ao(e,_),_s=e=>jo(e,_),vs=e=>To(e,_),ys=e=>Eo(e,_),bs=e=>Do(e,_),xs=e=>Mo(e,_),k=e=>ao(e,v),Ss=e=>oo(e,v),Cs=e=>No(e,v),A=e=>fo(e,v),j=e=>ho(e,v),ws=e=>go(e,v),Ts=e=>_o(e,v),Es=e=>vo(e,v),Ds=e=>yo(e,v),Os=e=>bo(e,v),M=e=>Co(e,v,`pipe_io`),ks=e=>xo(e,v),As=e=>So(e,v),js=e=>Oo(e,v),Ms=e=>Mo(e,v),N=e=>jo(e,v),P=e=>Po(e,v),F=e=>Fo(e,v),I=e=>To(e,v),Ns=e=>Eo(e,v),Ps=e=>xo(e,ro(y)),Fs=e=>So(e,ro(y)),Is=e=>Oo(e,ro(y)),Ls=e=>jo(e,ro(y)),Rs=e=>To(e,ro(y)),zs=e=>To(e,ro(y)).nullish(),Bs=e=>yo(e,ro(y)),Vs=e=>Mo(e,ro(y)),Hs=e=>Ao(e,ro(y)),Us=(e,t)=>ko(e,ro(y),t),L=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()),R=e=>e.optional();function Ws(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(Ws).filter(e=>!kn(e));let t={};for(let[n,r]of Object.entries(e)){let e=Ws(r);kn(e)||(t[n]=e)}return t}const Gs=await l();var Ks=class e{static hashObject(t){if(!Gs)throw Error(`HashAPI not initialized`);let{h64ToString:n}=Gs,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 z(e){return e.split(`@`)[0]}function qs(e,t){let n={effectId:e,config:Ws(t)};return Ks.hashObject(n)}var B=class{validatePayload(e){try{return this.schema.parse(e)}catch(e){throw e instanceof n?Error(JSON.stringify(r.prettifyError(e))):e}}getSecretRequirements(){return[]}getConstantRequirements(){return[]}getConfigHashKey(){return qs(this.payload.effect_id,this.payload.config||{})}producesDynamicFields(){return!1}evolveSchema(e){return{next:e}}getRecordQueueConfig(e){return null}};const Js=`env:change@1`,Ys={},Xs=r.object({effect_id:r.literal(Js),connector:T(),config:r.object({environment:Lr})}),Zs=class extends B{effectId=Js;schema=Xs;payload;billableOperations=Ys;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},Qs=Xs,$s={effectId:Js,baseEffect:z(Js),label:`Change environment`,description:`Switch the sheet between production and sandbox.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Ys,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:Js,connector:null,config:{environment:`production`}}},ec=`fields:add@1`,tc={},nc=r.object({effect_id:r.literal(ec),connector:T(),config:r.object({})}),rc=class extends B{effectId=ec;schema=nc;payload;billableOperations=tc;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},ic=nc,ac={effectId:ec,baseEffect:z(ec),label:`Add field`,description:`Add a new empty field to the sheet.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:tc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:ec,connector:null,config:{}}},oc=[`id`],sc=e=>oc.includes(e.trim().toLowerCase()),cc=e=>typeof e.kind==`string`,lc=e=>cc(e)?e:{kind:`field`,field:e},V=e=>({kind:`field`,field:e}),uc=(...e)=>({kind:`all`,of:e.map(lc)}),dc=(...e)=>({kind:`any`,of:e.map(lc)}),fc=e=>({kind:`optional`,field:e});function pc(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>pc(e,t));case`any`:return e.of.some(e=>pc(e,t))}}function mc(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(mc)}}function hc(e,t){let n=gc(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function gc(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=gc(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=gc(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function _c(e,t){let n={pipeId:e,config:Ws(t)};return Ks.hashObject(n)}function vc(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:Ks.hashObject(Ws(n))}var H=class{validatePayload(e){try{return this.payloadSchema.parse(e)}catch(e){throw e instanceof n?Error(r.prettifyError(e)):e}}getSecretRequirements(){return[]}getConstantRequirements(){return[]}async getAgentContext(e){return null}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 mc(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return _c(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return vc(e,this.inputFields)}};const yc={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:`United States, 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 U(e){return yc[e]}function bc(e,t){return typeof t==`string`?t:t(e)}function xc(e,t){return typeof t==`string`||t===null?t:t(e)}function Sc(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:bc(e,a[r].type),format:xc(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 Cc(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:bc(e,r[t].type),format:xc(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function wc(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=ia(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=>Cc(t,e)?.type||n,format:r};a.push(t.required?V(i):fc(i))}return uc(...a)}function Tc(e){let t=new Set;for(let n of e)if(n)try{let e=ia(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}function Ec(e){let t=new Set;for(let n of e)if(n)try{let e=ia(n);for(let n of e.constants)t.add(n)}catch{}return[...t]}const W={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`,EVENTS:`Events`,JSON:`Json`,FIELDS:`Fields`,LOGIC:`Logic`,DEPRECATED:`Deprecated โ`};function Dc(e,t){let n={};for(let r of t)for(let t of Object.values(e))if(t&&t.provider===r&&t.allowManagedConnection){n[r]=t.credits.default;break}return n}function Oc(e){return mc(e).map(({field:e})=>e)}function kc({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function Ac({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function jc({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 Mc(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 Nc(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function Pc(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/pipe-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 Fc=`agent:run@1`,Ic=`agent-run-v1`,Lc=[{value:`web_researcher`,label:`Web researcher`,widgets:{emoji:{char:`๐`}}}],Rc={...Za(Ic),"agent-run-v1-search-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.2},mode:`always`,note:`Billed per web search the agent performs.`},"agent-run-v1-extract-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.1},mode:`always`,note:`Billed per URL-extraction call the agent performs.`}},zc=r.object({pipe_id:r.literal(Fc),connector:C(),run_if:x(),config:r.object({agent_type:hs({sectionKey:`general`,groupPath:`config.prompt`,path:`config.agent_type`,label:`Agent type`,defaultValue:`web_researcher`,options:[...Lc],required:!0}),prompt:Ho({sectionKey:`general`,path:`config.prompt`,placeholder:U(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:gs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Rc})})}),Bc=class extends H{pipeId=Fc;payload;payloadSchema=zc;billableOperations=Rc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[...Wa(this.payload.config.model),`parallel`]}estimateBillableOperations(e){return[...$a(e,{model:this.payload.config.model,prefix:Ic,inputTokens:2e4,outputTokens:1500}),{billableOperation:`agent-run-v1-search-parallel`,quantity:e.count*4},{billableOperation:`agent-run-v1-extract-parallel`,quantity:e.count*1}]}getInputRequirement(){return wc([this.payload.config.prompt.template])}getSecretRequirements(){return Tc([this.payload.config.prompt.template])}getConstantRequirements(){return Ec([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=ia(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[...Ga(this.payload.config.model),{provider:`parallel`,rateLimitRatio:4,rateLimitOperation:`parallel_search_base`,allowManagedConnection:!0},{provider:`parallel`,rateLimitRatio:1,rateLimitOperation:`parallel_extract`,allowManagedConnection:!0}]}},Vc=zc,Hc={pipeId:Fc,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G(Fc),label:`AI agent`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,description:`Runs an AI research agent with web tools and structured output fields.`,guide:`AI agent with tools. Like prompt:run@1, inputs and outputs are fully dynamic โ defined by the tags in the prompt template โ but the agent can call tools before answering. The agent type decides the toolset: web_researcher gets web search and URL extraction, for questions model knowledge alone can't answer ('has {{ company_name }} ever raised money?', 'find the general counsel of {{ company_name }}'). Every tool call is billed on top of tokens, so when no live research is needed, use prompt:run@1 instead. Fields the agent cannot ground in evidence come back as no_result, not a guess.`,tags:[W.AI],docPath:K(Fc),defaultInputRequirement:null,billableOperations:Rc,allowedUserConnectionProviders:[...Ka(),`parallel`],managedProviders:[...Ka(),`parallel`],deprecatedProviders:[],defaultPayload:{pipe_id:Fc,connector:null,run_if:null,config:{agent_type:`web_researcher`,model:`google-low`,prompt:{template:``,json_schemas:{}}}}};function J(e,...t){return t.map(t=>({billableOperation:t,quantity:e.count}))}function Uc(e,t){return n=>{let r=e[n];if(!r)throw Error(`Missing billableOperation def for "${n}"`);return!r.allowManagedConnection||t?.(r.provider)?0:r.credits.default}}function Wc(e,t,n=`sum`){let r=e.map(e=>e.quantity*t(e.billableOperation));return r.length===0?0:n===`max`?Math.max(...r):r.reduce((e,t)=>e+t,0)}const Gc=`company:domain:workemail@1`,Kc=g(`company_domain`),qc=g(`work_email`),Jc=r.object({pipe_id:r.literal(Gc),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[qc.name]:E({fieldName:qc.name})})),output_fields:L(r.object({[Kc.name]:O({fieldName:Kc.name})}))}).optional()}),Yc=e=>V(q(qc,e)),Xc={"company-domain-workemail-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},Zc=class extends H{pipeId=Gc;payload;payloadSchema=Jc;billableOperations=Xc;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-domain-workemail-v1-pipe0`)}getInputRequirement(){return Yc(this.payload.config)}getRawOutputFields(){return{[Kc.name]:this.catalogOutput(Kc)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Qc=Jc,$c={pipeId:Gc,basePipe:G(Gc),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:[W.EMAIL,W.WORK_EMAIL,W.WEBSITE],docPath:K(Gc),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Xc,defaultInputRequirement:Yc(null),defaultPayload:{pipe_id:Gc,connector:null,run_if:null,config:{input_fields:{[qc.name]:{alias:``}},output_fields:{[Kc.name]:{alias:``,enabled:!0}}}}},el=`company:funding:leadmagic@2`,tl=g(`company_name`),nl=g(`company_domain`),rl=g(`funding_history`),il=g(`funding_total_usd`),al=g(`leadmagic_competitor_list`),ol=g(`leadmagic_acquisition_history`),sl=g(`leadmagic_company_news_list`),cl=r.object({pipe_id:r.literal(el),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[tl.name]:E({fieldName:tl.name}),[nl.name]:E({fieldName:nl.name})})),output_fields:L(r.object({[rl.name]:O({fieldName:rl.name}),[il.name]:O({fieldName:il.name}),[al.name]:O({fieldName:al.name}),[ol.name]:O({fieldName:ol.name}),[sl.name]:O({fieldName:sl.name})}))}).optional()}),ll=e=>dc(q(tl,e),q(nl,e)),ul={"company-funding-leadmagic-v2-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},dl=class extends H{pipeId=el;payload;payloadSchema=cl;billableOperations=ul;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(e){return J(e,`company-funding-leadmagic-v2-leadmagic`)}getInputRequirement(){return ll(this.payload.config)}getRawOutputFields(){return{[rl.name]:this.catalogOutput(rl),[il.name]:this.catalogOutput(il),[ol.name]:this.catalogOutput(ol),[sl.name]:this.catalogOutput(sl),[al.name]:this.catalogOutput(al)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},fl=cl,pl={pipeId:el,basePipe:G(el),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[W.FINANCIAL_DATA],docPath:K(el),billableOperations:ul,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:ll(null),defaultPayload:{pipe_id:el,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:``}}}}},ml=g(`company_name`),hl=g(`company_profile_url`),gl=g(`company_domain`),_l=g(`cleaned_company_name`),vl=`company:identity@3`,yl=r.object({pipe_id:r.literal(vl),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[ml.name]:E({fieldName:ml.name})})),output_fields:L(r.object({[hl.name]:O({fieldName:hl.name}),[_l.name]:O({fieldName:_l.name}),[gl.name]:O({fieldName:gl.name})}))}).optional()}),bl=e=>V(q(ml,e)),xl={"company-identity-v3-pipe0":{allowManagedConnection:!0,credits:{default:.3,level1:{credits:.2,weight:1}},mode:`always`,provider:`pipe0`}},Sl=class extends H{pipeId=vl;payload;payloadSchema=yl;billableOperations=xl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-identity-v3-pipe0`)}getInputRequirement(){return bl(this.payload.config)}getRawOutputFields(){return{[hl.name]:this.catalogOutput(hl),[gl.name]:this.catalogOutput(gl),[_l.name]:this.catalogOutput(_l)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Cl=yl,wl={pipeId:vl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(vl),label:`Company identity`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:K(vl),billableOperations:xl,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:bl(null),defaultPayload:{pipe_id:vl,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}}}}},Tl=g(`company_domain`),El=g(`company_name`),Dl=g(`crustdata_company_identity_matches`),Ol=`company:identity:crustdata@1`,kl=r.object({pipe_id:r.literal(Ol),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[Tl.name]:E({fieldName:Tl.name}),[El.name]:E({fieldName:El.name})})),output_fields:L(r.object({[Dl.name]:O({fieldName:Dl.name})}))}).optional()}),Al=e=>dc(q(Tl,e),q(El,e)),jl={"company-identity-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:.001},mode:`onSuccess`,provider:`crustdata`}},Ml=class extends H{pipeId=Ol;payload;payloadSchema=kl;billableOperations=jl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return J(e,`company-identity-crustdata-v1-crustdata`)}getInputRequirement(){return Al(this.payload.config)}getRawOutputFields(){return{[Dl.name]:this.catalogOutput(Dl)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_identify`,allowManagedConnection:!0}]}},Nl=kl,Pl={pipeId:Ol,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Ol),label:`Company identity`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Resolve a company to Crustdata's matching candidates by domain or name. Returns the full list of matches.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:K(Ol),billableOperations:jl,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Al(null),defaultPayload:{pipe_id:Ol,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``},company_name:{alias:``}},output_fields:{crustdata_company_identity_matches:{alias:``,enabled:!0}}}}},Fl=g(`company_domain`),Il=g(`companyenrich_matches`),Ll=`company:lookalikes:companyenrich@2`,Rl=r.object({pipe_id:r.literal(Ll),run_if:x(),connector:C(),config:r.object({limit:vs({groupPath:`config.general`,max:50,min:1,path:`config.limit`,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:R(r.object({[Fl.name]:E({fieldName:Fl.name})})),output_fields:L(r.object({[Il.name]:O({fieldName:Il.name})}))}).optional()}),zl=e=>V(q(Fl,e)),Bl={"company-lookalikes-companyenrich-v2-companyenrich":{allowManagedConnection:!0,credits:{default:.2,level1:{credits:.1,weight:1}},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},Vl=class extends H{pipeId=Ll;payload;payloadSchema=Rl;billableOperations=Bl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(e){return[{billableOperation:`company-lookalikes-companyenrich-v2-companyenrich`,quantity:e.count*5}]}getInputRequirement(){return zl(this.payload.config)}getRawOutputFields(){return{[Il.name]:this.catalogOutput(Il)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Hl=Rl,Ul={pipeId:Ll,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Ll),label:`Find company lookalikes`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find companies similar to the company you provide as input.`,tags:[W.COMPANY_PROFILES],docPath:K(Ll),billableOperations:Bl,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:zl(null),defaultPayload:{pipe_id:Ll,connector:null,run_if:null,config:{limit:20,input_fields:{company_domain:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Wl=g(`company_domain`),Gl=g(`crustdata_companyenrich_match`),Kl=`company:match:crustdata@2`,ql=r.object({pipe_id:r.literal(Kl),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[Wl.name]:E({fieldName:Wl.name})})),output_fields:L(r.object({[Gl.name]:O({fieldName:Gl.name})}))}).optional()}),Jl=e=>V(q(Wl,e)),Yl={"company-match-crustdata-v2-crustdata":{allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.2,weight:1}},mode:`onSuccess`,provider:`crustdata`}},Xl=class extends H{pipeId=Kl;payload;payloadSchema=ql;billableOperations=Yl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return J(e,`company-match-crustdata-v2-crustdata`)}getInputRequirement(){return Jl(this.payload.config)}getRawOutputFields(){return{[Gl.name]:this.catalogOutput(Gl)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Zl=ql,Ql={pipeId:Kl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Kl),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:K(Kl),billableOperations:Yl,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Jl(null),defaultPayload:{pipe_id:Kl,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},$l=g(`company_domain`),eu=g(`company_name`),tu=g(`company_profile_url`),nu=g(`logodev_describe_match`),ru=g(`logo_url`),iu=`company:match:logodev@2`,au=r.object({pipe_id:r.literal(iu),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[$l.name]:E({fieldName:$l.name})})),output_fields:L(r.object({[tu.name]:O({fieldName:tu.name}),[ru.name]:O({fieldName:ru.name}),[eu.name]:O({fieldName:eu.name}),[nu.name]:O({fieldName:nu.name})}))}).optional()}),ou=e=>V(q($l,e)),su={"company-match-logodev-v2-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},cu=class extends H{pipeId=iu;payload;payloadSchema=au;billableOperations=su;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(e){return J(e,`company-match-logodev-v2-logodev`)}getInputRequirement(){return ou(this.payload.config)}getRawOutputFields(){return{[tu.name]:this.catalogOutput(tu),[eu.name]:this.catalogOutput(eu),[ru.name]:this.catalogOutput(ru),[nu.name]:this.catalogOutput(nu)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},lu=au,uu={pipeId:iu,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(iu),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:[W.WEBSITE,W.LINKEDIN],docPath:K(iu),billableOperations:su,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:ou(null),defaultPayload:{pipe_id:iu,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}}}}},du=`company:newssummary:domain@1`,fu=g(`company_news_summary`),pu=g(`company_domain`),mu=r.object({pipe_id:r.literal(du),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[pu.name]:E({fieldName:pu.name})})),output_fields:L(r.object({[fu.name]:O({fieldName:fu.name})}))}).optional()}),hu=e=>V(q(pu,e)),gu={"company-newssummary-domain-v1-pipe0":{allowManagedConnection:!0,credits:{default:2},mode:`always`,provider:`pipe0`}},_u=class extends H{pipeId=du;payloadSchema=mu;billableOperations=gu;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-newssummary-domain-v1-pipe0`)}getInputRequirement(){return hu(this.payload.config)}getRawOutputFields(){return{[fu.name]:this.catalogOutput(fu)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:4,rateLimitOperation:`parallel_search_base`,allowManagedConnection:!0},{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0}]}},vu=mu,yu={pipeId:du,basePipe:G(du),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:[W.NEWS],docPath:K(du),billableOperations:gu,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:hu(null),defaultPayload:{pipe_id:du,run_if:null,connector:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},bu=g(`company_domain`),xu=g(`company_profile_url`),Su=g(`company_description`),Cu=g(`company_industry`),wu=g(`company_region`),Tu=g(`headcount`),Eu=g(`estimated_revenue`),Du=g(`founded_year`),Ou=g(`company_name`),ku=`company:overview@3`,Au=r.object({pipe_id:r.literal(ku),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[bu.name]:E({fieldName:bu.name}),[xu.name]:E({fieldName:xu.name})})),output_fields:L(r.object({[Su.name]:O({fieldName:Su.name}),[Cu.name]:O({fieldName:Cu.name}),[wu.name]:O({fieldName:wu.name}),[Tu.name]:O({fieldName:Tu.name}),[Eu.name]:O({fieldName:Eu.name}),[Du.name]:O({fieldName:Du.name}),[Ou.name]:O({fieldName:Ou.name})}))}).optional()}),ju=e=>dc(q(bu,e),q(xu,e)),Mu={"company-overview-v3-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`always`}},Nu=class extends H{pipeId=ku;payloadSchema=Au;billableOperations=Mu;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-overview-v3-pipe0`)}getInputRequirement(){return ju(this.payload.config)}getRawOutputFields(){return{[Su.name]:this.catalogOutput(Su),[Cu.name]:this.catalogOutput(Cu),[wu.name]:this.catalogOutput(wu),[Tu.name]:this.catalogOutput(Tu),[Eu.name]:this.catalogOutput(Eu),[Du.name]:this.catalogOutput(Du),[Ou.name]:this.catalogOutput(Ou)}}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}]}},Pu=Au,Fu={pipeId:ku,basePipe:G(ku),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:K(ku),tags:[W.WEBSITE,W.LINKEDIN,W.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Mu,defaultInputRequirement:ju(null),defaultPayload:{pipe_id:ku,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}}}}},Iu=g(`company_domain`),Lu=g(`technology_list`),Ru=g(`spending_trend`),zu=g(`technology_match_builtwith`),Bu=`company:techstack:builtwith@2`,Vu=r.object({pipe_id:r.literal(Bu),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[Iu.name]:E({fieldName:Iu.name})})),output_fields:L(r.object({[Lu.name]:O({fieldName:Lu.name}),[zu.name]:O({fieldName:zu.name}),[Ru.name]:O({fieldName:Ru.name})}))}).optional()}),Hu=e=>V(q(Iu,e)),Uu={"company-techstack-builtwith-v2-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},Wu=class extends H{pipeId=Bu;payload;payloadSchema=Vu;billableOperations=Uu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(e){return J(e,`company-techstack-builtwith-v2-builtwith`)}getInputRequirement(){return Hu(this.payload.config)}getRawOutputFields(){return{[Lu.name]:this.catalogOutput(Lu),[zu.name]:this.catalogOutput(zu),[Ru.name]:this.catalogOutput(Ru)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Gu=Vu,Ku={pipeId:Bu,basePipe:G(Bu),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:[W.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:K(Bu),billableOperations:Uu,defaultInputRequirement:Hu(null),defaultPayload:{pipe_id:Bu,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}}}}},qu={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},Ju=`contact:create:resend@1`,Yu={"contact-create-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Xu=g(`email`),Zu=g(`name`),Qu=g(`resend_contact_id`),$u=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],ed=r.object({pipe_id:r.literal(Ju),connector:Go(),run_if:x(),config:r.object({segment_id:xs({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:Na(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return $u;if(!t)throw new qu.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 qu.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:ds({sectionKey:`general`,defaultValue:!0,label:`Add as subscribed`,groupPath:`config.general`,path:`config.add_as_subscribed`,info:``}),input_fields:R(r.object({[Zu.name]:E({fieldName:Zu.name}),[Xu.name]:E({fieldName:Xu.name})})),output_fields:L(r.object({[Qu.name]:O({fieldName:Qu.name})}))})}),td=e=>uc(V(q(Xu,e)),V(q(Zu,e))),nd=class extends H{pipeId=Ju;payload;payloadSchema=ed;billableOperations=Yu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(e){return J(e,`contact-create-resend-v1-resend`)}getInputRequirement(){return td(this.payload.config)}getRawOutputFields(){return{[Qu.name]:this.catalogOutput(Qu)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},rd=ed,id={pipeId:Ju,basePipe:G(Ju),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[W.EMAIL],docPath:K(Ju),billableOperations:Yu,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:td(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Ju,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}}}}},ad=`company:funding:leadmagic@1`,od=g(`company_name`),sd=g(`company_website_url`),cd=g(`funding_history`),ld=g(`funding_total_usd`),ud=g(`leadmagic_competitor_list`),dd=g(`leadmagic_acquisition_history`),fd=g(`leadmagic_company_news_list`),pd=r.object({pipe_id:r.literal(ad),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[od.name]:E({fieldName:od.name}),[sd.name]:E({fieldName:sd.name})})),output_fields:L(r.object({[cd.name]:O({fieldName:cd.name}),[ld.name]:O({fieldName:ld.name}),[ud.name]:O({fieldName:ud.name}),[dd.name]:O({fieldName:dd.name}),[fd.name]:O({fieldName:fd.name})}))}).optional()}),md=e=>dc(q(od,e),q(sd,e)),hd={"company-funding-leadmagic-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},gd=class extends H{pipeId=ad;payload;payloadSchema=pd;billableOperations=hd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(e){return J(e,`company-funding-leadmagic-v1-leadmagic`)}getInputRequirement(){return md(this.payload.config)}getRawOutputFields(){return{[cd.name]:this.catalogOutput(cd),[ld.name]:this.catalogOutput(ld)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},_d=pd,vd={pipeId:ad,basePipe:G(ad),label:`Funding history`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:funding:leadmagic@2`},description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[W.FINANCIAL_DATA],docPath:K(ad),billableOperations:hd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:md(null),defaultPayload:{pipe_id:ad,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:``}}}}},yd=g(`company_name`),bd=g(`company_social_url`),xd=g(`company_website_url`),Sd=g(`cleaned_company_name`),Cd=`company:identity@1`,wd=r.object({pipe_id:r.literal(Cd),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[yd.name]:E({fieldName:yd.name})})),output_fields:L(r.object({[bd.name]:O({fieldName:bd.name}),[Sd.name]:O({fieldName:Sd.name}),[xd.name]:O({fieldName:xd.name})}))}).optional()}),Td=e=>V(q(yd,e)),Ed={"company-identity-v1-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},Dd=class extends H{pipeId=Cd;payload;payloadSchema=wd;billableOperations=Ed;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-identity-v1-pipe0`)}getInputRequirement(){return Td(this.payload.config)}getRawOutputFields(){return{[bd.name]:this.catalogOutput(bd),[xd.name]:this.catalogOutput(xd),[Sd.name]:this.catalogOutput(Sd)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Od=wd,kd={pipeId:Cd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Cd),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:`/resources/pipe-catalog/company:identity/1`,billableOperations:Ed,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Td(null),defaultPayload:{pipe_id:Cd,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}}}}},Ad=g(`company_name`),jd=g(`company_profile_url`),Md=g(`company_website_url`),Nd=g(`cleaned_company_name`),Pd=`company:identity@2`,Fd=r.object({pipe_id:r.literal(Pd),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Ad.name]:E({fieldName:Ad.name})})),output_fields:L(r.object({[jd.name]:O({fieldName:jd.name}),[Nd.name]:O({fieldName:Nd.name}),[Md.name]:O({fieldName:Md.name})}))}).optional()}),Id=e=>V(q(Ad,e)),Ld={"company-identity-v2-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},Rd=class extends H{pipeId=Pd;payload;payloadSchema=Fd;billableOperations=Ld;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-identity-v2-pipe0`)}getInputRequirement(){return Id(this.payload.config)}getRawOutputFields(){return{[jd.name]:this.catalogOutput(jd),[Md.name]:this.catalogOutput(Md),[Nd.name]:this.catalogOutput(Nd)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},zd=Fd,Bd={pipeId:Pd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Pd),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@3`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:K(Pd),billableOperations:Ld,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Id(null),defaultPayload:{pipe_id:Pd,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}}}}},Vd=g(`company_website_url`),Hd=g(`companyenrich_matches`),Ud=`company:lookalikes:companyenrich@1`,Wd=r.object({pipe_id:r.literal(Ud),run_if:x(),connector:C(),config:r.object({limit:vs({groupPath:`config.general`,max:50,min:1,path:`config.limit`,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:R(r.object({[Vd.name]:E({fieldName:Vd.name})})),output_fields:L(r.object({[Hd.name]:O({fieldName:Hd.name})}))}).optional()}),Gd=e=>V(q(Vd,e)),Kd={"company-lookalikes-companyenrich-v1-companyenrich":{allowManagedConnection:!0,credits:{default:.2},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},qd=class extends H{pipeId=Ud;payload;payloadSchema=Wd;billableOperations=Kd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(e){return[{billableOperation:`company-lookalikes-companyenrich-v1-companyenrich`,quantity:e.count*5}]}getInputRequirement(){return Gd(this.payload.config)}getRawOutputFields(){return{[Hd.name]:this.catalogOutput(Hd)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},Jd=Wd,Yd={pipeId:Ud,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Ud),label:`Find company lookalikes`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:lookalikes:companyenrich@2`},description:`Find companies similar to the company you provide as input.`,tags:[W.COMPANY_PROFILES],docPath:K(Ud),billableOperations:Kd,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:Gd(null),defaultPayload:{pipe_id:Ud,connector:null,run_if:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},Xd=g(`company_website_url`),Zd=g(`crustdata_companyenrich_match`),Qd=`company:match:crustdata@1`,$d=r.object({pipe_id:r.literal(Qd),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[Xd.name]:E({fieldName:Xd.name})})),output_fields:L(r.object({[Zd.name]:O({fieldName:Zd.name})}))}).optional()}),ef=e=>V(q(Xd,e)),tf={"company-match-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`,provider:`crustdata`}},nf=class extends H{pipeId=Qd;payload;payloadSchema=$d;billableOperations=tf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return J(e,`company-match-crustdata-v1-crustdata`)}getInputRequirement(){return ef(this.payload.config)}getRawOutputFields(){return{[Zd.name]:this.catalogOutput(Zd)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},rf=$d,af={pipeId:Qd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Qd),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:crustdata@2`},description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:K(Qd),billableOperations:tf,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:ef(null),defaultPayload:{pipe_id:Qd,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},of=g(`company_website_url`),sf=g(`company_name`),cf=g(`company_profile_url`),lf=g(`logodev_describe_match`),uf=g(`logo_url`),df=`company:match:logodev@1`,ff=r.object({pipe_id:r.literal(df),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[of.name]:E({fieldName:of.name})})),output_fields:L(r.object({[cf.name]:O({fieldName:cf.name}),[uf.name]:O({fieldName:uf.name}),[sf.name]:O({fieldName:sf.name}),[lf.name]:O({fieldName:lf.name})}))}).optional()}),pf=e=>V(q(of,e)),mf={"company-match-logodev-v1-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},hf=class extends H{pipeId=df;payload;payloadSchema=ff;billableOperations=mf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(e){return J(e,`company-match-logodev-v1-logodev`)}getInputRequirement(){return pf(this.payload.config)}getRawOutputFields(){return{[cf.name]:this.catalogOutput(cf),[sf.name]:this.catalogOutput(sf),[uf.name]:this.catalogOutput(uf),[lf.name]:this.catalogOutput(lf)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},gf=ff,_f={pipeId:df,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(df),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:logodev@2`},description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[W.WEBSITE,W.LINKEDIN],docPath:K(df),billableOperations:mf,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:pf(null),defaultPayload:{pipe_id:df,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}}}}},vf=`company:newssummary:website@1`,yf=g(`company_news_summary`),bf=g(`company_website_url`),xf=r.object({pipe_id:r.literal(vf),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[bf.name]:E({fieldName:bf.name})})),output_fields:L(r.object({[yf.name]:O({fieldName:yf.name})}))}).optional()}),Sf=e=>V(q(bf,e)),Cf={"company-newssummary-website-v1-pipe0":{allowManagedConnection:!0,credits:{default:1},mode:`always`,provider:`pipe0`}},wf=class extends H{pipeId=vf;payloadSchema=xf;billableOperations=Cf;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-newssummary-website-v1-pipe0`)}getInputRequirement(){return Sf(this.payload.config)}getRawOutputFields(){return{[yf.name]:this.catalogOutput(yf)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},Tf=xf,Ef={pipeId:vf,basePipe:G(vf),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:newssummary:domain@1`},description:`Find recent company news by performing a search and scrape.`,tags:[W.NEWS],docPath:K(vf),billableOperations:Cf,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Sf(null),defaultPayload:{pipe_id:vf,run_if:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},Df=g(`company_website_url`),Of=g(`company_social_url`),kf=g(`company_description`),Af=g(`company_industry`),jf=g(`company_region`),Mf=g(`headcount`),Nf=g(`estimated_revenue`),Pf=g(`founded_year`),Ff=`company:overview@1`,If=r.object({pipe_id:r.literal(Ff),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Df.name]:E({fieldName:Df.name}),[Of.name]:E({fieldName:Of.name})})),output_fields:L(r.object({[kf.name]:O({fieldName:kf.name}),[Af.name]:O({fieldName:Af.name}),[jf.name]:O({fieldName:jf.name}),[Mf.name]:O({fieldName:Mf.name}),[Nf.name]:O({fieldName:Nf.name}),[Pf.name]:O({fieldName:Pf.name})}))}).optional()}),Lf=e=>dc(q(Df,e),q(Of,e)),Rf={"company-overview-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},zf=class extends H{pipeId=Ff;payloadSchema=If;billableOperations=Rf;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-overview-v1-pipe0`)}getInputRequirement(){return Lf(this.payload.config)}getRawOutputFields(){return{[kf.name]:this.catalogOutput(kf),[Af.name]:this.catalogOutput(Af),[jf.name]:this.catalogOutput(jf),[Mf.name]:this.catalogOutput(Mf),[Nf.name]:this.catalogOutput(Nf),[Pf.name]:this.catalogOutput(Pf)}}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}]}},Bf=If,Vf={pipeId:Ff,basePipe:G(Ff),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find high-level business and financial information like company description, estimated revenue, and headcount.`,docPath:`/resources/pipe-catalog/company:overview/1`,tags:[W.WEBSITE,W.LINKEDIN,W.FINANCIAL_DATA,W.DEPRECATED],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Rf,defaultInputRequirement:Lf(null),defaultPayload:{pipe_id:Ff,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}}}}},Hf=g(`company_website_url`),Uf=g(`company_profile_url`),Wf=g(`company_description`),Gf=g(`company_industry`),Kf=g(`company_region`),qf=g(`headcount`),Jf=g(`estimated_revenue`),Yf=g(`founded_year`),Xf=g(`company_name`),Zf=`company:overview@2`,Qf=r.object({pipe_id:r.literal(Zf),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Hf.name]:E({fieldName:Hf.name}),[Uf.name]:E({fieldName:Uf.name})})),output_fields:L(r.object({[Wf.name]:O({fieldName:Wf.name}),[Gf.name]:O({fieldName:Gf.name}),[Kf.name]:O({fieldName:Kf.name}),[qf.name]:O({fieldName:qf.name}),[Jf.name]:O({fieldName:Jf.name}),[Yf.name]:O({fieldName:Yf.name}),[Xf.name]:O({fieldName:Xf.name})}))}).optional()}),$f=e=>dc(q(Hf,e),q(Uf,e)),ep={"company-overview-v2-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},tp=class extends H{pipeId=Zf;payloadSchema=Qf;billableOperations=ep;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-overview-v2-pipe0`)}getInputRequirement(){return $f(this.payload.config)}getRawOutputFields(){return{[Wf.name]:this.catalogOutput(Wf),[Gf.name]:this.catalogOutput(Gf),[Kf.name]:this.catalogOutput(Kf),[qf.name]:this.catalogOutput(qf),[Jf.name]:this.catalogOutput(Jf),[Yf.name]:this.catalogOutput(Yf),[Xf.name]:this.catalogOutput(Xf)}}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}]}},np=Qf,rp={pipeId:Zf,basePipe:G(Zf),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:overview@3`},description:`Business description, industry, and financial information.`,docPath:K(Zf),tags:[W.WEBSITE,W.LINKEDIN,W.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:ep,defaultInputRequirement:$f(null),defaultPayload:{pipe_id:Zf,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}}}}},ip=g(`company_website_url`),ap=g(`technology_list`),op=g(`spending_trend`),sp=g(`technology_match_builtwith`),cp=`company:techstack:builtwith@1`,lp=r.object({pipe_id:r.literal(cp),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[ip.name]:E({fieldName:ip.name})})),output_fields:L(r.object({[ap.name]:O({fieldName:ap.name}),[sp.name]:O({fieldName:sp.name}),[op.name]:O({fieldName:op.name})}))}).optional()}),up=e=>V(q(ip,e)),dp={"company-techstack-builtwith-v1-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},fp=class extends H{pipeId=cp;payload;payloadSchema=lp;billableOperations=dp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(e){return J(e,`company-techstack-builtwith-v1-builtwith`)}getInputRequirement(){return up(this.payload.config)}getRawOutputFields(){return{[ap.name]:this.catalogOutput(ap),[sp.name]:this.catalogOutput(sp),[op.name]:this.catalogOutput(op)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},pp=lp,mp={pipeId:cp,basePipe:G(cp),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:techstack:builtwith@2`},description:`All technologies and frameworks powering a given website.`,tags:[W.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:K(cp),billableOperations:dp,defaultInputRequirement:up(null),defaultPayload:{pipe_id:cp,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}}}}},hp=`company:websiteurl:email@1`,gp=g(`company_website_url`),_p=g(`email`),vp=r.object({pipe_id:r.literal(hp),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[_p.name]:E({fieldName:_p.name})})),output_fields:L(r.object({[gp.name]:O({fieldName:gp.name})}))}).optional()}),yp=e=>V(q(_p,e)),bp={"company-websiteurl-email-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},xp=class extends H{pipeId=hp;payload;payloadSchema=vp;billableOperations=bp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`company-websiteurl-email-v1-pipe0`)}getInputRequirement(){return yp(this.payload.config)}getRawOutputFields(){return{[gp.name]:this.catalogOutput(gp)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Sp=vp,Cp={pipeId:hp,basePipe:G(hp),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:domain:workemail@1`},description:`Extract the company website URL from a work email address.`,tags:[W.EMAIL,W.WORK_EMAIL,W.WEBSITE],docPath:K(hp),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:bp,defaultInputRequirement:yp(null),defaultPayload:{pipe_id:hp,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},wp=`people:email:iswork@1`,Tp=g(`is_work_email`),Ep=g(`email`),Dp=r.object({pipe_id:r.literal(wp),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Ep.name]:E({fieldName:Ep.name})})),output_fields:L(r.object({[Tp.name]:O({fieldName:Tp.name})}))}).optional()}),Op=e=>V(q(Ep,e)),kp={"people-email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Ap=class extends H{pipeId=wp;payload;payloadSchema=Dp;billableOperations=kp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`people-email-iswork-v1-pipe0`)}getInputRequirement(){return Op(this.payload.config)}getRawOutputFields(){return{[Tp.name]:this.catalogOutput(Tp)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},jp=Dp,Mp={pipeId:wp,label:`Work email checker`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:iswork@1`},description:`Check if a given email address is personal or professional.`,tags:[W.EMAIL,W.WORK_EMAIL],docPath:K(wp),billableOperations:kp,basePipe:G(wp),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Op(null),defaultPayload:{pipe_id:wp,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},Np=`people:email:validate:zerobounce@1`,Pp=g(`work_email`),Fp=g(`is_email_valid`),Ip=r.object({pipe_id:r.literal(Np),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[Pp.name]:E({fieldName:Pp.name})})),output_fields:L(r.object({[Fp.name]:O({fieldName:Fp.name})}))}).optional()}),Lp=e=>V(q(Pp,e)),Rp={"people-email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},zp=class extends H{pipeId=Np;payload;payloadSchema=Ip;billableOperations=Rp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return J(e,`people-email-validate-zerobounce-v1-zerobounce`)}getInputRequirement(){return Lp(this.payload.config)}getRawOutputFields(){return{[Fp.name]:this.catalogOutput(Fp)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Bp=Ip,Vp={pipeId:Np,basePipe:G(Np),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@2`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[W.EMAIL],docPath:`/resources/pipe-catalog/people:email:validate:zerobounce/1`,billableOperations:Rp,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Lp(null),defaultPayload:{pipe_id:Np,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},Hp=`people:email:validate:zerobounce@2`,Up=g(`email`),Wp=g(`zerobounce_validation_status`),Gp=g(`zerobounce_validation_match`),Kp=r.object({pipe_id:r.literal(Hp),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[Up.name]:E({fieldName:Up.name})})),output_fields:L(r.object({[Gp.name]:O({fieldName:Gp.name}),[Wp.name]:O({fieldName:Wp.name})}))}).optional()}),qp=e=>V(q(Up,e)),Jp={"people-email-validate-zerobounce-v2-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},Yp=class extends H{pipeId=Hp;payload;payloadSchema=Kp;billableOperations=Jp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return J(e,`people-email-validate-zerobounce-v2-zerobounce`)}getInputRequirement(){return qp(this.payload.config)}getRawOutputFields(){return{[Wp.name]:this.catalogOutput(Wp),[Gp.name]:this.catalogOutput(Gp)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},Xp=Kp,Zp={pipeId:Hp,basePipe:G(Hp),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[W.EMAIL],docPath:K(Hp),billableOperations:Jp,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:qp(null),defaultPayload:{pipe_id:Hp,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 Qp(e){return(e.widgets||{}).display_value?.label}function $p(e){console.dir(e,{depth:100})}function em(e){return typeof e==`object`&&e?JSON.stringify(e):e}function Y(e){return e===0?1:e===1?.3:e===2?.2:.1}function tm(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=tm(e[n])}),t}const nm={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 X(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 rm=`people:identity:email:waterfall@1`,im=g(`email`),am=g(`company_website_url`),om=g(`name`),sm=g(`job_title`),cm=g(`profile_url`),lm=g(`company_profile_url`),um=g(`company_name`),dm=[`findymail`,`hunter`,`crustdata`],fm=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],pm=r.object({pipe_id:r.literal(rm),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:dm,defaultProviders:fm,sectionKey:`general`}),input_fields:R(r.object({[im.name]:E({fieldName:im.name})})),output_fields:L(r.object({[om.name]:O({fieldName:om.name}),[cm.name]:O({fieldName:cm.name}),[sm.name]:O({fieldName:sm.name}),[am.name]:O({fieldName:am.name}),[um.name]:O({fieldName:um.name}),[lm.name]:O({fieldName:lm.name})}))}).optional()}),mm=e=>V(q(im,e)),hm={"people-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},gm=class extends H{pipeId=rm;payload;payloadSchema=pm;billableOperations=hm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return mm(this.payload.config)}getRawOutputFields(){return{[om.name]:this.catalogOutput(om,{isPrimaryOutput:!0}),[cm.name]:this.catalogOutput(cm,{isPrimaryOutput:!0}),[sm.name]:this.catalogOutput(sm,{isPrimaryOutput:!0}),[um.name]:this.catalogOutput(um,{isPrimaryOutput:!0}),[lm.name]:this.catalogOutput(lm,{isPrimaryOutput:!0}),[am.name]:this.catalogOutput(am,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},_m=pm,vm={pipeId:rm,basePipe:G(rm),label:`Person identity from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:identity:email:waterfall@1`},description:`Find identity of a person from their email address.`,tags:[W.EMAIL,W.PEOPLE_PROFILES],docPath:K(rm),managedProviders:dm,deprecatedProviders:[],allowedUserConnectionProviders:dm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:hm,defaultInputRequirement:mm(null),defaultPayload:{pipe_id:rm,connector:null,run_if:null,config:{providers:fm,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}}}}},ym=`people:match:role:waterfall@1`,bm=g(`company_website_url`),xm=g(`role_finder_match`),Sm=[`leadmagic`],Cm=[{provider:`leadmagic`}],wm=r.object({pipe_id:r.literal(ym),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Cm,availableProviders:Sm}),roles:is({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:R(r.object({[bm.name]:E({fieldName:bm.name})})),output_fields:L(r.object({[xm.name]:O({fieldName:xm.name})}))})}),Tm=e=>dc(q(bm,e)),Em={"people-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Dm=class extends H{pipeId=ym;payload;payloadSchema=wm;billableOperations=Em;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Tm(this.payload.config)}getRawOutputFields(){return{[xm.name]:this.catalogOutput(xm,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Om=wm,km={pipeId:ym,basePipe:G(ym),managedProviders:Sm,deprecatedProviders:[],allowedUserConnectionProviders:Sm,label:`Role finder`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:match:role:waterfall@1`},description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[W.PEOPLE_PROFILES],docPath:K(ym),billableOperations:Em,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Tm(null),defaultPayload:{pipe_id:ym,run_if:null,connector:null,config:{roles:[],providers:Cm,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},Am=`people:mobilenumber:professionalprofile:waterfall@1`,jm=g(`professional_profile_url`),Mm=g(`mobile_number`),Nm=[`leadmagic`,`prospeo`],Pm=[{provider:`leadmagic`},{provider:`prospeo`}],Fm=r.object({pipe_id:r.literal(Am),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Pm,availableProviders:Nm}),input_fields:R(r.object({[jm.name]:E({fieldName:jm.name})})),output_fields:L(r.object({[Mm.name]:O({fieldName:Mm.name})}))}).optional()}),Im=e=>V(q(jm,e)),Lm={"people-mobilenumber-professionalprofile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-mobilenumber-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},Rm=class extends H{pipeId=Am;payload;payloadSchema=Fm;billableOperations=Lm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Im(this.payload.config)}getRawOutputFields(){return{[Mm.name]:this.catalogOutput(Mm)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},zm=Fm,Bm={pipeId:Am,basePipe:G(Am),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:profile:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:`/resources/pipe-catalog/people:mobilenumber:professionalprofile:waterfall/1`,tags:[W.PHONE,W.WATERFALL],billableOperations:Lm,defaultInputRequirement:Im(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Nm,deprecatedProviders:[],allowedUserConnectionProviders:Nm,defaultPayload:{pipe_id:Am,connector:null,run_if:null,config:{providers:Pm,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Vm=`people:mobilenumber:workemail:waterfall@1`,Hm=g(`work_email`),Um=g(`mobile_number`),Wm=[`leadmagic`],Gm=[{provider:`leadmagic`}],Km=r.object({pipe_id:r.literal(Vm),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Wm,defaultProviders:Gm}),input_fields:R(r.object({[Hm.name]:E({fieldName:Hm.name})})),output_fields:L(r.object({[Um.name]:O({fieldName:Um.name})}))}).optional()}),qm=e=>V(q(Hm,e)),Jm={"people-mobilenumber-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},Ym=class extends H{pipeId=Vm;payload;payloadSchema=Km;billableOperations=Jm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return qm(this.payload.config)}getRawOutputFields(){return{[Um.name]:this.catalogOutput(Um)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Xm=Km,Zm={pipeId:Vm,basePipe:G(Vm),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[W.PHONE,W.WATERFALL],docPath:`/resources/pipe-catalog/people:mobilenumber:workemail:waterfall/1`,billableOperations:Jm,defaultInputRequirement:qm(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Wm,managedProviders:Wm,deprecatedProviders:[],defaultPayload:{pipe_id:Vm,connector:null,run_if:null,config:{providers:Gm,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Qm=`people:name:split@1`,$m=g(`name`),eh=g(`first_name`),th=g(`last_name`),nh=r.object({pipe_id:r.literal(Qm),connector:w(),run_if:x(),config:r.object({input_fields:R(r.object({[$m.name]:E({fieldName:$m.name})})),output_fields:L(r.object({[eh.name]:O({fieldName:eh.name}),[th.name]:O({fieldName:th.name})}))}).optional()}),rh=e=>V(q($m,e)),ih={"people-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},ah=class extends H{pipeId=Qm;payload;payloadSchema=nh;billableOperations=ih;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`people-name-split-v1-pipe0`)}getInputRequirement(){return rh(this.payload.config)}getRawOutputFields(){return{[eh.name]:this.catalogOutput(eh),[th.name]:this.catalogOutput(th)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},oh=nh,sh={pipeId:Qm,basePipe:G(Qm),label:`Split name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:name:split@1`},description:`Split a full name into first and last name.`,tags:[W.NAMES],docPath:K(Qm),billableOperations:ih,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:rh(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Qm,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},ch=`people:personalemail:profile:waterfall@1`,lh=g(`profile_url`),uh=g(`personal_email`),dh=g(`alternate_personal_emails`),fh=[`clado`,`leadmagic`,`mixrank`],ph=[{provider:`leadmagic`},{provider:`mixrank`}],mh=r.object({pipe_id:r.literal(ch),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:fh,defaultProviders:ph}),input_fields:R(r.object({[lh.name]:E({fieldName:lh.name})})),output_fields:L(r.object({[uh.name]:O({fieldName:uh.name}),[dh.name]:O({fieldName:dh.name})}))}).optional()}),hh=e=>V(q(lh,e)),gh={"people-personalemail-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:2},mode:`always`},"people-personalemail-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-personalemail-profile-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},_h=class extends H{pipeId=ch;payload;payloadSchema=mh;billableOperations=gh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return hh(this.payload.config)}getRawOutputFields(){return{[uh.name]:this.catalogOutput(uh,{isPrimaryOutput:!0}),[dh.name]:this.catalogOutput(dh)}}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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},vh=mh,yh={pipeId:ch,basePipe:G(ch),allowedUserConnectionProviders:fh,managedProviders:fh,deprecatedProviders:[`clado`],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:personalemail:profileurl:waterfall@1`},description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[W.EMAIL,W.PERSONAL_EMAIL],docPath:K(ch),billableOperations:gh,defaultInputRequirement:hh(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:ch,connector:null,run_if:null,config:{providers:ph,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},bh=`people:phone:profile:waterfall@1`,xh=g(`profile_url`),Sh=g(`mobile`),Ch=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],wh=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Th=r.object({pipe_id:r.literal(bh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:wh,availableProviders:Ch}),input_fields:R(r.object({[xh.name]:E({fieldName:xh.name})})),output_fields:L(r.object({[Sh.name]:O({fieldName:Sh.name})}))}).optional()}),Eh=e=>V(q(xh,e)),Dh={"people-phone-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6},mode:`onSuccess`},"people-phone-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},Oh=class extends H{pipeId=bh;payload;payloadSchema=Th;billableOperations=Dh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Eh(this.payload.config)}getRawOutputFields(){return{[Sh.name]:this.catalogOutput(Sh,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},kh=Th,Ah={pipeId:bh,basePipe:G(bh),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:profileurl:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:K(bh),tags:[W.PHONE,W.WATERFALL],billableOperations:Dh,defaultInputRequirement:Eh(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Ch,allowedUserConnectionProviders:Ch,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:bh,connector:null,run_if:null,config:{providers:wh,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},jh=`people:phone:workemail:waterfall@1`,Mh=g(`work_email`),Nh=g(`mobile`),Ph=[`leadmagic`,`amplemarket`],Fh=[{provider:`leadmagic`},{provider:`amplemarket`}],Ih=r.object({pipe_id:r.literal(jh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Ph,defaultProviders:Fh}),input_fields:R(r.object({[Mh.name]:E({fieldName:Mh.name})})),output_fields:L(r.object({[Nh.name]:O({fieldName:Nh.name})}))}).optional()}),Lh=e=>V(q(Mh,e)),Rh={"people-phone-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},zh=class extends H{pipeId=jh;payload;payloadSchema=Ih;billableOperations=Rh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Lh(this.payload.config)}getRawOutputFields(){return{[Nh.name]:this.catalogOutput(Nh,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Bh=Ih,Vh={pipeId:jh,basePipe:G(jh),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[W.PHONE,W.WATERFALL],docPath:K(jh),billableOperations:Rh,defaultInputRequirement:Lh(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Ph,managedProviders:Ph,deprecatedProviders:[],defaultPayload:{pipe_id:jh,connector:null,run_if:null,config:{providers:Fh,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Hh=`people:professionalprofile:waterfall@1`,Uh=g(`professional_profile`),Wh=g(`professional_profile_url`),Gh=[`prospeo`,`icypeas`],Kh=[{provider:`prospeo`},{provider:`icypeas`}],qh=r.object({pipe_id:r.literal(Hh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Gh,defaultProviders:Kh}),input_fields:R(r.object({[Wh.name]:E({fieldName:Wh.name})})),output_fields:L(r.object({[Uh.name]:O({fieldName:Uh.name})}))}).optional()}),Jh=e=>V(q(Wh,e)),Yh={"people-professionalprofile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},Xh=class extends H{pipeId=Hh;payload;payloadSchema=qh;billableOperations=Yh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Jh(this.payload.config)}getRawOutputFields(){return{[Uh.name]:this.catalogOutput(Uh)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Zh=qh,Qh={pipeId:Hh,basePipe:G(Hh),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:`/resources/pipe-catalog/people:professionalprofile:waterfall/1`,tags:[W.LINKEDIN,W.WATERFALL],managedProviders:Gh,deprecatedProviders:[],allowedUserConnectionProviders:Gh,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Yh,defaultInputRequirement:Jh(null),defaultPayload:{pipe_id:Hh,run_if:null,connector:null,config:{providers:Kh,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},$h=`people:professionalprofileurl:email:waterfall@1`,eg=g(`email`),tg=g(`work_email`),ng=g(`professional_profile_url`),rg=[`leadmagic`],ig=[{provider:`leadmagic`}],ag=r.object({pipe_id:r.literal($h),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:ig,availableProviders:rg}),input_fields:R(r.object({[eg.name]:E({fieldName:eg.name}),[tg.name]:E({fieldName:tg.name})})),output_fields:L(r.object({[ng.name]:O({fieldName:ng.name})}))}).optional()}),og=e=>dc(q(eg,e),q(tg,e)),sg={"people-professionalprofileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},cg=class extends H{pipeId=$h;payload;payloadSchema=ag;billableOperations=sg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return og(this.payload.config)}getRawOutputFields(){return{[ng.name]:this.catalogOutput(ng)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lg=ag,ug={pipeId:$h,basePipe:G($h),managedProviders:rg,deprecatedProviders:[],allowedUserConnectionProviders:rg,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[W.LINKEDIN],docPath:`/resources/pipe-catalog/people:professionalprofileurl:email:waterfall/1`,billableOperations:sg,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:og(null),defaultPayload:{pipe_id:$h,run_if:null,connector:null,config:{providers:ig,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},dg=`people:professionalprofileurl:name@1`,fg=g(`name`),pg=g(`company_name`),mg=g(`location_hint`),hg=g(`professional_profile_url`),gg=r.object({pipe_id:r.literal(dg),connector:w(),run_if:x(),config:r.object({input_fields:R(r.object({[fg.name]:E({fieldName:fg.name}),[pg.name]:E({fieldName:pg.name}),[mg.name]:E({fieldName:mg.name})})),output_fields:L(r.object({[hg.name]:O({fieldName:hg.name})}))}).optional()}),_g=e=>uc(V(q(fg,e)),V(q(pg,e)),fc(q(mg,e))),vg={"people-professionalprofileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},yg=class extends H{pipeId=dg;payload;payloadSchema=gg;billableOperations=vg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`people-professionalprofileurl-name-v1-pipe0`)}getInputRequirement(){return _g(this.payload.config)}getRawOutputFields(){return{[hg.name]:this.catalogOutput(hg)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},bg=gg,xg={pipeId:dg,basePipe:G(dg),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:name@1`},allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],description:`Find the LinkedIn profile URL by using the prospect's name as input.`,docPath:`/resources/pipe-catalog/people:professionalprofileurl:name/1`,tags:[W.LINKEDIN],billableOperations:vg,defaultInputRequirement:_g(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:dg,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}}}}},Sg=`people:profile:waterfall@1`,Cg=g(`profile`),wg=g(`profile_url`),Tg=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Eg=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Dg=r.object({pipe_id:r.literal(Sg),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Tg,defaultProviders:Eg}),input_fields:R(r.object({[wg.name]:E({fieldName:wg.name})})),output_fields:L(r.object({[Cg.name]:O({fieldName:Cg.name})}))}).optional()}),Og=e=>V(q(wg,e)),kg={"people-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-clado":{provider:`clado`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},Ag=class extends H{pipeId=Sg;payload;payloadSchema=Dg;billableOperations=kg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Og(this.payload.config)}getRawOutputFields(){return{[Cg.name]:this.catalogOutput(Cg,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},jg=Dg,Mg={pipeId:Sg,basePipe:G(Sg),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:K(Sg),tags:[W.LINKEDIN,W.WATERFALL],managedProviders:Tg,deprecatedProviders:[`clado`],allowedUserConnectionProviders:Tg,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:kg,defaultInputRequirement:Og(null),defaultPayload:{pipe_id:Sg,run_if:null,connector:null,config:{providers:Eg,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},Ng=g(`work_email`),Pg=g(`crustdata_person_match`),Fg=g(`crustdata_profile_match_score`),Ig=`people:profile:workemail:crustdata@1`,Lg=r.object({pipe_id:r.literal(Ig),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[Ng.name]:E({fieldName:Ng.name})})),output_fields:L(r.object({[Pg.name]:O({fieldName:Pg.name}),[Fg.name]:O({fieldName:Fg.name})}))}).optional()}),Rg=e=>V(q(Ng,e)),zg={"people-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},Bg=class extends H{pipeId=Ig;payload;payloadSchema=Lg;billableOperations=zg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return J(e,`people-profile-workemail-crustdata-v1-crustdata`)}getInputRequirement(){return Rg(this.payload.config)}getRawOutputFields(){return{[Pg.name]:this.catalogOutput(Pg),[Fg.name]:this.catalogOutput(Fg)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},Vg=Lg,Hg={pipeId:Ig,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Ig),label:`Profile from work email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:workemail:crustdata@1`},description:`Find person profile by their work email address.`,tags:[W.EMAIL,W.PEOPLE_PROFILES],docPath:K(Ig),billableOperations:zg,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Rg(null),defaultPayload:{pipe_id:Ig,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}}}}},Ug=`people:profileurl:email:waterfall@1`,Wg=g(`email`),Gg=g(`work_email`),Kg=g(`profile_url`),qg=[`leadmagic`],Jg=[{provider:`leadmagic`}],Yg=r.object({pipe_id:r.literal(Ug),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Jg,availableProviders:qg}),input_fields:R(r.object({[Wg.name]:E({fieldName:Wg.name}),[Gg.name]:E({fieldName:Gg.name})})),output_fields:L(r.object({[Kg.name]:O({fieldName:Kg.name})}))}).optional()}),Xg=e=>dc(q(Wg,e),q(Gg,e)),Zg={"people-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},Qg=class extends H{pipeId=Ug;payload;payloadSchema=Yg;billableOperations=Zg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Xg(this.payload.config)}getRawOutputFields(){return{[Kg.name]:this.catalogOutput(Kg,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$g=Yg,e_={pipeId:Ug,basePipe:G(Ug),managedProviders:qg,deprecatedProviders:[],allowedUserConnectionProviders:qg,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[W.LINKEDIN],docPath:K(Ug),billableOperations:Zg,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Xg(null),defaultPayload:{pipe_id:Ug,run_if:null,connector:null,config:{providers:Jg,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},t_=`people:validate:email:zerobounce@1`,n_=g(`work_email`),r_=g(`ip_address`),i_=g(`is_email_valid`),a_=r.object({pipe_id:r.literal(t_),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[n_.name]:E({fieldName:n_.name}),[r_.name]:E({fieldName:r_.name})})),output_fields:L(r.object({[i_.name]:O({fieldName:i_.name})}))}).optional()}),o_=e=>uc(V(q(n_,e)),fc(q(r_,e))),s_={"people-validate-email-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.5},mode:`always`}},c_=class extends H{pipeId=t_;payload;payloadSchema=a_;billableOperations=s_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return J(e,`people-validate-email-zerobounce-v1-zerobounce`)}getInputRequirement(){return o_(this.payload.config)}getRawOutputFields(){return{[i_.name]:this.catalogOutput(i_)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},l_=a_,u_={pipeId:t_,basePipe:G(t_),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[W.EMAIL],docPath:`/resources/pipe-catalog/people:validate:email:zerobounce/1`,billableOperations:s_,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:o_(null),defaultPayload:{pipe_id:t_,connector:null,run_if:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},d_=`people:workemail:profileurl:waterfall@1`,f_=g(`profile_url`),p_=g(`work_email`),m_=g(`email_validation_status`),h_=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],g_=[`clado`],__=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],v_=r.object({pipe_id:r.literal(d_),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:h_,defaultProviders:__,sectionKey:`general`}),allow_catch_all_emails:ds({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:ds({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:R(r.object({[f_.name]:E({fieldName:f_.name})})),output_fields:L(r.object({[p_.name]:O({fieldName:p_.name}),[m_.name]:O({fieldName:m_.name})}))}).optional()}),y_=e=>V(q(f_,e)),b_={"people-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},x_=class extends H{pipeId=d_;payload;payloadSchema=v_;billableOperations=b_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return y_(this.payload.config)}getRawOutputFields(){return{[p_.name]:this.catalogOutput(p_,{isPrimaryOutput:!0}),[m_.name]:this.catalogOutput(m_,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`,clado:`clado_contact_information`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},S_=v_,C_={pipeId:d_,basePipe:G(d_),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:profileurl:waterfall@1`},description:`Find work email addresses from B2B profile.`,tags:[W.EMAIL,W.WORK_EMAIL,W.WATERFALL],docPath:K(d_),managedProviders:h_,allowedUserConnectionProviders:h_,deprecatedProviders:g_,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:b_,defaultInputRequirement:y_(null),defaultPayload:{pipe_id:d_,connector:null,run_if:null,config:{providers:__,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}}}}},w_=`people:workemail:waterfall@1`,T_=g(`name`),E_=g(`company_website_url`),D_=g(`company_name`),O_=g(`work_email`),k_=g(`email_validation_status`),A_=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],j_=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],M_=r.object({pipe_id:r.literal(w_),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:A_,defaultProviders:j_,sectionKey:`general`}),allow_catch_all_emails:ds({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:ds({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:R(r.object({[T_.name]:E({fieldName:T_.name}),[E_.name]:E({fieldName:E_.name}),[D_.name]:E({fieldName:D_.name})})),output_fields:L(r.object({[O_.name]:O({fieldName:O_.name}),[k_.name]:O({fieldName:k_.name})}))}).optional()}),N_=e=>uc(V(q(T_,e)),dc(q(E_,e),q(D_,e))),P_={"people-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"people-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},F_=class extends H{pipeId=w_;payload;payloadSchema=M_;billableOperations=P_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return N_(this.payload.config)}getRawOutputFields(){return{[O_.name]:this.catalogOutput(O_,{isPrimaryOutput:!0}),[k_.name]:this.catalogOutput(k_,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},I_=M_,L_={pipeId:w_,basePipe:G(w_),label:`Work email from name`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:waterfall@1`},description:`Find work email addresses in a waterfall motion.`,tags:[W.EMAIL,W.WORK_EMAIL,W.WATERFALL],docPath:K(w_),managedProviders:A_,deprecatedProviders:[],allowedUserConnectionProviders:A_,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:P_,defaultInputRequirement:N_(null),defaultPayload:{pipe_id:w_,connector:null,run_if:null,config:{providers:j_,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}}}}},R_=`email:iswork@1`,z_=g(`is_work_email`),B_=g(`email`),V_=r.object({pipe_id:r.literal(R_),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[B_.name]:E({fieldName:B_.name})})),output_fields:L(r.object({[z_.name]:O({fieldName:z_.name})}))}).optional()}),H_=e=>V(q(B_,e)),U_={"email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},W_=class extends H{pipeId=R_;payload;payloadSchema=V_;billableOperations=U_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`email-iswork-v1-pipe0`)}getInputRequirement(){return H_(this.payload.config)}getRawOutputFields(){return{[z_.name]:this.catalogOutput(z_)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},G_=V_,K_={pipeId:R_,label:`Work email checker`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Check if a given email address is personal or professional.`,tags:[W.EMAIL,W.WORK_EMAIL],docPath:K(R_),billableOperations:U_,basePipe:G(R_),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:H_(null),defaultPayload:{pipe_id:R_,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},q_=`email:send:gmail@1`,J_=g(`gmail_email_success`),Y_=r.object({pipe_id:r.literal(q_),connector:Go(),run_if:x(),config:r.object({to:S({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:S({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`}).nullable(),subject:S({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:S({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:pn,exampleValue:mn}},role_finder_match:{label:`Role finder match`,type:`json`,format:`json_object`,description:`Result of a role finder operation`,jsonMeta:{zodSchema:Or,exampleValue:kr}},post_text:{label:`Post text`,description:`Raw text content of a social media post`,format:`text`,type:`string`,jsonMeta:null},post_id:{label:`Post ID`,description:`Stable identifier of the post (its LinkedIn share URN)`,format:`text`,type:`string`,jsonMeta:null},amplemarket_person_match:{label:`Person match`,type:`json`,format:`json_object`,description:`Person match object as returned by Amplemarket`,jsonMeta:{zodSchema:Ft,exampleValue:It}},amplemarket_company_match:{label:`Company match`,type:`json`,format:`json_object`,description:`Company match object as returned by Amplemarket`,jsonMeta:{zodSchema:Nt,exampleValue:Pt}},companyenrich_matches:{label:`CompanyEnrich matches`,type:`json`,format:`json_object`,description:`CompanyEnrich response list.`,jsonMeta:{zodSchema:r.array(nn),exampleValue:[rn]}},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:In,zodSchema:Fn}},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:Er,exampleValue:Dr},format:`json_object`},professional_profile_url:{label:`LinkedIn Profile URL`,type:`string`,format:`profile_url`,description:`A person's LinkedIn profile URL.`,jsonMeta:null}},Zr={is_claim_successful:{},bucket_counter:{},found_in_bucket:{},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`}}:{}}},person_profile_match:{},company_region:{getStaticWidgets:e=>{let t={},n=qr(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:{getStaticWidgets(e){return typeof e==`string`?{entity_logo:{entity:e,image_url:Et(e)}}:{}}},company_name:{},first_name:{},addressee_name:{},address_line_1:{},address_line_2:{},job_title:{getStaticWidgets(e){return typeof e==`string`?{emoji:{value:xr(e)}}:{}}},job_description:{},profile_headline:{},address_city:{},address_country:{},address_state:{},zip_code:{},last_name:{},is_work_email:{},name:{getStaticWidgets(e){return typeof e==`string`?{avatar:{image_url:``,name:e}}:{}}},ip_address:{},skills:{},avatar_url:{},string_input:{},domain:{},url_input:{},slugified:{},http_response_status:{},http_response_body:{},http_response_headers:{},luma_id:{},registered_at:{},luma_event_guest_match:{getStaticWidgets(){return{display_value:{label:`Guest`}}}},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=Yr(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=Yr(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},company_profile_url:{getStaticWidgets(e){let t=Yr(e);return{display_value:t?{label:t}:void 0,icon:{key:`linkedin`}}}},developer_profile_url:{},alternative_developer_profile_urls:{},profile_posts:{getStaticWidgets(){return{display_value:{label:`LinkedIn posts`}}}},profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.name||`Person`} LinkedIn profile`}}:{}}},clado_person_profile:{getStaticWidgets(e){return e?{display_value:{label:`${e.profile?.name||`Person`} match`}}:{}}},email_subject:{},message:{},slack_message_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},resend_email_success:{getStaticWidgets(e){return{display_value:{label:e?`โ
Sent`:`โ Not sent`}}}},email_body:{},mobile:{},landline:{},phone:{},funding_history:{},funding_total_usd:{},leadmagic_competitor_list:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_acquisition_history:{getStaticWidgets(e){return e?{display_value:{label:e.map(e=>e.company_name).slice(0,4).join(`, `)}}:{}}},leadmagic_company_news_list:{getStaticWidgets(e){return e?{display_value:{label:`${e.length} news sources`}}:{}}},merge_result:{},website_markdown:{getStaticWidgets(e){return e?{display_value:{label:`๐ Markdown result`}}:{}}},urls:{},website_html:{},website_url:{},website_links:{},mapped_links:{},firecrawl_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},parallel_extract_result:{getStaticWidgets(){return{display_value:{label:`Extract result`}}}},exa_match_evaluation:{getStaticWidgets(){return{display_value:{label:`Exa match`}}}},email_validation_status:{},million_validation_match:{getStaticWidgets(){return{display_value:{label:`Validation result`}}}},post_list_string:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:Tt.linkedin}}}},crustdata_post_list:{getStaticWidgets(e){return{entity_logo:{entity:`LinkedIn`,image_url:Tt.linkedin}}}},crustdata_company_match:{},crustdata_company_identity_matches:{},crustdata_person_match:{},parallel_person_entity_match:{},parallel_company_entity_match:{},resend_contact_id:{},lemlist_lead_id:{},lemlist_enrollment_result:{getStaticWidgets(e){return e?{display_value:{label:`Enrolled`}}:{}}},sheet_record_id:{},sheet_record_ids:{},sheet_rows_found_count:{},sheet_found_rows:{getStaticWidgets(e){if(!e)return{};let t=e;return{display_value:{label:`${t.length} row${t.length===1?``:`s`}`}}}},sheet_found_row_ids:{},db_rows_found_count:{},db_found_rows:{getStaticWidgets(e){if(!e)return{};let t=e;return{display_value:{label:`${t.length} row${t.length===1?``:`s`}`}}}},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`}}}},post_match:{},post_text:{},post_id:{},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 g(e){return{...Xr[e],name:e}}function Qr(e,t){if(ei(e,t))return Zr[e]}function $r(e){return e in Xr}function ei(e,t){return e in Xr?Xr[e].format===t:!1}function ti(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 ni=r.enum(`company_description.cleaned_company_name.company_industry.company_region.location_hint.estimated_revenue.founded_year.technology_list.spending_trend.technology_match_builtwith.number_of_social_followers.email.personal_email.alternate_personal_emails.company_news_summary.work_email.headcount.company_website_url.company_domain.company_name.first_name.addressee_name.address_line_1.address_line_2.job_title.job_description.profile_headline.address_city.address_country.address_state.zip_code.last_name.is_work_email.companyenrich_match.companyenrich_matches.name.ip_address.skills.avatar_url.estimated_salary.is_email_valid.profile_url.developer_profile_url.alternative_developer_profile_urls.company_profile_url.profile_posts.clado_person_match.clado_person_match_v2.icypeas_person_match.icypeas_company_match.clado_person_profile.resend_email_success.email_body.email_subject.profile.mobile.landline.phone.message.slack_message_success.funding_history.funding_total_usd.template_output.gmail_email_success.zerobounce_validation_status.zerobounce_validation_match.leadmagic_competitor_list.leadmagic_acquisition_history.leadmagic_company_news_list.merge_result.mapped_links.website_markdown.website_html.website_url.urls.website_links.firecrawl_extract_result.parallel_extract_result.exa_match_evaluation.email_validation_status.million_validation_match.scrape_list_response.resend_contact_id.sheet_record_id.sheet_record_ids.sheet_rows_found_count.sheet_found_rows.sheet_found_row_ids.db_rows_found_count.db_found_rows.input_objects.role_finder_match.logodev_describe_match.logo_url.crustdata_company_match.crustdata_companyenrich_match.crustdata_company_identity_matches.crustdata_person_match.person_profile_match.parallel_person_entity_match.parallel_company_entity_match.post_list_string.crustdata_post_list.crustdata_profile_match_score.amplemarket_person_match.amplemarket_company_match.created_sheet.sheet.string_input.domain.url_input.slugified.http_response_status.http_response_body.http_response_headers.luma_id.registered_at.luma_event_guest_match.post_match.post_text.post_id.lemlist_lead_id.lemlist_enrollment_result.is_claim_successful.bucket_counter.found_in_bucket.professional_profile_url.professional_profile.company_social_url.mobile_number`.split(`.`)),ri=r.enum(`pipe0.findymail.crustdata.hunter.zerobounce.millionverifier.googlemaps.gemini.anthropic.leadmagic.mixrank.builtwith.perplexity.serper.icypeas.prospeo.clado.resend.slack.gmail.firecrawl.exa.openai.companyenrich.logodev.amplemarket.parallel.luma.postgres.databricks.lemlist`.split(`.`)),ii=r.enum([`production`,`sandbox`]),ai=`prompt:run@1.agent: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.lead:enroll:lemlist@1.people:match:role:waterfall@1.person:match:role:waterfall@1.person:identity:amplemarket@1.company:identity@2.company:identity@3.company:identity:crustdata@1.person:match:amplemarket@1.people:phone:profile:waterfall@1.person:mobile:profileurl:waterfall@1.people:personalemail:profile:waterfall@1.person:personalemail:profileurl:waterfall@1.people:profile:waterfall@1.person:profile:waterfall@1.people:profileurl:email:waterfall@1.person:profileurl:email:waterfall@1.person:profileurl:name@1.people:email:validate:zerobounce@1.person:email:validate:millionverifier@1.people:phone:workemail:waterfall@1.person:mobile:workemail:waterfall@1.fields:merge@1.field:slugify@1.field:domainify@1.website:scrape:firecrawl@1.website:scrapelist:firecrawl@1.website:extract:firecrawl@1.website:extract:parallel@1.website:maplinks:firecrawl@1.row:append:sheet@1.row:expandappend:sheet@1.row:roundrobin:sheet@1.bucket:claim@1.bucket:count@1.bucket:check@1.rows:find:sheet@1.rows:find:postgres@1.rows:find:databricks@1.company:lookalikes:companyenrich@1.company:lookalikes:companyenrich@2.company:match:logodev@1.company:match:logodev@2.person:posts:content:crustdata@1.company:match:crustdata@1.company:match:crustdata@2.people:profile:workemail:crustdata@1.person:profile:workemail:crustdata@1.people:workemail:profileurl:waterfall@1.person:workemail:profileurl:waterfall@1.people:identity:email:waterfall@1.person:identity:email:waterfall@1.person:devprofileurl:profileurl:waterfall@1.http:request@1.company:identity@1.people:professionalprofile:waterfall@1.people:professionalprofileurl:name@1.people:professionalprofileurl:email:waterfall@1.people:mobilenumber:professionalprofile:waterfall@1`.split(`.`),oi=r.enum(ai),si=[`string`,`number`,`boolean`,`json`,`unknown`],ci=r.enum(si),li=r.union([r.number(),r.string()]),ui=r.union([r.literal(`completed`),r.literal(`failed`),r.literal(`pending`),r.literal(`queued`),r.literal(`processing`),r.literal(`no_result`),r.literal(`skipped`)]),di=r.union([r.string().min(1),r.number(),r.boolean(),r.null(),r.record(r.string(),r.unknown()),r.array(r.unknown())]),fi=r.object({example_value:r.any().nullable(),schema:r.any().nullable()}),pi=r.object({type:r.literal(`static`).optional()}),mi=pi.extend({image_url:r.url().describe(`URL to the provider's logo image.`),entity:r.string().describe(`The name of the entity.`)}),hi=pi.extend({emoji:r.string().describe(`Country flag emoji.`)}),gi=pi.extend({image_url:r.url().describe(`URL to the provider's logo image.`),name:r.string().describe(`The name of the avatar owner.`)}),_i=pi.extend({attempted_providers:r.array(r.object({provider:ri})),available_providers:r.array(ri),successful_provider:ri.optional()}),vi=r.enum([`linkedin`,`job`]),yi=pi.extend({key:vi}).optional(),bi=pi.extend({result_status:r.enum([`completed`,`failed`])}).optional(),xi=pi.extend({list:r.array(r.object({source:r.string(),description:r.string().optional(),url:r.string()}))}).optional(),Si=pi.extend({numeric:r.int().min(1).max(5)}).optional(),Ci=pi.extend({value:r.string().min(1)}).optional(),wi=r.object({display_value:pi.extend({label:r.string().optional()}),entity_logo:mi.optional(),location_indicator:hi.optional(),avatar:gi.optional(),waterfall:_i.optional(),icon:yi,action_summary:bi,sources:xi,confidence:Si,emoji:Ci}).partial().describe(`A map of widgets associated with this field for UI display, keyed by widget type.`),Ti=r.object({code:r.string(),message:r.string(),path:r.string().optional()}),Ei=r.object({code:r.string(),summary:r.string(),message:r.string()}),Di=[`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`],Oi=r.enum(Di);Oi.nullable();const ki=r.object({type:ci,label:r.string().nullable().optional(),format:Oi.nullable().optional(),json_metadata:fi.nullable().optional()}),Ai=r.record(r.string(),ki),ji=r.enum([...ai,`input`]).nullable(),Mi=r.enum([...ai,`input`,`system`]).nullable(),Ni=r.object({ref:ji,config_hash:r.string().nullable()}),Pi=r.object({ref:Mi,environment:ii.nullable(),config_hash:r.string().nullable(),input_hash:r.string().nullable()}),Fi=r.object({value:di,status:ui,type:ci,reason:Ei.nullable(),claimed_by:Ni,resolved_by:Pi.nullable(),widgets:wi.optional(),format:Oi.nullable()}),Ii=r.object({value:di,status:ui,reason:Ei.nullable().optional(),type:ci.optional(),format:Oi.nullable().optional(),claimed_by:Ni.optional(),resolved_by:Pi.nullable().optional(),widgets:wi.optional()}),Li=r.record(r.string(),r.union([di,Ii])).openapi(`PipesInput`),Ri=r.object({id:li,fields:r.record(li,Fi)}),zi=r.object({type:r.literal(`catalog`),fieldName:r.string().min(1)}),Bi=r.object({type:ci,label:r.string(),added_by:r.object({ref:r.union([oi,r.literal(`input`)]),config_hash:r.string().nullable(),pipe_index:r.number().nullable()}),format:Oi.nullable(),is_primary_output:r.boolean()}),Vi=r.record(r.string(),Bi),Hi=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:Oi.nullable().default(null),label:r.string().optional(),type:ci})})).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)})})}),Ui=r.enum([`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`,`matches`]),Wi={eq:`equals`,neq:`not equals`,gt:`greater than`,gte:`greater than or equal`,lt:`less than`,lte:`less than or equal`,contains:`contains`,matches:`matches regex`},Gi=[`eq`,`neq`,`gt`,`gte`,`lt`,`lte`,`contains`,`matches`],Ki=[`eq`,`neq`],qi=r.object({type:r.literal(`vault`),connection:r.string().refine(e=>{let t=e.split(`_`)[0];return t!=null&&ri.safeParse(t).success},{message:`Invalid vault connection string: expected the full provider-prefixed value (e.g. "slack_my-workspace") where the segment before the first "_" is a known provider name. Copy the string exactly as the vault lists it โ never strip the prefix.`})}),Ji=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(qi)}).nullable().optional(),Yi=r.object({strategy:r.enum([`first`]).default(`first`),connections:r.array(qi).min(1,{message:`Provide your own credentials to use this object.`})},{error:`Provide your own credentials to use this object.`}),Xi=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(),Zi=r.enum(Gi),Qi=r.enum(Ki),$i=r.enum([`failed`,`no_result`,`completed`,`skipped`]),ea=r.object({property:r.literal(`value`).describe(`Compare the actual field value. Use operators: eq, neq, gt, gte, lt, lte, contains, matches.`),field_name:r.string().min(1,{message:`Provide a target field for the condition.`}).describe(`Name of a field from input data or produced by an earlier pipe in the workflow.`),operator:Zi.describe(`Comparison operator: "eq", "neq", "gt", "gte", "lt", "lte", "contains", "matches" (regex).`),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.`})})}),ta=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:Qi.describe(`Status comparison operator: "eq" or "neq".`),value:$i.describe(`Field status to compare against: "completed", "no_result", "failed", or "skipped".`)}),na=r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(r.discriminatedUnion(`property`,[ea,ta])).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).`),ra=r.object({logic:r.enum([`and`,`or`]).describe(`"and" = all conditions must match. "or" = any condition matches.`),conditions:r.array(ea).min(1).describe(`Array of value conditions to evaluate.`)}).describe(`Condition block. All conditions are combined with the chosen logic (and/or).`),ia=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:na}).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" }] } }`),aa={pipe0:{name:`pipe0`,label:`pipe0`,description:`A framework for lead and company data enrichment.`,url:`https://pipe0.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,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/a612ed1c-d5cf-421a-23c5-3cf74f506100/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/95032a9f-932b-4898-ff0d-45d49390d100/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},anthropic:{name:`anthropic`,label:`Anthropic`,description:`Anthropic's Claude AI models`,url:`https://www.anthropic.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8f2b7ff3-12a6-4c55-31fd-460b9f461300/icon`,background:{light:`#F0EEE6`,dark:`#2B2A26`},oAuthConfig:null},slack:{name:`slack`,label:`Slack`,description:`A modern business chat application.`,url:`https://slack.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/676e823c-c926-4b0b-465c-121b9d1c3300/icon`,background:{light:`#F1E0FF`,dark:`#2A0E44`},oAuthConfig:{}},companyenrich:{name:`companyenrich`,label:`CompanyEnrich`,description:`A company enrichment service.`,url:`https://companyenrich.com`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/e80b3a16-7b36-4733-bcbe-46f471d33100/icon`,background:{light:`#DCEEFF`,dark:`#0E2C4A`},oAuthConfig:{}},mixrank:{name:`mixrank`,label:`MixRank`,description:`Ultra-high-frequency technographic and people data for your data teams.`,url:`https://mixrank.com/`,hasManagedConnections:!0,allowsUserConnections:!1,connectionType:`api_key`,oAuthConfig:{},public:!0,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/a29f3095-b3f9-4b12-d21b-1c506ccd7200/icon`,background:{light:`#FFE5D4`,dark:`#3A1D08`}},clado:{name:`clado`,label:`Clado`,description:`A data provider deploying 10^5 AI agents to find contact information.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,connectionType:`api_key`,url:`https://clado.ai`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fdf3d2d0-70be-45c3-2fe5-a8c5cac55a00/icon`,background:{light:`#E8E8EC`,dark:`#1A1A1F`},oAuthConfig:null},gmail:{name:`gmail`,label:`Gmail`,description:`Google's email service`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`oauth_token_bundle`,url:`https://mail.google.com`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8da8ab6b-7f7e-4c42-6abf-212ea537db00/icon`,background:{light:`#FFD8D8`,dark:`#45100F`},oAuthConfig:{}},resend:{name:`resend`,label:`Resend`,description:`An email platform built for developers.`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,url:`https://clado.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7c88f71b-8472-40f4-4bec-0e77eac30400/icon`,background:{light:`#EDEDEE`,dark:`#1A1A1C`},oAuthConfig:null},firecrawl:{name:`firecrawl`,label:`Firecrawl`,description:`Firecrawl is an API service that takes a URL, crawls it, and converts it into clean markdown. Firecrawl crawls all accessible subpages and gives you clean markdown for each. No sitemap required.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.firecrawl.dev`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5c318569-7bf4-4276-a3f2-1f25530f7f00/icon`,background:{light:`#FFE5CC`,dark:`#3A1A05`},oAuthConfig:null},exa:{name:`exa`,label:`Exa`,description:`Exa is a search engine built for AI.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://exa.ai/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/8ae69780-4506-4952-a90e-02e70b06af00/icon`,background:{light:`#D8DCFF`,dark:`#14154A`},oAuthConfig:null},openai:{name:`openai`,label:`OpenAI`,description:`Foundational AI company based out of San Francisco.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://openai.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7ac79c3a-bccb-4ed4-d6e5-7b300b2fd300/icon`,background:{light:`#D8EFE4`,dark:`#0C2A1C`},oAuthConfig:null},millionverifier:{name:`millionverifier`,label:`MillionVerifier`,description:`E-Mail validation service.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.millionverifier.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/7a8bd9cb-efeb-492e-3f4c-311c9492b800/icon`,background:{light:`#D8F0DB`,dark:`#0E3215`},oAuthConfig:null},logodev:{name:`logodev`,label:`Logo.dev`,description:`Every company logo, one simple API.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.logo.dev/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/1defa51b-5c01-4034-1030-60f68aa46400/icon`,background:{light:`#F4ECD4`,dark:`#2C2406`},oAuthConfig:null},crustdata:{name:`crustdata`,label:`Crustdata`,description:`Real-time company & people data`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://crustdata.com/`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/fa05be24-d174-40f0-69c2-4fdb43c6be00/icon`,background:{light:`#FFE2D2`,dark:`#3C1A08`},oAuthConfig:null},amplemarket:{name:`amplemarket`,label:`Amplemarket`,description:`Sales data platform`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://www.amplemarket.com`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/adecf16b-4187-409b-d77f-16fc07fc6100/icon`,background:{light:`#FFD8E1`,dark:`#45102A`},oAuthConfig:null},parallel:{name:`parallel`,label:`Parallel`,description:`Agentic web search & research APIs purpose-built for AI agents.`,public:!0,hasManagedConnections:!0,allowsUserConnections:!0,url:`https://parallel.ai`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/13d4ae54-9400-4577-8fbf-c96021fb0000/icon`,background:{light:`#E0E5FF`,dark:`#0F1A3D`},oAuthConfig:null},luma:{name:`luma`,label:`Luma`,description:`Delightful events, calendars, and ticketing for communities.`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,url:`https://lu.ma`,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/ed6cf16b-e69e-4f90-7718-85e4600fff00/icon`,background:{light:`#FFF0E6`,dark:`#3A1F0F`},oAuthConfig:null},postgres:{name:`postgres`,label:`PostgreSQL`,description:`Connect your own PostgreSQL database and query it read-only.`,url:`https://www.postgresql.org`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`connection_string`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/eb8b2802-8280-45c3-ee08-a24aad6a0a00/icon`,background:{light:`#DCE9F5`,dark:`#0B2A45`},oAuthConfig:null},databricks:{name:`databricks`,label:`Databricks`,description:`Query your Databricks SQL warehouse read-only via a service principal.`,url:`https://www.databricks.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`databricks`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/07b73e49-e1fa-445b-865e-2b7dc2641700/icon`,background:{light:`#F5E6DC`,dark:`#3A1B0B`},oAuthConfig:null},lemlist:{name:`lemlist`,label:`lemlist`,description:`Sales engagement & cold outreach platform.`,url:`https://lemlist.com`,public:!0,hasManagedConnections:!1,allowsUserConnections:!0,connectionType:`api_key`,logoUrl:`https://imagedelivery.net/3B3AWuP94-S3Ro5eEac6JA/5d2b25c5-86a7-4eea-9416-fcca77cc7000/icon`,background:{light:`#E6F0FF`,dark:`#0E1F3D`},oAuthConfig:null}},oa=[`if`,`elsif`,`else`,`endif`,`unless`,`endunless`,`for`,`endfor`,`break`,`continue`,`output`],sa=[`json`,`escape`,`escape_once`,`default`,`upcase`,`downcase`,`size`,`join`,`first`,`last`,`replace`,`truncate`,`strip`,`newline_to_br`,`url_encode`],ca=/^[A-Z][A-Z0-9_]*$/,la=/^[A-Z][A-Z0-9_]*$/,ua=/^[a-zA-Z_][a-zA-Z0-9_]*$/,da=`SECRETS`,fa=`CONSTANTS`,pa=new Set(oa),ma=new Set(sa),ha=e=>`{${e}}`;var ga=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!ca.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]}},_a=class extends i{constructor(e){super(),this.values=e}liquidMethodMissing(e){let t=String(e);if(!la.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 va(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(!ua.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 ya(){let e=new a({strictVariables:!1,strictFilters:!0,jsTruthy:!0,greedy:!1,catchAllErrors:!1,ownPropertyOnly:!0});e.registerTag(`output`,{parse(e,t){let n=va(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(ha(n.name))}});for(let t of Object.keys(e.tags))pa.has(t)||delete e.tags[t];for(let t of Object.keys(e.filters))ma.has(t)||delete e.filters[t];return e}let ba=null;function xa(){return ba||=ya(),ba}async function Sa(e,t,n={}){let r=xa(),i=n.renderLimitMs??250,a={...t.inputs??{},[da]:new ga(t.secrets??{}),[fa]:new _a(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 Ca(e,t,n={}){let r=xa(),i=n.renderLimitMs??250,a={...t.inputs??{},[da]:new ga(t.secrets??{}),[fa]:new _a(t.constants??{})},o=r.parseAndRenderSync(e,a,{globals:{__outputAllowed:n.outputAllowed===!0},renderLimit:i});return String(o)}function wa(e){return xa().parse(e)}function Ta(e){let t=xa().parse(e),n={scopeStack:[],guardStack:[],inputs:new Map,secrets:new Set,constants:new Set,outputs:[],forDepth:0};Ea(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 Ea(e,t){for(let n of e)Da(n,t)}function Da(e,t){let n=e;if(n.value&&typeof n.value==`object`&&`filters`in n.value&&`initial`in n.value){Ma(n.value,t,!1);return}if(typeof n.name==`string`){Oa(n,t);return}}function Oa(e,t){switch(e.name){case`for`:ka(e,t);return;case`if`:case`unless`:Aa(e,t);return;case`output`:ja(e,t);return;case`break`:case`continue`:return;default:throw Error(`Unhandled liquid tag in analyzer: ${e.name}`)}}function ka(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&&Na(e.collection,t,!1);let n=typeof e.variable==`string`?e.variable:null;n&&t.scopeStack.push(n),Ea(Array.isArray(e.templates)?e.templates:[],t),n&&t.scopeStack.pop(),Ea(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t),--t.forDepth}function Aa(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=Ia(i.initial)),a&&t.guardStack.push(a),i&&typeof i==`object`&&Ma(i,t,!1),Ea(r.templates,t),a&&t.guardStack.pop()}Ea(Array.isArray(e.elseTemplates)?e.elseTemplates:[],t)}function ja(e,t){let n=e.outputDecl;if(!n){let t=e.token?.args;typeof t==`string`&&(n=va(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 Ma(e,t,n){let r=e.filters.some(e=>e.name===`default`),i=n||r;for(let n of e.initial.postfix)La(n)&&Fa(n,t,i);for(let n of e.filters)for(let e of n.args)Pa(e,t)}function Na(e,t,n){La(e)&&Fa(e,t,n)}function Pa(e,t){if(Array.isArray(e)){let n=e[1];n&&Na(n,t,!1)}else Na(e,t,!1)}function Fa(e,t,n){let r=e.props;if(r.length===0)return;let i=r[0];if(!i||!Ra(i))return;let a=i.content;if(t.scopeStack.includes(a))return;if(a===`SECRETS`){let e=r[1];if(!e||!Ra(e))throw Error(`Invalid SECRETS reference โ expected SECRETS.KEY (got ${Va(r)}).`);let n=e.content;if(!ca.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||!Ra(e))throw Error(`Invalid CONSTANTS reference โ expected CONSTANTS.KEY (got ${Va(r)}).`);let n=e.content;if(!la.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 Ia(e){if(e.postfix.length===1){let t=e.postfix[0];if(t&&La(t)&&t.props.length===1){let e=t.props[0];if(e&&Ra(e))return e.content}}if(e.postfix.length===3){let[t,n,r]=e.postfix;if(t&&n&&r&&La(t)&&t.props.length===1){let e=t.props[0];if(e&&Ra(e)&&za(n)&&Ba(r,[`==`,`!=`]))return e.content}}return null}function La(e){return e.kind===o.PropertyAccess}function Ra(e){return!!e&&typeof e==`object`&&e.kind===o.Word}function za(e){if(e.kind!==o.Literal)return!1;let t=e.literal;return t===`nil`||t===`null`}function Ba(e,t){return e.kind===o.Operator?t.includes(e.operator):!1}function Va(e){let t=[];for(let n of e)n&&Ra(n)?t.push(n.content):t.push(`?`);return t.join(`.`)}const Ha=`default`,Ua=`pipe0_default`;function Wa(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:ri.parse(n),id:r}}catch{throw Error(`Connection string ${e}: Failed to parse provider name.`)}}function Ga(e){return`${e.provider}_${e.id}`}const Ka=new s;function qa(e){return Ka.validateSchema(e)}function Ja(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}function Ya(e){try{return JSON.parse(e)}catch{}return JSON.parse(eo(e))}function Xa(e){try{return Ya(e)}catch{return}}const Za=/[A-Za-z_$]/,Qa=/[\w$]/,$a=/\s/;function eo(e){let t=``,n=0,r=e.length;for(;n<r;){let i=e[n];if(i===`"`||i===`'`){let a=i,o=``;for(n++;n<r&&e[n]!==a;){if(e[n]===`\\`){o+=`\\${e[n+1]??``}`,n+=2;continue}o+=e[n],n++}n++,t+=JSON.stringify(to(o));continue}if(Za.test(i)){let i=n;for(;i<r&&Qa.test(e[i]);)i++;let a=e.slice(n,i),o=i;for(;o<r&&$a.test(e[o]);)o++;t+=e[o]===`:`?JSON.stringify(a):a,n=i;continue}if(i===`,`){let t=n+1;for(;t<r&&$a.test(e[t]);)t++;if(e[t]===`}`||e[t]===`]`){n++;continue}}t+=i,n++}return t}function to(e){let t=``;for(let n=0;n<e.length;n++){if(e[n]!==`\\`){t+=e[n];continue}let r=e[++n];switch(r){case`n`:t+=`
|
|
68
|
+
`;break;case`t`:t+=` `;break;case`r`:t+=`\r`;break;case`b`:t+=`\b`;break;case`f`:t+=`\f`;break;case`v`:t+=`\v`;break;case`0`:t+=`\0`;break;case`u`:{let r=e.slice(n+1,n+5);/^[0-9a-fA-F]{4}$/.test(r)?(t+=String.fromCharCode(Number.parseInt(r,16)),n+=4):t+=`u`;break}default:t+=r??``;break}}return t}const no=(e,t=`Add a ${e} connection to enable this field`)=>n=>(n.connector?.connections??[]).some(t=>t?.connection?.startsWith(`${e}_`))?{disabled:!1}:{disabled:!0,message:t},ro=(e,t)=>n=>{let r=e(n);return r!=null&&r!==``?{disabled:!1}:{disabled:!0,message:t}},io=(...e)=>t=>{for(let n of e){let e=n(t);if(e.disabled)return e}return{disabled:!1}},ao=(...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},oo=[`google-low`,`openai-high`,`anthropic-high`],so={"google-low":{label:`Gemini 3.5 Flash`,provider:`gemini`,rateLimitOperation:`gemini_35_flash`,rateLimitRatio:1,allowManagedConnection:!0,billingMode:`always`},"openai-high":{label:`GPT-5.5`,provider:`openai`,rateLimitOperation:`openai_gpt-5`,rateLimitRatio:1,allowManagedConnection:!0,billingMode:`always`},"anthropic-high":{label:`Claude Opus 4.8`,provider:`anthropic`,rateLimitOperation:`anthropic_opus`,rateLimitRatio:1,allowManagedConnection:!0,billingMode:`always`}},co=.03,lo=.3,uo=100,fo=100,po={"google-low":{inputPer1M:1.5,outputPer1M:9},"openai-high":{inputPer1M:5,outputPer1M:30},"anthropic-high":{inputPer1M:5,outputPer1M:25}};function mo(e){let t=so[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[t.provider]}function ho(e){let t=so[e];if(!t)throw Error(`Unknown AI model: ${e}`);return[{provider:t.provider,rateLimitRatio:t.rateLimitRatio,rateLimitOperation:t.rateLimitOperation,allowManagedConnection:t.allowManagedConnection}]}function go(){let e=new Set;for(let t of oo)e.add(so[t].provider);return[...e]}function _o(e){return Object.keys(e).some(e=>oo.some(t=>e.endsWith(`-in-${t}`)||e.endsWith(`-out-${t}`)))}function vo(e,t){return e/1e6*(1+lo)/co*t}function yo(e){let t=po[e];if(!t)throw Error(`Unknown AI model: ${e}`);return{in:vo(t.inputPer1M,100),out:vo(t.outputPer1M,100)}}function bo(e,t){let n=Math.round(lo*100);return`Billed per 100 ${e} tokens at ${Number(t.toPrecision(4))} credits/block (managed keys include a ${n}% margin over provider cost).`}function xo(e){let t={};for(let n of oo){let r=so[n],i=yo(n);t[`${e}-in-${n}`]={credits:{default:i.in},allowManagedConnection:!0,provider:r.provider,mode:r.billingMode,note:bo(`input`,i.in)},t[`${e}-out-${n}`]={credits:{default:i.out},allowManagedConnection:!0,provider:r.provider,mode:r.billingMode,note:bo(`output`,i.out)}}return t}function So(e,t){return{input:`${t}-in-${e}`,output:`${t}-out-${e}`}}function Co(e,t){let n=So(t.model,t.prefix);return[{billableOperation:n.input,quantity:e.count*Math.ceil(t.inputTokens/100)},{billableOperation:n.output,quantity:e.count*Math.ceil(t.outputTokens/100)}]}var wo=class{carriedInput=0;carriedOutput=0;addUsage(e){this.carriedInput+=Math.max(0,e.inputTokens),this.carriedOutput+=Math.max(0,e.outputTokens)}drainBlocks(){let e=Math.floor(this.carriedInput/100),t=Math.floor(this.carriedOutput/100);return this.carriedInput-=e*100,this.carriedOutput-=t*100,{inBlocks:e,outBlocks:t}}flush(){let e=+(this.carriedInput>0),t=+(this.carriedOutput>0);return this.carriedInput=0,this.carriedOutput=0,{inBlocks:e,outBlocks:t}}};function To(e){if(!e?.requires)return;let t=[];e.requires.connection&&t.push(no(e.requires.connection));for(let n of e.requires.fields??[])t.push(ro(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]:io(...t)}function Eo(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=ti(e,n,t),s=$r(o.fieldName)?g(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();{let e=v._map,t=v.get.bind(v);v.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 y=r.registry();{let e=y._map,t=y.get.bind(y);y.get=n=>{let r=n;for(;r;){let t=e.get(r);if(typeof t==`function`)return t;r=r?._zod?.parent}return t(n)}}const Do=e=>e,b={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(),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(),number_input:r.coerce.number(),min_max_int_input:r.object({min:r.number().nullable().default(null),max:r.number().nullable().default(null)}),include_exclude_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),async_include_exclude_select_input:r.object({include:r.array(r.string()).default([]),exclude:r.array(r.string()).default([])}),exact_range_input:r.record(r.string(),r.number().nullable()),range_input:r.object({from:r.number().nullable(),to:r.number().nullable()}),date_range_input:r.record(r.string(),r.string()),multi_create_input:r.array(r.string()),ordered_multi_create_input:r.array(r.string()),tagged_ordered_multi_create_input:r.array(r.string()),loose_object_input:r.record(r.string(),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(),condition_block_input:r.record(r.string(),r.unknown()).nullable(),fields_select_input:r.array(r.object({field_name:r.string()})),typed_fields_select_input:r.array(r.object({field_name:r.string(),type:r.enum(si),format:r.enum(Di).nullable().optional()})),field_select_input: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())]),search_payload_input:r.looseObject({search_id:r.string()})},Oo=(e,t,n)=>{let r=[t.description||n,t.guide].filter(Boolean).join(` `);return r?e.describe(r):e},ko=(e,t)=>{let n=b.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},Ao=(e,t)=>{let n=b.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},jo=/^\s*\{\{\s*[a-zA-Z_][a-zA-Z0-9_.]*(?:\s*\|\s*[^}]+)?\s*\}\}\s*$/,Mo=/\{\{|\{%/,No=(e,t)=>{let n=b.tagged_ordered_multi_create_input;e.maxItems&&(n=n.max(e.maxItems)),n=n.check(e=>{let t=e;(t.value??[]).forEach((e,n)=>{let r=jo.test(e),i=Mo.test(e);!r&&i&&t.issues.push({code:`custom`,input:e,path:[n],message:`Each entry must be either plain text or a single field reference โ not mixed.`})})}),n=e.minItems?n.min(e.minItems):n.default([]);let r={type:`tagged_ordered_multi_create_input`,...e};if(t===_){let i=t=>{let n=t.validationContext,i=n?Object.entries(n.fieldDefinitions).filter(([e,n])=>n.added_by.config_hash!==t.hash).filter(([t,n])=>!e.expectedTagType||n.type===e.expectedTagType).map(([e,t])=>({...t,resolvedName:e})):[];return{...r,inputFields:i}};return i.staticMeta={...r,inputFields:[]},t.add(n,i),n}return t.add(n,r),n},Po=(e,t)=>{let n=b.loose_object_input;n=n.check(t=>{let n=t,r=Object.entries(n.value??{});e.minKeys!=null&&r.length<e.minKeys&&n.issues.push({code:`custom`,input:n.value,message:`Add at least ${e.minKeys} ${e.keyLabel?.toLowerCase()??`entr`}${e.keyLabel?`s`:`ies`}.`}),e.maxKeys!=null&&r.length>e.maxKeys&&n.issues.push({code:`custom`,input:n.value,message:`Use at most ${e.maxKeys} ${e.keyLabel?.toLowerCase()??`entr`}${e.keyLabel?`s`:`ies`}.`}),r.forEach(([e,t])=>{us({value:t,issues:n.issues},!1,[e])})}),n=n.default({});let r={type:`loose_object_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},Fo=(e,t)=>{let n=e.maxItems||200,r=Oo(b.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)`})}),e);return t.add(r,{type:`include_exclude_input`,...e}),r},Io=()=>{let e=Hi;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}=Eo(e,t,n)||{};return{fieldName:e,fieldLabel:n.label,schema:r||null,exampleValue:i||null}}),path:`config.json_extraction`,groupPath:`config.json_extraction`,sectionKey:`general`}}),e},Lo=(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:aa[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},Ro=(e,t)=>{let n=e.maxItems||200,r=Oo(b.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)`})}),e);return t.add(r,{type:`include_exclude_select_input`,...e}),r},zo=(e,t)=>{let n=Oo(b.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`}`})}),e);return t.add(n,{type:`exact_range_input`,...e}),n},Bo=(e,t)=>{let n=r.object({from:r.number().optional().nullable(),to:r.number().optional().nullable()}).default({from:null,to:null}),i=n;(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.`})}));let a=Oo(i,e);return t.add(a,{type:`range_input`,...e}),a},Vo=(e,t)=>{let n=Oo(b.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`})}),e);return t.add(n,{type:`date_range_input`,...e}),n},Ho=(e,t)=>{let n=Oo(b.boolean_input.default(e.defaultValue),e);return t.add(n,{...e,required:!1,type:`boolean_input`}),n},Uo=(e,t)=>{let n=Oo(b.nullable_boolean_input.default(e.defaultValue),e);return t.add(n,{...e,required:!1,type:`nullable_boolean_input`,defaultValue:e.defaultValue}),n},Wo=(e,t)=>{let n=b.text_input;e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern)));let r=Oo(n,e);return t.add(r,{type:`text_input`,...e}),r},Go=(e,t)=>{let n=b.textarea_input;e.minLength&&(n=n.min(e.minLength)),e.maxLength&&(n=n.max(e.maxLength));let r=Oo(n,e);return t.add(r,{type:`textarea_input`,...e}),r},Ko=(e,t,n=`pipe_io`)=>{let i=r.object({alias:r.string().default(``).describe(`Rename this output field. Leave empty to use default name.`),enabled:r.boolean().default(!0).describe(`Whether to include this field in the output.`)}).describe(`Output field '${e.fieldName}'`);return t.add(i,{type:`output_field_input`,label:`Rename *${e.fieldName}*`,placeholder:e.fieldName,path:`config.output_fields.${e.fieldName}`,description:void 0,groupPath:`config.output_fields`,sectionKey:n}),i.default({alias:``,enabled:!0})},qo=(e,t)=>r.unknown().check(e=>{t(e.value)&&e.issues.push({code:`custom`,input:e.value,message:`Required`})}).pipe(e),Jo=(e,t)=>{let n=Oo(qo(b.int_input.check(t=>{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}`})}),e=>e==null),e);return t.add(n,{...e,type:`int_input`}),n},Yo=(e,t)=>{let n=Oo(qo(b.number_input.check(t=>{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}`})}),e=>e===void 0),e);return t.add(n,{...e,type:`number_input`}),n},Xo=(e,t)=>{let n=b.json_schema_input;return n.check(e=>{qa(e.value)||e.issues.push({code:`custom`,input:e.value,message:`JSON schema is invalid. Check your input.`})}),e.allowEmpty||(n=n.check(e=>{Ja(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(n,{...e,type:`json_schema_input`}),n},Zo=(e,t)=>{let n=e.options.map(e=>e.value),r=new Set([...n,``]),i=b.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=Oo(e.defaultValue?i.default(e.defaultValue):i,e);return t.add(a,{type:`select_input`,...e}),a},Qo=(e,t,n)=>{let r=Oo(b.search_payload_input.check(e=>{if(!e.value?.search_id){e.issues.push({code:`custom`,input:e.value,message:`Required`});return}let t=n?.safeParse(e.value);if(t&&!t.success)for(let n of t.error.issues)e.issues.push({code:`custom`,input:e.value,message:n.message,path:n.path})}),e);return t.add(r,{...e,type:`search_payload_input`,required:!0}),r},$o=({billableOperations:e,...t},n)=>{let i=r.enum(oo).default(t.defaultValue||`google-low`);return n.add(i,{type:`select_input`,options:oo.map(t=>{let n=Object.keys(e).find(e=>e.endsWith(`-in-${t}`)),r=Object.keys(e).find(e=>e.endsWith(`-out-${t}`)),i=n?e[n]:void 0,a=r?e[r]:void 0;if(!i||!a)throw Error(`Unable to find token billing info for model ${t}`);return{label:so[t].label,value:t,widgets:{logo:{url:aa[so[t].provider].logoUrl},token_pricing:{inputPerBlock:i.credits.default,outputPerBlock:a.credits.default,blockSize:100}}}}),required:!0,description:``,label:`AI Models`,...t}),i},es=(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`});let r=new Set;t.value.forEach((e,a)=>{i.has(e)?r.has(e)?t.issues.push({code:`custom`,input:e,path:[a],message:`Duplicate option: ${e}`}):r.add(e):t.issues.push({code:`custom`,input:e,path:[a],message:`Must be one of: ${n.join(`, `)}`})})});return t.add(a,{type:`multi_select_input`,...e}),a},ts=(e,t)=>{let n=e.required?b.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`})}):b.context_select_input,r=e.defaultValue?n.default(e.defaultValue):n,i=e.enabledIf??To(e.optionsDef);return t.add(r,{type:`context_select_input`,...e,enabledIf:i,options:[]}),r},ns=(e,t)=>{let n=b.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},rs=(e,t)=>{let n=b.async_multi_select_input.check(t=>{e.required&&t.value.length===0&&t.issues.push({code:`custom`,input:t.value,message:`Required`})});return e.maxItems&&(n=n.max(e.maxItems)),t.add(n,{type:`async_multi_select_input`,...e}),n},is=(e,t)=>{let n=e.maxItems||200,r=b.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)`})});return t.add(r,{type:`async_include_exclude_select_input`,...e}),r},x=()=>{let e=ia.nullish();return _.add(e,e=>{let t=e.validationContext;return{label:``,description:``,type:`pipes_run_if_input`,groupPath:`run_if`,path:`run_if`,sectionKey:`pipe_io`,fields:Object.entries(t.fieldDefinitions).filter(([e,t])=>t.type!==`json`&&e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:t.label,format:t.format,type:t.type}))}}),e},as=e=>{let t=na.nullish();return y.add(t,t=>{let n=t.validationContext;return{type:`condition_block_input`,...e,fields:Object.entries(n.fieldDefinitions).filter(([e,t])=>t.type!==`json`&&e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:t.label,format:t.format,type:t.type}))}}),t},os=e=>{let{required:t=!0,...n}=e,r=Oo(ra.nullable().check(e=>{let n=e;if(n.value===null){t&&n.issues.push({code:`custom`,input:n.value,message:`Add at least one condition.`});return}(n.value?.conditions??[]).forEach((e,t)=>{typeof e.value==`string`&&us({value:e.value,issues:n.issues},!1,[`conditions`,t,`value`])})}),n,"Condition block over the target sheet's columns. `field_name` is a LITERAL column name of the looked-up sheet (never templated); string `value`s may contain `{{ field }}` / `{{ SECRETS.KEY }}` / `{{ CONSTANTS.KEY }}` Liquid references resolved per row."+(t?``:" `null` means no filtering.")),i=n.optionsDef?{...n.optionsDef,enabledIf:n.optionsDef.enabledIf??To(n.optionsDef)}:void 0,a={type:`condition_block_input`,fields:[],fieldNameMode:`text`,properties:[`value`],...n,optionsDef:i,options:[]},o=e=>{let t=e.validationContext;return{...a,inputFields:Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e.hash).map(([e,t])=>({...t,resolvedName:e}))}};return o.staticMeta={...a,inputFields:[]},_.add(r,o),t?r:r.default(null)};function ss(e,t){if(!t)return e;let n={...e};for(let[r,i]of Object.entries(t))n[r]=i===null?null:{...e[r]??{},...i};return n}function cs({fieldMetadata:e,store:t}){let n=e;if(e.type===`context_select_input`||e.type===`tagged_text_input`||(e.type===`condition_block_input`||e.type===`field_select_input`||e.type===`fields_select_input`||e.type===`typed_fields_select_input`)&&n.optionsDef){t.field_options??={};let r=t.field_options[e.path]?.options||[],i=n.optionsDef?.widgets;e.options=i?r.map(e=>({...e,widgets:{...i,...e.widgets??{}}})):r}return e}const ls=({schema:e,extractFromSchema:t,store:n,formResolvers:i,sectionMap:a,groupMap:o,pathMap:s})=>{let c={};function l(e){let t=e?._zod?.def?.type;return!(t===`optional`||t===`nullable`||t===`default`)}function u(e,d){let f=t(e),ee=f?.required,te=f&&ee===void 0&&d!==void 0?{...f,required:d}:f;if(te){let{sectionKey:e,groupPath:t,path:r}=te,l=a?.[e],u=o?.[t],d=s?.[r];if(!(l===null||u===null||d===null)){let r=d?{...te,label:d.label??te.label,description:d.description??te.description}:te;c[e]??={type:`section`,groups:[],metadata:{type:`form_section`,path:l?.path??e,label:l?.label,description:l?.description}};let a=c[e];if(!a)throw Error(`Section not defined`);let o=a.groups.find(e=>e.groupPath===t);if(o){let e=cs({fieldMetadata:r,store:n,formResolvers:i});e&&o.fields.push(e)}else{let e=cs({fieldMetadata:r,store:n,formResolvers:i});e&&a.groups.push({groupPath:t,fields:[e],type:`group`,label:u?.label,defaultExpand:!!u?.defaultExpand,description:u?.description,iconKey:u?.iconKey,order:u?.order})}}}if(typeof e==`object`&&`unwrap`in e&&typeof e.unwrap==`function`&&u(e.unwrap(),d),e instanceof r.ZodObject)for(let t of Object.values(e.shape))u(t,l(t))}u(e);for(let e of Object.values(c))e.groups=e.groups.filter(e=>e.fields.length!==0),e.groups.sort((e,t)=>(e.order??99)-(t.order??99));return Object.entries(c).filter(([,e])=>e.groups.length!==0).sort(([e],[t])=>(a?.[e]?.order??99)-(a?.[t]?.order??99)).map(([,e])=>e)};function us(e,t,n=[]){let r=e.value;if(!(typeof r!=`string`||!r))try{let i=Ta(r);!t&&i.outputs.length>0&&e.issues.push({code:`custom`,input:r,path:n,message:`{% output %} tags are not allowed in this field.`}),t&&i.outputs.length===0&&e.issues.push({code:`custom`,input:r,path:n,message:`At least one {% output %} tag is required, e.g. {% output result, type: "string", description: "..." %}`})}catch(t){e.issues.push({code:`custom`,input:r,path:n,message:t instanceof Error?t.message:String(t)})}}const ds=e=>{let t=(e.supportedTags??[]).includes(`output`),n=r.object({template:Oo(r.string().min(10).check(e=>us(e,t,[])),e,'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 _.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},fs=e=>{let t=r.string();e.required&&(t=t.min(1)),e.maxLength&&(t=t.max(e.maxLength));let n=Oo(t.check(e=>us(e,!1,[])),e,'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 _.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},S=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))),n=n.check(e=>us(e,!1,[])),n=Oo(n,e,t);let i=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??To(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 ps(e,t){_.add(e,({userConnections:e,pipeEntry:n})=>{let r=new Set(n.allowedUserConnectionProviders),i=e.filter(e=>r.has(e.provider));return{label:t===`required`?`Custom connection`:``,description:``,required:t===`required`,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:Ga({id:e.public_id,provider:e.provider})}))}})}const ms=()=>{let e=Yi;return ps(e,`required`),e},C=()=>{let e=Ji;return ps(e,`optional`),e},w=()=>{let e=Xi;return ps(e,`disabled`),e};function hs(e,t){v.add(e,({userConnections:e,searchEntry:n})=>{let r=n.allowsUserConnection?[n.provider]:[],i=new Set(r),a=e.filter(e=>i.has(e.provider));return{label:t===`required`?`Custom connection`:``,description:``,required:t===`required`,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:i.size>0,filteredConnections:a.map(e=>({provider:e.provider,connection:Ga({id:e.public_id,provider:e.provider})}))}})}const gs=()=>{let e=Yi;return hs(e,`required`),e},_s=()=>{let e=Ji;return hs(e,`optional`),e};function vs(e,t){y.add(e,({userConnections:e,effectEntry:n})=>{let r=new Set(n.allowedUserConnectionProviders),i=e.filter(e=>r.has(e.provider));return{label:t===`required`?`Custom connection`:``,description:``,required:t===`required`,groupPath:`connector`,path:`connector`,connectorMode:t,type:`connector_input`,sectionKey:`pipe_io`,supportsUserConnections:r.size>0,filteredConnections:i.map(e=>({provider:e.provider,connection:Ga({id:e.public_id,provider:e.provider})}))}})}const ys=()=>{let e=Yi;return vs(e,`required`),e},bs=()=>{let e=Ji;return vs(e,`optional`),e},T=()=>{let e=Xi;return vs(e,`disabled`),e};function xs(e,t){return Object.entries(t.fieldDefinitions).filter(([t,n])=>n.added_by.config_hash!==e&&t.toLowerCase()!==`id`).map(([e,t])=>({label:e,value:e,type:t.type,format:t.format}))}const E=e=>{let t=r.object({alias:r.string().describe(`Override field name mapping. Leave empty to use default.`)});return _.add(t,t=>{let n=t.validationContext;return{type:`select_input`,required:!1,sectionKey:`pipe_io`,defaultValue:void 0,placeholder:e.fieldName,options:xs(t.hash,n),path:`config.input_fields.${e.fieldName}.alias`,label:`Assign *${e.fieldName}* to:`,description:``,groupPath:`config.input_fields`,multiple:!1}}),t.default({alias:``})},D=e=>Lo(e,_),Ss=e=>{let t=b.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`})})});t=e.minItems?t.min(e.minItems):t.default([]);let n=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??To(e.optionsDef)}:void 0,r={type:`fields_select_input`,...e,optionsDef:n,options:[]},i=e=>{if(n)return{...r};let t=e.validationContext;return{...r,options:Object.entries(t.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>({value:e,label:e,widgets:{field_type:{type:t.type}}}))}};return i.staticMeta=r,_.add(t,i),t},Cs=e=>{let t=b.typed_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`})})});t=e.minItems?t.min(e.minItems):t.default([]);let n=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??To(e.optionsDef)}:void 0,r={type:`typed_fields_select_input`,...e,optionsDef:n,options:[]},i=e=>{if(n)return{...r};let t=e.validationContext;return{...r,options:Object.entries(t.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>{let n=typeof t.type==`function`?`unknown`:t.type;return{value:e,label:e,data:{type:String(n),...t.format?{format:String(t.format)}:{}},widgets:{field_type:{type:t.type}}}})}};return i.staticMeta=r,_.add(t,i),t},ws=e=>{let t=b.field_select_input.check(t=>{e.required&&t.value.field_name.length<1&&t.issues.push({code:`custom`,input:t.value.field_name,path:[`field_name`],message:`Select a field`})});e.required||(t=t.default({field_name:``})),t=Oo(t,e,"Reference to a single sheet column by name (`{ field_name }`).");let n=e.optionsDef?{...e.optionsDef,enabledIf:e.optionsDef.enabledIf??To(e.optionsDef)}:void 0,r={type:`field_select_input`,...e,optionsDef:n,options:[]},i=e=>{if(n)return{...r};let t=e.validationContext;return{...r,options:Object.entries(t.fieldDefinitions).filter(([t,n])=>t.toLowerCase()!==`id`&&n.added_by.config_hash!==e.hash).map(([e,t])=>({value:e,label:e,widgets:{field_type:{type:t.type}}}))}};return i.staticMeta=r,_.add(t,i),t},Ts=e=>{let t=b.fields_select_input.check(e=>{e.value.forEach((t,n)=>{t.field_name.length<1&&e.issues.push({code:`custom`,input:t.field_name,path:[n,`field_name`],message:`field_name must not be empty`})})});return t=e.minItems?t.min(e.minItems):t.default([]),y.add(t,t=>{let n=t.validationContext;return{type:`fields_select_input`,options:Object.entries(n.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>({fieldName:e,fieldLabel:e,type:t.type})).map(e=>({value:e.fieldName,label:e.fieldLabel,widgets:{field_type:{type:e.type}}})),...e}}),t},Es=(e,t)=>{let n=t===`selection`?xt:t===`sheet`?St:wt,i={label:`All rows`,value:{type:`all`}},a={label:`Specific rows by ID`,value:{type:`rows`,record_ids:[]}},o=t===`selection`?[a]:t===`sheet`?[i]:[i,a,{label:`Window of 10 rows`,value:{type:`window`,count:10}}],s=r.preprocess(e=>{if(typeof e!=`string`)return e;let t=e.trim();if(t===``)return;let n=Xa(t);return n===void 0?e:n},n).optional();return y.add(s,{type:`textarea_input`,rows:3,language:`json`,quickOptions:o,...e}),s},Ds=e=>Fo(e,_),Os=e=>ko(e,_),ks=e=>Ao(e,_),As=e=>No(e,_),js=e=>Po(e,_),Ms=e=>Ro(e,_),Ns=e=>is(e,_),Ps=e=>zo(e,_),Fs=e=>Vo(e,_),O=e=>Ho(e,_),k=e=>Ko(e,_),Is=e=>{let{groupPath:t,sectionKey:n=`pipe_io`,defaultName:r,nameInfo:i}=e;return{destination_field_name:Ls({label:`Field name`,description:`Destination field name`,info:i??`Name of the field written to the destination sheet.`,placeholder:r,inputType:`text`,path:`config.destination_field_name`,groupPath:t,sectionKey:n}).nullable().default(``),destination_field_type:zs({label:`Type`,info:`Field data type. Leave unset to infer it from the data.`,path:`config.destination_field_type`,groupPath:t,sectionKey:n,required:!1,options:si.filter(e=>e!==`unknown`).map(e=>({value:e,label:e}))}).default(``),destination_field_format:zs({label:`Format`,info:`Optional display format for the field.`,path:`config.destination_field_format`,groupPath:t,sectionKey:n,required:!1,options:Di.map(e=>({value:e,label:e}))}).default(``),destination_field_label:Ls({label:`Label`,description:`Destination field label`,info:`Human-friendly column header. Defaults to the field name.`,inputType:`text`,path:`config.destination_field_label`,groupPath:t,sectionKey:n}).nullable().default(``)}},Ls=e=>Wo(e,_),Rs=e=>Go(e,_),zs=e=>Zo(e,_),Bs=e=>$o(e,_),Vs=e=>es(e,_),Hs=e=>Jo(e,_),Us=e=>Yo(e,_),Ws=e=>Xo(e,_),Gs=e=>ts(e,_),A=e=>ko(e,v),Ks=e=>Ao(e,v),qs=e=>ns(e,v),j=e=>Fo(e,v),M=e=>Ro(e,v),Js=e=>zo(e,v),Ys=e=>Bo(e,v),Xs=e=>Vo(e,v),Zs=e=>Ho(e,v),Qs=e=>Uo(e,v),N=e=>Ko(e,v,`pipe_io`),$s=e=>Wo(e,v),ec=e=>Go(e,v),tc=e=>Zo(e,v),nc=e=>ts(e,v),P=e=>es(e,v),F=e=>rs(e,v),I=e=>is(e,v),L=e=>Jo(e,v),rc=e=>Yo(e,v),ic=e=>Wo(e,Do(y)),ac=e=>Go(e,Do(y)),oc=e=>Zo(e,Do(y)),sc=e=>es(e,Do(y)),cc=e=>Jo(e,Do(y)),lc=e=>Jo(e,Do(y)).nullish(),uc=e=>Ho(e,Do(y)),dc=e=>ts(e,Do(y)),fc=e=>$o(e,Do(y)),pc=(e,t)=>Qo(e,Do(y),t),R=e=>(e=e.check(e=>{let t=e.value,n=!1;for(let e in t)if(t[e]?.enabled){n=!0;break}n||e.issues.push({code:`custom`,input:e.value,message:`All output fields are disabled. Enable at least one output.`})}),e.optional()),z=e=>e.optional();function mc(e){if(typeof e!=`object`||!e)return e;if(Array.isArray(e))return e.map(mc).filter(e=>!Xn(e));let t={};for(let[n,r]of Object.entries(e)){let e=mc(r);Xn(e)||(t[n]=e)}return t}const hc=await l();var gc=class e{static hashObject(t){if(!hc)throw Error(`HashAPI not initialized`);let{h64ToString:n}=hc,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 B(e){return e.split(`@`)[0]}function _c(e,t){let n={effectId:e,config:mc(t)};return gc.hashObject(n)}var V=class{validatePayload(e){try{return this.schema.parse(e)}catch(e){throw e instanceof n?Error(JSON.stringify(r.prettifyError(e))):e}}getSecretRequirements(){return[]}getConstantRequirements(){return[]}getConfigHashKey(){return _c(this.payload.effect_id,this.payload.config||{})}producesDynamicFields(){return!1}evolveSchema(e){return{next:e}}getRecordQueueConfig(e){return null}};const vc=`env:change@1`,yc={},bc=r.object({effect_id:r.literal(vc),connector:T(),config:r.object({environment:ii})}),xc=class extends V{effectId=vc;schema=bc;payload;billableOperations=yc;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},Sc=bc,Cc={effectId:vc,baseEffect:B(vc),label:`Change environment`,description:`Switch the sheet between production and sandbox.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:yc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:vc,connector:null,config:{environment:`production`}}},wc=`fields:add@1`,Tc={},Ec=r.object({effect_id:r.literal(wc),connector:T(),config:r.object({})}),Dc=class extends V{effectId=wc;schema=Ec;payload;billableOperations=Tc;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},Oc=Ec,kc={effectId:wc,baseEffect:B(wc),label:`Add field`,description:`Add a new empty field to the sheet.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Tc,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:wc,connector:null,config:{}}},Ac=[`id`],jc=e=>Ac.includes(e.trim().toLowerCase()),Mc=e=>typeof e.kind==`string`,Nc=e=>Mc(e)?e:{kind:`field`,field:e},H=e=>({kind:`field`,field:e}),Pc=(...e)=>({kind:`all`,of:e.map(Nc)}),Fc=(...e)=>({kind:`any`,of:e.map(Nc)}),Ic=e=>({kind:`optional`,field:e});function Lc(e,t){switch(e.kind){case`optional`:return!0;case`field`:return t.has(e.field.resolvedName);case`all`:return e.of.every(e=>Lc(e,t));case`any`:return e.of.some(e=>Lc(e,t))}}function Rc(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(Rc)}}function zc(e,t){let n=Bc(e,t);return n.ok?{valid:!0,failedPipeInputField:null,failedRecordField:null}:{valid:!1,failedPipeInputField:n.field,failedRecordField:n.recordField}}function Bc(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=Bc(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=Bc(i,t);if(r=!0,e.ok)return{ok:!0};n=e}catch{}return r?n:{ok:!0}}}}function Vc(e,t){let n={pipeId:e,config:mc(t)};return gc.hashObject(n)}function Hc(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:gc.hashObject(mc(n))}var U=class{validatePayload(e){try{return this.payloadSchema.parse(e)}catch(e){throw e instanceof n?Error(r.prettifyError(e)):e}}getSecretRequirements(){return[]}getConstantRequirements(){return[]}getBucketRequirements(){return[]}async getAgentContext(e){return null}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 Rc(this.getInputRequirement()))e[t.name]=t;return e}getConfigHashKey(){return Vc(this.payload.pipe_id,this.payload.config||{})}getInputHashKey(e){return Hc(e,this.inputFields)}};const Uc={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:`United States, 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 W(e){return Uc[e]}function Wc(e,t){return typeof t==`string`?t:t(e)}function Gc(e,t){return typeof t==`string`||t===null?t:t(e)}function Kc(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:Wc(e,a[r].type),format:Gc(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 qc(e,t){for(let n of e.pipes){let r=n.getOutputFields();if(r[t])return{type:Wc(e,r[t].type),format:Gc(e,r[t].format)}}let n=e.derivedInputFields[t];if(n)return{type:n.type,format:null}}function Jc(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=Ta(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=>qc(t,e)?.type||n,format:r};a.push(t.required?H(i):Ic(i))}return Pc(...a)}function Yc(e){let t=new Set;for(let n of e)if(n)try{let e=Ta(n);for(let n of e.secrets)t.add(n)}catch{}return[...t]}function Xc(e){let t=new Set;for(let n of e)if(n)try{let e=Ta(n);for(let n of e.constants)t.add(n)}catch{}return[...t]}const G={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`,EVENTS:`Events`,JSON:`Json`,FIELDS:`Fields`,LOGIC:`Logic`,DEPRECATED:`Deprecated โ`};function Zc(e,t){let n={};for(let r of t)for(let t of Object.values(e))if(t&&t.provider===r&&t.allowManagedConnection){n[r]=t.credits.default;break}return n}function Qc(e){return Rc(e).map(({field:e})=>e)}function $c({recordField:e,value:t,resolvedBy:n,widgets:r}){return e.value=t,e.status=`completed`,e.resolved_by=n,e.widgets=r,e}function el({recordField:e}){return e.status=`pending`,e.resolved_by=null,e.value=null,e}function tl({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 nl(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 rl(e,t){return e.value=null,e.status=`skipped`,e.resolved_by=null,e.reason=t,e.widgets={},e}function il(e){return e.value=null,e.status=`processing`,e.resolved_by=null,e.widgets={},e}function K(e){return e.split(`@`)[0]}function q(e){return`/docs/pipe-catalog/${K(e)}/${e.split(`@`)[1]}`}function J(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 al=`agent:run@1`,ol=`agent-run-v1`,sl=[{value:`web_researcher`,label:`Web researcher`,widgets:{emoji:{char:`๐`}}}],cl={...xo(ol),"agent-run-v1-search-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.2},mode:`always`,note:`Billed per web search the agent performs.`},"agent-run-v1-extract-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.1},mode:`always`,note:`Billed per URL-extraction call the agent performs.`}},ll=r.object({pipe_id:r.literal(al),connector:C(),run_if:x(),config:r.object({agent_type:zs({sectionKey:`general`,groupPath:`config.prompt`,path:`config.agent_type`,label:`Agent type`,defaultValue:`web_researcher`,options:[...sl],required:!0}),prompt:ds({sectionKey:`general`,path:`config.prompt`,placeholder:W(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:Bs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:cl})})}),ul=class extends U{pipeId=al;payload;payloadSchema=ll;billableOperations=cl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[...mo(this.payload.config.model),`parallel`]}estimateBillableOperations(e){return[...Co(e,{model:this.payload.config.model,prefix:ol,inputTokens:2e4,outputTokens:1500}),{billableOperation:`agent-run-v1-search-parallel`,quantity:e.count*4},{billableOperation:`agent-run-v1-extract-parallel`,quantity:e.count*1}]}getInputRequirement(){return Jc([this.payload.config.prompt.template])}getSecretRequirements(){return Yc([this.payload.config.prompt.template])}getConstantRequirements(){return Xc([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=Ta(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[...ho(this.payload.config.model),{provider:`parallel`,rateLimitRatio:4,rateLimitOperation:`parallel_search_base`,allowManagedConnection:!0},{provider:`parallel`,rateLimitRatio:1,rateLimitOperation:`parallel_extract`,allowManagedConnection:!0}]}},dl=ll,fl={pipeId:al,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:K(al),label:`AI agent`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,description:`Runs an AI research agent with web tools and structured output fields.`,guide:`AI agent with tools. Like prompt:run@1, inputs and outputs are fully dynamic โ defined by the tags in the prompt template โ but the agent can call tools before answering. The agent type decides the toolset: web_researcher gets web search and URL extraction, for questions model knowledge alone can't answer ('has {{ company_name }} ever raised money?', 'find the general counsel of {{ company_name }}'). Every tool call is billed on top of tokens, so when no live research is needed, use prompt:run@1 instead. Fields the agent cannot ground in evidence come back as no_result, not a guess.`,tags:[G.AI],keywords:[`research`,`web search`,`llm`,`gpt`,`chatgpt`,`browse`,`tools`],docPath:q(al),defaultInputRequirement:null,billableOperations:cl,allowedUserConnectionProviders:[...go(),`parallel`],managedProviders:[...go(),`parallel`],deprecatedProviders:[],defaultPayload:{pipe_id:al,connector:null,run_if:null,config:{agent_type:`web_researcher`,model:`google-low`,prompt:{template:``,json_schemas:{}}}}};function Y(e,...t){return t.map(t=>({billableOperation:t,quantity:e.count}))}function pl(e,t){return n=>{let r=e[n];if(!r)throw Error(`Missing billableOperation def for "${n}"`);return!r.allowManagedConnection||t?.(r.provider)?0:r.credits.default}}function ml(e,t,n=`sum`){let r=e.map(e=>e.quantity*t(e.billableOperation));return r.length===0?0:n===`max`?Math.max(...r):r.reduce((e,t)=>e+t,0)}const hl=`company:domain:workemail@1`,gl=g(`company_domain`),_l=g(`work_email`),vl=r.object({pipe_id:r.literal(hl),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[_l.name]:E({fieldName:_l.name})})),output_fields:R(r.object({[gl.name]:k({fieldName:gl.name})}))}).optional()}),yl=e=>H(J(_l,e)),bl={"company-domain-workemail-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},xl=class extends U{pipeId=hl;payload;payloadSchema=vl;billableOperations=bl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-domain-workemail-v1-pipe0`)}getInputRequirement(){return yl(this.payload.config)}getRawOutputFields(){return{[gl.name]:this.catalogOutput(gl)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Sl=vl,Cl={pipeId:hl,basePipe:K(hl),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:[G.EMAIL,G.WORK_EMAIL,G.WEBSITE],keywords:[`url`,`extract`,`site`,`web address`],docPath:q(hl),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:bl,defaultInputRequirement:yl(null),defaultPayload:{pipe_id:hl,connector:null,run_if:null,config:{input_fields:{[_l.name]:{alias:``}},output_fields:{[gl.name]:{alias:``,enabled:!0}}}}},wl=`company:funding:leadmagic@2`,Tl=g(`company_name`),El=g(`company_domain`),Dl=g(`funding_history`),Ol=g(`funding_total_usd`),kl=g(`leadmagic_competitor_list`),Al=g(`leadmagic_acquisition_history`),jl=g(`leadmagic_company_news_list`),Ml=r.object({pipe_id:r.literal(wl),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[Tl.name]:E({fieldName:Tl.name}),[El.name]:E({fieldName:El.name})})),output_fields:R(r.object({[Dl.name]:k({fieldName:Dl.name}),[Ol.name]:k({fieldName:Ol.name}),[kl.name]:k({fieldName:kl.name}),[Al.name]:k({fieldName:Al.name}),[jl.name]:k({fieldName:jl.name})}))}).optional()}),Nl=e=>Fc(J(Tl,e),J(El,e)),Pl={"company-funding-leadmagic-v2-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},Fl=class extends U{pipeId=wl;payload;payloadSchema=Ml;billableOperations=Pl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(e){return Y(e,`company-funding-leadmagic-v2-leadmagic`)}getInputRequirement(){return Nl(this.payload.config)}getRawOutputFields(){return{[Dl.name]:this.catalogOutput(Dl),[Ol.name]:this.catalogOutput(Ol),[Al.name]:this.catalogOutput(Al),[jl.name]:this.catalogOutput(jl),[kl.name]:this.catalogOutput(kl)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},Il=Ml,Ll={pipeId:wl,basePipe:K(wl),label:`Funding history`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[G.FINANCIAL_DATA],keywords:[`investors`,`rounds`,`raised`,`acquisition`,`venture`,`series`,`capital`],docPath:q(wl),billableOperations:Pl,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:Nl(null),defaultPayload:{pipe_id:wl,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:``}}}}},Rl=g(`company_name`),zl=g(`company_profile_url`),Bl=g(`company_domain`),Vl=g(`cleaned_company_name`),Hl=`company:identity@3`,Ul=r.object({pipe_id:r.literal(Hl),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Rl.name]:E({fieldName:Rl.name})})),output_fields:R(r.object({[zl.name]:k({fieldName:zl.name}),[Vl.name]:k({fieldName:Vl.name}),[Bl.name]:k({fieldName:Bl.name})}))}).optional()}),Wl=e=>H(J(Rl,e)),Gl={"company-identity-v3-pipe0":{allowManagedConnection:!0,credits:{default:.3,level1:{credits:.2,weight:1}},mode:`always`,provider:`pipe0`}},Kl=class extends U{pipeId=Hl;payload;payloadSchema=Ul;billableOperations=Gl;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-identity-v3-pipe0`)}getInputRequirement(){return Wl(this.payload.config)}getRawOutputFields(){return{[zl.name]:this.catalogOutput(zl),[Bl.name]:this.catalogOutput(Bl),[Vl.name]:this.catalogOutput(Vl)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},ql=Ul,Jl={pipeId:Hl,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(Hl),label:`Company identity`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[G.WEBSITE,G.LINKEDIN],keywords:[`website`,`linkedin`,`url`,`domain`,`resolve`,`normalize`],docPath:q(Hl),billableOperations:Gl,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Wl(null),defaultPayload:{pipe_id:Hl,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}}}}},Yl=g(`company_domain`),Xl=g(`company_name`),Zl=g(`crustdata_company_identity_matches`),Ql=`company:identity:crustdata@1`,$l=r.object({pipe_id:r.literal(Ql),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[Yl.name]:E({fieldName:Yl.name}),[Xl.name]:E({fieldName:Xl.name})})),output_fields:R(r.object({[Zl.name]:k({fieldName:Zl.name})}))}).optional()}),eu=e=>Fc(J(Yl,e),J(Xl,e)),tu={"company-identity-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:.001},mode:`onSuccess`,provider:`crustdata`}},nu=class extends U{pipeId=Ql;payload;payloadSchema=$l;billableOperations=tu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return Y(e,`company-identity-crustdata-v1-crustdata`)}getInputRequirement(){return eu(this.payload.config)}getRawOutputFields(){return{[Zl.name]:this.catalogOutput(Zl)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_identify`,allowManagedConnection:!0}]}},ru=$l,iu={pipeId:Ql,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(Ql),label:`Company identity`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Resolve a company to Crustdata's matching candidates by domain or name. Returns the full list of matches.`,tags:[G.WEBSITE,G.LINKEDIN],keywords:[`website`,`linkedin`,`url`,`domain`,`resolve`,`match`,`candidates`],docPath:q(Ql),billableOperations:tu,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:eu(null),defaultPayload:{pipe_id:Ql,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``},company_name:{alias:``}},output_fields:{crustdata_company_identity_matches:{alias:``,enabled:!0}}}}},au=g(`company_domain`),ou=g(`companyenrich_matches`),su=`company:lookalikes:companyenrich@2`,cu=r.object({pipe_id:r.literal(su),run_if:x(),connector:C(),config:r.object({limit:Hs({groupPath:`config.general`,max:50,min:1,path:`config.limit`,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:z(r.object({[au.name]:E({fieldName:au.name})})),output_fields:R(r.object({[ou.name]:k({fieldName:ou.name})}))}).optional()}),lu=e=>H(J(au,e)),uu={"company-lookalikes-companyenrich-v2-companyenrich":{allowManagedConnection:!0,credits:{default:.2,level1:{credits:.1,weight:1}},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},du=class extends U{pipeId=su;payload;payloadSchema=cu;billableOperations=uu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(e){return[{billableOperation:`company-lookalikes-companyenrich-v2-companyenrich`,quantity:e.count*5}]}getInputRequirement(){return lu(this.payload.config)}getRawOutputFields(){return{[ou.name]:this.catalogOutput(ou)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},fu=cu,pu={pipeId:su,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(su),label:`Find company lookalikes`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Find companies similar to the company you provide as input.`,tags:[G.COMPANY_PROFILES],keywords:[`similar`,`competitors`,`comparable`,`peers`,`alike`,`related`],docPath:q(su),billableOperations:uu,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:lu(null),defaultPayload:{pipe_id:su,connector:null,run_if:null,config:{limit:20,input_fields:{company_domain:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},mu=g(`company_domain`),hu=g(`crustdata_companyenrich_match`),gu=`company:match:crustdata@2`,_u=r.object({pipe_id:r.literal(gu),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[mu.name]:E({fieldName:mu.name})})),output_fields:R(r.object({[hu.name]:k({fieldName:hu.name})}))}).optional()}),vu=e=>H(J(mu,e)),yu={"company-match-crustdata-v2-crustdata":{allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.2,weight:1}},mode:`onSuccess`,provider:`crustdata`}},bu=class extends U{pipeId=gu;payload;payloadSchema=_u;billableOperations=yu;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return Y(e,`company-match-crustdata-v2-crustdata`)}getInputRequirement(){return vu(this.payload.config)}getRawOutputFields(){return{[hu.name]:this.catalogOutput(hu)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},xu=_u,Su={pipeId:gu,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(gu),label:`Company match`,executionMode:`single`,categories:[`company_data`],lifecycle:null,description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[G.WEBSITE,G.LINKEDIN],keywords:[`enrich`,`headcount`,`employees`,`linkedin`,`firmographics`,`profile`],docPath:q(gu),billableOperations:yu,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:vu(null),defaultPayload:{pipe_id:gu,connector:null,run_if:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},Cu=g(`company_domain`),wu=g(`company_name`),Tu=g(`company_profile_url`),Eu=g(`logodev_describe_match`),Du=g(`logo_url`),Ou=`company:match:logodev@2`,ku=r.object({pipe_id:r.literal(Ou),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[Cu.name]:E({fieldName:Cu.name})})),output_fields:R(r.object({[Tu.name]:k({fieldName:Tu.name}),[Du.name]:k({fieldName:Du.name}),[wu.name]:k({fieldName:wu.name}),[Eu.name]:k({fieldName:Eu.name})}))}).optional()}),Au=e=>H(J(Cu,e)),ju={"company-match-logodev-v2-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},Mu=class extends U{pipeId=Ou;payload;payloadSchema=ku;billableOperations=ju;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(e){return Y(e,`company-match-logodev-v2-logodev`)}getInputRequirement(){return Au(this.payload.config)}getRawOutputFields(){return{[Tu.name]:this.catalogOutput(Tu),[wu.name]:this.catalogOutput(wu),[Du.name]:this.catalogOutput(Du),[Eu.name]:this.catalogOutput(Eu)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},Nu=ku,Pu={pipeId:Ou,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(Ou),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:[G.WEBSITE,G.LINKEDIN],keywords:[`logo`,`brand`,`branding`,`colors`,`social`,`icon`],docPath:q(Ou),billableOperations:ju,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:Au(null),defaultPayload:{pipe_id:Ou,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}}}}},Fu=`company:newssummary:domain@1`,Iu=g(`company_news_summary`),Lu=g(`company_domain`),Ru=r.object({pipe_id:r.literal(Fu),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[Lu.name]:E({fieldName:Lu.name})})),output_fields:R(r.object({[Iu.name]:k({fieldName:Iu.name})}))}).optional()}),zu=e=>H(J(Lu,e)),Bu={"company-newssummary-domain-v1-pipe0":{allowManagedConnection:!0,credits:{default:2},mode:`always`,provider:`pipe0`}},Vu=class extends U{pipeId=Fu;payloadSchema=Ru;billableOperations=Bu;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-newssummary-domain-v1-pipe0`)}getInputRequirement(){return zu(this.payload.config)}getRawOutputFields(){return{[Iu.name]:this.catalogOutput(Iu)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:4,rateLimitOperation:`parallel_search_base`,allowManagedConnection:!0},{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0}]}},Hu=Ru,Uu={pipeId:Fu,basePipe:K(Fu),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:[G.NEWS],keywords:[`press`,`articles`,`headlines`,`media`,`summary`,`updates`],docPath:q(Fu),billableOperations:Bu,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:zu(null),defaultPayload:{pipe_id:Fu,run_if:null,connector:null,config:{input_fields:{company_domain:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},Wu=g(`company_domain`),Gu=g(`company_profile_url`),Ku=g(`company_description`),qu=g(`company_industry`),Ju=g(`company_region`),Yu=g(`headcount`),Xu=g(`estimated_revenue`),Zu=g(`founded_year`),Qu=g(`company_name`),$u=`company:overview@3`,ed=r.object({pipe_id:r.literal($u),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Wu.name]:E({fieldName:Wu.name}),[Gu.name]:E({fieldName:Gu.name})})),output_fields:R(r.object({[Ku.name]:k({fieldName:Ku.name}),[qu.name]:k({fieldName:qu.name}),[Ju.name]:k({fieldName:Ju.name}),[Yu.name]:k({fieldName:Yu.name}),[Xu.name]:k({fieldName:Xu.name}),[Zu.name]:k({fieldName:Zu.name}),[Qu.name]:k({fieldName:Qu.name})}))}).optional()}),td=e=>Fc(J(Wu,e),J(Gu,e)),nd={"company-overview-v3-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`always`}},rd=class extends U{pipeId=$u;payloadSchema=ed;billableOperations=nd;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-overview-v3-pipe0`)}getInputRequirement(){return td(this.payload.config)}getRawOutputFields(){return{[Ku.name]:this.catalogOutput(Ku),[qu.name]:this.catalogOutput(qu),[Ju.name]:this.catalogOutput(Ju),[Yu.name]:this.catalogOutput(Yu),[Xu.name]:this.catalogOutput(Xu),[Zu.name]:this.catalogOutput(Zu),[Qu.name]:this.catalogOutput(Qu)}}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}]}},id=ed,ad={pipeId:$u,basePipe:K($u),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`company_data`],lifecycle:null,description:`Business description, industry, and financial information.`,docPath:q($u),tags:[G.WEBSITE,G.LINKEDIN,G.FINANCIAL_DATA],keywords:[`enrich`,`firmographics`,`industry`,`profile`,`about`,`financials`,`revenue`],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:nd,defaultInputRequirement:td(null),defaultPayload:{pipe_id:$u,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}}}}},od=g(`company_domain`),sd=g(`technology_list`),cd=g(`spending_trend`),ld=g(`technology_match_builtwith`),ud=`company:techstack:builtwith@2`,dd=r.object({pipe_id:r.literal(ud),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[od.name]:E({fieldName:od.name})})),output_fields:R(r.object({[sd.name]:k({fieldName:sd.name}),[ld.name]:k({fieldName:ld.name}),[cd.name]:k({fieldName:cd.name})}))}).optional()}),fd=e=>H(J(od,e)),pd={"company-techstack-builtwith-v2-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},md=class extends U{pipeId=ud;payload;payloadSchema=dd;billableOperations=pd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(e){return Y(e,`company-techstack-builtwith-v2-builtwith`)}getInputRequirement(){return fd(this.payload.config)}getRawOutputFields(){return{[sd.name]:this.catalogOutput(sd),[ld.name]:this.catalogOutput(ld),[cd.name]:this.catalogOutput(cd)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},hd=dd,gd={pipeId:ud,basePipe:K(ud),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:[G.WEBSITE],keywords:[`technologies`,`technographics`,`software`,`frameworks`,`website`,`tools`],inputFieldMode:`static`,outputFieldMode:`static`,docPath:q(ud),billableOperations:pd,defaultInputRequirement:fd(null),defaultPayload:{pipe_id:ud,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}}}}},_d={MissingSecretError:class extends Error{constructor({providerName:e}){super(`Missing secret for ${e}`)}},HttpError:class extends Error{constructor({msg:e}){super(e)}}},vd=`contact:create:resend@1`,yd={"contact-create-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},bd=g(`email`),xd=g(`name`),Sd=g(`resend_contact_id`),Cd=[{label:`Demo subscribers`,value:`sandbox-segment-1`},{label:`Demo product updates`,value:`sandbox-segment-2`}],wd=r.object({pipe_id:r.literal(vd),connector:ms(),run_if:x(),config:r.object({segment_id:Gs({sectionKey:`general`,required:!0,label:`Segment`,groupPath:`config.general`,path:`config.segment_id`,info:``,enabledIf:no(`resend`),optionsDef:{requires:{connection:`resend`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return Cd;if(!t)throw new _d.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 _d.HttpError({msg:e})}let i=(await r.json()).data.map(e=>({label:e.name,value:e.id}));return e?i.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):i}}}),add_as_subscribed:O({sectionKey:`general`,defaultValue:!0,label:`Add as subscribed`,groupPath:`config.general`,path:`config.add_as_subscribed`,info:``}),input_fields:z(r.object({[xd.name]:E({fieldName:xd.name}),[bd.name]:E({fieldName:bd.name})})),output_fields:R(r.object({[Sd.name]:k({fieldName:Sd.name})}))})}),Td=e=>Pc(H(J(bd,e)),H(J(xd,e))),Ed=class extends U{pipeId=vd;payload;payloadSchema=wd;billableOperations=yd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(e){return Y(e,`contact-create-resend-v1-resend`)}getInputRequirement(){return Td(this.payload.config)}getRawOutputFields(){return{[Sd.name]:this.catalogOutput(Sd)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},Dd=wd,Od={pipeId:vd,basePipe:K(vd),label:`Create Contact`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Create a contact inside a Resend audience.`,tags:[G.EMAIL],keywords:[`audience`,`subscriber`,`add`,`mailing list`,`newsletter`,`email list`],docPath:q(vd),billableOperations:yd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:Td(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:vd,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}}}}},kd=`company:funding:leadmagic@1`,Ad=g(`company_name`),jd=g(`company_website_url`),Md=g(`funding_history`),Nd=g(`funding_total_usd`),Pd=g(`leadmagic_competitor_list`),Fd=g(`leadmagic_acquisition_history`),Id=g(`leadmagic_company_news_list`),Ld=r.object({pipe_id:r.literal(kd),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[Ad.name]:E({fieldName:Ad.name}),[jd.name]:E({fieldName:jd.name})})),output_fields:R(r.object({[Md.name]:k({fieldName:Md.name}),[Nd.name]:k({fieldName:Nd.name}),[Pd.name]:k({fieldName:Pd.name}),[Fd.name]:k({fieldName:Fd.name}),[Id.name]:k({fieldName:Id.name})}))}).optional()}),Rd=e=>Fc(J(Ad,e),J(jd,e)),zd={"company-funding-leadmagic-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},Bd=class extends U{pipeId=kd;payload;payloadSchema=Ld;billableOperations=zd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`leadmagic`]}estimateBillableOperations(e){return Y(e,`company-funding-leadmagic-v1-leadmagic`)}getInputRequirement(){return Rd(this.payload.config)}getRawOutputFields(){return{[Md.name]:this.catalogOutput(Md),[Nd.name]:this.catalogOutput(Nd)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitRatio:1,rateLimitOperation:`leadmagic_company_funding`,allowManagedConnection:!0}]}},Vd=Ld,Hd={pipeId:kd,basePipe:K(kd),label:`Funding history`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:funding:leadmagic@2`},description:`Information on funding rounds, acquisition, competitors, and investors.`,tags:[G.FINANCIAL_DATA],docPath:q(kd),billableOperations:zd,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`leadmagic`],managedProviders:[`leadmagic`],deprecatedProviders:[],defaultInputRequirement:Rd(null),defaultPayload:{pipe_id:kd,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:``}}}}},Ud=g(`company_name`),Wd=g(`company_social_url`),Gd=g(`company_website_url`),Kd=g(`cleaned_company_name`),qd=`company:identity@1`,Jd=r.object({pipe_id:r.literal(qd),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Ud.name]:E({fieldName:Ud.name})})),output_fields:R(r.object({[Wd.name]:k({fieldName:Wd.name}),[Kd.name]:k({fieldName:Kd.name}),[Gd.name]:k({fieldName:Gd.name})}))}).optional()}),Yd=e=>H(J(Ud,e)),Xd={"company-identity-v1-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},Zd=class extends U{pipeId=qd;payload;payloadSchema=Jd;billableOperations=Xd;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-identity-v1-pipe0`)}getInputRequirement(){return Yd(this.payload.config)}getRawOutputFields(){return{[Wd.name]:this.catalogOutput(Wd),[Gd.name]:this.catalogOutput(Gd),[Kd.name]:this.catalogOutput(Kd)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},Qd=Jd,$d={pipeId:qd,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(qd),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[G.WEBSITE,G.LINKEDIN],docPath:`/resources/pipe-catalog/company:identity/1`,billableOperations:Xd,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Yd(null),defaultPayload:{pipe_id:qd,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}}}}},ef=g(`company_name`),tf=g(`company_profile_url`),nf=g(`company_website_url`),rf=g(`cleaned_company_name`),af=`company:identity@2`,of=r.object({pipe_id:r.literal(af),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[ef.name]:E({fieldName:ef.name})})),output_fields:R(r.object({[tf.name]:k({fieldName:tf.name}),[rf.name]:k({fieldName:rf.name}),[nf.name]:k({fieldName:nf.name})}))}).optional()}),sf=e=>H(J(ef,e)),cf={"company-identity-v2-pipe0":{allowManagedConnection:!0,credits:{default:.3},mode:`always`,provider:`pipe0`}},lf=class extends U{pipeId=af;payload;payloadSchema=of;billableOperations=cf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-identity-v2-pipe0`)}getInputRequirement(){return sf(this.payload.config)}getRawOutputFields(){return{[tf.name]:this.catalogOutput(tf),[nf.name]:this.catalogOutput(nf),[rf.name]:this.catalogOutput(rf)}}getConnectionsRequirements(){return[{provider:`gemini`,rateLimitRatio:1,rateLimitOperation:`gemini_35_flash`,allowManagedConnection:!0},{provider:`serper`,rateLimitRatio:2,rateLimitOperation:`serper_search`,allowManagedConnection:!0},{provider:`leadmagic`,rateLimitRatio:.2,rateLimitOperation:`leadmagic_company_search`,allowManagedConnection:!0},{provider:`perplexity`,rateLimitRatio:.2,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0},{provider:`pipe0`,rateLimitRatio:.02,rateLimitOperation:`pipe0_scraper`,allowManagedConnection:!0}]}},uf=of,df={pipeId:af,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(af),label:`Company identity`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@3`},description:`Find any company's website URL, LinkedIn profile URL, and cleaned name.`,tags:[G.WEBSITE,G.LINKEDIN],docPath:q(af),billableOperations:cf,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:sf(null),defaultPayload:{pipe_id:af,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}}}}},ff=g(`company_website_url`),pf=g(`companyenrich_matches`),mf=`company:lookalikes:companyenrich@1`,hf=r.object({pipe_id:r.literal(mf),run_if:x(),connector:C(),config:r.object({limit:Hs({groupPath:`config.general`,max:50,min:1,path:`config.limit`,sectionKey:`general`,info:`Define how many lookalikes you want to find.`,label:`Limit`}),input_fields:z(r.object({[ff.name]:E({fieldName:ff.name})})),output_fields:R(r.object({[pf.name]:k({fieldName:pf.name})}))}).optional()}),gf=e=>H(J(ff,e)),_f={"company-lookalikes-companyenrich-v1-companyenrich":{allowManagedConnection:!0,credits:{default:.2},mode:`onSuccess`,note:`One billing event per result.`,provider:`companyenrich`}},vf=class extends U{pipeId=mf;payload;payloadSchema=hf;billableOperations=_f;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`companyenrich`]}estimateBillableOperations(e){return[{billableOperation:`company-lookalikes-companyenrich-v1-companyenrich`,quantity:e.count*5}]}getInputRequirement(){return gf(this.payload.config)}getRawOutputFields(){return{[pf.name]:this.catalogOutput(pf)}}getConnectionsRequirements(){return[{provider:`companyenrich`,rateLimitRatio:1,rateLimitOperation:`company_enrich_generic`,allowManagedConnection:!0}]}},yf=hf,bf={pipeId:mf,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(mf),label:`Find company lookalikes`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:lookalikes:companyenrich@2`},description:`Find companies similar to the company you provide as input.`,tags:[G.COMPANY_PROFILES],docPath:q(mf),billableOperations:_f,allowedUserConnectionProviders:[`companyenrich`],managedProviders:[`companyenrich`],deprecatedProviders:[],defaultInputRequirement:gf(null),defaultPayload:{pipe_id:mf,connector:null,run_if:null,config:{limit:20,input_fields:{company_website_url:{alias:``}},output_fields:{companyenrich_matches:{alias:``,enabled:!0}}}}},xf=g(`company_website_url`),Sf=g(`crustdata_companyenrich_match`),Cf=`company:match:crustdata@1`,wf=r.object({pipe_id:r.literal(Cf),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[xf.name]:E({fieldName:xf.name})})),output_fields:R(r.object({[Sf.name]:k({fieldName:Sf.name})}))}).optional()}),Tf=e=>H(J(xf,e)),Ef={"company-match-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`,provider:`crustdata`}},Df=class extends U{pipeId=Cf;payload;payloadSchema=wf;billableOperations=Ef;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return Y(e,`company-match-crustdata-v1-crustdata`)}getInputRequirement(){return Tf(this.payload.config)}getRawOutputFields(){return{[Sf.name]:this.catalogOutput(Sf)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_company_enrich`,allowManagedConnection:!0}]}},Of=wf,kf={pipeId:Cf,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(Cf),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:crustdata@2`},description:`Company data like headcount distribution, LinkedIn URLs etc. via the Crustdata API.`,tags:[G.WEBSITE,G.LINKEDIN],docPath:q(Cf),billableOperations:Ef,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:Tf(null),defaultPayload:{pipe_id:Cf,connector:null,run_if:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{crustdata_companyenrich_match:{alias:``,enabled:!0}}}}},Af=g(`company_website_url`),jf=g(`company_name`),Mf=g(`company_profile_url`),Nf=g(`logodev_describe_match`),Pf=g(`logo_url`),Ff=`company:match:logodev@1`,If=r.object({pipe_id:r.literal(Ff),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[Af.name]:E({fieldName:Af.name})})),output_fields:R(r.object({[Mf.name]:k({fieldName:Mf.name}),[Pf.name]:k({fieldName:Pf.name}),[jf.name]:k({fieldName:jf.name}),[Nf.name]:k({fieldName:Nf.name})}))}).optional()}),Lf=e=>H(J(Af,e)),Rf={"company-match-logodev-v1-logodev":{allowManagedConnection:!0,credits:{default:.1},mode:`onSuccess`,provider:`logodev`}},zf=class extends U{pipeId=Ff;payload;payloadSchema=If;billableOperations=Rf;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`logodev`]}estimateBillableOperations(e){return Y(e,`company-match-logodev-v1-logodev`)}getInputRequirement(){return Lf(this.payload.config)}getRawOutputFields(){return{[Mf.name]:this.catalogOutput(Mf),[jf.name]:this.catalogOutput(jf),[Pf.name]:this.catalogOutput(Pf),[Nf.name]:this.catalogOutput(Nf)}}getConnectionsRequirements(){return[{provider:`logodev`,rateLimitRatio:1,rateLimitOperation:`logodev_describe`,allowManagedConnection:!0}]}},Bf=If,Vf={pipeId:Ff,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(Ff),label:`Company match`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:match:logodev@2`},description:`Find brand data like logos, colors, and social links via the Logo.dev API.`,tags:[G.WEBSITE,G.LINKEDIN],docPath:q(Ff),billableOperations:Rf,allowedUserConnectionProviders:[`logodev`],managedProviders:[`logodev`],deprecatedProviders:[],defaultInputRequirement:Lf(null),defaultPayload:{pipe_id:Ff,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}}}}},Hf=`company:newssummary:website@1`,Uf=g(`company_news_summary`),Wf=g(`company_website_url`),Gf=r.object({pipe_id:r.literal(Hf),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[Wf.name]:E({fieldName:Wf.name})})),output_fields:R(r.object({[Uf.name]:k({fieldName:Uf.name})}))}).optional()}),Kf=e=>H(J(Wf,e)),qf={"company-newssummary-website-v1-pipe0":{allowManagedConnection:!0,credits:{default:1},mode:`always`,provider:`pipe0`}},Jf=class extends U{pipeId=Hf;payloadSchema=Gf;billableOperations=qf;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-newssummary-website-v1-pipe0`)}getInputRequirement(){return Kf(this.payload.config)}getRawOutputFields(){return{[Uf.name]:this.catalogOutput(Uf)}}getConnectionsRequirements(){return[{provider:`perplexity`,rateLimitRatio:1,rateLimitOperation:`perplexity_generic`,allowManagedConnection:!0}]}},Yf=Gf,Xf={pipeId:Hf,basePipe:K(Hf),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company news`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:newssummary:domain@1`},description:`Find recent company news by performing a search and scrape.`,tags:[G.NEWS],docPath:q(Hf),billableOperations:qf,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Kf(null),defaultPayload:{pipe_id:Hf,run_if:null,connector:null,config:{input_fields:{company_website_url:{alias:``}},output_fields:{company_news_summary:{alias:``,enabled:!0}}}}},Zf=g(`company_website_url`),Qf=g(`company_social_url`),$f=g(`company_description`),ep=g(`company_industry`),tp=g(`company_region`),np=g(`headcount`),rp=g(`estimated_revenue`),ip=g(`founded_year`),ap=`company:overview@1`,op=r.object({pipe_id:r.literal(ap),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Zf.name]:E({fieldName:Zf.name}),[Qf.name]:E({fieldName:Qf.name})})),output_fields:R(r.object({[$f.name]:k({fieldName:$f.name}),[ep.name]:k({fieldName:ep.name}),[tp.name]:k({fieldName:tp.name}),[np.name]:k({fieldName:np.name}),[rp.name]:k({fieldName:rp.name}),[ip.name]:k({fieldName:ip.name})}))}).optional()}),sp=e=>Fc(J(Zf,e),J(Qf,e)),cp={"company-overview-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},lp=class extends U{pipeId=ap;payloadSchema=op;billableOperations=cp;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-overview-v1-pipe0`)}getInputRequirement(){return sp(this.payload.config)}getRawOutputFields(){return{[$f.name]:this.catalogOutput($f),[ep.name]:this.catalogOutput(ep),[tp.name]:this.catalogOutput(tp),[np.name]:this.catalogOutput(np),[rp.name]:this.catalogOutput(rp),[ip.name]:this.catalogOutput(ip)}}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}]}},up=op,dp={pipeId:ap,basePipe:K(ap),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:identity@2`},description:`Find high-level business and financial information like company description, estimated revenue, and headcount.`,docPath:`/resources/pipe-catalog/company:overview/1`,tags:[G.WEBSITE,G.LINKEDIN,G.FINANCIAL_DATA,G.DEPRECATED],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:cp,defaultInputRequirement:sp(null),defaultPayload:{pipe_id:ap,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}}}}},fp=g(`company_website_url`),pp=g(`company_profile_url`),mp=g(`company_description`),hp=g(`company_industry`),gp=g(`company_region`),_p=g(`headcount`),vp=g(`estimated_revenue`),yp=g(`founded_year`),bp=g(`company_name`),xp=`company:overview@2`,Sp=r.object({pipe_id:r.literal(xp),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[fp.name]:E({fieldName:fp.name}),[pp.name]:E({fieldName:pp.name})})),output_fields:R(r.object({[mp.name]:k({fieldName:mp.name}),[hp.name]:k({fieldName:hp.name}),[gp.name]:k({fieldName:gp.name}),[_p.name]:k({fieldName:_p.name}),[vp.name]:k({fieldName:vp.name}),[yp.name]:k({fieldName:yp.name}),[bp.name]:k({fieldName:bp.name})}))}).optional()}),Cp=e=>Fc(J(fp,e),J(pp,e)),wp={"company-overview-v2-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:1},mode:`always`}},Tp=class extends U{pipeId=xp;payloadSchema=Sp;billableOperations=wp;payload;constructor(e){super(),this.payload=e}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-overview-v2-pipe0`)}getInputRequirement(){return Cp(this.payload.config)}getRawOutputFields(){return{[mp.name]:this.catalogOutput(mp),[hp.name]:this.catalogOutput(hp),[gp.name]:this.catalogOutput(gp),[_p.name]:this.catalogOutput(_p),[vp.name]:this.catalogOutput(vp),[yp.name]:this.catalogOutput(yp),[bp.name]:this.catalogOutput(bp)}}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}]}},Ep=Sp,Dp={pipeId:xp,basePipe:K(xp),inputFieldMode:`static`,outputFieldMode:`static`,label:`Company overview`,executionMode:`mix`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:overview@3`},description:`Business description, industry, and financial information.`,docPath:q(xp),tags:[G.WEBSITE,G.LINKEDIN,G.FINANCIAL_DATA],allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:wp,defaultInputRequirement:Cp(null),defaultPayload:{pipe_id:xp,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}}}}},Op=g(`company_website_url`),kp=g(`technology_list`),Ap=g(`spending_trend`),jp=g(`technology_match_builtwith`),Mp=`company:techstack:builtwith@1`,Np=r.object({pipe_id:r.literal(Mp),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[Op.name]:E({fieldName:Op.name})})),output_fields:R(r.object({[kp.name]:k({fieldName:kp.name}),[jp.name]:k({fieldName:jp.name}),[Ap.name]:k({fieldName:Ap.name})}))}).optional()}),Pp=e=>H(J(Op,e)),Fp={"company-techstack-builtwith-v1-builtwith":{provider:`builtwith`,allowManagedConnection:!0,credits:{default:2},mode:`always`}},Ip=class extends U{pipeId=Mp;payload;payloadSchema=Np;billableOperations=Fp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`builtwith`]}estimateBillableOperations(e){return Y(e,`company-techstack-builtwith-v1-builtwith`)}getInputRequirement(){return Pp(this.payload.config)}getRawOutputFields(){return{[kp.name]:this.catalogOutput(kp),[jp.name]:this.catalogOutput(jp),[Ap.name]:this.catalogOutput(Ap)}}getConnectionsRequirements(){return[{provider:`builtwith`,rateLimitRatio:1,rateLimitOperation:`builtwith_generic`,allowManagedConnection:!0}]}},Lp=Np,Rp={pipeId:Mp,basePipe:K(Mp),managedProviders:[`builtwith`],deprecatedProviders:[],allowedUserConnectionProviders:[`builtwith`],label:`Tech stack`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:techstack:builtwith@2`},description:`All technologies and frameworks powering a given website.`,tags:[G.WEBSITE],inputFieldMode:`static`,outputFieldMode:`static`,docPath:q(Mp),billableOperations:Fp,defaultInputRequirement:Pp(null),defaultPayload:{pipe_id:Mp,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}}}}},zp=`company:websiteurl:email@1`,Bp=g(`company_website_url`),Vp=g(`email`),Hp=r.object({pipe_id:r.literal(zp),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Vp.name]:E({fieldName:Vp.name})})),output_fields:R(r.object({[Bp.name]:k({fieldName:Bp.name})}))}).optional()}),Up=e=>H(J(Vp,e)),Wp={"company-websiteurl-email-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,mode:`always`,provider:`pipe0`}},Gp=class extends U{pipeId=zp;payload;payloadSchema=Hp;billableOperations=Wp;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`company-websiteurl-email-v1-pipe0`)}getInputRequirement(){return Up(this.payload.config)}getRawOutputFields(){return{[Bp.name]:this.catalogOutput(Bp)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Kp=Hp,qp={pipeId:zp,basePipe:K(zp),inputFieldMode:`static`,outputFieldMode:`static`,label:`Website from email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`company:domain:workemail@1`},description:`Extract the company website URL from a work email address.`,tags:[G.EMAIL,G.WORK_EMAIL,G.WEBSITE],docPath:q(zp),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],billableOperations:Wp,defaultInputRequirement:Up(null),defaultPayload:{pipe_id:zp,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{company_website_url:{alias:``,enabled:!0}}}}},Jp=`people:email:iswork@1`,Yp=g(`is_work_email`),Xp=g(`email`),Zp=r.object({pipe_id:r.literal(Jp),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Xp.name]:E({fieldName:Xp.name})})),output_fields:R(r.object({[Yp.name]:k({fieldName:Yp.name})}))}).optional()}),Qp=e=>H(J(Xp,e)),$p={"people-email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},em=class extends U{pipeId=Jp;payload;payloadSchema=Zp;billableOperations=$p;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`people-email-iswork-v1-pipe0`)}getInputRequirement(){return Qp(this.payload.config)}getRawOutputFields(){return{[Yp.name]:this.catalogOutput(Yp)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},tm=Zp,nm={pipeId:Jp,label:`Work email checker`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:iswork@1`},description:`Check if a given email address is personal or professional.`,tags:[G.EMAIL,G.WORK_EMAIL],docPath:q(Jp),billableOperations:$p,basePipe:K(Jp),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:Qp(null),defaultPayload:{pipe_id:Jp,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},rm=`people:email:validate:zerobounce@1`,im=g(`work_email`),am=g(`is_email_valid`),om=r.object({pipe_id:r.literal(rm),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[im.name]:E({fieldName:im.name})})),output_fields:R(r.object({[am.name]:k({fieldName:am.name})}))}).optional()}),sm=e=>H(J(im,e)),cm={"people-email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},lm=class extends U{pipeId=rm;payload;payloadSchema=om;billableOperations=cm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return Y(e,`people-email-validate-zerobounce-v1-zerobounce`)}getInputRequirement(){return sm(this.payload.config)}getRawOutputFields(){return{[am.name]:this.catalogOutput(am)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},um=om,dm={pipeId:rm,basePipe:K(rm),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@2`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[G.EMAIL],docPath:`/resources/pipe-catalog/people:email:validate:zerobounce/1`,billableOperations:cm,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:sm(null),defaultPayload:{pipe_id:rm,connector:null,run_if:null,config:{input_fields:{work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},fm=`people:email:validate:zerobounce@2`,pm=g(`email`),mm=g(`zerobounce_validation_status`),hm=g(`zerobounce_validation_match`),gm=r.object({pipe_id:r.literal(fm),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[pm.name]:E({fieldName:pm.name})})),output_fields:R(r.object({[hm.name]:k({fieldName:hm.name}),[mm.name]:k({fieldName:mm.name})}))}).optional()}),_m=e=>H(J(pm,e)),vm={"people-email-validate-zerobounce-v2-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.3},mode:`always`}},ym=class extends U{pipeId=fm;payload;payloadSchema=gm;billableOperations=vm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return Y(e,`people-email-validate-zerobounce-v2-zerobounce`)}getInputRequirement(){return _m(this.payload.config)}getRawOutputFields(){return{[mm.name]:this.catalogOutput(mm),[hm.name]:this.catalogOutput(hm)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},bm=gm,xm={pipeId:fm,basePipe:K(fm),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[G.EMAIL],docPath:q(fm),billableOperations:vm,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:_m(null),defaultPayload:{pipe_id:fm,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 Sm(e){return(e.widgets||{}).display_value?.label}function Cm(e){console.dir(e,{depth:100})}function wm(e){return typeof e==`object`&&e?JSON.stringify(e):e}function X(e){return e===0?1:e===1?.3:e===2?.2:.1}function Tm(e){if(typeof e!=`object`||!e||Array.isArray(e))return e;let t={};return Object.keys(e).sort().forEach(n=>{t[n]=Tm(e[n])}),t}const Em={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 Z(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 Dm=`people:identity:email:waterfall@1`,Om=g(`email`),km=g(`company_website_url`),Am=g(`name`),jm=g(`job_title`),Mm=g(`profile_url`),Nm=g(`company_profile_url`),Pm=g(`company_name`),Fm=[`findymail`,`hunter`,`crustdata`],Im=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],Lm=r.object({pipe_id:r.literal(Dm),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:Fm,defaultProviders:Im,sectionKey:`general`}),input_fields:z(r.object({[Om.name]:E({fieldName:Om.name})})),output_fields:R(r.object({[Am.name]:k({fieldName:Am.name}),[Mm.name]:k({fieldName:Mm.name}),[jm.name]:k({fieldName:jm.name}),[km.name]:k({fieldName:km.name}),[Pm.name]:k({fieldName:Pm.name}),[Nm.name]:k({fieldName:Nm.name})}))}).optional()}),Rm=e=>H(J(Om,e)),zm={"people-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},Bm=class extends U{pipeId=Dm;payload;payloadSchema=Lm;billableOperations=zm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Rm(this.payload.config)}getRawOutputFields(){return{[Am.name]:this.catalogOutput(Am,{isPrimaryOutput:!0}),[Mm.name]:this.catalogOutput(Mm,{isPrimaryOutput:!0}),[jm.name]:this.catalogOutput(jm,{isPrimaryOutput:!0}),[Pm.name]:this.catalogOutput(Pm,{isPrimaryOutput:!0}),[Nm.name]:this.catalogOutput(Nm,{isPrimaryOutput:!0}),[km.name]:this.catalogOutput(km,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Vm=Lm,Hm={pipeId:Dm,basePipe:K(Dm),label:`Person identity from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:identity:email:waterfall@1`},description:`Find identity of a person from their email address.`,tags:[G.EMAIL,G.PEOPLE_PROFILES],docPath:q(Dm),managedProviders:Fm,deprecatedProviders:[],allowedUserConnectionProviders:Fm,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:zm,defaultInputRequirement:Rm(null),defaultPayload:{pipe_id:Dm,connector:null,run_if:null,config:{providers:Im,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}}}}},Um=`people:match:role:waterfall@1`,Wm=g(`company_website_url`),Gm=g(`role_finder_match`),Km=[`leadmagic`],qm=[{provider:`leadmagic`}],Jm=r.object({pipe_id:r.literal(Um),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:qm,availableProviders:Km}),roles:ks({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1}),input_fields:z(r.object({[Wm.name]:E({fieldName:Wm.name})})),output_fields:R(r.object({[Gm.name]:k({fieldName:Gm.name})}))})}),Ym=e=>Fc(J(Wm,e)),Xm={"people-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Zm=class extends U{pipeId=Um;payload;payloadSchema=Jm;billableOperations=Xm;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Ym(this.payload.config)}getRawOutputFields(){return{[Gm.name]:this.catalogOutput(Gm,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Qm=Jm,$m={pipeId:Um,basePipe:K(Um),managedProviders:Km,deprecatedProviders:[],allowedUserConnectionProviders:Km,label:`Role finder`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:match:role:waterfall@1`},description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[G.PEOPLE_PROFILES],docPath:q(Um),billableOperations:Xm,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Ym(null),defaultPayload:{pipe_id:Um,run_if:null,connector:null,config:{roles:[],providers:qm,input_fields:{company_website_url:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},eh=`people:mobilenumber:professionalprofile:waterfall@1`,th=g(`professional_profile_url`),nh=g(`mobile_number`),rh=[`leadmagic`,`prospeo`],ih=[{provider:`leadmagic`},{provider:`prospeo`}],ah=r.object({pipe_id:r.literal(eh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:ih,availableProviders:rh}),input_fields:z(r.object({[th.name]:E({fieldName:th.name})})),output_fields:R(r.object({[nh.name]:k({fieldName:nh.name})}))}).optional()}),oh=e=>H(J(th,e)),sh={"people-mobilenumber-professionalprofile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-mobilenumber-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},ch=class extends U{pipeId=eh;payload;payloadSchema=ah;billableOperations=sh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return oh(this.payload.config)}getRawOutputFields(){return{[nh.name]:this.catalogOutput(nh)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},lh=ah,uh={pipeId:eh,basePipe:K(eh),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:profile:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:`/resources/pipe-catalog/people:mobilenumber:professionalprofile:waterfall/1`,tags:[G.PHONE,G.WATERFALL],billableOperations:sh,defaultInputRequirement:oh(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:rh,deprecatedProviders:[],allowedUserConnectionProviders:rh,defaultPayload:{pipe_id:eh,connector:null,run_if:null,config:{providers:ih,input_fields:{professional_profile_url:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},dh=`people:mobilenumber:workemail:waterfall@1`,fh=g(`work_email`),ph=g(`mobile_number`),mh=[`leadmagic`],hh=[{provider:`leadmagic`}],gh=r.object({pipe_id:r.literal(dh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:mh,defaultProviders:hh}),input_fields:z(r.object({[fh.name]:E({fieldName:fh.name})})),output_fields:R(r.object({[ph.name]:k({fieldName:ph.name})}))}).optional()}),_h=e=>H(J(fh,e)),vh={"people-mobilenumber-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`}},yh=class extends U{pipeId=dh;payload;payloadSchema=gh;billableOperations=vh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers?.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return _h(this.payload.config)}getRawOutputFields(){return{[ph.name]:this.catalogOutput(ph)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},bh=gh,xh={pipeId:dh,basePipe:K(dh),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:phone:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[G.PHONE,G.WATERFALL],docPath:`/resources/pipe-catalog/people:mobilenumber:workemail:waterfall/1`,billableOperations:vh,defaultInputRequirement:_h(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:mh,managedProviders:mh,deprecatedProviders:[],defaultPayload:{pipe_id:dh,connector:null,run_if:null,config:{providers:hh,input_fields:{work_email:{alias:``}},output_fields:{mobile_number:{alias:``,enabled:!0}}}}},Sh=`people:name:split@1`,Ch=g(`name`),wh=g(`first_name`),Th=g(`last_name`),Eh=r.object({pipe_id:r.literal(Sh),connector:w(),run_if:x(),config:r.object({input_fields:z(r.object({[Ch.name]:E({fieldName:Ch.name})})),output_fields:R(r.object({[wh.name]:k({fieldName:wh.name}),[Th.name]:k({fieldName:Th.name})}))}).optional()}),Dh=e=>H(J(Ch,e)),Oh={"people-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},kh=class extends U{pipeId=Sh;payload;payloadSchema=Eh;billableOperations=Oh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`people-name-split-v1-pipe0`)}getInputRequirement(){return Dh(this.payload.config)}getRawOutputFields(){return{[wh.name]:this.catalogOutput(wh),[Th.name]:this.catalogOutput(Th)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Ah=Eh,jh={pipeId:Sh,basePipe:K(Sh),label:`Split name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:name:split@1`},description:`Split a full name into first and last name.`,tags:[G.NAMES],docPath:q(Sh),billableOperations:Oh,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Dh(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Sh,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},Mh=`people:personalemail:profile:waterfall@1`,Nh=g(`profile_url`),Ph=g(`personal_email`),Fh=g(`alternate_personal_emails`),Ih=[`clado`,`leadmagic`,`mixrank`],Lh=[{provider:`leadmagic`},{provider:`mixrank`}],Rh=r.object({pipe_id:r.literal(Mh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Ih,defaultProviders:Lh}),input_fields:z(r.object({[Nh.name]:E({fieldName:Nh.name})})),output_fields:R(r.object({[Ph.name]:k({fieldName:Ph.name}),[Fh.name]:k({fieldName:Fh.name})}))}).optional()}),zh=e=>H(J(Nh,e)),Bh={"people-personalemail-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:2},mode:`always`},"people-personalemail-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-personalemail-profile-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Vh=class extends U{pipeId=Mh;payload;payloadSchema=Rh;billableOperations=Bh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return zh(this.payload.config)}getRawOutputFields(){return{[Ph.name]:this.catalogOutput(Ph,{isPrimaryOutput:!0}),[Fh.name]:this.catalogOutput(Fh)}}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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Hh=Rh,Uh={pipeId:Mh,basePipe:K(Mh),allowedUserConnectionProviders:Ih,managedProviders:Ih,deprecatedProviders:[`clado`],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:personalemail:profileurl:waterfall@1`},description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[G.EMAIL,G.PERSONAL_EMAIL],docPath:q(Mh),billableOperations:Bh,defaultInputRequirement:zh(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Mh,connector:null,run_if:null,config:{providers:Lh,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!0}}}}},Wh=`people:phone:profile:waterfall@1`,Gh=g(`profile_url`),Kh=g(`mobile`),qh=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`,`clado`],Jh=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Yh=r.object({pipe_id:r.literal(Wh),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Jh,availableProviders:qh}),input_fields:z(r.object({[Gh.name]:E({fieldName:Gh.name})})),output_fields:R(r.object({[Kh.name]:k({fieldName:Kh.name})}))}).optional()}),Xh=e=>H(J(Gh,e)),Zh={"people-phone-profile-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-profile-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`},"people-phone-profile-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6},mode:`onSuccess`},"people-phone-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},Qh=class extends U{pipeId=Wh;payload;payloadSchema=Yh;billableOperations=Zh;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Xh(this.payload.config)}getRawOutputFields(){return{[Kh.name]:this.catalogOutput(Kh,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},$h=Yh,eg={pipeId:Wh,basePipe:K(Wh),label:`Mobile number from LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:profileurl:waterfall@1`},description:`Find a mobile phone number for any prospect using multiple data providers in a waterfall motion.`,docPath:q(Wh),tags:[G.PHONE,G.WATERFALL],billableOperations:Zh,defaultInputRequirement:Xh(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:qh,allowedUserConnectionProviders:qh,deprecatedProviders:[`clado`],defaultPayload:{pipe_id:Wh,connector:null,run_if:null,config:{providers:Jh,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},tg=`people:phone:workemail:waterfall@1`,ng=g(`work_email`),rg=g(`mobile`),ig=[`leadmagic`,`amplemarket`],ag=[{provider:`leadmagic`},{provider:`amplemarket`}],og=r.object({pipe_id:r.literal(tg),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:ig,defaultProviders:ag}),input_fields:z(r.object({[ng.name]:E({fieldName:ng.name})})),output_fields:R(r.object({[rg.name]:k({fieldName:rg.name})}))}).optional()}),sg=e=>H(J(ng,e)),cg={"people-phone-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-phone-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4},mode:`onSuccess`}},lg=class extends U{pipeId=tg;payload;payloadSchema=og;billableOperations=cg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return sg(this.payload.config)}getRawOutputFields(){return{[rg.name]:this.catalogOutput(rg,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},ug=og,dg={pipeId:tg,basePipe:K(tg),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:mobile:workemail:waterfall@1`},description:`Find a mobile phone number for a prospect.`,tags:[G.PHONE,G.WATERFALL],docPath:q(tg),billableOperations:cg,defaultInputRequirement:sg(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:ig,managedProviders:ig,deprecatedProviders:[],defaultPayload:{pipe_id:tg,connector:null,run_if:null,config:{providers:ag,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},fg=`people:professionalprofile:waterfall@1`,pg=g(`professional_profile`),mg=g(`professional_profile_url`),hg=[`prospeo`,`icypeas`],gg=[{provider:`prospeo`},{provider:`icypeas`}],_g=r.object({pipe_id:r.literal(fg),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:hg,defaultProviders:gg}),input_fields:z(r.object({[mg.name]:E({fieldName:mg.name})})),output_fields:R(r.object({[pg.name]:k({fieldName:pg.name})}))}).optional()}),vg=e=>H(J(mg,e)),yg={"people-professionalprofile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-professionalprofile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},bg=class extends U{pipeId=fg;payload;payloadSchema=_g;billableOperations=yg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return vg(this.payload.config)}getRawOutputFields(){return{[pg.name]:this.catalogOutput(pg)}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},xg=_g,Sg={pipeId:fg,basePipe:K(fg),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:`/resources/pipe-catalog/people:professionalprofile:waterfall/1`,tags:[G.LINKEDIN,G.WATERFALL],managedProviders:hg,deprecatedProviders:[],allowedUserConnectionProviders:hg,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:yg,defaultInputRequirement:vg(null),defaultPayload:{pipe_id:fg,run_if:null,connector:null,config:{providers:gg,input_fields:{professional_profile_url:{alias:``}},output_fields:{professional_profile:{alias:``,enabled:!0}}}}},Cg=`people:professionalprofileurl:email:waterfall@1`,wg=g(`email`),Tg=g(`work_email`),Eg=g(`professional_profile_url`),Dg=[`leadmagic`],Og=[{provider:`leadmagic`}],kg=r.object({pipe_id:r.literal(Cg),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Og,availableProviders:Dg}),input_fields:z(r.object({[wg.name]:E({fieldName:wg.name}),[Tg.name]:E({fieldName:Tg.name})})),output_fields:R(r.object({[Eg.name]:k({fieldName:Eg.name})}))}).optional()}),Ag=e=>Fc(J(wg,e),J(Tg,e)),jg={"people-professionalprofileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},Mg=class extends U{pipeId=Cg;payload;payloadSchema=kg;billableOperations=jg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Ag(this.payload.config)}getRawOutputFields(){return{[Eg.name]:this.catalogOutput(Eg)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ng=kg,Pg={pipeId:Cg,basePipe:K(Cg),managedProviders:Dg,deprecatedProviders:[],allowedUserConnectionProviders:Dg,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[G.LINKEDIN],docPath:`/resources/pipe-catalog/people:professionalprofileurl:email:waterfall/1`,billableOperations:jg,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Ag(null),defaultPayload:{pipe_id:Cg,run_if:null,connector:null,config:{providers:Og,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{professional_profile_url:{alias:``,enabled:!0}}}}},Fg=`people:professionalprofileurl:name@1`,Ig=g(`name`),Lg=g(`company_name`),Rg=g(`location_hint`),zg=g(`professional_profile_url`),Bg=r.object({pipe_id:r.literal(Fg),connector:w(),run_if:x(),config:r.object({input_fields:z(r.object({[Ig.name]:E({fieldName:Ig.name}),[Lg.name]:E({fieldName:Lg.name}),[Rg.name]:E({fieldName:Rg.name})})),output_fields:R(r.object({[zg.name]:k({fieldName:zg.name})}))}).optional()}),Vg=e=>Pc(H(J(Ig,e)),H(J(Lg,e)),Ic(J(Rg,e))),Hg={"people-professionalprofileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},Ug=class extends U{pipeId=Fg;payload;payloadSchema=Bg;billableOperations=Hg;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`people-professionalprofileurl-name-v1-pipe0`)}getInputRequirement(){return Vg(this.payload.config)}getRawOutputFields(){return{[zg.name]:this.catalogOutput(zg)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},Wg=Bg,Gg={pipeId:Fg,basePipe:K(Fg),label:`LinkedIn URL from name`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:name@1`},allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],description:`Find the LinkedIn profile URL by using the prospect's name as input.`,docPath:`/resources/pipe-catalog/people:professionalprofileurl:name/1`,tags:[G.LINKEDIN],billableOperations:Hg,defaultInputRequirement:Vg(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:Fg,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}}}}},Kg=`people:profile:waterfall@1`,qg=g(`profile`),Jg=g(`profile_url`),Yg=[`prospeo`,`icypeas`,`amplemarket`,`clado`],Xg=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],Zg=r.object({pipe_id:r.literal(Kg),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Yg,defaultProviders:Xg}),input_fields:z(r.object({[Jg.name]:E({fieldName:Jg.name})})),output_fields:R(r.object({[qg.name]:k({fieldName:qg.name})}))}).optional()}),Qg=e=>H(J(Jg,e)),$g={"people-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-clado":{provider:`clado`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0},"people-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1},mode:`onSuccess`,allowManagedConnection:!0}},e_=class extends U{pipeId=Kg;payload;payloadSchema=Zg;billableOperations=$g;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Qg(this.payload.config)}getRawOutputFields(){return{[qg.name]:this.catalogOutput(qg,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},t_=Zg,n_={pipeId:Kg,basePipe:K(Kg),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:waterfall@1`},description:`Find a JSON representation of a LinkedIn profile.`,docPath:q(Kg),tags:[G.LINKEDIN,G.WATERFALL],managedProviders:Yg,deprecatedProviders:[`clado`],allowedUserConnectionProviders:Yg,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:$g,defaultInputRequirement:Qg(null),defaultPayload:{pipe_id:Kg,run_if:null,connector:null,config:{providers:Xg,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},r_=g(`work_email`),i_=g(`crustdata_person_match`),a_=g(`crustdata_profile_match_score`),o_=`people:profile:workemail:crustdata@1`,s_=r.object({pipe_id:r.literal(o_),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[r_.name]:E({fieldName:r_.name})})),output_fields:R(r.object({[i_.name]:k({fieldName:i_.name}),[a_.name]:k({fieldName:a_.name})}))}).optional()}),c_=e=>H(J(r_,e)),l_={"people-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},u_=class extends U{pipeId=o_;payload;payloadSchema=s_;billableOperations=l_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return Y(e,`people-profile-workemail-crustdata-v1-crustdata`)}getInputRequirement(){return c_(this.payload.config)}getRawOutputFields(){return{[i_.name]:this.catalogOutput(i_),[a_.name]:this.catalogOutput(a_)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},d_=s_,f_={pipeId:o_,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(o_),label:`Profile from work email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profile:workemail:crustdata@1`},description:`Find person profile by their work email address.`,tags:[G.EMAIL,G.PEOPLE_PROFILES],docPath:q(o_),billableOperations:l_,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:c_(null),defaultPayload:{pipe_id:o_,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}}}}},p_=`people:profileurl:email:waterfall@1`,m_=g(`email`),h_=g(`work_email`),g_=g(`profile_url`),__=[`leadmagic`],v_=[{provider:`leadmagic`}],y_=r.object({pipe_id:r.literal(p_),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:v_,availableProviders:__}),input_fields:z(r.object({[m_.name]:E({fieldName:m_.name}),[h_.name]:E({fieldName:h_.name})})),output_fields:R(r.object({[g_.name]:k({fieldName:g_.name})}))}).optional()}),b_=e=>Fc(J(m_,e),J(h_,e)),x_={"people-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},S_=class extends U{pipeId=p_;payload;payloadSchema=y_;billableOperations=x_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return b_(this.payload.config)}getRawOutputFields(){return{[g_.name]:this.catalogOutput(g_,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},C_=y_,w_={pipeId:p_,basePipe:K(p_),managedProviders:__,deprecatedProviders:[],allowedUserConnectionProviders:__,label:`LinkedIn URL from email`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:profileurl:email:waterfall@1`},description:`Find the URL for a prospect's LinkedIn profile from their personal or professional email address.`,tags:[G.LINKEDIN],docPath:q(p_),billableOperations:x_,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:b_(null),defaultPayload:{pipe_id:p_,run_if:null,connector:null,config:{providers:v_,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},T_=`people:validate:email:zerobounce@1`,E_=g(`work_email`),D_=g(`ip_address`),O_=g(`is_email_valid`),k_=r.object({pipe_id:r.literal(T_),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[E_.name]:E({fieldName:E_.name}),[D_.name]:E({fieldName:D_.name})})),output_fields:R(r.object({[O_.name]:k({fieldName:O_.name})}))}).optional()}),A_=e=>Pc(H(J(E_,e)),Ic(J(D_,e))),j_={"people-validate-email-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.5},mode:`always`}},M_=class extends U{pipeId=T_;payload;payloadSchema=k_;billableOperations=j_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return Y(e,`people-validate-email-zerobounce-v1-zerobounce`)}getInputRequirement(){return A_(this.payload.config)}getRawOutputFields(){return{[O_.name]:this.catalogOutput(O_)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},N_=k_,P_={pipeId:T_,basePipe:K(T_),label:`Validate email`,executionMode:`single`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:email:validate:zerobounce@1`},description:`Verify email address against various factors, including syntax, domain, and server existence, to ensure it is deliverable and active.`,tags:[G.EMAIL],docPath:`/resources/pipe-catalog/people:validate:email:zerobounce/1`,billableOperations:j_,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:A_(null),defaultPayload:{pipe_id:T_,connector:null,run_if:null,config:{input_fields:{ip_address:{alias:``},work_email:{alias:``}},output_fields:{is_email_valid:{alias:``,enabled:!0}}}}},F_=`people:workemail:profileurl:waterfall@1`,I_=g(`profile_url`),L_=g(`work_email`),R_=g(`email_validation_status`),z_=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`,`clado`],B_=[`clado`],V_=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],H_=r.object({pipe_id:r.literal(F_),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:z_,defaultProviders:V_,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Higher chance of bouncing or being marked as spam.`,label:`Allow risky emails`}),input_fields:z(r.object({[I_.name]:E({fieldName:I_.name})})),output_fields:R(r.object({[L_.name]:k({fieldName:L_.name}),[R_.name]:k({fieldName:R_.name})}))}).optional()}),U_=e=>H(J(I_,e)),W_={"people-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-clado":{provider:`clado`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`},"people-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},G_=class extends U{pipeId=F_;payload;payloadSchema=H_;billableOperations=W_;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return U_(this.payload.config)}getRawOutputFields(){return{[L_.name]:this.catalogOutput(L_,{isPrimaryOutput:!0}),[R_.name]:this.catalogOutput(R_,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},K_=H_,q_={pipeId:F_,basePipe:K(F_),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:profileurl:waterfall@1`},description:`Find work email addresses from B2B profile.`,tags:[G.EMAIL,G.WORK_EMAIL,G.WATERFALL],docPath:q(F_),managedProviders:z_,allowedUserConnectionProviders:z_,deprecatedProviders:B_,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:W_,defaultInputRequirement:U_(null),defaultPayload:{pipe_id:F_,connector:null,run_if:null,config:{providers:V_,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}}}}},J_=`people:workemail:waterfall@1`,Y_=g(`name`),X_=g(`company_website_url`),Z_=g(`company_name`),Q_=g(`work_email`),$_=g(`email_validation_status`),ev=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],tv=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],nv=r.object({pipe_id:r.literal(J_),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:ev,defaultProviders:tv,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,description:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,description:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:z(r.object({[Y_.name]:E({fieldName:Y_.name}),[X_.name]:E({fieldName:X_.name}),[Z_.name]:E({fieldName:Z_.name})})),output_fields:R(r.object({[Q_.name]:k({fieldName:Q_.name}),[$_.name]:k({fieldName:$_.name})}))}).optional()}),rv=e=>Pc(H(J(Y_,e)),Fc(J(X_,e),J(Z_,e))),iv={"people-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5},mode:`onSuccess`},"people-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"people-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"people-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5},mode:`onSuccess`}},av=class extends U{pipeId=J_;payload;payloadSchema=nv;billableOperations=iv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return rv(this.payload.config)}getRawOutputFields(){return{[Q_.name]:this.catalogOutput(Q_,{isPrimaryOutput:!0}),[$_.name]:this.catalogOutput($_,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},ov=nv,sv={pipeId:J_,basePipe:K(J_),label:`Work email from name`,executionMode:`waterfall`,categories:[`deprecated`],lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`person:workemail:waterfall@1`},description:`Find work email addresses in a waterfall motion.`,tags:[G.EMAIL,G.WORK_EMAIL,G.WATERFALL],docPath:q(J_),managedProviders:ev,deprecatedProviders:[],allowedUserConnectionProviders:ev,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:iv,defaultInputRequirement:rv(null),defaultPayload:{pipe_id:J_,connector:null,run_if:null,config:{providers:tv,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}}}}},cv=`email:iswork@1`,lv=g(`is_work_email`),uv=g(`email`),dv=r.object({pipe_id:r.literal(cv),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[uv.name]:E({fieldName:uv.name})})),output_fields:R(r.object({[lv.name]:k({fieldName:lv.name})}))}).optional()}),fv=e=>H(J(uv,e)),pv={"email-iswork-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},mv=class extends U{pipeId=cv;payload;payloadSchema=dv;billableOperations=pv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`email-iswork-v1-pipe0`)}getInputRequirement(){return fv(this.payload.config)}getRawOutputFields(){return{[lv.name]:this.catalogOutput(lv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},hv=dv,gv={pipeId:cv,label:`Work email checker`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Check if a given email address is personal or professional.`,tags:[G.EMAIL,G.WORK_EMAIL],keywords:[`personal`,`professional`,`business`,`corporate`,`classify`,`detect`],docPath:q(cv),billableOperations:pv,basePipe:K(cv),allowedUserConnectionProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:[`pipe0`],deprecatedProviders:[],defaultInputRequirement:fv(null),defaultPayload:{pipe_id:cv,run_if:null,connector:null,config:{input_fields:{email:{alias:``}},output_fields:{is_work_email:{alias:``,enabled:!0}}}}},_v=`email:send:gmail@1`,vv=g(`gmail_email_success`),yv=r.object({pipe_id:r.literal(_v),connector:ms(),run_if:x(),config:r.object({to:S({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:S({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`}).nullable(),subject:S({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:S({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 }},
|
|
69
69
|
|
|
70
|
-
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:
|
|
70
|
+
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[vv.name]:k({fieldName:vv.name})}))})}),bv={"email-send-gmail-v1-gmail":{allowManagedConnection:!1,provider:`gmail`,credits:null,mode:null}},xv=class extends U{pipeId=_v;payload;payloadSchema=yv;billableOperations=bv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`gmail`]}estimateBillableOperations(e){return Y(e,`email-send-gmail-v1-gmail`)}getTemplatedFields(){return[this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return Jc(this.getTemplatedFields())}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[vv.name]:this.catalogOutput(vv)}}getConnectionsRequirements(){return[{provider:`gmail`,rateLimitRatio:1,rateLimitOperation:`gmail_send_email`,allowManagedConnection:!1}]}},Sv=yv,Cv={pipeId:_v,basePipe:K(_v),label:`Send email`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Gmail.`,guide:"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:[G.EMAIL],keywords:[`outreach`,`message`,`mail`,`compose`,`deliver`,`outbound`],docPath:q(_v),billableOperations:bv,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`gmail`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:_v,connector:{strategy:`first`,connections:[]},run_if:null,config:{to:``,reply_to:``,subject:``,body:``,output_fields:{gmail_email_success:{alias:``,enabled:!0}}}}},wv=`email:send:resend@1`,Tv=g(`resend_email_success`),Ev=r.object({pipe_id:r.literal(wv),connector:ms(),run_if:x(),config:r.object({from:S({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:S({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:S({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`}).nullable(),subject:S({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:S({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 }},
|
|
71
71
|
|
|
72
|
-
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:L(r.object({[tv.name]:O({fieldName:tv.name})}))})}),rv={"email-send-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},iv=class extends H{pipeId=ev;payload;payloadSchema=nv;billableOperations=rv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(e){return J(e,`email-send-resend-v1-resend`)}getTemplatedFields(){return[this.payload.config.from,this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return wc(this.getTemplatedFields())}getSecretRequirements(){return Tc(this.getTemplatedFields())}getConstantRequirements(){return Ec(this.getTemplatedFields())}getRawOutputFields(){return{[tv.name]:this.catalogOutput(tv)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},av=nv,ov={pipeId:ev,basePipe:G(ev),label:`Send email with Resend`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Resend.`,guide:"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:[W.EMAIL],docPath:K(ev),billableOperations:rv,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:ev,connector:{strategy:`first`,connections:[]},run_if:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},sv=`email:validate:zerobounce@1`,cv=g(`email`),lv=g(`zerobounce_validation_status`),uv=g(`zerobounce_validation_match`),dv=r.object({pipe_id:r.literal(sv),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[cv.name]:E({fieldName:cv.name})})),output_fields:L(r.object({[uv.name]:O({fieldName:uv.name}),[lv.name]:O({fieldName:lv.name})}))}).optional()}),fv=e=>V(q(cv,e)),pv={"email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.4,level1:{credits:.3,weight:1},level2:{credits:.15,weight:6}},mode:`always`}},mv=class extends H{pipeId=sv;payload;payloadSchema=dv;billableOperations=pv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return J(e,`email-validate-zerobounce-v1-zerobounce`)}getInputRequirement(){return fv(this.payload.config)}getRawOutputFields(){return{[lv.name]:this.catalogOutput(lv),[uv.name]:this.catalogOutput(uv)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},hv=dv,gv={pipeId:sv,basePipe:G(sv),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:[W.EMAIL],docPath:K(sv),billableOperations:pv,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:fv(null),defaultPayload:{pipe_id:sv,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},_v=`email:write@1`,vv=`email-write-v1`,yv=Za(vv),bv=g(`email_subject`),xv=g(`email_body`),Sv=r.object({pipe_id:r.literal(_v),connector:C(),run_if:x(),config:r.object({template:Uo({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:U(`prompt`),groupPath:`config.prompt`,required:!0}),model:gs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:yv}),signature:ms({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:hs({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:L(r.object({[bv.name]:O({fieldName:bv.name}),[xv.name]:O({fieldName:xv.name})}))})}),Cv=class extends H{pipeId=_v;payload;payloadSchema=Sv;billableOperations=yv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Wa(this.payload.config.model)}estimateBillableOperations(e){return $a(e,{model:this.payload.config.model,prefix:vv,inputTokens:600,outputTokens:800})}getInputRequirement(){return wc([this.payload.config.template])}getSecretRequirements(){return Tc([this.payload.config.template])}getConstantRequirements(){return Ec([this.payload.config.template])}getRawOutputFields(){return{[bv.name]:this.catalogOutput(bv),[xv.name]:this.catalogOutput(xv)}}getConnectionsRequirements(){return Ga(this.payload.config.model)}},wv=Sv,Tv={pipeId:_v,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(_v),label:`Email writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing emails.`,guide:`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:[W.AI],docPath:K(_v),defaultInputRequirement:null,billableOperations:yv,allowedUserConnectionProviders:Ka(),managedProviders:Ka(),deprecatedProviders:[],defaultPayload:{pipe_id:_v,connector:null,run_if:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-high`,signature:``}}},Ev=`field:domainify@1`,Dv=g(`url_input`),Ov=g(`domain`),kv=r.object({pipe_id:r.literal(Ev),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Dv.name]:E({fieldName:Dv.name})})),output_fields:L(r.object({[Ov.name]:O({fieldName:Ov.name})}))}).optional()}),Av=e=>V(q(Dv,e)),jv={"field-domainify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Mv=class extends H{pipeId=Ev;payload;payloadSchema=kv;billableOperations=jv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return Av(this.payload.config)}getRawOutputFields(){return{[Ov.name]:this.catalogOutput(Ov)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Nv=kv,Pv={pipeId:Ev,basePipe:G(Ev),label:`Extract domain`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.`,tags:[W.LOGIC,W.FIELDS],docPath:K(Ev),billableOperations:jv,defaultInputRequirement:Av(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Ev,run_if:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},Fv=`field:slugify@1`,Iv=g(`string_input`),Lv=g(`slugified`),Rv=r.object({pipe_id:r.literal(Fv),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Iv.name]:E({fieldName:Iv.name})})),output_fields:L(r.object({[Lv.name]:O({fieldName:Lv.name})}))}).optional()}),zv=e=>V(q(Iv,e)),Bv={"field-slugify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Vv=class extends H{pipeId=Fv;payload;payloadSchema=Rv;billableOperations=Bv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return zv(this.payload.config)}getRawOutputFields(){return{[Lv.name]:this.catalogOutput(Lv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Hv=Rv,Uv={pipeId:Fv,basePipe:G(Fv),label:`Slugify field`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Strip a field value of characters not commonly found in slugs.`,tags:[W.LOGIC,W.FIELDS],docPath:K(Fv),billableOperations:Bv,defaultInputRequirement:zv(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Fv,run_if:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function Wv({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function Gv(e){switch(e.kind){case`field`:return Wv(e.field);case`optional`:return`[optional ${Wv(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?Gv(e.of[0]):`(${e.of.map(Gv).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?Gv(e.of[0]):`(${e.of.map(Gv).join(` OR `)})`}}function Kv(e,t){return`Pipe input requirement is not satisfied${t?.pipeId!==void 0||t?.index!==void 0?` for pipe${t.index===void 0?``:` at index ${t.index}`}${t.pipeId===void 0?``:` (${t.pipeId})`}`:``}: ${Gv(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var qv=class extends Error{constructor(e){super(`Request validation failed (${e.length} errors): ${e.join(`, `)}`),this.errors=e,this.name=`RequestValidationError`,Object.setPrototypeOf(this,new.target.prototype)}};const Z={ConditionTargetFieldNotFound:({fieldName:e,pipeId:t,pipeIdx:n})=>({code:`ConditionTargetFieldNotFound`,message:`${t} (idx: ${n}) has an invalid condition. Field '${e}' not found.`}),FaultyEnrichmentOrder:()=>({code:`FaultyEnrichmentOrder`,message:`Enrichment not found while ordering. Was the request invalid?`}),MustDefineAnnotations:()=>({code:`MustDefineAnnotations`,message:`Must define either input or field annoations to validate pipes payload.`}),CircularDependency:({currentPipe:e,circularPipe:t})=>({code:`CircularDependency`,message:`'${e.pipe_id}' (${e.idx}) and '${t.pipeId}' (${t.idx}) create a dependency loop. They both need the other's output to complete. Neither can complete. You can map the pipe outputs or input to fields with different names if you want the pipes to be independent or each other.`}),ValidationFailed:({error:e})=>({code:`ValidationFailed`,message:`Failed to validate task request: ${e instanceof Error?e.message:String(e)}`}),MissingCustomConnections:({pipeId:e,index:t,missingProviders:n})=>({code:`MissingCustomConnections`,message:`Pipe ${e} (index ${t}) requires you to specify custom connections for the providers ${n.join(`, `)}. Create the custom connections in the dashbard and reference them in your request.`}),ResponseGenerationFailed:({error:e})=>({code:`ResponseGenerationFailed`,message:`Failed to generate response: ${e instanceof Error?e.message:String(e)}`}),InputValuesMustHaveSameType:({pipeId:e,fieldNames:t})=>({code:`InputValuesMustHaveSameType`,message:`Pipe ${e} requires all input values to have the same type. But values ${t.join(`, `)} have different types.`}),NotValidated:()=>({code:`NotValidated`,message:`PipelineRequest must be validated before accessing results`}),MissingIdInInput:()=>({code:`MissingIdInInput`,message:`Inputs missing 'id' property.`}),InputDataTypeMismatch:({key:e,derivedInputFieldType:t,fieldType:n})=>({code:`InputDataTypeMismatch`,message:`Input data has values with matching keys '${e}' but different types. Expected type: '${t}'. Actual: '${n}'.`}),UnresolvableDependency:({index:e,dependencyIndex:t})=>({code:`UnresolvableDependency`,message:`Unresolvable dependency at index ${e} to ${t}`}),RequirementUnmet:({requirement:e,pipeId:t,index:n})=>({code:`RequirementUnmet`,message:Kv(e,{pipeId:t,index:n})}),HardInputDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardInputDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) must come after pipe at idx: ${n} (${r})`}),HardConditionDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardConditionDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) has a condition that points to pipe at idx: ${n} (${r}). But pipe index: ${e} (${t}) is always must be processed after pipe at index ${n} (${r}). This is due to input requirements or other conditions.`}),DuplicateInitialField:({name:e})=>({code:`DuplicateInitialField`,message:`Duplicate initial field '${e}' detected. Each field must be defined only once.`}),MissingInputId:({index:e})=>({code:`MissingInputId`,message:`Input record at index ${e} is missing a required ID field.`}),InvalidId:()=>({code:`InvalidId`,message:`Cell IDs must be numbers or strings`}),IDConflict:({index:e,id:t})=>({code:`IDConflict`,message:`Input data at index ${e} has Id conflict. Id '${t}' is not unique.`}),UnknownResolver:({pipeId:e,index:t})=>({code:`UnknownResolver`,message:`Unknown pipe '${e}' specified at position ${t}.`}),DuplicatePipeOutput:({pipeId:e,outputField:t})=>({code:`DuplicateEnrichmentOutput`,message:`Field conflict for '${e}'. Cannot add output field ${Wv(t)} to pipeline because it already exists. Try renaming it.`}),ReservedOutputFieldName:({})=>({code:`ReservedOutputFieldName`,message:`'id' is reserved field name. Please rename your output field.`}),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 Jv=class extends Error{},Q=class extends Jv{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 Yv=`fields:merge@1`,Xv=g(`merge_result`),Zv=r.object({pipe_id:r.literal(Yv),connector:w(),run_if:x(),config:r.object({sources:$o({sectionKey:`general`,groupPath:`config.general`,path:`config.sources`,info:`Provide references to input fields`,minItems:2}),output_fields:L(r.object({[Xv.name]:O({fieldName:Xv.name})}))})}),Qv={"fields-merge-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},$v=class extends H{pipeId=Yv;payload;payloadSchema=Zv;billableOperations=Qv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`fields-merge-v1-pipe0`)}getInputRequirement(){let e=this.payload.config.sources.map(e=>e.field_name),t;return dc(...this.payload.config.sources.map(n=>V({format:null,type:r=>{let i=Sc(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{[Xv.name]:this.catalogOutput(Xv,{resolveType:e=>{let t=Sc(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}]}},ey=Zv,ty={pipeId:Yv,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(Yv),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:[W.FIELDS,W.LOGIC],docPath:K(Yv),defaultInputRequirement:null,billableOperations:Qv,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Yv,connector:null,run_if:null,config:{sources:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},ny=`http:request@1`,ry=g(`http_response_status`),iy=g(`http_response_body`),ay=g(`http_response_headers`),oy=r.object({pipe_id:r.literal(ny),connector:w(),run_if:x(),config:r.object({method:hs({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:S({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:os({sectionKey:`general`,groupPath:`config.general`,path:`config.query_params`,label:`Query parameters`,info:"Appended to the URL. In the value column, type `/` to insert a field or secret reference.",keyLabel:`Key`,valueLabel:`Value`,keyPlaceholder:`page`,valuePlaceholder:`1`,maxKeys:50}),body:S({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
|
+
โฆ`,inputType:`text`,minLength:1,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[Tv.name]:k({fieldName:Tv.name})}))})}),Dv={"email-send-resend-v1-resend":{allowManagedConnection:!1,provider:`resend`,credits:null,mode:null}},Ov=class extends U{pipeId=wv;payload;payloadSchema=Ev;billableOperations=Dv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`resend`]}estimateBillableOperations(e){return Y(e,`email-send-resend-v1-resend`)}getTemplatedFields(){return[this.payload.config.from,this.payload.config.to,this.payload.config.reply_to,this.payload.config.subject,this.payload.config.body]}getInputRequirement(){return Jc(this.getTemplatedFields())}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[Tv.name]:this.catalogOutput(Tv)}}getConnectionsRequirements(){return[{provider:`resend`,rateLimitRatio:1,rateLimitOperation:`resend_generic`,allowManagedConnection:!1}]}},kv=Ev,Av={pipeId:wv,basePipe:K(wv),label:`Send email with Resend`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send an email with Resend.`,guide:"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:[G.EMAIL],keywords:[`outreach`,`message`,`mail`,`deliver`,`outbound`,`transactional`],docPath:q(wv),billableOperations:Dv,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`resend`],defaultInputRequirement:null,managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:wv,connector:{strategy:`first`,connections:[]},run_if:null,config:{from:``,to:``,reply_to:``,subject:``,body:``,output_fields:{resend_email_success:{alias:``,enabled:!0}}}}},jv=`email:validate:zerobounce@1`,Mv=g(`email`),Nv=g(`zerobounce_validation_status`),Pv=g(`zerobounce_validation_match`),Fv=r.object({pipe_id:r.literal(jv),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[Mv.name]:E({fieldName:Mv.name})})),output_fields:R(r.object({[Pv.name]:k({fieldName:Pv.name}),[Nv.name]:k({fieldName:Nv.name})}))}).optional()}),Iv=e=>H(J(Mv,e)),Lv={"email-validate-zerobounce-v1-zerobounce":{provider:`zerobounce`,allowManagedConnection:!0,credits:{default:.4,level1:{credits:.3,weight:1},level2:{credits:.15,weight:6}},mode:`always`}},Rv=class extends U{pipeId=jv;payload;payloadSchema=Fv;billableOperations=Lv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`zerobounce`]}estimateBillableOperations(e){return Y(e,`email-validate-zerobounce-v1-zerobounce`)}getInputRequirement(){return Iv(this.payload.config)}getRawOutputFields(){return{[Nv.name]:this.catalogOutput(Nv),[Pv.name]:this.catalogOutput(Pv)}}getConnectionsRequirements(){return[{provider:`zerobounce`,rateLimitRatio:1,rateLimitOperation:`zerobounce_generic`,allowManagedConnection:!0}]}},zv=Fv,Bv={pipeId:jv,basePipe:K(jv),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:[G.EMAIL],keywords:[`verify`,`verification`,`bounce`,`deliverability`,`check`,`clean`],docPath:q(jv),billableOperations:Lv,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`zerobounce`],managedProviders:[`zerobounce`],deprecatedProviders:[],defaultInputRequirement:Iv(null),defaultPayload:{pipe_id:jv,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{zerobounce_validation_status:{alias:``,enabled:!0},zerobounce_validation_match:{alias:``,enabled:!0}}}}},Vv=`email:write@1`,Hv=`email-write-v1`,Uv=xo(Hv),Wv=g(`email_subject`),Gv=g(`email_body`),Kv=r.object({pipe_id:r.literal(Vv),connector:C(),run_if:x(),config:r.object({template:fs({sectionKey:`general`,label:`Prompt`,path:`config.template`,placeholder:W(`prompt`),groupPath:`config.prompt`,required:!0}),model:Bs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Uv}),signature:Rs({sectionKey:`general`,label:`Signature (Markdown)`,path:`config.signature`,groupPath:`config.email`,minLength:5,rows:10}),persona:zs({sectionKey:`general`,label:`Persona`,info:`Define the unique tone of your email`,path:`config.persona`,groupPath:`config.prompt`,required:!1,options:[{label:`Sales`,value:`sales`},{label:`Human Resources`,value:`human_resources`},{label:`Customer Success`,value:`customer_success`}]}),output_fields:R(r.object({[Wv.name]:k({fieldName:Wv.name}),[Gv.name]:k({fieldName:Gv.name})}))})}),qv=class extends U{pipeId=Vv;payload;payloadSchema=Kv;billableOperations=Uv;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return mo(this.payload.config.model)}estimateBillableOperations(e){return Co(e,{model:this.payload.config.model,prefix:Hv,inputTokens:600,outputTokens:800})}getInputRequirement(){return Jc([this.payload.config.template])}getSecretRequirements(){return Yc([this.payload.config.template])}getConstantRequirements(){return Xc([this.payload.config.template])}getRawOutputFields(){return{[Wv.name]:this.catalogOutput(Wv),[Gv.name]:this.catalogOutput(Gv)}}getConnectionsRequirements(){return ho(this.payload.config.model)}},Jv=Kv,Yv={pipeId:Vv,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:K(Vv),label:`Email writer`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`An AI agent specialized in composing emails.`,guide:`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:[G.AI],keywords:[`ai`,`compose`,`draft`,`generate`,`copywriting`,`personalize`,`outreach`],docPath:q(Vv),defaultInputRequirement:null,billableOperations:Uv,allowedUserConnectionProviders:go(),managedProviders:go(),deprecatedProviders:[],defaultPayload:{pipe_id:Vv,connector:null,run_if:null,config:{template:``,output_fields:{email_body:{alias:``,enabled:!0},email_subject:{alias:``,enabled:!0}},persona:`sales`,model:`openai-high`,signature:``}}},Xv=`field:domainify@1`,Zv=g(`url_input`),Qv=g(`domain`),$v=r.object({pipe_id:r.literal(Xv),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[Zv.name]:E({fieldName:Zv.name})})),output_fields:R(r.object({[Qv.name]:k({fieldName:Qv.name})}))}).optional()}),ey=e=>H(J(Zv,e)),ty={"field-domainify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},ny=class extends U{pipeId=Xv;payload;payloadSchema=$v;billableOperations=ty;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return ey(this.payload.config)}getRawOutputFields(){return{[Qv.name]:this.catalogOutput(Qv)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ry=$v,iy={pipeId:Xv,basePipe:K(Xv),label:`Extract domain`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Transform URL input into a domain. Example: 'https://go.com' to 'go.com'.`,tags:[G.LOGIC,G.FIELDS],keywords:[`url`,`website`,`hostname`,`clean`,`strip`,`parse`],docPath:q(Xv),billableOperations:ty,defaultInputRequirement:ey(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Xv,run_if:null,connector:null,config:{input_fields:{url_input:{alias:``}},output_fields:{domain:{alias:``,enabled:!0}}}}},ay=`field:slugify@1`,oy=g(`string_input`),sy=g(`slugified`),cy=r.object({pipe_id:r.literal(ay),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[oy.name]:E({fieldName:oy.name})})),output_fields:R(r.object({[sy.name]:k({fieldName:sy.name})}))}).optional()}),ly=e=>H(J(oy,e)),uy={"field-slugify-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},dy=class extends U{pipeId=ay;payload;payloadSchema=cy;billableOperations=uy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getInputRequirement(){return ly(this.payload.config)}getRawOutputFields(){return{[sy.name]:this.catalogOutput(sy)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},fy=cy,py={pipeId:ay,basePipe:K(ay),label:`Slugify field`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Strip a field value of characters not commonly found in slugs.`,tags:[G.LOGIC,G.FIELDS],keywords:[`clean`,`sanitize`,`normalize`,`url safe`,`format`,`strip`],docPath:q(ay),billableOperations:uy,defaultInputRequirement:ly(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:ay,run_if:null,connector:null,config:{input_fields:{string_input:{alias:``}},output_fields:{slugified:{alias:``,enabled:!0}}}}};function my({name:e,resolvedName:t}){return e===t?`'${e}'`:`'${e}' (resolved to '${t}')`}function hy(e){switch(e.kind){case`field`:return my(e.field);case`optional`:return`[optional ${my(e.field)}]`;case`all`:return e.of.length===0?`(none)`:e.of.length===1?hy(e.of[0]):`(${e.of.map(hy).join(` AND `)})`;case`any`:return e.of.length===0?`(none)`:e.of.length===1?hy(e.of[0]):`(${e.of.map(hy).join(` OR `)})`}}function gy(e,t){return`Pipe input requirement is not satisfied${t?.pipeId!==void 0||t?.index!==void 0?` for pipe${t.index===void 0?``:` at index ${t.index}`}${t.pipeId===void 0?``:` (${t.pipeId})`}`:``}: ${hy(e)}. Map missing fields to existing ones, add a pipe that outputs them, or include them in your inputs.`}var _y=class extends Error{constructor(e){super(`Request validation failed (${e.length} errors): ${e.join(`, `)}`),this.errors=e,this.name=`RequestValidationError`,Object.setPrototypeOf(this,new.target.prototype)}};const Q={ConditionTargetFieldNotFound:({fieldName:e,pipeId:t,pipeIdx:n})=>({code:`ConditionTargetFieldNotFound`,message:`${t} (idx: ${n}) has an invalid condition. Field '${e}' not found.`}),FaultyEnrichmentOrder:()=>({code:`FaultyEnrichmentOrder`,message:`Enrichment not found while ordering. Was the request invalid?`}),MustDefineAnnotations:()=>({code:`MustDefineAnnotations`,message:`Must define either input or field annoations to validate pipes payload.`}),CircularDependency:({currentPipe:e,circularPipe:t})=>({code:`CircularDependency`,message:`'${e.pipe_id}' (${e.idx}) and '${t.pipeId}' (${t.idx}) create a dependency loop. They both need the other's output to complete. Neither can complete. You can map the pipe outputs or input to fields with different names if you want the pipes to be independent or each other.`}),ValidationFailed:({error:e})=>({code:`ValidationFailed`,message:`Failed to validate task request: ${e instanceof Error?e.message:String(e)}`}),MissingCustomConnections:({pipeId:e,index:t,missingProviders:n})=>({code:`MissingCustomConnections`,message:`Pipe ${e} (index ${t}) requires you to specify custom connections for the providers ${n.join(`, `)}. Create the custom connections in the dashbard and reference them in your request.`}),ResponseGenerationFailed:({error:e})=>({code:`ResponseGenerationFailed`,message:`Failed to generate response: ${e instanceof Error?e.message:String(e)}`}),InputValuesMustHaveSameType:({pipeId:e,fieldNames:t})=>({code:`InputValuesMustHaveSameType`,message:`Pipe ${e} requires all input values to have the same type. But values ${t.join(`, `)} have different types.`}),NotValidated:()=>({code:`NotValidated`,message:`PipelineRequest must be validated before accessing results`}),MissingIdInInput:()=>({code:`MissingIdInInput`,message:`Inputs missing 'id' property.`}),InputDataTypeMismatch:({key:e,derivedInputFieldType:t,fieldType:n})=>({code:`InputDataTypeMismatch`,message:`Input data has values with matching keys '${e}' but different types. Expected type: '${t}'. Actual: '${n}'.`}),UnresolvableDependency:({index:e,dependencyIndex:t})=>({code:`UnresolvableDependency`,message:`Unresolvable dependency at index ${e} to ${t}`}),RequirementUnmet:({requirement:e,pipeId:t,index:n})=>({code:`RequirementUnmet`,message:gy(e,{pipeId:t,index:n})}),HardInputDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardInputDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) must come after pipe at idx: ${n} (${r})`}),HardConditionDependencyViolation:({index:e,indexPipeId:t,dependencyIndex:n,dependencyIndexPipeId:r})=>({code:`HardConditionDependencyViolation`,message:`Dependency violation: pipe at idx: ${e} (${t}) has a condition that points to pipe at idx: ${n} (${r}). But pipe index: ${e} (${t}) is always must be processed after pipe at index ${n} (${r}). This is due to input requirements or other conditions.`}),DuplicateInitialField:({name:e})=>({code:`DuplicateInitialField`,message:`Duplicate initial field '${e}' detected. Each field must be defined only once.`}),MissingInputId:({index:e})=>({code:`MissingInputId`,message:`Input record at index ${e} is missing a required ID field.`}),InvalidId:()=>({code:`InvalidId`,message:`Cell IDs must be numbers or strings`}),IDConflict:({index:e,id:t})=>({code:`IDConflict`,message:`Input data at index ${e} has Id conflict. Id '${t}' is not unique.`}),UnknownResolver:({pipeId:e,index:t})=>({code:`UnknownResolver`,message:`Unknown pipe '${e}' specified at position ${t}.`}),DuplicatePipeOutput:({pipeId:e,outputField:t})=>({code:`DuplicateEnrichmentOutput`,message:`Field conflict for '${e}'. Cannot add output field ${my(t)} to pipeline because it already exists. Try renaming it.`}),ReservedOutputFieldName:({})=>({code:`ReservedOutputFieldName`,message:`'id' is reserved field name. Please rename your output field.`}),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 vy=class extends Error{},$=class extends vy{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 yy=`fields:merge@1`,by=g(`merge_result`),xy=r.object({pipe_id:r.literal(yy),connector:w(),run_if:x(),config:r.object({merge_fields:Ss({sectionKey:`general`,groupPath:`config.general`,path:`config.merge_fields`,label:`Fields`,info:`Provide references to input fields`,minItems:2}),output_fields:R(r.object({[by.name]:k({fieldName:by.name})}))})}),Sy={"fields-merge-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},Cy=class extends U{pipeId=yy;payload;payloadSchema=xy;billableOperations=Sy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`fields-merge-v1-pipe0`)}getInputRequirement(){let e=this.payload.config.merge_fields.map(e=>e.field_name),t;return Fc(...this.payload.config.merge_fields.map(n=>H({format:null,type:r=>{let i=Kc(r,e)[n.field_name],a=i?.type?i.type:`unknown`;if(a!==`unknown`){if(t&&t!==a)throw new $([Q.InputValuesMustHaveSameType({pipeId:this.pipeId,fieldNames:e})]);t=a}return i?.type?i.type:`unknown`},label:``,description:``,name:n.field_name,resolvedName:n.field_name})))}getRawOutputFields(){return{[by.name]:this.catalogOutput(by,{resolveType:e=>{let t=Kc(e,this.payload.config.merge_fields.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}]}},wy=xy,Ty={pipeId:yy,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:K(yy),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:[G.FIELDS,G.LOGIC],keywords:[`combine`,`join`,`coalesce`,`fallback`,`concat`,`first defined`],docPath:q(yy),defaultInputRequirement:null,billableOperations:Sy,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:yy,connector:null,run_if:null,config:{merge_fields:[],output_fields:{merge_result:{alias:``,enabled:!0}}}}},Ey=`http:request@1`,Dy=g(`http_response_status`),Oy=g(`http_response_body`),ky=g(`http_response_headers`),Ay=r.object({pipe_id:r.literal(Ey),connector:w(),run_if:x(),config:r.object({method:zs({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:S({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:js({sectionKey:`general`,groupPath:`config.general`,path:`config.query_params`,label:`Query parameters`,info:"Appended to the URL. In the value column, type `/` to insert a field or secret reference.",keyLabel:`Key`,valueLabel:`Value`,keyPlaceholder:`page`,valuePlaceholder:`1`,maxKeys:50}),body:S({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:`{
|
|
73
73
|
"key": "value"
|
|
74
|
-
}`,inputType:`text`,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`text`,multiline:!0}).nullable(),headers:os({sectionKey:`general`,groupPath:`config.general`,path:`config.headers`,label:`Headers`,info:"In the value column, type `/` to insert a field or secret reference (e.g. `Bearer {{ secret โฆ }}`).",keyLabel:`Header`,valueLabel:`Value`,keyPlaceholder:`Authorization`,valuePlaceholder:`Bearer {{ secret โฆ }}`,maxKeys:50}),expected_response_schema:bs({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).`,allowEmpty:!0}).optional(),output_fields:L(r.object({[ry.name]:O({fieldName:ry.name}),[iy.name]:O({fieldName:iy.name}),[ay.name]:O({fieldName:ay.name})}))})}),sy={"http-request-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.001},mode:`always`}},cy=class extends H{pipeId=ny;payload;payloadSchema=oy;billableOperations=sy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`http-request-v1-pipe0`)}getTemplatedFields(){return[this.payload.config.url,this.payload.config.body,...Object.values(this.payload.config.query_params??{}),...Object.values(this.payload.config.headers??{})]}getInputRequirement(){return wc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Tc(this.getTemplatedFields())}getConstantRequirements(){return Ec(this.getTemplatedFields())}getRawOutputFields(){return{[ry.name]:this.catalogOutput(ry),[iy.name]:this.catalogOutput(iy),[ay.name]:this.catalogOutput(ay)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},ly=oy,uy={pipeId:ny,basePipe:G(ny),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:[W.LOGIC,W.JSON,W.NEW],docPath:K(ny),billableOperations:sy,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:ny,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}}}}},dy=`json:extract:multi@1`,fy=r.object({pipe_id:r.literal(dy),run_if:x(),connector:w(),config:r.object({json_extraction:po()})}),py={"json-extract-multi-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},my=class extends H{pipeId=dy;payload;payloadSchema=fy;billableOperations=py;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`json-extract-multi-v1-pipe0`)}getInputRequirement(){return V({description:``,name:this.payload.config.json_extraction.field_name,format:null,label:``,type:`json`,resolvedName:this.payload.config.json_extraction.field_name})}getRawOutputFields(){let e={};for(let t of this.payload.config.json_extraction.extractions)e[t.output_field.name||t.output_field.name]={description:`Extracted value from JSON input field ${this.payload.config.json_extraction.field_name}.`,enabled:!0,format:t.output_field.format||null,label:t.output_field.label||`Extract JSON`,name:t.output_field.name,resolvedName:t.output_field.name,jsonMeta:null,type:t.output_field.type,isCatalogFIeld:!1,isPrimaryOutput:!1};return e}getConnectionsRequirements(){return[]}},hy=fy,gy={pipeId:dy,basePipe:G(dy),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,guide:'Deterministic JSON extraction โ PREFER this over prompt:run@1 whenever you need a value out of a JSON / known-schema column (no LLM, reproducible, schedulable). config.json_extraction.field_name is the source json column; each extraction has a JSONata `path` plus an output_field. Read the source column\'s JSON schema (get_pipe_schema / get_search_schema output fields, or get_sheet_schema) to author the path. Examples over a profile\'s employment_history array: `employment_history[is_current_employer=true][]` (array of current jobs โ output_field.type "json"); `employment_history[is_primary_current_employer=true].company_domain` (scalar โ output_field.type "string"). Set output_field.type to "json" for an object/array result, "string" for a scalar. CRITICAL for a list you will fan out (e.g. into row:expandappend:sheet@1): a JSONata filter returns the matched ELEMENT when exactly one row matches but an ARRAY when several do โ so ALWAYS append the array constructor `[]` to force a consistent array in every row (`employment_history[is_current_employer=true][]`, not `...=true]`). Without it the column is an object in single-match rows and an array in others, and the downstream expand rejects the object rows. To confirm a NEW path resolves the shape you expect before running anything downstream, switch the sheet to SANDBOX (env:change@1) and run just this extraction โ it runs for REAL in sandbox (no writes, no spend), so you can read the actual result, fix the path, then switch back to production.',docPath:K(dy),tags:[W.JSON],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:py,defaultInputRequirement:null,defaultPayload:{pipe_id:dy,run_if:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},_y=`lead:enroll:lemlist@1`,vy={"lead-enroll-lemlist-v1-lemlist":{allowManagedConnection:!1,provider:`lemlist`,credits:null,mode:null}},yy=g(`email`),by=g(`name`),xy=g(`first_name`),Sy=g(`last_name`),Cy=g(`company_name`),wy=g(`job_title`),Ty=g(`profile_url`),Ey=g(`phone`),Dy=g(`lemlist_lead_id`),Oy=g(`lemlist_enrollment_result`),ky=new Set([`email`,`firstName`,`lastName`,`name`,`companyName`,`jobTitle`,`linkedinUrl`,`phone`,`companyDomain`,`icebreaker`,`picture`]),Ay=[{label:`Demo ยท Q3 Outbound`,value:`cam_sandbox_1`},{label:`Demo ยท Founder Intros`,value:`cam_sandbox_2`}],jy={requires:{connection:`lemlist`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return Ay;if(!t)throw new qu.MissingSecretError({providerName:`lemlist`});let r=await fetch(`https://api.lemlist.com/api/campaigns?limit=100`,{headers:{Authorization:`Basic ${t}`}});if(!r.ok){let e=await r.text();throw new qu.HttpError({msg:e})}let i=await r.json(),a=(Array.isArray(i)?i:i.campaigns??[]).map(e=>({label:e.name,value:e._id}));return e?a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):a},widgets:{provider_logo:{provider:`lemlist`}}};function My(e){let t=new Set,n=new Set;try{let r=ia(e);for(let[e,i]of Object.entries(r.inputs))(i.required?t:n).add(e)}catch{for(let n of e.matchAll(/\{\{\s*([A-Za-z_][A-Za-z0-9_]*)/g))t.add(n[1])}return{required:[...t],optional:[...n]}}const Ny=r.object({pipe_id:r.literal(_y),connector:Go(),run_if:x(),config:r.object({campaign_id:xs({sectionKey:`general`,required:!0,label:`Campaign`,groupPath:`config.general`,path:`config.campaign_id`,info:`The lemlist campaign to enroll the lead into.`,enabledIf:Na(`lemlist`),optionsDef:jy}),input_fields:R(r.object({[yy.name]:E({fieldName:yy.name}),[by.name]:E({fieldName:by.name}),[xy.name]:E({fieldName:xy.name}),[Sy.name]:E({fieldName:Sy.name}),[Cy.name]:E({fieldName:Cy.name}),[wy.name]:E({fieldName:wy.name}),[Ty.name]:E({fieldName:Ty.name}),[Ey.name]:E({fieldName:Ey.name})})),custom_variables:os({sectionKey:`general`,groupPath:`config.general`,path:`config.custom_variables`,label:`Custom variables`,info:"lemlist custom variables, set on the lead after enrollment. The Variable name must match what your sequence references (e.g. `{{ painPoint }}`) โ case-sensitive, no spaces. In the Value column, type `/` to insert a field or secret; leave a Value empty to skip that row. Standard fields (company, job title, LinkedIn, phone) are set via the fields above, not here.",keyLabel:`Variable`,valueLabel:`Value`,keyPlaceholder:`painPoint`,valuePlaceholder:`{{ pain_point }}`,maxKeys:50}),output_fields:L(r.object({[Dy.name]:O({fieldName:Dy.name}),[Oy.name]:O({fieldName:Oy.name})}))}).check(e=>{let t=e.value;for(let n of Object.keys(t.custom_variables??{})){let t=n.trim();if(!t)continue;let r=t=>e.issues.push({code:`custom`,input:n,message:t,path:[`custom_variables`,n]});if(t.includes(`{{`)){r("Variable name must be a literal (no `{{ }}` templating).");continue}if(!/^[A-Za-z_][A-Za-z0-9_]*$/.test(t)){r(`Invalid lemlist variable name "${t}" โ use letters, digits, and underscores; no spaces.`);continue}ky.has(t)&&r(`"${t}" is a standard lemlist field โ set it via the dedicated field above, not as a custom variable.`)}})}),Py=e=>uc(V(q(yy,e)),dc(V(q(by,e)),uc(V(q(xy,e)),V(q(Sy,e)))),fc(q(Cy,e)),fc(q(wy,e)),fc(q(Ty,e)),fc(q(Ey,e))),Fy=e=>{let t=new Set;for(let n of e)if(n)try{let e=ia(n);for(let n of Object.keys(e.inputs))t.add(n)}catch{}return[...t].map(e=>fc({name:e,resolvedName:e,label:e,description:``,type:t=>Cc(t,e)?.type||`string`,format:`text`}))},Iy=class extends H{pipeId=_y;payload;payloadSchema=Ny;billableOperations=vy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`lemlist`]}estimateBillableOperations(e){return J(e,`lead-enroll-lemlist-v1-lemlist`)}getCustomVariableValueTemplates(){return Object.values(this.payload.config.custom_variables??{})}getInputRequirement(){return uc(Py(this.payload.config),...Fy(this.getCustomVariableValueTemplates()))}getSecretRequirements(){return Tc(this.getCustomVariableValueTemplates())}getConstantRequirements(){return Ec(this.getCustomVariableValueTemplates())}getRawOutputFields(){return{[Dy.name]:this.catalogOutput(Dy),[Oy.name]:this.catalogOutput(Oy)}}getConnectionsRequirements(){return[{provider:`lemlist`,rateLimitRatio:1,rateLimitOperation:`lemlist_create_lead`,allowManagedConnection:!1}]}async getAgentContext({connectionSecrets:e,environment:t}){let n=this.payload.config.campaign_id,r=Array.isArray(n)?n[0]:n;if(!r)return null;if(t===`sandbox`)return{summary:`Sandbox: this sequence references custom variables painPoint and eventLink โ set each via config.custom_variables.`,data:{required_custom_variables:[`painPoint`,`eventLink`],used_standard_fields:[`firstName`]}};let i=e.lemlist;if(!i)throw new qu.MissingSecretError({providerName:`lemlist`});let a=await fetch(`https://api.lemlist.com/api/campaigns/${encodeURIComponent(r)}/sequences`,{headers:{Authorization:`Basic ${i}`},signal:AbortSignal.timeout(1e4)});if(!a.ok){let e=await a.text();throw new qu.HttpError({msg:e})}let o=await a.json(),s=new Set;for(let e of Object.values(o??{}))for(let t of e?.steps??[])for(let e of[t?.subject,t?.message]){if(!e)continue;let{required:t,optional:n}=My(e);for(let e of[...t,...n])s.add(e)}let c=[...s].filter(e=>ky.has(e)),l=[...s].filter(e=>!ky.has(e));return{summary:l.length===0?`This sequence uses only standard lemlist fields โ no custom variables to set.`:`This sequence requires these custom variables โ set each via config.custom_variables (the value is a Liquid template over your sheet columns, e.g. {{ pain_point }}): ${l.join(`, `)}. Standard fields (email, firstName, โฆ) are populated by the input fields above, not here.`,data:{required_custom_variables:l,used_standard_fields:c}}}},Ly=Ny,Ry={pipeId:_y,basePipe:G(_y),label:`Enroll Lead in Campaign`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Add a lead to a lemlist campaign sequence, with custom variables.`,tags:[W.EMAIL],docPath:K(_y),billableOperations:vy,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`lemlist`],defaultInputRequirement:Py(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:_y,connector:{strategy:`first`,connections:[]},run_if:null,config:{campaign_id:``,input_fields:{email:{alias:``},name:{alias:``},first_name:{alias:``},last_name:{alias:``},company_name:{alias:``},job_title:{alias:``},profile_url:{alias:``},phone:{alias:``}},custom_variables:{},output_fields:{lemlist_lead_id:{alias:``,enabled:!0},lemlist_enrollment_result:{alias:``,enabled:!1}}}}},zy=`message:send:slack@1`,By=g(`slack_message_success`),Vy=[{label:`#demo-general`,value:`C0SANDBOX001`},{label:`#demo-alerts`,value:`C0SANDBOX002`}],Hy=r.object({pipe_id:r.literal(zy),connector:Go(),run_if:x(),config:r.object({channel_id:S({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 Vy;if(!t)throw new qu.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 qu.HttpError({msg:e})}let i=await r.json();if(!i.ok)throw new qu.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:S({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:L(r.object({[By.name]:O({fieldName:By.name})}))})}),Uy={"message-send-slack-v1-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},Wy=class extends H{pipeId=zy;payload;payloadSchema=Hy;billableOperations=Uy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`slack`]}estimateBillableOperations(e){return J(e,`message-send-slack-v1-slack`)}getTemplatedFields(){return[this.payload.config.channel_id,this.payload.config.message]}getInputRequirement(){return wc(this.getTemplatedFields())}getSecretRequirements(){return Tc(this.getTemplatedFields())}getConstantRequirements(){return Ec(this.getTemplatedFields())}getRawOutputFields(){return{[By.name]:this.catalogOutput(By)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},Gy=Hy,Ky={pipeId:zy,basePipe:G(zy),label:`Send message into channel`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send a Slack message to a channel.`,guide:"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:[W.CHAT],docPath:K(zy),billableOperations:Uy,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:zy,connector:{strategy:`first`,connections:[]},run_if:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},qy=`message:write@1`,Jy=g(`message`),Yy=`message-write-v1`,Xy=Za(Yy),Zy=r.object({pipe_id:r.literal(qy),connector:C(),run_if:x(),config:r.object({template:Uo({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:U(`prompt`),groupPath:`config.prompt`,required:!0}),model:gs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:Xy}),output_fields:L(r.object({[Jy.name]:O({fieldName:Jy.name})}))})}),Qy=class extends H{pipeId=qy;payload;payloadSchema=Zy;billableOperations=Xy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Wa(this.payload.config.model)}estimateBillableOperations(e){return $a(e,{model:this.payload.config.model,prefix:Yy,inputTokens:600,outputTokens:800})}getInputRequirement(){return wc([this.payload.config.template])}getSecretRequirements(){return Tc([this.payload.config.template])}getConstantRequirements(){return Ec([this.payload.config.template])}getRawOutputFields(){return{[Jy.name]:this.catalogOutput(Jy)}}getConnectionsRequirements(){return Ga(this.payload.config.model)}},$y=Zy,eb={pipeId:qy,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:G(qy),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.)`,guide:`AI message composer for Slack/Teams/Discord. Outputs: message. Pair with message:send:slack@1 to send.`,tags:[W.AI],docPath:K(qy),defaultInputRequirement:null,billableOperations:Xy,allowedUserConnectionProviders:Ka(),managedProviders:Ka(),deprecatedProviders:[],defaultPayload:{pipe_id:qy,connector:null,run_if:null,config:{model:`openai-high`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},tb=`person:devprofileurl:profileurl:waterfall@1`,nb=g(`profile_url`),rb=g(`developer_profile_url`),ib=g(`alternative_developer_profile_urls`),ab=[`crustdata`],ob=[{provider:`crustdata`}],sb=r.object({pipe_id:r.literal(tb),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:ob,availableProviders:ab}),input_fields:R(r.object({[nb.name]:E({fieldName:nb.name})})),output_fields:L(r.object({[rb.name]:O({fieldName:rb.name}),[ib.name]:O({fieldName:ib.name})}))}).optional()}),cb=e=>V(q(nb,e)),lb={"person-devprofileurl-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1.3,weight:1}},mode:`onSuccess`}},ub=class extends H{pipeId=tb;payload;payloadSchema=sb;billableOperations=lb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return cb(this.payload.config)}getRawOutputFields(){return{[rb.name]:this.catalogOutput(rb,{isPrimaryOutput:!0}),[ib.name]:this.catalogOutput(ib,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},db=sb,fb={pipeId:tb,basePipe:G(tb),label:`GitHub profile from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a developer profile URL (e.g. GitHub) for any prospect using multiple data providers in a waterfall motion.`,docPath:K(tb),tags:[W.LINKEDIN,W.WATERFALL,W.NEW],billableOperations:lb,defaultInputRequirement:cb(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:ab,allowedUserConnectionProviders:ab,deprecatedProviders:[],defaultPayload:{pipe_id:tb,connector:null,run_if:null,config:{providers:ob,input_fields:{profile_url:{alias:``}},output_fields:{developer_profile_url:{alias:``,enabled:!0},alternative_developer_profile_urls:{alias:``,enabled:!1}}}}},pb=`person:email:validate:millionverifier@1`,mb=g(`email`),hb=g(`email_validation_status`),gb=g(`million_validation_match`),_b=r.object({pipe_id:r.literal(pb),connector:C(),run_if:x(),config:r.object({input_fields:R(r.object({[mb.name]:E({fieldName:mb.name})})),output_fields:L(r.object({[hb.name]:O({fieldName:hb.name}),[gb.name]:O({fieldName:gb.name})}))}).optional()}),vb=e=>V(q(mb,e)),yb={"person-email-validate-millionverifier-v1-millionverifier":{provider:`millionverifier`,allowManagedConnection:!0,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`always`}},bb=class extends H{pipeId=pb;payload;payloadSchema=_b;billableOperations=yb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(e){return J(e,`person-email-validate-millionverifier-v1-millionverifier`)}getInputRequirement(){return vb(this.payload.config)}getRawOutputFields(){return{[hb.name]:this.catalogOutput(hb),[gb.name]:this.catalogOutput(gb)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},xb=_b,Sb={pipeId:pb,basePipe:G(pb),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[W.EMAIL],docPath:K(pb),billableOperations:yb,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:vb(null),defaultPayload:{pipe_id:pb,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},Cb=g(`email`),wb=g(`amplemarket_person_match`),Tb=`person:identity:amplemarket@1`,Eb=r.object({pipe_id:r.literal(Tb),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[Cb.name]:E({fieldName:Cb.name})})),output_fields:L(r.object({[wb.name]:O({fieldName:wb.name})}))}).optional()}),Db=e=>V(q(Cb,e)),Ob={"person-identity-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},kb=class extends H{pipeId=Tb;payload;payloadSchema=Eb;billableOperations=Ob;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Db(this.payload.config)}getRawOutputFields(){return{[wb.name]:this.catalogOutput(wb)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Ab=Eb,jb={pipeId:Tb,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Tb),label:`Person identity`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their email`,tags:[W.PEOPLE_PROFILES],docPath:K(Tb),billableOperations:Ob,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Db(null),defaultPayload:{pipe_id:Tb,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},Mb=`person:identity:email:waterfall@1`,Nb=g(`email`),Pb=g(`company_domain`),Fb=g(`name`),Ib=g(`job_title`),Lb=g(`profile_url`),Rb=g(`company_profile_url`),zb=g(`company_name`),Bb=[`findymail`,`hunter`,`crustdata`],Vb=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],Hb=r.object({pipe_id:r.literal(Mb),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:Bb,defaultProviders:Vb,sectionKey:`general`}),input_fields:R(r.object({[Nb.name]:E({fieldName:Nb.name})})),output_fields:L(r.object({[Fb.name]:O({fieldName:Fb.name}),[Lb.name]:O({fieldName:Lb.name}),[Ib.name]:O({fieldName:Ib.name}),[Pb.name]:O({fieldName:Pb.name}),[zb.name]:O({fieldName:zb.name}),[Rb.name]:O({fieldName:Rb.name})}))}).optional()}),Ub=e=>V(q(Nb,e)),Wb={"person-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},Gb=class extends H{pipeId=Mb;payload;payloadSchema=Hb;billableOperations=Wb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return Ub(this.payload.config)}getRawOutputFields(){return{[Fb.name]:this.catalogOutput(Fb,{isPrimaryOutput:!0}),[Lb.name]:this.catalogOutput(Lb,{isPrimaryOutput:!0}),[Ib.name]:this.catalogOutput(Ib,{isPrimaryOutput:!0}),[zb.name]:this.catalogOutput(zb,{isPrimaryOutput:!0}),[Rb.name]:this.catalogOutput(Rb,{isPrimaryOutput:!0}),[Pb.name]:this.catalogOutput(Pb,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Kb=Hb,qb={pipeId:Mb,basePipe:G(Mb),label:`Person identity from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find identity of a person from their email address.`,tags:[W.EMAIL,W.PEOPLE_PROFILES],docPath:K(Mb),managedProviders:Bb,deprecatedProviders:[],allowedUserConnectionProviders:Bb,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:Wb,defaultInputRequirement:Ub(null),defaultPayload:{pipe_id:Mb,connector:null,run_if:null,config:{providers:Vb,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}}}}},Jb=g(`profile_url`),Yb=g(`amplemarket_person_match`),Xb=`person:match:amplemarket@1`,Zb=r.object({pipe_id:r.literal(Xb),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[Jb.name]:E({fieldName:Jb.name})})),output_fields:L(r.object({[Yb.name]:O({fieldName:Yb.name})}))}).optional()}),Qb=e=>V(q(Jb,e)),$b={"person-match-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},ex=class extends H{pipeId=Xb;payload;payloadSchema=Zb;billableOperations=$b;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Qb(this.payload.config)}getRawOutputFields(){return{[Yb.name]:this.catalogOutput(Yb)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},tx=Zb,nx={pipeId:Xb,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(Xb),label:`Person match`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their LinkedIn profile URL.`,tags:[W.PEOPLE_PROFILES],docPath:K(Xb),billableOperations:$b,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Qb(null),defaultPayload:{pipe_id:Xb,connector:null,run_if:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},rx=`person:match:role:waterfall@1`,ix=g(`company_domain`),ax=g(`role_finder_match`),ox=[`leadmagic`],sx=[{provider:`leadmagic`}],cx=r.object({pipe_id:r.literal(rx),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:sx,availableProviders:ox}),roles:as({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1,suggestionsDef:h(`titles`),expectedTagType:`string`}),input_fields:R(r.object({[ix.name]:E({fieldName:ix.name})})),output_fields:L(r.object({[ax.name]:O({fieldName:ax.name})}))})}),lx=e=>dc(q(ix,e)),ux={"person-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},dx=class extends H{pipeId=rx;payload;payloadSchema=cx;billableOperations=ux;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return lx(this.payload.config)}getSecretRequirements(){return Tc(this.payload.config?.roles??[])}getConstantRequirements(){return Ec(this.payload.config?.roles??[])}getRawOutputFields(){return{[ax.name]:this.catalogOutput(ax,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},fx=cx,px={pipeId:rx,basePipe:G(rx),managedProviders:ox,deprecatedProviders:[],allowedUserConnectionProviders:ox,label:`Role finder`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[W.PEOPLE_PROFILES],docPath:K(rx),billableOperations:ux,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:lx(null),defaultPayload:{pipe_id:rx,run_if:null,connector:null,config:{roles:[],providers:sx,input_fields:{company_domain:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},mx=`person:mobile:profileurl:waterfall@1`,hx=g(`profile_url`),gx=g(`mobile`),_x=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`],vx=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],yx=r.object({pipe_id:r.literal(mx),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:vx,availableProviders:_x}),input_fields:R(r.object({[hx.name]:E({fieldName:hx.name})})),output_fields:L(r.object({[gx.name]:O({fieldName:gx.name})}))}).optional()}),bx=e=>V(q(hx,e)),xx={"person-mobile-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5,level1:{credits:3,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6,level1:{credits:4,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4,level1:{credits:3,weight:1}},mode:`onSuccess`}},Sx=class extends H{pipeId=mx;payload;payloadSchema=yx;billableOperations=xx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return bx(this.payload.config)}getRawOutputFields(){return{[gx.name]:this.catalogOutput(gx,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Cx=yx,wx={pipeId:mx,basePipe:G(mx),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(mx),tags:[W.PHONE,W.WATERFALL],billableOperations:xx,defaultInputRequirement:bx(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:_x,allowedUserConnectionProviders:_x,deprecatedProviders:[],defaultPayload:{pipe_id:mx,connector:null,run_if:null,config:{providers:vx,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Tx=`person:mobile:workemail:waterfall@1`,Ex=g(`work_email`),Dx=g(`mobile`),Ox=[`leadmagic`,`amplemarket`],kx=[{provider:`leadmagic`},{provider:`amplemarket`}],Ax=r.object({pipe_id:r.literal(Tx),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Ox,defaultProviders:kx}),input_fields:R(r.object({[Ex.name]:E({fieldName:Ex.name})})),output_fields:L(r.object({[Dx.name]:O({fieldName:Dx.name})}))}).optional()}),jx=e=>V(q(Ex,e)),Mx={"person-mobile-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:5,level1:{credits:4,weight:1}},mode:`onSuccess`}},Nx=class extends H{pipeId=Tx;payload;payloadSchema=Ax;billableOperations=Mx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return jx(this.payload.config)}getRawOutputFields(){return{[Dx.name]:this.catalogOutput(Dx,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Px=Ax,Fx={pipeId:Tx,basePipe:G(Tx),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for a prospect.`,tags:[W.PHONE,W.WATERFALL],docPath:K(Tx),billableOperations:Mx,defaultInputRequirement:jx(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Ox,managedProviders:Ox,deprecatedProviders:[],defaultPayload:{pipe_id:Tx,connector:null,run_if:null,config:{providers:kx,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Ix=`person:name:join@1`,Lx=g(`first_name`),Rx=g(`last_name`),zx=g(`name`),Bx=r.object({pipe_id:r.literal(Ix),run_if:x(),connector:w(),config:r.object({input_fields:R(r.object({[Lx.name]:E({fieldName:Lx.name}),[Rx.name]:E({fieldName:Rx.name})})),output_fields:L(r.object({[zx.name]:O({fieldName:zx.name})}))}).optional()}),Vx=e=>uc(q(Lx,e),q(Rx,e)),Hx={"person-name-join-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Ux=class extends H{pipeId=Ix;payload;payloadSchema=Bx;billableOperations=Hx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`person-name-join-v1-pipe0`)}getInputRequirement(){return Vx(this.payload.config)}getRawOutputFields(){return{[zx.name]:this.catalogOutput(zx)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Wx=Bx,Gx={pipeId:Ix,basePipe:G(Ix),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:[W.NAMES],docPath:K(Ix),billableOperations:Hx,defaultInputRequirement:Vx(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Ix,run_if:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},Kx=`person:name:split@1`,qx=g(`name`),Jx=g(`first_name`),Yx=g(`last_name`),Xx=r.object({pipe_id:r.literal(Kx),connector:w(),run_if:x(),config:r.object({input_fields:R(r.object({[qx.name]:E({fieldName:qx.name})})),output_fields:L(r.object({[Jx.name]:O({fieldName:Jx.name}),[Yx.name]:O({fieldName:Yx.name})}))}).optional()}),Zx=e=>V(q(qx,e)),Qx={"person-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},$x=class extends H{pipeId=Kx;payload;payloadSchema=Xx;billableOperations=Qx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`person-name-split-v1-pipe0`)}getInputRequirement(){return Zx(this.payload.config)}getRawOutputFields(){return{[Jx.name]:this.catalogOutput(Jx),[Yx.name]:this.catalogOutput(Yx)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},eS=Xx,tS={pipeId:Kx,basePipe:G(Kx),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[W.NAMES],docPath:K(Kx),billableOperations:Qx,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Zx(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Kx,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},nS=`person:personalemail:profileurl:waterfall@1`,rS=g(`profile_url`),iS=g(`personal_email`),aS=g(`alternate_personal_emails`),oS=[`leadmagic`,`mixrank`],sS=[{provider:`leadmagic`},{provider:`mixrank`}],cS=r.object({pipe_id:r.literal(nS),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:oS,defaultProviders:sS}),input_fields:R(r.object({[rS.name]:E({fieldName:rS.name})})),output_fields:L(r.object({[iS.name]:O({fieldName:iS.name}),[aS.name]:O({fieldName:aS.name})}))}).optional()}),lS=e=>V(q(rS,e)),uS={"person-personalemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-personalemail-profileurl-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},dS=class extends H{pipeId=nS;payload;payloadSchema=cS;billableOperations=uS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return lS(this.payload.config)}getRawOutputFields(){return{[iS.name]:this.catalogOutput(iS,{isPrimaryOutput:!0}),[aS.name]:this.catalogOutput(aS)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},fS=cS,pS={pipeId:nS,basePipe:G(nS),allowedUserConnectionProviders:oS,managedProviders:oS,deprecatedProviders:[],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[W.EMAIL,W.PERSONAL_EMAIL],docPath:K(nS),billableOperations:uS,defaultInputRequirement:lS(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:nS,connector:null,run_if:null,config:{providers:sS,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!1}}}}},mS=g(`profile_url`),hS=g(`post_list_string`),gS=g(`crustdata_post_list`),_S=`person:posts:content:crustdata@1`,vS=r.object({pipe_id:r.literal(_S),run_if:x(),connector:C(),config:r.object({limit:vs({path:`config.limit`,groupPath:`config.general`,max:100,min:1,sectionKey:`general`,info:``,label:`Limit`,legend:`Max. 100`}),input_fields:R(r.object({[mS.name]:E({fieldName:mS.name})})),output_fields:L(r.object({[hS.name]:O({fieldName:hS.name}),[gS.name]:O({fieldName:gS.name})}))}).optional()}),yS=e=>V(q(mS,e)),bS={"person-posts-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`,note:`1.5 credits per post. Posts are fetched in increments of 5.`,provider:`crustdata`}},xS=class extends H{pipeId=_S;payload;payloadSchema=vS;billableOperations=bS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return J(e,`person-posts-crustdata-v1-crustdata`)}getInputRequirement(){return yS(this.payload.config)}getRawOutputFields(){return{[hS.name]:this.catalogOutput(hS),[gS.name]:this.catalogOutput(gS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},SS=vS,CS={pipeId:_S,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(_S),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[W.LINKEDIN],docPath:K(_S),billableOperations:bS,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:yS(null),defaultPayload:{pipe_id:_S,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}}}}},wS=`person:profile:waterfall@1`,TS=g(`profile`),ES=g(`profile_url`),DS=[`prospeo`,`icypeas`,`amplemarket`],OS=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],kS=r.object({pipe_id:r.literal(wS),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:DS,defaultProviders:OS}),input_fields:R(r.object({[ES.name]:E({fieldName:ES.name})})),output_fields:L(r.object({[TS.name]:O({fieldName:TS.name})}))}).optional()}),AS=e=>V(q(ES,e)),jS={"person-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0}},MS=class extends H{pipeId=wS;payload;payloadSchema=kS;billableOperations=jS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return AS(this.payload.config)}getRawOutputFields(){return{[TS.name]:this.catalogOutput(TS,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},NS=kS,PS={pipeId:wS,basePipe:G(wS),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:K(wS),tags:[W.LINKEDIN,W.WATERFALL],managedProviders:DS,deprecatedProviders:[],allowedUserConnectionProviders:DS,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:jS,defaultInputRequirement:AS(null),defaultPayload:{pipe_id:wS,run_if:null,connector:null,config:{providers:OS,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},FS=g(`work_email`),IS=g(`crustdata_person_match`),LS=g(`crustdata_profile_match_score`),RS=`person:profile:workemail:crustdata@1`,zS=r.object({pipe_id:r.literal(RS),run_if:x(),connector:C(),config:r.object({input_fields:R(r.object({[FS.name]:E({fieldName:FS.name})})),output_fields:L(r.object({[IS.name]:O({fieldName:IS.name}),[LS.name]:O({fieldName:LS.name})}))}).optional()}),BS=e=>V(q(FS,e)),VS={"person-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},HS=class extends H{pipeId=RS;payload;payloadSchema=zS;billableOperations=VS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return J(e,`person-profile-workemail-crustdata-v1-crustdata`)}getInputRequirement(){return BS(this.payload.config)}getRawOutputFields(){return{[IS.name]:this.catalogOutput(IS),[LS.name]:this.catalogOutput(LS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},US=zS,WS={pipeId:RS,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:G(RS),label:`Profile from work email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find person profile by their work email address.`,tags:[W.EMAIL,W.PEOPLE_PROFILES],docPath:K(RS),billableOperations:VS,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:BS(null),defaultPayload:{pipe_id:RS,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}}}}},GS=`person:profileurl:email:waterfall@1`,KS=g(`email`),qS=g(`work_email`),JS=g(`profile_url`),YS=[`leadmagic`],XS=[{provider:`leadmagic`}],ZS=r.object({pipe_id:r.literal(GS),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:XS,availableProviders:YS}),input_fields:R(r.object({[KS.name]:E({fieldName:KS.name}),[qS.name]:E({fieldName:qS.name})})),output_fields:L(r.object({[JS.name]:O({fieldName:JS.name})}))}).optional()}),QS=e=>dc(q(KS,e),q(qS,e)),$S={"person-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},eC=class extends H{pipeId=GS;payload;payloadSchema=ZS;billableOperations=$S;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return QS(this.payload.config)}getRawOutputFields(){return{[JS.name]:this.catalogOutput(JS,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},tC=ZS,nC={pipeId:GS,basePipe:G(GS),managedProviders:YS,deprecatedProviders:[],allowedUserConnectionProviders:YS,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:[W.LINKEDIN],docPath:K(GS),billableOperations:$S,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:QS(null),defaultPayload:{pipe_id:GS,run_if:null,connector:null,config:{providers:XS,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},rC=`person:profileurl:name@1`,iC=g(`name`),aC=g(`company_name`),oC=g(`location_hint`),sC=g(`profile_url`),cC=r.object({pipe_id:r.literal(rC),connector:w(),run_if:x(),config:r.object({input_fields:R(r.object({[iC.name]:E({fieldName:iC.name}),[aC.name]:E({fieldName:aC.name}),[oC.name]:E({fieldName:oC.name})})),output_fields:L(r.object({[sC.name]:O({fieldName:sC.name})}))}).optional()}),lC=e=>uc(V(q(iC,e)),V(q(aC,e)),fc(q(oC,e))),uC={"person-profileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},dC=class extends H{pipeId=rC;payload;payloadSchema=cC;billableOperations=uC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`person-profileurl-name-v1-pipe0`)}getInputRequirement(){return lC(this.payload.config)}getRawOutputFields(){return{[sC.name]:this.catalogOutput(sC)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},fC=cC,pC={pipeId:rC,basePipe:G(rC),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(rC),tags:[W.LINKEDIN],billableOperations:uC,defaultInputRequirement:lC(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:rC,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},mC=`person:workemail:profileurl:waterfall@1`,hC=g(`profile_url`),gC=g(`work_email`),_C=g(`email_validation_status`),vC=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`],yC=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],bC=r.object({pipe_id:r.literal(mC),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:vC,defaultProviders:yC,sectionKey:`general`}),allow_catch_all_emails:ds({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:ds({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:R(r.object({[hC.name]:E({fieldName:hC.name})})),output_fields:L(r.object({[gC.name]:O({fieldName:gC.name}),[_C.name]:O({fieldName:_C.name})}))}).optional()}),xC=e=>V(q(hC,e)),SC={"person-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2,level1:{credits:.7,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.5,weight:1}},mode:`onSuccess`}},CC=class extends H{pipeId=mC;payload;payloadSchema=bC;billableOperations=SC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return xC(this.payload.config)}getRawOutputFields(){return{[gC.name]:this.catalogOutput(gC,{isPrimaryOutput:!0}),[_C.name]:this.catalogOutput(_C,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},wC=bC,TC={pipeId:mC,basePipe:G(mC),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses from B2B profile.`,tags:[W.EMAIL,W.WORK_EMAIL,W.WATERFALL],docPath:K(mC),managedProviders:vC,allowedUserConnectionProviders:vC,deprecatedProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:SC,defaultInputRequirement:xC(null),defaultPayload:{pipe_id:mC,connector:null,run_if:null,config:{providers:yC,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}}}}},EC=`person:workemail:waterfall@1`,DC=g(`name`),OC=g(`company_domain`),kC=g(`company_name`),AC=g(`work_email`),jC=g(`email_validation_status`),MC=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],NC=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],PC={"person-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1.5,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1.3,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`}},FC=r.object({pipe_id:r.literal(EC),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:MC,defaultProviders:NC,sectionKey:`general`,providerCredits:Dc(PC,MC)}),allow_catch_all_emails:ds({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:ds({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:R(r.object({[DC.name]:E({fieldName:DC.name}),[OC.name]:E({fieldName:OC.name}),[kC.name]:E({fieldName:kC.name})})),output_fields:L(r.object({[AC.name]:O({fieldName:AC.name}),[jC.name]:O({fieldName:jC.name})}))}).optional()}),IC=e=>uc(V(q(DC,e)),dc(q(OC,e),q(kC,e))),LC=class extends H{pipeId=EC;payload;payloadSchema=FC;billableOperations=PC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return J(e,...this.getProviderNames().map(e=>X(e,this.billableOperations).billableOperation))}getInputRequirement(){return IC(this.payload.config)}getRawOutputFields(){return{[AC.name]:this.catalogOutput(AC,{isPrimaryOutput:!0}),[jC.name]:this.catalogOutput(jC,{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:Y(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},RC=FC,zC={pipeId:EC,basePipe:G(EC),label:`Work email from name`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses in a waterfall motion.`,tags:[W.EMAIL,W.WORK_EMAIL,W.WATERFALL],docPath:K(EC),managedProviders:MC,deprecatedProviders:[],allowedUserConnectionProviders:MC,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:PC,defaultInputRequirement:IC(null),defaultPayload:{pipe_id:EC,connector:null,run_if:null,config:{providers:NC,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}}}}},BC=`prompt:run@1`,VC=`prompt-run-v1`,HC=Za(VC),UC=r.object({pipe_id:r.literal(BC),connector:C(),run_if:x(),config:r.object({prompt:Ho({sectionKey:`general`,path:`config.prompt`,placeholder:U(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:gs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:HC})})}),WC=class extends H{pipeId=BC;payload;payloadSchema=UC;billableOperations=HC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return Wa(this.payload.config.model)}estimateBillableOperations(e){return $a(e,{model:this.payload.config.model,prefix:VC,inputTokens:600,outputTokens:800})}getInputRequirement(){return wc([this.payload.config.prompt.template])}getSecretRequirements(){return Tc([this.payload.config.prompt.template])}getConstantRequirements(){return Ec([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=ia(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 Ga(this.payload.config.model)}},GC=UC,KC={pipeId:BC,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G(BC),label:`AI prompt`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,description:`Executes configurable AI prompts with structured output fields.`,guide:`General-purpose AI prompt runner. Inputs and outputs are fully dynamic โ defined by the tags in the prompt template. For extracting a value from a JSON / known-schema field, do NOT use this โ use the deterministic json:extract:multi@1 (JSONata) instead: it's cheaper, reproducible, and runs on a schedule with no model. Reserve prompt:run@1 for genuine judgment or free-text generation (classify, summarize, rewrite).`,tags:[W.AI],docPath:K(BC),defaultInputRequirement:null,billableOperations:HC,allowedUserConnectionProviders:Ka(),managedProviders:Ka(),deprecatedProviders:[],defaultPayload:{pipe_id:BC,connector:null,run_if:null,config:{model:`openai-high`,prompt:{template:``,json_schemas:{}}}}},qC=`row:append:sheet@1`,JC=g(`sheet_record_id`),YC=g(`created_sheet`),XC=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],ZC=[{label:`Demo project`,value:`demo-project`},{label:`Sales pipeline`,value:`sales-pipeline`}];function QC(e){let t=e?.config?.project;return typeof t==`string`&&t.length>0?t:void 0}const $C={requires:{connection:`pipe0`},enabledIf:Na(`pipe0`,`Select a pipe0 connection to see project suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?ZC:t?(await t.projects.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`}}},ew={requires:{connection:`pipe0`,fields:[`config.project`]},enabledIf:Na(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n,payload:r})=>n===`sandbox`?XC:t?(await t.sheets.list({query:e,projectSlug:QC(r)})).map(e=>({label:e.name&&e.name!==e.slug?`${e.name} (${e.slug})`:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},tw=r.object({pipe_id:r.literal(qC),connector:Go(),run_if:x(),config:r.object({project:S({label:`Project`,info:"Project the destination sheet lives in (its org-unique slug). Pick an existing project or type a new slug โ a new project is created when `allow_entity_creation` is on.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.project`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:$C}),sheet:S({label:`Sheet ID`,info:'The destination sheet\'s identifier (its slug โ NOT the display name). Slugs are org-unique: pick an existing sheet to append into it, or type a NEW slug to create one โ a generic slug (e.g. "results", "companies") is likely to match an unrelated existing sheet, so for a new sheet use a short descriptive slug plus a few random chars (e.g. "ceos-x7k2") that can\'t collide. Type `@` to insert a field reference / `$` for a secret.',groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:ew,enabledIf:e=>e.config?.project?{disabled:!1}:{disabled:!0,message:`Select a project first`}}),run:ds({defaultValue:!0,groupPath:`config.advanced`,path:`config.run`,sectionKey:`general`,description:`Auto-run sheet row after append action.`,label:`Run after append`}),allow_entity_creation:ds({label:`Allow creating missing entities`,description:`Create missing fields, sheets, and projects as needed (unknown fields become columns; a missing sheet or project is created).`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_entity_creation`,sectionKey:`general`}),included_fields:$o({label:`Fields`,info:`All fields are written if empty.`,groupPath:`config.general`,path:`config.included_fields`,sectionKey:`general`,disableSearch:!0}),output_fields:L(r.object({[JC.name]:O({fieldName:JC.name}),[YC.name]:O({fieldName:YC.name})}))})}),nw={"row-append-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},rw=class extends H{pipeId=qC;payload;payloadSchema=tw;billableOperations=nw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`row-append-sheet-v1-pipe0`)}getInputRequirement(){let e=[wc([this.payload.config.project,this.payload.config.sheet],{expectedType:`string`,expectedFormat:`text`})];if(this.payload.config.included_fields?.length)for(let t of this.payload.config.included_fields)e.push(V({name:t.field_name,resolvedName:t.field_name,label:``,description:``,type:e=>{let n=Cc(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 uc(...e)}getSecretRequirements(){return Tc([this.payload.config.project,this.payload.config.sheet])}getConstantRequirements(){return Ec([this.payload.config.project,this.payload.config.sheet])}getRawOutputFields(){return{[JC.name]:this.catalogOutput(JC),[YC.name]:this.catalogOutput(YC)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},iw=tw,aw={pipeId:qC,basePipe:G(qC),label:`Append row to sheet`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:"Add rows to a pipe0 sheet in a given project. config.project and config.sheet may each be a literal slug or a `{{ field_name }}` tag.",guide:`Append records to another pipe0 sheet. config.project (REQUIRED) is the destination project's org-unique slug โ when working inside a project, pass THAT project's slug (see CURRENT CONTEXT). config.sheet is the destination sheet's slug; both may be a \`{{ field }}\` tag for a per-row destination. With allow_entity_creation on, a missing project/sheet (and unknown fields) are created; if the sheet slug already exists in a DIFFERENT project the rows fail. Destination slugs are ORG-UNIQUE, so config.sheet addresses a sheet across your whole org: an existing slug REUSES that sheet (appending into it) when it's in config.project, and FAILS when it lives elsewhere โ so for a genuinely NEW sheet use a short descriptive slug plus 3-4 random alphanumeric chars (e.g. "ceos-x7k2") โ you cannot see other projects' slugs, so only the random suffix makes a new slug collision-proof; set the display name afterwards with sheet:update@1 config.name. To explode a LIST field into MANY rows (denormalize a 1:N relationship), use row:expandappend:sheet@1 instead. To bulk-copy existing rows across sheets, prefer the rows:copy_to_sheet@1 effect. NON-IDEMPOTENT: each run appends again, so re-running duplicates rows (and you cannot undo rows written to another sheet) โ dry-run the flow in sandbox first (env:change@1), and to retry after a partial failure adopt the succeeded cells (rows:adopt@1 with adopt_statuses:["completed"]) then rows:enrich@1. Requires a pipe0 connection (list_connections).`,docPath:K(qC),tags:[W.FIELDS],billableOperations:nw,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:qC,connector:{strategy:`first`,connections:[]},run_if:null,config:{project:``,sheet:``,run:!0,allow_entity_creation:!0,included_fields:[],output_fields:{sheet_record_id:{alias:``,enabled:!0},created_sheet:{alias:``,enabled:!0}}}}},ow=`row:expandappend:sheet@1`,sw=g(`sheet_record_ids`),cw=g(`input_objects`),lw=`expanded_value`,uw=[{label:`Demo project`,value:`demo-project`},{label:`Sales pipeline`,value:`sales-pipeline`}],dw=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}];function fw(e){let t=e?.config?.project;return typeof t==`string`&&t.length>0?t:void 0}const pw={requires:{connection:`pipe0`},enabledIf:Na(`pipe0`,`Select a pipe0 connection to see project suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?uw:t?(await t.projects.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`}}},mw={requires:{connection:`pipe0`,fields:[`config.project`]},enabledIf:Na(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n,payload:r})=>n===`sandbox`?dw:t?(await t.sheets.list({query:e,projectSlug:fw(r)})).map(e=>({label:e.name&&e.name!==e.slug?`${e.name} (${e.slug})`:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},hw=r.object({pipe_id:r.literal(ow),connector:Go(),run_if:x(),config:r.object({project:S({label:`Project`,info:"Project the destination sheet lives in (its org-unique slug). Pick an existing project or type a new slug โ a new project is created when `allow_entity_creation` is on.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.project`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:pw}),sheet:S({label:`Sheet ID`,info:`The destination sheet's identifier (its slug โ NOT the display name). Slugs are org-unique: pick an existing sheet to write into it, or type a NEW slug to create one. A generic slug (e.g. "results", "companies") is likely to match an unrelated existing sheet, so for a new sheet use a short descriptive slug plus a few random chars (e.g. "ceos-x7k2") that can't collide.`,groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:mw,enabledIf:e=>e.config?.project?{disabled:!1}:{disabled:!0,message:`Select a project first`}}),run:ds({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_entity_creation:ds({label:`Allow creating missing entities`,description:`Create missing entities as needed (a missing sheet or project is created, along with the output column on the destination).`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_entity_creation`,sectionKey:`general`}),...fs({groupPath:`config.destination`,sectionKey:`general`,defaultName:lw,nameInfo:`Name of the field each list item is written to on the destination sheet. Each item is stored as-is (objects/arrays as one json cell); extract flat columns afterwards with json:extract:multi@1.`}),input_fields:R(r.object({[cw.name]:E({fieldName:cw.name})})),output_fields:L(r.object({[sw.name]:O({fieldName:sw.name})}))})}).check(e=>{let t=e.value.config?.destination_field_name;t&&sc(t)&&e.issues.push({code:`custom`,input:t,path:[`config`,`destination_field_name`],message:`'${t}' is reserved and cannot be used as a destination field name.`})}),gw={"row-expandappend-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},_w=e=>V(q(cw,e)),vw=class extends H{pipeId=ow;payload;payloadSchema=hw;billableOperations=gw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`row-expandappend-sheet-v1-pipe0`)}getInputRequirement(){return _w(this.payload.config)}getRawOutputFields(){return{[sw.name]:this.catalogOutput(sw)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},yw=hw,bw={pipeId:ow,basePipe:G(ow),label:`Expand list to sheet`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:"Expand a list into sheet rows โ each item is written as-is to an `expanded_value` column (objects/arrays as json).",guide:`Denormalize a 1:N list into rows on ANOTHER sheet: each item in the input_objects array becomes its own row on config.sheet, inside config.project (REQUIRED โ the destination project's org-unique slug; when working inside a project pass THAT slug, see CURRENT CONTEXT). Every item is written AS-IS to a single column on the destination โ an object/array lands as one json cell (its fields are NOT spread into separate columns), a primitive as a scalar. That column is \`expanded_value\` by default; rename/retype it via config.destination_field_name / destination_field_type / destination_field_format / destination_field_label (type/format are inferred from the data when left unset). To get flat columns, run json:extract:multi@1 ON THE DESTINATION sheet afterwards to pull out exactly the values you need. With allow_entity_creation on, a missing project/sheet (and the expanded_value column) are created; a sheet slug that exists in a DIFFERENT project fails the rows. Destination slugs are ORG-UNIQUE, so config.sheet addresses a sheet across your whole org: an existing slug REUSES that sheet (appending into it) when it's in config.project, and FAILS when it lives elsewhere โ a generic slug like "results"/"companies"/"current-employers" will likely hit an unrelated sheet. When you mean a genuinely NEW sheet, use a short descriptive slug plus 3-4 random alphanumeric chars (e.g. "ceos-x7k2", "prospects-employers-9fq") โ you cannot see other projects' slugs, so only the random suffix makes a new slug collision-proof; give the sheet its human-readable name afterwards with sheet:update@1 config.name. Use it when a column holds a list you need per-element (e.g. a profile's current employers) BEFORE enriching each element โ never collapse the list with an LLM. Requires a pipe0 connection (resolve via list_connections). Typical pipeline: json:extract:multi@1 to build the array column โ this pipe to explode it into an intermediary sheet โ json:extract:multi@1 THERE to flatten the fields you need out of expanded_value โ enrich each row (e.g. person:match:role:waterfall@1) โ rows:copy_to_sheet@1 to the final sheet. NON-IDEMPOTENT: each run appends again, so re-running duplicates rows (and you cannot undo rows written to another sheet) โ dry-run the flow in sandbox first (env:change@1), and to retry after a partial failure adopt the succeeded cells (rows:adopt@1 with adopt_statuses:["completed"]) then rows:enrich@1.`,docPath:K(ow),tags:[W.FIELDS],billableOperations:gw,defaultInputRequirement:_w(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:ow,connector:{strategy:`first`,connections:[]},run_if:null,config:{project:``,sheet:``,run:!0,allow_entity_creation:!0,destination_field_name:lw,destination_field_type:``,destination_field_format:``,destination_field_label:``,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},xw=`SELECT table_schema, table_name, column_name, data_type FROM information_schema.columns WHERE table_schema NOT IN ('pg_catalog', 'information_schema') ORDER BY table_schema, table_name, ordinal_position`,Sw=`table_catalog NOT IN ('system', '__databricks_internal') AND table_schema <> 'information_schema'`,Cw=`SELECT table_catalog, table_schema, table_name FROM system.information_schema.tables WHERE ${Sw} ORDER BY table_catalog, table_schema, table_name`,ww=`SELECT table_catalog, table_schema, table_name, column_name, data_type FROM system.information_schema.columns WHERE ${Sw} ORDER BY table_catalog, table_schema, table_name, ordinal_position`;function Tw(e){return typeof e==`string`?e:String(e??``)}function Ew(e){let t=new Map;for(let n of e){let e=Tw(n.table_schema),r=Tw(n.table_name);if(!r)continue;let i=`${e}.${r}`,a=t.get(i);a||(a={schema:e,name:r,columns:[]},t.set(i,a)),a.columns.push({name:Tw(n.column_name),type:Tw(n.data_type)})}return t}function Dw(e){return`${e.catalog?`${e.catalog}.`:``}${e.schema?`${e.schema}.`:``}${e.name}`}function Ow(e,t){if(e.length===0)return{summary:`The connected database exposes no tables outside the system schemas โ nothing to query yet.`,data:{tables:[],truncated:t}};let n=e.map(e=>{if(e.columns.length===0)return`- ${Dw(e)} โ (columns not listed; DESCRIBE or sample to inspect)`;let t=e.columns.slice(0,50),n=e.columns.length-t.length,r=t.map(e=>e.type?`${e.name}:${e.type}`:e.name).join(`, `);return`- ${Dw(e)} โ ${r}${n>0?` (+${n} more)`:``}`}),r=e.some(e=>e.catalog)?` Names are fully qualified (catalog.schema.table) โ use them VERBATIM in config.query.`:``;return{summary:[`Schema map (${e.length} table${e.length===1?``:`s`}${t?`, truncated โ the database has more`:``}). Write config.query against these;${r} sample rows free via run_search_oneshot.`,...n].join(`
|
|
75
|
-
`),data:{tables:e,truncated:t}}}async function kw(e){let t=await e({query:Cw,limit:500}),n=new Map;for(let e of t.rows){let t=Tw(e.table_catalog),r=Tw(e.table_schema),i=Tw(e.table_name);i&&n.set(`${t}.${r}.${i}`,{catalog:t,schema:r,name:i,columns:[]})}let r=await e({query:ww,limit:500});for(let e of r.rows)n.get(`${Tw(e.table_catalog)}.${Tw(e.table_schema)}.${Tw(e.table_name)}`)?.columns.push({name:Tw(e.column_name),type:Tw(e.data_type)});return Ow([...n.values()],t.hasMore||r.hasMore)}async function Aw(e){let t=await e({query:`SHOW TABLES`,limit:500}),n=t.rows.map(e=>({schema:Tw(e.database??e.namespace),name:Tw(e.tableName??e.table_name)})).filter(e=>e.name),r=t.hasMore||n.length>25,i=[];for(let{schema:t,name:r}of n.slice(0,25)){let n=(await e({query:`DESCRIBE TABLE ${t?`${t}.`:``}${r}`,limit:500})).rows.map(e=>({name:Tw(e.col_name),type:Tw(e.data_type)})).filter(e=>e.name&&!e.name.startsWith(`#`));i.push({schema:t,name:r,columns:n})}return Ow(i,r)}async function jw(e,t){if(t.environment===`sandbox`)return{summary:`Schema exploration needs the real database connection โ it's read-only and free. Switch to production (env:change@1) to explore the schema, then rehearse the pipeline in sandbox.`};if(!t.runQuery)return{summary:`Live schema exploration isn't available in this context.`};if(e===`databricks`)try{return await kw(t.runQuery)}catch{try{let e=await t.runQuery({query:xw,limit:500});return Ow([...Ew(e.rows).values()],e.hasMore)}catch{return Aw(t.runQuery)}}let n=await t.runQuery({query:xw,limit:500});return Ow([...Ew(n.rows).values()],n.hasMore)}const Mw=`rows:find:databricks@1`,Nw=g(`db_rows_found_count`),Pw=g(`db_found_rows`),Fw=r.object({pipe_id:r.literal(Mw),connector:Go(),run_if:x(),config:r.object({query:Uo({label:`SQL query`,info:`A single read-only SELECT statement, resolved per row โ use {{ field }} for input refs, {{ SECRETS.X }} / {{ CONSTANTS.X }} for secrets/constants. Do not add your own LIMIT for capping; use the row limit below.`,groupPath:`config.general`,sectionKey:`general`,path:`config.query`,rows:8,required:!0,maxLength:2e4}),limit:vs({label:`Row limit`,info:`Maximum number of rows returned in the matching-rows output. The rows-found count is always the true total.`,groupPath:`config.advanced`,sectionKey:`general`,path:`config.limit`,min:1,max:50}),output_fields:L(r.object({[Nw.name]:O({fieldName:Nw.name}),[Pw.name]:O({fieldName:Pw.name})}))})}),Iw={"rows-find-databricks-v1-databricks":{provider:`databricks`,allowManagedConnection:!1,mode:null,credits:null,note:`Querying your own Databricks SQL warehouse is free.`}},Lw=class extends H{pipeId=Mw;payload;payloadSchema=Fw;billableOperations=Iw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`databricks`]}estimateBillableOperations(e){return J(e,`rows-find-databricks-v1-databricks`)}getTemplatedFields(){return[this.payload.config.query]}getInputRequirement(){return wc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Tc(this.getTemplatedFields())}getConstantRequirements(){return Ec(this.getTemplatedFields())}getRawOutputFields(){return{[Nw.name]:this.catalogOutput(Nw),[Pw.name]:this.catalogOutput(Pw)}}getConnectionsRequirements(){return[{provider:`databricks`,rateLimitRatio:1,rateLimitOperation:`databricks_query`,allowManagedConnection:!1}]}async getAgentContext(e){return jw(`databricks`,e)}},Rw=Fw,zw={pipeId:Mw,basePipe:G(Mw),label:`Find rows in Databricks`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`databricks`],managedProviders:[],deprecatedProviders:[],description:`Look up rows in your own Databricks SQL warehouse with a read-only SQL query resolved per row. Outputs the total match count and the matching rows.`,guide:"Databricks SQL dialect; config.query must be a single read-only SELECT, resolved per row via Liquid โ `{{ field }}` input refs, `{{ SECRETS.X }}` / `{{ CONSTANTS.X }}` supported. Resolved values are interpolated as text, so quote them in the SQL (WHERE email = '{{ email }}'). To discover the schema, draft a payload with a placeholder config.query like \"SELECT 1\" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the workspace-wide table/column map (all Unity catalogs) for free. Always reference tables by their FULLY QUALIFIED three-part name exactly as the map lists them (catalog.schema.table); a bare table name resolves against the warehouse's unpredictable current catalog and usually fails with TABLE_OR_VIEW_NOT_FOUND. Tables under the `samples` catalog (and other built-in demo schemas like `tpch`) are DEMO data, NOT the customer's own โ never answer from them without confirming. READ-ONLY and idempotent โ the gateway enforces single-statement SELECT validation. db_found_rows is capped by config.limit and a ~25KB size budget (rows are dropped from the end to fit); db_rows_found_count is always the TRUE total. When nothing matches, db_found_rows resolves to no_result (NOT an empty array) โ db_rows_found_count (0) still completes, so condition on it to branch on absence. A field resolving to empty renders as an empty string in the SQL โ guard with run_if if that must not match. Requires a databricks connection (list_connections).",docPath:K(Mw),tags:[W.FIELDS,W.NEW],billableOperations:Iw,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Mw,connector:{strategy:`first`,connections:[]},run_if:null,config:{query:``,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!1},db_found_rows:{alias:``,enabled:!0}}}}},Bw=`rows:find:postgres@1`,Vw=g(`db_rows_found_count`),Hw=g(`db_found_rows`),Uw=r.object({pipe_id:r.literal(Bw),connector:Go(),run_if:x(),config:r.object({query:Uo({label:`SQL query`,info:`A single read-only SELECT statement, resolved per row โ use {{ field }} for input refs, {{ SECRETS.X }} / {{ CONSTANTS.X }} for secrets/constants. Do not add your own LIMIT for capping; use the row limit below.`,groupPath:`config.general`,sectionKey:`general`,path:`config.query`,rows:8,required:!0,maxLength:2e4}),limit:vs({label:`Row limit`,info:`Maximum number of rows returned in the matching-rows output. The rows-found count is always the true total.`,groupPath:`config.advanced`,sectionKey:`general`,path:`config.limit`,min:1,max:50}),output_fields:L(r.object({[Vw.name]:O({fieldName:Vw.name}),[Hw.name]:O({fieldName:Hw.name})}))})}),Ww={"rows-find-postgres-v1-postgres":{provider:`postgres`,allowManagedConnection:!1,mode:null,credits:null,note:`Querying your own PostgreSQL database is free.`}},Gw=class extends H{pipeId=Bw;payload;payloadSchema=Uw;billableOperations=Ww;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`postgres`]}estimateBillableOperations(e){return J(e,`rows-find-postgres-v1-postgres`)}getTemplatedFields(){return[this.payload.config.query]}getInputRequirement(){return wc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Tc(this.getTemplatedFields())}getConstantRequirements(){return Ec(this.getTemplatedFields())}getRawOutputFields(){return{[Vw.name]:this.catalogOutput(Vw),[Hw.name]:this.catalogOutput(Hw)}}getConnectionsRequirements(){return[{provider:`postgres`,rateLimitRatio:1,rateLimitOperation:`postgres_query`,allowManagedConnection:!1}]}async getAgentContext(e){return jw(`postgres`,e)}},Kw=Uw,qw={pipeId:Bw,basePipe:G(Bw),label:`Find rows in Postgres`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`postgres`],managedProviders:[],deprecatedProviders:[],description:`Look up rows in your own PostgreSQL database with a read-only SQL query resolved per row. Outputs the total match count and the matching rows.`,guide:"PostgreSQL dialect; config.query must be a single read-only SELECT, resolved per row via Liquid โ `{{ field }}` input refs, `{{ SECRETS.X }}` / `{{ CONSTANTS.X }}` supported. Resolved values are interpolated as text, so quote them in the SQL (WHERE email = '{{ email }}'). To discover the schema, draft a payload with a placeholder config.query like \"SELECT 1\" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the full table/column map for free. READ-ONLY and idempotent โ the gateway enforces single-statement SELECT validation and a read-only transaction. db_found_rows is capped by config.limit and a ~25KB size budget (rows are dropped from the end to fit); db_rows_found_count is always the TRUE total. When nothing matches, db_found_rows resolves to no_result (NOT an empty array) โ db_rows_found_count (0) still completes, so condition on it to branch on absence. A field resolving to empty renders as an empty string in the SQL โ guard with run_if if that must not match. Requires a postgres connection (list_connections).",docPath:K(Bw),tags:[W.FIELDS,W.NEW],billableOperations:Ww,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Bw,connector:{strategy:`first`,connections:[]},run_if:null,config:{query:``,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!1},db_found_rows:{alias:``,enabled:!0}}}}},Jw=`rows:find:sheet@1`,Yw=g(`sheet_rows_found_count`),Xw=g(`sheet_found_rows`),Zw=g(`sheet_found_row_ids`),Qw=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],$w={requires:{connection:`pipe0`},enabledIf:Na(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Qw: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`}}},eT=r.object({pipe_id:r.literal(Jw),connector:Go(),run_if:x(),config:r.object({sheet:S({label:`Sheet ID`,info:"The sheet to search (its org-unique slug โ NOT the display name). Type `@` to insert a field reference for a per-row sheet.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:$w}),where:Lo({label:`Match conditions`,info:"Conditions on the target sheet's columns. Column names are literal; in the value, type `/` to insert a field reference (e.g. `{{ email }}`).",groupPath:`config.general`,sectionKey:`general`,path:`config.where`,fieldNamePlaceholder:`email`}),limit:vs({label:`Row limit`,info:`Maximum number of rows returned in the matching-rows output. The rows-found count is always the true total.`,groupPath:`config.advanced`,sectionKey:`general`,path:`config.limit`,min:1,max:100}),output_fields:L(r.object({[Yw.name]:O({fieldName:Yw.name}),[Xw.name]:O({fieldName:Xw.name}),[Zw.name]:O({fieldName:Zw.name})}))})}),tT={"rows-find-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},nT=class extends H{pipeId=Jw;payload;payloadSchema=eT;billableOperations=tT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`rows-find-sheet-v1-pipe0`)}getTemplatedFields(){return[this.payload.config.sheet,...(this.payload.config.where?.conditions??[]).map(e=>typeof e.value==`string`?e.value:null)]}getInputRequirement(){return wc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Tc(this.getTemplatedFields())}getConstantRequirements(){return Ec(this.getTemplatedFields())}getRawOutputFields(){return{[Yw.name]:this.catalogOutput(Yw),[Xw.name]:this.catalogOutput(Xw),[Zw.name]:this.catalogOutput(Zw)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0-sheet-operation`,allowManagedConnection:!0}]}},rT=eT,iT={pipeId:Jw,basePipe:G(Jw),label:`Find rows in sheet`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Look up rows in another pipe0 sheet matching a condition block (and/or over eq, neq, gt, gte, lt, lte, contains, matches). Outputs the total match count, the matching rows, and their record IDs.`,guide:'Find rows in another pipe0 sheet. config.sheet is the target sheet\'s org-unique slug (a literal or a `{{ field }}` tag). config.where is a condition block over the TARGET sheet\'s columns: `logic` "and"/"or" combines value conditions; each condition\'s field_name is a LITERAL column name (never templated, NOT validated against the target sheet โ a wrong name behaves like a null cell), and its value may be a literal or contain `{{ field }}` tags resolved per row. Operators: eq/neq compare as text (a number cell 42 matches the value "42"; neq ALSO matches rows where the column is missing or null; JSON object/array cells effectively never match); gt/gte/lt/lte compare numerically (non-numeric cells never match; a non-numeric condition value fails the row); contains is case-INsensitive substring; matches is case-SENSITIVE regex (invalid pattern fails the row). A `null` value with eq matches missing/null cells. READ-ONLY and idempotent โ one query per row, the target sheet is never modified. sheet_found_rows is capped by config.limit and a ~25KB size budget (rows are dropped from the end to fit); sheet_rows_found_count is always the TRUE total. When nothing matches, sheet_found_rows and sheet_found_row_ids resolve to no_result (NOT an empty array) โ sheet_rows_found_count (0) still completes, so condition on it to branch on absence. String condition values that resolve to an empty string fail the row (a blank field must not match everything) โ guard with run_if. Requires a pipe0 connection (list_connections).',docPath:K(Jw),tags:[W.FIELDS],billableOperations:tT,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Jw,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,where:null,limit:10,output_fields:{sheet_rows_found_count:{alias:``,enabled:!1},sheet_found_rows:{alias:``,enabled:!0},sheet_found_row_ids:{alias:``,enabled:!1}}}}},aT=`template:fill@1`,oT=g(`template_output`),sT=r.object({pipe_id:r.literal(aT),connector:C(),run_if:x(),config:r.object({template:Uo({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:U(`template`),groupPath:`config.general`,required:!0}),output_fields:L(r.object({[oT.name]:O({fieldName:oT.name})}))})}),cT={"template-fill-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},lT=class extends H{pipeId=aT;payload;payloadSchema=sT;billableOperations=cT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`template-fill-v1-pipe0`)}getInputRequirement(){return wc([this.payload.config.template])}getSecretRequirements(){return Tc([this.payload.config.template])}getConstantRequirements(){return Ec([this.payload.config.template])}getRawOutputFields(){return{[oT.name]:this.catalogOutput(oT)}}getConnectionsRequirements(){return[]}},uT=sT,dT={pipeId:aT,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:G(aT),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ name }} with actual values.`,tags:[W.TEXT],docPath:K(aT),defaultInputRequirement:null,billableOperations:cT,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:aT,connector:null,run_if:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},fT=`website:extract:firecrawl@1`,pT=g(`website_url`),mT=g(`firecrawl_extract_result`),hT=r.object({pipe_id:r.literal(fT),connector:C(),run_if:x(),config:r.object({json_schema:bs({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}),extraction_prompt:ms({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:ds({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:ds({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:R(r.object({[pT.name]:E({fieldName:pT.name})})),output_fields:L(r.object({[mT.name]:O({fieldName:mT.name})}))})}),gT=e=>V(q(pT,e)),_T={"website-extract-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`}},vT=class extends H{pipeId=fT;payload;payloadSchema=hT;billableOperations=_T;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return J(e,`website-extract-firecrawl-v1-firecrawl`)}getInputRequirement(){return gT(this.payload.config)}getRawOutputFields(){return{[mT.name]:this.catalogOutput(mT)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},yT=hT,bT={pipeId:fT,basePipe:G(fT),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:[W.SCRAPE],docPath:K(fT),billableOperations:_T,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:gT(null),defaultPayload:{pipe_id:fT,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}}}}},xT=`website:extract:parallel@1`,ST=g(`website_url`),CT=g(`parallel_extract_result`),wT=r.object({pipe_id:r.literal(xT),connector:C(),run_if:x(),config:r.object({objective:ms({sectionKey:`general`,groupPath:`config.extraction`,path:`config.objective`,label:`Objective`,info:`Natural-language description of what to extract. Template tags are not supported.`,rows:5,minLength:10,placeholder:`E.g. When was the company founded and what does it do?`}),input_fields:R(r.object({[ST.name]:E({fieldName:ST.name})})),output_fields:L(r.object({[CT.name]:O({fieldName:CT.name})}))})}),TT=e=>V(q(ST,e)),ET={"website-extract-parallel-v1-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.1},mode:`onSuccess`}},DT=class extends H{pipeId=xT;payload;payloadSchema=wT;billableOperations=ET;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`parallel`]}estimateBillableOperations(e){return J(e,`website-extract-parallel-v1-parallel`)}getInputRequirement(){return TT(this.payload.config)}getRawOutputFields(){return{[CT.name]:this.catalogOutput(CT,{isPrimaryOutput:!0})}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:1,rateLimitOperation:`parallel_extract`,allowManagedConnection:!0}]}},OT=wT,kT={pipeId:xT,basePipe:G(xT),label:`Extract (Parallel)`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract relevant content from a website using Parallel's Extract API. Returns a flat list of results โ page title, publish date and the excerpts most relevant to your objective.`,tags:[W.SCRAPE],docPath:K(xT),billableOperations:ET,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`parallel`],managedProviders:[`parallel`],deprecatedProviders:[],defaultInputRequirement:TT(null),defaultPayload:{pipe_id:xT,run_if:null,connector:null,config:{objective:``,input_fields:{website_url:{alias:``}},output_fields:{parallel_extract_result:{alias:``,enabled:!0}}}}},AT=`website:maplinks:firecrawl@1`,jT={"website-maplinks-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:1},mode:`onSuccess`}},MT=g(`website_url`),NT=g(`mapped_links`),PT=r.object({pipe_id:r.literal(AT),connector:C(),run_if:x(),config:r.object({page_limit:vs({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,path:`config.page_limit`,sectionKey:`general`}).nullish(),sitemap:hs({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:ps({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).nullable().default(``),input_fields:R(r.object({[MT.name]:E({fieldName:MT.name})})),output_fields:L(r.object({[NT.name]:O({fieldName:NT.name})}))}).optional()}),FT=e=>V(q(MT,e)),IT=class extends H{pipeId=AT;payload;payloadSchema=PT;billableOperations=jT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return J(e,`website-maplinks-firecrawl-v1-firecrawl`)}getInputRequirement(){return FT(this.payload.config)}getRawOutputFields(){return{[NT.name]:this.catalogOutput(NT)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},LT=PT,RT={pipeId:AT,basePipe:G(AT),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:[W.SCRAPE],docPath:K(AT),billableOperations:jT,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:FT(null),defaultPayload:{pipe_id:AT,run_if:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},zT=`website:scrape:firecrawl@1`,BT=g(`website_url`),VT=g(`website_markdown`),HT=g(`website_html`),UT=g(`website_links`),WT=r.object({pipe_id:r.literal(zT),connector:C(),run_if:x(),config:r.object({scrape_main_only:ds({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:R(r.object({[BT.name]:E({fieldName:BT.name})})),output_fields:L(r.object({[VT.name]:O({fieldName:VT.name}),[HT.name]:O({fieldName:HT.name}),[UT.name]:O({fieldName:UT.name})}))}).optional()}),GT=e=>V(q(BT,e)),KT={"website-scrape-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`}},qT=class extends H{pipeId=zT;payload;payloadSchema=WT;billableOperations=KT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return J(e,`website-scrape-firecrawl-v1-firecrawl`)}getInputRequirement(){return GT(this.payload.config)}getRawOutputFields(){return{[VT.name]:this.catalogOutput(VT),[HT.name]:this.catalogOutput(HT),[UT.name]:this.catalogOutput(UT)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},JT=WT,YT={pipeId:zT,basePipe:G(zT),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[W.SCRAPE],docPath:K(zT),billableOperations:KT,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:GT(null),defaultPayload:{pipe_id:zT,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}}}}},XT=`website:scrapelist:firecrawl@1`,ZT={"website-scrapelist-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`,note:`You are charged per url that is scraped.`}},QT=g(`urls`),$T=g(`scrape_list_response`),eE=r.object({pipe_id:r.literal(XT),connector:C(),run_if:x(),config:r.object({scrape_main_only:ds({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:_s({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`}).default([]),input_fields:R(r.object({[QT.name]:E({fieldName:QT.name})})),output_fields:L(r.object({[$T.name]:O({fieldName:$T.name})}))}).optional()}),tE=e=>V(q(QT,e)),nE=class extends H{pipeId=XT;payload;payloadSchema=eE;billableOperations=ZT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return[{billableOperation:`website-scrapelist-firecrawl-v1-firecrawl`,quantity:e.count*5}]}getInputRequirement(){return tE(this.payload.config)}getRawOutputFields(){return{[$T.name]:this.catalogOutput($T)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},rE=eE,iE={pipeId:XT,basePipe:G(XT),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[W.SCRAPE],docPath:K(XT),billableOperations:ZT,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:tE(null),defaultPayload:{pipe_id:XT,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}}}}},aE=[`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:crustdata@3`,`people:profiles:amplemarket@1`,`people:profiles:amplemarket@2`,`companies:entitysearch:parallel@1`,`people:entitysearch:parallel@1`,`people:eventguests:luma@1`,`sheet:rows@1`,`query:postgres@1`,`query:databricks@1`,`posts:content:crustdata@1`],oE=r.enum(aE);function sE(e,t){let n={name:e,config:t};return Ks.hashObject(n)}var $=class{estimateBillableOperations(e){let{cost:t,billableOperation:n}=this.billing;return t.allowManagedConnection?[{billableOperation:n,quantity:t.mode===`per_result`?e.count:t.mode===`per_page`?e.count/100:1}]:[]}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}getDedupConfig(){return{match:`any`,fields:[]}}async getAgentContext(e){return null}getHashKey(){return sE(this.searchId,this.payload)}};function cE(e){return e.split(`@`)[0]}function lE(e){return`/docs/search-catalog/${cE(e)}/${e.split(`@`)[1]}`}const uE=`companies:entitysearch:parallel@1`,dE=g(`company_name`),fE=g(`company_domain`),pE=g(`company_description`),mE=g(`company_profile_url`),hE=g(`parallel_company_entity_match`),gE=r.object({search_id:r.literal(uE),connector:Jo(),config:r.object({objective:As({path:`config.objective`,sectionKey:`general`,groupPath:`config.general`,label:`Objective`,rows:4,minLength:10,placeholder:`AI startups in Europe that raised a Series A in 2024`,description:`Plain-text natural-language description of the companies to find.`}),limit:I({path:`config.limit`,min:5,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of entities to return (5โ1000).`}).default(100),output_fields:L(r.object({[dE.name]:M({fieldName:dE.name}),[fE.name]:M({fieldName:fE.name}),[pE.name]:M({fieldName:pE.name}),[mE.name]:M({fieldName:mE.name}),[hE.name]:M({fieldName:hE.name})}))})}),_E={match:`any`,fields:[{fieldName:`company_profile_url`}]},vE={allowManagedConnection:!0,mode:`per_page`,credits:{default:.5},info:`1 page = 100 results; billed per 100 results returned (e.g. 100 results = 1 page, 1,000 results = 10 pages). A search returns up to your selected limit in a single request.`},yE=`companies-entitysearch-parallel-v1`,bE=class extends ${billing={billableOperation:yE,cost:vE};searchId=uE;schema=gE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[dE.name]:this.catalogOutput(dE),[fE.name]:this.catalogOutput(fE),[pE.name]:this.catalogOutput(pE),[mE.name]:this.catalogOutput(mE),[hE.name]:this.catalogOutput(hE)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitOperation:`parallel_entity_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return _E}},xE=gE,SE={searchId:uE,billableOperation:yE,baseSearch:cE(uE),label:`Company search (AI)`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Natural-language company search powered by Parallel Entity Search.`,tags:[W.COMPANY_PROFILES],docPath:lE(uE),cost:vE,provider:`parallel`,defaultPayload:{search_id:uE,connector:null,config:{objective:``,limit:100,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},parallel_company_entity_match:{enabled:!1,alias:``}}}}};function CE(e){let t=!0,n=e=>{if(t!==!1&&typeof e==`object`&&e){Array.isArray(e)&&e.length>0&&(t=!1);for(let r of Object.values(e))typeof r!=`object`&&r!=null&&r!==``&&(t=!1),typeof r==`object`&&r&&n(r)}};return n(e),t}const wE=`companies:profiles:amplemarket@2`,TE=g(`company_name`),EE=g(`company_domain`),DE=g(`company_description`),OE=g(`company_profile_url`),kE=g(`amplemarket_company_match`),AE=r.object({search_id:r.literal(wE),connector:Jo(),config:r.object({limit:I({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`}).default(100),page_number:I({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:L(r.object({[TE.name]:M({fieldName:TE.name}),[EE.name]:M({fieldName:EE.name}),[DE.name]:M({fieldName:DE.name}),[OE.name]:M({fieldName:OE.name}),[kE.name]:M({fieldName:kE.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:U(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),company_names:A({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:U(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),company_domains:A({sectionKey:`config.filters`,path:`config.filters.company_domains`,label:`Company domains`,description:``,placeholder:U(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),company_profile_urls:A({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),company_types:N({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}).default([]),investors:P({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:h(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:U(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}).default([]),company_industries:j({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:Re(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:U(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),customer_types:N({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`}).default([]),keywords:A({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),revenue_groups:N({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}).default([]),founded_year:Cs({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,description:``}).default({min:null,max:null}),open_position_titles:k({path:`config.filters.open_position_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:U(`title`),suggestionsDef:h(`titles`)}),headcount:N({sectionKey:`config.filters`,path:`config.filters.headcount`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Company sizes`,required:!1,description:``,groupPath:`config.filters.company_size`}).default([]),headcount_growth_l6m_in_percent:Cs({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}).default({min:null,max:null})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),jE={match:`any`,fields:[{fieldName:`company_profile_url`}]},ME={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},NE=`companies-profiles-amplemarket-v2`,PE=class extends ${billing={billableOperation:NE,cost:ME};searchId=wE;schema=AE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[TE.name]:this.catalogOutput(TE),[EE.name]:this.catalogOutput(EE),[DE.name]:this.catalogOutput(DE),[OE.name]:this.catalogOutput(OE),[kE.name]:this.catalogOutput(kE)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return jE}},FE=AE,IE={searchId:wE,billableOperation:NE,baseSearch:cE(`companies:profiles:amplemarket@2`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[W.COMPANY_PROFILES],docPath:lE(wE),cost:ME,provider:`amplemarket`,defaultPayload:{search_id:wE,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:[]}}}}},LE=`companies:profiles:crustdata@2`,RE=g(`company_name`),zE=g(`company_domain`),BE=g(`company_description`),VE=g(`company_profile_url`),HE=g(`crustdata_company_match`),UE=r.object({search_id:r.literal(LE),connector:Jo(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}).default(100),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:L(r.object({[RE.name]:M({fieldName:RE.name}),[zE.name]:M({fieldName:zE.name}),[BE.name]:M({fieldName:BE.name}),[VE.name]:M({fieldName:VE.name}),[HE.name]:M({fieldName:HE.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:U(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),crunchbase_categories:F({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:U(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:h(`company.crunchbase_categories.crustdata`)}).default({include:[],exclude:[]}),crunchbase_investors:F({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:U(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.crunchbase_investors.crustdata`)}).default({include:[],exclude:[]}),tracxn_investors:F({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:U(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.tracxn_investors.crustdata`)}).default({include:[],exclude:[]}),company_types:j({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),linkedin_industries:F({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:h(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:U(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),markets:F({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:h(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),linkedin_categories:F({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:h(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),headcount:j({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}).default({include:[],exclude:[]}),linkedin_headcount_ranges:N({path:`config.filters.linkedin_headcount_ranges`,sectionKey:`config.filters`,label:`Size bracket`,description:`Headcount range a company self-reports on its LinkedIn page.`,options:m(`crustdata.linkedin_headcount_ranges`),placeholder:`2-10`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),headcount_growth_l6m_in_percent:N({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),revenue_in_usd:Ts({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:j({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}).default({include:[],exclude:[]}),last_funding_amount:Ts({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:N({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}).default([]),follower_growth_l6m_in_percent:N({path:`config.filters.follower_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}).default([]),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:U(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}).default({include:[],exclude:[]}),competitor_domains:A({path:`config.filters.competitor_domains`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domain`,description:``,placeholder:U(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),company_domains:A({path:`config.filters.company_domains`,sectionKey:`config.filters`,maxItems:400,label:`Company domain`,description:``,placeholder:U(`company_domain`),groupPath:`config.filters.web_presence`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),company_profile_urls:A({path:`config.filters.company_profile_urls`,sectionKey:`config.filters`,maxItems:400,label:`Company LinkedIn URL`,description:``,placeholder:`https://linkedin.com/company/...`,groupPath:`config.filters.web_presence`}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),WE={match:`any`,fields:[{fieldName:`company_profile_url`}]},GE={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},KE=`companies-profiles-crustdata-v2`,qE=class extends ${billing={billableOperation:KE,cost:GE};searchId=LE;schema=UE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[RE.name]:this.catalogOutput(RE),[zE.name]:this.catalogOutput(zE),[BE.name]:this.catalogOutput(BE),[VE.name]:this.catalogOutput(VE),[HE.name]:this.catalogOutput(HE)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return WE}},JE=UE,YE={searchId:LE,billableOperation:KE,baseSearch:cE(`companies:profiles:crustdata@2`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[W.COMPANY_PROFILES],docPath:lE(LE),cost:GE,provider:`crustdata`,defaultPayload:{search_id:LE,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:[]},linkedin_headcount_ranges:[],hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[],exclude:[]},company_domains:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]}}}}},XE=`query:databricks@1`,ZE=r.object({search_id:r.literal(XE),connector:qo(),config:r.object({query:As({path:`config.query`,groupPath:`config.general`,sectionKey:`general`,label:`SQL query`,description:`A single read-only SELECT statement. It is wrapped automatically for pagination, so do not add your own LIMIT/OFFSET for paging.`,rows:8,minLength:1,maxLength:2e4}),limit:I({path:`config.limit`,min:1,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of rows per page`}).default(100),page_number:I({path:`config.page_number`,min:1,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page`,description:`1-based page index (offset pagination)`}).nullable().default(1)})}),QE={allowManagedConnection:!1,mode:null,credits:null,info:`Querying your own Databricks SQL warehouse is free.`},$E=`data-query-databricks-v1`,eD=class extends ${billing={billableOperation:$E,cost:QE};searchId=XE;schema=ZE;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`databricks`,rateLimitOperation:`databricks_query`,rateLimitRatio:1,allowManagedConnection:!1}]}async getAgentContext(e){return jw(`databricks`,e)}},tD=ZE,nD={searchId:XE,billableOperation:$E,baseSearch:cE(XE),outputFieldMode:`dynamic`,paginationType:`page_number`,label:`Query Databricks`,categories:[`data`],hasManagedConnection:!1,allowsUserConnection:!0,lifecycle:null,description:`Run a read-only SQL query against your Databricks SQL warehouse and return the rows.`,guide:"Databricks SQL dialect; config.query must be a single read-only statement (no self-managed LIMIT/OFFSET โ pagination is wrapped automatically). To discover the schema, draft a payload with a placeholder config.query like \"SELECT 1\" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the workspace-wide table/column map (all Unity catalogs) for free. Always reference tables by their FULLY QUALIFIED three-part name exactly as the map lists them (catalog.schema.table, e.g. samples.accuweather.forecast_daily); a bare table name resolves against the warehouse's unpredictable current catalog and usually fails with TABLE_OR_VIEW_NOT_FOUND. Sample actual rows (also free) with run_search_oneshot, then write the real config.query. Tables under the `samples` catalog (and Databricks' other built-in example schemas like `tpch` and `tpcds_*`) are DEMO data shipped to every workspace, NOT the customer's own data. If the user asks about their data and the only match is under `samples`/a demo schema โ or the map shows only demo tables โ the connection isn't pointed at their catalog: confirm the intended table with the user before querying, and never answer their question from a demo table.",tags:[W.FIELDS,W.NEW],docPath:lE(XE),cost:QE,provider:`databricks`,defaultPayload:{search_id:XE,connector:{strategy:`first`,connections:[]},config:{query:``,limit:100,page_number:1}}},rD=`query:postgres@1`,iD=r.object({search_id:r.literal(rD),connector:qo(),config:r.object({query:As({path:`config.query`,groupPath:`config.general`,sectionKey:`general`,label:`SQL query`,description:`A single read-only SELECT statement. It is wrapped automatically for pagination, so do not add your own LIMIT/OFFSET for paging.`,rows:8,minLength:1,maxLength:2e4}),limit:I({path:`config.limit`,min:1,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of rows per page`}).default(100),page_number:I({path:`config.page_number`,min:1,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page`,description:`1-based page index (offset pagination)`}).nullable().default(1)})}),aD={allowManagedConnection:!1,mode:null,credits:null,info:`Querying your own PostgreSQL database is free.`},oD=`data-query-postgres-v1`,sD=class extends ${billing={billableOperation:oD,cost:aD};searchId=rD;schema=iD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`postgres`,rateLimitOperation:`postgres_query`,rateLimitRatio:1,allowManagedConnection:!1}]}async getAgentContext(e){return jw(`postgres`,e)}},cD=iD,lD={searchId:rD,billableOperation:oD,baseSearch:cE(rD),outputFieldMode:`dynamic`,paginationType:`page_number`,label:`Query Postgres`,categories:[`data`],hasManagedConnection:!1,allowsUserConnection:!0,lifecycle:null,description:`Run a read-only SQL query against your own PostgreSQL database and return the rows.`,guide:`PostgreSQL dialect; config.query must be a single read-only SELECT (no self-managed LIMIT/OFFSET โ pagination is wrapped automatically). To discover the schema, draft a payload with a placeholder config.query like "SELECT 1" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the full table/column map for free. Sample actual rows (also free) with run_search_oneshot, then write the real config.query.`,tags:[W.FIELDS,W.NEW],docPath:lE(rD),cost:aD,provider:`postgres`,defaultPayload:{search_id:rD,connector:{strategy:`first`,connections:[]},config:{query:``,limit:100,page_number:1}}},uD=`companies:profiles:amplemarket@1`,dD=g(`company_name`),fD=g(`company_website_url`),pD=g(`company_description`),mD=g(`company_profile_url`),hD=g(`amplemarket_company_match`),gD=r.object({search_id:r.literal(uD),connector:Di.nullable().optional(),config:r.object({limit:I({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`}),page_number:I({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:L(r.object({[dD.name]:M({fieldName:dD.name}),[fD.name]:M({fieldName:fD.name}),[pD.name]:M({fieldName:pD.name}),[mD.name]:M({fieldName:mD.name}),[hD.name]:M({fieldName:hD.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:U(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),company_names:A({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:U(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),company_website_urls:A({sectionKey:`config.filters`,path:`config.filters.company_website_urls`,label:`Company domains`,description:``,placeholder:U(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),company_profile_urls:A({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),company_types:N({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}).default([]),investors:P({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:h(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:U(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}).default([]),company_industries:j({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:Re(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:U(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),customer_types:N({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`}).default([]),keywords:A({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),revenue_groups:N({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}).default([]),founded_year:Cs({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,description:``}).default({min:null,max:null}),open_positions_titles:k({path:`config.filters.open_positions_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:U(`title`),suggestionsDef:h(`titles`)}),headcount:N({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}).default([]),headcount_growth_last_6_months_in_percent:Cs({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}).default({min:null,max:null})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),_D={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},vD=`companies-profiles-amplemarket-v1`,yD=class extends ${billing={billableOperation:vD,cost:_D};searchId=uD;schema=gD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[dD.name]:this.catalogOutput(dD),[fD.name]:this.catalogOutput(fD),[pD.name]:this.catalogOutput(pD),[mD.name]:this.catalogOutput(mD),[hD.name]:this.catalogOutput(hD)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},bD=gD,xD={searchId:uD,billableOperation:vD,baseSearch:cE(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`deprecated`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:amplemarket@2`},description:`Filter based company search.`,tags:[W.COMPANY_PROFILES],docPath:lE(uD),cost:_D,provider:`amplemarket`,defaultPayload:{search_id:uD,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:[]}}}}},SD=`companies:profiles:crustdata@1`,CD=g(`company_name`),wD=g(`company_website_url`),TD=g(`company_description`),ED=g(`company_profile_url`),DD=g(`crustdata_company_match`),OD=r.object({search_id:r.literal(SD),connector:Di.nullable().optional(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:L(r.object({[CD.name]:M({fieldName:CD.name}),[wD.name]:M({fieldName:CD.name}),[TD.name]:M({fieldName:TD.name}),[ED.name]:M({fieldName:ED.name}),[DD.name]:M({fieldName:DD.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:U(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),crunchbase_categories:F({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:U(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:h(`company.crunchbase_categories.crustdata`)}).default({include:[],exclude:[]}),crunchbase_investors:F({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:U(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.crunchbase_investors.crustdata`)}).default({include:[],exclude:[]}),tracxn_investors:F({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:U(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.tracxn_investors.crustdata`)}).default({include:[],exclude:[]}),company_types:j({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),linkedin_industries:F({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:h(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:U(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),markets:F({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:h(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),linkedin_categories:F({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:h(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),headcount:j({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}).default({include:[],exclude:[]}),headcount_growth_last_6m_in_percent:N({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),revenue_in_usd:Ts({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:j({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}).default({include:[],exclude:[]}),last_funding_amount:Ts({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:N({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}).default([]),follower_growth_last_6m_in_percent:N({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}).default([]),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:U(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}).default({include:[],exclude:[]}),competitor_websites:A({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:``,placeholder:U(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),kD={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},AD=`companies-profiles-crustdata-v1`,jD=class extends ${billing={billableOperation:AD,cost:kD};searchId=SD;schema=OD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[CD.name]:this.catalogOutput(CD),[wD.name]:this.catalogOutput(wD),[TD.name]:this.catalogOutput(TD),[ED.name]:this.catalogOutput(ED),[DD.name]:this.catalogOutput(DD)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},MD=OD,ND={searchId:SD,billableOperation:AD,baseSearch:cE(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`deprecated`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:crustdata@2`},description:`Filter based company search.`,tags:[W.COMPANY_PROFILES],docPath:lE(SD),cost:kD,provider:`crustdata`,defaultPayload:{search_id:SD,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:[]}}}}},PD=`people:profiles:amplemarket@1`,FD=g(`name`),ID=g(`company_website_url`),LD=g(`profile_url`),RD=g(`job_title`),zD=g(`amplemarket_person_match`),BD=r.object({search_id:r.literal(PD),connector:Di.nullable().optional(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}),page_number:I({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:L(r.object({[FD.name]:M({fieldName:FD.name}),[ID.name]:M({fieldName:ID.name}),[LD.name]:M({fieldName:LD.name}),[RD.name]:M({fieldName:RD.name}),[zD.name]:M({fieldName:zD.name})})),filters:r.object({person_names:k({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:F({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:k({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:U(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}),current_seniority_levels:N({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:U(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_departments:N({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:U(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_job_functions:N({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:U(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_employer_locations:F({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:h(`locations`),groupPath:`config.filters.current_company`,placeholder:U(`location`)}).default({include:[],exclude:[]}),current_employer_names:A({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:U(`company_name`),suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),current_employer_website_urls:A({path:`config.filters.current_employer_website_urls`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:U(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),current_employer_linkedin_industries:N({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:U(`industry`),required:!1,options:m(`linkedin.industries`)}).default([]),current_employer_estimated_revenue:N({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}).default([]),current_employer_founded_year:Cs({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,description:``}).default({min:null,max:null}),current_employer_investors:k({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:U(`investor`),description:``}),current_employer_open_positions_titles:k({path:`config.filters.current_employer_open_positions_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:U(`title`),suggestionsDef:h(`titles`)}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),VD={allowManagedConnection:!0,mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},HD=`people-profiles-amplemarket-v1`,UD=class extends ${billing={billableOperation:HD,cost:VD};searchId=PD;schema=BD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[FD.name]:this.catalogOutput(FD),[ID.name]:this.catalogOutput(ID),[LD.name]:this.catalogOutput(LD),[RD.name]:this.catalogOutput(RD),[zD.name]:this.catalogOutput(zD)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},WD=BD,GD={searchId:PD,billableOperation:HD,baseSearch:cE(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:amplemarket@2`},description:`Filter-based people search.`,tags:[W.PEOPLE_PROFILES],docPath:lE(PD),cost:VD,provider:`amplemarket`,defaultPayload:{search_id:PD,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:[]}}}},KD=`people:profiles:crustdata@1`,qD=g(`name`),JD=g(`company_website_url`),YD=g(`profile_url`),XD=g(`job_title`),ZD=g(`crustdata_person_match`),QD=r.object({search_id:r.literal(KD),connector:Di.nullable().optional(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:L(r.object({[qD.name]:M({fieldName:qD.name}),[JD.name]:M({fieldName:JD.name}),[YD.name]:M({fieldName:YD.name}),[XD.name]:M({fieldName:XD.name}),[ZD.name]:M({fieldName:ZD.name})})),filters:r.object({locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:U(`location`),optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:U(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),current_employers:A({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:U(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),current_employers_website_urls:A({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Company domain`,placeholder:U(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),current_employers_linkedin_industries:F({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:U(`industry`),description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),years_at_current_company:N({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),previous_employers_website_urls:A({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:U(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),previous_seniority_levels:j({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:U(`seniority`),disableSearch:!0,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),previous_employers:A({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:U(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),previous_job_titles:A({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:U(`title`),groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),previous_employers_linkedin_industries:F({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:U(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),profile_headline_keywords:A({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:U(`headline_keywords`)}).default({include:[],exclude:[]}),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:U(`profile_keywords`)}).default({include:[],exclude:[]}),profile_languages:j({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:U(`languages`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),languages:j({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:U(`languages_1`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),skills:F({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:U(`skills`),groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default({include:[],exclude:[]}),years_of_experience:N({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),current_seniority_levels:j({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:U(`seniority`),optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),certifications:A({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:U(`certification`),description:``}).default({include:[],exclude:[]}),honors:A({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:U(`honor`),description:``}).default({include:[],exclude:[]}),recently_changed_jobs:Os({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:F({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:U(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default({include:[],exclude:[]}),degree_names:F({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:U(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default({include:[],exclude:[]}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),current_school_names:F({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),extracurricular_activities:A({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:U(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:h(`person.education_activities.crustdata`)}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),$D={allowManagedConnection:!0,mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},eO=`people-profiles-crustdata-v1`,tO=class extends ${billing={billableOperation:eO,cost:$D};searchId=KD;schema=QD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[qD.name]:this.catalogOutput(qD),[JD.name]:this.catalogOutput(JD),[YD.name]:this.catalogOutput(YD),[XD.name]:this.catalogOutput(XD),[ZD.name]:this.catalogOutput(ZD)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},nO=QD,rO={searchId:KD,billableOperation:eO,baseSearch:cE(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:crustdata@2`},description:`Filter-based people search.`,tags:[W.PEOPLE_PROFILES],docPath:lE(KD),cost:$D,provider:`crustdata`,defaultPayload:{search_id:KD,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:[]}}}}},iO=`people:entitysearch:parallel@1`,aO=g(`name`),oO=g(`job_title`),sO=g(`profile_url`),cO=g(`parallel_person_entity_match`),lO=r.object({search_id:r.literal(iO),connector:Jo(),config:r.object({objective:As({path:`config.objective`,sectionKey:`general`,groupPath:`config.general`,label:`Objective`,rows:4,minLength:10,placeholder:`Heads of Engineering at Series B fintech companies in the US`,description:`Plain-text natural-language description of the people to find.`}),limit:I({path:`config.limit`,min:5,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of entities to return (5โ1000).`}).default(100),output_fields:L(r.object({[aO.name]:M({fieldName:aO.name}),[oO.name]:M({fieldName:oO.name}),[sO.name]:M({fieldName:sO.name}),[cO.name]:M({fieldName:cO.name})}))})}),uO={match:`any`,fields:[{fieldName:`profile_url`}]},dO={allowManagedConnection:!0,mode:`per_page`,credits:{default:.5},info:`1 page = 100 results; billed per 100 results returned (e.g. 100 results = 1 page, 1,000 results = 10 pages). A search returns up to your selected limit in a single request.`},fO=`people-entitysearch-parallel-v1`,pO=class extends ${billing={billableOperation:fO,cost:dO};searchId=iO;schema=lO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[aO.name]:this.catalogOutput(aO),[oO.name]:this.catalogOutput(oO),[sO.name]:this.catalogOutput(sO),[cO.name]:this.catalogOutput(cO)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitOperation:`parallel_entity_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return uO}},mO=lO,hO={searchId:iO,billableOperation:fO,baseSearch:cE(iO),label:`People search (AI)`,categories:[`people`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Natural-language people search powered by Parallel Entity Search.`,tags:[W.PEOPLE_PROFILES],docPath:lE(iO),cost:dO,provider:`parallel`,defaultPayload:{search_id:iO,connector:null,config:{objective:``,limit:100,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},parallel_person_entity_match:{enabled:!1,alias:``}}}}},gO=`people:eventguests:luma@1`,_O=g(`name`),vO=g(`email`),yO=g(`luma_id`),bO=g(`registered_at`),xO=g(`luma_event_guest_match`),SO=[{label:`Sample Meetup โ Berlin`,value:`evt-sandbox-1`},{label:`Sample Conference โ SF`,value:`evt-sandbox-2`}],CO={requires:{connection:`luma`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return SO;if(!t)throw Error(`A Luma connection is required to list events.`);let r=await fetch(`https://public-api.luma.com/v1/calendar/list-events`,{headers:{accept:`application/json`,"x-luma-api-key":t}});if(!r.ok){let e=await r.text();throw Error(`Failed to list Luma events: ${e}`)}let i=((await r.json()).entries||[]).filter(e=>!!e?.id).map(e=>({label:e.name||e.id,value:e.id}));return e?i.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):i}},wO=r.object({search_id:r.literal(gO),connector:qo(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of guests per page`}).default(100),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:L(r.object({[_O.name]:M({fieldName:_O.name}),[vO.name]:M({fieldName:vO.name}),[yO.name]:M({fieldName:yO.name}),[bO.name]:M({fieldName:bO.name}),[xO.name]:M({fieldName:xO.name})})),filters:r.object({event_id:Ms({path:`config.filters.event_id`,sectionKey:`config.filters`,groupPath:`config.filters.event`,label:`Event`,required:!0,info:`Pick one of your Luma events; guests of this event are returned.`,enabledIf:Na(`luma`),optionsDef:CO}),approval_status:js({path:`config.filters.approval_status`,sectionKey:`config.filters`,groupPath:`config.filters.event`,label:`Approval status`,description:`Only return guests with this approval status.`,required:!1,options:[{value:`approved`,label:`Approved`},{value:`pending_approval`,label:`Pending approval`},{value:`declined`,label:`Declined`},{value:`waitlist`,label:`Waitlist`},{value:`invited`,label:`Invited`}]})})})}),TO={match:`any`,fields:[{fieldName:`luma_id`}]},EO={allowManagedConnection:!0,mode:`per_page`,credits:{default:1},info:`1 page = up to 100 guests.`},DO=`people-eventguests-luma-v1`,OO=class extends ${billing={billableOperation:DO,cost:EO};searchId=gO;schema=wO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[_O.name]:this.catalogOutput(_O),[vO.name]:this.catalogOutput(vO),[yO.name]:this.catalogOutput(yO),[bO.name]:this.catalogOutput(bO),[xO.name]:this.catalogOutput(xO)}}getConnectionsRequirements(){return[{provider:`luma`,rateLimitOperation:`luma_get_guests`,rateLimitRatio:1,allowManagedConnection:!1}]}getDedupConfig(){return TO}},kO=wO,AO={searchId:gO,billableOperation:DO,baseSearch:cE(gO),paginationType:`cursor`,label:`List event guests`,categories:[`people`],hasManagedConnection:!1,allowsUserConnection:!0,lifecycle:null,description:`Fetch all guests of a Luma event using your own Luma API key.`,tags:[W.PEOPLE_PROFILES,W.EVENTS,W.NEW],docPath:lE(gO),cost:EO,provider:`luma`,defaultPayload:{search_id:gO,connector:{strategy:`first`,connections:[]},config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},email:{enabled:!0,alias:``},luma_id:{enabled:!0,alias:``},registered_at:{enabled:!0,alias:``},luma_event_guest_match:{enabled:!0,alias:``}},filters:{event_id:``,approval_status:``}}}},jO=`people:profiles:amplemarket@2`,MO=g(`name`),NO=g(`company_domain`),PO=g(`profile_url`),FO=g(`job_title`),IO=g(`amplemarket_person_match`),LO=r.object({search_id:r.literal(jO),connector:Jo(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,label:`Page size`,sectionKey:`pagination`,description:`Max number of search results per page`}).default(50),page_number:I({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:L(r.object({[MO.name]:M({fieldName:MO.name}),[NO.name]:M({fieldName:NO.name}),[PO.name]:M({fieldName:PO.name}),[FO.name]:M({fieldName:FO.name}),[IO.name]:M({fieldName:IO.name})})),filters:r.object({person_names:k({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:F({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:k({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:U(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}),current_seniority_levels:N({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:U(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_departments:N({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:U(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_job_functions:N({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:U(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_employer_locations:F({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:h(`locations`),groupPath:`config.filters.current_company`,placeholder:U(`location`)}).default({include:[],exclude:[]}),current_employer_names:A({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:U(`company_name`),suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),current_employer_domains:A({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:U(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),current_employer_linkedin_industries:N({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:U(`industry`),required:!1,options:m(`linkedin.industries`)}).default([]),current_employer_estimated_revenue:N({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}).default([]),current_employer_founded_year:Cs({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,description:``}).default({min:null,max:null}),current_employer_investors:k({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:U(`investor`),description:``}),current_employer_open_position_titles:k({path:`config.filters.current_employer_open_position_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:U(`title`),suggestionsDef:h(`titles`)}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),RO={match:`any`,fields:[{fieldName:`profile_url`}]},zO={allowManagedConnection:!0,mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},BO=`people-profiles-amplemarket-v2`,VO=class extends ${billing={billableOperation:BO,cost:zO};searchId=jO;schema=LO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[MO.name]:this.catalogOutput(MO),[NO.name]:this.catalogOutput(NO),[PO.name]:this.catalogOutput(PO),[FO.name]:this.catalogOutput(FO),[IO.name]:this.catalogOutput(IO)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return RO}},HO=LO,UO={searchId:jO,billableOperation:BO,baseSearch:cE(`people:profiles:amplemarket@2`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[W.PEOPLE_PROFILES],docPath:lE(jO),cost:zO,provider:`amplemarket`,defaultPayload:{search_id:jO,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:[]}}}},WO=`people:profiles:crustdata@2`,GO=g(`name`),KO=g(`company_domain`),qO=g(`profile_url`),JO=g(`job_title`),YO=g(`crustdata_person_match`),XO=r.object({search_id:r.literal(WO),connector:Jo(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page size`,description:`Max number of search results per page`}).default(100),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:L(r.object({[GO.name]:M({fieldName:GO.name}),[KO.name]:M({fieldName:KO.name}),[qO.name]:M({fieldName:qO.name}),[JO.name]:M({fieldName:JO.name}),[YO.name]:M({fieldName:YO.name})})),filters:r.object({locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:U(`location`),optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:U(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),current_employer_names:A({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:U(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),current_employer_domains:A({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:U(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),current_employer_industries:F({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:U(`industry`),description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),years_at_current_company:N({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),previous_employer_domains:A({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:U(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),previous_seniority_levels:j({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:U(`seniority`),disableSearch:!0,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),previous_employer_names:A({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:U(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),previous_job_titles:A({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:U(`title`),groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),previous_employer_industries:F({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:U(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),profile_headline_keywords:A({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:U(`headline_keywords`)}).default({include:[],exclude:[]}),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:U(`profile_keywords`)}).default({include:[],exclude:[]}),profile_languages:j({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:U(`languages`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),languages:j({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:U(`languages_1`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),skills:F({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:U(`skills`),groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default({include:[],exclude:[]}),years_of_experience:N({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),current_seniority_levels:j({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:U(`seniority`),optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),certifications:A({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:U(`certification`),description:``}).default({include:[],exclude:[]}),honors:A({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:U(`honor`),description:``}).default({include:[],exclude:[]}),recently_changed_jobs:Os({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:F({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:U(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default({include:[],exclude:[]}),degree_names:F({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:U(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default({include:[],exclude:[]}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),current_school_names:F({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),extracurricular_activities:A({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:U(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:h(`person.education_activities.crustdata`)}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),ZO={match:`any`,fields:[{fieldName:`profile_url`}]},QO={allowManagedConnection:!0,mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},$O=`people-profiles-crustdata-v2`,ek=class extends ${billing={billableOperation:$O,cost:QO};searchId=WO;schema=XO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[GO.name]:this.catalogOutput(GO),[KO.name]:this.catalogOutput(KO),[qO.name]:this.catalogOutput(qO),[JO.name]:this.catalogOutput(JO),[YO.name]:this.catalogOutput(YO)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return ZO}},tk=XO,nk={searchId:WO,billableOperation:$O,baseSearch:cE(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[W.PEOPLE_PROFILES],docPath:lE(WO),cost:QO,provider:`crustdata`,defaultPayload:{search_id:WO,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:[]}}}}},rk=`people:profiles:crustdata@3`,ik=g(`name`),ak=g(`profile_url`),ok=g(`person_profile_match`),sk=r.object({search_id:r.literal(rk),connector:Jo(),config:r.object({limit:I({path:`config.limit`,min:1,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page size`,description:`Max number of search results per page`}).default(100),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:L(r.object({[ik.name]:M({fieldName:ik.name}),[ak.name]:M({fieldName:ak.name}),[ok.name]:M({fieldName:ok.name})})),filters:r.object({recently_changed_jobs:Os({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),certifications:A({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:U(`certification`),description:``,suggestionsDef:h(`person.certifications.crustdata`)}).default({include:[],exclude:[]}),honors:A({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:U(`honor`),description:``,suggestionsDef:h(`person.honors.crustdata`)}).default({include:[],exclude:[]}),current_employer_domains:A({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:U(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),current_employer_headcount_brackets:N({path:`config.filters.current_employer_headcount_brackets`,sectionKey:`config.filters`,label:`Headcount`,description:``,placeholder:`1-10`,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.current_employer`}).default([]),current_employer_industries:F({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:U(`industry`),description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),current_employer_names:A({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:U(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),current_employment_job_functions:N({path:`config.filters.current_employment_job_functions`,sectionKey:`config.filters`,label:`Function`,groupPath:`config.filters.current_employer`,placeholder:U(`job_function`),description:``,disableSearch:!0,required:!1,options:m(`employment_function.crustdata`)}).default([]),current_employment_job_titles:A({path:`config.filters.current_employment_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:U(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),current_employment_seniority_levels:N({path:`config.filters.current_employment_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:U(`seniority`),options:Re(`crustdata.person_seniority`).options,required:!1,description:``,groupPath:`config.filters.current_employer`}).default([]),current_employment_tenure_brackets:N({path:`config.filters.current_employment_tenure_brackets`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),current_school_names:F({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),degree_names:F({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree`,placeholder:U(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default({include:[],exclude:[]}),fields_of_study:F({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Field of study`,placeholder:U(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default({include:[],exclude:[]}),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School`,description:``,placeholder:U(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),previous_employer_domains:A({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:U(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:at(e.value)}})})}).default({include:[],exclude:[]}),previous_employer_headcount_brackets:N({path:`config.filters.previous_employer_headcount_brackets`,sectionKey:`config.filters`,label:`Previous employer headcount`,description:``,placeholder:`1-10`,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.experience`}).default([]),previous_employer_industries:F({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,placeholder:U(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),previous_employer_names:A({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,placeholder:U(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),previous_employment_job_functions:N({path:`config.filters.previous_employment_job_functions`,sectionKey:`config.filters`,label:`Previous function`,groupPath:`config.filters.experience`,placeholder:U(`job_function`),description:``,disableSearch:!0,required:!1,options:m(`employment_function.crustdata`)}).default([]),previous_employment_job_titles:A({path:`config.filters.previous_employment_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:U(`title`),groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),previous_employment_seniority_levels:N({path:`config.filters.previous_employment_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:U(`seniority`),disableSearch:!0,options:Re(`crustdata.person_seniority`).options,required:!1,description:``,groupPath:`config.filters.experience`}).default([]),previous_employment_tenure_brackets:N({path:`config.filters.previous_employment_tenure_brackets`,sectionKey:`config.filters`,label:`Years at previous company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),total_years_of_experience_brackets:N({path:`config.filters.total_years_of_experience_brackets`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),languages:j({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:U(`languages_1`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:U(`location`),optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),about_section_keywords:A({path:`config.filters.about_section_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:U(`profile_keywords`)}).default({include:[],exclude:[]}),profile_headline_keywords:A({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:U(`headline_keywords`)}).default({include:[],exclude:[]}),skills:F({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:U(`skills`),groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default({include:[],exclude:[]})}).check(e=>{CE(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),ck={match:`any`,fields:[{fieldName:`profile_url`}]},lk={allowManagedConnection:!0,mode:`per_result`,credits:{default:.15,level1:{credits:.07,weight:10}},info:`1 page = 100 records; 200 results = 2 pages`},uk=`people-profiles-crustdata-v3`,dk=class extends ${billing={billableOperation:uk,cost:lk};searchId=rk;schema=sk;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ik.name]:this.catalogOutput(ik),[ak.name]:this.catalogOutput(ak),[ok.name]:this.catalogOutput(ok)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return ck}},fk=sk,pk={searchId:rk,billableOperation:uk,baseSearch:cE(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[W.PEOPLE_PROFILES],docPath:lE(rk),cost:lk,provider:`crustdata`,defaultPayload:{search_id:rk,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},person_profile_match:{enabled:!0,alias:``}},filters:{recently_changed_jobs:null,certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},current_employer_headcount_brackets:[],current_employer_industries:{include:[],exclude:[]},current_employer_names:{include:[],exclude:[]},current_employment_job_functions:[],current_employment_job_titles:{include:[],exclude:[]},current_employment_seniority_levels:[],current_employment_tenure_brackets:[],current_school_names:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},school_names:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},previous_employer_headcount_brackets:[],previous_employer_industries:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},previous_employment_job_functions:[],previous_employment_job_titles:{include:[],exclude:[]},previous_employment_seniority_levels:[],previous_employment_tenure_brackets:[],total_years_of_experience_brackets:[],languages:{include:[],exclude:[]},locations:{include:[],exclude:[]},about_section_keywords:{include:[],exclude:[]},profile_headline_keywords:{include:[],exclude:[]},skills:{include:[],exclude:[]}}}}},mk=`posts:content:crustdata@1`,hk=g(`post_match`),gk=g(`post_text`),_k=g(`post_id`),vk=r.object({search_id:r.literal(mk),connector:Jo(),config:r.object({limit:I({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page size`,description:`Max number of search results per page`}).default(100),output_fields:L(r.object({[_k.name]:M({fieldName:_k.name}),[hk.name]:M({fieldName:hk.name}),[gk.name]:M({fieldName:gk.name})})),filters:r.object({keywords:k({path:`config.filters.keywords`,sectionKey:`config.filters`,label:`Search keywords`,groupPath:`config.filters.general`,maxItems:6,placeholder:U(`profile_keywords`),description:``}).default([]),keyword_operator:js({path:`config.filters.keyword_operator`,sectionKey:`config.filters`,label:`Keyword operator`,groupPath:`config.filters.general`,options:[{value:`OR`,label:`Any keyword (OR)`},{value:`AND`,label:`All keywords (AND)`}],required:!0,defaultValue:`OR`,description:`Post must match any or all keywords.`}).default(`OR`),date_posted:js({path:`config.filters.date_posted`,sectionKey:`config.filters`,label:`Date posted`,groupPath:`config.filters.general`,options:Re(`crustdata.post_date_posted`).options,placeholder:`Past 24h, past week, ...`,required:!1,defaultValue:``,description:`Only return posts published within this recency window.`}).default(``),content_types:N({path:`config.filters.content_types`,sectionKey:`config.filters`,label:`Content type`,groupPath:`config.filters.general`,options:m(`crustdata.post_content_type`),disableSearch:!0,required:!1,placeholder:`Photos, jobs, ...`,description:``}).default([]),author_industries:P({path:`config.filters.author_industries`,sectionKey:`config.filters`,label:`Author industry`,groupPath:`config.filters.author`,optionsDef:h(`linkedin_industries.crustdata`),disableSearch:!1,required:!1,maxItems:100,placeholder:U(`industry`),description:`Only return posts whose author works in one of these industries.`}).default([]),author_company_profile_url:k({path:`config.filters.author_company_profile_url`,sectionKey:`config.filters`,label:`Author company profile URL`,groupPath:`config.filters.author`,maxItems:50,placeholder:`https://linkedin.com/company/..., ...`,description:`Only return posts whose author currently works at these companies (by LinkedIn profile URL).`}).default([]),author_title:k({path:`config.filters.author_title`,sectionKey:`config.filters`,label:`Author title`,groupPath:`config.filters.author`,maxItems:50,suggestionsDef:h(`titles`),placeholder:U(`title`),description:`Only return posts whose author holds one of these titles.`}).default([]),author_profile_url:k({path:`config.filters.author_profile_url`,sectionKey:`config.filters`,label:`Author profile URL`,groupPath:`config.filters.author`,maxItems:50,placeholder:`https://linkedin.com/in/..., ...`,description:`Only return posts authored by these people (by LinkedIn profile URL).`}).default([]),authoring_company_profile_url:k({path:`config.filters.authoring_company_profile_url`,sectionKey:`config.filters`,label:`Authoring company profile URL`,groupPath:`config.filters.author`,maxItems:50,placeholder:`https://linkedin.com/company/..., ...`,description:`Only return posts authored by these companies (by LinkedIn profile URL).`}).default([]),companies_mentioned_in_post:k({path:`config.filters.companies_mentioned_in_post`,sectionKey:`config.filters`,label:`Companies mentioned in post`,groupPath:`config.filters.mentions`,maxItems:50,placeholder:`https://linkedin.com/company/..., ...`,description:`Only return posts that mention these companies (by LinkedIn profile URL).`}).default([]),people_mentioned_in_post:k({path:`config.filters.people_mentioned_in_post`,sectionKey:`config.filters`,label:`People mentioned in post`,groupPath:`config.filters.mentions`,maxItems:50,placeholder:`https://linkedin.com/in/..., ...`,description:`Only return posts that mention these people (by LinkedIn profile URL).`}).default([])}).check(e=>{let t=e.value,n=t.keywords.some(e=>e.trim()!==``),r=[t.author_industries,t.author_company_profile_url,t.author_title,t.author_profile_url,t.authoring_company_profile_url,t.companies_mentioned_in_post,t.people_mentioned_in_post].some(e=>e.length>0);!n&&!r&&e.issues.push({code:`custom`,message:`Provide a keyword or at least one filter.`,input:e.value,path:[`keywords`]});let i=t.author_industries.length>0||t.author_company_profile_url.length>0||t.author_title.length>0||t.author_profile_url.length>0;t.authoring_company_profile_url.length>0&&i&&e.issues.push({code:`custom`,message:`Authoring company profile URL can't be combined with author profile URL, company name, title, or industry filters.`,input:e.value,path:[`authoring_company_profile_url`]})})})}),yk={match:`any`,fields:[{fieldName:`post_id`}]},bk={allowManagedConnection:!0,mode:`per_result`,credits:{default:2}},xk=`posts-content-crustdata-v1`,Sk=class extends ${billing={billableOperation:xk,cost:bk};searchId=mk;schema=vk;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[_k.name]:this.catalogOutput(_k),[hk.name]:this.catalogOutput(hk),[gk.name]:this.catalogOutput(gk)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_social_post_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return yk}},Ck=vk,wk={searchId:mk,billableOperation:xk,baseSearch:cE(mk),paginationType:`page_number`,label:`LinkedIn post search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Keyword-based LinkedIn post search.`,tags:[W.LINKEDIN],docPath:lE(mk),cost:bk,provider:`crustdata`,defaultPayload:{search_id:mk,connector:null,config:{limit:100,output_fields:{post_id:{enabled:!0,alias:``},post_text:{enabled:!0,alias:``},post_match:{enabled:!0,alias:``}},filters:{keywords:[],keyword_operator:`OR`,date_posted:``,content_types:[],author_industries:[],author_company_profile_url:[],author_title:[],author_profile_url:[],authoring_company_profile_url:[],companies_mentioned_in_post:[],people_mentioned_in_post:[]}}}},Tk=`sheet:rows@1`,Ek=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],Dk={requires:{connection:`pipe0`},enabledIf:Na(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Ek: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`}}},Ok=r.object({search_id:r.literal(Tk),connector:qo(),config:r.object({sheet:Ms({path:`config.sheet`,sectionKey:`general`,groupPath:`config.general`,label:`Sheet`,required:!0,info:`Pick one of your pipe0 sheets; its rows are returned.`,enabledIf:Na(`pipe0`),optionsDef:Dk}),limit:I({path:`config.limit`,min:1,max:2e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of rows per page`}).default(100),cursor:ks({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),include_metadata:Ds({path:`config.include_metadata`,groupPath:`config.general`,sectionKey:`general`,label:`Include metadata`,description:`Widgets and prevenance tags.`,defaultValue:!1})})}),kk={allowManagedConnection:!0,mode:`per_search`,credits:{default:0},info:`Reading your own pipe0 sheet is free.`},Ak=`sheet-items-v1-pipe0`,jk=class extends ${billing={billableOperation:Ak,cost:kk};searchId=Tk;schema=Ok;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0-sheet-operation`,rateLimitRatio:1,allowManagedConnection:!0}]}},Mk=Ok,Nk={searchId:Tk,billableOperation:Ak,baseSearch:cE(Tk),outputFieldMode:`dynamic`,paginationType:`cursor`,label:`Read sheet rows`,categories:[`data`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`List rows from a pipe0 sheet.`,tags:[W.FIELDS,W.NEW],docPath:lE(Tk),cost:kk,provider:`pipe0`,defaultPayload:{search_id:Tk,connector:{strategy:`first`,connections:[]},config:{sheet:``,limit:100,cursor:``,include_metadata:!1}}},Pk={"people:profiles:crustdata@1":tO,"people:profiles:crustdata@2":ek,"people:profiles:crustdata@3":dk,"companies:profiles:crustdata@1":jD,"companies:profiles:crustdata@2":qE,"people:profiles:amplemarket@1":UD,"people:profiles:amplemarket@2":VO,"companies:profiles:amplemarket@1":yD,"companies:profiles:amplemarket@2":PE,"companies:entitysearch:parallel@1":bE,"people:entitysearch:parallel@1":pO,"people:eventguests:luma@1":OO,"posts:content:crustdata@1":Sk,"sheet:rows@1":jk,"query:postgres@1":sD,"query:databricks@1":eD},Fk={"people:profiles:crustdata@1":nO,"people:profiles:crustdata@2":tk,"people:profiles:crustdata@3":fk,"companies:profiles:crustdata@1":MD,"companies:profiles:crustdata@2":JE,"people:profiles:amplemarket@1":WD,"people:profiles:amplemarket@2":HO,"companies:profiles:amplemarket@1":bD,"companies:profiles:amplemarket@2":FE,"companies:entitysearch:parallel@1":xE,"people:entitysearch:parallel@1":mO,"people:eventguests:luma@1":kO,"posts:content:crustdata@1":Ck,"sheet:rows@1":Mk,"query:postgres@1":cD,"query:databricks@1":tD},Ik={"people:profiles:crustdata@1":rO,"people:profiles:crustdata@2":nk,"people:profiles:crustdata@3":pk,"companies:profiles:crustdata@1":ND,"companies:profiles:crustdata@2":YE,"people:profiles:amplemarket@1":GD,"people:profiles:amplemarket@2":UO,"companies:profiles:amplemarket@1":xD,"companies:profiles:amplemarket@2":IE,"companies:entitysearch:parallel@1":SE,"people:entitysearch:parallel@1":hO,"people:eventguests:luma@1":AO,"posts:content:crustdata@1":wk,"sheet:rows@1":Nk,"query:postgres@1":lD,"query:databricks@1":nD};function Lk(e){return Pk[e]}const Rk=t.discriminatedUnion(`search_id`,Object.values(Fk).map(e=>e)).openapi(`SearchPayloadSchema`);function zk(e,t){return Ze(t,Ik[e].defaultPayload)}const Bk=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=zk(e.search_id);return t?{...e,config:Ze(e?.config||{},t.config)}:e},Rk),Vk=t.object({config:t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1}),field_definitions:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}).default({environment:`production`,widgets:{enabled:!1},field_definitions:{enabled:!1}}),search:Bk}).openapi(`SearchRequestSchema`),Hk=ii,Uk=t.object({value:Wr,status:Ur,type:Vr.optional(),format:si.nullable().optional(),resolved_by:pi.nullable().optional(),widgets:ri.optional()}),Wk=t.record(t.string(),Uk.nullable());function Gk(e){return Fk[e]}const Kk=t.enum([`cursor`,`page_number`]),qk=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:oE,errors:t.array(Hk),results:t.array(Wk),organization_id:t.string(),next_page:Bk.nullable(),pagination_type:Kk.nullable(),total_pages:t.int32().nullable(),field_definitions:li.optional()}).openapi(`SearchResponseSchema`);function Jk(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function Yk(){let e={};for(let t of Object.values(Ik)){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=Jk(e.searchId);return Jk(t.searchId)-n})}),e}function Xk(e){return Ik[e]}const Zk=Yk();function Qk(e){let t=[];for(let[n,r]of Object.entries(Zk)){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:Jk(i.searchId)})}return t}function $k(e){let t=Ik[e].defaultPayload.config.output_fields;return t?Object.keys(t):[]}function eA(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 $k(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:Zk}}function tA(e){let t=Xk(e);return{[t.provider]:t.cost.allowManagedConnection?t.cost.credits.default:0}}const nA={"prompt:run@1":WC,"agent:run@1":Bc,"company:newssummary:website@1":wf,"company:newssummary:domain@1":_u,"company:techstack:builtwith@1":fp,"company:techstack:builtwith@2":Wu,"company:websiteurl:email@1":xp,"company:domain:workemail@1":Zc,"company:funding:leadmagic@1":gd,"company:funding:leadmagic@2":dl,"people:workemail:waterfall@1":F_,"person:workemail:waterfall@1":LC,"people:email:iswork@1":Ap,"email:iswork@1":W_,"people:name:split@1":ah,"person:name:split@1":$x,"people:validate:email:zerobounce@1":c_,"people:email:validate:zerobounce@2":Yp,"email:validate:zerobounce@1":mv,"people:mobilenumber:workemail:waterfall@1":Ym,"person:name:join@1":Ux,"company:overview@1":zf,"company:overview@2":tp,"company:overview@3":Nu,"json:extract:multi@1":my,"company:lookalikes:companyenrich@1":qd,"company:lookalikes:companyenrich@2":Vl,"company:match:logodev@1":hf,"company:match:logodev@2":cu,"person:posts:content:crustdata@1":xS,"people:profile:workemail:crustdata@1":Bg,"person:profile:workemail:crustdata@1":HS,"people:identity:email:waterfall@1":gm,"person:identity:email:waterfall@1":Gb,"person:identity:amplemarket@1":kb,"email:send:resend@1":iv,"contact:create:resend@1":nd,"lead:enroll:lemlist@1":Iy,"email:send:gmail@1":Z_,"email:write@1":Cv,"fields:merge@1":$v,"field:slugify@1":Vv,"field:domainify@1":Mv,"http:request@1":cy,"template:fill@1":lT,"message:send:slack@1":Wy,"message:write@1":Qy,"people:personalemail:profile:waterfall@1":_h,"person:personalemail:profileurl:waterfall@1":dS,"website:scrape:firecrawl@1":qT,"website:scrapelist:firecrawl@1":nE,"website:extract:firecrawl@1":vT,"website:extract:parallel@1":DT,"website:maplinks:firecrawl@1":IT,"row:append:sheet@1":rw,"row:expandappend:sheet@1":vw,"rows:find:sheet@1":nT,"rows:find:postgres@1":Gw,"rows:find:databricks@1":Lw,"people:match:role:waterfall@1":Dm,"person:match:role:waterfall@1":dx,"company:match:crustdata@1":nf,"company:match:crustdata@2":Xl,"person:match:amplemarket@1":ex,"company:identity@2":Rd,"company:identity@3":Sl,"company:identity:crustdata@1":Ml,"people:phone:profile:waterfall@1":Oh,"person:mobile:profileurl:waterfall@1":Sx,"person:devprofileurl:profileurl:waterfall@1":ub,"people:phone:workemail:waterfall@1":zh,"person:mobile:workemail:waterfall@1":Nx,"people:profile:waterfall@1":Ag,"person:profile:waterfall@1":MS,"people:profileurl:email:waterfall@1":Qg,"person:profileurl:email:waterfall@1":eC,"person:profileurl:name@1":dC,"people:email:validate:zerobounce@1":zp,"person:email:validate:millionverifier@1":bb,"people:workemail:profileurl:waterfall@1":x_,"person:workemail:profileurl:waterfall@1":CC,"company:identity@1":Dd,"people:professionalprofile:waterfall@1":Xh,"people:professionalprofileurl:name@1":yg,"people:professionalprofileurl:email:waterfall@1":cg,"people:mobilenumber:professionalprofile:waterfall@1":Rm},rA={"prompt:run@1":GC,"agent:run@1":Vc,"company:newssummary:website@1":Tf,"company:newssummary:domain@1":vu,"company:techstack:builtwith@1":pp,"company:techstack:builtwith@2":Gu,"company:websiteurl:email@1":Sp,"company:domain:workemail@1":Qc,"company:funding:leadmagic@1":_d,"company:funding:leadmagic@2":fl,"people:workemail:waterfall@1":I_,"person:workemail:waterfall@1":RC,"people:email:iswork@1":jp,"email:iswork@1":G_,"people:name:split@1":oh,"person:name:split@1":eS,"people:validate:email:zerobounce@1":l_,"people:email:validate:zerobounce@2":Xp,"email:validate:zerobounce@1":hv,"people:mobilenumber:workemail:waterfall@1":Xm,"person:name:join@1":Wx,"company:overview@1":Bf,"company:overview@2":np,"company:overview@3":Pu,"json:extract:multi@1":hy,"email:write@1":wv,"fields:merge@1":ey,"field:slugify@1":Hv,"field:domainify@1":Nv,"http:request@1":ly,"email:send:resend@1":av,"contact:create:resend@1":rd,"lead:enroll:lemlist@1":Ly,"company:lookalikes:companyenrich@1":Jd,"company:lookalikes:companyenrich@2":Hl,"company:match:logodev@1":gf,"company:match:logodev@2":lu,"person:posts:content:crustdata@1":SS,"people:profile:workemail:crustdata@1":Vg,"person:profile:workemail:crustdata@1":US,"people:identity:email:waterfall@1":_m,"person:identity:email:waterfall@1":Kb,"company:match:crustdata@1":rf,"company:match:crustdata@2":Zl,"person:identity:amplemarket@1":Ab,"message:send:slack@1":Gy,"email:send:gmail@1":Q_,"message:write@1":$y,"template:fill@1":uT,"website:scrape:firecrawl@1":JT,"website:scrapelist:firecrawl@1":rE,"website:extract:firecrawl@1":yT,"website:extract:parallel@1":OT,"website:maplinks:firecrawl@1":LT,"row:append:sheet@1":iw,"row:expandappend:sheet@1":yw,"rows:find:sheet@1":rT,"rows:find:postgres@1":Kw,"rows:find:databricks@1":Rw,"people:match:role:waterfall@1":Om,"person:match:role:waterfall@1":fx,"company:identity@2":zd,"company:identity@3":Cl,"company:identity:crustdata@1":Nl,"people:phone:profile:waterfall@1":kh,"person:mobile:profileurl:waterfall@1":Cx,"person:devprofileurl:profileurl:waterfall@1":db,"people:personalemail:profile:waterfall@1":vh,"person:personalemail:profileurl:waterfall@1":fS,"people:profile:waterfall@1":jg,"person:profile:waterfall@1":NS,"people:profileurl:email:waterfall@1":$g,"person:profileurl:email:waterfall@1":tC,"person:profileurl:name@1":fC,"people:email:validate:zerobounce@1":Bp,"person:email:validate:millionverifier@1":xb,"people:phone:workemail:waterfall@1":Bh,"person:mobile:workemail:waterfall@1":Px,"people:workemail:profileurl:waterfall@1":S_,"person:workemail:profileurl:waterfall@1":wC,"person:match:amplemarket@1":tx,"company:identity@1":Od,"people:professionalprofile:waterfall@1":Zh,"people:professionalprofileurl:name@1":bg,"people:professionalprofileurl:email:waterfall@1":lg,"people:mobilenumber:professionalprofile:waterfall@1":zm},iA={"prompt:run@1":KC,"agent:run@1":Hc,"company:newssummary:website@1":Ef,"company:newssummary:domain@1":yu,"company:techstack:builtwith@1":mp,"company:techstack:builtwith@2":Ku,"company:websiteurl:email@1":Cp,"company:domain:workemail@1":$c,"company:funding:leadmagic@1":vd,"company:funding:leadmagic@2":pl,"people:workemail:waterfall@1":L_,"person:workemail:waterfall@1":zC,"people:email:iswork@1":Mp,"email:iswork@1":K_,"people:name:split@1":sh,"person:name:split@1":tS,"people:validate:email:zerobounce@1":u_,"people:mobilenumber:workemail:waterfall@1":Zm,"person:name:join@1":Gx,"company:overview@1":Vf,"company:overview@2":rp,"company:overview@3":Fu,"json:extract:multi@1":gy,"email:send:resend@1":ov,"contact:create:resend@1":id,"lead:enroll:lemlist@1":Ry,"email:send:gmail@1":$_,"message:send:slack@1":Ky,"message:write@1":eb,"email:write@1":Tv,"template:fill@1":dT,"fields:merge@1":ty,"field:slugify@1":Uv,"field:domainify@1":Pv,"http:request@1":uy,"row:append:sheet@1":aw,"row:expandappend:sheet@1":bw,"rows:find:sheet@1":iT,"rows:find:postgres@1":qw,"rows:find:databricks@1":zw,"company:lookalikes:companyenrich@1":Yd,"company:lookalikes:companyenrich@2":Ul,"people:match:role:waterfall@1":km,"person:match:role:waterfall@1":px,"company:match:logodev@1":_f,"company:match:logodev@2":uu,"person:posts:content:crustdata@1":CS,"people:profile:workemail:crustdata@1":Hg,"person:profile:workemail:crustdata@1":WS,"people:workemail:profileurl:waterfall@1":C_,"person:workemail:profileurl:waterfall@1":TC,"people:identity:email:waterfall@1":vm,"person:identity:email:waterfall@1":qb,"company:match:crustdata@1":af,"company:match:crustdata@2":Ql,"person:identity:amplemarket@1":jb,"email:validate:zerobounce@1":gv,"person:email:validate:millionverifier@1":Sb,"people:personalemail:profile:waterfall@1":yh,"person:personalemail:profileurl:waterfall@1":pS,"people:email:validate:zerobounce@1":Vp,"people:email:validate:zerobounce@2":Zp,"people:phone:workemail:waterfall@1":Vh,"person:mobile:workemail:waterfall@1":Fx,"website:scrape:firecrawl@1":YT,"website:scrapelist:firecrawl@1":iE,"website:extract:firecrawl@1":bT,"website:extract:parallel@1":kT,"website:maplinks:firecrawl@1":RT,"person:match:amplemarket@1":nx,"company:identity@2":Bd,"company:identity@3":wl,"company:identity:crustdata@1":Pl,"people:phone:profile:waterfall@1":Ah,"person:mobile:profileurl:waterfall@1":wx,"person:devprofileurl:profileurl:waterfall@1":fb,"people:profile:waterfall@1":Mg,"person:profile:waterfall@1":PS,"people:profileurl:email:waterfall@1":e_,"person:profileurl:email:waterfall@1":nC,"person:profileurl:name@1":pC,"company:identity@1":kd,"people:professionalprofile:waterfall@1":Qh,"people:professionalprofileurl:name@1":xg,"people:professionalprofileurl:email:waterfall@1":ug,"people:mobilenumber:professionalprofile:waterfall@1":Bm};function aA(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function oA(e){return nA[e]}function sA(e){return iA[e].defaultPayload}function cA(e){return rA[e]}const lA=r.discriminatedUnion(`pipe_id`,Object.values(rA)).openapi(`PipePayload`),uA=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=sA(zr.parse(e.pipe_id));return t?{...e,config:Ze(e?.config||{},t.config)}:e}catch{return e}},lA);function dA(e){return iA[e]}function fA(e,t){let n=dA(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 pA(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function mA(){let e={};for(let t of Object.values(iA)){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=pA(e.pipeId);return pA(t.pipeId)-n})}),e}const hA=e=>{let t=dA(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},gA=mA();function _A(e,t){let n=new Map;for(let[t,r]of Object.entries(e))for(let e of Object.keys(r.billableOperations)){let r=n.get(e)??[];r.push(`pipe ${t}`),n.set(e,r)}for(let[e,r]of Object.entries(t)){let t=r.billableOperation,i=n.get(t)??[];i.push(`search ${e}`),n.set(t,i)}let r=[...n.entries()].filter(([,e])=>e.length>1);if(r.length>0){let e=r.map(([e,t])=>` "${e}" used by ${t.join(`, `)}`).join(`
|
|
76
|
-
`);throw Error(`Catalog has ${r.length} duplicate billable-operation key(s):\n${e}`)}}_A(iA,Ik);function vA(e){let t=[];for(let[n,r]of Object.entries(gA)){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:pA(i.pipeId)})}return t}function yA(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=hA(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of aA(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of mc(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:gA}}const bA=r.object({id:r.string(),organization_id:r.string(),order:r.array(Hr),field_definitions:bi,errors:r.array(ii),records:r.record(Hr,_i),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),xA=r.object({environment:Lr.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`),SA=r.object({config:xA.openapi(`PipesRequestConfig`),field_annotations:li.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(lA),input:r.array(gi.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function CA(e){let t=dA(e);return Object.values(t.billableOperations).reduce((e,t)=>{let n=t.allowManagedConnection?t.credits.default:0;return e[t.provider]??=n,e[t.provider]=Math.min(e[t.provider],n),e},{})}function wA(e){let t=[];for(let n of e){if(n instanceof H){t.push(n);continue}let e=uA.parse(n);if(!dA(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(oA(n.pipe_id))(e);t.push(r)}return t}function TA(e,t){let n=wA(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 EA(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 DA(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 OA(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 kA(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(OA(e))return`https://${e}`;if(!DA(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 AA(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(OA(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!DA(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(DA(i)||OA(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function jA(e){try{return kA(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function MA(e,t){if(t)switch(e){case`website_url`:return jA(t);default:return}}function NA(e){let t;if(PA(e))return NA(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function PA(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&Ur.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&PA(e.value,t++))throw new Q([Z.RecursiveExpandedValue()]);return!0}return!1}function FA(e){let t=PA(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function IA(e){return PA(e)?IA(e.value):e}function LA(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=jr(e,n.format)?.getStaticWidgets?.(t),i=MA(n.format,t);return ut(lt(r||{},{display_value:i?{label:i}:void 0}))}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function RA(e,t,n){if(t==null)return{};try{let r=jr(e,n)?.getStaticWidgets?.(t),i=MA(n,t);return ut(lt(r||{},{display_value:i?{label:i}:void 0}))}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function zA(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 BA=class e{annotations;constructor(e){this.annotations=e||{}}getAnnotation(e){return this.annotations[e]}static fromInput(t,{probeCount:n=1e5,inferCatalogFields:i=!0,addIdColumn:a=!0}={probeCount:1e5,inferCatalogFields:!0,addIdColumn:!0}){let o={},s=0;for(let e of t){if(s++,s>n)break;for(let[t,n]of Object.entries(e)){if(t===``||t==null)continue;let{resolvedInputValue:e,expandedValue:a,isExpanded:s}=FA(n),c;c=s&&a.type?a.type:NA(e);let l;Mr(t)&&(l=g(t));let u=l&&(l.type===c||c===`unknown`);(!o[t]||o[t].type===`unknown`&&c!==`unknown`)&&(o[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&&!o.id&&(o.id={format:null,type:`string`,json_metadata:null,label:null}),new e(o)}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]=zA(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function VA(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 HA(e){let t=VA(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of mc(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 UA({config:e,pipes:t,input:n,field_annotations:r}){try{let i=qA({config:e,pipes:t,input:n,fieldAnnotations:r});return WA(i),i}catch(e){throw e instanceof Q?e:new Q([Z.ValidationFailed({error:e})])}}function WA(e){for(let t of e.orderedPipeInstances)for(let{field:n}of mc(t.getInputRequirement()))bc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),xc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function GA(e,t){if(!e&&!t)throw new Q([Z.MustDefineAnnotations()]);return new BA(t||{}).merge(BA.fromInput(e||[]))}function KA(e,t){let n={...t};return e.pipes.forEach((t,r)=>{for(let[i,a]of Object.entries(t.getOutputFields())){if(sc(a.resolvedName))throw new Q([Z.ReservedOutputFieldName({pipeId:t.pipeId,outputField:a})]);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:bc(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:xc(e,a.format),is_primary_output:a.isPrimaryOutput}}}),n}function qA(e){let t=wA(e.pipes),n=GA(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)}),XA(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]=JA(t,n),u=KA({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 JA(e,t){let n=HA(e),r=YA(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 YA(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?mc(n.getInputRequirement()).length>0:!1},l=(n,r=[])=>{if(o.has(n)){let e=n,i=r[r.length-1]||0,a={idx:i,pipe_id:t[i]?.pipeId},o={idx:e,pipeId:t[e]?.pipeId};throw new Q([Z.CircularDependency({currentPipe:a,circularPipe:o})])}if(a.has(n))return;o.add(n),r.push(n);let s=e[n]||[];for(let e of s)l(e.index,r);r.pop(),o.delete(n),a.add(n),i.push(n)};function u(t){if(a.has(t))return;o.add(t);let n=e[t]||[];for(let e of n){if(!a.has(e.index)&&e.required)throw new Q([Z.UnresolvableDependency({index:t,dependencyIndex:e.index})]);!o.has(e.index)&&!e.required&&u(e.index)}o.delete(t),a.add(t),i.push(t)}for(let e=0;e<r;e++)c(e)&&l(e);for(let e=0;e<r;e++)c(e)||l(e);for(let e=0;e<r;e++)u(e);let d=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];if(!n)throw Error(`Pipe not defined`);Object.values(n.getOutputFields()).forEach(e=>{d.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();pc(a,d)||s.push(Z.RequirementUnmet({requirement:a,pipeId:r.pipeId,index:n}));let o=e[n]||[],c=i.indexOf(n);for(let e of o){let r=i.indexOf(e.index);e.required&&r>c&&s.push(e.reason.includes(`input`)?Z.HardInputDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}):Z.HardConditionDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}))}r.payload.run_if&&r.payload.run_if.when.conditions.map(e=>e.field_name).forEach(e=>{if(!d.has(e))throw new Q([Z.ConditionTargetFieldNotFound({fieldName:e,pipeId:r.pipeId,pipeIdx:n})])})}if(s.length>0)throw new Q(s);return i}function XA(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 xa(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 ZA=`fields:deletesparse:input@1`,QA={},$A=r.object({effect_id:r.literal(ZA),connector:T(),config:r.object({fields:es({path:`config.fields`,sectionKey:`general`,groupPath:`config.general`,label:`Candidate fields`,minItems:1,description:`Input fields to delete if they turn out sparsely populated.`}),probe_size:Rs({path:`config.probe_size`,sectionKey:`general`,groupPath:`config.general`,label:`Probe size`,description:`How many rows to sample when measuring column density.`,min:100,max:1e4}).default(1e3),threshold_in_percent:Rs({path:`config.threshold_in_percent`,sectionKey:`general`,groupPath:`config.general`,label:`Density threshold (%)`,description:`Candidates populated in strictly fewer than this percent of probed rows are deleted.`,min:1,max:100}).default(25)})}),ej=class extends B{effectId=ZA;schema=$A;payload;billableOperations=QA;constructor(e){if(super(),this.payload=this.validatePayload(e),this.payload.config.fields.some(e=>e.field_name===`id`))throw Error(`Cannot list the id field as a deletion candidate.`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return this.payload.config.fields.map(e=>e.field_name)}evolveSchema(e){let t=structuredClone(e.fieldAnnotations||{});for(let{field_name:e}of this.payload.config.fields)delete t[e];if(Object.keys(t).filter(e=>e!==`id`).length===0&&e.pipes.length===0)throw Error(`fields:deletesparse:input@1 lists every input column as a candidate โ it refuses to empty the sheet. Keep at least one column off the candidate list, or use fields:remove@1 / sheet:reset@1 to clear the sheet explicitly.`);let n=UA({config:{environment:e.environment},pipes:e.pipes,field_annotations:t});return{next:{environment:e.environment,pipes:e.pipes,fieldAnnotations:t,validationContext:n}}}},tj=$A,nj={effectId:ZA,baseEffect:z(ZA),label:`Delete sparse input columns`,description:`Probe rows to measure how densely candidate input columns are populated and delete the ones below a density threshold.`,guide:`Conditional column cleanup: list every input column you'd consider dropping as config.fields (typically the sparse leftovers rows:copy_to_sheet@1 imports leave behind) โ the density check keeps any candidate that turns out well-populated. Probes the first config.probe_size rows (default 1000) and deletes a candidate only when it is populated in strictly fewer than config.threshold_in_percent (default 25) of them. Only listed fields can be deleted; id and pipe-referenced fields cannot be listed (validation error). Static validation treats ALL candidates as removed (aggressive over-approximation), so do not reference a candidate in later steps of the same run โ re-read get_sheet_schema afterwards to see which columns survived. Deletes columns, never rows. DESTRUCTIVE (approval-gated), reversible via timetravel. To delete named columns unconditionally use fields:remove@1 instead.`,categories:[`data_hygiene`],tags:[W.NEW],lifecycle:null,billableOperations:QA,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`visible`,defaultPayload:{effect_id:ZA,connector:null,config:{fields:[],probe_size:1e3,threshold_in_percent:25}}};function rj(e,t,n){if(e==null||typeof e==`number`||typeof e==`boolean`)return e;if(typeof e==`string`){let r=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),i=new RegExp(r,`g`);return e.replace(i,n)}if(Array.isArray(e))return e.map(e=>rj(e,t,n));if(typeof e==`object`){let r={};for(let i in e)Object.hasOwn(e,i)&&(i.includes(`path`)||[`connector`,`provider`,`pipe_id`,`search_id`].includes(i)?r[i]=e[i]:r[i]=rj(e[i],t,n));return r}return e}function ij(e,t,n){let r={...e};r.config??={};let i=r.config;if(i?.input_fields?.[t]&&(!i.input_fields[t].alias||i.input_fields[t].alias===t)){let e=i.input_fields[t]||{};i.input_fields[t]={...e,alias:n}}return r}function aj(e,t,n){let r=[];for(let i of e.orderedPipePayloads){let e=rj(i,t,n);r.push(ij(e,t,n))}return r}function oj(e,t,n,r,i){if(!e.orderedPipeInstances[t])throw Error(`Pipe instance at index ${t} is not defined`);let a={...n};if(dA(n.pipe_id).outputFieldMode===`static`){let n=e.resolvedFieldNames[r]?e.resolvedFieldNames[r]:Object.entries(e.resolvedFieldNames).find(([,e])=>e===r)?.[0];if(!n)throw Error(`Unable to find field name ${r} in pipe at idx ${t}`);a.config??={};let o=a.config,s=o.output_fields?.[n]||{};return o.output_fields??={},o.output_fields[n]??={},o.output_fields[n]={...s,alias:i},ij(a,r,i)}return rj(a,r,i)}function sj(e,t,n,r){let i=[];for(let a=0;a<e.orderedPipePayloads.length;a++){let o=e.orderedPipePayloads[a],s=t.added_by.pipe_index;if(typeof s!=`number`)throw Error(`Pipe index must be number.`);a===s?i.push(oj(e,a,o,n,r)):i.push(rj(o,n,r))}return i}function cj(e,t,n){let r=e.fieldDefinitions[t];if(!r)throw Error(`No field definition found for field with name ${t}`);return r?.added_by.ref===`input`?aj(e,t,n):sj(e,r,t,n)}const lj=`fields:patch@1`,uj={},dj=r.object({effect_id:r.literal(lj),connector:T(),config:r.object({field_name:r.string().min(1),new_name:r.string().min(1).optional(),new_format:si.nullable().optional(),new_type:Vr.optional(),new_label:r.string().optional()})}),fj=class extends B{effectId=lj;schema=dj;payload;billableOperations=uj;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[this.payload.config.field_name]}evolveSchema(e){let{field_name:t,new_name:n,new_label:r,new_format:i,new_type:a}=this.payload.config;if(!e.fieldAnnotations?.[t])throw Error(`Field name ${t} not found in current schema.`);let o=e.validationContext,s=o.fieldDefinitions[t];if(!s)throw Error(`Field definition for field ${t} not found.`);let c={...e.fieldAnnotations},l=!!n&&n!==t,u=[...o.orderedPipePayloads];if(l){u=cj(o,t,n);let e=c[t];if(!e)throw Error(`Unable to find file annotations for field ${t}.`);c[n]=e,delete c[t]}let d=s.added_by.ref===`input`,f=n||t,ee=a||s.type,te=i||s.format;if(a&&a!==s.type){if(!d)throw Error(`Cannot change the type of a pipe output field.`);c[f].type=a,nm[a].length===0&&(c[f].format=null)}if(i&&i!==s.format){if(!d)throw Error(`Cannot change the format of a pipe output field.`);c[f].format=i}if(nm[ee].length&&te&&!nm[ee].includes(te))throw Error(`After applying your updates the field has the type ${ee} but format ${te}. Type and format are not compatible.`);r&&r!==s.label&&(c[f].label=r);let ne=UA({config:{environment:e.environment},pipes:u,field_annotations:c}),p=l?(e,r)=>(e.input[n]=r.input[t]||null,e):void 0;return{next:{environment:e.environment,pipes:ne.orderedPipePayloads,fieldAnnotations:ne.fieldAnnotations.annotations,validationContext:ne},rowMigration:p}}},pj=dj,mj={effectId:lj,baseEffect:z(lj),label:`Edit field`,description:`Rename, retype, reformat, or relabel a field.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:uj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:lj,connector:null,config:{field_name:``}}},hj=`fields:remove@1`,gj={},_j=r.object({effect_id:r.literal(hj),connector:T(),config:r.object({field_names:r.array(r.string().min(1)).min(1)})}),vj=class extends B{effectId=hj;schema=_j;payload;billableOperations=gj;constructor(e){if(super(),this.payload=this.validatePayload(e),this.payload.config.field_names.includes(`id`))throw Error(`Cannot remove the id field.`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return this.payload.config.field_names}evolveSchema(e){let t=structuredClone(e.fieldAnnotations||{});for(let e of this.payload.config.field_names)delete t[e];if(Object.keys(t).length===1){let t=UA({config:{environment:e.environment},pipes:[],field_annotations:{}});return{next:{environment:e.environment,pipes:[],fieldAnnotations:{},validationContext:t}}}let n=UA({config:{environment:e.environment},pipes:e.pipes,field_annotations:t});return{next:{environment:e.environment,pipes:e.pipes,fieldAnnotations:t,validationContext:n}}}},yj=_j,bj={effectId:hj,baseEffect:z(hj),label:`Remove fields`,description:`Remove fields (input columns) from the sheet.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:gj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:hj,connector:null,config:{field_names:[]}}},xj=`pipe:add@1`,Sj={},Cj=r.object({effect_id:r.literal(xj),connector:T(),config:r.object({pipe_payload:lA.optional()})}),wj=class extends B{effectId=xj;schema=Cj;payload;billableOperations=Sj;constructor(e){if(super(),this.payload=this.validatePayload(e),!this.payload.config.pipe_payload)throw Error(`pipe:add@1 requires config.pipe_payload`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let t=this.payload.config.pipe_payload;if(!t)throw Error(`pipe:add@1 requires config.pipe_payload`);let n=UA({config:{environment:e.environment},pipes:[...e.pipes,t],field_annotations:e.fieldAnnotations||{}});return{next:{environment:e.environment,pipes:n.orderedPipePayloads,fieldAnnotations:n.fieldAnnotations.annotations,validationContext:n}}}},Tj=Cj,Ej={effectId:xj,baseEffect:z(xj),label:`Add pipe`,description:`Append a pipe to the sheet's pipeline.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Sj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:xj,connector:null,config:{}}},Dj=`pipe:remove@1`,Oj={},kj=r.object({effect_id:r.literal(Dj),connector:T(),config:r.object({config_hash:r.string(),hard:r.boolean().default(!1)})}),Aj=class extends B{effectId=Dj;schema=kj;payload;billableOperations=Oj;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let{config_hash:t,hard:n}=this.payload.config,i=wA(e.pipes).findIndex(e=>e.getConfigHashKey()===t);if(i===-1)throw Error(`Pipe with config hash ${t} not found.`);let a=e.validationContext,o=new Set(Object.entries(a.fieldDefinitions).filter(([,e])=>e.added_by.config_hash===t).map(([e])=>e)),s=new BA(e.fieldAnnotations||{});for(let e of o){let t=a.fieldDefinitions[e];if(!t)continue;if(n){s=s.deleteKey(e);continue}let i=Pr(e,t,a),o=Mr(i.fieldName)?g(i.fieldName):null;s=s.merge({[e]:{format:t.format,type:t.type,json_metadata:o?.jsonMeta?{schema:o.jsonMeta.zodSchema?r.toJSONSchema(o.jsonMeta.zodSchema):null,example_value:o.jsonMeta.exampleValue||null}:null,label:t.label}})}let c=e.pipes.slice();c.splice(i,1);let l=UA({config:{environment:e.environment},pipes:c,field_annotations:s.annotations}),u=n?void 0:e=>{let t={...e};for(let e of o){let n=t.input[e];if(!n)continue;let{resolvedInputValue:r}=FA(n);t.input[e]=r}return t};return{next:{environment:e.environment,pipes:c,fieldAnnotations:s.annotations,validationContext:l},rowMigration:u}}},jj=kj,Mj={effectId:Dj,baseEffect:z(Dj),label:`Remove pipe`,description:`Remove a pipe from the sheet's pipeline, optionally deleting its fields.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Oj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:Dj,connector:null,config:{config_hash:``,hard:!1}}},Nj=`pipe:update@1`,Pj={},Fj=r.object({effect_id:r.literal(Nj),connector:T(),config:r.object({config_hash:r.string().min(1),pipe_payload:lA.optional()})}),Ij=class extends B{effectId=Nj;schema=Fj;payload;billableOperations=Pj;constructor(e){if(super(),this.payload=this.validatePayload(e),!this.payload.config.pipe_payload)throw Error(`pipe:update@1 requires config.pipe_payload`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let{config_hash:t,pipe_payload:n}=this.payload.config;if(!n)throw Error(`pipe:update@1 requires config.pipe_payload`);let i=wA(e.pipes).findIndex(e=>e.getConfigHashKey()===t);if(i===-1)throw Error(`Pipe with config hash ${t} not found.`);let a=e.validationContext,o=new Set(Object.entries(a.fieldDefinitions).filter(([,e])=>e.added_by.config_hash===t).map(([e])=>e)),s=[...e.pipes];s.splice(i,1,n);let c=UA({config:{environment:e.environment},pipes:s,field_annotations:e.fieldAnnotations||{}}),l=new(oA(n.pipe_id))(n),u=new Set(Object.entries(c.fieldDefinitions).filter(([,e])=>e.added_by.config_hash===l.getConfigHashKey()).map(([e])=>e));for(let e of u)o.delete(e);let d=new BA(c.fieldAnnotations.annotations);for(let e of o){let t=a.fieldDefinitions[e];if(!t)throw Error(`Previous field def not found`);if(c.resolvedFieldNames[e])continue;let n=Pr(e,t,a),i=Mr(n.fieldName)?g(n.fieldName):null;d=d.merge({[e]:{format:t.format,type:t.type,json_metadata:i?.jsonMeta?{schema:i.jsonMeta.zodSchema?r.toJSONSchema(i.jsonMeta.zodSchema):null,example_value:i.jsonMeta.exampleValue||null}:null,label:t.label}})}let f=UA({config:{environment:e.environment},pipes:c.orderedPipePayloads,field_annotations:d.annotations});return{next:{environment:e.environment,pipes:c.orderedPipePayloads,fieldAnnotations:d.annotations,validationContext:f},rowMigration:e=>{let t={...e};for(let e of o){let n=t.input[e];if(!n)continue;let{resolvedInputValue:r}=FA(n);t.input[e]=r}return t}}}},Lj=Fj,Rj={effectId:Nj,baseEffect:z(Nj),label:`Update pipe`,description:`Replace a pipe in the sheet's pipeline and re-run it.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Pj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:Nj,connector:null,config:{config_hash:``}}},zj=`row:update@1`,Bj={},Vj=r.object({effect_id:r.literal(zj),connector:T(),config:r.object({record_id:r.string().min(1),record:gi})}),Hj=class extends B{effectId=zj;schema=Vj;payload;billableOperations=Bj;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},Uj=Vj,Wj={effectId:zj,baseEffect:z(zj),label:`Update row`,description:`Update a single row's values.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Bj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`shared`,lockScope:`selection`,catalogVisibility:`hidden`,defaultPayload:{effect_id:zj,connector:null,config:{record_id:``,record:{}}}},Gj=`rows:add@1`,Kj={},qj=r.object({effect_id:r.literal(Gj),connector:T(),config:r.object({records:r.array(gi).min(1).max(100),allow_field_creation:r.boolean().default(!1),allow_empty:r.boolean().default(!1)})}),Jj=class extends B{effectId=Gj;schema=qj;payload;billableOperations=Kj;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){return this.payload.config.allow_field_creation===!0}},Yj=qj,Xj={effectId:Gj,baseEffect:z(Gj),label:`Add rows`,description:`Append records to the sheet.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:Kj,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`hidden`,defaultPayload:{effect_id:Gj,connector:null,config:{records:[],allow_field_creation:!1,allow_empty:!1}}},Zj=r.enum([`pending`,`failed`,`no_result`,`skipped`,`completed`]),Qj=[{value:`pending`,label:`Pending`},{value:`failed`,label:`Failed`},{value:`no_result`,label:`No result`},{value:`skipped`,label:`Skipped`},{value:`completed`,label:`Completed`}],$j=[`pending`],eM=[`pending`,`failed`,`skipped`];function tM(e){return{enabled:!0,triggers:{status:e,configHashMismatch:!0,inputHashMismatch:!0}}}const nM=`rows:adopt@1`,rM={},iM=r.object({effect_id:r.literal(nM),connector:T(),config:r.object({pipes:r.array(lA).default([]),selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target.`,placeholder:`{"type":"all"}`},`both`),adopt_statuses:Ls({options:Qj,required:!1,disableSearch:!0,path:`config.adopt_statuses`,sectionKey:`general`,groupPath:`config.general`,label:`Adopt statuses`,description:`Only cells with these statuses are adopted (pinned). Omit to adopt all.`}).optional()})}),aM=class extends B{effectId=nM;schema=iM;payload;billableOperations=rM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},oM=iM,sM={effectId:nM,baseEffect:z(nM),label:`Adopt values`,description:`Pin the selected columns' current values so a config or input change won't regenerate them.`,guide:'Adopt re-stamps each selected cell\'s stored config/input hash to the CURRENT one, so the value is kept as-is instead of being re-run. It never recomputes โ use `rows:enrich@1` to (re)compute. Adopting all statuses composes with a follow-up `rows:enrich@1` (`run_statuses: ["failed"]`) to rerun only the failures while completed cells stay pinned โ the safe pattern before running a non-idempotent effect twice.',categories:[`internal`],tags:[],lifecycle:null,billableOperations:rM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`selection`,catalogVisibility:`hidden`,defaultPayload:{effect_id:nM,connector:null,config:{pipes:[]}}},cM=`rows:copy_to_sheet@1`,lM={},uM=r.object({effect_id:r.literal(cM),connector:T(),config:r.object({selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to copy as JSON.`,placeholder:`{"type":"all"}`},`both`),where:Io({path:`config.where`,sectionKey:`general`,groupPath:`config.general`,order:1,label:`Condition (optional)`,description:`Only copy selected rows matching this condition. Leave empty to copy all.`}),target_sheet:Ps({path:`config.target_sheet`,sectionKey:`general`,groupPath:`config.general`,order:2,inputType:`text`,label:`Target sheet`,description:`Slug of the destination sheet. Created if missing (see below). Slugs are org-unique โ for a NEW sheet use a short descriptive slug plus a few random chars (e.g. "ceos-x7k2") so it can't hit an unrelated existing sheet.`}),create_if_missing:Bs({path:`config.create_if_missing`,sectionKey:`general`,groupPath:`config.general`,order:3,label:`Create if missing`,description:`When the target sheet does not exist, create it in this sheet's project. Off โ fail.`,defaultValue:!0})})}),dM=class extends B{effectId=cM;schema=uM;payload;billableOperations=lM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){let e=this.payload.config.where;return e?[...new Set(e.conditions.map(e=>e.field_name))]:[]}},fM=uM,pM={effectId:cM,baseEffect:z(cM),label:`Copy rows to sheet`,description:`Copy selected rows (or every row) into another sheet โ all of them, or only those matching a condition. Creates the target sheet in this project if it doesn't exist.`,categories:[`data_hygiene`],tags:[W.NEW],lifecycle:null,billableOperations:lM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`visible`,defaultPayload:{effect_id:cM,connector:null,config:{selection:{type:`all`},target_sheet:``,create_if_missing:!0}}},mM=`rows:dedupe@1`,hM={"rows-dedupe-v1-pipe0":{allowManagedConnection:!0,provider:`pipe0`,mode:`always`,credits:{default:0},note:`Deduplicating your own sheet is free.`}},gM=r.object({effect_id:r.literal(mM),connector:T(),config:r.object({selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target as JSON.`,placeholder:`{"type":"all"}`},`both`),fields:es({path:`config.fields`,sectionKey:`general`,groupPath:`config.general`,label:`Match fields`,minItems:1,description:`Rows are duplicates when these fields match.`}),match:Is({path:`config.match`,sectionKey:`general`,groupPath:`config.general`,label:`Match condition`,required:!0,defaultValue:`all`,options:[{value:`all`,label:`All fields match (AND)`},{value:`any`,label:`Any field matches (OR)`}]}),strategy:Is({path:`config.strategy`,sectionKey:`general`,groupPath:`config.general`,label:`Which duplicate to keep`,required:!0,defaultValue:`keep_oldest`,options:[{value:`keep_oldest`,label:`Keep oldest`},{value:`keep_newest`,label:`Keep newest`}]})})}),_M=class extends B{effectId=mM;schema=gM;payload;billableOperations=hM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0-sheet-operation`,rateLimitRatio:1,allowManagedConnection:!0}]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`rows-dedupe-v1-pipe0`)}getFieldReferences(){return this.payload.config.fields.map(e=>e.field_name)}},vM=gM,yM={effectId:mM,baseEffect:z(mM),label:`Remove duplicate rows`,description:`Find duplicate rows by matching fields and keep one row per group.`,categories:[`data_hygiene`],tags:[W.NEW],lifecycle:null,billableOperations:hM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`exclusive`,shouldUpgradeSchema:!0,catalogVisibility:`visible`,guide:`Dedupe in ONE run: list every identity field in config.fields and pick config.match โ "all" (rows are duplicates only when every field matches) or "any" (a match on ANY listed field makes rows duplicates). To dedupe on several alternative keys (e.g. same email OR same profile_url), use match "any" with all keys in one effect โ never run one dedupe per field; if you must combine dedupe with other cleanup, put the effects in one validated chain so the user approves once. Destructive and approval-gated; reversible via timetravel.`,defaultPayload:{effect_id:mM,connector:null,config:{fields:[],match:`all`,strategy:`keep_oldest`}}},bM=`rows:duplicate@1`,xM={"rows-duplicate-v1-pipe0":{allowManagedConnection:!0,provider:`pipe0`,mode:`always`,credits:{default:0},note:`Duplicating rows in your own sheet is free.`}},SM=r.object({effect_id:r.literal(bM),connector:T(),config:r.object({selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target as JSON.`,placeholder:`{"type":"all"}`},`both`)})}),CM=class extends B{effectId=bM;schema=SM;payload;billableOperations=xM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0-sheet-operation`,rateLimitRatio:1,allowManagedConnection:!0}]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return J(e,`rows-duplicate-v1-pipe0`)}getFieldReferences(){return[]}},wM=SM,TM={effectId:bM,baseEffect:z(bM),label:`Duplicate rows`,description:`Copy the selected rows (or every row). Copies get fresh ids and are appended after the existing rows.`,categories:[`data_hygiene`],tags:[W.NEW],lifecycle:null,billableOperations:xM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`visible`,defaultPayload:{effect_id:bM,connector:null,config:{}}},EM=`rows:enrich@1`,DM={},OM=r.object({effect_id:r.literal(EM),connector:T(),config:r.object({pipes:r.array(lA).default([]),selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target.`,placeholder:`{"type":"all"}`},`both`),run_statuses:Ls({options:Qj,required:!1,disableSearch:!0,path:`config.run_statuses`,sectionKey:`general`,groupPath:`config.general`,label:`Run statuses`,description:`Rows with the following statuses will be run.`}).optional()})}),kM=class extends B{effectId=EM;schema=OM;payload;billableOperations=DM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getRecordQueueConfig(e){return tM(this.payload.config.run_statuses??(e?.isScheduled?$j:eM))}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},AM=OM,jM={effectId:EM,baseEffect:z(EM),label:`Enrich rows`,description:`Run the sheet's pipes over the selected rows.`,categories:[`enrichment`],tags:[],lifecycle:null,billableOperations:DM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],catalogVisibility:`visible`,selectionMode:`both`,lockingMode:`shared`,lockScope:`selection`,defaultPayload:{effect_id:EM,connector:null,config:{pipes:[]}}},MM=`rows:filter:prompt@1`,NM=`rows-filter-prompt-v1`,PM=Za(NM),FM=r.object({effect_id:r.literal(MM),connector:Zo(),config:r.object({selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target as JSON.`,placeholder:`{"type":"all"}`},`both`),prompt:Fs({path:`config.prompt`,sectionKey:`general`,groupPath:`config.general`,label:`Filter instruction`,rows:4,placeholder:`Only keep rows where the person is a "Head of Growth" at a company doing less than $1M in revenue.`}),model:Hs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.general`,billableOperations:PM}),fields:es({path:`config.fields`,sectionKey:`general`,groupPath:`config.general`,label:`Fields to consider`,info:`If specified, only these fields are shown to the model. This is useful to drop large JSON columns and save tokens.`})})}),IM=class extends B{effectId=MM;schema=FM;payload;billableOperations=PM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return Ga(this.payload.config.model)}getProviderNames(){return Wa(this.payload.config.model)}estimateBillableOperations(e){return $a(e,{model:this.payload.config.model,prefix:NM,inputTokens:600,outputTokens:50})}getFieldReferences(){return(this.payload.config.fields??[]).map(e=>e.field_name)}},LM=FM,RM={effectId:MM,baseEffect:z(MM),label:`AI filter rows`,description:`Keep or remove rows by a natural-language instruction, judged per row by an AI model.`,categories:[`data_hygiene`],tags:[W.NEW,W.AI],lifecycle:null,billableOperations:PM,allowedUserConnectionProviders:Ka(),managedProviders:Ka(),selectionMode:`both`,lockingMode:`exclusive`,shouldUpgradeSchema:!0,catalogVisibility:`visible`,defaultPayload:{effect_id:MM,connector:null,config:{model:`google-low`,prompt:``,fields:[]}}},zM=`rows:import@1`,BM={},VM=r.object({effect_id:r.literal(zM),connector:T(),config:r.object({staging_group_id:r.string().min(1),allow_field_creation:r.boolean().default(!1),event_id:r.string().nullable().default(null)})}),HM=class extends B{effectId=zM;schema=VM;payload;billableOperations=BM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){return this.payload.config.allow_field_creation===!0}},UM=VM,WM={effectId:zM,baseEffect:z(zM),label:`Import rows`,description:`Append records from a staging group (CSV import / search commit).`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:BM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`hidden`,defaultPayload:{effect_id:zM,connector:null,config:{staging_group_id:``,allow_field_creation:!1,event_id:null}}},GM=`rows:remove@1`,KM={},qM=r.object({effect_id:r.literal(GM),connector:T(),config:r.object({selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to delete as JSON.sc`,placeholder:`{"type":"all"}`},`both`),where:Io({path:`config.where`,sectionKey:`general`,groupPath:`config.general`,order:1,label:`Condition (optional)`,description:`Only delete selected rows matching this condition. Leave empty to delete all.`})})}),JM=class extends B{effectId=GM;schema=qM;payload;billableOperations=KM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){let e=this.payload.config.where;return e?[...new Set(e.conditions.map(e=>e.field_name))]:[]}},YM=qM,XM={effectId:GM,baseEffect:z(GM),label:`Delete rows`,description:`Delete selected rows โ all of them, or only those matching a condition.`,categories:[`data_hygiene`],tags:[],lifecycle:null,billableOperations:KM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`exclusive`,lockScope:`selection`,catalogVisibility:`visible`,guide:`Delete rows matching config.where (omit selection to consider ALL rows; omit where to delete the whole selection). Destructive and approval-gated, so make ONE remove do the whole job: or-combine EVERY drop criterion into a single where (logic "or", one condition per field) instead of running several removes โ and put the remove in the same validated chain as any fields:remove / rename cleanup so the user approves once. To drop rows whose enrichment yielded nothing, condition on the field's STATUS (property "status", e.g. neq "completed" โ catches skipped, failed, and no_result at once). Bracketed cell renderings from get_sheet_rows like "[no_result]"/"[skipped]" are status placeholders for EMPTY cells, never stored values โ a value condition cannot match them. After the run, re-read the sheet ONCE to confirm; if the rows you expected gone are still there, stop and report the discrepancy instead of retrying with variant conditions.`,defaultPayload:{effect_id:GM,connector:null,config:{selection:{type:`rows`,record_ids:[]}}}};function ZM(e){if(e instanceof $)return e;let t=e.search_id,n=Lk(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(Bk.parse(e))}const QM=`search:run@1`,$M={},eN=r.object({effect_id:r.literal(QM),connector:T(),config:r.object({search_payload:Us({path:`config.search_payload`,groupPath:`config.general`,sectionKey:`general`,label:`Search`,description:`Pick and configure the search to run.`},Bk),max_number_of_results:Rs({path:`config.max_number_of_results`,groupPath:`config.general`,sectionKey:`general`,label:`Max results`,description:`Maximum number of items to find across all pages.`,guide:"This is the FETCH budget โ an upper bound on raw results pulled across all pages (it also caps each page's size). De-duplicated results are NOT re-fetched, so this is not the final row count. When you want EXACTLY N unique rows, do NOT set this to N (you'd get fewer the moment any result is a duplicate): set `stop_at_unique_rows_count` to N and set this to the maximum (1000000) so the unique count is the real stop condition. For a plain bulk fetch with no unique target, set this to the number of rows you want.",max:1e6,min:1}).default(1e3),deduplicate:Bs({path:`config.deduplicate`,groupPath:`config.general`,sectionKey:`general`,label:`Unique rows only`,description:`Skip results that already exist in the sheet.`,guide:"Dedup key is the search's own declared key. Discards are NOT topped up with extra pages, so to reliably collect N unique rows pair this with `stop_at_unique_rows_count` and a large `max_number_of_results`.",defaultValue:!0,enabledIf:e=>{let t=e.config?.search_payload;if(!t?.search_id)return{disabled:!0,message:`Configure a search first.`};let n=!1;try{n=ZM(t).getDedupConfig().fields.length>0}catch{n=!1}return n?{disabled:!1}:{disabled:!0,message:`This search doesn't support de-duplication.`}}}),stop_at_unique_rows_count:zs({path:`config.stop_at_unique_rows_count`,groupPath:`config.general`,sectionKey:`general`,label:`Stop at X unique rows`,description:`Stop after this many new rows have been added. Leave empty for no early stop. Bounded by Max results.`,guide:"Set this to the exact unique-row count you want (only works with `deduplicate` on). It paginates full pages until this many NEW rows are added, so set `max_number_of_results` to the maximum (1000000) to give it room โ `max_number_of_results` then just acts as a safety backstop.",placeholder:`No early stop`,min:1,max:1e5,enabledIf:e=>e.config?.deduplicate===!0?{disabled:!1}:{disabled:!0,message:`Enable โUnique rows onlyโ to use this.`}})})}),tN=class extends B{effectId=QM;schema=eN;payload;billableOperations=$M;constructor(e){super(),this.payload=this.validatePayload(e)}getSearch(){let e=this.payload.config.search_payload;if(!e?.search_id)return null;try{return ZM(e)}catch{return null}}getConnectionsRequirements(){return[]}getProviderNames(){let e=this.getSearch();return e?[Xk(e.searchId).provider]:[]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){let e=this.getSearch();return e?(Xk(e.searchId).outputFieldMode??`static`)===`dynamic`:!1}},nN=eN,rN={effectId:QM,baseEffect:z(QM),label:`Search`,description:`Run a search and append the results to the sheet.`,categories:[`enrichment`],tags:[W.NEW],lifecycle:null,billableOperations:$M,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`visible`,defaultPayload:{effect_id:QM,connector:null,config:{search_payload:{search_id:``},max_number_of_results:1e3,deduplicate:!0,stop_at_unique_rows_count:null}}},iN=`sheet:export@1`,aN={},oN=r.object({effect_id:r.literal(iN),connector:T(),config:r.object({selection:ts({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to export as JSON โ {"type":"all"} or {"type":"rows","record_ids":["โฆ"]}.`,placeholder:`{"type":"all"}`},`both`)})}),sN=class extends B{effectId=iN;schema=oN;payload;billableOperations=aN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},cN=oN,lN={effectId:iN,baseEffect:z(iN),label:`Export sheet`,description:`Export the selected rows to a CSV download.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:aN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`hidden`,defaultPayload:{effect_id:iN,connector:null,config:{}}},uN=`sheet:reset@1`,dN={},fN=r.object({effect_id:r.literal(uN),connector:T(),config:r.object({})}),pN=class extends B{effectId=uN;schema=fN;payload;billableOperations=dN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let t=UA({config:{environment:e.environment},pipes:[],field_annotations:{}});return{next:{environment:e.environment,pipes:[],fieldAnnotations:{},validationContext:t}}}},mN=fN,hN={effectId:uN,baseEffect:z(uN),label:`Reset sheet`,description:`Reset the sheet to its initial state โ remove all pipes, fields, and rows. This cannot be partially applied.`,categories:[`data_hygiene`],tags:[],lifecycle:null,billableOperations:dN,shouldUpgradeSchema:!0,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`visible`,defaultPayload:{effect_id:uN,connector:null,config:{}}},gN=`sheet:update@1`,_N={},vN=r.object({effect_id:r.literal(gN),connector:T(),config:r.object({name:r.string().min(4).refine(e=>!e.includes(`/`),`Name cannot contain '/'`).optional(),slug:r.string().regex(/^[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)*$/).optional()}).refine(e=>e.name!==void 0||e.slug!==void 0,`Provide at least one of name or slug to update.`)}),yN=class extends B{effectId=gN;schema=vN;payload;billableOperations=_N;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},bN=vN,xN={effectId:gN,baseEffect:z(gN),label:`Update sheet`,description:`Update sheet basics (rename: name, slug).`,categories:[`internal`],tags:[`rename`,`name`,`title`,`slug`],lifecycle:null,billableOperations:_N,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,guide:`Rename the ACTIVE sheet. To give a deliverable the name the user asked for, set config.name ONLY โ display names need not be unique, so "CEOs" always works. Do NOT also rewrite config.slug: slugs are org-unique and a clean generic slug (e.g. "ceos") is likely taken somewhere you can't see, which fails the whole run; the slug is just an address, so keep the existing (suffixed) one unless the user explicitly asks for a specific slug.`,defaultPayload:{effect_id:gN,connector:null,config:{}}},SN=`timetravel:create@1`,CN={},wN=r.object({effect_id:r.literal(SN),connector:T(),config:r.object({})}),TN=class extends B{effectId=SN;schema=wN;payload;billableOperations=CN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},EN=wN,DN={effectId:SN,baseEffect:z(SN),label:`Create restore point`,description:`Snapshot the current sheet state as a timetravel restore point.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:CN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,shouldUpgradeSchema:!0,catalogVisibility:`hidden`,defaultPayload:{effect_id:SN,connector:null,config:{}}},ON=`timetravel:travel@1`,kN={},AN=r.object({effect_id:r.literal(ON),connector:T(),config:r.object({schema_id:r.string().min(1)})}),jN=class extends B{effectId=ON;schema=AN;payload;billableOperations=kN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){return!0}},MN=AN,NN={effectId:ON,baseEffect:z(ON),label:`Restore to point`,description:`Restore the sheet to a previous point by copying that point's rows into a new schema.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:kN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:ON,connector:null,config:{schema_id:``}}},PN=r.object({reason:r.object({code:r.string(),details:r.string().optional()}),related_record_id:r.string().nullable(),resolved_by:r.object({ref:$e,config_hash:r.string()})}),FN=r.object({value:r.union([r.string(),r.number(),r.boolean(),r.null()])}),IN=PN.extend({fields:r.record(r.string(),FN)}),LN=r.object({added:PN.optional(),updated:IN.optional(),removed:PN.optional()}),RN=r.record(r.string(),LN),zN=r.object({shown:r.number().int(),total:r.number().int(),added:r.number().int(),updated:r.number().int(),removed:r.number().int()}),BN=r.object({effect_id:$e,config_hash:r.string(),status:r.enum([`completed`,`failed`,`skipped`]),error:r.string().optional(),source:r.literal(`run_added_rows`).optional()}),VN={"rows:dedupe@1":_M,"rows:duplicate@1":CM,"rows:enrich@1":kM,"rows:adopt@1":aM,"rows:add@1":Jj,"rows:import@1":HM,"row:update@1":Hj,"rows:remove@1":JM,"rows:copy_to_sheet@1":dM,"rows:filter:prompt@1":IM,"pipe:add@1":wj,"pipe:update@1":Ij,"pipe:remove@1":Aj,"fields:remove@1":vj,"fields:patch@1":fj,"fields:add@1":rc,"fields:deletesparse:input@1":ej,"env:change@1":Zs,"timetravel:create@1":TN,"timetravel:travel@1":jN,"sheet:export@1":sN,"search:run@1":tN,"sheet:reset@1":pN,"sheet:update@1":yN},HN={"rows:dedupe@1":vM,"rows:duplicate@1":wM,"rows:enrich@1":AM,"rows:adopt@1":oM,"rows:add@1":Yj,"rows:import@1":UM,"row:update@1":Uj,"rows:remove@1":YM,"rows:copy_to_sheet@1":fM,"rows:filter:prompt@1":LM,"pipe:add@1":Tj,"pipe:update@1":Lj,"pipe:remove@1":jj,"fields:remove@1":yj,"fields:patch@1":pj,"fields:add@1":ic,"fields:deletesparse:input@1":tj,"env:change@1":Qs,"timetravel:create@1":EN,"timetravel:travel@1":MN,"sheet:export@1":cN,"search:run@1":nN,"sheet:reset@1":mN,"sheet:update@1":bN},UN={"rows:dedupe@1":yM,"rows:duplicate@1":TM,"rows:enrich@1":jM,"rows:adopt@1":sM,"rows:add@1":Xj,"rows:import@1":WM,"row:update@1":Wj,"rows:remove@1":XM,"rows:copy_to_sheet@1":pM,"rows:filter:prompt@1":RM,"pipe:add@1":Ej,"pipe:update@1":Rj,"pipe:remove@1":Mj,"fields:remove@1":bj,"fields:patch@1":mj,"fields:add@1":ac,"fields:deletesparse:input@1":nj,"env:change@1":$s,"timetravel:create@1":DN,"timetravel:travel@1":NN,"sheet:export@1":lN,"search:run@1":rN,"sheet:reset@1":hN,"sheet:update@1":xN};function WN(e){return VN[e]}function GN(e){return UN[e]}function KN(e){return HN[e]}function qN(){return Object.keys(UN).filter(e=>UN[e].agentExposure!==`excluded`)}function JN(e){return UN[e]?.agentExposure!==`excluded`}const YN=t.discriminatedUnion(`effect_id`,Object.values(HN).map(e=>e)).openapi(`EffectPayloadSchema`);function XN(e,t){return Ze(t,UN[e].defaultPayload)}const ZN=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`effect_id`in e))return e;let t=XN(e.effect_id);return t?{...e,config:Ze(e?.config||{},t.config)}:e},YN),QN=t.enum([`processing`,`completed`,`failed`,`canceled`,`skipped`]).openapi(`EffectsRunStatus`),$N=t.object({config:t.object({diff:t.object({limit:t.number().int().min(0).max(1e3).default(100).openapi({description:"How many per-record diff entries to keep on the result. `counts` stays exact regardless."})}).optional(),run_added_rows:t.boolean().optional().openapi({description:`When true, after this run's effects complete, run the sheet's pipes over exactly the rows the run appended (the contiguous tail). Off by default. Durable on schedules: a scheduled chain that adds rows then enriches them on every fire.`})}).optional(),effects:t.array(ZN).min(1)}).openapi(`EffectsRequest`),eP=t.object({id:t.string(),status:QN,effects:t.array(BN),counts:zN.nullable(),diff:RN.nullable(),after_schema_id:t.string().nullable(),before_schema_id:t.string().nullable(),added:t.object({cursor:t.string().nullable(),count:t.number().int()}).nullable().openapi({description:'Present when the run appended rows. `cursor` is the exclusive window cursor isolating exactly the added tail โ pass it to a `rows:enrich@1` `{type:"window", cursor, count:null}` selection to run the sheet\'s pipes over the added rows. `count` is how many added rows survive.'})}).openapi(`EffectsResponse`),tP=t.object({effects:t.array(t.unknown()).min(1)}).openapi(`EffectsValidateRequest`),nP=t.object({index:t.number().int(),effect_id:$e,valid:t.boolean(),errors:t.array(t.string())}).openapi(`EffectsValidateStep`),rP=t.object({valid:t.boolean(),errors:t.array(t.string()),steps:t.array(nP).optional()}).openapi(`EffectsValidateResponse`);function iP(e){let t=e.split(`@`)[1];if(!t)throw Error(`No effect version found`);return Number(t)}function aP(){let e={};for(let t of Object.values(UN)){let{baseEffect:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=iP(e.effectId);return iP(t.effectId)-n})}),e}const oP=aP();function sP(){let e=[];for(let[t,n]of Object.entries(oP)){let r=n[0];if(!r)throw Error(`Found empty entry`);r.lifecycle?.deprecatedOn||r.catalogVisibility!==`hidden`&&e.push({...r,baseEffect:t,latestVersion:iP(r.effectId)})}return e}const cP={"rows:dedupe@1":[{effect_id:`rows:dedupe@1`,connector:null,config:{fields:[{field_name:`work_email`}],match:`all`,strategy:`keep_oldest`}}],"rows:duplicate@1":[{effect_id:`rows:duplicate@1`,connector:null,config:{}}],"sheet:reset@1":[{effect_id:`sheet:reset@1`,connector:null,config:{}}],"fields:deletesparse:input@1":[{effect_id:`fields:deletesparse:input@1`,connector:null,config:{fields:[{field_name:`company_raw_address`},{field_name:`company_founded_year`}],probe_size:1e3,threshold_in_percent:25}}]};var lP=class extends Error{errors;constructor(e){super(e.join(`
|
|
77
|
-
`)),this.name=`SheetEffectValidationError`,this.errors=e}};function uP({effects:e,validationContext:t,schemaInputs:n}){let r=[],i=[],a=[],o=[];e.some(e=>e.effect_id===`pipe:remove@1`)&&e.length>1&&r.push(`pipe:remove@1 must be the only effect in a run.`);let s={...n,validationContext:t},c=t,l=new Set(Object.keys(t.fieldDefinitions)),u=null;return e.forEach((e,t)=>{let n=[],d=WN(e.effect_id);if(!d){n.push(`unknown effect "${e.effect_id}"`),dP(i,r,t,e.effect_id,n);return}let f;try{f=new d(e)}catch(a){n.push(a.message),dP(i,r,t,e.effect_id,n);return}let ee=f.getFieldReferences().filter(e=>!l.has(e));if(ee.length>0){let e=`references fields that do not exist at this step: ${ee.join(`, `)}`;u&&(e+=`. These may be produced only at run time by "${u}" earlier in this chain โ commit that effect first, then add the effects that use its columns in a follow-up run.`),n.push(e)}try{let{next:e}=f.evolveSchema(s);s=e,c=e.validationContext,l=new Set(Object.keys(e.validationContext.fieldDefinitions))}catch(e){if(e instanceof Q)for(let t of e.appErrors)n.push(t.message);else n.push(e.message)}u===null&&f.producesDynamicFields()&&(u=e.effect_id),a.push(f),o.push(e),dP(i,r,t,e.effect_id,n)}),{valid:r.length===0,steps:i,errors:r,instances:a,payloads:o,resultingFieldDefinitions:c.fieldDefinitions}}function dP(e,t,n,r,i){e.push({index:n,effect_id:r,valid:i.length===0,errors:i});for(let e of i)t.push(`effects[${n}] (${r}): ${e}`)}function fP({effects:e,validationContext:t,schemaInputs:n}){let r=uP({effects:e,validationContext:t,schemaInputs:n});if(!r.valid)throw new lP(r.errors);return{instances:r.instances,payloads:r.payloads}}function pP(e){let t=(e??[]).map(e=>mP(e));if(t.length===0)return{title:`Effect run`,description:`An effect run with no steps.`};let[n]=t;return t.length===1&&n?{title:n.title,description:n.description}:{title:`${t.length} steps: ${t.map(e=>e.title).join(` ยท `)}`,description:t.map(e=>e.description).join(` ยท `)}}function mP(e){let t=e.effect_id,n=z(t),r=e.config??{};switch(n){case`pipe:add`:{let e=hP(r.pipe_payload);return{title:e?`Added pipe ${e}`:`Added pipe`,description:e?`Added the pipe ${e} to the sheet.`:`Added a pipe to the sheet.`}}case`pipe:update`:{let e=hP(r.pipe_payload);return{title:e?`Updated pipe ${e}`:`Updated pipe`,description:e?`Updated the configuration of pipe ${e}.`:`Updated a pipe.`}}case`pipe:remove`:return{title:`Removed pipe`,description:`Removed a pipe from the sheet.`};case`fields:add`:return{title:`Added field`,description:`Added a field to the sheet.`};case`fields:patch`:return{title:`Edited field`,description:`Edited a field on the sheet.`};case`fields:remove`:return{title:`Removed fields`,description:`Removed fields from the sheet.`};case`rows:add`:{let e=Array.isArray(r.records)?r.records.length:void 0;return{title:e==null?`Added rows`:`Added ${e} ${vP(e,`row`)}`,description:e==null?`Added rows to the sheet.`:`Added ${e} ${vP(e,`row`)} to the sheet.`}}case`rows:remove`:return{title:`Removed rows`,description:`Removed rows from the sheet.`};case`rows:dedupe`:return{title:`Removed duplicate rows`,description:`Removed duplicate rows from the sheet.`};case`rows:duplicate`:return{title:`Duplicated rows`,description:`Duplicated rows in the sheet.`};case`rows:enrich`:return{title:`Enriched rows`,description:`Ran enrichment pipes over rows.`};case`rows:filter:prompt`:return{title:`AI-filtered rows`,description:`Filtered rows with an AI prompt.`};case`rows:import`:return{title:`Imported rows`,description:`Imported rows into the sheet.`};case`row:update`:return{title:`Updated row`,description:`Updated a single row.`};case`search:run`:{let e=gP(r.search_payload);return{title:e?`Ran search ${e}`:`Ran search`,description:e?`Ran the search ${e} and appended its results.`:`Ran a search and appended its results.`}}case`sheet:export`:return{title:`Exported sheet`,description:`Exported the sheet.`};case`sheet:reset`:return{title:`Reset sheet`,description:`Reset the sheet to its empty state.`};case`env:change`:return{title:`Changed environment`,description:`Switched the sheet environment.`};case`timetravel:create`:return{title:`Created restore point`,description:`Snapshotted the sheet state.`};case`timetravel:travel`:return{title:`Restored to a previous point`,description:`Restored the sheet to a previous point in time.`};default:{let e=_P(t);return{title:e??t,description:e??t}}}}function hP(e){if(e&&typeof e==`object`){let t=e.pipe_id;if(typeof t==`string`&&t.length>0)return t}}function gP(e){if(e&&typeof e==`object`){let t=e.search_id;if(typeof t==`string`&&t.length>0)return t}}function _P(e){try{return GN(e)?.label}catch{return}}function vP(e,t){return e===1?t:`${t}s`}function yP(e){if(e instanceof B)return e;let t=e.effect_id,n=WN(t);if(!n)throw Error(`Unknown effect: ${e.effect_id}`);return new n(ZN.parse(e))}function bP(e){let t=e.normalize(`NFD`).replace(/[\u0300-\u036f]/g,``).replace(/[^A-Za-z0-9]+/g,`_`).replace(/^_+|_+$/g,``);return t===``?`column`:/^[0-9]/.test(t)?`_${t}`:t}function xP(e){let t=new Set;return e.map(e=>{let n=e,r=2;for(;t.has(n);)n=`${e}_${r}`,r++;return t.add(n),n})}function SP(e){let t=xP(e.map(bP));return e.map((e,n)=>({name:t[n],label:e}))}const CP={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function wP(e){return CP[e]}const TP=`bachelor.master.mba.phd.ph d.doctor.associate.diploma.b sc.bsc.m sc.msc.b a.m a.b tech.btech.m tech.mtech.b eng.m eng.b com.llb.llm.md.jd.undergraduate.postgraduate.graduate.degree`.split(`.`),EP=[`university`,`college`,`institute of technology`,`polytechnic`,`school of`],DP=e=>` ${e.toLowerCase().replace(/[^a-z ]+/g,` `).replace(/\s+/g,` `).trim()} `,OP=(e,t)=>{if(!e)return!1;let n=DP(e);return t.some(e=>n.includes(` ${e} `))};function kP(e){return OP(e.degree_name,TP)?!0:e.degree_name?!1:OP(e.institution_name,EP)}function AP(e){if(!e.start_date)return 1/0;let t=ee(e.start_date);return Number.isNaN(t.getTime())?1/0:t.getTime()}function jP(e){let t=e.education_history.filter(e=>e.is_current_education===!0&&kP(e)),n=null;for(let e of t)(n===null||AP(e)<AP(n))&&(n=e);return{...e,education_history:e.education_history.map(e=>({...e,is_primary_current_education:e===n}))}}function MP(e,t,n=new Date){if(!e)return{days:null,years:null};let r=ee(e);if(Number.isNaN(r.getTime()))return{days:null,years:null};let i=n;if(t){let e=ee(t);Number.isNaN(e.getTime())||(i=e)}let a=u(i,r);return a<0?{days:null,years:null}:{days:a,years:Math.round(a/365.25*100)/100}}const NP={shared:{}},PP={shared:{}},FP={shared:{paths:{"config.cursor":null,"config.offset":null,"config.page_number":null}}};function IP(e,t){let n=e[t];return{sectionMap:{...e.shared.sections,...n?.sections},groupMap:{...e.shared.groups,...n?.groups},pathMap:{...e.shared.paths,...n?.paths}}}const LP=e=>IP(PP,e),RP=e=>IP(FP,e),zP=e=>IP(NP,e),BP={"config.prompt":{order:1,label:`Prompt`,iconKey:`sparkles`,defaultExpand:!0},"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:0,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},"config.input_fields":{order:0,label:`Input config`,description:`Point pipe inputs to new fields.`,iconKey:`input`,defaultExpand:!1},connector:{order:100,label:`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},"config.destination":{order:9,label:`Destination`,description:`Name, type, and format of the field written to the destination sheet.`,iconKey:`output`,defaultExpand:!1}},VP={general:{path:`general`,label:`Behavior`,description:`How this pipe runs and selects providers.`,order:1},pagination:{path:`pagination`,label:`Behavior`,order:2},"config.filters":{path:`config.filters`,label:`I/O & conditions`,order:14},pipe_io:{path:``,label:`I/O & conditions`,order:99}};function HP(e){let t=cA(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 UP({pipePayload:e,validationContext:t,store:n,formResolvers:r,customization:i}){let a=cA(e.pipe_id),o=_c(e.pipe_id,e.config||{});return Bo({schema:a,extractFromSchema:r=>{let i=_.get(r);if(n.field_options??={},i)return i&&typeof i==`function`?i({validationContext:t,pipePayload:e,userConnections:`connections`in n.field_options?(n.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:dA(e.pipe_id),hash:o}):i},store:n,formResolvers:r,sectionMap:Ro(VP,i?.sectionMap),groupMap:Ro(BP,i?.groupMap),pathMap:i?.pathMap})}const WP={"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,order:4},"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.author":{label:`Author`,iconKey:`user`,defaultExpand:!1,order:2},"config.filters.mentions":{label:`Mentions`,iconKey:`tags`,defaultExpand:!1,order:3},"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,order:3},"config.filters.current_employer":{label:`Current employment`,iconKey:`briefcase`,defaultExpand:!1,order:2},"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},connector:{order:100,label:`Connections`,iconKey:`plug`,defaultExpand:!1}},GP={general:{path:`general`,label:`General`,description:`Search settings and pagination.`,order:1},pagination:{path:`pagination`,label:`General`,order:2},"config.filters":{path:`config.filters`,label:`Filters`,description:`Narrow the search results.`,order:10},pipe_io:{path:``,label:`Output fields`,order:99}};function KP({searchPayload:e,formContext:t,formResolvers:n,customization:r}){return Bo({schema:Gk(e.search_id),extractFromSchema:n=>{let r=v.get(n);if(t.field_options??={},r)return typeof r==`function`?r({searchPayload:e,searchEntry:Xk(e.search_id),userConnections:`connections`in t.field_options?(t.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}}):[]}):r},store:t,formResolvers:n,sectionMap:Ro(GP,r?.sectionMap),groupMap:Ro(WP,r?.groupMap),pathMap:r?.pathMap})}function qP(e){let t=Gk(e),n=[];function i(e){let t=v.get(e);if(t&&typeof t!=`function`&&t.type===`context_select_input`&&t.optionsDef&&n.push(t),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}const JP={"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:1,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},connector:{order:100,label:`Connections`,iconKey:`plug`,defaultExpand:!1}},YP={general:{path:`general`,label:`General`,description:`How this effect runs.`,order:1},pagination:{path:`pagination`,label:`General`,order:99},"config.filters":{path:`config.filters`,label:`Filters`,order:99},pipe_io:{path:``,label:`Connections`,order:99}};function XP({effectPayload:e,validationContext:t,store:n,formResolvers:r,customization:i}){let a=KN(e.effect_id),o=qs(e.effect_id,e.config||{});return Bo({schema:a,extractFromSchema:r=>{let i=y.get(r);if(n.field_options??={},i)return typeof i==`function`?i({validationContext:t,effectPayload:e,userConnections:`connections`in n.field_options?(n.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}}):[],effectEntry:GN(e.effect_id),hash:o}):i},store:n,formResolvers:r,sectionMap:Ro(YP,i?.sectionMap),groupMap:Ro(JP,i?.groupMap),pathMap:i?.pathMap})}function ZP(e){let t=KN(e),n=[];function i(e){let t=y.get(e);if(t&&typeof t!=`function`&&t.type===`context_select_input`&&t.optionsDef&&n.push(t),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}const QP=new Proxy({},{get:(e,t)=>e=>e.type===t}),$P=`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(`.`),eF=r.enum($P),tF=r.object({provider_logo:r.object({provider:Ir}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:eF}).optional(),logo_url:r.object({url:r.string(),alt:r.string().optional()}).optional(),pricing:r.object({credits:r.number()}).optional(),token_pricing:r.object({inputPerBlock:r.number(),outputPerBlock:r.number(),blockSize:r.number()}).optional(),field_type:r.object({type:r.string(),format:r.string().optional()}).optional()}),nF=`providers_input.fields_select_input.json_extraction_input.pipes_run_if_input.connector_input.include_exclude_input.include_exclude_select_input.exact_range_input.range_input.date_range_input.boolean_input.nullable_boolean_input.text_input.template_input.output_field_input.textarea_input.prompt_input.select_input.context_select_input.multi_select_input.min_max_int_input.async_multi_select_input.async_include_exclude_select_input.multi_create_input.ordered_multi_create_input.tagged_ordered_multi_create_input.int_input.number_input.json_schema_input`.split(`.`);r.enum(nF);const rF=r.object({value:r.string(),label:r.string(),widgets:tF.optional()}),iF=r.object({field_options:r.record(r.string(),r.object({options:r.array(rF)}))}),aF=[{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}],oF=new Map(aF.map(e=>[e.id,e]));function sF(e){return oF.get(e)}function cF(){return aF}const lF={"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`}]}],"agent:run@1":[{config:{environment:`production`},pipes:[{pipe_id:`agent:run@1`,config:{agent_type:`web_researcher`,model:`openai-high`,prompt:{template:`
|
|
74
|
+
}`,inputType:`text`,maxLength:1e6,expectedTagType:`string`,expectedTagFormat:`text`,multiline:!0}).nullable(),headers:js({sectionKey:`general`,groupPath:`config.general`,path:`config.headers`,label:`Headers`,info:"In the value column, type `/` to insert a field or secret reference (e.g. `Bearer {{ secret โฆ }}`).",keyLabel:`Header`,valueLabel:`Value`,keyPlaceholder:`Authorization`,valuePlaceholder:`Bearer {{ secret โฆ }}`,maxKeys:50}),expected_response_schema:Ws({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).`,allowEmpty:!0}).optional(),output_fields:R(r.object({[Dy.name]:k({fieldName:Dy.name}),[Oy.name]:k({fieldName:Oy.name}),[ky.name]:k({fieldName:ky.name})}))})}),jy={"http-request-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.001},mode:`always`}},My=class extends U{pipeId=Ey;payload;payloadSchema=Ay;billableOperations=jy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`http-request-v1-pipe0`)}getTemplatedFields(){return[this.payload.config.url,this.payload.config.body,...Object.values(this.payload.config.query_params??{}),...Object.values(this.payload.config.headers??{})]}getInputRequirement(){return Jc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[Dy.name]:this.catalogOutput(Dy),[Oy.name]:this.catalogOutput(Oy),[ky.name]:this.catalogOutput(ky)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},Ny=Ay,Py={pipeId:Ey,basePipe:K(Ey),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:[G.LOGIC,G.JSON,G.NEW],keywords:[`api`,`rest`,`webhook`,`fetch`,`get`,`post`,`endpoint`,`curl`],docPath:q(Ey),billableOperations:jy,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:Ey,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}}}}},Fy=`json:extract:multi@1`,Iy=r.object({pipe_id:r.literal(Fy),run_if:x(),connector:w(),config:r.object({json_extraction:Io()})}),Ly={"json-extract-multi-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Ry=class extends U{pipeId=Fy;payload;payloadSchema=Iy;billableOperations=Ly;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`json-extract-multi-v1-pipe0`)}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[]}},zy=Iy,By={pipeId:Fy,basePipe:K(Fy),inputFieldMode:`config`,outputFieldMode:`config`,label:`JSON extract`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract nested JSON properties into new output fields.`,guide:'Deterministic JSON extraction โ PREFER this over prompt:run@1 whenever you need a value out of a JSON / known-schema column (no LLM, reproducible, schedulable). config.json_extraction.field_name is the source json column; each extraction has a JSONata `path` plus an output_field. Read the source column\'s JSON schema (get_pipe_schema / get_search_schema output fields, or get_sheet_schema) to author the path. Examples over a profile\'s employment_history array: `employment_history[is_current_employer=true][]` (array of current jobs โ output_field.type "json"); `employment_history[is_primary_current_employer=true].company_domain` (scalar โ output_field.type "string"). Set output_field.type to "json" for an object/array result, "string" for a scalar. CRITICAL for a list you will fan out (e.g. into row:expandappend:sheet@1): a JSONata filter returns the matched ELEMENT when exactly one row matches but an ARRAY when several do โ so ALWAYS append the array constructor `[]` to force a consistent array in every row (`employment_history[is_current_employer=true][]`, not `...=true]`). Without it the column is an object in single-match rows and an array in others, and the downstream expand rejects the object rows. To confirm a NEW path resolves the shape you expect before running anything downstream, switch the sheet to SANDBOX (env:change@1) and run just this extraction โ it runs for REAL in sandbox (no writes, no spend), so you can read the actual result, fix the path, then switch back to production.',docPath:q(Fy),tags:[G.JSON],keywords:[`parse`,`pick`,`path`,`nested`,`property`,`jsonata`,`unpack`],managedProviders:[`pipe0`],deprecatedProviders:[],allowedUserConnectionProviders:[],billableOperations:Ly,defaultInputRequirement:null,defaultPayload:{pipe_id:Fy,run_if:null,connector:null,config:{json_extraction:{field_name:``,extractions:[]}}}},Vy=`lead:enroll:lemlist@1`,Hy={"lead-enroll-lemlist-v1-lemlist":{allowManagedConnection:!1,provider:`lemlist`,credits:null,mode:null}},Uy=g(`email`),Wy=g(`name`),Gy=g(`first_name`),Ky=g(`last_name`),qy=g(`company_name`),Jy=g(`job_title`),Yy=g(`profile_url`),Xy=g(`phone`),Zy=g(`lemlist_lead_id`),Qy=g(`lemlist_enrollment_result`),$y=new Set([`email`,`firstName`,`lastName`,`name`,`companyName`,`jobTitle`,`linkedinUrl`,`phone`,`companyDomain`,`icebreaker`,`picture`]),eb=[{label:`Demo ยท Q3 Outbound`,value:`cam_sandbox_1`},{label:`Demo ยท Founder Intros`,value:`cam_sandbox_2`}],tb={requires:{connection:`lemlist`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return eb;if(!t)throw new _d.MissingSecretError({providerName:`lemlist`});let r=await fetch(`https://api.lemlist.com/api/campaigns?limit=100`,{headers:{Authorization:`Basic ${t}`}});if(!r.ok){let e=await r.text();throw new _d.HttpError({msg:e})}let i=await r.json(),a=(Array.isArray(i)?i:i.campaigns??[]).map(e=>({label:e.name,value:e._id}));return e?a.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):a},widgets:{provider_logo:{provider:`lemlist`}}};function nb(e){let t=new Set,n=new Set;try{let r=Ta(e);for(let[e,i]of Object.entries(r.inputs))(i.required?t:n).add(e)}catch{for(let n of e.matchAll(/\{\{\s*([A-Za-z_][A-Za-z0-9_]*)/g))t.add(n[1])}return{required:[...t],optional:[...n]}}const rb=r.object({pipe_id:r.literal(Vy),connector:ms(),run_if:x(),config:r.object({campaign_id:Gs({sectionKey:`general`,required:!0,label:`Campaign`,groupPath:`config.general`,path:`config.campaign_id`,info:`The lemlist campaign to enroll the lead into.`,enabledIf:no(`lemlist`),optionsDef:tb}),input_fields:z(r.object({[Uy.name]:E({fieldName:Uy.name}),[Wy.name]:E({fieldName:Wy.name}),[Gy.name]:E({fieldName:Gy.name}),[Ky.name]:E({fieldName:Ky.name}),[qy.name]:E({fieldName:qy.name}),[Jy.name]:E({fieldName:Jy.name}),[Yy.name]:E({fieldName:Yy.name}),[Xy.name]:E({fieldName:Xy.name})})),custom_variables:js({sectionKey:`general`,groupPath:`config.general`,path:`config.custom_variables`,label:`Custom variables`,info:"lemlist custom variables, set on the lead after enrollment. The Variable name must match what your sequence references (e.g. `{{ painPoint }}`) โ case-sensitive, no spaces. In the Value column, type `/` to insert a field or secret; leave a Value empty to skip that row. Standard fields (company, job title, LinkedIn, phone) are set via the fields above, not here.",keyLabel:`Variable`,valueLabel:`Value`,keyPlaceholder:`painPoint`,valuePlaceholder:`{{ pain_point }}`,maxKeys:50}),output_fields:R(r.object({[Zy.name]:k({fieldName:Zy.name}),[Qy.name]:k({fieldName:Qy.name})}))}).check(e=>{let t=e.value;for(let n of Object.keys(t.custom_variables??{})){let t=n.trim();if(!t)continue;let r=t=>e.issues.push({code:`custom`,input:n,message:t,path:[`custom_variables`,n]});if(t.includes(`{{`)){r("Variable name must be a literal (no `{{ }}` templating).");continue}if(!/^[A-Za-z_][A-Za-z0-9_]*$/.test(t)){r(`Invalid lemlist variable name "${t}" โ use letters, digits, and underscores; no spaces.`);continue}$y.has(t)&&r(`"${t}" is a standard lemlist field โ set it via the dedicated field above, not as a custom variable.`)}})}),ib=e=>Pc(H(J(Uy,e)),Fc(H(J(Wy,e)),Pc(H(J(Gy,e)),H(J(Ky,e)))),Ic(J(qy,e)),Ic(J(Jy,e)),Ic(J(Yy,e)),Ic(J(Xy,e))),ab=e=>{let t=new Set;for(let n of e)if(n)try{let e=Ta(n);for(let n of Object.keys(e.inputs))t.add(n)}catch{}return[...t].map(e=>Ic({name:e,resolvedName:e,label:e,description:``,type:t=>qc(t,e)?.type||`string`,format:`text`}))},ob=class extends U{pipeId=Vy;payload;payloadSchema=rb;billableOperations=Hy;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`lemlist`]}estimateBillableOperations(e){return Y(e,`lead-enroll-lemlist-v1-lemlist`)}getCustomVariableValueTemplates(){return Object.values(this.payload.config.custom_variables??{})}getInputRequirement(){return Pc(ib(this.payload.config),...ab(this.getCustomVariableValueTemplates()))}getSecretRequirements(){return Yc(this.getCustomVariableValueTemplates())}getConstantRequirements(){return Xc(this.getCustomVariableValueTemplates())}getRawOutputFields(){return{[Zy.name]:this.catalogOutput(Zy),[Qy.name]:this.catalogOutput(Qy)}}getConnectionsRequirements(){return[{provider:`lemlist`,rateLimitRatio:1,rateLimitOperation:`lemlist_create_lead`,allowManagedConnection:!1}]}async getAgentContext({connectionSecrets:e,environment:t}){let n=this.payload.config.campaign_id,r=Array.isArray(n)?n[0]:n;if(!r)return null;if(t===`sandbox`)return{summary:`Sandbox: this sequence references custom variables painPoint and eventLink โ set each via config.custom_variables.`,data:{required_custom_variables:[`painPoint`,`eventLink`],used_standard_fields:[`firstName`]}};let i=e.lemlist;if(!i)throw new _d.MissingSecretError({providerName:`lemlist`});let a=await fetch(`https://api.lemlist.com/api/campaigns/${encodeURIComponent(r)}/sequences`,{headers:{Authorization:`Basic ${i}`},signal:AbortSignal.timeout(1e4)});if(!a.ok){let e=await a.text();throw new _d.HttpError({msg:e})}let o=await a.json(),s=new Set;for(let e of Object.values(o??{}))for(let t of e?.steps??[])for(let e of[t?.subject,t?.message]){if(!e)continue;let{required:t,optional:n}=nb(e);for(let e of[...t,...n])s.add(e)}let c=[...s].filter(e=>$y.has(e)),l=[...s].filter(e=>!$y.has(e));return{summary:l.length===0?`This sequence uses only standard lemlist fields โ no custom variables to set.`:`This sequence requires these custom variables โ set each via config.custom_variables (the value is a Liquid template over your sheet columns, e.g. {{ pain_point }}): ${l.join(`, `)}. Standard fields (email, firstName, โฆ) are populated by the input fields above, not here.`,data:{required_custom_variables:l,used_standard_fields:c}}}},sb=rb,cb={pipeId:Vy,basePipe:K(Vy),label:`Enroll Lead in Campaign`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Add a lead to a lemlist campaign sequence, with custom variables.`,tags:[G.EMAIL],keywords:[`sequence`,`outreach`,`add`,`subscribe`,`outbound`,`email marketing`],docPath:q(Vy),billableOperations:Hy,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`lemlist`],defaultInputRequirement:ib(null),managedProviders:[],deprecatedProviders:[],defaultPayload:{pipe_id:Vy,connector:{strategy:`first`,connections:[]},run_if:null,config:{campaign_id:``,input_fields:{email:{alias:``},name:{alias:``},first_name:{alias:``},last_name:{alias:``},company_name:{alias:``},job_title:{alias:``},profile_url:{alias:``},phone:{alias:``}},custom_variables:{},output_fields:{lemlist_lead_id:{alias:``,enabled:!0},lemlist_enrollment_result:{alias:``,enabled:!1}}}}},lb=`message:send:slack@1`,ub=g(`slack_message_success`),db=[{label:`#demo-general`,value:`C0SANDBOX001`},{label:`#demo-alerts`,value:`C0SANDBOX002`}],fb=r.object({pipe_id:r.literal(lb),connector:ms(),run_if:x(),config:r.object({channel_id:S({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 db;if(!t)throw new _d.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 _d.HttpError({msg:e})}let i=await r.json();if(!i.ok)throw new _d.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:S({sectionKey:`general`,groupPath:`config.general`,path:`config.message`,label:`Message`,info:"The message body. Type `@` to insert a field reference or `$` to insert a secret reference.",placeholder:`Hi {{ name }}, โฆ`,inputType:`text`,minLength:1,maxLength:4e4,expectedTagType:`string`,expectedTagFormat:`markdown`,multiline:!0}),output_fields:R(r.object({[ub.name]:k({fieldName:ub.name})}))})}),pb={"message-send-slack-v1-slack":{allowManagedConnection:!1,provider:`slack`,credits:null,mode:null}},mb=class extends U{pipeId=lb;payload;payloadSchema=fb;billableOperations=pb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`slack`]}estimateBillableOperations(e){return Y(e,`message-send-slack-v1-slack`)}getTemplatedFields(){return[this.payload.config.channel_id,this.payload.config.message]}getInputRequirement(){return Jc(this.getTemplatedFields())}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[ub.name]:this.catalogOutput(ub)}}getConnectionsRequirements(){return[{provider:`slack`,rateLimitRatio:1,rateLimitOperation:`slack_post_message`,allowManagedConnection:!1}]}},hb=fb,gb={pipeId:lb,basePipe:K(lb),label:`Send message into channel`,executionMode:`single`,categories:[`actions`],lifecycle:null,description:`Send a Slack message to a channel.`,guide:"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:[G.CHAT],keywords:[`notify`,`notification`,`alert`,`post`,`chat`],docPath:q(lb),billableOperations:pb,inputFieldMode:`config`,outputFieldMode:`static`,allowedUserConnectionProviders:[`slack`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:null,defaultPayload:{pipe_id:lb,connector:{strategy:`first`,connections:[]},run_if:null,config:{channel_id:``,message:``,output_fields:{slack_message_success:{alias:``,enabled:!0}}}}},_b=`message:write@1`,vb=g(`message`),yb=`message-write-v1`,bb=xo(yb),xb=r.object({pipe_id:r.literal(_b),connector:C(),run_if:x(),config:r.object({template:fs({sectionKey:`general`,label:`Template`,path:`config.template`,placeholder:W(`prompt`),groupPath:`config.prompt`,required:!0}),model:Bs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:bb}),output_fields:R(r.object({[vb.name]:k({fieldName:vb.name})}))})}),Sb=class extends U{pipeId=_b;payload;payloadSchema=xb;billableOperations=bb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return mo(this.payload.config.model)}estimateBillableOperations(e){return Co(e,{model:this.payload.config.model,prefix:yb,inputTokens:600,outputTokens:800})}getInputRequirement(){return Jc([this.payload.config.template])}getSecretRequirements(){return Yc([this.payload.config.template])}getConstantRequirements(){return Xc([this.payload.config.template])}getRawOutputFields(){return{[vb.name]:this.catalogOutput(vb)}}getConnectionsRequirements(){return ho(this.payload.config.model)}},Cb=xb,wb={pipeId:_b,inputFieldMode:`config`,outputFieldMode:`static`,basePipe:K(_b),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.)`,guide:`AI message composer for Slack/Teams/Discord. Outputs: message. Pair with message:send:slack@1 to send.`,tags:[G.AI],keywords:[`ai`,`compose`,`draft`,`copywriting`,`outreach`,`slack`,`teams`],docPath:q(_b),defaultInputRequirement:null,billableOperations:bb,allowedUserConnectionProviders:go(),managedProviders:go(),deprecatedProviders:[],defaultPayload:{pipe_id:_b,connector:null,run_if:null,config:{model:`openai-high`,template:``,output_fields:{message:{alias:``,enabled:!0}}}}},Tb=`person:devprofileurl:profileurl:waterfall@1`,Eb=g(`profile_url`),Db=g(`developer_profile_url`),Ob=g(`alternative_developer_profile_urls`),kb=[`crustdata`],Ab=[{provider:`crustdata`}],jb=r.object({pipe_id:r.literal(Tb),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Ab,availableProviders:kb}),input_fields:z(r.object({[Eb.name]:E({fieldName:Eb.name})})),output_fields:R(r.object({[Db.name]:k({fieldName:Db.name}),[Ob.name]:k({fieldName:Ob.name})}))}).optional()}),Mb=e=>H(J(Eb,e)),Nb={"person-devprofileurl-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1.3,weight:1}},mode:`onSuccess`}},Pb=class extends U{pipeId=Tb;payload;payloadSchema=jb;billableOperations=Nb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Mb(this.payload.config)}getRawOutputFields(){return{[Db.name]:this.catalogOutput(Db,{isPrimaryOutput:!0}),[Ob.name]:this.catalogOutput(Ob,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Fb=jb,Ib={pipeId:Tb,basePipe:K(Tb),label:`GitHub profile from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a developer profile URL (e.g. GitHub) for any prospect using multiple data providers in a waterfall motion.`,docPath:q(Tb),tags:[G.LINKEDIN,G.WATERFALL,G.NEW],keywords:[`developer`,`dev`,`engineer`,`coder`,`git`],billableOperations:Nb,defaultInputRequirement:Mb(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:kb,allowedUserConnectionProviders:kb,deprecatedProviders:[],defaultPayload:{pipe_id:Tb,connector:null,run_if:null,config:{providers:Ab,input_fields:{profile_url:{alias:``}},output_fields:{developer_profile_url:{alias:``,enabled:!0},alternative_developer_profile_urls:{alias:``,enabled:!1}}}}},Lb=`person:email:validate:millionverifier@1`,Rb=g(`email`),zb=g(`email_validation_status`),Bb=g(`million_validation_match`),Vb=r.object({pipe_id:r.literal(Lb),connector:C(),run_if:x(),config:r.object({input_fields:z(r.object({[Rb.name]:E({fieldName:Rb.name})})),output_fields:R(r.object({[zb.name]:k({fieldName:zb.name}),[Bb.name]:k({fieldName:Bb.name})}))}).optional()}),Hb=e=>H(J(Rb,e)),Ub={"person-email-validate-millionverifier-v1-millionverifier":{provider:`millionverifier`,allowManagedConnection:!0,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`always`}},Wb=class extends U{pipeId=Lb;payload;payloadSchema=Vb;billableOperations=Ub;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`millionverifier`]}estimateBillableOperations(e){return Y(e,`person-email-validate-millionverifier-v1-millionverifier`)}getInputRequirement(){return Hb(this.payload.config)}getRawOutputFields(){return{[zb.name]:this.catalogOutput(zb),[Bb.name]:this.catalogOutput(Bb)}}getConnectionsRequirements(){return[{provider:`millionverifier`,rateLimitRatio:1,rateLimitOperation:`millionverifier_generic`,allowManagedConnection:!0}]}},Gb=Vb,Kb={pipeId:Lb,basePipe:K(Lb),label:`Validate email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Verify email addresses to ensure is deliverability.`,tags:[G.EMAIL],keywords:[`verify`,`verification`,`deliverability`,`bounce`,`check`,`clean`],docPath:q(Lb),billableOperations:Ub,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`millionverifier`],managedProviders:[`millionverifier`],deprecatedProviders:[],defaultInputRequirement:Hb(null),defaultPayload:{pipe_id:Lb,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{email_validation_status:{alias:``,enabled:!0},million_validation_match:{alias:``,enabled:!0}}}}},qb=g(`email`),Jb=g(`amplemarket_person_match`),Yb=`person:identity:amplemarket@1`,Xb=r.object({pipe_id:r.literal(Yb),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[qb.name]:E({fieldName:qb.name})})),output_fields:R(r.object({[Jb.name]:k({fieldName:Jb.name})}))}).optional()}),Zb=e=>H(J(qb,e)),Qb={"person-identity-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},$b=class extends U{pipeId=Yb;payload;payloadSchema=Xb;billableOperations=Qb;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Zb(this.payload.config)}getRawOutputFields(){return{[Jb.name]:this.catalogOutput(Jb)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},ex=Xb,tx={pipeId:Yb,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(Yb),label:`Person identity`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their email`,tags:[G.PEOPLE_PROFILES],keywords:[`enrich`,`enrichment`,`reverse lookup`,`contact`,`profile`],docPath:q(Yb),billableOperations:Qb,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Zb(null),defaultPayload:{pipe_id:Yb,connector:null,run_if:null,config:{input_fields:{email:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},nx=`person:identity:email:waterfall@1`,rx=g(`email`),ix=g(`company_domain`),ax=g(`name`),ox=g(`job_title`),sx=g(`profile_url`),cx=g(`company_profile_url`),lx=g(`company_name`),ux=[`findymail`,`hunter`,`crustdata`],dx=[{provider:`findymail`},{provider:`hunter`},{provider:`crustdata`}],fx=r.object({pipe_id:r.literal(nx),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:ux,defaultProviders:dx,sectionKey:`general`}),input_fields:z(r.object({[rx.name]:E({fieldName:rx.name})})),output_fields:R(r.object({[ax.name]:k({fieldName:ax.name}),[sx.name]:k({fieldName:sx.name}),[ox.name]:k({fieldName:ox.name}),[ix.name]:k({fieldName:ix.name}),[lx.name]:k({fieldName:lx.name}),[cx.name]:k({fieldName:cx.name})}))}).optional()}),px=e=>H(J(rx,e)),mx={"person-identity-email-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2},mode:`onSuccess`},"person-identity-email-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`}},hx=class extends U{pipeId=nx;payload;payloadSchema=fx;billableOperations=mx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return px(this.payload.config)}getRawOutputFields(){return{[ax.name]:this.catalogOutput(ax,{isPrimaryOutput:!0}),[sx.name]:this.catalogOutput(sx,{isPrimaryOutput:!0}),[ox.name]:this.catalogOutput(ox,{isPrimaryOutput:!0}),[lx.name]:this.catalogOutput(lx,{isPrimaryOutput:!0}),[cx.name]:this.catalogOutput(cx,{isPrimaryOutput:!0}),[ix.name]:this.catalogOutput(ix,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},gx=fx,_x={pipeId:nx,basePipe:K(nx),label:`Person identity from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find identity of a person from their email address.`,tags:[G.EMAIL,G.PEOPLE_PROFILES],keywords:[`enrich`,`enrichment`,`reverse lookup`,`contact`,`profile`],docPath:q(nx),managedProviders:ux,deprecatedProviders:[],allowedUserConnectionProviders:ux,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:mx,defaultInputRequirement:px(null),defaultPayload:{pipe_id:nx,connector:null,run_if:null,config:{providers:dx,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}}}}},vx=g(`profile_url`),yx=g(`amplemarket_person_match`),bx=`person:match:amplemarket@1`,xx=r.object({pipe_id:r.literal(bx),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[vx.name]:E({fieldName:vx.name})})),output_fields:R(r.object({[yx.name]:k({fieldName:yx.name})}))}).optional()}),Sx=e=>H(J(vx,e)),Cx={"person-match-amplemarket-v1-amplemarket":{allowManagedConnection:!1,credits:null,mode:null,provider:`amplemarket`}},wx=class extends U{pipeId=bx;payload;payloadSchema=xx;billableOperations=Cx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`amplemarket`]}estimateBillableOperations(){return[]}getInputRequirement(){return Sx(this.payload.config)}getRawOutputFields(){return{[yx.name]:this.catalogOutput(yx)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitRatio:1,rateLimitOperation:`amplemarket_generic`,allowManagedConnection:!1}]}},Tx=xx,Ex={pipeId:bx,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(bx),label:`Person match`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find information on a person based on their LinkedIn profile URL.`,tags:[G.PEOPLE_PROFILES],keywords:[`enrich`,`enrichment`,`linkedin`,`profile`,`lookup`,`contact`],docPath:q(bx),billableOperations:Cx,allowedUserConnectionProviders:[`amplemarket`],managedProviders:[],deprecatedProviders:[],defaultInputRequirement:Sx(null),defaultPayload:{pipe_id:bx,connector:null,run_if:null,config:{input_fields:{profile_url:{alias:``}},output_fields:{amplemarket_person_match:{alias:``,enabled:!0}}}}},Dx=`person:match:role:waterfall@1`,Ox=g(`company_domain`),kx=g(`role_finder_match`),Ax=[`leadmagic`],jx=[{provider:`leadmagic`}],Mx=r.object({pipe_id:r.literal(Dx),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:jx,availableProviders:Ax}),roles:As({sectionKey:`general`,groupPath:`config.general`,label:`Roles`,path:`config.roles`,info:`Company roles to include`,maxItems:3,minItems:1,suggestionsDef:h(`titles`),expectedTagType:`string`}),input_fields:z(r.object({[Ox.name]:E({fieldName:Ox.name})})),output_fields:R(r.object({[kx.name]:k({fieldName:kx.name})}))})}),Nx=e=>Fc(J(Ox,e)),Px={"person-match-role-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},Fx=class extends U{pipeId=Dx;payload;payloadSchema=Mx;billableOperations=Px;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Nx(this.payload.config)}getSecretRequirements(){return Yc(this.payload.config?.roles??[])}getConstantRequirements(){return Xc(this.payload.config?.roles??[])}getRawOutputFields(){return{[kx.name]:this.catalogOutput(kx,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_role_finder`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},Ix=Mx,Lx={pipeId:Dx,basePipe:K(Dx),managedProviders:Ax,deprecatedProviders:[],allowedUserConnectionProviders:Ax,label:`Role finder`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find role matches for a given companies like "CEO" or "CFO".`,tags:[G.PEOPLE_PROFILES],keywords:[`job title`,`title`,`ceo`,`executive`,`decision maker`,`employee`],docPath:q(Dx),billableOperations:Px,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:Nx(null),defaultPayload:{pipe_id:Dx,run_if:null,connector:null,config:{roles:[],providers:jx,input_fields:{company_domain:{alias:``}},output_fields:{role_finder_match:{alias:``,enabled:!0}}}}},Rx=`person:mobile:profileurl:waterfall@1`,zx=g(`profile_url`),Bx=g(`mobile`),Vx=[`leadmagic`,`prospeo`,`amplemarket`,`findymail`],Hx=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`findymail`}],Ux=r.object({pipe_id:r.literal(Rx),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:Hx,availableProviders:Vx}),input_fields:z(r.object({[zx.name]:E({fieldName:zx.name})})),output_fields:R(r.object({[Bx.name]:k({fieldName:Bx.name})}))}).optional()}),Wx=e=>H(J(zx,e)),Gx={"person-mobile-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:5,level1:{credits:3,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:6,level1:{credits:4,weight:1}},mode:`onSuccess`},"person-mobile-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:4,level1:{credits:3,weight:1}},mode:`onSuccess`}},Kx=class extends U{pipeId=Rx;payload;payloadSchema=Ux;billableOperations=Gx;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return Wx(this.payload.config)}getRawOutputFields(){return{[Bx.name]:this.catalogOutput(Bx,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_lookup`,prospeo:`prospeo_phone_number_lookup`,findymail:`findymail_phone_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},qx=Ux,Jx={pipeId:Rx,basePipe:K(Rx),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:q(Rx),tags:[G.PHONE,G.WATERFALL],keywords:[`phone`,`phone number`,`cell`,`direct dial`],billableOperations:Gx,defaultInputRequirement:Wx(null),inputFieldMode:`static`,outputFieldMode:`static`,managedProviders:Vx,allowedUserConnectionProviders:Vx,deprecatedProviders:[],defaultPayload:{pipe_id:Rx,connector:null,run_if:null,config:{providers:Hx,input_fields:{profile_url:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},Yx=`person:mobile:workemail:waterfall@1`,Xx=g(`work_email`),Zx=g(`mobile`),Qx=[`leadmagic`,`amplemarket`],$x=[{provider:`leadmagic`},{provider:`amplemarket`}],eS=r.object({pipe_id:r.literal(Yx),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:Qx,defaultProviders:$x}),input_fields:z(r.object({[Xx.name]:E({fieldName:Xx.name})})),output_fields:R(r.object({[Zx.name]:k({fieldName:Zx.name})}))}).optional()}),tS=e=>H(J(Xx,e)),nS={"person-mobile-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-mobile-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:5,level1:{credits:4,weight:1}},mode:`onSuccess`}},rS=class extends U{pipeId=Yx;payload;payloadSchema=eS;billableOperations=nS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return tS(this.payload.config)}getRawOutputFields(){return{[Zx.name]:this.catalogOutput(Zx,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},iS=eS,aS={pipeId:Yx,basePipe:K(Yx),label:`Mobile number from email`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a mobile phone number for a prospect.`,tags:[G.PHONE,G.WATERFALL],keywords:[`phone`,`phone number`,`cell`,`direct dial`],docPath:q(Yx),billableOperations:nS,defaultInputRequirement:tS(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:Qx,managedProviders:Qx,deprecatedProviders:[],defaultPayload:{pipe_id:Yx,connector:null,run_if:null,config:{providers:$x,input_fields:{work_email:{alias:``}},output_fields:{mobile:{alias:``,enabled:!0}}}}},oS=`person:name:join@1`,sS=g(`first_name`),cS=g(`last_name`),lS=g(`name`),uS=r.object({pipe_id:r.literal(oS),run_if:x(),connector:w(),config:r.object({input_fields:z(r.object({[sS.name]:E({fieldName:sS.name}),[cS.name]:E({fieldName:cS.name})})),output_fields:R(r.object({[lS.name]:k({fieldName:lS.name})}))}).optional()}),dS=e=>Pc(J(sS,e),J(cS,e)),fS={"person-name-join-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},pS=class extends U{pipeId=oS;payload;payloadSchema=uS;billableOperations=fS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`person-name-join-v1-pipe0`)}getInputRequirement(){return dS(this.payload.config)}getRawOutputFields(){return{[lS.name]:this.catalogOutput(lS)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},mS=uS,hS={pipeId:oS,basePipe:K(oS),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:[G.NAMES],keywords:[`combine`,`concatenate`,`merge`,`first`,`last`,`full`],docPath:q(oS),billableOperations:fS,defaultInputRequirement:dS(null),inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:oS,run_if:null,connector:null,config:{input_fields:{first_name:{alias:``},last_name:{alias:``}},output_fields:{name:{alias:``,enabled:!0}}}}},gS=`person:name:split@1`,_S=g(`name`),vS=g(`first_name`),yS=g(`last_name`),bS=r.object({pipe_id:r.literal(gS),connector:w(),run_if:x(),config:r.object({input_fields:z(r.object({[_S.name]:E({fieldName:_S.name})})),output_fields:R(r.object({[vS.name]:k({fieldName:vS.name}),[yS.name]:k({fieldName:yS.name})}))}).optional()}),xS=e=>H(J(_S,e)),SS={"person-name-split-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},CS=class extends U{pipeId=gS;payload;payloadSchema=bS;billableOperations=SS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`person-name-split-v1-pipe0`)}getInputRequirement(){return xS(this.payload.config)}getRawOutputFields(){return{[vS.name]:this.catalogOutput(vS),[yS.name]:this.catalogOutput(yS)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_logic`,allowManagedConnection:!0}]}},wS=bS,TS={pipeId:gS,basePipe:K(gS),label:`Split name`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Split a full name into first and last name.`,tags:[G.NAMES],keywords:[`parse`,`separate`,`first`,`last`,`full`],docPath:q(gS),billableOperations:SS,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:xS(null),allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:gS,run_if:null,connector:void 0,config:{input_fields:{name:{alias:``}},output_fields:{first_name:{alias:``,enabled:!0},last_name:{alias:``,enabled:!0}}}}},ES=`person:personalemail:profileurl:waterfall@1`,DS=g(`profile_url`),OS=g(`personal_email`),kS=g(`alternate_personal_emails`),AS=[`leadmagic`,`mixrank`],jS=[{provider:`leadmagic`},{provider:`mixrank`}],MS=r.object({pipe_id:r.literal(ES),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:AS,defaultProviders:jS}),input_fields:z(r.object({[DS.name]:E({fieldName:DS.name})})),output_fields:R(r.object({[OS.name]:k({fieldName:OS.name}),[kS.name]:k({fieldName:kS.name})}))}).optional()}),NS=e=>H(J(DS,e)),PS={"person-personalemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-personalemail-profileurl-waterfall-v1-mixrank":{provider:`mixrank`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`}},FS=class extends U{pipeId=ES;payload;payloadSchema=MS;billableOperations=PS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return NS(this.payload.config)}getRawOutputFields(){return{[OS.name]:this.catalogOutput(OS,{isPrimaryOutput:!0}),[kS.name]:this.catalogOutput(kS)}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_personal_email_finder`,mixrank:`mixrank-person-match`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},IS=MS,LS={pipeId:ES,basePipe:K(ES),allowedUserConnectionProviders:AS,managedProviders:AS,deprecatedProviders:[],label:`Personal email from LinkedIn`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find the personal email address of a prospect by using a professional profile URL as input.`,tags:[G.EMAIL,G.PERSONAL_EMAIL],keywords:[`gmail`,`private`,`consumer`,`contact`],docPath:q(ES),billableOperations:PS,defaultInputRequirement:NS(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:ES,connector:null,run_if:null,config:{providers:jS,input_fields:{profile_url:{alias:``}},output_fields:{personal_email:{alias:``,enabled:!0},alternate_personal_emails:{alias:``,enabled:!1}}}}},RS=g(`profile_url`),zS=g(`post_list_string`),BS=g(`crustdata_post_list`),VS=`person:posts:content:crustdata@1`,HS=r.object({pipe_id:r.literal(VS),run_if:x(),connector:C(),config:r.object({limit:Hs({path:`config.limit`,groupPath:`config.general`,max:100,min:1,sectionKey:`general`,info:``,label:`Limit`,legend:`Max. 100`}),input_fields:z(r.object({[RS.name]:E({fieldName:RS.name})})),output_fields:R(r.object({[zS.name]:k({fieldName:zS.name}),[BS.name]:k({fieldName:BS.name})}))}).optional()}),US=e=>H(J(RS,e)),WS={"person-posts-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`,note:`1.5 credits per post. Posts are fetched in increments of 5.`,provider:`crustdata`}},GS=class extends U{pipeId=VS;payload;payloadSchema=HS;billableOperations=WS;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return Y(e,`person-posts-crustdata-v1-crustdata`)}getInputRequirement(){return US(this.payload.config)}getRawOutputFields(){return{[zS.name]:this.catalogOutput(zS),[BS.name]:this.catalogOutput(BS)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_post_fetch`,allowManagedConnection:!0}]}},KS=HS,qS={pipeId:VS,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(VS),label:`LinkedIn posts`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find list of recent LinkedIn posts.`,tags:[G.LINKEDIN],keywords:[`activity`,`content`,`social`,`updates`,`engagement`,`feed`],docPath:q(VS),billableOperations:WS,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:US(null),defaultPayload:{pipe_id:VS,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}}}}},JS=`person:profile:waterfall@1`,YS=g(`profile`),XS=g(`profile_url`),ZS=[`prospeo`,`icypeas`,`amplemarket`],QS=[{provider:`amplemarket`},{provider:`prospeo`},{provider:`icypeas`}],$S=r.object({pipe_id:r.literal(JS),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,availableProviders:ZS,defaultProviders:QS}),input_fields:z(r.object({[XS.name]:E({fieldName:XS.name})})),output_fields:R(r.object({[YS.name]:k({fieldName:YS.name})}))}).optional()}),eC=e=>H(J(XS,e)),tC={"person-profile-waterfall-v1-icypeas":{provider:`icypeas`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-prospeo":{provider:`prospeo`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0},"person-profile-waterfall-v1-amplemarket":{provider:`amplemarket`,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`,allowManagedConnection:!0}},nC=class extends U{pipeId=JS;payload;payloadSchema=$S;billableOperations=tC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return eC(this.payload.config)}getRawOutputFields(){return{[YS.name]:this.catalogOutput(YS,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={icypeas:`icypeas_scrape_profile`,prospeo:`prospeo_social_profile_lookup`,amplemarket:`amplemarket-person-reveal`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},rC=$S,iC={pipeId:JS,basePipe:K(JS),label:`Full LinkedIn profile`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find a JSON representation of a LinkedIn profile.`,docPath:q(JS),tags:[G.LINKEDIN,G.WATERFALL],keywords:[`enrich`,`enrichment`,`json`,`scrape`,`bio`,`experience`],managedProviders:ZS,deprecatedProviders:[],allowedUserConnectionProviders:ZS,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:tC,defaultInputRequirement:eC(null),defaultPayload:{pipe_id:JS,run_if:null,connector:null,config:{providers:QS,input_fields:{profile_url:{alias:``}},output_fields:{profile:{alias:``,enabled:!0}}}}},aC=g(`work_email`),oC=g(`crustdata_person_match`),sC=g(`crustdata_profile_match_score`),cC=`person:profile:workemail:crustdata@1`,lC=r.object({pipe_id:r.literal(cC),run_if:x(),connector:C(),config:r.object({input_fields:z(r.object({[aC.name]:E({fieldName:aC.name})})),output_fields:R(r.object({[oC.name]:k({fieldName:oC.name}),[sC.name]:k({fieldName:sC.name})}))}).optional()}),uC=e=>H(J(aC,e)),dC={"person-profile-workemail-crustdata-v1-crustdata":{allowManagedConnection:!0,credits:{default:5},mode:`onSuccess`,provider:`crustdata`}},fC=class extends U{pipeId=cC;payload;payloadSchema=lC;billableOperations=dC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`crustdata`]}estimateBillableOperations(e){return Y(e,`person-profile-workemail-crustdata-v1-crustdata`)}getInputRequirement(){return uC(this.payload.config)}getRawOutputFields(){return{[oC.name]:this.catalogOutput(oC),[sC.name]:this.catalogOutput(sC)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitRatio:1,rateLimitOperation:`crustdata_realtime_person_enrich`,allowManagedConnection:!0}]}},pC=lC,mC={pipeId:cC,inputFieldMode:`static`,outputFieldMode:`static`,basePipe:K(cC),label:`Profile from work email`,executionMode:`single`,categories:[`people_data`],lifecycle:null,description:`Find person profile by their work email address.`,tags:[G.EMAIL,G.PEOPLE_PROFILES],keywords:[`enrich`,`enrichment`,`reverse lookup`,`linkedin`,`person`],docPath:q(cC),billableOperations:dC,allowedUserConnectionProviders:[`crustdata`],managedProviders:[`crustdata`],deprecatedProviders:[],defaultInputRequirement:uC(null),defaultPayload:{pipe_id:cC,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}}}}},hC=`person:profileurl:email:waterfall@1`,gC=g(`email`),_C=g(`work_email`),vC=g(`profile_url`),yC=[`leadmagic`],bC=[{provider:`leadmagic`}],xC=r.object({pipe_id:r.literal(hC),run_if:x(),connector:C(),config:r.object({providers:D({sectionKey:`general`,defaultProviders:bC,availableProviders:yC}),input_fields:z(r.object({[gC.name]:E({fieldName:gC.name}),[_C.name]:E({fieldName:_C.name})})),output_fields:R(r.object({[vC.name]:k({fieldName:vC.name})}))}).optional()}),SC=e=>Fc(J(gC,e),J(_C,e)),CC={"person-profileurl-email-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:3.5},mode:`onSuccess`}},wC=class extends U{pipeId=hC;payload;payloadSchema=xC;billableOperations=CC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return SC(this.payload.config)}getRawOutputFields(){return{[vC.name]:this.catalogOutput(vC,{isPrimaryOutput:!0})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_to_b2b_profile`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},TC=xC,EC={pipeId:hC,basePipe:K(hC),managedProviders:yC,deprecatedProviders:[],allowedUserConnectionProviders:yC,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:[G.LINKEDIN],keywords:[`profile`,`reverse lookup`,`social`,`person`],docPath:q(hC),billableOperations:CC,inputFieldMode:`static`,outputFieldMode:`static`,defaultInputRequirement:SC(null),defaultPayload:{pipe_id:hC,run_if:null,connector:null,config:{providers:bC,input_fields:{email:{alias:``},work_email:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},DC=`person:profileurl:name@1`,OC=g(`name`),kC=g(`company_name`),AC=g(`location_hint`),jC=g(`profile_url`),MC=r.object({pipe_id:r.literal(DC),connector:w(),run_if:x(),config:r.object({input_fields:z(r.object({[OC.name]:E({fieldName:OC.name}),[kC.name]:E({fieldName:kC.name}),[AC.name]:E({fieldName:AC.name})})),output_fields:R(r.object({[jC.name]:k({fieldName:jC.name})}))}).optional()}),NC=e=>Pc(H(J(OC,e)),H(J(kC,e)),Ic(J(AC,e))),PC={"person-profileurl-name-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:.6},mode:`always`}},FC=class extends U{pipeId=DC;payload;payloadSchema=MC;billableOperations=PC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`person-profileurl-name-v1-pipe0`)}getInputRequirement(){return NC(this.payload.config)}getRawOutputFields(){return{[jC.name]:this.catalogOutput(jC)}}getConnectionsRequirements(){return[{provider:`serper`,rateLimitRatio:1,rateLimitOperation:`serper_search`,allowManagedConnection:!0}]}},IC=MC,LC={pipeId:DC,basePipe:K(DC),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:q(DC),tags:[G.LINKEDIN],keywords:[`profile`,`social`,`lookup`,`person`],billableOperations:PC,defaultInputRequirement:NC(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:DC,connector:void 0,run_if:null,config:{input_fields:{company_name:{alias:``},location_hint:{alias:``},name:{alias:``}},output_fields:{profile_url:{alias:``,enabled:!0}}}}},RC=`person:workemail:profileurl:waterfall@1`,zC=g(`profile_url`),BC=g(`work_email`),VC=g(`email_validation_status`),HC=[`hunter`,`amplemarket`,`findymail`,`leadmagic`,`crustdata`],UC=[{provider:`hunter`},{provider:`amplemarket`},{provider:`leadmagic`},{provider:`findymail`},{provider:`crustdata`}],WC=r.object({pipe_id:r.literal(RC),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:HC,defaultProviders:UC,sectionKey:`general`}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:``,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Higher chance of bouncing or being marked as spam.`,label:`Allow risky emails`}),input_fields:z(r.object({[zC.name]:E({fieldName:zC.name})})),output_fields:R(r.object({[BC.name]:k({fieldName:BC.name}),[VC.name]:k({fieldName:VC.name})}))}).optional()}),GC=e=>H(J(zC,e)),KC={"person-workemail-profileurl-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:2,level1:{credits:.7,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-crustdata":{provider:`crustdata`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`},"person-workemail-profileurl-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:2.5,level1:{credits:1.5,weight:1}},mode:`onSuccess`}},qC=class extends U{pipeId=RC;payload;payloadSchema=WC;billableOperations=KC;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return GC(this.payload.config)}getRawOutputFields(){return{[BC.name]:this.catalogOutput(BC,{isPrimaryOutput:!0}),[VC.name]:this.catalogOutput(VC,{isPrimaryOutput:!1})}}getConnectionsRequirements(){let e={leadmagic:`leadmagic_email_b2b_lookup`,hunter:`prospeo_email_lookup`,amplemarket:`amplemarket-person-reveal`,findymail:`findymail_email_b2b_lookup`,crustdata:`crustdata_realtime_person_enrich`};return(this.payload.config?.providers||[]).map((t,n)=>({provider:t.provider,rateLimitRatio:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},JC=WC,YC={pipeId:RC,basePipe:K(RC),label:`Work email from LinkedIn URL`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses from B2B profile.`,tags:[G.EMAIL,G.WORK_EMAIL,G.WATERFALL],keywords:[`business email`,`b2b`,`corporate`,`contact`],docPath:q(RC),managedProviders:HC,allowedUserConnectionProviders:HC,deprecatedProviders:[],inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:KC,defaultInputRequirement:GC(null),defaultPayload:{pipe_id:RC,connector:null,run_if:null,config:{providers:UC,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}}}}},XC=`person:workemail:waterfall@1`,ZC=g(`name`),QC=g(`company_domain`),$C=g(`company_name`),ew=g(`work_email`),tw=g(`email_validation_status`),nw=[`leadmagic`,`prospeo`,`amplemarket`,`hunter`,`icypeas`,`findymail`],rw=[{provider:`leadmagic`},{provider:`prospeo`},{provider:`amplemarket`},{provider:`hunter`},{provider:`icypeas`},{provider:`findymail`}],iw={"person-workemail-waterfall-v1-leadmagic":{provider:`leadmagic`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-icypeas":{provider:`icypeas`,allowManagedConnection:!0,credits:{default:.5,level1:{credits:.25,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-prospeo":{provider:`prospeo`,allowManagedConnection:!0,credits:{default:1,level1:{credits:.5,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-findymail":{provider:`findymail`,allowManagedConnection:!0,credits:{default:1.5,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-hunter":{provider:`hunter`,allowManagedConnection:!0,credits:{default:1.3,level1:{credits:.75,weight:1}},mode:`onSuccess`},"person-workemail-waterfall-v1-amplemarket":{provider:`amplemarket`,allowManagedConnection:!0,credits:{default:3,level1:{credits:2,weight:1}},mode:`onSuccess`}},aw=r.object({pipe_id:r.literal(XC),connector:C(),run_if:x(),config:r.object({providers:D({availableProviders:nw,defaultProviders:rw,sectionKey:`general`,providerCredits:Zc(iw,nw)}),allow_catch_all_emails:O({path:`config.allow_catch_all_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`Catch-alls appear valid but remain undeliverable-risk.`,label:`Allow catch-all emails`}),allow_risky_emails:O({path:`config.allow_risky_emails`,defaultValue:!0,groupPath:`config.general`,sectionKey:`general`,info:`DNS configuration and spam reputation may flag emails as high-risk.`,label:`Allow risky emails`}),input_fields:z(r.object({[ZC.name]:E({fieldName:ZC.name}),[QC.name]:E({fieldName:QC.name}),[$C.name]:E({fieldName:$C.name})})),output_fields:R(r.object({[ew.name]:k({fieldName:ew.name}),[tw.name]:k({fieldName:tw.name})}))}).optional()}),ow=e=>Pc(H(J(ZC,e)),Fc(J(QC,e),J($C,e))),sw=class extends U{pipeId=XC;payload;payloadSchema=aw;billableOperations=iw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return this.payload.config?.providers.map(e=>e.provider)||[]}estimateBillableOperations(e){return Y(e,...this.getProviderNames().map(e=>Z(e,this.billableOperations).billableOperation))}getInputRequirement(){return ow(this.payload.config)}getRawOutputFields(){return{[ew.name]:this.catalogOutput(ew,{isPrimaryOutput:!0}),[tw.name]:this.catalogOutput(tw,{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:X(n),rateLimitOperation:e[t.provider],allowManagedConnection:!0}))}},cw=aw,lw={pipeId:XC,basePipe:K(XC),label:`Work email from name`,executionMode:`waterfall`,categories:[`people_data`],lifecycle:null,description:`Find work email addresses in a waterfall motion.`,tags:[G.EMAIL,G.WORK_EMAIL,G.WATERFALL],keywords:[`business email`,`b2b`,`corporate`,`contact`],docPath:q(XC),managedProviders:nw,deprecatedProviders:[],allowedUserConnectionProviders:nw,inputFieldMode:`static`,outputFieldMode:`static`,billableOperations:iw,defaultInputRequirement:ow(null),defaultPayload:{pipe_id:XC,connector:null,run_if:null,config:{providers:rw,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}}}}},uw=`prompt:run@1`,dw=`prompt-run-v1`,fw=xo(dw),pw=r.object({pipe_id:r.literal(uw),connector:C(),run_if:x(),config:r.object({prompt:ds({sectionKey:`general`,path:`config.prompt`,placeholder:W(`prompt`),groupPath:`config.prompt`,supportedTags:[`input`,`output`]}),model:Bs({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.prompt`,billableOperations:fw})})}),mw=class extends U{pipeId=uw;payload;payloadSchema=pw;billableOperations=fw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return mo(this.payload.config.model)}estimateBillableOperations(e){return Co(e,{model:this.payload.config.model,prefix:dw,inputTokens:600,outputTokens:800})}getInputRequirement(){return Jc([this.payload.config.prompt.template])}getSecretRequirements(){return Yc([this.payload.config.prompt.template])}getConstantRequirements(){return Xc([this.payload.config.prompt.template])}getRawOutputFields(){let e=this.payload.config.prompt.template,t=this.payload.config.prompt.json_schemas??{},n={},r;try{r=Ta(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 ho(this.payload.config.model)}},hw=pw,gw={pipeId:uw,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:K(uw),label:`AI prompt`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,description:`Executes configurable AI prompts with structured output fields.`,guide:`General-purpose AI prompt runner. Inputs and outputs are fully dynamic โ defined by the tags in the prompt template. For extracting a value from a JSON / known-schema field, do NOT use this โ use the deterministic json:extract:multi@1 (JSONata) instead: it's cheaper, reproducible, and runs on a schedule with no model. Reserve prompt:run@1 for genuine judgment or free-text generation (classify, summarize, rewrite).`,tags:[G.AI],keywords:[`llm`,`gpt`,`chatgpt`,`openai`,`generate`,`classify`,`extract`],docPath:q(uw),defaultInputRequirement:null,billableOperations:fw,allowedUserConnectionProviders:go(),managedProviders:go(),deprecatedProviders:[],defaultPayload:{pipe_id:uw,connector:null,run_if:null,config:{model:`openai-high`,prompt:{template:``,json_schemas:{}}}}},_w=r.array(r.object({field_name:r.string(),entry_field:r.string().optional()})).check(e=>{let t=new Set;e.value.forEach((n,r)=>{n.field_name.length<1&&e.issues.push({code:`custom`,input:n.field_name,path:[r,`field_name`],message:`Map every bucket field to a row column.`});let i=n.entry_field?.trim()||n.field_name;i&&t.has(i)&&e.issues.push({code:`custom`,input:i,path:[r,`entry_field`],message:`Duplicate bucket field "${i}".`}),i&&t.add(i)})}).check(e=>{e.value.length<1&&e.issues.push({code:`custom`,input:e.value,message:`Map at least one field.`})}),vw=()=>r.string().nullable().default(``),yw=e=>({requires:{connection:`pipe0`},enabledIf:no(`pipe0`,`Select a pipe0 connection to see bucket suggestions`),options:async({query:t,client:n})=>n?(await n.buckets.list({query:t,type:e})).map(e=>({label:e.name&&e.name!==e.slug?`${e.name} (${e.slug})`:e.slug,value:e.slug,data:{contract:e.contract,type:e.type}})):[],widgets:{provider_logo:{provider:`pipe0`}}}),bw=e=>{let t=r.union([r.string(),r.array(r.string())]).check(e=>{(e.value===``||Array.isArray(e.value)&&e.value.length===0)&&e.issues.push({code:`custom`,input:e.value,message:`Required`})}),n={type:`context_select_input`,label:`Bucket`,info:`Pick an existing bucket (its identifying fields appear below for mapping), or type a new slug and choose Create โ the new bucket's schema is built from the columns you pick and written on first run (requires 'Allow bucket creation').`,groupPath:`config.general`,sectionKey:`general`,path:`config.bucket`,required:!0,allowCreate:!0,placeholder:`Select or create a bucketโฆ`,optionsDef:yw(e),options:[],mappingPath:`config.entry_fields`,contractPath:`config.contract`,keyLabel:`Bucket field`},i=e=>{let t=e.validationContext,r=t?Object.entries(t.fieldDefinitions).filter(([e])=>e.toLowerCase()!==`id`).map(([e,t])=>({value:e,label:e,widgets:{field_type:{type:t.type}}})):[];return{...n,fieldOptions:r}};return i.staticMeta=n,_.add(t,i),t},xw={on_own_entry:[{value:`proceed`,label:`Proceed (at-least-once)`},{value:`block`,label:`Block (at-most-once)`}],on_missing:[{value:`proceed`,label:`Treat as part of the entry`},{value:`block`,label:`Skip the row`}]},Sw=()=>Ls({label:`New bucket: name`,path:`config.new_bucket_name`,groupPath:`config.bucket_creation`,sectionKey:`general`,inputType:`text`,placeholder:`CRM contacts`,maxLength:120}).nullable().default(``),Cw=()=>({new_bucket_name:Sw(),new_bucket_ttl_in_seconds:Hs({label:`New bucket: TTL (seconds)`,description:`Claims expire after this many seconds. Empty = never.`,path:`config.new_bucket_ttl_in_seconds`,groupPath:`config.bucket_creation`,sectionKey:`general`,min:1}).nullable().default(null),new_bucket_own_entry_behavior:zs({label:`New bucket: own entry re-claimed`,description:`What happens when a row re-claims an entry it already wrote.`,path:`config.new_bucket_own_entry_behavior`,groupPath:`config.bucket_creation`,sectionKey:`general`,required:!1,options:xw.on_own_entry}).default(`block`),new_bucket_missing_value_behavior:zs({label:`New bucket: missing values`,description:`Proceed treats missing values as part of the entry; Block skips the row.`,path:`config.new_bucket_missing_value_behavior`,groupPath:`config.bucket_creation`,sectionKey:`general`,required:!1,options:xw.on_missing}).default(`proceed`)}),ww=()=>({new_bucket_name:Sw(),new_bucket_start:Hs({label:`New bucket: start`,description:`First number the counter assigns.`,path:`config.new_bucket_start`,groupPath:`config.bucket_creation`,sectionKey:`general`}).nullable().default(1),new_bucket_step:Hs({label:`New bucket: step`,description:`Increment between assigned numbers.`,path:`config.new_bucket_step`,groupPath:`config.bucket_creation`,sectionKey:`general`,min:1}).nullable().default(1)}),Tw={provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_api_operation`,allowManagedConnection:!0};function Ew(e){let t=at(e.contract),n=e.entry_fields??[],r=[Jc([Qe(e.bucket)],{expectedType:`string`,expectedFormat:`text`})],i=n.map(e=>{let{column:n,bucketField:r}=Xe(e),i=t?.input_fields[r]?.type;return H({name:n,resolvedName:n,label:``,description:``,type:i?()=>i:e=>qc(e,n)?.type||`unknown`,format:null})});return i.length>0&&r.push(Fc(...i)),Pc(...r)}function Dw(e){return Yc([Qe(e.bucket)])}function Ow(e){return Xc([Qe(e.bucket)])}const kw=`bucket:claim@1`,Aw=g(`is_claim_successful`),jw=r.object({pipe_id:r.literal(kw),connector:ms(),run_if:x(),config:r.object({bucket:bw(`claim`),entry_fields:_w,contract:vw(),...Cw(),allow_bucket_creation:O({label:`Allow bucket creation`,description:`Create the bucket (typed as a claim bucket from this pipe's fields) on first write if it does not already exist. Off by default.`,defaultValue:!1,groupPath:`config.general`,path:`config.allow_bucket_creation`,sectionKey:`general`}),output_fields:R(r.object({[Aw.name]:k({fieldName:Aw.name})}))})}),Mw={"bucket-claim-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Nw=class extends U{pipeId=kw;payload;payloadSchema=jw;billableOperations=Mw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`bucket-claim-v1-pipe0`)}getInputRequirement(){return Ew(this.payload.config)}getSecretRequirements(){return Dw(this.payload.config)}getConstantRequirements(){return Ow(this.payload.config)}getBucketRequirements(){let e=Qe(this.payload.config.bucket);return!e||e.includes(`{{`)?[]:[{slug:e,type:`claim`,schema:at(this.payload.config.contract),allowCreation:this.payload.config.allow_bucket_creation??!1}]}getRawOutputFields(){return{[Aw.name]:this.catalogOutput(Aw)}}getConnectionsRequirements(){return[Tw]}},Pw=jw,Fw={pipeId:kw,basePipe:K(kw),label:`Claim`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Claim an entry in a bucket (write-if-absent). Wins (is_claim_successful: true) or finds the entry already taken (no_result). Put this before a write pipe to guard against duplicates across sheets, runs, and time.`,guide:`Claim an identity in a claim bucket before an irreversible action (an append, a send). Map the identifying field(s) via entry_fields (bucket field โ row column alias); the bucket's slug is org-unique. If is_claim_successful:true this row is the first to write this entry โ let the guarded pipe run on it. If the entry already exists the pipe resolves no_result, which SKIPS every downstream pipe depending on this output โ so a duplicate never reaches the writer. Dedup (no TTL), time gates (bucket TTL), suppression (populate here, consult with bucket:check@1) and idempotent writes are all this one op. Behavior lives on the bucket, not the pipe: ttl_seconds (an expired entry can be claimed again โ a frequency gate), on_own_entry ('proceed' = the row that wrote an entry re-claims it successfully on re-runs, at-least-once; 'block' = it can't, at-most-once โ the default), and on_missing. Missing values follow on_missing: 'proceed' stores them as empty (null) parts of the entry, so rows missing the same fields dedupe against each other while ('Tom','t@t.com') stays distinct from (null,'t@t.com'); 'block' resolves no_result; a row where EVERY identifying value is missing is always skipped. allow_bucket_creation (default off) creates the bucket, typed from the mapped fields, on first write; the new_bucket_* settings (name, TTL, own-entry, missing-value policy) configure ONLY that newly created bucket and are ignored when it already exists โ an existing bucket's policy is edited in the dash, not from a pipe. FREE pipe0 operation; requires a pipe0 connection (list_connections).`,docPath:q(kw),tags:[G.FIELDS],keywords:[`dedupe`,`deduplicate`,`duplicate`,`guard`,`reserve`,`idempotent`,`lock`],billableOperations:Mw,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:kw,connector:{strategy:`first`,connections:[]},run_if:null,config:{bucket:``,entry_fields:[],contract:``,new_bucket_name:``,new_bucket_ttl_in_seconds:null,new_bucket_own_entry_behavior:`block`,new_bucket_missing_value_behavior:`proceed`,allow_bucket_creation:!1,output_fields:{is_claim_successful:{alias:``,enabled:!0}}}}},Iw=`bucket:check@1`,Lw=g(`found_in_bucket`),Rw=r.object({pipe_id:r.literal(Iw),connector:ms(),run_if:x(),config:r.object({bucket:bw(`claim`),entry_fields:_w,contract:vw(),output_fields:R(r.object({[Lw.name]:k({fieldName:Lw.name})}))})}),zw={"bucket-check-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},Bw=class extends U{pipeId=Iw;payload;payloadSchema=Rw;billableOperations=zw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`bucket-check-v1-pipe0`)}getInputRequirement(){return Ew(this.payload.config)}getSecretRequirements(){return Dw(this.payload.config)}getConstantRequirements(){return Ow(this.payload.config)}getBucketRequirements(){let e=Qe(this.payload.config.bucket);return!e||e.includes(`{{`)?[]:[{slug:e,type:`claim`,schema:at(this.payload.config.contract),allowCreation:!1}]}getRawOutputFields(){return{[Lw.name]:this.catalogOutput(Lw)}}getConnectionsRequirements(){return[Tw]}},Vw=Rw,Hw={pipeId:Iw,basePipe:K(Iw),label:`Check`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Look up an entry in an existing claim bucket WITHOUT writing. Present โ no_result (e.g. suppressed); absent โ completed. For suppression / do-not-contact / already-seen gates.`,guide:`Consult a claim bucket read-only before an action โ the canonical suppression / do-not-contact gate. Map the identifying field(s) via entry_fields. If the entry is PRESENT (and live) the pipe resolves no_result, skipping downstream pipes (the send/append is suppressed); if ABSENT it completes and downstream runs. Unlike bucket:claim@1 this NEVER writes or creates โ the list is curated elsewhere (a bucket:claim@1 writer, an import, or the Assets tab), so readers can't corrupt it. Missing values follow the bucket's on_missing policy: 'proceed' looks up the entry with those values stored as empty (the mirror of what bucket:claim@1 wrote for a row missing the same fields); 'block' resolves no_result; a row where EVERY identifying value is missing is always skipped. Requires an existing claim bucket. FREE pipe0 operation; requires a pipe0 connection.`,docPath:q(Iw),tags:[G.FIELDS],keywords:[`suppression`,`do not contact`,`blocklist`,`lookup`,`exclude`,`gate`,`dedupe`],billableOperations:zw,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Iw,connector:{strategy:`first`,connections:[]},run_if:null,config:{bucket:``,entry_fields:[],contract:``,output_fields:{found_in_bucket:{alias:``,enabled:!0}}}}},Uw=`bucket:count@1`,Ww=g(`bucket_counter`),Gw=r.object({pipe_id:r.literal(Uw),connector:ms(),run_if:x(),config:r.object({bucket:bw(`counter`),entry_fields:_w,contract:vw(),...ww(),allow_bucket_creation:O({label:`Allow bucket creation`,description:`Create the bucket (typed as a counter bucket from this pipe's fields) on first write if it does not already exist. Off by default.`,defaultValue:!1,groupPath:`config.general`,path:`config.allow_bucket_creation`,sectionKey:`general`}),output_fields:R(r.object({[Ww.name]:k({fieldName:Ww.name})}))})}),Kw={"bucket-count-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},qw=class extends U{pipeId=Uw;payload;payloadSchema=Gw;billableOperations=Kw;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`bucket-count-v1-pipe0`)}getInputRequirement(){return Ew(this.payload.config)}getSecretRequirements(){return Dw(this.payload.config)}getConstantRequirements(){return Ow(this.payload.config)}getBucketRequirements(){let e=Qe(this.payload.config.bucket);return!e||e.includes(`{{`)?[]:[{slug:e,type:`counter`,schema:at(this.payload.config.contract),allowCreation:this.payload.config.allow_bucket_creation??!1}]}getRawOutputFields(){return{[Ww.name]:this.catalogOutput(Ww)}}getConnectionsRequirements(){return[Tw]}},Jw=Gw,Yw={pipeId:Uw,basePipe:K(Uw),label:`Count`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Assign the next sequence number to an entry in a counter bucket, exactly once (a re-run returns the same number). The building block for round-robin lead routing.`,guide:`Give each unique entry its own stable number from a counter bucket. Map the identifying field(s) via entry_fields (bucket field โ row column alias). A NEW entry takes the next number (bucket.start, then +step); an entry that already has a number returns that SAME number on every re-run โ so assignments are stable and re-run-safe. Compose round-robin routing: a sellers sheet + this counter + (seller_index = (value - 1) mod seller_count) + a row lookup by that ordinal. Behavior (start, step) lives on the bucket. A row with ANY missing identifying value gets no number (no_result) โ counters have no missing-value policy. allow_bucket_creation (default off) creates the counter bucket on first write; new_bucket_start/new_bucket_step configure ONLY that newly created bucket and are ignored when it already exists. FREE pipe0 operation; requires a pipe0 connection.`,docPath:q(Uw),tags:[G.FIELDS],keywords:[`counter`,`sequence`,`increment`,`numbering`,`bucket`],billableOperations:Kw,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:Uw,connector:{strategy:`first`,connections:[]},run_if:null,config:{bucket:``,entry_fields:[],contract:``,new_bucket_name:``,new_bucket_start:1,new_bucket_step:1,allow_bucket_creation:!1,output_fields:{bucket_counter:{alias:``,enabled:!0}}}}},Xw=[{label:`demo-leads`,value:`demo-leads`},{label:`demo-companies`,value:`demo-companies`},{label:`demo-contacts`,value:`demo-contacts`}],Zw=[{label:`Demo project`,value:`demo-project`},{label:`Sales pipeline`,value:`sales-pipeline`}];function Qw(e){let t=e?.config?.project;return typeof t==`string`&&t.length>0?t:void 0}function $w(e){if(!e||e.conditions.length===0)return null;let t=JSON.stringify({logic:e.logic,conditions:e.conditions.map(e=>[e.field_name,e.operator,e.value])}),n=2166136261;for(let e=0;e<t.length;e++)n^=t.charCodeAt(e),n=Math.imul(n,16777619)>>>0;return n.toString(16).padStart(8,`0`)}function eT(e,t,n){let r=e=>e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``).slice(0,40),i=`rr--${r(e)}--${r(t)}`;return n?`${i}--f-${r(n)}`:i}function tT(e,t){let n=e;for(let e of t.split(`.`)){if(typeof n!=`object`||!n)return;n=n[e]}return n}const nT={requires:{connection:`pipe0`},enabledIf:no(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Xw:t?(await t.sheets.list({query:e})).map(e=>({label:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},rT={requires:{connection:`pipe0`,fields:[`config.project`]},enabledIf:no(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n,payload:r})=>n===`sandbox`?Xw:t?(await t.sheets.list({query:e,projectSlug:Qw(r)})).map(e=>({label:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},iT={requires:{connection:`pipe0`},enabledIf:no(`pipe0`,`Select a pipe0 connection to see project suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?Zw:t?(await t.projects.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`}}},aT=[{value:`email`,label:`email`,data:{type:`string`,format:`email`}},{value:`name`,label:`name`,data:{type:`string`}},{value:`company`,label:`company`,data:{type:`string`}}],oT={"demo-leads":aT,"demo-companies":[{value:`domain`,label:`domain`,data:{type:`string`,format:`website_url`}},{value:`company_name`,label:`company_name`,data:{type:`string`}}],"demo-contacts":aT},sT=e=>({requires:{connection:`pipe0`,fields:[e.sheetPath]},enabledIf:no(`pipe0`,`Select a pipe0 connection to see column suggestions`),options:async({payload:t,client:n,environment:r})=>{let i=tT(t,e.sheetPath);return typeof i!=`string`||!i.trim()||i.includes(`{{`)?[]:r===`sandbox`?oT[i.trim()]??aT:n?(await n.sheets.fields({slug:i.trim()})).filter(t=>(e.includeJson||t.type!==`json`)&&t.name.toLowerCase()!==`id`).map(e=>({value:e.name,label:e.name,data:{type:String(e.type),...e.format?{format:String(e.format)}:{}}})):[]},widgets:{provider_logo:{provider:`pipe0`}}}),cT=`row:append:sheet@1`,lT=g(`sheet_record_id`),uT=g(`created_sheet`),dT=r.object({pipe_id:r.literal(cT),connector:ms(),run_if:x(),config:r.object({project:S({label:`Project`,info:"Project the destination sheet lives in (its org-unique slug). Pick an existing project or type a new slug โ a new project is created when `allow_entity_creation` is on.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.project`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:iT}),sheet:S({label:`Sheet ID`,info:'The destination sheet\'s identifier (its slug โ NOT the display name). Slugs are org-unique: pick an existing sheet to append into it, or type a NEW slug to create one โ a generic slug (e.g. "results", "companies") is likely to match an unrelated existing sheet, so for a new sheet use a short descriptive slug plus a few random chars (e.g. "ceos-x7k2") that can\'t collide. Type `@` to insert a field reference / `$` for a secret.',groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:rT,enabledIf:e=>e.config?.project?{disabled:!1}:{disabled:!0,message:`Select a project first`}}),run:O({defaultValue:!0,groupPath:`config.advanced`,path:`config.run`,sectionKey:`general`,description:`Auto-run sheet row after append action.`,label:`Run after append`}),allow_entity_creation:O({label:`Allow creating missing entities`,description:`Create missing fields, sheets, and projects as needed (unknown fields become columns; a missing sheet or project is created).`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_entity_creation`,sectionKey:`general`}),write_fields:Ss({label:`Fields`,info:`All fields are written if empty.`,groupPath:`config.general`,path:`config.write_fields`,sectionKey:`general`,disableSearch:!0}),output_fields:R(r.object({[lT.name]:k({fieldName:lT.name}),[uT.name]:k({fieldName:uT.name})}))})}),fT={"row-append-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},pT=class extends U{pipeId=cT;payload;payloadSchema=dT;billableOperations=fT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`row-append-sheet-v1-pipe0`)}getInputRequirement(){let e=[Jc([this.payload.config.project,this.payload.config.sheet],{expectedType:`string`,expectedFormat:`text`})];if(this.payload.config.write_fields?.length)for(let t of this.payload.config.write_fields)e.push(H({name:t.field_name,resolvedName:t.field_name,label:``,description:``,type:e=>{let n=qc(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 Pc(...e)}getSecretRequirements(){return Yc([this.payload.config.project,this.payload.config.sheet])}getConstantRequirements(){return Xc([this.payload.config.project,this.payload.config.sheet])}getRawOutputFields(){return{[lT.name]:this.catalogOutput(lT),[uT.name]:this.catalogOutput(uT)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_api_operation`,allowManagedConnection:!0}]}},mT=dT,hT={pipeId:cT,basePipe:K(cT),label:`Append row to sheet`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:"Add rows to a pipe0 sheet in a given project. config.project and config.sheet may each be a literal slug or a `{{ field_name }}` tag.",guide:`Append records to another pipe0 sheet. config.project (REQUIRED) is the destination project's org-unique slug โ when working inside a project, pass THAT project's slug (see CURRENT CONTEXT). config.sheet is the destination sheet's slug; both may be a \`{{ field }}\` tag for a per-row destination. With allow_entity_creation on, a missing project/sheet (and unknown fields) are created; if the sheet slug already exists in a DIFFERENT project the rows fail. Destination slugs are ORG-UNIQUE, so config.sheet addresses a sheet across your whole org: an existing slug REUSES that sheet (appending into it) when it's in config.project, and FAILS when it lives elsewhere โ so for a genuinely NEW sheet use a short descriptive slug plus 3-4 random alphanumeric chars (e.g. "ceos-x7k2") โ you cannot see other projects' slugs, so only the random suffix makes a new slug collision-proof; set the display name afterwards with sheet:update@1 config.name. To explode a LIST field into MANY rows (denormalize a 1:N relationship), use row:expandappend:sheet@1 instead. To bulk-copy existing rows across sheets, prefer the rows:copy_to_sheet@1 effect. NON-IDEMPOTENT: each run appends again, so re-running duplicates rows (and you cannot undo rows written to another sheet) โ dry-run the flow in sandbox first (env:change@1), and to retry after a partial failure adopt the succeeded cells (rows:adopt@1 with adopt_statuses:["completed"]) then rows:enrich@1. Requires a pipe0 connection (list_connections).`,docPath:q(cT),tags:[G.FIELDS],keywords:[`add`,`insert`,`write`,`push`,`export`],billableOperations:fT,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:cT,connector:{strategy:`first`,connections:[]},run_if:null,config:{project:``,sheet:``,run:!0,allow_entity_creation:!0,write_fields:[],output_fields:{sheet_record_id:{alias:``,enabled:!0},created_sheet:{alias:``,enabled:!0}}}}},gT=`row:expandappend:sheet@1`,_T=g(`sheet_record_ids`),vT=g(`input_objects`),yT=`expanded_value`,bT=r.object({pipe_id:r.literal(gT),connector:ms(),run_if:x(),config:r.object({project:S({label:`Project`,info:"Project the destination sheet lives in (its org-unique slug). Pick an existing project or type a new slug โ a new project is created when `allow_entity_creation` is on.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.project`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:iT}),sheet:S({label:`Sheet ID`,info:`The destination sheet's identifier (its slug โ NOT the display name). Slugs are org-unique: pick an existing sheet to write into it, or type a NEW slug to create one. A generic slug (e.g. "results", "companies") is likely to match an unrelated existing sheet, so for a new sheet use a short descriptive slug plus a few random chars (e.g. "ceos-x7k2") that can't collide.`,groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:rT,enabledIf:e=>e.config?.project?{disabled:!1}:{disabled:!0,message:`Select a project first`}}),run:O({defaultValue:!0,groupPath:`config.general`,path:`config.run`,sectionKey:`general`,info:`Enrich record after write. Ignored if target sheet writes to other sheets.`,label:`Run`}),allow_entity_creation:O({label:`Allow creating missing entities`,description:`Create missing entities as needed (a missing sheet or project is created, along with the output column on the destination).`,defaultValue:!0,groupPath:`config.advanced`,path:`config.allow_entity_creation`,sectionKey:`general`}),...Is({groupPath:`config.destination`,sectionKey:`general`,defaultName:yT,nameInfo:`Name of the field each list item is written to on the destination sheet. Each item is stored as-is (objects/arrays as one json cell); extract flat columns afterwards with json:extract:multi@1.`}),input_fields:z(r.object({[vT.name]:E({fieldName:vT.name})})),output_fields:R(r.object({[_T.name]:k({fieldName:_T.name})}))})}).check(e=>{let t=e.value.config?.destination_field_name;t&&jc(t)&&e.issues.push({code:`custom`,input:t,path:[`config`,`destination_field_name`],message:`'${t}' is reserved and cannot be used as a destination field name.`})}),xT={"row-expandappend-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},ST=e=>H(J(vT,e)),CT=class extends U{pipeId=gT;payload;payloadSchema=bT;billableOperations=xT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`row-expandappend-sheet-v1-pipe0`)}getInputRequirement(){return ST(this.payload.config)}getRawOutputFields(){return{[_T.name]:this.catalogOutput(_T)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_api_operation`,allowManagedConnection:!0}]}},wT=bT,TT={pipeId:gT,basePipe:K(gT),label:`Expand list to sheet`,executionMode:`single`,categories:[`actions`,`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:"Expand a list into sheet rows โ each item is written as-is to an `expanded_value` column (objects/arrays as json).",guide:`Denormalize a 1:N list into rows on ANOTHER sheet: each item in the input_objects array becomes its own row on config.sheet, inside config.project (REQUIRED โ the destination project's org-unique slug; when working inside a project pass THAT slug, see CURRENT CONTEXT). Every item is written AS-IS to a single column on the destination โ an object/array lands as one json cell (its fields are NOT spread into separate columns), a primitive as a scalar. That column is \`expanded_value\` by default; rename/retype it via config.destination_field_name / destination_field_type / destination_field_format / destination_field_label (type/format are inferred from the data when left unset). To get flat columns, run json:extract:multi@1 ON THE DESTINATION sheet afterwards to pull out exactly the values you need. With allow_entity_creation on, a missing project/sheet (and the expanded_value column) are created; a sheet slug that exists in a DIFFERENT project fails the rows. Destination slugs are ORG-UNIQUE, so config.sheet addresses a sheet across your whole org: an existing slug REUSES that sheet (appending into it) when it's in config.project, and FAILS when it lives elsewhere โ a generic slug like "results"/"companies"/"current-employers" will likely hit an unrelated sheet. When you mean a genuinely NEW sheet, use a short descriptive slug plus 3-4 random alphanumeric chars (e.g. "ceos-x7k2", "prospects-employers-9fq") โ you cannot see other projects' slugs, so only the random suffix makes a new slug collision-proof; give the sheet its human-readable name afterwards with sheet:update@1 config.name. Use it when a column holds a list you need per-element (e.g. a profile's current employers) BEFORE enriching each element โ never collapse the list with an LLM. Requires a pipe0 connection (resolve via list_connections). Typical pipeline: json:extract:multi@1 to build the array column โ this pipe to explode it into an intermediary sheet โ json:extract:multi@1 THERE to flatten the fields you need out of expanded_value โ enrich each row (e.g. person:match:role:waterfall@1) โ rows:copy_to_sheet@1 to the final sheet. NON-IDEMPOTENT: each run appends again, so re-running duplicates rows (and you cannot undo rows written to another sheet) โ dry-run the flow in sandbox first (env:change@1), and to retry after a partial failure adopt the succeeded cells (rows:adopt@1 with adopt_statuses:["completed"]) then rows:enrich@1.`,docPath:q(gT),tags:[G.FIELDS],keywords:[`explode`,`denormalize`,`array`,`split`,`one to many`,`fan out`],billableOperations:xT,defaultInputRequirement:ST(null),inputFieldMode:`static`,outputFieldMode:`static`,defaultPayload:{pipe_id:gT,connector:{strategy:`first`,connections:[]},run_if:null,config:{project:``,sheet:``,run:!0,allow_entity_creation:!0,destination_field_name:yT,destination_field_type:``,destination_field_format:``,destination_field_label:``,input_fields:{input_objects:{alias:``}},output_fields:{sheet_record_ids:{alias:``,enabled:!0}}}}},ET=`row:roundrobin:sheet@1`,DT=io(no(`pipe0`,`Add a pipe0 connection first`),ro(e=>e.config?.sheet,`Select a sheet first`)),OT=r.object({pipe_id:r.literal(ET),connector:ms(),run_if:x(),config:r.object({sheet:Gs({label:`Sheet`,info:`The sheet to rotate through โ e.g. a roster of sellers. Always another sheet.`,groupPath:`config.general`,sectionKey:`general`,path:`config.sheet`,required:!0,optionsDef:nT}),sheet_where:os({label:`Rotation pool`,info:`Only target-sheet rows matching these conditions rotate. Leave empty to rotate over the whole sheet.`,groupPath:`config.general`,sectionKey:`general`,path:`config.sheet_where`,required:!1,enabledIf:DT,fieldNamePlaceholder:`segment`,optionsDef:sT({sheetPath:`config.sheet`})}),sheet_unique_field:ws({label:`Unique column`,info:`Column of the target sheet that must be filled and unique in every row โ checked at run time.`,groupPath:`config.general`,sectionKey:`general`,path:`config.sheet_unique_field`,required:!0,enabledIf:DT,optionsDef:sT({sheetPath:`config.sheet`})}),sheet_copy_fields:Cs({label:`Fields to bring over`,info:`Target-sheet columns copied from the picked row; each becomes an output column.`,groupPath:`config.general`,sectionKey:`general`,path:`config.sheet_copy_fields`,minItems:1,enabledIf:DT,optionsDef:sT({sheetPath:`config.sheet`,includeJson:!0})}),sheet_weight_field:ws({label:`Weight column`,info:`Numeric target-sheet column scaling each row's share. 0 pauses a row; empty counts as 1. Leave unset for equal shares.`,groupPath:`config.general`,sectionKey:`general`,path:`config.sheet_weight_field`,enabledIf:DT,optionsDef:sT({sheetPath:`config.sheet`})}),counter_field:ws({label:`Counter field`,info:`Column of this sheet whose unique values advance the rotation.`,groupPath:`config.general`,sectionKey:`general`,path:`config.counter_field`,required:!0})})}),kT={"row-roundrobin-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},AT=class extends U{pipeId=ET;payload;payloadSchema=OT;billableOperations=kT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`row-roundrobin-sheet-v1-pipe0`)}getTemplatedFields(){return(this.payload.config.sheet_where?.conditions??[]).map(e=>typeof e.value==`string`?e.value:null)}getInputRequirement(){let e=this.payload.config.counter_field.field_name;return Pc(H({name:e,resolvedName:e,label:``,description:``,type:t=>qc(t,e)?.type||`unknown`,format:null}),Jc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`}))}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getBucketRequirements(){let e=Qe(this.payload.config.sheet),t=this.payload.config.counter_field.field_name;if(!e||!t)return[];let n=this.payload.config.sheet_where??null;return(n?.conditions??[]).some(e=>typeof e.value==`string`&&e.value.includes(`{{`))?[]:[{slug:eT(e,t,$w(n)),type:`counter`,schema:null,allowCreation:!0}]}getRawOutputFields(){let e={};for(let t of this.payload.config.sheet_copy_fields)t.field_name&&(e[t.field_name]={description:`Value of the target sheet's "${t.field_name}" column on the round-robin-picked row.`,enabled:!0,format:t.format??null,label:t.field_name,name:t.field_name,resolvedName:t.field_name,jsonMeta:null,type:t.type??`unknown`,isCatalogFIeld:!1,isPrimaryOutput:!1});return e}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_api_operation`,allowManagedConnection:!0}]}},jT=OT,MT={pipeId:ET,basePipe:K(ET),label:`Round-robin from sheet`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Rotate through the rows of another sheet (e.g. a sellers roster): each unique counter value picks the next row round-robin, and the selected columns of the picked row become outputs. Re-run safe โ the same counter value always picks the same row.`,guide:"Round-robin assignment from another pipe0 sheet (the roster โ e.g. sellers). config.sheet is the target sheet's org-unique slug โ one FIXED sheet for the whole pipe, never a per-row reference. config.sheet_where (optional) restricts the ROTATION POOL to target-sheet rows matching the conditions (null = whole sheet); condition field_names are LITERAL target-sheet columns, string values may hold `{{ field }}` refs resolved per lead โ e.g. segment eq {{ segment }} routes each lead over its own segment's rows. Each distinct RESOLVED filter cycles on its OWN counter (so slot numbers stay consecutive per pool โ strict round robin within each pool); avoid high-cardinality templated filters ({{ email }}-like) โ every distinct value creates a counter bucket and will exhaust the org bucket quota. config.sheet_unique_field names a TARGET-sheet column that must be filled in EVERY row and unique across rows โ the run fails with a clear message if it has gaps or duplicates (this guarantees every roster row is a distinct assignee). config.sheet_copy_fields are the TARGET-sheet columns copied from the picked row; each becomes an output column named like the column, typed by the entry's `type`/`format` (snapshotted from the target sheet's schema when picked โ if the target column's type drifts later, the run fails with an output-type mismatch; re-pick the column to refresh the snapshot). config.counter_field names a column of the CURRENT sheet: every unique value of it takes the next number from an internal counter bucket (first-seen โ 1, next new value โ 2, โฆ; the SAME value always keeps the SAME number, so re-runs are stable). The pick is slot (n โ 1) mod W over the pool's rows in creation order, where W is the pool's total weight (= row count when unweighted) โ adding pool rows only changes the wrap; deleting or reordering reshuffles subsequent picks. config.sheet_weight_field (optional) names a NUMERIC target-sheet column: a row with weight w takes w of every W slots, spread evenly across the cycle (weight 2 โ two consecutive picks); weight 0 pauses the row; an empty cell counts as 1; a negative or non-integer weight fails the run loudly. Editing weights re-shapes FUTURE picks only โ the counter and its bucket are untouched, so rotation never restarts. The internal counter is a REAL org-scoped counter bucket (visible in the buckets UI, slug `rr--<sheet>--<counter field>`); changing the sheet or the counter field starts a fresh rotation. A row with a missing/empty counter value is gated to skipped before the runner. Empty roster โ all outputs no_result. A copied column that is empty on the picked row resolves to no_result. Missing sheet (bad slug) fails the record naming the slug. The target sheet is NEVER modified. FREE pipe0 operation; requires a pipe0 connection (list_connections).",docPath:q(ET),tags:[G.FIELDS],keywords:[`rotate`,`rotation`,`distribute`,`routing`,`assign`,`alternate`],billableOperations:kT,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`config`,defaultPayload:{pipe_id:ET,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,sheet_where:null,sheet_unique_field:{field_name:``},sheet_copy_fields:[],sheet_weight_field:{field_name:``},counter_field:{field_name:``}}}},NT=`SELECT table_schema, table_name, column_name, data_type FROM information_schema.columns WHERE table_schema NOT IN ('pg_catalog', 'information_schema') ORDER BY table_schema, table_name, ordinal_position`,PT=`table_catalog NOT IN ('system', '__databricks_internal') AND table_schema <> 'information_schema'`,FT=`SELECT table_catalog, table_schema, table_name FROM system.information_schema.tables WHERE ${PT} ORDER BY table_catalog, table_schema, table_name`,IT=`SELECT table_catalog, table_schema, table_name, column_name, data_type FROM system.information_schema.columns WHERE ${PT} ORDER BY table_catalog, table_schema, table_name, ordinal_position`;function LT(e){return typeof e==`string`?e:String(e??``)}function RT(e){let t=new Map;for(let n of e){let e=LT(n.table_schema),r=LT(n.table_name);if(!r)continue;let i=`${e}.${r}`,a=t.get(i);a||(a={schema:e,name:r,columns:[]},t.set(i,a)),a.columns.push({name:LT(n.column_name),type:LT(n.data_type)})}return t}function zT(e){return`${e.catalog?`${e.catalog}.`:``}${e.schema?`${e.schema}.`:``}${e.name}`}function BT(e,t){if(e.length===0)return{summary:`The connected database exposes no tables outside the system schemas โ nothing to query yet.`,data:{tables:[],truncated:t}};let n=e.map(e=>{if(e.columns.length===0)return`- ${zT(e)} โ (columns not listed; DESCRIBE or sample to inspect)`;let t=e.columns.slice(0,50),n=e.columns.length-t.length,r=t.map(e=>e.type?`${e.name}:${e.type}`:e.name).join(`, `);return`- ${zT(e)} โ ${r}${n>0?` (+${n} more)`:``}`}),r=e.some(e=>e.catalog)?` Names are fully qualified (catalog.schema.table) โ use them VERBATIM in config.query.`:``;return{summary:[`Schema map (${e.length} table${e.length===1?``:`s`}${t?`, truncated โ the database has more`:``}). Write config.query against these;${r} sample rows free via run_search_oneshot.`,...n].join(`
|
|
75
|
+
`),data:{tables:e,truncated:t}}}async function VT(e){let t=await e({query:FT,limit:500}),n=new Map;for(let e of t.rows){let t=LT(e.table_catalog),r=LT(e.table_schema),i=LT(e.table_name);i&&n.set(`${t}.${r}.${i}`,{catalog:t,schema:r,name:i,columns:[]})}let r=await e({query:IT,limit:500});for(let e of r.rows)n.get(`${LT(e.table_catalog)}.${LT(e.table_schema)}.${LT(e.table_name)}`)?.columns.push({name:LT(e.column_name),type:LT(e.data_type)});return BT([...n.values()],t.hasMore||r.hasMore)}async function HT(e){let t=await e({query:`SHOW TABLES`,limit:500}),n=t.rows.map(e=>({schema:LT(e.database??e.namespace),name:LT(e.tableName??e.table_name)})).filter(e=>e.name),r=t.hasMore||n.length>25,i=[];for(let{schema:t,name:r}of n.slice(0,25)){let n=(await e({query:`DESCRIBE TABLE ${t?`${t}.`:``}${r}`,limit:500})).rows.map(e=>({name:LT(e.col_name),type:LT(e.data_type)})).filter(e=>e.name&&!e.name.startsWith(`#`));i.push({schema:t,name:r,columns:n})}return BT(i,r)}async function UT(e,t){if(t.environment===`sandbox`)return{summary:`Schema exploration needs the real database connection โ it's read-only and free. Switch to production (env:change@1) to explore the schema, then rehearse the pipeline in sandbox.`};if(!t.runQuery)return{summary:`Live schema exploration isn't available in this context.`};if(e===`databricks`)try{return await VT(t.runQuery)}catch{try{let e=await t.runQuery({query:NT,limit:500});return BT([...RT(e.rows).values()],e.hasMore)}catch{return HT(t.runQuery)}}let n=await t.runQuery({query:NT,limit:500});return BT([...RT(n.rows).values()],n.hasMore)}const WT=`rows:find:databricks@1`,GT=g(`db_rows_found_count`),KT=g(`db_found_rows`),qT=r.object({pipe_id:r.literal(WT),connector:ms(),run_if:x(),config:r.object({query:fs({label:`SQL query`,info:`A single read-only SELECT statement, resolved per row โ use {{ field }} for input refs, {{ SECRETS.X }} / {{ CONSTANTS.X }} for secrets/constants. Do not add your own LIMIT for capping; use the row limit below.`,groupPath:`config.general`,sectionKey:`general`,path:`config.query`,rows:8,required:!0,maxLength:2e4}),limit:Hs({label:`Row limit`,info:`Maximum number of rows returned in the matching-rows output. The rows-found count is always the true total.`,groupPath:`config.advanced`,sectionKey:`general`,path:`config.limit`,min:1,max:50}),output_fields:R(r.object({[GT.name]:k({fieldName:GT.name}),[KT.name]:k({fieldName:KT.name})}))})}),JT={"rows-find-databricks-v1-databricks":{provider:`databricks`,allowManagedConnection:!1,mode:null,credits:null,note:`Querying your own Databricks SQL warehouse is free.`}},YT=class extends U{pipeId=WT;payload;payloadSchema=qT;billableOperations=JT;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`databricks`]}estimateBillableOperations(e){return Y(e,`rows-find-databricks-v1-databricks`)}getTemplatedFields(){return[this.payload.config.query]}getInputRequirement(){return Jc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[GT.name]:this.catalogOutput(GT),[KT.name]:this.catalogOutput(KT)}}getConnectionsRequirements(){return[{provider:`databricks`,rateLimitRatio:1,rateLimitOperation:`databricks_query`,allowManagedConnection:!1}]}async getAgentContext(e){return UT(`databricks`,e)}},XT=qT,ZT={pipeId:WT,basePipe:K(WT),label:`Find rows in Databricks`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`databricks`],managedProviders:[],deprecatedProviders:[],description:`Look up rows in your own Databricks SQL warehouse with a read-only SQL query resolved per row. Outputs the total match count and the matching rows.`,guide:"Databricks SQL dialect; config.query must be a single read-only SELECT, resolved per row via Liquid โ `{{ field }}` input refs, `{{ SECRETS.X }}` / `{{ CONSTANTS.X }}` supported. Resolved values are interpolated as text, so quote them in the SQL (WHERE email = '{{ email }}'). To discover the schema, draft a payload with a placeholder config.query like \"SELECT 1\" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the workspace-wide table/column map (all Unity catalogs) for free. Always reference tables by their FULLY QUALIFIED three-part name exactly as the map lists them (catalog.schema.table); a bare table name resolves against the warehouse's unpredictable current catalog and usually fails with TABLE_OR_VIEW_NOT_FOUND. Tables under the `samples` catalog (and other built-in demo schemas like `tpch`) are DEMO data, NOT the customer's own โ never answer from them without confirming. READ-ONLY and idempotent โ the gateway enforces single-statement SELECT validation. db_found_rows is capped by config.limit and a ~25KB size budget (rows are dropped from the end to fit); db_rows_found_count is always the TRUE total. When nothing matches, db_found_rows resolves to no_result (NOT an empty array) โ db_rows_found_count (0) still completes, so condition on it to branch on absence. A field resolving to empty renders as an empty string in the SQL โ guard with run_if if that must not match. Requires a databricks connection (list_connections).",docPath:q(WT),tags:[G.FIELDS,G.NEW],keywords:[`sql`,`query`,`lookup`,`warehouse`,`database`,`select`],billableOperations:JT,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:WT,connector:{strategy:`first`,connections:[]},run_if:null,config:{query:``,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!1},db_found_rows:{alias:``,enabled:!0}}}}},QT=`rows:find:postgres@1`,$T=g(`db_rows_found_count`),eE=g(`db_found_rows`),tE=r.object({pipe_id:r.literal(QT),connector:ms(),run_if:x(),config:r.object({query:fs({label:`SQL query`,info:`A single read-only SELECT statement, resolved per row โ use {{ field }} for input refs, {{ SECRETS.X }} / {{ CONSTANTS.X }} for secrets/constants. Do not add your own LIMIT for capping; use the row limit below.`,groupPath:`config.general`,sectionKey:`general`,path:`config.query`,rows:8,required:!0,maxLength:2e4}),limit:Hs({label:`Row limit`,info:`Maximum number of rows returned in the matching-rows output. The rows-found count is always the true total.`,groupPath:`config.advanced`,sectionKey:`general`,path:`config.limit`,min:1,max:50}),output_fields:R(r.object({[$T.name]:k({fieldName:$T.name}),[eE.name]:k({fieldName:eE.name})}))})}),nE={"rows-find-postgres-v1-postgres":{provider:`postgres`,allowManagedConnection:!1,mode:null,credits:null,note:`Querying your own PostgreSQL database is free.`}},rE=class extends U{pipeId=QT;payload;payloadSchema=tE;billableOperations=nE;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`postgres`]}estimateBillableOperations(e){return Y(e,`rows-find-postgres-v1-postgres`)}getTemplatedFields(){return[this.payload.config.query]}getInputRequirement(){return Jc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[$T.name]:this.catalogOutput($T),[eE.name]:this.catalogOutput(eE)}}getConnectionsRequirements(){return[{provider:`postgres`,rateLimitRatio:1,rateLimitOperation:`postgres_query`,allowManagedConnection:!1}]}async getAgentContext(e){return UT(`postgres`,e)}},iE=tE,aE={pipeId:QT,basePipe:K(QT),label:`Find rows in Postgres`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`postgres`],managedProviders:[],deprecatedProviders:[],description:`Look up rows in your own PostgreSQL database with a read-only SQL query resolved per row. Outputs the total match count and the matching rows.`,guide:"PostgreSQL dialect; config.query must be a single read-only SELECT, resolved per row via Liquid โ `{{ field }}` input refs, `{{ SECRETS.X }}` / `{{ CONSTANTS.X }}` supported. Resolved values are interpolated as text, so quote them in the SQL (WHERE email = '{{ email }}'). To discover the schema, draft a payload with a placeholder config.query like \"SELECT 1\" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the full table/column map for free. READ-ONLY and idempotent โ the gateway enforces single-statement SELECT validation and a read-only transaction. db_found_rows is capped by config.limit and a ~25KB size budget (rows are dropped from the end to fit); db_rows_found_count is always the TRUE total. When nothing matches, db_found_rows resolves to no_result (NOT an empty array) โ db_rows_found_count (0) still completes, so condition on it to branch on absence. A field resolving to empty renders as an empty string in the SQL โ guard with run_if if that must not match. Requires a postgres connection (list_connections).",docPath:q(QT),tags:[G.FIELDS,G.NEW],keywords:[`sql`,`query`,`lookup`,`database`,`select`],billableOperations:nE,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:QT,connector:{strategy:`first`,connections:[]},run_if:null,config:{query:``,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!1},db_found_rows:{alias:``,enabled:!0}}}}},oE=`rows:find:sheet@1`,sE=g(`sheet_rows_found_count`),cE=g(`sheet_found_rows`),lE=g(`sheet_found_row_ids`),uE=r.object({pipe_id:r.literal(oE),connector:ms(),run_if:x(),config:r.object({sheet:S({label:`Sheet ID`,info:"The sheet to search (its org-unique slug โ NOT the display name). Type `@` to insert a field reference for a per-row sheet.",groupPath:`config.general`,sectionKey:`general`,inputType:`text`,path:`config.sheet`,minLength:3,expectedTagType:`string`,expectedTagFormat:`text`,optionsDef:nT}),where:os({label:`Match conditions`,info:"Conditions on the target sheet's columns. Column names are literal; in the value, type `/` to insert a field reference (e.g. `{{ email }}`).",groupPath:`config.general`,sectionKey:`general`,path:`config.where`,fieldNamePlaceholder:`email`,optionsDef:sT({sheetPath:`config.sheet`})}),limit:Hs({label:`Row limit`,info:`Maximum number of rows returned in the matching-rows output. The rows-found count is always the true total.`,groupPath:`config.advanced`,sectionKey:`general`,path:`config.limit`,min:1,max:100}),output_fields:R(r.object({[sE.name]:k({fieldName:sE.name}),[cE.name]:k({fieldName:cE.name}),[lE.name]:k({fieldName:lE.name})}))})}),dE={"rows-find-sheet-v1-pipe0":{provider:`pipe0`,allowManagedConnection:!0,credits:{default:0},mode:`always`}},fE=class extends U{pipeId=oE;payload;payloadSchema=uE;billableOperations=dE;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`rows-find-sheet-v1-pipe0`)}getTemplatedFields(){return[this.payload.config.sheet,...(this.payload.config.where?.conditions??[]).map(e=>typeof e.value==`string`?e.value:null)]}getInputRequirement(){return Jc(this.getTemplatedFields(),{expectedType:`string`,expectedFormat:`text`})}getSecretRequirements(){return Yc(this.getTemplatedFields())}getConstantRequirements(){return Xc(this.getTemplatedFields())}getRawOutputFields(){return{[sE.name]:this.catalogOutput(sE),[cE.name]:this.catalogOutput(cE),[lE.name]:this.catalogOutput(lE)}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitRatio:1,rateLimitOperation:`pipe0_api_operation`,allowManagedConnection:!0}]}},pE=uE,mE={pipeId:oE,basePipe:K(oE),label:`Find rows in sheet`,executionMode:`single`,categories:[`tools`],lifecycle:null,allowedUserConnectionProviders:[`pipe0`],managedProviders:[],deprecatedProviders:[],description:`Look up rows in another pipe0 sheet matching a condition block (and/or over eq, neq, gt, gte, lt, lte, contains, matches). Outputs the total match count, the matching rows, and their record IDs.`,guide:'Find rows in another pipe0 sheet. config.sheet is the target sheet\'s org-unique slug (a literal or a `{{ field }}` tag). config.where is a condition block over the TARGET sheet\'s columns: `logic` "and"/"or" combines value conditions; each condition\'s field_name is a LITERAL column name (never templated, NOT validated against the target sheet โ a wrong name behaves like a null cell), and its value may be a literal or contain `{{ field }}` tags resolved per row. Operators: eq/neq compare as text (a number cell 42 matches the value "42"; neq ALSO matches rows where the column is missing or null; JSON object/array cells effectively never match); gt/gte/lt/lte compare numerically (non-numeric cells never match; a non-numeric condition value fails the row); contains is case-INsensitive substring; matches is case-SENSITIVE regex (invalid pattern fails the row). A `null` value with eq matches missing/null cells. READ-ONLY and idempotent โ one query per row, the target sheet is never modified. sheet_found_rows is capped by config.limit and a ~25KB size budget (rows are dropped from the end to fit); sheet_rows_found_count is always the TRUE total. When nothing matches, sheet_found_rows and sheet_found_row_ids resolve to no_result (NOT an empty array) โ sheet_rows_found_count (0) still completes, so condition on it to branch on absence. String condition values that resolve to an empty string fail the row (a blank field must not match everything) โ guard with run_if. Requires a pipe0 connection (list_connections).',docPath:q(oE),tags:[G.FIELDS],keywords:[`lookup`,`query`,`search`,`match`,`filter`,`vlookup`],billableOperations:dE,defaultInputRequirement:null,inputFieldMode:`config`,outputFieldMode:`static`,defaultPayload:{pipe_id:oE,connector:{strategy:`first`,connections:[]},run_if:null,config:{sheet:``,where:null,limit:10,output_fields:{sheet_rows_found_count:{alias:``,enabled:!1},sheet_found_rows:{alias:``,enabled:!0},sheet_found_row_ids:{alias:``,enabled:!1}}}}},hE=`template:fill@1`,gE=g(`template_output`),_E=r.object({pipe_id:r.literal(hE),connector:C(),run_if:x(),config:r.object({template:fs({sectionKey:`general`,path:`config.template`,label:`Template`,placeholder:W(`template`),groupPath:`config.general`,required:!0}),output_fields:R(r.object({[gE.name]:k({fieldName:gE.name})}))})}),vE={"template-fill-v1-pipe0":{credits:{default:0},allowManagedConnection:!0,provider:`pipe0`,mode:`always`}},yE=class extends U{pipeId=hE;payload;payloadSchema=_E;billableOperations=vE;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`template-fill-v1-pipe0`)}getInputRequirement(){return Jc([this.payload.config.template])}getSecretRequirements(){return Yc([this.payload.config.template])}getConstantRequirements(){return Xc([this.payload.config.template])}getRawOutputFields(){return{[gE.name]:this.catalogOutput(gE)}}getConnectionsRequirements(){return[]}},bE=_E,xE={pipeId:hE,inputFieldMode:`config`,outputFieldMode:`config`,basePipe:K(hE),label:`Fill a text template`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Replaces template tags like {{ name }} with actual values.`,tags:[G.TEXT],keywords:[`merge`,`personalize`,`liquid`,`placeholder`,`variables`,`mail merge`],docPath:q(hE),defaultInputRequirement:null,billableOperations:vE,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],deprecatedProviders:[],defaultPayload:{pipe_id:hE,connector:null,run_if:null,config:{template:``,output_fields:{template_output:{alias:``,enabled:!0}}}}},SE=`website:extract:firecrawl@1`,CE=g(`website_url`),wE=g(`firecrawl_extract_result`),TE=r.object({pipe_id:r.literal(SE),connector:C(),run_if:x(),config:r.object({json_schema:Ws({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}),extraction_prompt:Rs({sectionKey:`general`,groupPath:`config.extraction`,path:`config.extraction_prompt`,label:`Extraction Prompt`,info:`Prompt the scraper on what it should extract. Template tags are not supported.`,rows:5,minLength:10,placeholder:`E.g. Extract the company missing and latest news.`}),enable_full_domain_crawl:O({sectionKey:`general`,groupPath:`config.extraction`,defaultValue:!1,path:`config.enable_full_domain_crawl`,info:`If this option is enabled all URLs from this domain will be scraped.`,label:`Crawl full domain`}),enable_web_search:O({sectionKey:`general`,groupPath:`config.extraction`,label:`Enable web search`,path:`enable_web_search`,defaultValue:!1,info:`When 'true', the extraction will follow links outside the specified domain.`}),input_fields:z(r.object({[CE.name]:E({fieldName:CE.name})})),output_fields:R(r.object({[wE.name]:k({fieldName:wE.name})}))})}),EE=e=>H(J(CE,e)),DE={"website-extract-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:2,level1:{credits:1,weight:1}},mode:`onSuccess`}},OE=class extends U{pipeId=SE;payload;payloadSchema=TE;billableOperations=DE;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return Y(e,`website-extract-firecrawl-v1-firecrawl`)}getInputRequirement(){return EE(this.payload.config)}getRawOutputFields(){return{[wE.name]:this.catalogOutput(wE)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},kE=TE,AE={pipeId:SE,basePipe:K(SE),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:[G.SCRAPE],keywords:[`scrape`,`crawl`,`ai`,`structured data`,`json`,`web`],docPath:q(SE),billableOperations:DE,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:EE(null),defaultPayload:{pipe_id:SE,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}}}}},jE=`website:extract:parallel@1`,ME=g(`website_url`),NE=g(`parallel_extract_result`),PE=r.object({pipe_id:r.literal(jE),connector:C(),run_if:x(),config:r.object({objective:Rs({sectionKey:`general`,groupPath:`config.extraction`,path:`config.objective`,label:`Objective`,info:`Natural-language description of what to extract. Template tags are not supported.`,rows:5,minLength:10,placeholder:`E.g. When was the company founded and what does it do?`}),input_fields:z(r.object({[ME.name]:E({fieldName:ME.name})})),output_fields:R(r.object({[NE.name]:k({fieldName:NE.name})}))})}),FE=e=>H(J(ME,e)),IE={"website-extract-parallel-v1-parallel":{allowManagedConnection:!0,provider:`parallel`,credits:{default:.1},mode:`onSuccess`}},LE=class extends U{pipeId=jE;payload;payloadSchema=PE;billableOperations=IE;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`parallel`]}estimateBillableOperations(e){return Y(e,`website-extract-parallel-v1-parallel`)}getInputRequirement(){return FE(this.payload.config)}getRawOutputFields(){return{[NE.name]:this.catalogOutput(NE,{isPrimaryOutput:!0})}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitRatio:1,rateLimitOperation:`parallel_extract`,allowManagedConnection:!0}]}},RE=PE,zE={pipeId:jE,basePipe:K(jE),label:`Extract (Parallel)`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Extract relevant content from a website using Parallel's Extract API. Returns a flat list of results โ page title, publish date and the excerpts most relevant to your objective.`,tags:[G.SCRAPE],keywords:[`scrape`,`crawl`,`content`,`web`,`research`],docPath:q(jE),billableOperations:IE,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`parallel`],managedProviders:[`parallel`],deprecatedProviders:[],defaultInputRequirement:FE(null),defaultPayload:{pipe_id:jE,run_if:null,connector:null,config:{objective:``,input_fields:{website_url:{alias:``}},output_fields:{parallel_extract_result:{alias:``,enabled:!0}}}}},BE=`website:maplinks:firecrawl@1`,VE={"website-maplinks-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:1},mode:`onSuccess`}},HE=g(`website_url`),UE=g(`mapped_links`),WE=r.object({pipe_id:r.literal(BE),connector:C(),run_if:x(),config:r.object({page_limit:Hs({label:`Page limit`,info:`Number of pages searched`,groupPath:`config.general`,max:50,min:1,path:`config.page_limit`,sectionKey:`general`}).nullish(),sitemap:zs({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:Ls({sectionKey:`general`,label:`Search`,inputType:`text`,info:`Return matching urls`,groupPath:`config.general`,path:`config.search`}).nullable().default(``),input_fields:z(r.object({[HE.name]:E({fieldName:HE.name})})),output_fields:R(r.object({[UE.name]:k({fieldName:UE.name})}))}).optional()}),GE=e=>H(J(HE,e)),KE=class extends U{pipeId=BE;payload;payloadSchema=WE;billableOperations=VE;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return Y(e,`website-maplinks-firecrawl-v1-firecrawl`)}getInputRequirement(){return GE(this.payload.config)}getRawOutputFields(){return{[UE.name]:this.catalogOutput(UE)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_map_requests`,allowManagedConnection:!0}]}},qE=WE,JE={pipeId:BE,basePipe:K(BE),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:[G.SCRAPE],keywords:[`sitemap`,`crawl`,`urls`,`pages`,`discover`,`internal`],docPath:q(BE),billableOperations:VE,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:GE(null),defaultPayload:{pipe_id:BE,run_if:null,connector:null,config:{page_limit:25,sitemap:`include`,search:``,input_fields:{website_url:{alias:``}},output_fields:{mapped_links:{alias:``,enabled:!0}}}}},YE=`website:scrape:firecrawl@1`,XE=g(`website_url`),ZE=g(`website_markdown`),QE=g(`website_html`),$E=g(`website_links`),eD=r.object({pipe_id:r.literal(YE),connector:C(),run_if:x(),config:r.object({scrape_main_only:O({defaultValue:!1,label:`Scrape main content only?`,info:`If selected, content like headers, footers, and sidebars are excluded from the scrape results.`,sectionKey:`general`,groupPath:`config.general`,path:`config.scrape_main_only`}),input_fields:z(r.object({[XE.name]:E({fieldName:XE.name})})),output_fields:R(r.object({[ZE.name]:k({fieldName:ZE.name}),[QE.name]:k({fieldName:QE.name}),[$E.name]:k({fieldName:$E.name})}))}).optional()}),tD=e=>H(J(XE,e)),nD={"website-scrape-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`}},rD=class extends U{pipeId=YE;payload;payloadSchema=eD;billableOperations=nD;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return Y(e,`website-scrape-firecrawl-v1-firecrawl`)}getInputRequirement(){return tD(this.payload.config)}getRawOutputFields(){return{[ZE.name]:this.catalogOutput(ZE),[QE.name]:this.catalogOutput(QE),[$E.name]:this.catalogOutput($E)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},iD=eD,aD={pipeId:YE,basePipe:K(YE),label:`Scrape`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn any URL into clean data.`,tags:[G.SCRAPE],keywords:[`crawl`,`html`,`markdown`,`content`,`web page`,`fetch`],docPath:q(YE),billableOperations:nD,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:tD(null),defaultPayload:{pipe_id:YE,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}}}}},oD=`website:scrapelist:firecrawl@1`,sD={"website-scrapelist-firecrawl-v1-firecrawl":{allowManagedConnection:!0,provider:`firecrawl`,credits:{default:.1,level1:{credits:.05,weight:1}},mode:`onSuccess`,note:`You are charged per url that is scraped.`}},cD=g(`urls`),lD=g(`scrape_list_response`),uD=r.object({pipe_id:r.literal(oD),connector:C(),run_if:x(),config:r.object({scrape_main_only:O({label:`Scrape main content only?`,defaultValue:!1,info:`If selected headers, footers, and sidebars will be excluded from the results.`,sectionKey:`general`,groupPath:`config.general`,path:`config.scrape_main_only`}),formats:Vs({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`}).default([]),input_fields:z(r.object({[cD.name]:E({fieldName:cD.name})})),output_fields:R(r.object({[lD.name]:k({fieldName:lD.name})}))}).optional()}),dD=e=>H(J(cD,e)),fD=class extends U{pipeId=oD;payload;payloadSchema=uD;billableOperations=sD;constructor(e){super(),this.payload=this.validatePayload(e)}getProviderNames(){return[`firecrawl`]}estimateBillableOperations(e){return[{billableOperation:`website-scrapelist-firecrawl-v1-firecrawl`,quantity:e.count*5}]}getInputRequirement(){return dD(this.payload.config)}getRawOutputFields(){return{[lD.name]:this.catalogOutput(lD)}}getConnectionsRequirements(){return[{provider:`firecrawl`,rateLimitRatio:1,rateLimitOperation:`firecrawl_generic`,allowManagedConnection:!0}]}},pD=uD,mD={pipeId:oD,basePipe:K(oD),label:`Scrape list`,executionMode:`single`,categories:[`tools`],lifecycle:null,description:`Turn a list of URLs into clean scraped data.`,tags:[G.SCRAPE],keywords:[`crawl`,`html`,`markdown`,`content`,`batch`,`bulk`],docPath:q(oD),billableOperations:sD,inputFieldMode:`static`,outputFieldMode:`static`,allowedUserConnectionProviders:[`firecrawl`],managedProviders:[`firecrawl`],deprecatedProviders:[],defaultInputRequirement:dD(null),defaultPayload:{pipe_id:oD,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}}}}},hD=[`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:crustdata@3`,`people:profiles:amplemarket@1`,`people:profiles:amplemarket@2`,`companies:entitysearch:parallel@1`,`people:entitysearch:parallel@1`,`people:eventguests:luma@1`,`sheet:rows@1`,`bucket:entries@1`,`query:postgres@1`,`query:databricks@1`,`posts:content:crustdata@1`],gD=r.enum(hD);function _D(e,t){let n={name:e,config:t};return gc.hashObject(n)}var vD=class{estimateBillableOperations(e){let{cost:t,billableOperation:n}=this.billing;return t.allowManagedConnection?[{billableOperation:n,quantity:t.mode===`per_result`?e.count:t.mode===`per_page`?e.count/100:1}]:[]}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}getDedupConfig(){return{match:`any`,fields:[]}}async getAgentContext(e){return null}getHashKey(){return _D(this.searchId,this.payload)}};function yD(e){return e.split(`@`)[0]}function bD(e){return`/docs/search-catalog/${yD(e)}/${e.split(`@`)[1]}`}const xD=`companies:entitysearch:parallel@1`,SD=g(`company_name`),CD=g(`company_domain`),wD=g(`company_description`),TD=g(`company_profile_url`),ED=g(`parallel_company_entity_match`),DD=r.object({search_id:r.literal(xD),connector:_s(),config:r.object({objective:ec({path:`config.objective`,sectionKey:`general`,groupPath:`config.general`,label:`Objective`,rows:4,minLength:10,placeholder:`AI startups in Europe that raised a Series A in 2024`,description:`Plain-text natural-language description of the companies to find.`}),limit:L({path:`config.limit`,min:5,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of entities to return (5โ1000).`}).default(100),output_fields:R(r.object({[SD.name]:N({fieldName:SD.name}),[CD.name]:N({fieldName:CD.name}),[wD.name]:N({fieldName:wD.name}),[TD.name]:N({fieldName:TD.name}),[ED.name]:N({fieldName:ED.name})}))})}),OD={match:`any`,fields:[{fieldName:`company_profile_url`}]},kD={allowManagedConnection:!0,mode:`per_page`,credits:{default:.5},info:`1 page = 100 results; billed per 100 results returned (e.g. 100 results = 1 page, 1,000 results = 10 pages). A search returns up to your selected limit in a single request.`},AD=`companies-entitysearch-parallel-v1`,jD=class extends vD{billing={billableOperation:AD,cost:kD};searchId=xD;schema=DD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[SD.name]:this.catalogOutput(SD),[CD.name]:this.catalogOutput(CD),[wD.name]:this.catalogOutput(wD),[TD.name]:this.catalogOutput(TD),[ED.name]:this.catalogOutput(ED)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitOperation:`parallel_entity_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return OD}},MD=DD,ND={searchId:xD,billableOperation:AD,baseSearch:yD(xD),label:`Company search (AI)`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Natural-language company search powered by Parallel Entity Search.`,tags:[G.COMPANY_PROFILES],keywords:[`find companies`,`accounts`,`prospect`,`natural language`,`organizations`],docPath:bD(xD),cost:kD,provider:`parallel`,defaultPayload:{search_id:xD,connector:null,config:{objective:``,limit:100,output_fields:{company_name:{enabled:!0,alias:``},company_domain:{enabled:!0,alias:``},company_description:{enabled:!0,alias:``},company_profile_url:{enabled:!0,alias:``},parallel_company_entity_match:{enabled:!1,alias:``}}}}};function PD(e){let t=!0,n=e=>{if(t!==!1&&typeof e==`object`&&e){Array.isArray(e)&&e.length>0&&(t=!1);for(let r of Object.values(e))typeof r!=`object`&&r!=null&&r!==``&&(t=!1),typeof r==`object`&&r&&n(r)}};return n(e),t}const FD=`companies:profiles:amplemarket@2`,ID=g(`company_name`),LD=g(`company_domain`),RD=g(`company_description`),zD=g(`company_profile_url`),BD=g(`amplemarket_company_match`),VD=r.object({search_id:r.literal(FD),connector:_s(),config:r.object({limit:L({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`}).default(100),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:R(r.object({[ID.name]:N({fieldName:ID.name}),[LD.name]:N({fieldName:LD.name}),[RD.name]:N({fieldName:RD.name}),[zD.name]:N({fieldName:zD.name}),[BD.name]:N({fieldName:BD.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:W(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),company_names:j({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:W(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),company_domains:j({sectionKey:`config.filters`,path:`config.filters.company_domains`,label:`Company domains`,description:``,placeholder:W(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),company_profile_urls:j({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}).default([]),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:h(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:W(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}).default([]),company_industries:M({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:Re(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:W(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),customer_types:P({sectionKey:`config.filters`,path:`config.filters.customer_types`,options:[{value:`b2b`,label:`B2B`},{value:`b2c`,label:`B2C`}],required:!1,disableSearch:!0,label:`Customer Types`,description:``,groupPath:`config.filters.industry`}).default([]),keywords:j({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),revenue_groups:P({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}).default([]),founded_year:qs({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,description:``}).default({min:null,max:null}),open_position_titles:A({path:`config.filters.open_position_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:W(`title`),suggestionsDef:h(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.headcount`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Company sizes`,required:!1,description:``,groupPath:`config.filters.company_size`}).default([]),headcount_growth_l6m_in_percent:qs({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}).default({min:null,max:null})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),HD={match:`any`,fields:[{fieldName:`company_profile_url`}]},UD={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},WD=`companies-profiles-amplemarket-v2`,GD=class extends vD{billing={billableOperation:WD,cost:UD};searchId=FD;schema=VD;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ID.name]:this.catalogOutput(ID),[LD.name]:this.catalogOutput(LD),[RD.name]:this.catalogOutput(RD),[zD.name]:this.catalogOutput(zD),[BD.name]:this.catalogOutput(BD)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return HD}},KD=VD,qD={searchId:FD,billableOperation:WD,baseSearch:yD(`companies:profiles:amplemarket@2`),label:`Company search`,categories:[`companies`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[G.COMPANY_PROFILES],keywords:[`accounts`,`prospect`,`find companies`,`organizations`,`firmographic`],docPath:bD(FD),cost:UD,provider:`amplemarket`,defaultPayload:{search_id:FD,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:[]}}}}},JD=`companies:profiles:crustdata@2`,YD=g(`company_name`),XD=g(`company_domain`),ZD=g(`company_description`),QD=g(`company_profile_url`),$D=g(`crustdata_company_match`),eO=r.object({search_id:r.literal(JD),connector:_s(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}).default(100),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:R(r.object({[YD.name]:N({fieldName:YD.name}),[XD.name]:N({fieldName:XD.name}),[ZD.name]:N({fieldName:ZD.name}),[QD.name]:N({fieldName:QD.name}),[$D.name]:N({fieldName:$D.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:W(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:W(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:h(`company.crunchbase_categories.crustdata`)}).default({include:[],exclude:[]}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:W(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.crunchbase_investors.crustdata`)}).default({include:[],exclude:[]}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:W(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.tracxn_investors.crustdata`)}).default({include:[],exclude:[]}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:h(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:W(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:h(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:h(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}).default({include:[],exclude:[]}),linkedin_headcount_ranges:P({path:`config.filters.linkedin_headcount_ranges`,sectionKey:`config.filters`,label:`Size bracket`,description:`Headcount range a company self-reports on its LinkedIn page.`,options:m(`crustdata.linkedin_headcount_ranges`),placeholder:`2-10`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),headcount_growth_l6m_in_percent:P({path:`config.filters.headcount_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),revenue_in_usd:Ys({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}).default({include:[],exclude:[]}),last_funding_amount:Ys({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}).default([]),follower_growth_l6m_in_percent:P({path:`config.filters.follower_growth_l6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}).default([]),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:W(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}).default({include:[],exclude:[]}),competitor_domains:j({path:`config.filters.competitor_domains`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domain`,description:``,placeholder:W(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),company_domains:j({path:`config.filters.company_domains`,sectionKey:`config.filters`,maxItems:400,label:`Company domain`,description:``,placeholder:W(`company_domain`),groupPath:`config.filters.web_presence`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),company_profile_urls:j({path:`config.filters.company_profile_urls`,sectionKey:`config.filters`,maxItems:400,label:`Company LinkedIn URL`,description:``,placeholder:`https://linkedin.com/company/...`,groupPath:`config.filters.web_presence`}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),tO={match:`any`,fields:[{fieldName:`company_profile_url`}]},nO={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},rO=`companies-profiles-crustdata-v2`,iO=class extends vD{billing={billableOperation:rO,cost:nO};searchId=JD;schema=eO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[YD.name]:this.catalogOutput(YD),[XD.name]:this.catalogOutput(XD),[ZD.name]:this.catalogOutput(ZD),[QD.name]:this.catalogOutput(QD),[$D.name]:this.catalogOutput($D)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return tO}},aO=eO,oO={searchId:JD,billableOperation:rO,baseSearch:yD(`companies:profiles:crustdata@2`),label:`Company search`,categories:[`companies`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[G.COMPANY_PROFILES],keywords:[`accounts`,`prospect`,`find companies`,`organizations`,`firmographic`,`linkedin`],docPath:bD(JD),cost:nO,provider:`crustdata`,defaultPayload:{search_id:JD,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:[]},linkedin_headcount_ranges:[],hq_locations:{include:[],exclude:[]},number_of_followers:[],profile_summary_keywords:{include:[],exclude:[]},competitor_domains:{include:[],exclude:[]},company_domains:{include:[],exclude:[]},company_profile_urls:{include:[],exclude:[]}}}}},sO=`query:databricks@1`,cO=r.object({search_id:r.literal(sO),connector:gs(),config:r.object({query:ec({path:`config.query`,groupPath:`config.general`,sectionKey:`general`,label:`SQL query`,description:`A single read-only SELECT statement. It is wrapped automatically for pagination, so do not add your own LIMIT/OFFSET for paging.`,rows:8,minLength:1,maxLength:2e4}),limit:L({path:`config.limit`,min:1,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of rows per page`}).default(100),page_number:L({path:`config.page_number`,min:1,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page`,description:`1-based page index (offset pagination)`}).nullable().default(1)})}),lO={allowManagedConnection:!1,mode:null,credits:null,info:`Querying your own Databricks SQL warehouse is free.`},uO=`data-query-databricks-v1`,dO=class extends vD{billing={billableOperation:uO,cost:lO};searchId=sO;schema=cO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`databricks`,rateLimitOperation:`databricks_query`,rateLimitRatio:1,allowManagedConnection:!1}]}async getAgentContext(e){return UT(`databricks`,e)}},fO=cO,pO={searchId:sO,billableOperation:uO,baseSearch:yD(sO),outputFieldMode:`dynamic`,paginationType:`page_number`,label:`Query Databricks`,categories:[`data`],hasManagedConnection:!1,allowsUserConnection:!0,lifecycle:null,description:`Run a read-only SQL query against your Databricks SQL warehouse and return the rows.`,guide:"Databricks SQL dialect; config.query must be a single read-only statement (no self-managed LIMIT/OFFSET โ pagination is wrapped automatically). To discover the schema, draft a payload with a placeholder config.query like \"SELECT 1\" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the workspace-wide table/column map (all Unity catalogs) for free. Always reference tables by their FULLY QUALIFIED three-part name exactly as the map lists them (catalog.schema.table, e.g. samples.accuweather.forecast_daily); a bare table name resolves against the warehouse's unpredictable current catalog and usually fails with TABLE_OR_VIEW_NOT_FOUND. Sample actual rows (also free) with run_search_oneshot, then write the real config.query. Tables under the `samples` catalog (and Databricks' other built-in example schemas like `tpch` and `tpcds_*`) are DEMO data shipped to every workspace, NOT the customer's own data. If the user asks about their data and the only match is under `samples`/a demo schema โ or the map shows only demo tables โ the connection isn't pointed at their catalog: confirm the intended table with the user before querying, and never answer their question from a demo table.",tags:[G.FIELDS,G.NEW],keywords:[`sql`,`database`,`warehouse`,`select`,`table`,`read data`],docPath:bD(sO),cost:lO,provider:`databricks`,defaultPayload:{search_id:sO,connector:{strategy:`first`,connections:[]},config:{query:``,limit:100,page_number:1}}},mO=`query:postgres@1`,hO=r.object({search_id:r.literal(mO),connector:gs(),config:r.object({query:ec({path:`config.query`,groupPath:`config.general`,sectionKey:`general`,label:`SQL query`,description:`A single read-only SELECT statement. It is wrapped automatically for pagination, so do not add your own LIMIT/OFFSET for paging.`,rows:8,minLength:1,maxLength:2e4}),limit:L({path:`config.limit`,min:1,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of rows per page`}).default(100),page_number:L({path:`config.page_number`,min:1,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page`,description:`1-based page index (offset pagination)`}).nullable().default(1)})}),gO={allowManagedConnection:!1,mode:null,credits:null,info:`Querying your own PostgreSQL database is free.`},_O=`data-query-postgres-v1`,vO=class extends vD{billing={billableOperation:_O,cost:gO};searchId=mO;schema=hO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`postgres`,rateLimitOperation:`postgres_query`,rateLimitRatio:1,allowManagedConnection:!1}]}async getAgentContext(e){return UT(`postgres`,e)}},yO=hO,bO={searchId:mO,billableOperation:_O,baseSearch:yD(mO),outputFieldMode:`dynamic`,paginationType:`page_number`,label:`Query Postgres`,categories:[`data`],hasManagedConnection:!1,allowsUserConnection:!0,lifecycle:null,description:`Run a read-only SQL query against your own PostgreSQL database and return the rows.`,guide:`PostgreSQL dialect; config.query must be a single read-only SELECT (no self-managed LIMIT/OFFSET โ pagination is wrapped automatically). To discover the schema, draft a payload with a placeholder config.query like "SELECT 1" and the chosen connection in connector.connections, then call get_provider_context once โ it returns the full table/column map for free. Sample actual rows (also free) with run_search_oneshot, then write the real config.query.`,tags:[G.FIELDS,G.NEW],keywords:[`sql`,`database`,`select`,`table`,`read data`],docPath:bD(mO),cost:gO,provider:`postgres`,defaultPayload:{search_id:mO,connector:{strategy:`first`,connections:[]},config:{query:``,limit:100,page_number:1}}},xO=`companies:profiles:amplemarket@1`,SO=g(`company_name`),CO=g(`company_website_url`),wO=g(`company_description`),TO=g(`company_profile_url`),EO=g(`amplemarket_company_match`),DO=r.object({search_id:r.literal(xO),connector:Ji.nullable().optional(),config:r.object({limit:L({label:`Limit`,description:`Max number of search results`,path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`}),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:R(r.object({[SO.name]:N({fieldName:SO.name}),[CO.name]:N({fieldName:CO.name}),[wO.name]:N({fieldName:wO.name}),[TO.name]:N({fieldName:TO.name}),[EO.name]:N({fieldName:EO.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:W(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),company_names:j({sectionKey:`config.filters`,path:`config.filters.company_names`,label:`Company names`,description:``,placeholder:W(`company_name`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),company_website_urls:j({sectionKey:`config.filters`,path:`config.filters.company_website_urls`,label:`Company domains`,description:``,placeholder:W(`company_domain`),groupPath:`config.filters.categories`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),company_profile_urls:j({sectionKey:`config.filters`,path:`config.filters.company_profile_urls`,label:`Company LinkedIn URLs`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,disableSearch:!1,label:`Company Type`,description:``,groupPath:`config.filters.categories`,options:m(`amplemarket.company_types`),required:!1}).default([]),investors:F({sectionKey:`config.filters`,path:`config.filters.investors`,label:`Investor names`,optionsDef:h(`company.crunchbase_investors.crustdata`),description:`A list of company investor names`,placeholder:W(`investor`),groupPath:`config.filters.investors`,disableSearch:!1,required:!1}).default([]),company_industries:M({sectionKey:`config.filters`,path:`config.filters.company_industries`,optionsDef:Re(`amplemarket.industries`),disableSearch:!1,label:`Industries`,description:``,placeholder:W(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),customer_types:P({sectionKey:`config.filters`,path:`config.filters.customer_types`,options:[{value:`b2b`,label:`B2B`},{value:`b2c`,label:`B2C`}],required:!1,disableSearch:!0,label:`Customer Types`,description:``,groupPath:`config.filters.industry`}).default([]),keywords:j({sectionKey:`config.filters`,path:`config.filters.keywords`,label:`Keywords`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),revenue_groups:P({path:`config.filters.revenue_groups`,sectionKey:`config.filters`,label:`Revenue groups`,description:``,disableSearch:!0,options:m(`amplemarket.company_revenue`),required:!1,groupPath:`config.filters.financials`}).default([]),founded_year:qs({path:`config.filters.founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.general`,min:0,max:2040,description:``}).default({min:null,max:null}),open_positions_titles:A({path:`config.filters.open_positions_titles`,sectionKey:`config.filters`,label:`Job openings for titles`,groupPath:`config.filters.job_openings`,description:``,placeholder:W(`title`),suggestionsDef:h(`titles`)}),headcount:P({sectionKey:`config.filters`,path:`config.filters.company_sizes`,disableSearch:!1,options:m(`amplemarket.company_size`),label:`Headcount groups`,required:!1,description:``,groupPath:`config.filters.company_size`}).default([]),headcount_growth_last_6_months_in_percent:qs({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}).default({min:null,max:null})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),OO={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},kO=`companies-profiles-amplemarket-v1`,AO=class extends vD{billing={billableOperation:kO,cost:OO};searchId=xO;schema=DO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}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)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_company_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},jO=DO,MO={searchId:xO,billableOperation:kO,baseSearch:yD(`companies:profiles:amplemarket@1`),label:`Company search`,categories:[`deprecated`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:amplemarket@2`},description:`Filter based company search.`,tags:[G.COMPANY_PROFILES],docPath:bD(xO),cost:OO,provider:`amplemarket`,defaultPayload:{search_id:xO,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:[]}}}}},NO=`companies:profiles:crustdata@1`,PO=g(`company_name`),FO=g(`company_website_url`),IO=g(`company_description`),LO=g(`company_profile_url`),RO=g(`crustdata_company_match`),zO=r.object({search_id:r.literal(NO),connector:Ji.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:R(r.object({[PO.name]:N({fieldName:PO.name}),[FO.name]:N({fieldName:PO.name}),[IO.name]:N({fieldName:IO.name}),[LO.name]:N({fieldName:LO.name}),[RO.name]:N({fieldName:RO.name})})),filters:r.object({hq_locations:I({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,placeholder:W(`location`),groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default({include:[],exclude:[]}),crunchbase_categories:I({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,placeholder:W(`crunchbase_category`),description:``,groupPath:`config.filters.categories`,optionsDef:h(`company.crunchbase_categories.crustdata`)}).default({include:[],exclude:[]}),crunchbase_investors:I({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,placeholder:W(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.crunchbase_investors.crustdata`)}).default({include:[],exclude:[]}),tracxn_investors:I({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,placeholder:W(`investor`),groupPath:`config.filters.investors`,optionsDef:h(`company.tracxn_investors.crustdata`)}).default({include:[],exclude:[]}),company_types:M({sectionKey:`config.filters`,path:`config.filters.company_types`,optionsDef:{type:`static`,options:m(`crustdata.company_types`)},label:`Company types`,placeholder:`Public, Private, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),linkedin_industries:I({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:h(`linkedin_industries.crustdata`),label:`Industries`,description:``,placeholder:W(`industry`),groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),markets:I({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:h(`company.markets.crustdata`),placeholder:`NYSE, TYO, ...`,label:`Markets`,description:``,groupPath:`config.filters.industry`}).default({include:[],exclude:[]}),linkedin_categories:I({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:h(`company.linkedin_categories.crustdata`),label:`LinkedIn category`,placeholder:`Marketing, Branding, ...`,description:``,groupPath:`config.filters.categories`}).default({include:[],exclude:[]}),headcount:M({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,placeholder:`1-10`,optionsDef:{type:`static`,options:m(`crustdata.company_size`)},groupPath:`config.filters.company_size`}).default({include:[],exclude:[]}),headcount_growth_last_6m_in_percent:P({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),placeholder:`0-10%`,disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),revenue_in_usd:Ys({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:M({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,placeholder:`Series A`,disableSearch:!0,optionsDef:{type:`static`,options:m(`crustdata.funding_rounds`)},description:``,groupPath:`config.filters.financials`}).default({include:[],exclude:[]}),last_funding_amount:Ys({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,placeholder:`1-500`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}).default([]),follower_growth_last_6m_in_percent:P({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,required:!1,disableSearch:!0,placeholder:`0-10%`,description:``,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}).default([]),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,placeholder:W(`company_profile_keyword`),description:``,groupPath:`config.filters.keywords`}).default({include:[],exclude:[]}),competitor_websites:j({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:``,placeholder:W(`company_domain`),groupPath:`config.filters.competitors`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),BO={allowManagedConnection:!0,mode:`per_page`,credits:{default:2}},VO=`companies-profiles-crustdata-v1`,HO=class extends vD{billing={billableOperation:VO,cost:BO};searchId=NO;schema=zO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[PO.name]:this.catalogOutput(PO),[FO.name]:this.catalogOutput(FO),[IO.name]:this.catalogOutput(IO),[LO.name]:this.catalogOutput(LO),[RO.name]:this.catalogOutput(RO)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},UO=zO,WO={searchId:NO,billableOperation:VO,baseSearch:yD(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`deprecated`],paginationType:`cursor`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`companies:profiles:crustdata@2`},description:`Filter based company search.`,tags:[G.COMPANY_PROFILES],docPath:bD(NO),cost:BO,provider:`crustdata`,defaultPayload:{search_id:NO,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:[]}}}}},GO=`people:profiles:amplemarket@1`,KO=g(`name`),qO=g(`company_website_url`),JO=g(`profile_url`),YO=g(`job_title`),XO=g(`amplemarket_person_match`),ZO=r.object({search_id:r.literal(GO),connector:Ji.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,label:`Limit`,sectionKey:`pagination`,description:`Max number of search results`}),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:R(r.object({[KO.name]:N({fieldName:KO.name}),[qO.name]:N({fieldName:qO.name}),[JO.name]:N({fieldName:JO.name}),[YO.name]:N({fieldName:YO.name}),[XO.name]:N({fieldName:XO.name})})),filters:r.object({person_names:A({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:I({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:W(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:W(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_departments:P({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:W(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_job_functions:P({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:W(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_employer_locations:I({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:h(`locations`),groupPath:`config.filters.current_company`,placeholder:W(`location`)}).default({include:[],exclude:[]}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:W(`company_name`),suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),current_employer_website_urls:j({path:`config.filters.current_employer_website_urls`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:W(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),current_employer_linkedin_industries:P({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:W(`industry`),required:!1,options:m(`linkedin.industries`)}).default([]),current_employer_estimated_revenue:P({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}).default([]),current_employer_founded_year:qs({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,description:``}).default({min:null,max:null}),current_employer_investors:A({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:W(`investor`),description:``}),current_employer_open_positions_titles:A({path:`config.filters.current_employer_open_positions_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:W(`title`),suggestionsDef:h(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),QO={allowManagedConnection:!0,mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},$O=`people-profiles-amplemarket-v1`,ek=class extends vD{billing={billableOperation:$O,cost:QO};searchId=GO;schema=ZO;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[KO.name]:this.catalogOutput(KO),[qO.name]:this.catalogOutput(qO),[JO.name]:this.catalogOutput(JO),[YO.name]:this.catalogOutput(YO),[XO.name]:this.catalogOutput(XO)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},tk=ZO,nk={searchId:GO,billableOperation:$O,baseSearch:yD(`people:profiles:amplemarket@1`),paginationType:`page_number`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:amplemarket@2`},description:`Filter-based people search.`,tags:[G.PEOPLE_PROFILES],docPath:bD(GO),cost:QO,provider:`amplemarket`,defaultPayload:{search_id:GO,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:[]}}}},rk=`people:profiles:crustdata@1`,ik=g(`name`),ak=g(`company_website_url`),ok=g(`profile_url`),sk=g(`job_title`),ck=g(`crustdata_person_match`),lk=r.object({search_id:r.literal(rk),connector:Ji.nullable().optional(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of search results`}),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:R(r.object({[ik.name]:N({fieldName:ik.name}),[ak.name]:N({fieldName:ak.name}),[ok.name]:N({fieldName:ok.name}),[sk.name]:N({fieldName:sk.name}),[ck.name]:N({fieldName:ck.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:W(`location`),optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:W(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),current_employers:j({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:W(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),current_employers_website_urls:j({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Company domain`,placeholder:W(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),current_employers_linkedin_industries:I({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:W(`industry`),description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),previous_employers_website_urls:j({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:W(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_domains`,{widgets:{emoji:{char:`๐`}}})}).default({include:[],exclude:[]}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:W(`seniority`),disableSearch:!0,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),previous_employers:j({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:W(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:W(`title`),groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),previous_employers_linkedin_industries:I({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:W(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:W(`headline_keywords`)}).default({include:[],exclude:[]}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:W(`profile_keywords`)}).default({include:[],exclude:[]}),profile_languages:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:W(`languages`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:W(`languages_1`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:W(`skills`),groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default({include:[],exclude:[]}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:W(`seniority`),optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:W(`certification`),description:``}).default({include:[],exclude:[]}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:W(`honor`),description:``}).default({include:[],exclude:[]}),recently_changed_jobs:Qs({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:W(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default({include:[],exclude:[]}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:W(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default({include:[],exclude:[]}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:W(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:h(`person.education_activities.crustdata`)}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),uk={allowManagedConnection:!0,mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},dk=`people-profiles-crustdata-v1`,fk=class extends vD{billing={billableOperation:dk,cost:uk};searchId=rk;schema=lk;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[ik.name]:this.catalogOutput(ik),[ak.name]:this.catalogOutput(ak),[ok.name]:this.catalogOutput(ok),[sk.name]:this.catalogOutput(sk),[ck.name]:this.catalogOutput(ck)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}},pk=lk,mk={searchId:rk,billableOperation:dk,baseSearch:yD(`people:profiles:crustdata@1`),paginationType:`cursor`,label:`People search`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:crustdata@2`},description:`Filter-based people search.`,tags:[G.PEOPLE_PROFILES],docPath:bD(rk),cost:uk,provider:`crustdata`,defaultPayload:{search_id:rk,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:[]}}}}},hk=`people:entitysearch:parallel@1`,gk=g(`name`),_k=g(`job_title`),vk=g(`profile_url`),yk=g(`parallel_person_entity_match`),bk=r.object({search_id:r.literal(hk),connector:_s(),config:r.object({objective:ec({path:`config.objective`,sectionKey:`general`,groupPath:`config.general`,label:`Objective`,rows:4,minLength:10,placeholder:`Heads of Engineering at Series B fintech companies in the US`,description:`Plain-text natural-language description of the people to find.`}),limit:L({path:`config.limit`,min:5,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of entities to return (5โ1000).`}).default(100),output_fields:R(r.object({[gk.name]:N({fieldName:gk.name}),[_k.name]:N({fieldName:_k.name}),[vk.name]:N({fieldName:vk.name}),[yk.name]:N({fieldName:yk.name})}))})}),xk={match:`any`,fields:[{fieldName:`profile_url`}]},Sk={allowManagedConnection:!0,mode:`per_page`,credits:{default:.5},info:`1 page = 100 results; billed per 100 results returned (e.g. 100 results = 1 page, 1,000 results = 10 pages). A search returns up to your selected limit in a single request.`},Ck=`people-entitysearch-parallel-v1`,wk=class extends vD{billing={billableOperation:Ck,cost:Sk};searchId=hk;schema=bk;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[gk.name]:this.catalogOutput(gk),[_k.name]:this.catalogOutput(_k),[vk.name]:this.catalogOutput(vk),[yk.name]:this.catalogOutput(yk)}}getConnectionsRequirements(){return[{provider:`parallel`,rateLimitOperation:`parallel_entity_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return xk}},Tk=bk,Ek={searchId:hk,billableOperation:Ck,baseSearch:yD(hk),label:`People search (AI)`,categories:[`people`],paginationType:`page_number`,hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Natural-language people search powered by Parallel Entity Search.`,tags:[G.PEOPLE_PROFILES],keywords:[`prospect`,`lead`,`contact`,`find people`,`natural language`],docPath:bD(hk),cost:Sk,provider:`parallel`,defaultPayload:{search_id:hk,connector:null,config:{objective:``,limit:100,output_fields:{name:{enabled:!0,alias:``},job_title:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},parallel_person_entity_match:{enabled:!1,alias:``}}}}},Dk=`people:eventguests:luma@1`,Ok=g(`name`),kk=g(`email`),Ak=g(`luma_id`),jk=g(`registered_at`),Mk=g(`luma_event_guest_match`),Nk=[{label:`Sample Meetup โ Berlin`,value:`evt-sandbox-1`},{label:`Sample Conference โ SF`,value:`evt-sandbox-2`}],Pk={requires:{connection:`luma`},options:async({query:e,secret:t,environment:n})=>{if(n===`sandbox`)return Nk;if(!t)throw Error(`A Luma connection is required to list events.`);let r=await fetch(`https://public-api.luma.com/v1/calendar/list-events`,{headers:{accept:`application/json`,"x-luma-api-key":t}});if(!r.ok){let e=await r.text();throw Error(`Failed to list Luma events: ${e}`)}let i=((await r.json()).entries||[]).filter(e=>!!e?.id).map(e=>({label:e.name||e.id,value:e.id}));return e?i.filter(t=>t.label.toLowerCase().includes(e.toLowerCase())):i}},Fk=r.object({search_id:r.literal(Dk),connector:gs(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of guests per page`}).default(100),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:R(r.object({[Ok.name]:N({fieldName:Ok.name}),[kk.name]:N({fieldName:kk.name}),[Ak.name]:N({fieldName:Ak.name}),[jk.name]:N({fieldName:jk.name}),[Mk.name]:N({fieldName:Mk.name})})),filters:r.object({event_id:nc({path:`config.filters.event_id`,sectionKey:`config.filters`,groupPath:`config.filters.event`,label:`Event`,required:!0,info:`Pick one of your Luma events; guests of this event are returned.`,enabledIf:no(`luma`),optionsDef:Pk}),approval_status:tc({path:`config.filters.approval_status`,sectionKey:`config.filters`,groupPath:`config.filters.event`,label:`Approval status`,description:`Only return guests with this approval status.`,required:!1,options:[{value:`approved`,label:`Approved`},{value:`pending_approval`,label:`Pending approval`},{value:`declined`,label:`Declined`},{value:`waitlist`,label:`Waitlist`},{value:`invited`,label:`Invited`}]})})})}),Ik={match:`any`,fields:[{fieldName:`luma_id`}]},Lk={allowManagedConnection:!0,mode:`per_page`,credits:{default:1},info:`1 page = up to 100 guests.`},Rk=`people-eventguests-luma-v1`,zk=class extends vD{billing={billableOperation:Rk,cost:Lk};searchId=Dk;schema=Fk;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Ok.name]:this.catalogOutput(Ok),[kk.name]:this.catalogOutput(kk),[Ak.name]:this.catalogOutput(Ak),[jk.name]:this.catalogOutput(jk),[Mk.name]:this.catalogOutput(Mk)}}getConnectionsRequirements(){return[{provider:`luma`,rateLimitOperation:`luma_get_guests`,rateLimitRatio:1,allowManagedConnection:!1}]}getDedupConfig(){return Ik}},Bk=Fk,Vk={searchId:Dk,billableOperation:Rk,baseSearch:yD(Dk),paginationType:`cursor`,label:`List event guests`,categories:[`people`],hasManagedConnection:!1,allowsUserConnection:!0,lifecycle:null,description:`Fetch all guests of a Luma event using your own Luma API key.`,tags:[G.PEOPLE_PROFILES,G.EVENTS,G.NEW],keywords:[`attendees`,`rsvp`,`meetup`,`conference`,`registrations`,`participants`],docPath:bD(Dk),cost:Lk,provider:`luma`,defaultPayload:{search_id:Dk,connector:{strategy:`first`,connections:[]},config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},email:{enabled:!0,alias:``},luma_id:{enabled:!0,alias:``},registered_at:{enabled:!0,alias:``},luma_event_guest_match:{enabled:!0,alias:``}},filters:{event_id:``,approval_status:``}}}},Hk=`people:profiles:amplemarket@2`,Uk=g(`name`),Wk=g(`company_domain`),Gk=g(`profile_url`),Kk=g(`job_title`),qk=g(`amplemarket_person_match`),Jk=r.object({search_id:r.literal(Hk),connector:_s(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,label:`Page size`,sectionKey:`pagination`,description:`Max number of search results per page`}).default(50),page_number:L({path:`config.page_number`,groupPath:`config.pagination`,label:`Page number`,min:1,sectionKey:`pagination`,description:``}).nullish(),output_fields:R(r.object({[Uk.name]:N({fieldName:Uk.name}),[Wk.name]:N({fieldName:Wk.name}),[Gk.name]:N({fieldName:Gk.name}),[Kk.name]:N({fieldName:Kk.name}),[qk.name]:N({fieldName:qk.name})})),filters:r.object({person_names:A({label:`Full name`,path:`config.filters.person_names`,sectionKey:`config.filters`,groupPath:`config.filters.general`}),current_locations:I({path:`config.filters.current_locations`,sectionKey:`config.filters`,label:`Location`,optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,placeholder:W(`title`),description:``,order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}),current_seniority_levels:P({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,placeholder:W(`seniority`),label:`Seniority`,required:!1,disableSearch:!1,options:m(`amplemarket.seniority_levels`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_departments:P({path:`config.filters.current_departments`,sectionKey:`config.filters`,label:`Department`,placeholder:W(`department`),disableSearch:!1,required:!1,options:m(`amplemarket.departments`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_job_functions:P({path:`config.filters.current_job_functions`,sectionKey:`config.filters`,label:`Job function`,placeholder:W(`job_function`),disableSearch:!1,required:!1,options:m(`amplemarket.job_functions`),description:``,groupPath:`config.filters.current_employer`}).default([]),current_employer_locations:I({path:`config.filters.current_employer_locations`,sectionKey:`config.filters`,label:`Headquarters`,optionsDef:h(`locations`),groupPath:`config.filters.current_company`,placeholder:W(`location`)}).default({include:[],exclude:[]}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,groupPath:`config.filters.current_company`,description:``,placeholder:W(`company_name`),suggestionsDef:h(`company_names`)}).default({include:[],exclude:[]}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,description:``,maxItems:200,placeholder:W(`company_domain`),groupPath:`config.filters.current_company`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),current_employer_linkedin_industries:P({path:`config.filters.current_employer_linkedin_industries`,sectionKey:`config.filters`,label:`Industry`,disableSearch:!1,groupPath:`config.filters.current_company`,description:``,placeholder:W(`industry`),required:!1,options:m(`linkedin.industries`)}).default([]),current_employer_estimated_revenue:P({path:`config.filters.current_employer_estimated_revenue`,sectionKey:`config.filters`,label:`Estimated revenue`,disableSearch:!1,required:!1,groupPath:`config.filters.current_company`,description:``,options:m(`amplemarket.company_revenue`)}).default([]),current_employer_founded_year:qs({path:`config.filters.current_employer_founded_year`,sectionKey:`config.filters`,label:`Founded year`,groupPath:`config.filters.current_company`,min:0,max:2040,description:``}).default({min:null,max:null}),current_employer_investors:A({path:`config.filters.current_employer_investors`,sectionKey:`config.filters`,label:`Employer investors`,groupPath:`config.filters.current_company`,placeholder:W(`investor`),description:``}),current_employer_open_position_titles:A({path:`config.filters.current_employer_open_position_titles`,sectionKey:`config.filters`,label:`Open positions`,groupPath:`config.filters.current_company`,description:``,placeholder:W(`title`),suggestionsDef:h(`titles`)}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),Yk={match:`any`,fields:[{fieldName:`profile_url`}]},Xk={allowManagedConnection:!0,mode:`per_page`,credits:{default:3},info:`1 page = 100 records; 200 results = 2 pages`},Zk=`people-profiles-amplemarket-v2`,Qk=class extends vD{billing={billableOperation:Zk,cost:Xk};searchId=Hk;schema=Jk;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[Uk.name]:this.catalogOutput(Uk),[Wk.name]:this.catalogOutput(Wk),[Gk.name]:this.catalogOutput(Gk),[Kk.name]:this.catalogOutput(Kk),[qk.name]:this.catalogOutput(qk)}}getConnectionsRequirements(){return[{provider:`amplemarket`,rateLimitOperation:`amplemarket_people_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return Yk}},$k=Jk,eA={searchId:Hk,billableOperation:Zk,baseSearch:yD(`people:profiles:amplemarket@2`),paginationType:`page_number`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[G.PEOPLE_PROFILES],keywords:[`prospect`,`lead`,`contact`,`find people`,`filters`],docPath:bD(Hk),cost:Xk,provider:`amplemarket`,defaultPayload:{search_id:Hk,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:[]}}}},tA=`people:profiles:crustdata@2`,nA=g(`name`),rA=g(`company_domain`),iA=g(`profile_url`),aA=g(`job_title`),oA=g(`crustdata_person_match`),sA=r.object({search_id:r.literal(tA),connector:_s(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page size`,description:`Max number of search results per page`}).default(100),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:R(r.object({[nA.name]:N({fieldName:nA.name}),[rA.name]:N({fieldName:rA.name}),[iA.name]:N({fieldName:iA.name}),[aA.name]:N({fieldName:aA.name}),[oA.name]:N({fieldName:oA.name})})),filters:r.object({locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:W(`location`),optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),current_job_titles:j({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:W(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:W(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:W(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),current_employer_industries:I({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:W(`industry`),description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),previous_employer_domains:j({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:W(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:W(`seniority`),disableSearch:!0,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),previous_employer_names:j({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer`,description:``,placeholder:W(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),previous_job_titles:j({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:W(`title`),groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),previous_employer_industries:I({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industries`,placeholder:W(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:W(`headline_keywords`)}).default({include:[],exclude:[]}),profile_summary_keywords:j({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:W(`profile_keywords`)}).default({include:[],exclude:[]}),profile_languages:M({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile language`,placeholder:W(`languages`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:W(`languages_1`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:W(`skills`),groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default({include:[],exclude:[]}),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:W(`seniority`),optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:W(`certification`),description:``}).default({include:[],exclude:[]}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:W(`honor`),description:``}).default({include:[],exclude:[]}),recently_changed_jobs:Qs({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,placeholder:W(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default({include:[],exclude:[]}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,placeholder:W(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default({include:[],exclude:[]}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),extracurricular_activities:j({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,placeholder:W(`extracurricular`),groupPath:`config.filters.education`,suggestionsDef:h(`person.education_activities.crustdata`)}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),cA={match:`any`,fields:[{fieldName:`profile_url`}]},lA={allowManagedConnection:!0,mode:`per_page`,credits:{default:5},info:`1 page = 100 records; 200 results = 2 pages`},uA=`people-profiles-crustdata-v2`,dA=class extends vD{billing={billableOperation:uA,cost:lA};searchId=tA;schema=sA;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[nA.name]:this.catalogOutput(nA),[rA.name]:this.catalogOutput(rA),[iA.name]:this.catalogOutput(iA),[aA.name]:this.catalogOutput(aA),[oA.name]:this.catalogOutput(oA)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return cA}},fA=sA,pA={searchId:tA,billableOperation:uA,baseSearch:yD(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[G.PEOPLE_PROFILES],keywords:[`prospect`,`lead`,`contact`,`find people`,`linkedin`],docPath:bD(tA),cost:lA,provider:`crustdata`,defaultPayload:{search_id:tA,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:[]}}}}},mA=`people:profiles:crustdata@3`,hA=g(`name`),gA=g(`profile_url`),_A=g(`person_profile_match`),vA=r.object({search_id:r.literal(mA),connector:_s(),config:r.object({limit:L({path:`config.limit`,min:1,max:1e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page size`,description:`Max number of search results per page`}).default(100),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),output_fields:R(r.object({[hA.name]:N({fieldName:hA.name}),[gA.name]:N({fieldName:gA.name}),[_A.name]:N({fieldName:_A.name})})),filters:r.object({recently_changed_jobs:Qs({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),certifications:j({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,placeholder:W(`certification`),description:``,suggestionsDef:h(`person.certifications.crustdata`)}).default({include:[],exclude:[]}),honors:j({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,placeholder:W(`honor`),description:``,suggestionsDef:h(`person.honors.crustdata`)}).default({include:[],exclude:[]}),current_employer_domains:j({path:`config.filters.current_employer_domains`,sectionKey:`config.filters`,label:`Company domain`,placeholder:W(`company_domain`),description:``,maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),current_employer_headcount_brackets:P({path:`config.filters.current_employer_headcount_brackets`,sectionKey:`config.filters`,label:`Headcount`,description:``,placeholder:`1-10`,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.current_employer`}).default([]),current_employer_industries:I({path:`config.filters.current_employer_industries`,sectionKey:`config.filters`,label:`Industry`,groupPath:`config.filters.current_employer`,placeholder:W(`industry`),description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),current_employer_names:j({path:`config.filters.current_employer_names`,sectionKey:`config.filters`,label:`Company name`,description:``,placeholder:W(`company_name`),maxItems:200,groupPath:`config.filters.current_employer`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),current_employment_job_functions:P({path:`config.filters.current_employment_job_functions`,sectionKey:`config.filters`,label:`Function`,groupPath:`config.filters.current_employer`,placeholder:W(`job_function`),description:``,disableSearch:!0,required:!1,options:m(`employment_function.crustdata`)}).default([]),current_employment_job_titles:j({path:`config.filters.current_employment_job_titles`,sectionKey:`config.filters`,label:`Title`,description:``,placeholder:W(`title`),order:1,groupPath:`config.filters.current_employer`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),current_employment_seniority_levels:P({path:`config.filters.current_employment_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,placeholder:W(`seniority`),options:Re(`crustdata.person_seniority`).options,required:!1,description:``,groupPath:`config.filters.current_employer`}).default([]),current_employment_tenure_brackets:P({path:`config.filters.current_employment_tenure_brackets`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.current_employer`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),current_school_names:I({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),degree_names:I({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree`,placeholder:W(`degree_name`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default({include:[],exclude:[]}),fields_of_study:I({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Field of study`,placeholder:W(`field_of_study`),description:``,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default({include:[],exclude:[]}),school_names:I({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School`,description:``,placeholder:W(`school`),groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default({include:[],exclude:[]}),previous_employer_domains:j({path:`config.filters.previous_employer_domains`,sectionKey:`config.filters`,label:`Previous employer domain`,description:``,placeholder:W(`company_domain`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_domains`,{widgets:e=>({logo_url:{url:Et(e.value)}})})}).default({include:[],exclude:[]}),previous_employer_headcount_brackets:P({path:`config.filters.previous_employer_headcount_brackets`,sectionKey:`config.filters`,label:`Previous employer headcount`,description:``,placeholder:`1-10`,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.experience`}).default([]),previous_employer_industries:I({path:`config.filters.previous_employer_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,placeholder:W(`industry`),groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`,{limit:300})}).default({include:[],exclude:[]}),previous_employer_names:j({path:`config.filters.previous_employer_names`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,placeholder:W(`company_name`),maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`company_names`,{widgets:{emoji:{char:`๐ท๏ธ`}}})}).default({include:[],exclude:[]}),previous_employment_job_functions:P({path:`config.filters.previous_employment_job_functions`,sectionKey:`config.filters`,label:`Previous function`,groupPath:`config.filters.experience`,placeholder:W(`job_function`),description:``,disableSearch:!0,required:!1,options:m(`employment_function.crustdata`)}).default([]),previous_employment_job_titles:j({path:`config.filters.previous_employment_job_titles`,sectionKey:`config.filters`,label:`Previous title`,description:``,placeholder:W(`title`),groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}).default({include:[],exclude:[]}),previous_employment_seniority_levels:P({path:`config.filters.previous_employment_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,placeholder:W(`seniority`),disableSearch:!0,options:Re(`crustdata.person_seniority`).options,required:!1,description:``,groupPath:`config.filters.experience`}).default([]),previous_employment_tenure_brackets:P({path:`config.filters.previous_employment_tenure_brackets`,sectionKey:`config.filters`,label:`Years at previous company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),total_years_of_experience_brackets:P({path:`config.filters.total_years_of_experience_brackets`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),languages:M({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken language`,placeholder:W(`languages_1`),optionsDef:Re(`crustdata.person_profile_languages`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),locations:I({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Location`,placeholder:W(`location`),optionsDef:h(`locations`),groupPath:`config.filters.general`}).default({include:[],exclude:[]}),about_section_keywords:j({path:`config.filters.about_section_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:W(`profile_keywords`)}).default({include:[],exclude:[]}),profile_headline_keywords:j({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`,placeholder:W(`headline_keywords`)}).default({include:[],exclude:[]}),skills:I({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,description:``,placeholder:W(`skills`),groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default({include:[],exclude:[]})}).check(e=>{PD(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),yA={match:`any`,fields:[{fieldName:`profile_url`}]},bA={allowManagedConnection:!0,mode:`per_result`,credits:{default:.15,level1:{credits:.07,weight:10}},info:`1 page = 100 records; 200 results = 2 pages`},xA=`people-profiles-crustdata-v3`,SA=class extends vD{billing={billableOperation:xA,cost:bA};searchId=mA;schema=vA;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[hA.name]:this.catalogOutput(hA),[gA.name]:this.catalogOutput(gA),[_A.name]:this.catalogOutput(_A)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return yA}},CA=vA,wA={searchId:mA,billableOperation:xA,baseSearch:yD(`people:profiles:crustdata@2`),paginationType:`cursor`,label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[G.PEOPLE_PROFILES],keywords:[`prospect`,`lead`,`contact`,`find people`,`linkedin`],docPath:bD(mA),cost:bA,provider:`crustdata`,defaultPayload:{search_id:mA,connector:null,config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},profile_url:{enabled:!0,alias:``},person_profile_match:{enabled:!0,alias:``}},filters:{recently_changed_jobs:null,certifications:{include:[],exclude:[]},honors:{include:[],exclude:[]},current_employer_domains:{include:[],exclude:[]},current_employer_headcount_brackets:[],current_employer_industries:{include:[],exclude:[]},current_employer_names:{include:[],exclude:[]},current_employment_job_functions:[],current_employment_job_titles:{include:[],exclude:[]},current_employment_seniority_levels:[],current_employment_tenure_brackets:[],current_school_names:{include:[],exclude:[]},degree_names:{include:[],exclude:[]},fields_of_study:{include:[],exclude:[]},school_names:{include:[],exclude:[]},previous_employer_domains:{include:[],exclude:[]},previous_employer_headcount_brackets:[],previous_employer_industries:{include:[],exclude:[]},previous_employer_names:{include:[],exclude:[]},previous_employment_job_functions:[],previous_employment_job_titles:{include:[],exclude:[]},previous_employment_seniority_levels:[],previous_employment_tenure_brackets:[],total_years_of_experience_brackets:[],languages:{include:[],exclude:[]},locations:{include:[],exclude:[]},about_section_keywords:{include:[],exclude:[]},profile_headline_keywords:{include:[],exclude:[]},skills:{include:[],exclude:[]}}}}},TA=`posts:content:crustdata@1`,EA=g(`post_match`),DA=g(`post_text`),OA=g(`post_id`),kA=r.object({search_id:r.literal(TA),connector:_s(),config:r.object({limit:L({path:`config.limit`,min:1,max:100,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Page size`,description:`Max number of search results per page`}).default(100),output_fields:R(r.object({[OA.name]:N({fieldName:OA.name}),[EA.name]:N({fieldName:EA.name}),[DA.name]:N({fieldName:DA.name})})),filters:r.object({keywords:A({path:`config.filters.keywords`,sectionKey:`config.filters`,label:`Search keywords`,groupPath:`config.filters.general`,maxItems:6,placeholder:W(`profile_keywords`),description:``}).default([]),keyword_operator:tc({path:`config.filters.keyword_operator`,sectionKey:`config.filters`,label:`Keyword operator`,groupPath:`config.filters.general`,options:[{value:`OR`,label:`Any keyword (OR)`},{value:`AND`,label:`All keywords (AND)`}],required:!0,defaultValue:`OR`,description:`Post must match any or all keywords.`}).default(`OR`),date_posted:tc({path:`config.filters.date_posted`,sectionKey:`config.filters`,label:`Date posted`,groupPath:`config.filters.general`,options:Re(`crustdata.post_date_posted`).options,placeholder:`Past 24h, past week, ...`,required:!1,defaultValue:``,description:`Only return posts published within this recency window.`}).default(``),content_types:P({path:`config.filters.content_types`,sectionKey:`config.filters`,label:`Content type`,groupPath:`config.filters.general`,options:m(`crustdata.post_content_type`),disableSearch:!0,required:!1,placeholder:`Photos, jobs, ...`,description:``}).default([]),author_industries:F({path:`config.filters.author_industries`,sectionKey:`config.filters`,label:`Author industry`,groupPath:`config.filters.author`,optionsDef:h(`linkedin_industries.crustdata`),disableSearch:!1,required:!1,maxItems:100,placeholder:W(`industry`),description:`Only return posts whose author works in one of these industries.`}).default([]),author_company_profile_url:A({path:`config.filters.author_company_profile_url`,sectionKey:`config.filters`,label:`Author company profile URL`,groupPath:`config.filters.author`,maxItems:50,placeholder:`https://linkedin.com/company/..., ...`,description:`Only return posts whose author currently works at these companies (by LinkedIn profile URL).`}).default([]),author_title:A({path:`config.filters.author_title`,sectionKey:`config.filters`,label:`Author title`,groupPath:`config.filters.author`,maxItems:50,suggestionsDef:h(`titles`),placeholder:W(`title`),description:`Only return posts whose author holds one of these titles.`}).default([]),author_profile_url:A({path:`config.filters.author_profile_url`,sectionKey:`config.filters`,label:`Author profile URL`,groupPath:`config.filters.author`,maxItems:50,placeholder:`https://linkedin.com/in/..., ...`,description:`Only return posts authored by these people (by LinkedIn profile URL).`}).default([]),authoring_company_profile_url:A({path:`config.filters.authoring_company_profile_url`,sectionKey:`config.filters`,label:`Authoring company profile URL`,groupPath:`config.filters.author`,maxItems:50,placeholder:`https://linkedin.com/company/..., ...`,description:`Only return posts authored by these companies (by LinkedIn profile URL).`}).default([]),companies_mentioned_in_post:A({path:`config.filters.companies_mentioned_in_post`,sectionKey:`config.filters`,label:`Companies mentioned in post`,groupPath:`config.filters.mentions`,maxItems:50,placeholder:`https://linkedin.com/company/..., ...`,description:`Only return posts that mention these companies (by LinkedIn profile URL).`}).default([]),people_mentioned_in_post:A({path:`config.filters.people_mentioned_in_post`,sectionKey:`config.filters`,label:`People mentioned in post`,groupPath:`config.filters.mentions`,maxItems:50,placeholder:`https://linkedin.com/in/..., ...`,description:`Only return posts that mention these people (by LinkedIn profile URL).`}).default([])}).check(e=>{let t=e.value,n=t.keywords.some(e=>e.trim()!==``),r=[t.author_industries,t.author_company_profile_url,t.author_title,t.author_profile_url,t.authoring_company_profile_url,t.companies_mentioned_in_post,t.people_mentioned_in_post].some(e=>e.length>0);!n&&!r&&e.issues.push({code:`custom`,message:`Provide a keyword or at least one filter.`,input:e.value,path:[`keywords`]});let i=t.author_industries.length>0||t.author_company_profile_url.length>0||t.author_title.length>0||t.author_profile_url.length>0;t.authoring_company_profile_url.length>0&&i&&e.issues.push({code:`custom`,message:`Authoring company profile URL can't be combined with author profile URL, company name, title, or industry filters.`,input:e.value,path:[`authoring_company_profile_url`]})})})}),AA={match:`any`,fields:[{fieldName:`post_id`}]},jA={allowManagedConnection:!0,mode:`per_result`,credits:{default:2}},MA=`posts-content-crustdata-v1`,NA=class extends vD{billing={billableOperation:MA,cost:jA};searchId=TA;schema=kA;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[OA.name]:this.catalogOutput(OA),[EA.name]:this.catalogOutput(EA),[DA.name]:this.catalogOutput(DA)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_social_post_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return AA}},PA=kA,FA={searchId:TA,billableOperation:MA,baseSearch:yD(TA),paginationType:`page_number`,label:`LinkedIn post search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Keyword-based LinkedIn post search.`,tags:[G.LINKEDIN],keywords:[`content`,`social`,`engagement`,`keyword`,`activity`],docPath:bD(TA),cost:jA,provider:`crustdata`,defaultPayload:{search_id:TA,connector:null,config:{limit:100,output_fields:{post_id:{enabled:!0,alias:``},post_text:{enabled:!0,alias:``},post_match:{enabled:!0,alias:``}},filters:{keywords:[],keyword_operator:`OR`,date_posted:``,content_types:[],author_industries:[],author_company_profile_url:[],author_title:[],author_profile_url:[],authoring_company_profile_url:[],companies_mentioned_in_post:[],people_mentioned_in_post:[]}}}},IA=`bucket:entries@1`,LA=r.object({search_id:r.literal(IA),connector:gs(),config:r.object({bucket:$s({path:`config.bucket`,groupPath:`config.general`,inputType:`text`,label:`Bucket`,sectionKey:`general`,description:`The bucket's org-unique slug. Its entries (one row each) are returned.`}),limit:L({path:`config.limit`,min:1,max:2e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of entries per page`}).default(100),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),include_metadata:Zs({path:`config.include_metadata`,groupPath:`config.general`,sectionKey:`general`,label:`Include metadata`,description:`Provenance (source sheet/row/run) and expiry as extra columns.`,defaultValue:!1})})}),RA={allowManagedConnection:!0,mode:`per_search`,credits:{default:0},info:`Reading your own bucket is free.`},zA=`bucket-entries-v1-pipe0`,BA=class extends vD{billing={billableOperation:zA,cost:RA};searchId=IA;schema=LA;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0_api_operation`,rateLimitRatio:1,allowManagedConnection:!0}]}},VA=LA,HA={searchId:IA,billableOperation:zA,baseSearch:yD(IA),outputFieldMode:`dynamic`,paginationType:`cursor`,label:`Read bucket entries`,categories:[`data`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`List the entries in a bucket โ one row per entry, with its identifying field values (and counter number / expiry).`,tags:[G.FIELDS,G.NEW],keywords:[`claims`,`counter`,`suppression`,`list`,`lookup`,`rows`],docPath:bD(IA),cost:RA,provider:`pipe0`,defaultPayload:{search_id:IA,connector:{strategy:`first`,connections:[]},config:{bucket:``,limit:100,cursor:``,include_metadata:!1}}},UA=`sheet:rows@1`,WA=[{label:`Demo leads`,value:`demo-leads`},{label:`Demo companies`,value:`demo-companies`},{label:`Demo contacts`,value:`demo-contacts`}],GA={requires:{connection:`pipe0`},enabledIf:no(`pipe0`,`Select a pipe0 connection to see sheet suggestions`),options:async({query:e,client:t,environment:n})=>n===`sandbox`?WA:t?(await t.sheets.list({query:e})).map(e=>({label:e.slug,value:e.slug})):[],widgets:{provider_logo:{provider:`pipe0`}}},KA=r.object({search_id:r.literal(UA),connector:gs(),config:r.object({sheet:nc({path:`config.sheet`,sectionKey:`general`,groupPath:`config.general`,label:`Sheet`,required:!0,info:`Pick one of your pipe0 sheets; its rows are returned.`,enabledIf:no(`pipe0`),optionsDef:GA}),limit:L({path:`config.limit`,min:1,max:2e3,groupPath:`config.pagination`,sectionKey:`pagination`,label:`Limit`,description:`Max number of rows per page`}).default(100),cursor:$s({path:`config.cursor`,groupPath:`config.pagination`,inputType:`text`,label:`Cursor`,sectionKey:`pagination`,description:`Pagination cursor`}).nullable(),include_metadata:Zs({path:`config.include_metadata`,groupPath:`config.general`,sectionKey:`general`,label:`Include metadata`,description:`Widgets and prevenance tags.`,defaultValue:!1})})}),qA={allowManagedConnection:!0,mode:`per_search`,credits:{default:0},info:`Reading your own pipe0 sheet is free.`},JA=`sheet-items-v1-pipe0`,YA=class extends vD{billing={billableOperation:JA,cost:qA};searchId=UA;schema=KA;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{}}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0_api_operation`,rateLimitRatio:1,allowManagedConnection:!0}]}},XA=KA,ZA={searchId:UA,billableOperation:JA,baseSearch:yD(UA),outputFieldMode:`dynamic`,paginationType:`cursor`,label:`Read sheet rows`,categories:[`data`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`List rows from a pipe0 sheet.`,tags:[G.FIELDS,G.NEW],keywords:[`lookup`,`list`,`records`,`table`,`fetch`],docPath:bD(UA),cost:qA,provider:`pipe0`,defaultPayload:{search_id:UA,connector:{strategy:`first`,connections:[]},config:{sheet:``,limit:100,cursor:``,include_metadata:!1}}},QA={"people:profiles:crustdata@1":fk,"people:profiles:crustdata@2":dA,"people:profiles:crustdata@3":SA,"companies:profiles:crustdata@1":HO,"companies:profiles:crustdata@2":iO,"people:profiles:amplemarket@1":ek,"people:profiles:amplemarket@2":Qk,"companies:profiles:amplemarket@1":AO,"companies:profiles:amplemarket@2":GD,"companies:entitysearch:parallel@1":jD,"people:entitysearch:parallel@1":wk,"people:eventguests:luma@1":zk,"posts:content:crustdata@1":NA,"sheet:rows@1":YA,"bucket:entries@1":BA,"query:postgres@1":vO,"query:databricks@1":dO},$A={"people:profiles:crustdata@1":pk,"people:profiles:crustdata@2":fA,"people:profiles:crustdata@3":CA,"companies:profiles:crustdata@1":UO,"companies:profiles:crustdata@2":aO,"people:profiles:amplemarket@1":tk,"people:profiles:amplemarket@2":$k,"companies:profiles:amplemarket@1":jO,"companies:profiles:amplemarket@2":KD,"companies:entitysearch:parallel@1":MD,"people:entitysearch:parallel@1":Tk,"people:eventguests:luma@1":Bk,"posts:content:crustdata@1":PA,"sheet:rows@1":XA,"bucket:entries@1":VA,"query:postgres@1":yO,"query:databricks@1":fO},ej={"people:profiles:crustdata@1":mk,"people:profiles:crustdata@2":pA,"people:profiles:crustdata@3":wA,"companies:profiles:crustdata@1":WO,"companies:profiles:crustdata@2":oO,"people:profiles:amplemarket@1":nk,"people:profiles:amplemarket@2":eA,"companies:profiles:amplemarket@1":MO,"companies:profiles:amplemarket@2":qD,"companies:entitysearch:parallel@1":ND,"people:entitysearch:parallel@1":Ek,"people:eventguests:luma@1":Vk,"posts:content:crustdata@1":FA,"sheet:rows@1":ZA,"bucket:entries@1":HA,"query:postgres@1":bO,"query:databricks@1":pO};function tj(e){return QA[e]}const nj=t.discriminatedUnion(`search_id`,Object.values($A).map(e=>e)).openapi(`SearchPayloadSchema`);function rj(e,t){return vt(t,ej[e].defaultPayload)}const ij=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=rj(e.search_id);return t?{...e,config:vt(e?.config||{},t.config)}:e},nj),aj=t.object({config:t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1}),field_definitions:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}).default({environment:`production`,widgets:{enabled:!1},field_definitions:{enabled:!1}}),search:ij}).openapi(`SearchRequestSchema`),oj=Ti,sj=t.object({value:di,status:ui,type:ci.optional(),format:Oi.nullable().optional(),resolved_by:Pi.nullable().optional(),widgets:wi.optional()}),cj=t.record(t.string(),sj.nullable());function lj(e){return $A[e]}const uj=t.enum([`cursor`,`page_number`]),dj=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),search_id:gD,errors:t.array(oj),results:t.array(cj),organization_id:t.string(),next_page:ij.nullable(),pagination_type:uj.nullable(),total_pages:t.int32().nullable(),field_definitions:Ai.optional()}).openapi(`SearchResponseSchema`);function fj(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function pj(){let e={};for(let t of Object.values(ej)){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=fj(e.searchId);return fj(t.searchId)-n})}),e}function mj(e){return ej[e]}const hj=pj();function gj(e){let t=[];for(let[n,r]of Object.entries(hj)){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:fj(i.searchId)})}return t}function _j(e){let t=ej[e].defaultPayload.config.output_fields;return t?Object.keys(t):[]}function vj(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 _j(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:hj}}function yj(e){let t=mj(e);return{[t.provider]:t.cost.allowManagedConnection?t.cost.credits.default:0}}const bj={"prompt:run@1":mw,"agent:run@1":ul,"company:newssummary:website@1":Jf,"company:newssummary:domain@1":Vu,"company:techstack:builtwith@1":Ip,"company:techstack:builtwith@2":md,"company:websiteurl:email@1":Gp,"company:domain:workemail@1":xl,"company:funding:leadmagic@1":Bd,"company:funding:leadmagic@2":Fl,"people:workemail:waterfall@1":av,"person:workemail:waterfall@1":sw,"people:email:iswork@1":em,"email:iswork@1":mv,"people:name:split@1":kh,"person:name:split@1":CS,"people:validate:email:zerobounce@1":M_,"people:email:validate:zerobounce@2":ym,"email:validate:zerobounce@1":Rv,"people:mobilenumber:workemail:waterfall@1":yh,"person:name:join@1":pS,"company:overview@1":lp,"company:overview@2":Tp,"company:overview@3":rd,"json:extract:multi@1":Ry,"company:lookalikes:companyenrich@1":vf,"company:lookalikes:companyenrich@2":du,"company:match:logodev@1":zf,"company:match:logodev@2":Mu,"person:posts:content:crustdata@1":GS,"people:profile:workemail:crustdata@1":u_,"person:profile:workemail:crustdata@1":fC,"people:identity:email:waterfall@1":Bm,"person:identity:email:waterfall@1":hx,"person:identity:amplemarket@1":$b,"email:send:resend@1":Ov,"contact:create:resend@1":Ed,"lead:enroll:lemlist@1":ob,"email:send:gmail@1":xv,"email:write@1":qv,"fields:merge@1":Cy,"field:slugify@1":dy,"field:domainify@1":ny,"http:request@1":My,"template:fill@1":yE,"message:send:slack@1":mb,"message:write@1":Sb,"people:personalemail:profile:waterfall@1":Vh,"person:personalemail:profileurl:waterfall@1":FS,"website:scrape:firecrawl@1":rD,"website:scrapelist:firecrawl@1":fD,"website:extract:firecrawl@1":OE,"website:extract:parallel@1":LE,"website:maplinks:firecrawl@1":KE,"row:append:sheet@1":pT,"bucket:claim@1":Nw,"bucket:count@1":qw,"bucket:check@1":Bw,"row:expandappend:sheet@1":CT,"row:roundrobin:sheet@1":AT,"rows:find:sheet@1":fE,"rows:find:postgres@1":rE,"rows:find:databricks@1":YT,"people:match:role:waterfall@1":Zm,"person:match:role:waterfall@1":Fx,"company:match:crustdata@1":Df,"company:match:crustdata@2":bu,"person:match:amplemarket@1":wx,"company:identity@2":lf,"company:identity@3":Kl,"company:identity:crustdata@1":nu,"people:phone:profile:waterfall@1":Qh,"person:mobile:profileurl:waterfall@1":Kx,"person:devprofileurl:profileurl:waterfall@1":Pb,"people:phone:workemail:waterfall@1":lg,"person:mobile:workemail:waterfall@1":rS,"people:profile:waterfall@1":e_,"person:profile:waterfall@1":nC,"people:profileurl:email:waterfall@1":S_,"person:profileurl:email:waterfall@1":wC,"person:profileurl:name@1":FC,"people:email:validate:zerobounce@1":lm,"person:email:validate:millionverifier@1":Wb,"people:workemail:profileurl:waterfall@1":G_,"person:workemail:profileurl:waterfall@1":qC,"company:identity@1":Zd,"people:professionalprofile:waterfall@1":bg,"people:professionalprofileurl:name@1":Ug,"people:professionalprofileurl:email:waterfall@1":Mg,"people:mobilenumber:professionalprofile:waterfall@1":ch},xj={"prompt:run@1":hw,"agent:run@1":dl,"company:newssummary:website@1":Yf,"company:newssummary:domain@1":Hu,"company:techstack:builtwith@1":Lp,"company:techstack:builtwith@2":hd,"company:websiteurl:email@1":Kp,"company:domain:workemail@1":Sl,"company:funding:leadmagic@1":Vd,"company:funding:leadmagic@2":Il,"people:workemail:waterfall@1":ov,"person:workemail:waterfall@1":cw,"people:email:iswork@1":tm,"email:iswork@1":hv,"people:name:split@1":Ah,"person:name:split@1":wS,"people:validate:email:zerobounce@1":N_,"people:email:validate:zerobounce@2":bm,"email:validate:zerobounce@1":zv,"people:mobilenumber:workemail:waterfall@1":bh,"person:name:join@1":mS,"company:overview@1":up,"company:overview@2":Ep,"company:overview@3":id,"json:extract:multi@1":zy,"email:write@1":Jv,"fields:merge@1":wy,"field:slugify@1":fy,"field:domainify@1":ry,"http:request@1":Ny,"email:send:resend@1":kv,"contact:create:resend@1":Dd,"lead:enroll:lemlist@1":sb,"company:lookalikes:companyenrich@1":yf,"company:lookalikes:companyenrich@2":fu,"company:match:logodev@1":Bf,"company:match:logodev@2":Nu,"person:posts:content:crustdata@1":KS,"people:profile:workemail:crustdata@1":d_,"person:profile:workemail:crustdata@1":pC,"people:identity:email:waterfall@1":Vm,"person:identity:email:waterfall@1":gx,"company:match:crustdata@1":Of,"company:match:crustdata@2":xu,"person:identity:amplemarket@1":ex,"message:send:slack@1":hb,"email:send:gmail@1":Sv,"message:write@1":Cb,"template:fill@1":bE,"website:scrape:firecrawl@1":iD,"website:scrapelist:firecrawl@1":pD,"website:extract:firecrawl@1":kE,"website:extract:parallel@1":RE,"website:maplinks:firecrawl@1":qE,"row:append:sheet@1":mT,"bucket:claim@1":Pw,"bucket:count@1":Jw,"bucket:check@1":Vw,"row:expandappend:sheet@1":wT,"row:roundrobin:sheet@1":jT,"rows:find:sheet@1":pE,"rows:find:postgres@1":iE,"rows:find:databricks@1":XT,"people:match:role:waterfall@1":Qm,"person:match:role:waterfall@1":Ix,"company:identity@2":uf,"company:identity@3":ql,"company:identity:crustdata@1":ru,"people:phone:profile:waterfall@1":$h,"person:mobile:profileurl:waterfall@1":qx,"person:devprofileurl:profileurl:waterfall@1":Fb,"people:personalemail:profile:waterfall@1":Hh,"person:personalemail:profileurl:waterfall@1":IS,"people:profile:waterfall@1":t_,"person:profile:waterfall@1":rC,"people:profileurl:email:waterfall@1":C_,"person:profileurl:email:waterfall@1":TC,"person:profileurl:name@1":IC,"people:email:validate:zerobounce@1":um,"person:email:validate:millionverifier@1":Gb,"people:phone:workemail:waterfall@1":ug,"person:mobile:workemail:waterfall@1":iS,"people:workemail:profileurl:waterfall@1":K_,"person:workemail:profileurl:waterfall@1":JC,"person:match:amplemarket@1":Tx,"company:identity@1":Qd,"people:professionalprofile:waterfall@1":xg,"people:professionalprofileurl:name@1":Wg,"people:professionalprofileurl:email:waterfall@1":Ng,"people:mobilenumber:professionalprofile:waterfall@1":lh},Sj={"prompt:run@1":gw,"agent:run@1":fl,"company:newssummary:website@1":Xf,"company:newssummary:domain@1":Uu,"company:techstack:builtwith@1":Rp,"company:techstack:builtwith@2":gd,"company:websiteurl:email@1":qp,"company:domain:workemail@1":Cl,"company:funding:leadmagic@1":Hd,"company:funding:leadmagic@2":Ll,"people:workemail:waterfall@1":sv,"person:workemail:waterfall@1":lw,"people:email:iswork@1":nm,"email:iswork@1":gv,"people:name:split@1":jh,"person:name:split@1":TS,"people:validate:email:zerobounce@1":P_,"people:mobilenumber:workemail:waterfall@1":xh,"person:name:join@1":hS,"company:overview@1":dp,"company:overview@2":Dp,"company:overview@3":ad,"json:extract:multi@1":By,"email:send:resend@1":Av,"contact:create:resend@1":Od,"lead:enroll:lemlist@1":cb,"email:send:gmail@1":Cv,"message:send:slack@1":gb,"message:write@1":wb,"email:write@1":Yv,"template:fill@1":xE,"fields:merge@1":Ty,"field:slugify@1":py,"field:domainify@1":iy,"http:request@1":Py,"row:append:sheet@1":hT,"bucket:claim@1":Fw,"bucket:count@1":Yw,"bucket:check@1":Hw,"row:expandappend:sheet@1":TT,"row:roundrobin:sheet@1":MT,"rows:find:sheet@1":mE,"rows:find:postgres@1":aE,"rows:find:databricks@1":ZT,"company:lookalikes:companyenrich@1":bf,"company:lookalikes:companyenrich@2":pu,"people:match:role:waterfall@1":$m,"person:match:role:waterfall@1":Lx,"company:match:logodev@1":Vf,"company:match:logodev@2":Pu,"person:posts:content:crustdata@1":qS,"people:profile:workemail:crustdata@1":f_,"person:profile:workemail:crustdata@1":mC,"people:workemail:profileurl:waterfall@1":q_,"person:workemail:profileurl:waterfall@1":YC,"people:identity:email:waterfall@1":Hm,"person:identity:email:waterfall@1":_x,"company:match:crustdata@1":kf,"company:match:crustdata@2":Su,"person:identity:amplemarket@1":tx,"email:validate:zerobounce@1":Bv,"person:email:validate:millionverifier@1":Kb,"people:personalemail:profile:waterfall@1":Uh,"person:personalemail:profileurl:waterfall@1":LS,"people:email:validate:zerobounce@1":dm,"people:email:validate:zerobounce@2":xm,"people:phone:workemail:waterfall@1":dg,"person:mobile:workemail:waterfall@1":aS,"website:scrape:firecrawl@1":aD,"website:scrapelist:firecrawl@1":mD,"website:extract:firecrawl@1":AE,"website:extract:parallel@1":zE,"website:maplinks:firecrawl@1":JE,"person:match:amplemarket@1":Ex,"company:identity@2":df,"company:identity@3":Jl,"company:identity:crustdata@1":iu,"people:phone:profile:waterfall@1":eg,"person:mobile:profileurl:waterfall@1":Jx,"person:devprofileurl:profileurl:waterfall@1":Ib,"people:profile:waterfall@1":n_,"person:profile:waterfall@1":iC,"people:profileurl:email:waterfall@1":w_,"person:profileurl:email:waterfall@1":EC,"person:profileurl:name@1":LC,"company:identity@1":$d,"people:professionalprofile:waterfall@1":Sg,"people:professionalprofileurl:name@1":Gg,"people:professionalprofileurl:email:waterfall@1":Pg,"people:mobilenumber:professionalprofile:waterfall@1":uh};function Cj(e){return e.defaultPayload?.config?.output_fields?Object.keys(e.defaultPayload?.config?.output_fields||{}):[]}function wj(e){return bj[e]}function Tj(e){return Sj[e].defaultPayload}function Ej(e){return xj[e]}const Dj=r.discriminatedUnion(`pipe_id`,Object.values(xj)).openapi(`PipePayload`),Oj=r.preprocess(e=>{if(!e||typeof e!=`object`||!(`pipe_id`in e))return e;try{let t=Tj(oi.parse(e.pipe_id));return t?{...e,config:vt(e?.config||{},t.config)}:e}catch{return e}},Dj);function kj(e){return Sj[e]}function Aj(e,t){let n=kj(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 jj(e){let t=e.split(`@`)[1];if(!t)throw Error(`No pipe version found`);return Number(t)}function Mj(){let e={};for(let t of Object.values(Sj)){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=jj(e.pipeId);return jj(t.pipeId)-n})}),e}const Nj=e=>{let t=kj(e),n=new Set(t.deprecatedProviders);return Array.from(new Set([...t.managedProviders,...t.allowedUserConnectionProviders])).filter(e=>!n.has(e))},Pj=Mj();function Fj(e,t){let n=new Map;for(let[t,r]of Object.entries(e))for(let e of Object.keys(r.billableOperations)){let r=n.get(e)??[];r.push(`pipe ${t}`),n.set(e,r)}for(let[e,r]of Object.entries(t)){let t=r.billableOperation,i=n.get(t)??[];i.push(`search ${e}`),n.set(t,i)}let r=[...n.entries()].filter(([,e])=>e.length>1);if(r.length>0){let e=r.map(([e,t])=>` "${e}" used by ${t.join(`, `)}`).join(`
|
|
76
|
+
`);throw Error(`Catalog has ${r.length} duplicate billable-operation key(s):\n${e}`)}}Fj(Sj,ej);function Ij(e){let t=[];for(let[n,r]of Object.entries(Pj)){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:jj(i.pipeId)})}return t}function Lj(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=Nj(e.defaultPayload.pipe_id);for(let n of t)o[n]??=[],o[n].push(e.defaultPayload.pipe_id);for(let t of Cj(e))i[t]??=[],i[t].push(e.defaultPayload.pipe_id);if(e.defaultInputRequirement)for(let{field:t}of Rc(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:Pj}}const Rj=r.object({id:r.string(),organization_id:r.string(),order:r.array(li),field_definitions:Vi,errors:r.array(Ti),records:r.record(li,Ri),status:r.enum([`completed`,`failed`,`pending`,`processing`])}).openapi(`PipesResponseSchema`),zj=r.object({environment:ii.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`),Bj=r.object({config:zj.openapi(`PipesRequestConfig`),field_annotations:Ai.optional().openapi(`PipesFieldAnnotations`),pipes:r.array(Dj),input:r.array(Li.openapi(`PipesInputSchema`)),scopes:r.array(r.string()).optional()});function Vj(e){let t=kj(e);return Object.values(t.billableOperations).reduce((e,t)=>{let n=t.allowManagedConnection?t.credits.default:0;return e[t.provider]??=n,e[t.provider]=Math.min(e[t.provider],n),e},{})}function Hj(e){let t=[];for(let n of e){if(n instanceof U){t.push(n);continue}let e=Oj.parse(n);if(!kj(n.pipe_id))throw Error(`Unknown pipe: ${n.pipe_id}`);let r=new(wj(n.pipe_id))(e);t.push(r)}return t}function Uj(e,t){let n=Hj(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 Wj(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 Gj(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 Kj(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 qj(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(Kj(e))return`https://${e}`;if(!Gj(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 Jj(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(Kj(n))return`${e.protocol===`http:`?`http:`:`https:`}//${e.host}${e.pathname}${e.search}${e.hash}`;if(!Gj(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(Gj(i)||Kj(i))return`${e?.toLowerCase()===`http://`?`http:`:`https:`}//${n}${r}`}return``}}function Yj(e){try{return qj(e)}catch{console.warn(`Invalid URL: ${e}`);return}}function Xj(e,t){if(t)switch(e){case`website_url`:return Yj(t);default:return}}function Zj(e){let t;if(Qj(e))return Zj(e.value);let n=typeof e;return t=n===`string`||n===`number`||n===`boolean`?n:e===null?`unknown`:`json`,t}function Qj(e,t=0){if(typeof e==`object`&&e&&`value`in e&&`status`in e&&ui.safeParse(e.status).success){if(t>1||typeof e.value==`object`&&Qj(e.value,t++))throw new $([Q.RecursiveExpandedValue()]);return!0}return!1}function $j(e){let t=Qj(e),n;return n=t?e.value:e,t?{isExpanded:!0,resolvedInputValue:n,expandedValue:e}:{isExpanded:!1,resolvedInputValue:n,expandedValue:null}}function eM(e){return Qj(e)?eM(e.value):e}function tM(e,t,n){if([`processing`,`completed`].includes(n.status)===!1||t==null)return{};try{let r=Qr(e,n.format)?.getStaticWidgets?.(t),i=Xj(n.format,t);return jt(At(r||{},{display_value:i?{label:i}:void 0}))}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function nM(e,t,n){if(t==null)return{};try{let r=Qr(e,n)?.getStaticWidgets?.(t),i=Xj(n,t);return jt(At(r||{},{display_value:i?{label:i}:void 0}))}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}function rM(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 iM=class e{annotations;constructor(e){this.annotations=e||{}}getAnnotation(e){return this.annotations[e]}static fromInput(t,{probeCount:n=1e5,inferCatalogFields:i=!0,addIdColumn:a=!0}={probeCount:1e5,inferCatalogFields:!0,addIdColumn:!0}){let o={},s=0;for(let e of t){if(s++,s>n)break;for(let[t,n]of Object.entries(e)){if(t===``||t==null)continue;let{resolvedInputValue:e,expandedValue:a,isExpanded:s}=$j(n),c;c=s&&a.type?a.type:Zj(e);let l;$r(t)&&(l=g(t));let u=l&&(l.type===c||c===`unknown`);(!o[t]||o[t].type===`unknown`&&c!==`unknown`)&&(o[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&&!o.id&&(o.id={format:null,type:`string`,json_metadata:null,label:null}),new e(o)}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]=rM(n,t)}return new e(r)}deleteKey(t){let n=structuredClone(this.annotations);return delete n[t],new e(n)}};function aM(e){let t={};for(let n=0;n<e.length;n++){let r=e[n];Object.values(r.getOutputFields()).forEach(e=>{if(t[e.resolvedName])throw new $([Q.AmbiguousDependency({fieldName:e.resolvedName})]);t[e.resolvedName]=n})}return t}function oM(e){let t=aM(e),n=[];for(let[r,i]of e.entries()){let e=[];for(let{field:n,required:a}of Rc(i.getInputRequirement())){let o=t[n.resolvedName];if(r===o)throw new $([{code:`SelfReference`,message:`Pipe '${i.pipeId} has an input requirement that points to a field that is produced by itself.'`}]);if(o==null)continue;let s=e.find(e=>e.index===o);s?(s.reason??=[],s.reason=Array.from(new Set([...s.reason,`input`])),s.required=a||s.required):e.push({index:o,required:a,reason:[`input`]})}if(i.payload.run_if){let n=i.payload.run_if.when.conditions.map(e=>e.field_name);for(let r of n){let n=t[r];if(n==null)continue;let i=e.find(e=>e.index===n);i?(i.reason??=[],i.reason=Array.from(new Set([...i.reason,`input`])),i.required=!0):e.push({index:n,required:!0,reason:[`input`]})}}n.push(e)}return n}function sM({config:e,pipes:t,input:n,field_annotations:r}){try{let i=dM({config:e,pipes:t,input:n,fieldAnnotations:r});return cM(i),i}catch(e){throw e instanceof $?e:new $([Q.ValidationFailed({error:e})])}}function cM(e){for(let t of e.orderedPipeInstances)for(let{field:n}of Rc(t.getInputRequirement()))Wc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.type),Gc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},n.format)}function lM(e,t){if(!e&&!t)throw new $([Q.MustDefineAnnotations()]);return new iM(t||{}).merge(iM.fromInput(e||[]))}function uM(e,t){let n={...t};return e.pipes.forEach((t,r)=>{for(let[i,a]of Object.entries(t.getOutputFields())){if(jc(a.resolvedName))throw new $([Q.ReservedOutputFieldName({pipeId:t.pipeId,outputField:a})]);let i=n[a.resolvedName];if(i&&i.added_by.ref!==`input`)throw new $([Q.DuplicatePipeOutput({pipeId:t.pipeId,outputField:a})]);n[a.resolvedName]={type:Wc(e,a.type),added_by:{ref:t.pipeId,config_hash:t.getConfigHashKey(),pipe_index:r},label:i?.label||a.label,format:Gc(e,a.format),is_primary_output:a.isPrimaryOutput}}}),n}function dM(e){let t=Hj(e.pipes),n=lM(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)}),mM(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]=fM(t,n),u=uM({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 fM(e,t){let n=oM(e),r=pM(n,e,t),i=[],a=[];return r.forEach(t=>{let n=e[t];if(!n)throw new $([Q.FaultyEnrichmentOrder()]);i.push(n.payload),a.push(n)}),[i,a,n]}function pM(e,t,n){let r=t.length,i=[],a=new Set,o=new Set,s=[],c=e=>{let n=t[e];return n?Rc(n.getInputRequirement()).length>0:!1},l=(n,r=[])=>{if(o.has(n)){let e=n,i=r[r.length-1]||0,a={idx:i,pipe_id:t[i]?.pipeId},o={idx:e,pipeId:t[e]?.pipeId};throw new $([Q.CircularDependency({currentPipe:a,circularPipe:o})])}if(a.has(n))return;o.add(n),r.push(n);let s=e[n]||[];for(let e of s)l(e.index,r);r.pop(),o.delete(n),a.add(n),i.push(n)};function u(t){if(a.has(t))return;o.add(t);let n=e[t]||[];for(let e of n){if(!a.has(e.index)&&e.required)throw new $([Q.UnresolvableDependency({index:t,dependencyIndex:e.index})]);!o.has(e.index)&&!e.required&&u(e.index)}o.delete(t),a.add(t),i.push(t)}for(let e=0;e<r;e++)c(e)&&l(e);for(let e=0;e<r;e++)c(e)||l(e);for(let e=0;e<r;e++)u(e);let d=new Set(Object.keys(n.annotations));for(let e of i){let n=t[e];if(!n)throw Error(`Pipe not defined`);Object.values(n.getOutputFields()).forEach(e=>{d.add(e.resolvedName)})}for(let[n,r]of t.entries()){let a=r.getInputRequirement();Lc(a,d)||s.push(Q.RequirementUnmet({requirement:a,pipeId:r.pipeId,index:n}));let o=e[n]||[],c=i.indexOf(n);for(let e of o){let r=i.indexOf(e.index);e.required&&r>c&&s.push(e.reason.includes(`input`)?Q.HardInputDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}):Q.HardConditionDependencyViolation({dependencyIndex:e.index,dependencyIndexPipeId:t[e.index]?.pipeId,index:n,indexPipeId:t[n]?.pipeId}))}r.payload.run_if&&r.payload.run_if.when.conditions.map(e=>e.field_name).forEach(e=>{if(!d.has(e))throw new $([Q.ConditionTargetFieldNotFound({fieldName:e,pipeId:r.pipeId,pipeIdx:n})])})}if(s.length>0)throw new $(s);return i}function mM(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 Wa(e.connection).provider;e.type}).forEach(e=>{e&&n.delete(e)}),n.size>0))throw new $([Q.MissingCustomConnections({index:t,pipeId:e.pipeId,missingProviders:Array.from(n)})])}}const hM=`fields:deletesparse:input@1`,gM={},_M=r.object({effect_id:r.literal(hM),connector:T(),config:r.object({fields:Ts({path:`config.fields`,sectionKey:`general`,groupPath:`config.general`,label:`Candidate fields`,minItems:1,description:`Input fields to delete if they turn out sparsely populated.`}),probe_size:cc({path:`config.probe_size`,sectionKey:`general`,groupPath:`config.general`,label:`Probe size`,description:`How many rows to sample when measuring column density.`,min:100,max:1e4}).default(1e3),threshold_in_percent:cc({path:`config.threshold_in_percent`,sectionKey:`general`,groupPath:`config.general`,label:`Density threshold (%)`,description:`Candidates populated in strictly fewer than this percent of probed rows are deleted.`,min:1,max:100}).default(25)})}),vM=class extends V{effectId=hM;schema=_M;payload;billableOperations=gM;constructor(e){if(super(),this.payload=this.validatePayload(e),this.payload.config.fields.some(e=>e.field_name===`id`))throw Error(`Cannot list the id field as a deletion candidate.`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return this.payload.config.fields.map(e=>e.field_name)}evolveSchema(e){let t=structuredClone(e.fieldAnnotations||{});for(let{field_name:e}of this.payload.config.fields)delete t[e];if(Object.keys(t).filter(e=>e!==`id`).length===0&&e.pipes.length===0)throw Error(`fields:deletesparse:input@1 lists every input column as a candidate โ it refuses to empty the sheet. Keep at least one column off the candidate list, or use fields:remove@1 / sheet:reset@1 to clear the sheet explicitly.`);let n=sM({config:{environment:e.environment},pipes:e.pipes,field_annotations:t});return{next:{environment:e.environment,pipes:e.pipes,fieldAnnotations:t,validationContext:n}}}},yM=_M,bM={effectId:hM,baseEffect:B(hM),label:`Delete sparse input columns`,description:`Probe rows to measure how densely candidate input columns are populated and delete the ones below a density threshold.`,guide:`Conditional column cleanup: list every input column you'd consider dropping as config.fields (typically the sparse leftovers rows:copy_to_sheet@1 imports leave behind) โ the density check keeps any candidate that turns out well-populated. Probes the first config.probe_size rows (default 1000) and deletes a candidate only when it is populated in strictly fewer than config.threshold_in_percent (default 25) of them. Only listed fields can be deleted; id and pipe-referenced fields cannot be listed (validation error). Static validation treats ALL candidates as removed (aggressive over-approximation), so do not reference a candidate in later steps of the same run โ re-read get_sheet_schema afterwards to see which columns survived. Deletes columns, never rows. DESTRUCTIVE (approval-gated), reversible via timetravel. To delete named columns unconditionally use fields:remove@1 instead.`,categories:[`data_hygiene`],tags:[G.NEW],keywords:[`empty`,`cleanup`,`prune`,`remove fields`,`unused`,`blank`],lifecycle:null,billableOperations:gM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`visible`,defaultPayload:{effect_id:hM,connector:null,config:{fields:[],probe_size:1e3,threshold_in_percent:25}}};function xM(e,t,n){if(e==null||typeof e==`number`||typeof e==`boolean`)return e;if(typeof e==`string`){let r=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),i=new RegExp(r,`g`);return e.replace(i,n)}if(Array.isArray(e))return e.map(e=>xM(e,t,n));if(typeof e==`object`){let r={};for(let i in e)Object.hasOwn(e,i)&&(i.includes(`path`)||[`connector`,`provider`,`pipe_id`,`search_id`].includes(i)?r[i]=e[i]:r[i]=xM(e[i],t,n));return r}return e}function SM(e,t,n){let r={...e};r.config??={};let i=r.config;if(i?.input_fields?.[t]&&(!i.input_fields[t].alias||i.input_fields[t].alias===t)){let e=i.input_fields[t]||{};i.input_fields[t]={...e,alias:n}}return r}function CM(e,t,n){let r=[];for(let i of e.orderedPipePayloads){let e=xM(i,t,n);r.push(SM(e,t,n))}return r}function wM(e,t,n,r,i){if(!e.orderedPipeInstances[t])throw Error(`Pipe instance at index ${t} is not defined`);let a={...n};if(kj(n.pipe_id).outputFieldMode===`static`){let n=e.resolvedFieldNames[r]?e.resolvedFieldNames[r]:Object.entries(e.resolvedFieldNames).find(([,e])=>e===r)?.[0];if(!n)throw Error(`Unable to find field name ${r} in pipe at idx ${t}`);a.config??={};let o=a.config,s=o.output_fields?.[n]||{};return o.output_fields??={},o.output_fields[n]??={},o.output_fields[n]={...s,alias:i},SM(a,r,i)}return xM(a,r,i)}function TM(e,t,n,r){let i=[];for(let a=0;a<e.orderedPipePayloads.length;a++){let o=e.orderedPipePayloads[a],s=t.added_by.pipe_index;if(typeof s!=`number`)throw Error(`Pipe index must be number.`);a===s?i.push(wM(e,a,o,n,r)):i.push(xM(o,n,r))}return i}function EM(e,t,n){let r=e.fieldDefinitions[t];if(!r)throw Error(`No field definition found for field with name ${t}`);return r?.added_by.ref===`input`?CM(e,t,n):TM(e,r,t,n)}const DM=`fields:patch@1`,OM={},kM=r.object({effect_id:r.literal(DM),connector:T(),config:r.object({field_name:r.string().min(1),new_name:r.string().min(1).optional(),new_format:Oi.nullable().optional(),new_type:ci.optional(),new_label:r.string().optional()})}),AM=class extends V{effectId=DM;schema=kM;payload;billableOperations=OM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[this.payload.config.field_name]}evolveSchema(e){let{field_name:t,new_name:n,new_label:r,new_format:i,new_type:a}=this.payload.config;if(!e.fieldAnnotations?.[t])throw Error(`Field name ${t} not found in current schema.`);let o=e.validationContext,s=o.fieldDefinitions[t];if(!s)throw Error(`Field definition for field ${t} not found.`);let c={...e.fieldAnnotations},l=!!n&&n!==t,u=[...o.orderedPipePayloads];if(l){u=EM(o,t,n);let e=c[t];if(!e)throw Error(`Unable to find file annotations for field ${t}.`);c[n]=e,delete c[t]}let d=s.added_by.ref===`input`,f=n||t,ee=a||s.type,te=i||s.format;if(a&&a!==s.type){if(!d)throw Error(`Cannot change the type of a pipe output field.`);c[f].type=a,Em[a].length===0&&(c[f].format=null)}if(i&&i!==s.format){if(!d)throw Error(`Cannot change the format of a pipe output field.`);c[f].format=i}if(Em[ee].length&&te&&!Em[ee].includes(te))throw Error(`After applying your updates the field has the type ${ee} but format ${te}. Type and format are not compatible.`);r&&r!==s.label&&(c[f].label=r);let ne=sM({config:{environment:e.environment},pipes:u,field_annotations:c}),p=l?(e,r)=>(e.input[n]=r.input[t]||null,e):void 0;return{next:{environment:e.environment,pipes:ne.orderedPipePayloads,fieldAnnotations:ne.fieldAnnotations.annotations,validationContext:ne},rowMigration:p}}},jM=kM,MM={effectId:DM,baseEffect:B(DM),label:`Edit field`,description:`Rename, retype, reformat, or relabel a field.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:OM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:DM,connector:null,config:{field_name:``}}},NM=`fields:remove@1`,PM={},FM=r.object({effect_id:r.literal(NM),connector:T(),config:r.object({field_names:r.array(r.string().min(1)).min(1)})}),IM=class extends V{effectId=NM;schema=FM;payload;billableOperations=PM;constructor(e){if(super(),this.payload=this.validatePayload(e),this.payload.config.field_names.includes(`id`))throw Error(`Cannot remove the id field.`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return this.payload.config.field_names}evolveSchema(e){let t=structuredClone(e.fieldAnnotations||{});for(let e of this.payload.config.field_names)delete t[e];if(Object.keys(t).length===1){let t=sM({config:{environment:e.environment},pipes:[],field_annotations:{}});return{next:{environment:e.environment,pipes:[],fieldAnnotations:{},validationContext:t}}}let n=sM({config:{environment:e.environment},pipes:e.pipes,field_annotations:t});return{next:{environment:e.environment,pipes:e.pipes,fieldAnnotations:t,validationContext:n}}}},LM=FM,RM={effectId:NM,baseEffect:B(NM),label:`Remove fields`,description:`Remove fields (input columns) from the sheet.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:PM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:NM,connector:null,config:{field_names:[]}}},zM=`pipe:add@1`,BM={},VM=r.object({effect_id:r.literal(zM),connector:T(),config:r.object({pipe_payload:Dj.optional()})}),HM=class extends V{effectId=zM;schema=VM;payload;billableOperations=BM;constructor(e){if(super(),this.payload=this.validatePayload(e),!this.payload.config.pipe_payload)throw Error(`pipe:add@1 requires config.pipe_payload`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let t=this.payload.config.pipe_payload;if(!t)throw Error(`pipe:add@1 requires config.pipe_payload`);let n=sM({config:{environment:e.environment},pipes:[...e.pipes,t],field_annotations:e.fieldAnnotations||{}});return{next:{environment:e.environment,pipes:n.orderedPipePayloads,fieldAnnotations:n.fieldAnnotations.annotations,validationContext:n}}}},UM=VM,WM={effectId:zM,baseEffect:B(zM),label:`Add pipe`,description:`Append a pipe to the sheet's pipeline.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:BM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:zM,connector:null,config:{}}},GM=`pipe:remove@1`,KM={},qM=r.object({effect_id:r.literal(GM),connector:T(),config:r.object({config_hash:r.string(),hard:r.boolean().default(!1)})}),JM=class extends V{effectId=GM;schema=qM;payload;billableOperations=KM;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let{config_hash:t,hard:n}=this.payload.config,i=Hj(e.pipes).findIndex(e=>e.getConfigHashKey()===t);if(i===-1)throw Error(`Pipe with config hash ${t} not found.`);let a=e.validationContext,o=new Set(Object.entries(a.fieldDefinitions).filter(([,e])=>e.added_by.config_hash===t).map(([e])=>e)),s=new iM(e.fieldAnnotations||{});for(let e of o){let t=a.fieldDefinitions[e];if(!t)continue;if(n){s=s.deleteKey(e);continue}let i=ti(e,t,a),o=$r(i.fieldName)?g(i.fieldName):null;s=s.merge({[e]:{format:t.format,type:t.type,json_metadata:o?.jsonMeta?{schema:o.jsonMeta.zodSchema?r.toJSONSchema(o.jsonMeta.zodSchema):null,example_value:o.jsonMeta.exampleValue||null}:null,label:t.label}})}let c=e.pipes.slice();c.splice(i,1);let l=sM({config:{environment:e.environment},pipes:c,field_annotations:s.annotations}),u=n?void 0:e=>{let t={...e};for(let e of o){let n=t.input[e];if(!n)continue;let{resolvedInputValue:r}=$j(n);t.input[e]=r}return t};return{next:{environment:e.environment,pipes:c,fieldAnnotations:s.annotations,validationContext:l},rowMigration:u}}},YM=qM,XM={effectId:GM,baseEffect:B(GM),label:`Remove pipe`,description:`Remove a pipe from the sheet's pipeline, optionally deleting its fields.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:KM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:GM,connector:null,config:{config_hash:``,hard:!1}}},ZM=`pipe:update@1`,QM={},$M=r.object({effect_id:r.literal(ZM),connector:T(),config:r.object({config_hash:r.string().min(1),pipe_payload:Dj.optional()})}),eN=class extends V{effectId=ZM;schema=$M;payload;billableOperations=QM;constructor(e){if(super(),this.payload=this.validatePayload(e),!this.payload.config.pipe_payload)throw Error(`pipe:update@1 requires config.pipe_payload`)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let{config_hash:t,pipe_payload:n}=this.payload.config;if(!n)throw Error(`pipe:update@1 requires config.pipe_payload`);let i=Hj(e.pipes).findIndex(e=>e.getConfigHashKey()===t);if(i===-1)throw Error(`Pipe with config hash ${t} not found.`);let a=e.validationContext,o=new Set(Object.entries(a.fieldDefinitions).filter(([,e])=>e.added_by.config_hash===t).map(([e])=>e)),s=[...e.pipes];s.splice(i,1,n);let c=sM({config:{environment:e.environment},pipes:s,field_annotations:e.fieldAnnotations||{}}),l=new(wj(n.pipe_id))(n),u=new Set(Object.entries(c.fieldDefinitions).filter(([,e])=>e.added_by.config_hash===l.getConfigHashKey()).map(([e])=>e));for(let e of u)o.delete(e);let d=new iM(c.fieldAnnotations.annotations);for(let e of o){let t=a.fieldDefinitions[e];if(!t)throw Error(`Previous field def not found`);if(c.resolvedFieldNames[e])continue;let n=ti(e,t,a),i=$r(n.fieldName)?g(n.fieldName):null;d=d.merge({[e]:{format:t.format,type:t.type,json_metadata:i?.jsonMeta?{schema:i.jsonMeta.zodSchema?r.toJSONSchema(i.jsonMeta.zodSchema):null,example_value:i.jsonMeta.exampleValue||null}:null,label:t.label}})}let f=sM({config:{environment:e.environment},pipes:c.orderedPipePayloads,field_annotations:d.annotations});return{next:{environment:e.environment,pipes:c.orderedPipePayloads,fieldAnnotations:d.annotations,validationContext:f},rowMigration:e=>{let t={...e};for(let e of o){let n=t.input[e];if(!n)continue;let{resolvedInputValue:r}=$j(n);t.input[e]=r}return t}}}},tN=$M,nN={effectId:ZM,baseEffect:B(ZM),label:`Update pipe`,description:`Replace a pipe in the sheet's pipeline and re-run it.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:QM,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:ZM,connector:null,config:{config_hash:``}}},rN=`row:update@1`,iN={},aN=r.object({effect_id:r.literal(rN),connector:T(),config:r.object({record_id:r.string().min(1),record:Li})}),oN=class extends V{effectId=rN;schema=aN;payload;billableOperations=iN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},sN=aN,cN={effectId:rN,baseEffect:B(rN),label:`Update row`,description:`Update a single row's values.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:iN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`shared`,lockScope:`selection`,catalogVisibility:`hidden`,defaultPayload:{effect_id:rN,connector:null,config:{record_id:``,record:{}}}},lN=`rows:add@1`,uN={},dN=r.object({effect_id:r.literal(lN),connector:T(),config:r.object({records:r.array(Li).min(1).max(100),allow_field_creation:r.boolean().default(!1),allow_empty:r.boolean().default(!1)})}),fN=class extends V{effectId=lN;schema=dN;payload;billableOperations=uN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){return this.payload.config.allow_field_creation===!0}},pN=dN,mN={effectId:lN,baseEffect:B(lN),label:`Add rows`,description:`Append records to the sheet.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:uN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`hidden`,defaultPayload:{effect_id:lN,connector:null,config:{records:[],allow_field_creation:!1,allow_empty:!1}}},hN=r.enum([`pending`,`failed`,`no_result`,`skipped`,`completed`]),gN=[{value:`pending`,label:`Pending`},{value:`failed`,label:`Failed`},{value:`no_result`,label:`No result`},{value:`skipped`,label:`Skipped`},{value:`completed`,label:`Completed`}],_N=[`pending`],vN=[`pending`,`failed`,`skipped`];function yN(e){return{enabled:!0,triggers:{status:e,configHashMismatch:!0,inputHashMismatch:!0}}}const bN=`rows:adopt@1`,xN={},SN=r.object({effect_id:r.literal(bN),connector:T(),config:r.object({pipes:r.array(Dj).default([]),selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target.`,placeholder:`{"type":"all"}`},`both`),adopt_statuses:sc({options:gN,required:!1,disableSearch:!0,path:`config.adopt_statuses`,sectionKey:`general`,groupPath:`config.general`,label:`Adopt statuses`,description:`Only cells with these statuses are adopted (pinned). Omit to adopt all.`}).optional()})}),CN=class extends V{effectId=bN;schema=SN;payload;billableOperations=xN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},wN=SN,TN={effectId:bN,baseEffect:B(bN),label:`Adopt values`,description:`Pin the selected columns' current values so a config or input change won't regenerate them.`,guide:'Adopt re-stamps each selected cell\'s stored config/input hash to the CURRENT one, so the value is kept as-is instead of being re-run. It never recomputes โ use `rows:enrich@1` to (re)compute. Adopting all statuses composes with a follow-up `rows:enrich@1` (`run_statuses: ["failed"]`) to rerun only the failures while completed cells stay pinned โ the safe pattern before running a non-idempotent effect twice.',categories:[`internal`],tags:[],lifecycle:null,billableOperations:xN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`selection`,catalogVisibility:`hidden`,defaultPayload:{effect_id:bN,connector:null,config:{pipes:[]}}},EN=`rows:copy_to_sheet@1`,DN={},ON=r.object({effect_id:r.literal(EN),connector:T(),config:r.object({selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to copy as JSON.`,placeholder:`{"type":"all"}`},`both`),where:as({path:`config.where`,sectionKey:`general`,groupPath:`config.general`,order:1,label:`Condition (optional)`,description:`Only copy selected rows matching this condition. Leave empty to copy all.`}),target_sheet:ic({path:`config.target_sheet`,sectionKey:`general`,groupPath:`config.general`,order:2,inputType:`text`,label:`Target sheet`,description:`Slug of the destination sheet. Created if missing (see below). Slugs are org-unique โ for a NEW sheet use a short descriptive slug plus a few random chars (e.g. "ceos-x7k2") so it can't hit an unrelated existing sheet.`}),create_if_missing:uc({path:`config.create_if_missing`,sectionKey:`general`,groupPath:`config.general`,order:3,label:`Create if missing`,description:`When the target sheet does not exist, create it in this sheet's project. Off โ fail.`,defaultValue:!0})})}),kN=class extends V{effectId=EN;schema=ON;payload;billableOperations=DN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){let e=this.payload.config.where;return e?[...new Set(e.conditions.map(e=>e.field_name))]:[]}},AN=ON,jN={effectId:EN,baseEffect:B(EN),label:`Copy rows to sheet`,description:`Copy selected rows (or every row) into another sheet โ all of them, or only those matching a condition. Creates the target sheet in this project if it doesn't exist.`,categories:[`data_hygiene`],tags:[G.NEW],keywords:[`move`,`transfer`,`split`,`push`,`another sheet`],lifecycle:null,billableOperations:DN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`visible`,defaultPayload:{effect_id:EN,connector:null,config:{selection:{type:`all`},target_sheet:``,create_if_missing:!0}}},MN=`rows:dedupe@1`,NN={"rows-dedupe-v1-pipe0":{allowManagedConnection:!0,provider:`pipe0`,mode:`always`,credits:{default:0},note:`Deduplicating your own sheet is free.`}},PN=r.object({effect_id:r.literal(MN),connector:T(),config:r.object({selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target as JSON.`,placeholder:`{"type":"all"}`},`both`),fields:Ts({path:`config.fields`,sectionKey:`general`,groupPath:`config.general`,label:`Match fields`,minItems:1,description:`Rows are duplicates when these fields match.`}),match:oc({path:`config.match`,sectionKey:`general`,groupPath:`config.general`,label:`Match condition`,required:!0,defaultValue:`all`,options:[{value:`all`,label:`All fields match (AND)`},{value:`any`,label:`Any field matches (OR)`}]}),strategy:oc({path:`config.strategy`,sectionKey:`general`,groupPath:`config.general`,label:`Which duplicate to keep`,required:!0,defaultValue:`keep_oldest`,options:[{value:`keep_oldest`,label:`Keep oldest`},{value:`keep_newest`,label:`Keep newest`}]})})}),FN=class extends V{effectId=MN;schema=PN;payload;billableOperations=NN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0_api_operation`,rateLimitRatio:1,allowManagedConnection:!0}]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`rows-dedupe-v1-pipe0`)}getFieldReferences(){return this.payload.config.fields.map(e=>e.field_name)}},IN=PN,LN={effectId:MN,baseEffect:B(MN),label:`Remove duplicate rows`,description:`Find duplicate rows by matching fields and keep one row per group.`,categories:[`data_hygiene`],tags:[G.NEW],keywords:[`dedupe`,`deduplicate`,`merge`,`clean`,`unique`],lifecycle:null,billableOperations:NN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`exclusive`,shouldUpgradeSchema:!0,catalogVisibility:`visible`,guide:`Dedupe in ONE run: list every identity field in config.fields and pick config.match โ "all" (rows are duplicates only when every field matches) or "any" (a match on ANY listed field makes rows duplicates). To dedupe on several alternative keys (e.g. same email OR same profile_url), use match "any" with all keys in one effect โ never run one dedupe per field; if you must combine dedupe with other cleanup, put the effects in one validated chain so the user approves once. Destructive and approval-gated; reversible via timetravel.`,defaultPayload:{effect_id:MN,connector:null,config:{fields:[],match:`all`,strategy:`keep_oldest`}}},RN=`rows:duplicate@1`,zN={"rows-duplicate-v1-pipe0":{allowManagedConnection:!0,provider:`pipe0`,mode:`always`,credits:{default:0},note:`Duplicating rows in your own sheet is free.`}},BN=r.object({effect_id:r.literal(RN),connector:T(),config:r.object({selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target as JSON.`,placeholder:`{"type":"all"}`},`both`)})}),VN=class extends V{effectId=RN;schema=BN;payload;billableOperations=zN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[{provider:`pipe0`,rateLimitOperation:`pipe0_api_operation`,rateLimitRatio:1,allowManagedConnection:!0}]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(e){return Y(e,`rows-duplicate-v1-pipe0`)}getFieldReferences(){return[]}},HN=BN,UN={effectId:RN,baseEffect:B(RN),label:`Duplicate rows`,description:`Copy the selected rows (or every row). Copies get fresh ids and are appended after the existing rows.`,categories:[`data_hygiene`],tags:[G.NEW],keywords:[`copy`,`clone`,`replicate`],lifecycle:null,billableOperations:zN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`visible`,defaultPayload:{effect_id:RN,connector:null,config:{}}},WN=`rows:enrich@1`,GN={},KN=r.object({effect_id:r.literal(WN),connector:T(),config:r.object({pipes:r.array(Dj).default([]),selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target.`,placeholder:`{"type":"all"}`},`both`),run_statuses:sc({options:gN,required:!1,disableSearch:!0,path:`config.run_statuses`,sectionKey:`general`,groupPath:`config.general`,label:`Run statuses`,description:`Rows with the following statuses will be run.`}).optional()})}),qN=class extends V{effectId=WN;schema=KN;payload;billableOperations=GN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getRecordQueueConfig(e){return yN(this.payload.config.run_statuses??(e?.isScheduled?_N:vN))}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},JN=KN,YN={effectId:WN,baseEffect:B(WN),label:`Enrich rows`,description:`Run the sheet's pipes over the selected rows.`,categories:[`enrichment`],tags:[],keywords:[`run`,`execute`,`process`,`refresh`,`rerun`,`pipes`],lifecycle:null,billableOperations:GN,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],catalogVisibility:`visible`,selectionMode:`both`,lockingMode:`shared`,lockScope:`selection`,defaultPayload:{effect_id:WN,connector:null,config:{pipes:[]}}},XN=`rows:filter:prompt@1`,ZN=`rows-filter-prompt-v1`,QN=xo(ZN),$N=r.object({effect_id:r.literal(XN),connector:bs(),config:r.object({selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to target as JSON.`,placeholder:`{"type":"all"}`},`both`),prompt:ac({path:`config.prompt`,sectionKey:`general`,groupPath:`config.general`,label:`Filter instruction`,rows:4,placeholder:`Only keep rows where the person is a "Head of Growth" at a company doing less than $1M in revenue.`}),model:fc({sectionKey:`general`,label:`Model`,path:`config.model`,groupPath:`config.general`,billableOperations:QN}),fields:Ts({path:`config.fields`,sectionKey:`general`,groupPath:`config.general`,label:`Fields to consider`,info:`If specified, only these fields are shown to the model. This is useful to drop large JSON columns and save tokens.`})})}),eP=class extends V{effectId=XN;schema=$N;payload;billableOperations=QN;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return ho(this.payload.config.model)}getProviderNames(){return mo(this.payload.config.model)}estimateBillableOperations(e){return Co(e,{model:this.payload.config.model,prefix:ZN,inputTokens:600,outputTokens:50})}getFieldReferences(){return(this.payload.config.fields??[]).map(e=>e.field_name)}},tP=$N,nP={effectId:XN,baseEffect:B(XN),label:`AI filter rows`,description:`Keep or remove rows by a natural-language instruction, judged per row by an AI model.`,categories:[`data_hygiene`],tags:[G.NEW,G.AI],keywords:[`classify`,`qualify`,`score`,`prompt`,`clean`],lifecycle:null,billableOperations:QN,allowedUserConnectionProviders:go(),managedProviders:go(),selectionMode:`both`,lockingMode:`exclusive`,shouldUpgradeSchema:!0,catalogVisibility:`visible`,defaultPayload:{effect_id:XN,connector:null,config:{model:`google-low`,prompt:``,fields:[]}}},rP=`rows:import@1`,iP={},aP=r.object({effect_id:r.literal(rP),connector:T(),config:r.object({staging_group_id:r.string().min(1),allow_field_creation:r.boolean().default(!1),event_id:r.string().nullable().default(null)})}),oP=class extends V{effectId=rP;schema=aP;payload;billableOperations=iP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){return this.payload.config.allow_field_creation===!0}},sP=aP,cP={effectId:rP,baseEffect:B(rP),label:`Import rows`,description:`Append records from a staging group (CSV import / search commit).`,categories:[`internal`],tags:[],keywords:[`csv`,`upload`,`excel`,`spreadsheet`,`file`],lifecycle:null,billableOperations:iP,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`hidden`,defaultPayload:{effect_id:rP,connector:null,config:{staging_group_id:``,allow_field_creation:!1,event_id:null}}},lP=`rows:remove@1`,uP={},dP=r.object({effect_id:r.literal(lP),connector:T(),config:r.object({selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to delete as JSON.sc`,placeholder:`{"type":"all"}`},`both`),where:as({path:`config.where`,sectionKey:`general`,groupPath:`config.general`,order:1,label:`Condition (optional)`,description:`Only delete selected rows matching this condition. Leave empty to delete all.`})})}),fP=class extends V{effectId=lP;schema=dP;payload;billableOperations=uP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){let e=this.payload.config.where;return e?[...new Set(e.conditions.map(e=>e.field_name))]:[]}},pP=dP,mP={effectId:lP,baseEffect:B(lP),label:`Delete rows`,description:`Delete selected rows โ all of them, or only those matching a condition.`,categories:[`data_hygiene`],tags:[],keywords:[`remove`,`drop`,`clear`,`clean`,`purge`],lifecycle:null,billableOperations:uP,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`exclusive`,lockScope:`selection`,catalogVisibility:`visible`,guide:`Delete rows matching config.where (omit selection to consider ALL rows; omit where to delete the whole selection). Destructive and approval-gated, so make ONE remove do the whole job: or-combine EVERY drop criterion into a single where (logic "or", one condition per field) instead of running several removes โ and put the remove in the same validated chain as any fields:remove / rename cleanup so the user approves once. To drop rows whose enrichment yielded nothing, condition on the field's STATUS (property "status", e.g. neq "completed" โ catches skipped, failed, and no_result at once). Bracketed cell renderings from get_sheet_rows like "[no_result]"/"[skipped]" are status placeholders for EMPTY cells, never stored values โ a value condition cannot match them. After the run, re-read the sheet ONCE to confirm; if the rows you expected gone are still there, stop and report the discrepancy instead of retrying with variant conditions.`,defaultPayload:{effect_id:lP,connector:null,config:{selection:{type:`rows`,record_ids:[]}}}};function hP(e){if(e instanceof vD)return e;let t=e.search_id,n=tj(t);if(!n)throw Error(`Unknown pipe: ${e.search_id}`);return new n(ij.parse(e))}const gP=`search:run@1`,_P={},vP=r.object({effect_id:r.literal(gP),connector:T(),config:r.object({search_payload:pc({path:`config.search_payload`,groupPath:`config.general`,sectionKey:`general`,label:`Search`,description:`Pick and configure the search to run.`},ij),max_number_of_results:cc({path:`config.max_number_of_results`,groupPath:`config.general`,sectionKey:`general`,label:`Max results`,description:`Maximum number of items to find across all pages.`,guide:"This is the FETCH budget โ an upper bound on raw results pulled across all pages (it also caps each page's size). De-duplicated results are NOT re-fetched, so this is not the final row count. When you want EXACTLY N unique rows, do NOT set this to N (you'd get fewer the moment any result is a duplicate): set `stop_at_unique_rows_count` to N and set this to the maximum (1000000) so the unique count is the real stop condition. For a plain bulk fetch with no unique target, set this to the number of rows you want.",max:1e6,min:1}).default(1e3),deduplicate:uc({path:`config.deduplicate`,groupPath:`config.general`,sectionKey:`general`,label:`Unique rows only`,description:`Skip results that already exist in the sheet.`,guide:"Dedup key is the search's own declared key. Discards are NOT topped up with extra pages, so to reliably collect N unique rows pair this with `stop_at_unique_rows_count` and a large `max_number_of_results`.",defaultValue:!0,enabledIf:e=>{let t=e.config?.search_payload;if(!t?.search_id)return{disabled:!0,message:`Configure a search first.`};let n=!1;try{n=hP(t).getDedupConfig().fields.length>0}catch{n=!1}return n?{disabled:!1}:{disabled:!0,message:`This search doesn't support de-duplication.`}}}),stop_at_unique_rows_count:lc({path:`config.stop_at_unique_rows_count`,groupPath:`config.general`,sectionKey:`general`,label:`Stop at X unique rows`,description:`Stop after this many new rows have been added. Leave empty for no early stop. Bounded by Max results.`,guide:"Set this to the exact unique-row count you want (only works with `deduplicate` on). It paginates full pages until this many NEW rows are added, so set `max_number_of_results` to the maximum (1000000) to give it room โ `max_number_of_results` then just acts as a safety backstop.",placeholder:`No early stop`,min:1,max:1e5,enabledIf:e=>e.config?.deduplicate===!0?{disabled:!1}:{disabled:!0,message:`Enable โUnique rows onlyโ to use this.`}})})}),yP=class extends V{effectId=gP;schema=vP;payload;billableOperations=_P;constructor(e){super(),this.payload=this.validatePayload(e)}getSearch(){let e=this.payload.config.search_payload;if(!e?.search_id)return null;try{return hP(e)}catch{return null}}getConnectionsRequirements(){return[]}getProviderNames(){let e=this.getSearch();return e?[mj(e.searchId).provider]:[]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){let e=this.getSearch();return e?(mj(e.searchId).outputFieldMode??`static`)===`dynamic`:!1}},bP=vP,xP={effectId:gP,baseEffect:B(gP),label:`Search`,description:`Run a search and append the results to the sheet.`,categories:[`enrichment`],tags:[G.NEW],keywords:[`find`,`import`,`source`,`prospect`,`add rows`,`results`],lifecycle:null,billableOperations:_P,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`visible`,defaultPayload:{effect_id:gP,connector:null,config:{search_payload:{search_id:``},max_number_of_results:1e3,deduplicate:!0,stop_at_unique_rows_count:null}}},SP=`sheet:export@1`,CP={},wP=r.object({effect_id:r.literal(SP),connector:T(),config:r.object({selection:Es({path:`config.selection`,sectionKey:`general`,groupPath:`config.general`,label:`Selection`,description:`Rows to export as JSON โ {"type":"all"} or {"type":"rows","record_ids":["โฆ"]}.`,placeholder:`{"type":"all"}`},`both`)})}),TP=class extends V{effectId=SP;schema=wP;payload;billableOperations=CP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},EP=wP,DP={effectId:SP,baseEffect:B(SP),label:`Export sheet`,description:`Export the selected rows to a CSV download.`,categories:[`internal`],tags:[],keywords:[`csv`,`download`,`excel`,`spreadsheet`,`file`],lifecycle:null,billableOperations:CP,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`both`,lockingMode:`shared`,lockScope:`self`,catalogVisibility:`hidden`,defaultPayload:{effect_id:SP,connector:null,config:{}}},OP=`sheet:reset@1`,kP={},AP=r.object({effect_id:r.literal(OP),connector:T(),config:r.object({})}),jP=class extends V{effectId=OP;schema=AP;payload;billableOperations=kP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}evolveSchema(e){let t=sM({config:{environment:e.environment},pipes:[],field_annotations:{}});return{next:{environment:e.environment,pipes:[],fieldAnnotations:{},validationContext:t}}}},MP=AP,NP={effectId:OP,baseEffect:B(OP),label:`Reset sheet`,description:`Reset the sheet to its initial state โ remove all pipes, fields, and rows. This cannot be partially applied.`,categories:[`data_hygiene`],tags:[],keywords:[`clear`,`wipe`,`empty`,`start over`,`delete all`],lifecycle:null,billableOperations:kP,shouldUpgradeSchema:!0,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`visible`,defaultPayload:{effect_id:OP,connector:null,config:{}}},PP=`sheet:update@1`,FP={},IP=r.object({effect_id:r.literal(PP),connector:T(),config:r.object({name:r.string().min(4).refine(e=>!e.includes(`/`),`Name cannot contain '/'`).optional(),slug:r.string().regex(/^[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)*$/).optional()}).refine(e=>e.name!==void 0||e.slug!==void 0,`Provide at least one of name or slug to update.`)}),LP=class extends V{effectId=PP;schema=IP;payload;billableOperations=FP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},RP=IP,zP={effectId:PP,baseEffect:B(PP),label:`Update sheet`,description:`Update sheet basics (rename: name, slug).`,categories:[`internal`],tags:[`rename`,`name`,`title`,`slug`],lifecycle:null,billableOperations:FP,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,guide:`Rename the ACTIVE sheet. To give a deliverable the name the user asked for, set config.name ONLY โ display names need not be unique, so "CEOs" always works. Do NOT also rewrite config.slug: slugs are org-unique and a clean generic slug (e.g. "ceos") is likely taken somewhere you can't see, which fails the whole run; the slug is just an address, so keep the existing (suffixed) one unless the user explicitly asks for a specific slug.`,defaultPayload:{effect_id:PP,connector:null,config:{}}},BP=`timetravel:create@1`,VP={},HP=r.object({effect_id:r.literal(BP),connector:T(),config:r.object({})}),UP=class extends V{effectId=BP;schema=HP;payload;billableOperations=VP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}},WP=HP,GP={effectId:BP,baseEffect:B(BP),label:`Create restore point`,description:`Snapshot the current sheet state as a timetravel restore point.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:VP,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,shouldUpgradeSchema:!0,catalogVisibility:`hidden`,defaultPayload:{effect_id:BP,connector:null,config:{}}},KP=`timetravel:travel@1`,qP={},JP=r.object({effect_id:r.literal(KP),connector:T(),config:r.object({schema_id:r.string().min(1)})}),YP=class extends V{effectId=KP;schema=JP;payload;billableOperations=qP;constructor(e){super(),this.payload=this.validatePayload(e)}getConnectionsRequirements(){return[]}getProviderNames(){return[`pipe0`]}estimateBillableOperations(){return[]}getFieldReferences(){return[]}producesDynamicFields(){return!0}},XP=JP,ZP={effectId:KP,baseEffect:B(KP),label:`Restore to point`,description:`Restore the sheet to a previous point by copying that point's rows into a new schema.`,categories:[`internal`],tags:[],lifecycle:null,billableOperations:qP,allowedUserConnectionProviders:[],managedProviders:[`pipe0`],selectionMode:`sheet`,lockingMode:`exclusive`,lockScope:`sheet`,catalogVisibility:`hidden`,defaultPayload:{effect_id:KP,connector:null,config:{schema_id:``}}},QP=r.object({reason:r.object({code:r.string(),details:r.string().optional()}),related_record_id:r.string().nullable(),resolved_by:r.object({ref:bt,config_hash:r.string()})}),$P=r.object({value:r.union([r.string(),r.number(),r.boolean(),r.null()])}),eF=QP.extend({fields:r.record(r.string(),$P)}),tF=r.object({added:QP.optional(),updated:eF.optional(),removed:QP.optional()}),nF=r.record(r.string(),tF),rF=r.object({shown:r.number().int(),total:r.number().int(),added:r.number().int(),updated:r.number().int(),removed:r.number().int()}),iF=r.object({effect_id:bt,config_hash:r.string(),status:r.enum([`completed`,`failed`,`skipped`]),error:r.string().optional(),source:r.literal(`run_added_rows`).optional()}),aF={"rows:dedupe@1":FN,"rows:duplicate@1":VN,"rows:enrich@1":qN,"rows:adopt@1":CN,"rows:add@1":fN,"rows:import@1":oP,"row:update@1":oN,"rows:remove@1":fP,"rows:copy_to_sheet@1":kN,"rows:filter:prompt@1":eP,"pipe:add@1":HM,"pipe:update@1":eN,"pipe:remove@1":JM,"fields:remove@1":IM,"fields:patch@1":AM,"fields:add@1":Dc,"fields:deletesparse:input@1":vM,"env:change@1":xc,"timetravel:create@1":UP,"timetravel:travel@1":YP,"sheet:export@1":TP,"search:run@1":yP,"sheet:reset@1":jP,"sheet:update@1":LP},oF={"rows:dedupe@1":IN,"rows:duplicate@1":HN,"rows:enrich@1":JN,"rows:adopt@1":wN,"rows:add@1":pN,"rows:import@1":sP,"row:update@1":sN,"rows:remove@1":pP,"rows:copy_to_sheet@1":AN,"rows:filter:prompt@1":tP,"pipe:add@1":UM,"pipe:update@1":tN,"pipe:remove@1":YM,"fields:remove@1":LM,"fields:patch@1":jM,"fields:add@1":Oc,"fields:deletesparse:input@1":yM,"env:change@1":Sc,"timetravel:create@1":WP,"timetravel:travel@1":XP,"sheet:export@1":EP,"search:run@1":bP,"sheet:reset@1":MP,"sheet:update@1":RP},sF={"rows:dedupe@1":LN,"rows:duplicate@1":UN,"rows:enrich@1":YN,"rows:adopt@1":TN,"rows:add@1":mN,"rows:import@1":cP,"row:update@1":cN,"rows:remove@1":mP,"rows:copy_to_sheet@1":jN,"rows:filter:prompt@1":nP,"pipe:add@1":WM,"pipe:update@1":nN,"pipe:remove@1":XM,"fields:remove@1":RM,"fields:patch@1":MM,"fields:add@1":kc,"fields:deletesparse:input@1":bM,"env:change@1":Cc,"timetravel:create@1":GP,"timetravel:travel@1":ZP,"sheet:export@1":DP,"search:run@1":xP,"sheet:reset@1":NP,"sheet:update@1":zP};function cF(e){return aF[e]}function lF(e){return sF[e]}function uF(e){return oF[e]}function dF(){return Object.keys(sF).filter(e=>sF[e].agentExposure!==`excluded`)}function fF(e){return sF[e]?.agentExposure!==`excluded`}const pF=t.discriminatedUnion(`effect_id`,Object.values(oF).map(e=>e)).openapi(`EffectPayloadSchema`);function mF(e,t){return vt(t,sF[e].defaultPayload)}const hF=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`effect_id`in e))return e;let t=mF(e.effect_id);return t?{...e,config:vt(e?.config||{},t.config)}:e},pF),gF=t.enum([`processing`,`completed`,`failed`,`canceled`,`skipped`]).openapi(`EffectsRunStatus`),_F=t.object({config:t.object({diff:t.object({limit:t.number().int().min(0).max(1e3).default(100).openapi({description:"How many per-record diff entries to keep on the result. `counts` stays exact regardless."})}).optional(),run_added_rows:t.boolean().optional().openapi({description:`When true, after this run's effects complete, run the sheet's pipes over exactly the rows the run appended (the contiguous tail). Off by default. Durable on schedules: a scheduled chain that adds rows then enriches them on every fire.`})}).optional(),effects:t.array(hF).min(1)}).openapi(`EffectsRequest`),vF=t.object({id:t.string(),status:gF,effects:t.array(iF),counts:rF.nullable(),diff:nF.nullable(),after_schema_id:t.string().nullable(),before_schema_id:t.string().nullable(),added:t.object({cursor:t.string().nullable(),count:t.number().int()}).nullable().openapi({description:'Present when the run appended rows. `cursor` is the exclusive window cursor isolating exactly the added tail โ pass it to a `rows:enrich@1` `{type:"window", cursor, count:null}` selection to run the sheet\'s pipes over the added rows. `count` is how many added rows survive.'})}).openapi(`EffectsResponse`),yF=t.object({effects:t.array(t.unknown()).min(1)}).openapi(`EffectsValidateRequest`),bF=t.object({index:t.number().int(),effect_id:bt,valid:t.boolean(),errors:t.array(t.string())}).openapi(`EffectsValidateStep`),xF=t.object({valid:t.boolean(),errors:t.array(t.string()),steps:t.array(bF).optional()}).openapi(`EffectsValidateResponse`);function SF(e){let t=e.split(`@`)[1];if(!t)throw Error(`No effect version found`);return Number(t)}function CF(){let e={};for(let t of Object.values(sF)){let{baseEffect:n}=t;e[n]??=[],e[n].push(t)}return Object.entries(e).forEach(([t,n])=>{e[t]=n.sort((e,t)=>{let n=SF(e.effectId);return SF(t.effectId)-n})}),e}const wF=CF();function TF(){let e=[];for(let[t,n]of Object.entries(wF)){let r=n[0];if(!r)throw Error(`Found empty entry`);r.lifecycle?.deprecatedOn||r.catalogVisibility!==`hidden`&&e.push({...r,baseEffect:t,latestVersion:SF(r.effectId)})}return e}const EF={"rows:dedupe@1":[{effect_id:`rows:dedupe@1`,connector:null,config:{fields:[{field_name:`work_email`}],match:`all`,strategy:`keep_oldest`}}],"rows:duplicate@1":[{effect_id:`rows:duplicate@1`,connector:null,config:{}}],"sheet:reset@1":[{effect_id:`sheet:reset@1`,connector:null,config:{}}],"fields:deletesparse:input@1":[{effect_id:`fields:deletesparse:input@1`,connector:null,config:{fields:[{field_name:`company_raw_address`},{field_name:`company_founded_year`}],probe_size:1e3,threshold_in_percent:25}}]};var DF=class extends Error{errors;constructor(e){super(e.join(`
|
|
77
|
+
`)),this.name=`SheetEffectValidationError`,this.errors=e}};function OF({effects:e,validationContext:t,schemaInputs:n}){let r=[],i=[],a=[],o=[];e.some(e=>e.effect_id===`pipe:remove@1`)&&e.length>1&&r.push(`pipe:remove@1 must be the only effect in a run.`);let s={...n,validationContext:t},c=t,l=new Set(Object.keys(t.fieldDefinitions)),u=null;return e.forEach((e,t)=>{let n=[],d=cF(e.effect_id);if(!d){n.push(`unknown effect "${e.effect_id}"`),kF(i,r,t,e.effect_id,n);return}let f;try{f=new d(e)}catch(a){n.push(a.message),kF(i,r,t,e.effect_id,n);return}let ee=f.getFieldReferences().filter(e=>!l.has(e));if(ee.length>0){let e=`references fields that do not exist at this step: ${ee.join(`, `)}`;u&&(e+=`. These may be produced only at run time by "${u}" earlier in this chain โ commit that effect first, then add the effects that use its columns in a follow-up run.`),n.push(e)}try{let{next:e}=f.evolveSchema(s);s=e,c=e.validationContext,l=new Set(Object.keys(e.validationContext.fieldDefinitions))}catch(e){if(e instanceof $)for(let t of e.appErrors)n.push(t.message);else n.push(e.message)}u===null&&f.producesDynamicFields()&&(u=e.effect_id),a.push(f),o.push(e),kF(i,r,t,e.effect_id,n)}),{valid:r.length===0,steps:i,errors:r,instances:a,payloads:o,resultingFieldDefinitions:c.fieldDefinitions}}function kF(e,t,n,r,i){e.push({index:n,effect_id:r,valid:i.length===0,errors:i});for(let e of i)t.push(`effects[${n}] (${r}): ${e}`)}function AF({effects:e,validationContext:t,schemaInputs:n}){let r=OF({effects:e,validationContext:t,schemaInputs:n});if(!r.valid)throw new DF(r.errors);return{instances:r.instances,payloads:r.payloads}}function jF(e){let t=(e??[]).map(e=>MF(e));if(t.length===0)return{title:`Effect run`,description:`An effect run with no steps.`};let[n]=t;return t.length===1&&n?{title:n.title,description:n.description}:{title:`${t.length} steps: ${t.map(e=>e.title).join(` ยท `)}`,description:t.map(e=>e.description).join(` ยท `)}}function MF(e){let t=e.effect_id,n=B(t),r=e.config??{};switch(n){case`pipe:add`:{let e=NF(r.pipe_payload);return{title:e?`Added pipe ${e}`:`Added pipe`,description:e?`Added the pipe ${e} to the sheet.`:`Added a pipe to the sheet.`}}case`pipe:update`:{let e=NF(r.pipe_payload);return{title:e?`Updated pipe ${e}`:`Updated pipe`,description:e?`Updated the configuration of pipe ${e}.`:`Updated a pipe.`}}case`pipe:remove`:return{title:`Removed pipe`,description:`Removed a pipe from the sheet.`};case`fields:add`:return{title:`Added field`,description:`Added a field to the sheet.`};case`fields:patch`:return{title:`Edited field`,description:`Edited a field on the sheet.`};case`fields:remove`:return{title:`Removed fields`,description:`Removed fields from the sheet.`};case`rows:add`:{let e=Array.isArray(r.records)?r.records.length:void 0;return{title:e==null?`Added rows`:`Added ${e} ${IF(e,`row`)}`,description:e==null?`Added rows to the sheet.`:`Added ${e} ${IF(e,`row`)} to the sheet.`}}case`rows:remove`:return{title:`Removed rows`,description:`Removed rows from the sheet.`};case`rows:dedupe`:return{title:`Removed duplicate rows`,description:`Removed duplicate rows from the sheet.`};case`rows:duplicate`:return{title:`Duplicated rows`,description:`Duplicated rows in the sheet.`};case`rows:enrich`:return{title:`Enriched rows`,description:`Ran enrichment pipes over rows.`};case`rows:filter:prompt`:return{title:`AI-filtered rows`,description:`Filtered rows with an AI prompt.`};case`rows:import`:return{title:`Imported rows`,description:`Imported rows into the sheet.`};case`row:update`:return{title:`Updated row`,description:`Updated a single row.`};case`search:run`:{let e=PF(r.search_payload);return{title:e?`Ran search ${e}`:`Ran search`,description:e?`Ran the search ${e} and appended its results.`:`Ran a search and appended its results.`}}case`sheet:export`:return{title:`Exported sheet`,description:`Exported the sheet.`};case`sheet:reset`:return{title:`Reset sheet`,description:`Reset the sheet to its empty state.`};case`env:change`:return{title:`Changed environment`,description:`Switched the sheet environment.`};case`timetravel:create`:return{title:`Created restore point`,description:`Snapshotted the sheet state.`};case`timetravel:travel`:return{title:`Restored to a previous point`,description:`Restored the sheet to a previous point in time.`};default:{let e=FF(t);return{title:e??t,description:e??t}}}}function NF(e){if(e&&typeof e==`object`){let t=e.pipe_id;if(typeof t==`string`&&t.length>0)return t}}function PF(e){if(e&&typeof e==`object`){let t=e.search_id;if(typeof t==`string`&&t.length>0)return t}}function FF(e){try{return lF(e)?.label}catch{return}}function IF(e,t){return e===1?t:`${t}s`}function LF(e){if(e instanceof V)return e;let t=e.effect_id,n=cF(t);if(!n)throw Error(`Unknown effect: ${e.effect_id}`);return new n(hF.parse(e))}function RF(e){let t=e.normalize(`NFD`).replace(/[\u0300-\u036f]/g,``).replace(/[^A-Za-z0-9]+/g,`_`).replace(/^_+|_+$/g,``);return t===``?`column`:/^[0-9]/.test(t)?`_${t}`:t}function zF(e){let t=new Set;return e.map(e=>{let n=e,r=2;for(;t.has(n);)n=`${e}_${r}`,r++;return t.add(n),n})}function BF(e){let t=zF(e.map(RF));return e.map((e,n)=>({name:t[n],label:e}))}const VF={completed:`Completed`,failed:`Failed`,no_result:`No result`,pending:`Pending`,processing:`Processing`,queued:`Queued`,skipped:`Skipped`};function HF(e){return VF[e]}const UF=`bachelor.master.mba.phd.ph d.doctor.associate.diploma.b sc.bsc.m sc.msc.b a.m a.b tech.btech.m tech.mtech.b eng.m eng.b com.llb.llm.md.jd.undergraduate.postgraduate.graduate.degree`.split(`.`),WF=[`university`,`college`,`institute of technology`,`polytechnic`,`school of`],GF=e=>` ${e.toLowerCase().replace(/[^a-z ]+/g,` `).replace(/\s+/g,` `).trim()} `,KF=(e,t)=>{if(!e)return!1;let n=GF(e);return t.some(e=>n.includes(` ${e} `))};function qF(e){return KF(e.degree_name,UF)?!0:e.degree_name?!1:KF(e.institution_name,WF)}function JF(e){if(!e.start_date)return 1/0;let t=ee(e.start_date);return Number.isNaN(t.getTime())?1/0:t.getTime()}function YF(e){let t=e.education_history.filter(e=>e.is_current_education===!0&&qF(e)),n=null;for(let e of t)(n===null||JF(e)<JF(n))&&(n=e);return{...e,education_history:e.education_history.map(e=>({...e,is_primary_current_education:e===n}))}}function XF(e,t,n=new Date){if(!e)return{days:null,years:null};let r=ee(e);if(Number.isNaN(r.getTime()))return{days:null,years:null};let i=n;if(t){let e=ee(t);Number.isNaN(e.getTime())||(i=e)}let a=u(i,r);return a<0?{days:null,years:null}:{days:a,years:Math.round(a/365.25*100)/100}}const ZF={shared:{}},QF={shared:{}},$F={shared:{paths:{"config.cursor":null,"config.offset":null,"config.page_number":null}}};function eI(e,t){let n=e[t];return{sectionMap:{...e.shared.sections,...n?.sections},groupMap:{...e.shared.groups,...n?.groups},pathMap:{...e.shared.paths,...n?.paths}}}const tI=e=>eI(QF,e),nI=e=>eI($F,e),rI=e=>eI(ZF,e),iI={"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.bucket_creation":{order:1,label:`Bucket creation`,description:`Applied when the bucket is created on first write; ignored if it already exists.`,iconKey:`sliders`,defaultExpand:!1},"config.input_fields":{order:0,label:`Input config`,description:`Point pipe inputs to new fields.`,iconKey:`input`,defaultExpand:!1},connector:{order:100,label:`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},"config.destination":{order:9,label:`Destination`,description:`Name, type, and format of the field written to the destination sheet.`,iconKey:`output`,defaultExpand:!1}},aI={general:{path:`general`,label:`Behavior`,description:`How this pipe runs and selects providers.`,order:1},pagination:{path:`pagination`,label:`Behavior`,order:2},"config.filters":{path:`config.filters`,label:`I/O & conditions`,order:14},pipe_io:{path:``,label:`I/O & conditions`,order:99}},oI=new Set([`context_select_input`,`tagged_text_input`,`condition_block_input`,`field_select_input`,`fields_select_input`,`typed_fields_select_input`]);function sI(e){let t=Ej(e),n=[];function i(e){e?.type&&oI.has(e.type)&&e.optionsDef&&n.push(e)}function a(e){let t=_.get(e);if(t&&typeof t!=`function`?i(t):typeof t==`function`&&i(t.staticMeta),typeof e==`object`&&e&&`unwrap`in e&&typeof e.unwrap==`function`&&a(e.unwrap()),e instanceof r.ZodObject)for(let t of Object.values(e.shape))a(t)}return a(t),n}function cI({pipePayload:e,validationContext:t,store:n,formResolvers:r,customization:i}){let a=Ej(e.pipe_id),o=Vc(e.pipe_id,e.config||{});return ls({schema:a,extractFromSchema:r=>{let i=_.get(r);if(n.field_options??={},i)return i&&typeof i==`function`?i({validationContext:t,pipePayload:e,userConnections:`connections`in n.field_options?(n.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:kj(e.pipe_id),hash:o}):i},store:n,formResolvers:r,sectionMap:ss(aI,i?.sectionMap),groupMap:ss(iI,i?.groupMap),pathMap:i?.pathMap})}const lI={"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,order:4},"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.author":{label:`Author`,iconKey:`user`,defaultExpand:!1,order:2},"config.filters.mentions":{label:`Mentions`,iconKey:`tags`,defaultExpand:!1,order:3},"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,order:3},"config.filters.current_employer":{label:`Current employment`,iconKey:`briefcase`,defaultExpand:!1,order:2},"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},connector:{order:100,label:`Connections`,iconKey:`plug`,defaultExpand:!1}},uI={general:{path:`general`,label:`General`,description:`Search settings and pagination.`,order:1},pagination:{path:`pagination`,label:`General`,order:2},"config.filters":{path:`config.filters`,label:`Filters`,description:`Narrow the search results.`,order:10},pipe_io:{path:``,label:`Output fields`,order:99}};function dI({searchPayload:e,formContext:t,formResolvers:n,customization:r}){return ls({schema:lj(e.search_id),extractFromSchema:n=>{let r=v.get(n);if(t.field_options??={},r)return typeof r==`function`?r({searchPayload:e,searchEntry:mj(e.search_id),userConnections:`connections`in t.field_options?(t.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}}):[]}):r},store:t,formResolvers:n,sectionMap:ss(uI,r?.sectionMap),groupMap:ss(lI,r?.groupMap),pathMap:r?.pathMap})}function fI(e){let t=lj(e),n=[];function i(e){let t=v.get(e);if(t&&typeof t!=`function`&&t.type===`context_select_input`&&t.optionsDef&&n.push(t),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}const pI={"config.general":{order:0,label:`General`,iconKey:`mix`,defaultExpand:!0},"config.advanced":{order:1,label:`Advanced`,iconKey:`sliders`,defaultExpand:!0},connector:{order:100,label:`Connections`,iconKey:`plug`,defaultExpand:!1}},mI={general:{path:`general`,label:`General`,description:`How this effect runs.`,order:1},pagination:{path:`pagination`,label:`General`,order:99},"config.filters":{path:`config.filters`,label:`Filters`,order:99},pipe_io:{path:``,label:`Connections`,order:99}};function hI({effectPayload:e,validationContext:t,store:n,formResolvers:r,customization:i}){let a=uF(e.effect_id),o=_c(e.effect_id,e.config||{});return ls({schema:a,extractFromSchema:r=>{let i=y.get(r);if(n.field_options??={},i)return typeof i==`function`?i({validationContext:t,effectPayload:e,userConnections:`connections`in n.field_options?(n.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}}):[],effectEntry:lF(e.effect_id),hash:o}):i},store:n,formResolvers:r,sectionMap:ss(mI,i?.sectionMap),groupMap:ss(pI,i?.groupMap),pathMap:i?.pathMap})}function gI(e){let t=uF(e),n=[];function i(e){let t=y.get(e);if(t&&typeof t!=`function`&&t.type===`context_select_input`&&t.optionsDef&&n.push(t),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}const _I=new Proxy({},{get:(e,t)=>e=>e.type===t}),vI=`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(`.`),yI=r.enum(vI),bI=r.object({provider_logo:r.object({provider:ri}).optional(),emoji:r.object({char:r.string()}).optional(),icon:r.object({key:yI}).optional(),logo_url:r.object({url:r.string(),alt:r.string().optional()}).optional(),pricing:r.object({credits:r.number()}).optional(),token_pricing:r.object({inputPerBlock:r.number(),outputPerBlock:r.number(),blockSize:r.number()}).optional(),field_type:r.object({type:r.string(),format:r.string().optional()}).optional()}),xI=`providers_input.fields_select_input.json_extraction_input.pipes_run_if_input.connector_input.include_exclude_input.include_exclude_select_input.exact_range_input.range_input.date_range_input.boolean_input.nullable_boolean_input.text_input.template_input.output_field_input.textarea_input.prompt_input.select_input.context_select_input.multi_select_input.min_max_int_input.async_multi_select_input.async_include_exclude_select_input.multi_create_input.ordered_multi_create_input.tagged_ordered_multi_create_input.int_input.number_input.json_schema_input`.split(`.`);r.enum(xI);const SI=r.object({value:r.string(),label:r.string(),widgets:bI.optional(),data:r.record(r.string(),r.string()).optional()}),CI=r.object({field_options:r.record(r.string(),r.object({options:r.array(SI)}))}),wI=[{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}],TI=new Map(wI.map(e=>[e.id,e]));function EI(e){return TI.get(e)}function DI(){return wI}const OI={"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`}]}],"agent:run@1":[{config:{environment:`production`},pipes:[{pipe_id:`agent:run@1`,config:{agent_type:`web_researcher`,model:`openai-high`,prompt:{template:`
|
|
78
78
|
Determine if the company {{ company_name }} (domain: {{ company_domain | default: "" }}) has ever raised outside funding.
|
|
79
79
|
|
|
80
80
|
Research the web for funding announcements, press releases, and investor databases before answering.
|
|
@@ -127,4 +127,4 @@ Customize the message using the name of the user: {{ name }}.
|
|
|
127
127
|
`}}],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:
|
|
128
128
|
**Name**: {{ name }}
|
|
129
129
|
**Email**: {{ email }}
|
|
130
|
-
`}}],input:[{id:`1`,name:`John`,email:`john@pipe0.com`}]}],"email:send:resend@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`resend_123`,type:`vault`}]},pipe_id:`email:send:resend@1`,config:{from:`<FROM_EMAIL_ADDRESS>`,to:`{{ email }}`,reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,subject:`{{ email_subject }}`,body:`{{ email_body }}`}}],input:[{id:`1`,email:`<EMAIL_ADDRESS>`,email_body:`<EMAIL_TEXT>`,email_subject:`<EMAIL_SUBJECT_LINE>`}]}],"email:send:gmail@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`gmail_123`,type:`vault`}]},pipe_id:`email:send:gmail@1`,config:{to:`{{ email }}`,reply_to:`<REPLY_TO_EMAIL_ADDRESS>`,subject:`{{ email_subject }}`,body:`{{ email_body }}`}}],input:[{id:`1`,email:`<EMAIL_ADDRESS>`,email_body:`<EMAIL_TEXT>`,email_subject:`<EMAIL_SUBJECT_LINE>`}]}],"message:send:slack@1":[{config:{environment:`production`},pipes:[{connector:{strategy:`first`,connections:[{connection:`slack_123`,type:`vault`}]},pipe_id:`message:send:slack@1`,config:{channel_id:`<SLACK_CHANNEL_ID>`,message:`{{ message }}`}}],input:[{id:`1`,message:`<MESSAGE_TEXT>`}]}],"people:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"person:profileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profileurl:email:waterfall@1`}],input:[{id:`1`,email:`<MESSAGE_TEXT>`}]}],"people:validate:email:zerobounce@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:validate:email:zerobounce@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:mobilenumber:workemail:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:workemail:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`john@pipe0.com`}]}],"people:professionalprofileurl:name@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:name@1`}],input:[{id:`1`,name:`John`,company_name:`Pipe0`,location_int:`Berlin`}]}],"people:professionalprofileurl:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:professionalprofileurl:email:waterfall@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"people:mobilenumber:professionalprofile:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:mobilenumber:professionalprofile:waterfall@1`}],input:[{id:`1`,professional_profile_url:`https://linkedin.com/li/john`}]}],"company:overview@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@2`,config:{}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"company:overview@3":[{config:{environment:`production`},pipes:[{pipe_id:`company:overview@3`,config:{}}],input:[{id:`1`,company_domain:`pipe0.com`}]}],"fields:merge@1":[{config:{environment:`production`},pipes:[{pipe_id:`fields:merge@1`,config:{sources:[{field_name:`field_1`},{field_name:`field_2`}]}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:scrape:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrape:firecrawl@1`,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:firecrawl@1`,config:{extraction_prompt:`Extract the company mission as well as the latest news.`,enable_full_domain_crawl:!0,enable_web_search:!0,json_schema:{type:`object`,required:[`company_mission`,`latest_news`],properties:{company_mission:{type:`string`},latest_news:{type:`string`}}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:parallel@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:parallel@1`,config:{objective:`When was the company founded and what does it do?`}}],input:[{id:`1`,website_url:`https://pipe0.com`}]}],"person:email:validate:millionverifier@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:email:validate:millionverifier@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"website:scrapelist:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrapelist:firecrawl@1`,config:{scrape_main_only:!0,formats:[`markdown`,`links`]}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"website:maplinks:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:maplinks:firecrawl@1`,config:{sitemap:`include`,page_limit:20,search:``}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"contact:create:resend@1":[{config:{environment:`production`},pipes:[{pipe_id:`contact:create:resend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`resend_123`}]},config:{segment_id:`segment_id_12xeeb12`,add_as_subscribed:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"lead:enroll:lemlist@1":[{config:{environment:`production`},pipes:[{pipe_id:`lead:enroll:lemlist@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`lemlist_123`}]},config:{campaign_id:`cam_bSn8EORHQxbWPjHvu`,custom_variables:{painPoint:`{{ pain_point }}`}}}],input:[{id:`1`,email:`prospect@example.com`,first_name:`Jane`,last_name:`Doe`,company_name:`Acme Corp`,job_title:`VP Sales`,pain_point:`slow onboarding`}]}],"row:append:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`row:append:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{project:`project_id`,sheet:`sheet_id`,run:!0,allow_entity_creation:!0,included_fields:[{field_name:`field_name`}]}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"rows:find:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`rows:find:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`crm-leads`,where:{logic:`and`,conditions:[{property:`value`,field_name:`email`,operator:`eq`,value:`{{ email }}`}]},limit:10,output_fields:{sheet_rows_found_count:{alias:``,enabled:!0},sheet_found_rows:{alias:``,enabled:!0},sheet_found_row_ids:{alias:``,enabled:!1}}}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"rows:find:postgres@1":[{config:{environment:`production`},pipes:[{pipe_id:`rows:find:postgres@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`postgres_123`}]},config:{query:`SELECT id, email, plan, created_at FROM users WHERE email = '{{ email }}'`,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!0},db_found_rows:{alias:``,enabled:!0}}}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"rows:find:databricks@1":[{config:{environment:`production`},pipes:[{pipe_id:`rows:find:databricks@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`databricks_123`}]},config:{query:`SELECT id, email, plan, created_at FROM main.crm.users WHERE email = '{{ email }}'`,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!0},db_found_rows:{alias:``,enabled:!0}}}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"row:expandappend:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`row:expandappend:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{project:`project_id`,sheet:`sheet_id`,run:!0,allow_entity_creation:!0,destination_field_name:`expanded_value`,destination_field_type:``,destination_field_format:``,destination_field_label:``}}],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:content:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:posts:content:crustdata@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-doe-3445`}]}],"people:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"person:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"company:match:crustdata@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@2`}],input:[{id:`1`,company_domain:`microsoft.com`}]}],"company:identity:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity:crustdata@1`}],input:[{id:`1`,company_domain:`samsung.com`},{id:`2`,company_name:`Samsung`}]}],"person:identity:amplemarket@1":[{pipes:[{pipe_id:`person:identity:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,email:`hallp@pipe0.com`}]}],"person:match:amplemarket@1":[{pipes:[{pipe_id:`person:match:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,profile_url:`https://linkedin.com/li/johndoe`}]}],"field:domainify@1":[{pipes:[{pipe_id:`field:domainify@1`}],input:[{id:`1`,url_input:`https://google.com`}]}],"field:slugify@1":[{pipes:[{pipe_id:`field:slugify@1`}],input:[{id:`1`,string_input:`input value`}]}],"http:request@1":[{pipes:[{pipe_id:`http:request@1`,config:{method:`GET`,url:`https://api.example.com/v1/companies/{{ company_name }}`,query_params:{limit:`10`},body:``,headers:{Authorization:`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`}]}]},uF=.1,dF=[`level1`,`level2`,`level3`];function fF(e,t){let n=dF[t-1];if(n)return e[n]}function pF(e,t){for(let n=t;n>=1;n--){let t=fF(e,n);if(t)return{level:n,tier:t}}}function mF(e){let t=[];for(let n=1;n<=3;n++){let r=fF(e,n);r&&t.push({level:n,credits:r.credits,weight:r.weight})}return t}function hF(e){if(e.default<.1)return!1;let t=mF(e);if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t[e].level!==e+1)return!1;let n=e.default,r=0;for(let e of t){if(!(e.credits<n)||!Number.isInteger(e.weight)||e.weight<=r)return!1;n=e.credits,r=e.weight}return!0}function gF(){let e=new Map;for(let t of Object.values(iA))for(let[n,r]of Object.entries(t.billableOperations)){let i=r;if(!i?.allowManagedConnection||!hF(i.credits))continue;let a=n,o={kind:`pipe`,id:t.pipeId,label:t.label,categories:[...t.categories]},s=e.get(a);if(s){s.standardCredits=Math.min(s.standardCredits,i.credits.default),s.usedBy.push(o);continue}e.set(a,{billableOperation:a,provider:i.provider,kind:`pipe`,standardCredits:i.credits.default,tiers:mF(i.credits),usedBy:[o]})}for(let t of Object.values(Ik)){let{cost:n}=t;if(!n.allowManagedConnection||!hF(n.credits))continue;let r=t.billableOperation,i={kind:`search`,id:t.searchId,label:t.label,categories:[...t.categories]},a=e.get(r);if(a){a.standardCredits=Math.min(a.standardCredits,n.credits.default),a.usedBy.push(i);continue}e.set(r,{billableOperation:r,provider:t.provider,kind:`search`,standardCredits:n.credits.default,tiers:mF(n.credits),usedBy:[i]})}return[...e.values()].sort((e,t)=>e.billableOperation.localeCompare(t.billableOperation))}function _F(e,t){switch(e.kind){case`field`:case`optional`:{let n=t[e.field.name];return n?{...e,field:{...e.field,resolvedName:n}}:e}case`all`:case`any`:return{...e,of:e.of.map(e=>_F(e,t))}}}function vF(e){switch(e.kind){case`field`:return e.field.resolvedName;case`optional`:return`${e.field.resolvedName} (optional)`;case`all`:return e.of.map(vF).join(` AND `);case`any`:return`(${e.of.map(vF).join(` OR `)})`}}function yF(e,t){let n=2,r=`${e}_${n}`;for(;t.has(r);)n++,r=`${e}_${n}`;return r}function bF({pipeId:e,availableFields:t,inputFieldAliases:n}){let r=iA[e];if(!r)throw Error(`Unknown pipe_id: "${e}"`);let i=new Set(t),a=r.defaultInputRequirement,o=a&&n&&Object.keys(n).length>0?_F(a,n):a,s=o?pc(o,i):!0,c=o?mc(o).filter(e=>e.required).map(e=>({name:e.field.name,resolved_name:e.field.resolvedName,present:i.has(e.field.resolvedName)})):[],l=s?[]:c.filter(e=>!e.present).map(e=>e.resolved_name),u=new Set(i),d=[],f=[];for(let e of aA(r)){let t=i.has(e),n;t?(n=yF(e,u),u.add(n),f.push({name:e,resolved_name:e,suggested_alias:n})):u.add(e),d.push({name:e,resolved_name:e,collides:t,suggested_alias:n})}return{pipe_id:e,runnable:s,requirement_description:o?vF(o):`(no inputs required)`,required_fields:c,missing_fields:l,output_fields:d,output_collisions:f}}const xF=[`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`],SF=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],CF=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})}),wF=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 TF(e){return!isNaN(e.getTime())}const EF=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of xF){let n=f(t,e,new Date(0));if(TF(n))return d(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),DF=r.coerce.string().trim().transform(e=>{for(let t of SF){let n=f(e,t,new Date(0));if(TF(n))return d(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),OF=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`}),kF=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()),AF=r.preprocess(e=>{if(typeof e!=`object`||!e)return e;try{return JSON.stringify(e)}catch{return e}},r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`}));function jF(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return CF.parse(e);case`email`:return wF.parse(e);case`datetime`:return EF.parse(e);case`date`:return DF.parse(e);case`decimal`:return OF.parse(e);case`int`:return kF.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return AF.parse(e);case`website_url`:return CF.parse(e);case`profile_url`:return CF.parse(e);case`zip_code`:return AF.parse(e);case`markdown`:case`phone`:case`text`:return AF.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 ${em(e)} into format ${t}: ${r.message}`):r}}function MF(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(PA(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:jF(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 NF(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];if(!i)throw Error(`Input object undefined`);let a=i.id;a!=null&&PA(a)&&(i.id=a.value),i.id||=crypto.randomUUID();let{id:o}=i;if(typeof o!=`string`&&typeof o!=`number`){n.errors.push(Z.InvalidId());continue}if(n.records[o]){n.errors.push(Z.IDConflict({index:r,id:o}));continue}n.order.push(o),n.records[o]={id:o,fields:MF(e,n,i)}}}function PF({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{NF(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=FF(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,IF(e,r,n?.queue?.enabled),HF(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 FF(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}=VF(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function IF(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 ${Wv(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 ${Wv(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}=hc(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function LF({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 RF({status:e,config:t}){return t.queue?.enabled?t.queue.triggers?.status?.includes(e)??!1:!1}function zF({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return LF({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||RF({status:n.status,config:r})}function BF({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 VF(e,t,n,r,i){let a=Object.entries(r.records),o=[],s=[];for(let c=0;c<a.length;c++){let l=a[c];if(!l)throw Error(`Required arr not present`);let[u,d]=l;for(let a of Object.values(n.getOutputFields())){let{resolvedName:l,type:u}=a,f=bc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},u),ee=xc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:te,isExpanded:ne,expandedValue:p}=FA(t[c]?.[l]??null),re=d.fields[l],ie=n.getConfigHashKey(),ae=n.getInputHashKey(d),oe={type:f,format:ee,claimed_by:{ref:n.pipeId,config_hash:ie}};if(r.errors.length>0&&te===null){let t=r.errors[0];if(!t)throw Error(`firstError undefined.`);d.fields[l]={...oe,value:null,status:`failed`,reason:{summary:`Validation error`,...t},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let se=NA(te);if(se!==`unknown`&&se!==f){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;d.fields[l]={...oe,value:t?null:te,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:ie,input_hash:ae}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:p?.widgets||re?.widgets||{},format:t?ee:p?.format||ee};continue}if(te==null){let t=ne&&i.queue?.enabled&&p.status===`pending`,n=ne&&!t;if(ne&&i.adopt?.enabled===!0&&(!i.adopt.statuses||i.adopt.statuses.includes(p.status))){let{didAdopt:e}=BF({inputHashKey:ae,configHashKey:ie,expandedValue:p});e&&s.push(d.id)}if(ne&&p.status!==`pending`&&zF({inputHashKey:ae,configHashKey:ie,config:i,expandedValue:p})&&i.queue?.enabled)o.push(d.id),d.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:ie,input_hash:ae},widgets:{}};else if(n)d.fields[l]={...oe,value:null,status:p.status,type:p.type||f,reason:p.reason||null,resolved_by:p.resolved_by||null,widgets:p.widgets||{},format:p.format||ee};else{let t=i.queue?.triggers?.status?.includes(`pending`)??!0,n=i.queue?.enabled&&t?`queued`:`pending`;n===`queued`&&o.push(d.id),d.fields[l]={...oe,value:null,status:n,reason:null,resolved_by:n===`queued`?{environment:e.environment,ref:`system`,config_hash:ie,input_hash:ae}:null,widgets:{}}}continue}if(ne){if(ne&&i.adopt?.enabled===!0&&(!i.adopt.statuses||i.adopt.statuses.includes(p.status))){let{didAdopt:e}=BF({inputHashKey:ae,configHashKey:ie,expandedValue:p});e&&s.push(d.id)}zF({inputHashKey:ae,configHashKey:ie,expandedValue:p,config:i})&&r.errors.length===0?(o.push(d.id),d.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):d.fields[l]={...oe,value:te,status:`completed`,type:p.type||f,reason:p.reason||null,resolved_by:p.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:p.widgets||re?.widgets||{},format:p.format||ee}}else try{let e=jF(te,ee);d.fields[l]={...oe,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:re?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(d.id),d.fields[l]={...oe,value:te,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:ie,input_hash:ae},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function HF(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=LA(i,r.value,r);r.widgets=lt(dt(r.widgets),e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function UF(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,widgets:dt(a.widgets)}:i[t]=a.value;return i}function WF(e,t={}){return Object.values(e).map(e=>UF(e.fields,t))}function GF(e,t={}){return e.map(e=>UF(e.fields,t))}function KF(e,t={}){return UF(e.fields,t)}function qF(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=FA(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function JF(e){let t=Ri[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const YF=[`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`],XF=r.enum(YF);function ZF(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 QF(e,t){let n={name:e,config:t};return Ks.hashObject(n)}var $F=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 QF(this.searchId,this.payload)}};function eI(e){return e.split(`@`)[0]}function tI(e){return`/docs/search-catalog/${eI(e)}/${e.split(`@`)[1]}`}const nI=`companies:profiles:crustdata@1`,rI=g(`company_name`),iI=g(`company_website_url`),aI=g(`company_description`),oI=g(`company_profile_url`),sI=g(`crustdata_company_match`),cI=r.object({search_id:r.literal(nI),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),cursor:ks({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}).nullable(),output_fields:L(r.object({[rI.name]:M({fieldName:rI.name}),[iI.name]:M({fieldName:rI.name}),[aI.name]:M({fieldName:aI.name}),[oI.name]:M({fieldName:oI.name}),[sI.name]:M({fieldName:sI.name})})),filters:r.object({hq_locations:P({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default([]),crunchbase_categories:P({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.categories`,optionsDef:h(`company.crunchbase_categories.crustdata`)}).default([]),crunchbase_investors:P({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.investors`,optionsDef:h(`company.crunchbase_investors.crustdata`)}).default([]),tracxn_investors:P({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,required:!1,groupPath:`config.filters.investors`,disableSearch:!1,optionsDef:h(`company.tracxn_investors.crustdata`)}).default([]),company_types:N({sectionKey:`config.filters`,path:`config.filters.company_types`,options:m(`crustdata.company_types`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}).default([]),linkedin_industries:P({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:h(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}).default([]),markets:P({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:h(`company.markets.crustdata`),label:`Markets`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}).default([]),linkedin_categories:P({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:h(`company.linkedin_categories.crustdata`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}).default([]),headcount:N({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.company_size`}).default([]),headcount_growth_last_6m_in_percent:N({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),revenue_in_usd:Ts({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`,disableSearch:!0,required:!1,options:m(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}).default([]),last_funding_amount:Ts({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:N({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}).default([]),follower_growth_last_6m_in_percent:N({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}).default([]),profile_summary_keywords:k({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,description:``,groupPath:`config.filters.keywords`}),competitor_websites:k({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:`Ex. 'google.com'`,groupPath:`config.filters.competitors`})}).check(e=>{ZF(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),lI={default:{input:[{fields:[]}]}},uI=class extends $F{searchId=nI;schema=cI;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[rI.name]:this.catalogOutput(rI),[iI.name]:this.catalogOutput(iI),[aI.name]:this.catalogOutput(aI),[oI.name]:this.catalogOutput(oI),[sI.name]:this.catalogOutput(sI)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return lI}},dI=cI,fI={searchId:nI,billableOperation:`companies-profiles-crustdata`,baseSearch:eI(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[W.COMPANY_PROFILES],docPath:tI(nI),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:nI,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:[]}}}},pI=`companies:profiles:exa@1`,mI=g(`company_name`),hI=g(`company_website_url`),gI=g(`company_description`),_I=g(`company_industry`),vI=g(`headcount`),yI=g(`exa_match_evaluation`),bI=r.object({search_id:r.literal(pI),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,path:`config.limit`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:L(r.object({[mI.name]:M({fieldName:mI.name}),[hI.name]:M({fieldName:mI.name}),[gI.name]:M({fieldName:gI.name}),[_I.name]:M({fieldName:_I.name}),[vI.name]:M({fieldName:vI.name}),[yI.name]:M({fieldName:yI.name})})),filters:r.object({query:As({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})})})}),xI={default:{input:[{fields:[]}]}},SI=class extends $F{searchId=pI;schema=bI;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[mI.name]:this.catalogOutput(mI),[hI.name]:this.catalogOutput(hI),[gI.name]:this.catalogOutput(gI),[_I.name]:this.catalogOutput(_I),[vI.name]:this.catalogOutput(vI),[yI.name]:this.catalogOutput(yI)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return xI}},CI=bI,wI={searchId:pI,billableOperation:`companies-profiles-exa`,baseSearch:eI(`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:[W.COMPANY_PROFILES],docPath:tI(pI),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:pI,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:``}}}},TI=`companies:profiles:icypeas@1`,EI=g(`company_industry`),DI=g(`company_name`),OI=g(`company_description`),kI=g(`company_website_url`),AI=g(`headcount`),jI=g(`company_region`),MI=g(`company_profile_url`),NI=g(`icypeas_company_match`),PI=r.object({search_id:r.literal(TI),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,max:5e4,min:1,path:`config.limit`,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:L(r.object({company_name:M({fieldName:DI.name}),company_industry:M({fieldName:EI.name}),company_description:M({fieldName:OI.name}),company_website_url:M({fieldName:kI.name}),headcount:M({fieldName:AI.name}),company_region:M({fieldName:jI.name}),company_profile_url:M({fieldName:MI.name}),icypeas_company_match:M({fieldName:NI.name})})),filters:r.object({name:A({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:j({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:j({path:`config.filters.industry`,sectionKey:`config.filters`,optionsDef:Re(`linkedin.industries`),includeLabel:`Industries to include`,excludeLabel:`Industries to exclude`,description:``,placeholder:``,groupPath:`config.filters.industry`,maxItems:50}).optional(),location:A({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:Ts({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:A({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:A({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=>{ZF(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),FI={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},II=class extends $F{searchId=TI;schema=PI;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[DI.name]:this.catalogOutput(DI),[EI.name]:this.catalogOutput(EI),[MI.name]:this.catalogOutput(MI),[kI.name]:this.catalogOutput(kI),[OI.name]:this.catalogOutput(OI),[AI.name]:this.catalogOutput(AI),[jI.name]:this.catalogOutput(jI),[NI.name]:this.catalogOutput(NI)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return FI}},LI=PI,RI={searchId:TI,billableOperation:`companies-profiles-icypeas`,baseSearch:eI(`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:[W.COMPANY_PROFILES],docPath:tI(TI),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:TI,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:[]}}}}},zI=`people:profiles:clado@1`,BI=g(`name`),VI=g(`job_title`),HI=g(`company_name`),UI=g(`company_profile_url`),WI=g(`profile_url`),GI=g(`clado_person_match`),KI=r.object({search_id:r.literal(zI),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,path:`config.limit`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(20),output_fields:L(r.object({[BI.name]:M({fieldName:BI.name}),[VI.name]:M({fieldName:VI.name}),[UI.name]:M({fieldName:UI.name}),[HI.name]:M({fieldName:HI.name}),[WI.name]:M({fieldName:WI.name}),[GI.name]:M({fieldName:GI.name})})),filters:r.object({query:As({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})})})}),qI={default:{input:[{fields:[{outputField:`profile_url`}]}]}},JI=class extends $F{searchId=zI;schema=KI;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[BI.name]:this.catalogOutput(BI),[VI.name]:this.catalogOutput(VI),[HI.name]:this.catalogOutput(HI),[WI.name]:this.catalogOutput(WI),[UI.name]:this.catalogOutput(UI),[GI.name]:this.catalogOutput(GI)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return qI}},YI=KI,XI={searchId:zI,billableOperation:`people-profiles-clado`,baseSearch:An(`people:profiles:clado@1`),label:`Find people profiles with Clado`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search through millions of LinkedIn profiles using natural language queries. This endpoint provides fast searching with AI-powered relevance matching.`,tags:[W.PEOPLE_PROFILES],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_search`,creditsPerSearch:3},provider:`clado`,defaultPayload:{search_id:zI,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:``}}}},ZI=`people:profiles:clado@2`,QI=g(`name`),$I=g(`job_title`),eL=g(`company_name`),tL=g(`company_profile_url`),nL=g(`profile_url`),rL=g(`clado_person_match_v2`),iL=r.object({search_id:r.literal(ZI),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,path:`config.limit`,max:1e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),search_id:ks({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`}).nullable().default(``),offset:I({sectionKey:`general`,path:`config.offset`,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.`}).nullish(),output_fields:L(r.object({[QI.name]:M({fieldName:QI.name}),[$I.name]:M({fieldName:$I.name}),[tL.name]:M({fieldName:tL.name}),[eL.name]:M({fieldName:eL.name}),[nL.name]:M({fieldName:nL.name}),[rL.name]:M({fieldName:rL.name})})),filters:r.object({query:As({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`]})}),aL={default:{input:[{fields:[{outputField:`profile_url`}]}]}},oL=class extends $F{searchId=ZI;schema=iL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[QI.name]:this.catalogOutput(QI),[$I.name]:this.catalogOutput($I),[eL.name]:this.catalogOutput(eL),[nL.name]:this.catalogOutput(nL),[tL.name]:this.catalogOutput(tL),[rL.name]:this.catalogOutput(rL)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return aL}},sL=iL,cL={searchId:ZI,billableOperation:`people-profiles-clado`,baseSearch:An(`people:profiles:clado@2`),label:`Find people profiles`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search a growing dataset with semantic queries.`,tags:[],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_page`,creditsPerPage:3},provider:`clado`,defaultPayload:{search_id:ZI,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:``}}}},lL=`people:employees:leadmagic@1`,uL=g(`name`),dL=g(`job_title`),fL=g(`company_website_url`),pL=g(`company_name`),mL=r.object({search_id:r.literal(lL),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,max:500,min:1,path:`config.limit`,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(50),output_fields:L(r.object({[uL.name]:M({fieldName:uL.name}),[pL.name]:M({fieldName:pL.name}),[fL.name]:M({fieldName:fL.name}),[dL.name]:M({fieldName:dL.name})})),filters:r.object({company_website_url:ks({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`}).nullable()})})}),hL={default:{input:[{fields:[{outputField:fL.name}]}]}},gL=class extends $F{searchId=lL;schema=mL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[uL.name]:this.catalogOutput(uL),[dL.name]:this.catalogOutput(dL),[fL.name]:this.catalogOutput(fL),[pL.name]:this.catalogOutput(pL)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return hL}},_L=mL,vL={searchId:lL,billableOperation:`people-employees-leadmagic`,baseSearch:eI(`people:employees:leadmagic@1`),label:`Employee finder`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search for employees of a company.`,tags:[W.PEOPLE_PROFILES],docPath:tI(lL),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:lL,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:``}}}},yL=`people:profiles:crustdata@1`,bL=g(`name`),xL=g(`company_website_url`),SL=g(`profile_url`),CL=g(`job_title`),wL=g(`crustdata_person_match`),TL=r.object({search_id:r.literal(yL),connector:Di.nullable().optional(),config:r.object({limit:I({sectionKey:`general`,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of results`}).default(100),cursor:ks({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}).nullable(),output_fields:L(r.object({[bL.name]:M({fieldName:bL.name}),[xL.name]:M({fieldName:xL.name}),[SL.name]:M({fieldName:SL.name}),[CL.name]:M({fieldName:CL.name}),[wL.name]:M({fieldName:wL.name})})),filters:r.object({locations:P({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:h(`locations`),groupPath:`config.filters.general`}).default([]),profile_headline_keywords:Ss({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:Ss({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_languages:N({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}).default([]),languages:N({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}).default([]),skills:P({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,placeholder:`.NET, PMO, ...`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default([]),years_of_experience:N({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),current_seniority_levels:j({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),current_employers:k({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Current employers`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`person.current_employer_names.crustdata`)}),current_employers_website_urls:k({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Current employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),current_job_titles:k({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,order:1,groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}),current_employers_linkedin_industries:P({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Current employers industries`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`)}).default([]),years_at_current_company:N({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),previous_employers_website_urls:k({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),previous_seniority_levels:j({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,disableSearch:!0,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),previous_employers:k({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`person.past_employer_names.crustdata`)}),previous_job_titles:k({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}),previous_employers_linkedin_industries:P({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`)}).default([]),certifications:k({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,description:``}),honors:k({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,description:``}),recently_changed_jobs:Os({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`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default([]),degree_names:P({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default([]),school_names:P({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default([]),current_school_names:P({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default([]),extracurricular_activities:k({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:h(`person.education_activities.crustdata`)})}).check(e=>{ZF(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),EL={default:{input:[{fields:[]}]}},DL=class extends $F{searchId=yL;schema=TL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[bL.name]:this.catalogOutput(bL),[xL.name]:this.catalogOutput(xL),[SL.name]:this.catalogOutput(SL),[CL.name]:this.catalogOutput(CL),[wL.name]:this.catalogOutput(wL)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return EL}},OL=TL,kL={searchId:yL,billableOperation:`people-profiles-crustdata`,baseSearch:eI(`people:profiles:crustdata@1`),label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[W.PEOPLE_PROFILES],docPath:tI(yL),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:yL,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:[]}}}},AL=`people:profiles:exa@1`,jL=g(`name`),ML=g(`profile_url`),NL=g(`job_title`),PL=g(`company_name`),FL=g(`company_region`),IL=g(`exa_match_evaluation`),LL=r.object({search_id:r.literal(AL),connector:Di.nullable().optional(),config:r.object({limit:I({path:`config.limit`,sectionKey:`general`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:L(r.object({[jL.name]:M({fieldName:jL.name}),[ML.name]:M({fieldName:ML.name}),[NL.name]:M({fieldName:NL.name}),[PL.name]:M({fieldName:PL.name}),[FL.name]:M({fieldName:FL.name}),[IL.name]:M({fieldName:IL.name})})),filters:r.object({query:As({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})})})}),RL={default:{input:[{fields:[]}]}},zL=class extends $F{searchId=AL;schema=LL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[jL.name]:this.catalogOutput(jL),[ML.name]:this.catalogOutput(ML),[NL.name]:this.catalogOutput(NL),[PL.name]:this.catalogOutput(PL),[FL.name]:this.catalogOutput(FL),[IL.name]:this.catalogOutput(IL)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return RL}},BL=LL,VL={searchId:AL,billableOperation:`people-profiles-exa`,baseSearch:eI(`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:[W.COMPANY_PROFILES],docPath:tI(AL),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:AL,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:``}}}},HL=`people:profiles:icypeas@1`,UL=g(`name`),WL=g(`job_title`),GL=g(`profile_headline`),KL=g(`company_website_url`),qL=g(`company_profile_url`),JL=g(`profile_url`),YL=g(`icypeas_person_match`),XL=r.object({search_id:r.literal(HL),connector:Di.nullable().optional(),config:r.object({limit:I({path:`config.limit`,sectionKey:`general`,max:5e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:L(r.object({[UL.name]:M({fieldName:UL.name}),[WL.name]:M({fieldName:WL.name}),[GL.name]:M({fieldName:GL.name}),[KL.name]:M({fieldName:KL.name}),[qL.name]:M({fieldName:qL.name}),[JL.name]:M({fieldName:JL.name}),[YL.name]:M({fieldName:YL.name})})),filters:r.object({firstname:A({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:A({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:A({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:A({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:A({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:A({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:A({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:A({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:A({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:A({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:A({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:A({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:A({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=>{ZF(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),ZL={default:{input:[{fields:[{outputField:`profile_url`}]}]}},QL=class extends $F{searchId=HL;schema=XL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[UL.name]:this.catalogOutput(UL),[WL.name]:this.catalogOutput(WL),[GL.name]:this.catalogOutput(GL),[KL.name]:this.catalogOutput(KL),[qL.name]:this.catalogOutput(qL),[JL.name]:this.catalogOutput(JL),[YL.name]:this.catalogOutput(YL)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return ZL}},$L=XL,eR={searchId:HL,billableOperation:`people-profiles-icypeas`,provider:`icypeas`,baseSearch:eI(HL),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:[W.PEOPLE_PROFILES],docPath:tI(HL),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:HL,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:[]}}}}},tR={"people:profiles:crustdata@1":DL,"companies:profiles:crustdata@1":uI,"companies:profiles:exa@1":SI,"people:profiles:exa@1":zL,"people:profiles:icypeas@1":QL,"companies:profiles:icypeas@1":II,"people:employees:leadmagic@1":gL,"people:profiles:clado@1":JI,"people:profiles:clado@2":oL},nR={"people:profiles:crustdata@1":OL,"companies:profiles:crustdata@1":dI,"companies:profiles:exa@1":CI,"people:profiles:exa@1":BL,"people:profiles:icypeas@1":$L,"companies:profiles:icypeas@1":LI,"people:employees:leadmagic@1":_L,"people:profiles:clado@1":YI,"people:profiles:clado@2":sL},rR={"people:profiles:crustdata@1":kL,"companies:profiles:crustdata@1":fI,"companies:profiles:exa@1":wI,"people:profiles:exa@1":VL,"people:profiles:icypeas@1":eR,"companies:profiles:icypeas@1":RI,"people:employees:leadmagic@1":vL,"people:profiles:clado@1":XI,"people:profiles:clado@2":cL};function iR(e){return tR[e]}function aR(e){return nR[e]}function oR(e){return rR[e].defaultPayload}const sR=t.discriminatedUnion(`search_id`,Object.values(nR).map(e=>e)),cR=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=oR(e.search_id);return t?{...e,config:Ze(e?.config||{},t.config)}:e},sR);function lR(e){return Object.keys(rR[e].defaultPayload.config.output_fields)}const uR=ii,dR=t.object({value:Wr,status:Ur,type:Vr.optional(),format:si.nullable().optional(),resolved_by:pi.nullable().optional(),widgets:ri.optional()}),fR=t.record(t.string(),dR.nullable()),pR=t.object({search:t.object({ref:XF}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(uR),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()})}),mR=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(fR),search_statuses:t.array(pR),organizationId:t.string()}).openapi(`SearchesResponseSchema`),hR=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),gR=hR.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),_R=t.object({config:gR.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(cR)}).openapi(`SearchesRequestSchema`);function vR(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function yR(){let e={};for(let t of Object.values(rR)){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=vR(e.searchId);return vR(t.searchId)-n})}),e}const bR=yR();function xR(e){let t=[];for(let[n,r]of Object.entries(bR)){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:vR(i.searchId)})}return t}function SR(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 lR(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:bR}}function CR(e){return rR[e]}function wR(e){let t=CR(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function TR(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e}))}function ER(e){return TR(dA(e).allowedUserConnectionProviders)}function DR(e){return TR([Xk(e).provider])}function OR(e){return TR([CR(e).provider])}const kR=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`data`,label:`Data`,color:`#F59E0B`,order:2},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:3}],AR=new Map(kR.map(e=>[e.id,e]));function jR(e){return AR.get(e)}function MR(){return kR}const NR={"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:[]}}}}],"people:profiles:crustdata@3":[{search_id:`people:profiles:crustdata@3`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin, Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},languages:{include:[`English`],exclude:[]},current_employment_job_titles:{include:[`Software Engineer`],exclude:[]},current_employment_job_functions:[`Engineering`],current_employment_seniority_levels:[`Senior`,`Director`],current_employer_headcount_brackets:[`51-200`],current_employment_tenure_brackets:[`1 to 2 years`],total_years_of_experience_brackets:[`3 to 5 years`]}}}],"posts:content:crustdata@1":[{search_id:`posts:content:crustdata@1`,config:{limit:10,filters:{keywords:[`LLM Evaluation`,`RAG`],keyword_operator:`OR`,date_posted:`past-month`,content_types:[`videos`],author_industries:[`Software Development`]}}}],"companies:entitysearch:parallel@1":[{search_id:`companies:entitysearch:parallel@1`,config:{objective:`AI startups in Europe that raised a Series A in 2024`,limit:100}}],"people:entitysearch:parallel@1":[{search_id:`people:entitysearch:parallel@1`,config:{objective:`Heads of Engineering at Series B fintech companies in the US`,limit:100}}],"people:eventguests:luma@1":[{search_id:`people:eventguests:luma@1`,connector:{strategy:`first`,connections:[]},config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},email:{enabled:!0,alias:``},luma_id:{enabled:!0,alias:``},registered_at:{enabled:!0,alias:``},luma_event_guest_match:{enabled:!0,alias:``}},filters:{event_id:`evt-sandbox-1`,approval_status:`approved`}}}],"sheet:rows@1":[{search_id:`sheet:rows@1`,connector:{strategy:`first`,connections:[]},config:{sheet:`demo-leads`,limit:100,cursor:``,include_metadata:!1}}],"query:postgres@1":[{search_id:`query:postgres@1`,connector:{strategy:`first`,connections:[]},config:{query:`SELECT id, name, email FROM contacts ORDER BY id`,limit:100,page_number:1}}],"query:databricks@1":[{search_id:`query:databricks@1`,connector:{strategy:`first`,connections:[]},config:{query:`SELECT id, name, email FROM samples.tpch.customer ORDER BY id`,limit:100,page_number:1}}]};function PR(e,t,n){if(t==null)return{};try{let r=jr(e,n)?.getStaticWidgets?.(t),i=MA(n,t);return ut(lt(r||{},{display_value:i?{label:i}:void 0}))}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}var FR=class extends Jv{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function IR(e){let t=[];for(let n of e){if(n instanceof $F){t.push(n);continue}let e=n.search_id,r=iR(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(cR.parse(n));t.push(i)}return t}function LR(e){try{return IR(e.searches)}catch(e){throw e instanceof FR?e:new Q([Z.ValidationFailed({error:e})])}}const RR=/[\\^$.+()|[\]{}]/g,zR=new Map;function BR(e){let t=zR.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(RR,`\\$&`)}let r=RegExp(`^${n}$`);return zR.set(e,r),r}function VR(e,t){return BR(t).test(e)}function HR(e,t){if(!t||t.length===0)return!1;for(let n of t)if(VR(e,n))return!0;return!1}function UR(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!HR(e,n)||r&&r.length>0&&HR(e,r))}function WR(e,t){return UR(e,t?.providers)}function GR(e,t){if(!t)return!0;if(!UR(e,t.pipes))return!1;if(t.providers){let n=hA(e);if(n.length===0)return!0;if(!n.some(e=>WR(e,t)))return!1}return!0}function KR(e,t,n){return t?!(!UR(e,t.searches)||n!==void 0&&!WR(n,t)):!0}function qR(e,t,n){return t?!(!UR(e,t.searchesMulti)||n!==void 0&&!WR(n,t)):!0}function JR(e,t){return t?e.filter(e=>GR(e.pipeId,t)):e.slice()}function YR(e,t){return t?e.filter(e=>KR(e.searchId,t,e.provider)):e.slice()}function XR(e,t){return t?e.filter(e=>qR(e.searchId,t,e.provider)):e.slice()}function ZR(e){let t=Object.values(e.billableOperations).map(e=>e.allowManagedConnection?e.credits.default:0);return Math.min(...t)}function QR(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function $R(e){return e.cost.allowManagedConnection?e.cost.credits.default:0}function ez(e){let t=Object.values(e.billableOperations).map(e=>e?.allowManagedConnection?e.credits.default:0);return t.length?Math.min(...t):0}function tz(e,t){let n=Math.max(1,t.minItems),r=Math.max(n,t.maxItems),i=[],a=[],o=0;for(let s of e){a.push(s),o+=t.sizeOf(s);let e=a.length>=r,c=o>=t.targetSize&&a.length>=n;(e||c)&&(i.push(a),a=[],o=0)}return a.length>0&&i.push(a),i}function nz(e){let t=AA(e);if(!t)return``;try{return te(t)||new URL(t).hostname}catch{return``}}const rz=[`http://`,`https://`,`mailto:`],iz=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function az(e){return e?oz(e):[]}function oz(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&&iz.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=sz(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=sz(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:oz(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=sz(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:oz(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=sz(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:oz(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=sz(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=sz(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(rz.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:oz(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function sz(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(cz(e,r,n))return r;r+=1}return-1}function cz(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{La as AI_MODELS,Ra as AI_MODEL_CATALOG,Ua as AI_MODEL_RAW_USD,rr as B2BPostMatchSchema,za as CREDIT_USD_VALUE,vi as CatalogSchemaRefSchema,FN as ConciseFieldValueSchema,Fi as ConditionBlockSchema,Be as ConditionEvaluationError,ze as ConditionFieldNotFoundError,Si as ConditionOperatorsSchema,tt as EffectAllSelectionSchema,et as EffectRowsSelectionSchema,rt as EffectSelectionSchema,nt as EffectWindowSelectionSchema,$N as EffectsRequestSchema,eP as EffectsResponseSchema,QN as EffectsRunStatusSchema,tP as EffectsValidateRequestSchema,rP as EffectsValidateResponseSchema,nP as EffectsValidateStepSchema,hi as ExpandedFieldValueSchema,yc as FIELD_PLACEHOLDERS,ci as FieldAnnotationSchema,BA as FieldAnnotations,li as FieldAnnotationsSchema,Fr as FieldNameSchema,ai as FieldReasonSchema,Wr as FieldValueSchema,iF as FormStoreSchema,uF as HIGH_VOLUME_PRICING_MIN_CREDITS,xi as JSONExtractSchema,Gr as JSONMetaSchema,Ba as MANAGED_TOKEN_MARGIN,eM as MANUAL_DEFAULT,ki as NoConnectorSchema,Ks as ObjectHasher,Di as OptionalConnectorSchema,Rr as PIPE_IDS,Kk as PaginationTypeSchema,tr as PersonProfileFieldSchema,zC as PersonWorkemailWaterfall1Entry,RC as PersonWorkemailWaterfall1PayloadSchema,LC as PersonWorkemailWaterfall1PipeClass,H as Pipe,Jv as Pipe0Error,zr as PipeIdSchema,lA as PipePayloadSchema,Li as PipeRunIfSchema,Q as PipelineValidationError,Lr as PipesEnvironmentSchema,ii as PipesErrorSchema,yi as PipesFieldDefinitionSchema,bi as PipesFieldDefinitionsSchema,gi as PipesInputSchema,xA as PipesRequestConfigSchema,SA as PipesRequestSchema,bA as PipesResponseSchema,uA as ProcessedPipePayloadSchema,Bk as ProcessedSearchPayloadSchema,cR as ProcessedSearchesPayloadSchema,ZN as ProcessedSheetEffectPayloadSchema,Ir as ProviderNameSchema,oi as RECORD_FIELD_FORMATS,Br as RECORD_FIELD_TYPES,oc as RESERVED_FIELD_NAMES,Ci as RUN_IF_OPERATOR_LABELS,Ti as RUN_IF_STATUS_OPERATORS,wi as RUN_IF_VALUE_OPERATORS,Qj as RUN_STATUS_OPTIONS,PN as RecordActionDetailSchema,fi as RecordClaimedBySchema,LN as RecordDiffEntrySchema,si as RecordFieldFormatSchema,mi as RecordFieldSchema,Ur as RecordFieldStatusSchema,Vr as RecordFieldTypeSchema,Hr as RecordIdSchema,pi as RecordResolvedBySchema,_i as RecordSchema,qv as RequestValidationError,Oi as RequiredConnectorSchema,ji as RunIfStatusOperatorsSchema,Mi as RunIfStatusValueSchema,Ai as RunIfValueOperatorsSchema,Zj as RunStatusSchema,$j as SCHEDULED_DEFAULT,YF as SEARCHES_IDS,aE as SEARCH_IDS,Fn as SENIORITY_LEVELS,Qe as SHEET_EFFECT_IDS,$ as Search,Hk as SearchErrorSchema,oE as SearchIdSchema,Rk as SearchPayloadSchema,Vk as SearchRequestSchema,qk as SearchResponseSchema,Uk as SearchResultFieldSchema,Wk as SearchResultSchema,uR as SearchesErrorSchema,XF as SearchesIdSchema,sR as SearchesPayloadSchema,hR as SearchesRequestBaseConfigSchema,_R as SearchesRequestSchema,mR as SearchesResponseSchema,dR as SearchesResultFieldSchema,fR as SearchesResultSchema,$F as SearchesSearch,pR as SearchesStatusSchema,B as SheetEffect,$e as SheetEffectIdSchema,YN as SheetEffectPayloadSchema,BN as SheetEffectStepSummarySchema,lP as SheetEffectValidationError,zN as SheetEffectsCountsSchema,RN as SheetEffectsDiffSchema,Va as TOKEN_BLOCK_SIZE_INPUT,Ha as TOKEN_BLOCK_SIZE_OUTPUT,nm as TYPES_TO_FORMATS,eo as TokenBlockAccumulator,IN as UpdatedActionDetailSchema,Ii as ValueConditionBlockSchema,tF as WidgetsByKindSchema,ri as WidgetsSchema,uc as all,ia as analyzeLiquidTemplate,bF as analyzePipeFit,Fa as and,dc as any,_A as assertUniqueBillableOperations,h as autocomplete,ir as b2bPostMatchExample,Za as buildAiModelTokenBillableOperations,HA as buildDependencyGraph,wc as buildInputRequirementFromTemplates,SP as buildResultColumns,Xa as buildTokenNote,q as catalogInput,tz as chunkBySize,Ws as cleanObject,AA as cleanUrl,kA as cleanWebsiteUrl,Ec as collectConstantReferencesFromTemplates,HP as collectPipeContextSelectFields,mc as collectRequirementFields,qP as collectSearchContextSelectFields,Tc as collectSecretReferencesFromTemplates,ZP as collectSheetEffectContextSelectFields,BR as compilePattern,MP as computeTenure,Ze as configDefaults,Ja as creditsPerBlock,xP as dedupeColumnNames,Gv as describeRequirement,ct as entityLogoFavicon,st as entityLogoProfessionalProfileUrl,Wc as estimateGuardCredits,Ke as evaluateConditionBlock,Bo as extractFormMetadata,V as field,Ar as fieldBehaviorCatalog,kr as fieldCatalog,Wv as fieldNameStr,NA as fieldTypeFromValue,UF as fieldsToObject,JR as filterPipeEntries,YR as filterSearchEntries,XR as filterSearchesEntries,qN as getAgentAllowedEffectIds,Ga as getAiModelConnectionRequirements,Wa as getAiModelProviders,Qa as getAiModelTokenBillingKeys,Ya as getAiModelTokenCredits,Ka as getAllAiModelProviders,G as getBasePipeName,z as getBaseSheetEffectName,aA as getDefaultOutputFields,hA as getDefaultPipeProviders,$k as getDefaultSearchOutputFields,lR as getDefaultSearchesOutputFields,TA as getDependentPipeNamesForInputProperty,EA as getDependentPipeNamesForPipe,nz as getDomain,FA as getExpansionState,at as getFaviconUrlGoogle,g as getField,jr as getFieldBehavior,Qp as getFieldDisplayLabel,LA as getFieldWidgets,Qk as getInitialSearchTableData,xR as getInitialSearchesTableData,sP as getInitialSheetEffectTableData,vA as getInitialTableData,vc as getInputHash,no as getJsonMetaForFieldDef,$R as getLoweestSearchCreditAmount,QR as getLoweestSearchesCreditAmount,ZR as getLowestPipeCreditAmount,ez as getLowestSheetEffectCreditAmount,Pr as getOutputFieldInfoFromDef,fA as getPipeBillableOperationDef,cF as getPipeCategoryEntries,sF as getPipeCategoryEntry,oA as getPipeClass,_c as getPipeConfigHash,sA as getPipeDefaultPayload,K as getPipeDocsURI,dA as getPipeEntry,LP as getPipeFormMask,wA as getPipeInstances,UP as getPipePayloadFormConfig,cA as getPipePayloadSchema,pA as getPipeVersion,X as getProviderBillableOperation,Dc as getProviderCreditsFromBillableOperations,JF as getProviderEntry,wP as getReadableFieldStatus,TR as getSandboxConnections,ER as getSandboxConnectionsForPipe,DR as getSandboxConnectionsForSearch,OR as getSandboxConnectionsForSearches,MR as getSearchCategoryEntries,jR as getSearchCategoryEntry,Lk as getSearchClass,zk as getSearchDefaultPayload,Xk as getSearchEntry,PR as getSearchFieldWidgets,RP as getSearchFormMask,ZM as getSearchInstance,KP as getSearchPayloadFormConfig,Gk as getSearchPayloadSchema,eA as getSearchTableDataAggregates,Jk as getSearchVersion,iR as getSearchesClass,oR as getSearchesDefaultPayload,CR as getSearchesEntry,RA as getSearchesFieldWidgets,IR as getSearchesInstances,aR as getSearchesPayloadSchema,SR as getSearchesTableDataAggregates,vR as getSearchesVersion,er as getSeniorityEmojiFromTitle,$n as getSeniorityLevelFromTitle,Xe as getSheetEffectCategoryEntries,Ye as getSheetEffectCategoryEntry,WN as getSheetEffectClass,qs as getSheetEffectConfigHash,XN as getSheetEffectDefaultPayload,GN as getSheetEffectEntry,zP as getSheetEffectFormMask,yP as getSheetEffectInstance,XP as getSheetEffectPayloadFormConfig,KN as getSheetEffectPayloadSchema,CA as getStartingCostPerPipesProvider,tA as getStartingCostPerSearchProvider,wR as getStartingCostPerSearchesProvider,yA as getTableDataAggregates,fF as getTier,IA as getUnexpandedValue,ot as ifDefined,R as inputFields,KF as inputFromRecord,GF as inputFromRecordArr,WF as inputFromRecords,QP as inputGuards,JN as isAgentAllowedEffect,Nr as isCatalogField,kn as isEmptyValue,Mr as isFieldName,hF as isHighVolumeEligible,GR as isPipeAllowed,WR as isProviderAllowed,pc as isRequirementMet,hc as isRequirementSatisfiedByRecord,sc as isReservedFieldName,KR as isSearchAllowed,qR as isSearchesAllowed,qa as isTokenBilledOperations,Sa as joinConnectionString,gF as listHighVolumeEligibleOperations,mF as listTiers,Uc as managedDefaultCreditOf,kc as markRecordFieldAsComplete,Mc as markRecordFieldAsFailed,jc as markRecordFieldAsNoResult,Ac as markRecordFieldAsPending,Pc as markRecordFieldAsProcessing,Nc as markRecordFieldAsSkipped,HR as matchesAny,VR as matchesPattern,Ro as mergeFormConfig,lt as mergeWidgets,w as noConnectorInput,bP as normalizeColumnName,fc as optional,C as optionalConnectorInput,Ia as or,L as outputFields,ra as parseLiquidTemplate,Zi as parseOutputTagArgs,jF as parseRecordValueOrError,Ea as parseRelaxedObject,az as parseRichText,J as perUnit,nr as personProfileMatchExample1,iA as pipeCatalog,aF as pipeCategoryCatalog,nA as pipeClassCatalog,rA as pipePayloadSchemaCatalog,cs as pipesAsyncIncludeExcludeSelectInput,Lo as pipesConditionInput,xs as pipesContextSelectInput,us as pipesDateRangeInput,fs as pipesDestinationFieldConfig,$o as pipesFieldsSelectInput,ns as pipesIncludeExcludeInput,ss as pipesIncludeExcludeSelectInput,E as pipesInputField,vs as pipesIntInput,po as pipesJsonExtractionInput,bs as pipesJsonSchemaField,gs as pipesLLMSelectInput,os as pipesLooseObjectInput,rs as pipesMultiCreateInput,_s as pipesMultiSelectInput,ys as pipesNumberInput,ds as pipesOptionalBooleanInput,is as pipesOrderedMultiCreateInput,O as pipesOutputField,_ as pipesPayloadRegistry,Ho as pipesPromptInput,D as pipesProviderInput,ls as pipesRangeInput,x as pipesRunIfInput,hs as pipesSelectInput,lF as pipesSnippetCatalog,as as pipesTaggedOrderedMultiCreateInput,S as pipesTaggedTextInput,Uo as pipesTemplateInput,ps as pipesTextInput,ms as pipesTextareaInput,U as placeholder,qF as processInputObjects,Ri as providerCatalog,Y as rateLimitRatioFallingProgression,cj as renameFieldInPipePayloads,ta as renderLiquidTemplate,na as renderLiquidTemplateSync,Go as requiredConnectorInput,Oc as requirementToInputFields,Kv as requirementUnmetMessage,Na as requiresConnection,Pa as requiresField,IP as resolveFormMask,uP as runSheetEffectsValidation,tM as runStatusesToQueueConfig,Ik as searchCatalog,kR as searchCategoryCatalog,Pk as searchClassCatalog,Fk as searchPayloadSchemaCatalog,NR as searchSnippetCatalog,F as searchesAsyncIncludeExcludeSelectInput,P as searchesAsyncMultiSelectInput,rR as searchesCatalog,tR as searchesClassCatalog,Ms as searchesContextSelectInput,Es as searchesDateRangeInput,ws as searchesExactRangeInput,A as searchesIncludeExcludeInput,j as searchesIncludeExcludeSelectInput,I as searchesIntInput,Cs as searchesMinMaxIntInput,k as searchesMultiCreateInput,N as searchesMultiSelectInput,Ns as searchesNumberField,Ds as searchesOptionalBooleanInput,Jo as searchesOptionalConnectorInput,Os as searchesOptionalNullableBooleanInput,Ss as searchesOrderedMultiCreateInput,M as searchesOutputField,v as searchesPayloadRegistry,nR as searchesPayloadSchemaCatalog,Ts as searchesRangeInput,qo as searchesRequiredConnectorInput,js as searchesSelectInput,ks as searchesTextInput,As as searchesTextareaField,In as seniorityLevelSchema,UN as sheetEffectCatalog,qe as sheetEffectCategoryCatalog,VN as sheetEffectClassCatalog,HN as sheetEffectPayloadSchemaCatalog,cP as sheetEffectSnippetCatalog,Io as sheetEffectsConditionInput,Vs as sheetEffectsContextSelectInput,es as sheetEffectsFieldsSelectInput,Rs as sheetEffectsIntInput,Hs as sheetEffectsLLMSelectInput,Ls as sheetEffectsMultiSelectInput,T as sheetEffectsNoConnectorInput,Bs as sheetEffectsOptionalBooleanInput,Zo as sheetEffectsOptionalConnectorInput,zs as sheetEffectsOptionalIntInput,y as sheetEffectsPayloadRegistry,Xo as sheetEffectsRequiredConnectorInput,Us as sheetEffectsSearchPayloadInput,Is as sheetEffectsSelectInput,ts as sheetEffectsSelectionInput,Ps as sheetEffectsTextInput,Fs as sheetEffectsTextareaInput,tm as sortObjectKeys,mA as sortPipeCatalogByBasePipe,Yk as sortSearchCatalogByBaseSearch,yR as sortSearchesCatalogByBaseSearch,aP as sortSheetEffectCatalogByBaseEffect,xa as splitConnectionString,Re as staticAutocomplete,m as staticOptions,em as stringify,dt as stripStaticWidgets,pP as summarizeEffectRun,jP as tagPrimaryCurrentEducation,ut as tagStaticWidgets,$p as testPrint,pF as tierAtOrBelow,$a as tokenEstimate,PF as transformIntoResponse,Da as tryParseRelaxedObject,UA as validatePipesOrError,LR as validateSearches,fP as validateSheetEffectsOrError,Z as validationErrorMessages};
|
|
130
|
+
`}}],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:{merge_fields:[{field_name:`field_1`},{field_name:`field_2`}]}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:scrape:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrape:firecrawl@1`,config:{scrape_main_only:!0,input_fields:{website_url:{alias:``}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:firecrawl@1`,config:{extraction_prompt:`Extract the company mission as well as the latest news.`,enable_full_domain_crawl:!0,enable_web_search:!0,json_schema:{type:`object`,required:[`company_mission`,`latest_news`],properties:{company_mission:{type:`string`},latest_news:{type:`string`}}}}}],input:[{id:`1`,company_website_url:`Pipe0`}]}],"website:extract:parallel@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:extract:parallel@1`,config:{objective:`When was the company founded and what does it do?`}}],input:[{id:`1`,website_url:`https://pipe0.com`}]}],"person:email:validate:millionverifier@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:email:validate:millionverifier@1`}],input:[{id:`1`,email:`john@pipe0.com`}]}],"website:scrapelist:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:scrapelist:firecrawl@1`,config:{scrape_main_only:!0,formats:[`markdown`,`links`]}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"website:maplinks:firecrawl@1":[{config:{environment:`production`},pipes:[{pipe_id:`website:maplinks:firecrawl@1`,config:{sitemap:`include`,page_limit:20,search:``}}],input:[{id:`1`,urls:[`https://pipe0.com`,`https://pipe0.com/docs`]}]}],"contact:create:resend@1":[{config:{environment:`production`},pipes:[{pipe_id:`contact:create:resend@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`resend_123`}]},config:{segment_id:`segment_id_12xeeb12`,add_as_subscribed:!0}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"lead:enroll:lemlist@1":[{config:{environment:`production`},pipes:[{pipe_id:`lead:enroll:lemlist@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`lemlist_123`}]},config:{campaign_id:`cam_bSn8EORHQxbWPjHvu`,custom_variables:{painPoint:`{{ pain_point }}`}}}],input:[{id:`1`,email:`prospect@example.com`,first_name:`Jane`,last_name:`Doe`,company_name:`Acme Corp`,job_title:`VP Sales`,pain_point:`slow onboarding`}]}],"row:append:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`row:append:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{project:`project_id`,sheet:`sheet_id`,run:!0,allow_entity_creation:!0,write_fields:[{field_name:`field_name`}]}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"bucket:claim@1":[{config:{environment:`production`},pipes:[{pipe_id:`bucket:claim@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{bucket:`crm-contacts`,contract:``,entry_fields:[{field_name:`email`}],new_bucket_name:``,new_bucket_ttl_in_seconds:null,new_bucket_own_entry_behavior:`block`,new_bucket_missing_value_behavior:`proceed`,allow_bucket_creation:!0}}],input:[{id:`1`,email:`test@pipe0.com`}]}],"bucket:count@1":[{config:{environment:`production`},pipes:[{pipe_id:`bucket:count@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{bucket:`lead-router`,contract:``,entry_fields:[{field_name:`email`,entry_field:`lead`}],new_bucket_name:``,new_bucket_start:1,new_bucket_step:1,allow_bucket_creation:!0}}],input:[{id:`1`,email:`test@pipe0.com`}]}],"bucket:check@1":[{config:{environment:`production`},pipes:[{pipe_id:`bucket:check@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{bucket:`do-not-contact`,contract:``,entry_fields:[{field_name:`email`}]}}],input:[{id:`1`,email:`test@pipe0.com`}]}],"row:roundrobin:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`row:roundrobin:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`sellers`,sheet_where:{logic:`and`,conditions:[{property:`value`,field_name:`segment`,operator:`eq`,value:`ENT`}]},sheet_unique_field:{field_name:`email`},sheet_copy_fields:[{field_name:`email`,type:`string`,format:`email`},{field_name:`name`,type:`string`}],sheet_weight_field:{field_name:``},counter_field:{field_name:`email`}}}],input:[{id:`1`,email:`lead@acme.com`}]}],"rows:find:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`rows:find:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{sheet:`crm-leads`,where:{logic:`and`,conditions:[{property:`value`,field_name:`email`,operator:`eq`,value:`{{ email }}`}]},limit:10,output_fields:{sheet_rows_found_count:{alias:``,enabled:!0},sheet_found_rows:{alias:``,enabled:!0},sheet_found_row_ids:{alias:``,enabled:!1}}}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"rows:find:postgres@1":[{config:{environment:`production`},pipes:[{pipe_id:`rows:find:postgres@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`postgres_123`}]},config:{query:`SELECT id, email, plan, created_at FROM users WHERE email = '{{ email }}'`,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!0},db_found_rows:{alias:``,enabled:!0}}}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"rows:find:databricks@1":[{config:{environment:`production`},pipes:[{pipe_id:`rows:find:databricks@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`databricks_123`}]},config:{query:`SELECT id, email, plan, created_at FROM main.crm.users WHERE email = '{{ email }}'`,limit:10,output_fields:{db_rows_found_count:{alias:``,enabled:!0},db_found_rows:{alias:``,enabled:!0}}}}],input:[{id:`1`,email:`test@pipe0.com`,name:`John Dorr`}]}],"row:expandappend:sheet@1":[{config:{environment:`production`},pipes:[{pipe_id:`row:expandappend:sheet@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`pipe0_123`}]},config:{project:`project_id`,sheet:`sheet_id`,run:!0,allow_entity_creation:!0,destination_field_name:`expanded_value`,destination_field_type:``,destination_field_format:``,destination_field_label:``}}],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:content:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:posts:content:crustdata@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-doe-3445`}]}],"people:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:identity:email:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:identity:email:waterfall@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"person:profile:workemail:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:profile:workemail:crustdata@1`}],input:[{id:`1`,work_email:`john@pipe0.com`}]}],"people:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`people:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"person:workemail:profileurl:waterfall@1":[{config:{environment:`production`},pipes:[{pipe_id:`person:workemail:profileurl:waterfall@1`}],input:[{id:`1`,profile_url:`https://linkedin.com/li/john-123abc`}]}],"company:match:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@1`}],input:[{id:`1`,company_website_url:`https://microsoft.com`}]}],"company:match:crustdata@2":[{config:{environment:`production`},pipes:[{pipe_id:`company:match:crustdata@2`}],input:[{id:`1`,company_domain:`microsoft.com`}]}],"company:identity:crustdata@1":[{config:{environment:`production`},pipes:[{pipe_id:`company:identity:crustdata@1`}],input:[{id:`1`,company_domain:`samsung.com`},{id:`2`,company_name:`Samsung`}]}],"person:identity:amplemarket@1":[{pipes:[{pipe_id:`person:identity:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,email:`hallp@pipe0.com`}]}],"person:match:amplemarket@1":[{pipes:[{pipe_id:`person:match:amplemarket@1`,connector:{strategy:`first`,connections:[{type:`vault`,connection:`amplemarket_123`}]}}],input:[{id:`1`,profile_url:`https://linkedin.com/li/johndoe`}]}],"field:domainify@1":[{pipes:[{pipe_id:`field:domainify@1`}],input:[{id:`1`,url_input:`https://google.com`}]}],"field:slugify@1":[{pipes:[{pipe_id:`field:slugify@1`}],input:[{id:`1`,string_input:`input value`}]}],"http:request@1":[{pipes:[{pipe_id:`http:request@1`,config:{method:`GET`,url:`https://api.example.com/v1/companies/{{ company_name }}`,query_params:{limit:`10`},body:``,headers:{Authorization:`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`}]}]},kI=.1,AI=[`level1`,`level2`,`level3`];function jI(e,t){let n=AI[t-1];if(n)return e[n]}function MI(e,t){for(let n=t;n>=1;n--){let t=jI(e,n);if(t)return{level:n,tier:t}}}function NI(e){let t=[];for(let n=1;n<=3;n++){let r=jI(e,n);r&&t.push({level:n,credits:r.credits,weight:r.weight})}return t}function PI(e){if(e.default<.1)return!1;let t=NI(e);if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t[e].level!==e+1)return!1;let n=e.default,r=0;for(let e of t){if(!(e.credits<n)||!Number.isInteger(e.weight)||e.weight<=r)return!1;n=e.credits,r=e.weight}return!0}function FI(){let e=new Map;for(let t of Object.values(Sj))for(let[n,r]of Object.entries(t.billableOperations)){let i=r;if(!i?.allowManagedConnection||!PI(i.credits))continue;let a=n,o={kind:`pipe`,id:t.pipeId,label:t.label,categories:[...t.categories]},s=e.get(a);if(s){s.standardCredits=Math.min(s.standardCredits,i.credits.default),s.usedBy.push(o);continue}e.set(a,{billableOperation:a,provider:i.provider,kind:`pipe`,standardCredits:i.credits.default,tiers:NI(i.credits),usedBy:[o]})}for(let t of Object.values(ej)){let{cost:n}=t;if(!n.allowManagedConnection||!PI(n.credits))continue;let r=t.billableOperation,i={kind:`search`,id:t.searchId,label:t.label,categories:[...t.categories]},a=e.get(r);if(a){a.standardCredits=Math.min(a.standardCredits,n.credits.default),a.usedBy.push(i);continue}e.set(r,{billableOperation:r,provider:t.provider,kind:`search`,standardCredits:n.credits.default,tiers:NI(n.credits),usedBy:[i]})}return[...e.values()].sort((e,t)=>e.billableOperation.localeCompare(t.billableOperation))}function II(e,t){switch(e.kind){case`field`:case`optional`:{let n=t[e.field.name];return n?{...e,field:{...e.field,resolvedName:n}}:e}case`all`:case`any`:return{...e,of:e.of.map(e=>II(e,t))}}}function LI(e){switch(e.kind){case`field`:return e.field.resolvedName;case`optional`:return`${e.field.resolvedName} (optional)`;case`all`:return e.of.map(LI).join(` AND `);case`any`:return`(${e.of.map(LI).join(` OR `)})`}}function RI(e,t){let n=2,r=`${e}_${n}`;for(;t.has(r);)n++,r=`${e}_${n}`;return r}function zI({pipeId:e,availableFields:t,inputFieldAliases:n}){let r=Sj[e];if(!r)throw Error(`Unknown pipe_id: "${e}"`);let i=new Set(t),a=r.defaultInputRequirement,o=a&&n&&Object.keys(n).length>0?II(a,n):a,s=o?Lc(o,i):!0,c=o?Rc(o).filter(e=>e.required).map(e=>({name:e.field.name,resolved_name:e.field.resolvedName,present:i.has(e.field.resolvedName)})):[],l=s?[]:c.filter(e=>!e.present).map(e=>e.resolved_name),u=new Set(i),d=[],f=[];for(let e of Cj(r)){let t=i.has(e),n;t?(n=RI(e,u),u.add(n),f.push({name:e,resolved_name:e,suggested_alias:n})):u.add(e),d.push({name:e,resolved_name:e,collides:t,suggested_alias:n})}return{pipe_id:e,runnable:s,requirement_description:o?LI(o):`(no inputs required)`,required_fields:c,missing_fields:l,output_fields:d,output_collisions:f}}const BI=[`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`],VI=[`yyyy-MM-dd`,`yyyy/MM/dd`,`MM/dd/yyyy`,`MM-dd-yyyy`,`yyyyMMdd`,`dd-MM-yyyy`,`dd/MM/yyyy`],HI=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})}),UI=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 WI(e){return!isNaN(e.getTime())}const GI=r.coerce.string().trim().transform(e=>{let t=e.replace(/[^0-9T:.\-/ ]/g,``).trim();for(let e of BI){let n=f(t,e,new Date(0));if(WI(n))return d(n,`yyyy-MM-dd'T'HH:mm:ss`)}throw Error(`Invalid date format: ${e}`)}),KI=r.coerce.string().trim().transform(e=>{for(let t of VI){let n=f(e,t,new Date(0));if(WI(n))return d(n,`yyyy-MM-dd`)}throw Error(`Invalid date format: ${e}`)}),qI=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`}),JI=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()),YI=r.preprocess(e=>{if(typeof e!=`object`||!e)return e;try{return JSON.stringify(e)}catch{return e}},r.coerce.string().trim().min(1,{message:`Value cannot be empty for this format`}));function XI(e,t){if(t===null)return e===``||e==null?null:e;if(e==null)return null;try{switch(t){case`url`:return HI.parse(e);case`email`:return UI.parse(e);case`datetime`:return GI.parse(e);case`date`:return KI.parse(e);case`decimal`:return qI.parse(e);case`int`:return JI.parse(e);case`currency`:return r.number().parse(e);case`percent`:return r.number().parse(e);case`address_line_1`:return YI.parse(e);case`website_url`:return HI.parse(e);case`profile_url`:return HI.parse(e);case`zip_code`:return YI.parse(e);case`markdown`:case`phone`:case`text`:return YI.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 ${wm(e)} into format ${t}: ${r.message}`):r}}function ZI(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(Qj(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:XI(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 QI(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];if(!i)throw Error(`Input object undefined`);let a=i.id;a!=null&&Qj(a)&&(i.id=a.value),i.id||=crypto.randomUUID();let{id:o}=i;if(typeof o!=`string`&&typeof o!=`number`){n.errors.push(Q.InvalidId());continue}if(n.records[o]){n.errors.push(Q.IDConflict({index:r,id:o}));continue}n.order.push(o),n.records[o]={id:o,fields:ZI(e,n,i)}}}function $I({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{QI(e,t,r);let{queuedRecordIdSet:i,adoptedRecordIdSet:a}=eL(e,t,r,n);if(r.queued_record_ids=i,r.adopted_record_ids=a,tL(e,r,n?.queue?.enabled),sL(e,r),r.errors.length>0)throw new $(r.errors);return r}catch(e){throw e instanceof $?e:new $([Q.ResponseGenerationFailed({error:e})])}}function eL(e,t,n,r){let i=[],a=[];for(let o=0;o<e.orderedPipePayloads.length;o++){let s=e.orderedPipePayloads[o],c=e.orderedPipeInstances[o];if(!c){n.errors.push(Q.UnknownResolver({pipeId:s.pipe_id,index:o}));continue}let{queuedRecordIds:l,adoptedRecordIds:u}=oL(e,t,c,n,r);i=i.concat(l),a=a.concat(u)}return{queuedRecordIdSet:new Set(i),adoptedRecordIdSet:new Set(a)}}function tL(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 ${my(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 ${my(n)} is missing but required (${r.value?`the value is`:`it has status`}: '${r.value?r.value:r.status}').`,summary:`Missing input`})})};for(let n=0;n<e.orderedPipePayloads.length;n++){let i=e.orderedPipePayloads[n],a=e.orderedPipeInstances[n];if(!a){t.errors.push(Q.UnknownResolver({pipeId:i.pipe_id,index:n}));continue}Object.values(t.records).forEach(e=>{let{valid:t,failedPipeInputField:n,failedRecordField:i}=zc(a.getInputRequirement(),e);t===!1&&r(a,n,i,e)})}}function nL({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 rL({status:e,config:t}){return t.queue?.enabled?t.queue.triggers?.status?.includes(e)??!1:!1}function iL({inputHashKey:e,configHashKey:t,expandedValue:n,config:r}){return nL({inputHashKey:e,configHashKey:t,expandedValue:n,config:r})||rL({status:n.status,config:r})}function aL({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 oL(e,t,n,r,i){let a=Object.entries(r.records),o=[],s=[];for(let c=0;c<a.length;c++){let l=a[c];if(!l)throw Error(`Required arr not present`);let[u,d]=l;for(let a of Object.values(n.getOutputFields())){let{resolvedName:l,type:u}=a,f=Wc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},u),ee=Gc({pipes:e.orderedPipeInstances,derivedInputFields:e.derivedInputFields},a.format),{resolvedInputValue:te,isExpanded:ne,expandedValue:p}=$j(t[c]?.[l]??null),re=d.fields[l],ie=n.getConfigHashKey(),ae=n.getInputHashKey(d),oe={type:f,format:ee,claimed_by:{ref:n.pipeId,config_hash:ie}};if(r.errors.length>0&&te===null){let t=r.errors[0];if(!t)throw Error(`firstError undefined.`);d.fields[l]={...oe,value:null,status:`failed`,reason:{summary:`Validation error`,...t},resolved_by:{ref:`system`,environment:e.environment,config_hash:null,input_hash:null},widgets:{}};continue}let se=Zj(te);if(se!==`unknown`&&se!==f){let t=i.queue?.triggers?.outputFieldTypeError&&i.queue.enabled;d.fields[l]={...oe,value:t?null:te,status:t?`queued`:`completed`,reason:null,resolved_by:t?{environment:e.environment,ref:`system`,config_hash:ie,input_hash:ae}:{environment:e.environment,ref:`input`,config_hash:null,input_hash:null},widgets:t?{}:p?.widgets||re?.widgets||{},format:t?ee:p?.format||ee};continue}if(te==null){let t=ne&&i.queue?.enabled&&p.status===`pending`,n=ne&&!t;if(ne&&i.adopt?.enabled===!0&&(!i.adopt.statuses||i.adopt.statuses.includes(p.status))){let{didAdopt:e}=aL({inputHashKey:ae,configHashKey:ie,expandedValue:p});e&&s.push(d.id)}if(ne&&p.status!==`pending`&&iL({inputHashKey:ae,configHashKey:ie,config:i,expandedValue:p})&&i.queue?.enabled)o.push(d.id),d.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:ie,input_hash:ae},widgets:{}};else if(n)d.fields[l]={...oe,value:null,status:p.status,type:p.type||f,reason:p.reason||null,resolved_by:p.resolved_by||null,widgets:p.widgets||{},format:p.format||ee};else{let t=i.queue?.triggers?.status?.includes(`pending`)??!0,n=i.queue?.enabled&&t?`queued`:`pending`;n===`queued`&&o.push(d.id),d.fields[l]={...oe,value:null,status:n,reason:null,resolved_by:n===`queued`?{environment:e.environment,ref:`system`,config_hash:ie,input_hash:ae}:null,widgets:{}}}continue}if(ne){if(ne&&i.adopt?.enabled===!0&&(!i.adopt.statuses||i.adopt.statuses.includes(p.status))){let{didAdopt:e}=aL({inputHashKey:ae,configHashKey:ie,expandedValue:p});e&&s.push(d.id)}iL({inputHashKey:ae,configHashKey:ie,expandedValue:p,config:i})&&r.errors.length===0?(o.push(d.id),d.fields[l]={...oe,value:null,status:`queued`,reason:null,resolved_by:{environment:e.environment,ref:`system`,config_hash:null,input_hash:null},widgets:{}}):d.fields[l]={...oe,value:te,status:`completed`,type:p.type||f,reason:p.reason||null,resolved_by:p.resolved_by||{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:p.widgets||re?.widgets||{},format:p.format||ee}}else try{let e=XI(te,ee);d.fields[l]={...oe,value:e,status:`completed`,reason:null,resolved_by:{ref:`input`,config_hash:null,input_hash:null,environment:null},widgets:re?.widgets||{}}}catch{let t=i.queue?.enabled?`queued`:`failed`;t===`queued`&&o.push(d.id),d.fields[l]={...oe,value:te,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:ie,input_hash:ae},widgets:{}}}}}return{queuedRecordIds:o,adoptedRecordIds:s}}function sL(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=tM(i,r.value,r);r.widgets=At(Mt(r.widgets),e)}t.errors.length>0&&(r.status===`pending`||r.status===`queued`)&&(r.status=`failed`)})})}function cL(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,widgets:Mt(a.widgets)}:i[t]=a.value;return i}function lL(e,t={}){return Object.values(e).map(e=>cL(e.fields,t))}function uL(e,t={}){return e.map(e=>cL(e.fields,t))}function dL(e,t={}){return cL(e.fields,t)}function fL(e,t){return e.map(e=>{let n={};return Object.entries(e).forEach(([e,r])=>{let{isExpanded:i,expandedValue:a,resolvedInputValue:o}=$j(r);i===!0&&a.status!=null&&t.unexpandStatuses.includes(a.status)?n[e]=o:n[e]=r}),n})}function pL(e){let t=aa[e];if(!t)throw Error(`Provider name '${e}' invalid`);return{...t,provider:e}}const mL=[`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`],hL=r.enum(mL);function gL(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 _L(e,t){let n={name:e,config:t};return gc.hashObject(n)}var vL=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 _L(this.searchId,this.payload)}};function yL(e){return e.split(`@`)[0]}function bL(e){return`/docs/search-catalog/${yL(e)}/${e.split(`@`)[1]}`}const xL=`companies:profiles:crustdata@1`,SL=g(`company_name`),CL=g(`company_website_url`),wL=g(`company_description`),TL=g(`company_profile_url`),EL=g(`crustdata_company_match`),DL=r.object({search_id:r.literal(xL),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),cursor:$s({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}).nullable(),output_fields:R(r.object({[SL.name]:N({fieldName:SL.name}),[CL.name]:N({fieldName:SL.name}),[wL.name]:N({fieldName:wL.name}),[TL.name]:N({fieldName:TL.name}),[EL.name]:N({fieldName:EL.name})})),filters:r.object({hq_locations:F({path:`config.filters.hq_locations`,sectionKey:`config.filters`,label:`HQ locations`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.location`,optionsDef:h(`locations`)}).default([]),crunchbase_categories:F({path:`config.filters.crunchbase_categories`,sectionKey:`config.filters`,label:`Crunchbase categories`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.categories`,optionsDef:h(`company.crunchbase_categories.crustdata`)}).default([]),crunchbase_investors:F({path:`config.filters.crunchbase_investors`,sectionKey:`config.filters`,label:`Investors to include (Crunchbase)`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.investors`,optionsDef:h(`company.crunchbase_investors.crustdata`)}).default([]),tracxn_investors:F({path:`config.filters.tracxn_investors`,sectionKey:`config.filters`,label:`Investors to include (Tracxn)`,description:``,required:!1,groupPath:`config.filters.investors`,disableSearch:!1,optionsDef:h(`company.tracxn_investors.crustdata`)}).default([]),company_types:P({sectionKey:`config.filters`,path:`config.filters.company_types`,options:m(`crustdata.company_types`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}).default([]),linkedin_industries:F({sectionKey:`config.filters`,path:`config.filters.linkedin_industries`,optionsDef:h(`linkedin_industries.crustdata`),label:`Industries`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}).default([]),markets:F({sectionKey:`config.filters`,path:`config.filters.markets`,optionsDef:h(`company.markets.crustdata`),label:`Markets`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.industry`}).default([]),linkedin_categories:F({sectionKey:`config.filters`,path:`config.filters.linkedin_categories`,optionsDef:h(`company.linkedin_categories.crustdata`),label:`Company types`,description:``,required:!1,disableSearch:!0,groupPath:`config.filters.categories`}).default([]),headcount:P({path:`config.filters.headcount`,sectionKey:`config.filters`,label:`Headcount`,description:``,disableSearch:!0,required:!1,options:m(`crustdata.company_size`),groupPath:`config.filters.company_size`}).default([]),headcount_growth_last_6m_in_percent:P({path:`config.filters.headcount_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`Headcount growth over last 6 months in percent`,description:``,options:m(`crustdata.headcount_growth`),disableSearch:!0,required:!1,groupPath:`config.filters.company_size`}).default([]),revenue_in_usd:Ys({path:`config.filters.revenue_in_usd`,sectionKey:`config.filters`,label:`Revenue (USD)`,description:``,legend:`1k - 10B`,min:1e3,max:1e10,groupPath:`config.filters.financials`}),last_funding_type:P({path:`config.filters.last_funding_type`,sectionKey:`config.filters`,label:`Last funding type`,disableSearch:!0,required:!1,options:m(`crustdata.funding_rounds`),description:``,groupPath:`config.filters.financials`}).default([]),last_funding_amount:Ys({path:`config.filters.last_funding_amount`,sectionKey:`config.filters`,label:`Last funding amount`,legend:`1k - 10B`,min:1e3,max:1e10,description:``,groupPath:`config.filters.financials`}),number_of_followers:P({path:`config.filters.number_of_followers`,sectionKey:`config.filters`,label:`Number of LinkedIn followers`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.company_followers`),groupPath:`config.filters.web_presence`}).default([]),follower_growth_last_6m_in_percent:P({path:`config.filters.follower_growth_last_6m_in_percent`,sectionKey:`config.filters`,label:`LinkedIn follower growth within last 6 months`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.follower_growth`),groupPath:`config.filters.web_presence`}).default([]),profile_summary_keywords:A({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,maxItems:50,label:`LinkedIn company description contains`,description:``,groupPath:`config.filters.keywords`}),competitor_websites:A({path:`config.filters.competitor_websites`,sectionKey:`config.filters`,maxItems:50,label:`Competitor domains`,description:`Ex. 'google.com'`,groupPath:`config.filters.competitors`})}).check(e=>{gL(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),OL={default:{input:[{fields:[]}]}},kL=class extends vL{searchId=xL;schema=DL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[SL.name]:this.catalogOutput(SL),[CL.name]:this.catalogOutput(CL),[wL.name]:this.catalogOutput(wL),[TL.name]:this.catalogOutput(TL),[EL.name]:this.catalogOutput(EL)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_company_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return OL}},AL=DL,jL={searchId:xL,billableOperation:`companies-profiles-crustdata`,baseSearch:yL(`companies:profiles:crustdata@1`),label:`Company search`,categories:[`companies`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter based company search.`,tags:[G.COMPANY_PROFILES],docPath:bL(xL),cost:{mode:`per_page`,creditsPerPage:2},provider:`crustdata`,defaultPayload:{search_id:xL,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:[]}}}},ML=`companies:profiles:exa@1`,NL=g(`company_name`),PL=g(`company_website_url`),FL=g(`company_description`),IL=g(`company_industry`),LL=g(`headcount`),RL=g(`exa_match_evaluation`),zL=r.object({search_id:r.literal(ML),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:R(r.object({[NL.name]:N({fieldName:NL.name}),[PL.name]:N({fieldName:NL.name}),[FL.name]:N({fieldName:FL.name}),[IL.name]:N({fieldName:IL.name}),[LL.name]:N({fieldName:LL.name}),[RL.name]:N({fieldName:RL.name})})),filters:r.object({query:ec({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})})})}),BL={default:{input:[{fields:[]}]}},VL=class extends vL{searchId=ML;schema=zL;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[NL.name]:this.catalogOutput(NL),[PL.name]:this.catalogOutput(PL),[FL.name]:this.catalogOutput(FL),[IL.name]:this.catalogOutput(IL),[LL.name]:this.catalogOutput(LL),[RL.name]:this.catalogOutput(RL)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return BL}},HL=zL,UL={searchId:ML,billableOperation:`companies-profiles-exa`,baseSearch:yL(`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:[G.COMPANY_PROFILES],docPath:bL(ML),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:ML,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:``}}}},WL=`companies:profiles:icypeas@1`,GL=g(`company_industry`),KL=g(`company_name`),qL=g(`company_description`),JL=g(`company_website_url`),YL=g(`headcount`),XL=g(`company_region`),ZL=g(`company_profile_url`),QL=g(`icypeas_company_match`),$L=r.object({search_id:r.literal(WL),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,max:5e4,min:1,path:`config.limit`,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:R(r.object({company_name:N({fieldName:KL.name}),company_industry:N({fieldName:GL.name}),company_description:N({fieldName:qL.name}),company_website_url:N({fieldName:JL.name}),headcount:N({fieldName:YL.name}),company_region:N({fieldName:XL.name}),company_profile_url:N({fieldName:ZL.name}),icypeas_company_match:N({fieldName:QL.name})})),filters:r.object({name:j({path:`config.filters.name`,sectionKey:`config.filters`,includeLabel:`Company names to include`,excludeLabel:`Company names to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:100}).optional(),type:M({path:`config.filters.type`,sectionKey:`config.filters`,label:``,description:``,placeholder:``,includeLabel:`Company types to include`,excludeLabel:`Company types to exclude`,optionsDef:{type:`static`,options:[{value:`Privately Held`,label:`Privately Held`},{value:`Public Company`,label:`Public Company`},{value:`Sole Proprietorship`,label:`Sole Proprietorship`},{value:`Self-Employed`,label:`Self-Employed`},{value:`Partnership`,label:`Partnership`},{value:`Nonprofit`,label:`Nonprofit`},{value:`Educational Institution`,label:`Educational Institution`},{value:`Government Agency`,label:`Government Agency`}]},groupPath:`config.filters.company_information`}).optional(),industry:M({path:`config.filters.industry`,sectionKey:`config.filters`,optionsDef:Re(`linkedin.industries`),includeLabel:`Industries to include`,excludeLabel:`Industries to exclude`,description:``,placeholder:``,groupPath:`config.filters.industry`,maxItems:50}).optional(),location:j({path:`config.filters.location`,sectionKey:`config.filters`,includeLabel:`Locations to include`,excludeLabel:`Locations to exclude`,description:``,placeholder:`US, FR, New York`,groupPath:`config.filters.geografic`,maxItems:20}).optional(),headcount:Ys({path:`config.filters.headcount`,sectionKey:`config.filters`,legend:`1-1M`,label:`Headcount`,description:``,min:1,max:1e6,unit:`employees`,groupPath:`config.filters.company_size`}).optional(),urn:j({path:`config.filters.urn`,sectionKey:`config.filters`,label:``,description:``,groupPath:`config.filters.linkedin`,excludeLabel:`URNs to exclude`,includeLabel:`URNs to include`,maxItems:200}).optional(),lid:j({path:`config.filters.lid`,sectionKey:`config.filters`,label:``,description:``,groupPath:`config.filters.linkedin`,includeLabel:`LinkedIn IDs to include`,excludeLabel:`LinkedIn IDs to exclude`,maxItems:200}).optional()}).check(e=>{gL(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),eR={default:{input:[{fields:[{outputField:`company_profile_url`}]}]}},tR=class extends vL{searchId=WL;schema=$L;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[KL.name]:this.catalogOutput(KL),[GL.name]:this.catalogOutput(GL),[ZL.name]:this.catalogOutput(ZL),[JL.name]:this.catalogOutput(JL),[qL.name]:this.catalogOutput(qL),[YL.name]:this.catalogOutput(YL),[XL.name]:this.catalogOutput(XL),[QL.name]:this.catalogOutput(QL)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_company_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return eR}},nR=$L,rR={searchId:WL,billableOperation:`companies-profiles-icypeas`,baseSearch:yL(`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:[G.COMPANY_PROFILES],docPath:bL(WL),cost:{mode:`per_result`,creditsPerResult:.4},provider:`icypeas`,defaultPayload:{search_id:WL,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:[]}}}}},iR=`people:profiles:clado@1`,aR=g(`name`),oR=g(`job_title`),sR=g(`company_name`),cR=g(`company_profile_url`),lR=g(`profile_url`),uR=g(`clado_person_match`),dR=r.object({search_id:r.literal(iR),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(20),output_fields:R(r.object({[aR.name]:N({fieldName:aR.name}),[oR.name]:N({fieldName:oR.name}),[cR.name]:N({fieldName:cR.name}),[sR.name]:N({fieldName:sR.name}),[lR.name]:N({fieldName:lR.name}),[uR.name]:N({fieldName:uR.name})})),filters:r.object({query:ec({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})})})}),fR={default:{input:[{fields:[{outputField:`profile_url`}]}]}},pR=class extends vL{searchId=iR;schema=dR;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[aR.name]:this.catalogOutput(aR),[oR.name]:this.catalogOutput(oR),[sR.name]:this.catalogOutput(sR),[lR.name]:this.catalogOutput(lR),[cR.name]:this.catalogOutput(cR),[uR.name]:this.catalogOutput(uR)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return fR}},mR=dR,hR={searchId:iR,billableOperation:`people-profiles-clado`,baseSearch:Zn(`people:profiles:clado@1`),label:`Find people profiles with Clado`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search through millions of LinkedIn profiles using natural language queries. This endpoint provides fast searching with AI-powered relevance matching.`,tags:[G.PEOPLE_PROFILES],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_search`,creditsPerSearch:3},provider:`clado`,defaultPayload:{search_id:iR,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:``}}}},gR=`people:profiles:clado@2`,_R=g(`name`),vR=g(`job_title`),yR=g(`company_name`),bR=g(`company_profile_url`),xR=g(`profile_url`),SR=g(`clado_person_match_v2`),CR=r.object({search_id:r.literal(gR),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,max:1e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),search_id:$s({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`}).nullable().default(``),offset:L({sectionKey:`general`,path:`config.offset`,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.`}).nullish(),output_fields:R(r.object({[_R.name]:N({fieldName:_R.name}),[vR.name]:N({fieldName:vR.name}),[bR.name]:N({fieldName:bR.name}),[yR.name]:N({fieldName:yR.name}),[xR.name]:N({fieldName:xR.name}),[SR.name]:N({fieldName:SR.name})})),filters:r.object({query:ec({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`]})}),wR={default:{input:[{fields:[{outputField:`profile_url`}]}]}},TR=class extends vL{searchId=gR;schema=CR;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[_R.name]:this.catalogOutput(_R),[vR.name]:this.catalogOutput(vR),[yR.name]:this.catalogOutput(yR),[xR.name]:this.catalogOutput(xR),[bR.name]:this.catalogOutput(bR),[SR.name]:this.catalogOutput(SR)}}getConnectionsRequirements(){return[{provider:`clado`,rateLimitOperation:`clado_search_people`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return wR}},ER=CR,DR={searchId:gR,billableOperation:`people-profiles-clado`,baseSearch:Zn(`people:profiles:clado@2`),label:`Find people profiles`,categories:[`deprecated`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:{deprecatedOn:`2026-06-13`,replacedBy:`people:profiles:clado@2`},description:`Search a growing dataset with semantic queries.`,tags:[],docPath:`/resources/search-catalog/people:profiles:clado/1`,cost:{mode:`per_page`,creditsPerPage:3},provider:`clado`,defaultPayload:{search_id:gR,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:``}}}},OR=`people:employees:leadmagic@1`,kR=g(`name`),AR=g(`job_title`),jR=g(`company_website_url`),MR=g(`company_name`),NR=r.object({search_id:r.literal(OR),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,max:500,min:1,path:`config.limit`,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(50),output_fields:R(r.object({[kR.name]:N({fieldName:kR.name}),[MR.name]:N({fieldName:MR.name}),[jR.name]:N({fieldName:jR.name}),[AR.name]:N({fieldName:AR.name})})),filters:r.object({company_website_url:$s({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`}).nullable()})})}),PR={default:{input:[{fields:[{outputField:jR.name}]}]}},FR=class extends vL{searchId=OR;schema=NR;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[kR.name]:this.catalogOutput(kR),[AR.name]:this.catalogOutput(AR),[jR.name]:this.catalogOutput(jR),[MR.name]:this.catalogOutput(MR)}}getConnectionsRequirements(){return[{provider:`leadmagic`,rateLimitOperation:`leadmagic_employee_finder`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return PR}},IR=NR,LR={searchId:OR,billableOperation:`people-employees-leadmagic`,baseSearch:yL(`people:employees:leadmagic@1`),label:`Employee finder`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Search for employees of a company.`,tags:[G.PEOPLE_PROFILES],docPath:bL(OR),cost:{mode:`per_result`,creditsPerResult:.05},provider:`leadmagic`,defaultPayload:{search_id:OR,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:``}}}},RR=`people:profiles:crustdata@1`,zR=g(`name`),BR=g(`company_website_url`),VR=g(`profile_url`),HR=g(`job_title`),UR=g(`crustdata_person_match`),WR=r.object({search_id:r.literal(RR),connector:Ji.nullable().optional(),config:r.object({limit:L({sectionKey:`general`,path:`config.limit`,max:1e3,min:1,groupPath:`config.general`,description:``,label:`Limit number of results`}).default(100),cursor:$s({sectionKey:`general`,path:`config.cursor`,groupPath:`config.general`,inputType:`text`,description:``,label:`Continue previous search from cursor`}).nullable(),output_fields:R(r.object({[zR.name]:N({fieldName:zR.name}),[BR.name]:N({fieldName:BR.name}),[VR.name]:N({fieldName:VR.name}),[HR.name]:N({fieldName:HR.name}),[UR.name]:N({fieldName:UR.name})})),filters:r.object({locations:F({path:`config.filters.locations`,sectionKey:`config.filters`,label:`Locations`,disableSearch:!1,required:!1,optionsDef:h(`locations`),groupPath:`config.filters.general`}).default([]),profile_headline_keywords:Ks({path:`config.filters.profile_headline_keywords`,sectionKey:`config.filters`,label:`Headline contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_summary_keywords:Ks({path:`config.filters.profile_summary_keywords`,sectionKey:`config.filters`,label:`Profile about section contains keywords`,maxItems:100,groupPath:`config.filters.keywords`}),profile_languages:P({path:`config.filters.profile_languages`,sectionKey:`config.filters`,label:`Profile languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}).default([]),languages:P({path:`config.filters.languages`,sectionKey:`config.filters`,label:`Spoken languages`,disableSearch:!1,required:!1,options:m(`crustdata.person_profile_languages`),groupPath:`config.filters.profile`}).default([]),skills:F({path:`config.filters.skills`,sectionKey:`config.filters`,label:`Skills`,placeholder:`.NET, PMO, ...`,disableSearch:!1,required:!1,description:``,groupPath:`config.filters.skills`,optionsDef:h(`skills`)}).default([]),years_of_experience:P({path:`config.filters.years_of_experience`,sectionKey:`config.filters`,label:`Years of experience`,placeholder:`1 to 2 years`,disableSearch:!0,description:``,required:!1,options:m(`crustdata.years_of_experience`),groupPath:`config.filters.experience`}).default([]),current_seniority_levels:M({path:`config.filters.current_seniority_levels`,sectionKey:`config.filters`,disableSearch:!0,label:`Seniority`,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),current_employers:A({path:`config.filters.current_employers`,sectionKey:`config.filters`,label:`Current employers`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`person.current_employer_names.crustdata`)}),current_employers_website_urls:A({path:`config.filters.current_employers_website_urls`,sectionKey:`config.filters`,label:`Current employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),current_job_titles:A({path:`config.filters.current_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,order:1,groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}),current_employers_linkedin_industries:F({path:`config.filters.current_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Current employers industries`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`)}).default([]),years_at_current_company:P({path:`config.filters.years_at_current_company`,sectionKey:`config.filters`,label:`Years at current company`,placeholder:`1 to 2 years`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,options:m(`crustdata.years_of_experience`)}).default([]),previous_employers_website_urls:A({path:`config.filters.previous_employers_website_urls`,sectionKey:`config.filters`,label:`Previous employer domains`,description:``,maxItems:200,groupPath:`config.filters.experience`}),previous_seniority_levels:M({path:`config.filters.previous_seniority_levels`,sectionKey:`config.filters`,label:`Previous seniority`,disableSearch:!0,optionsDef:Re(`crustdata.person_seniority`),description:``,groupPath:`config.filters.experience`}).default({include:[],exclude:[]}),previous_employers:A({path:`config.filters.previous_employers`,sectionKey:`config.filters`,label:`Previous employer name`,description:``,maxItems:200,groupPath:`config.filters.experience`,suggestionsDef:h(`person.past_employer_names.crustdata`)}),previous_job_titles:A({path:`config.filters.previous_job_titles`,sectionKey:`config.filters`,label:`Current job titles`,description:``,groupPath:`config.filters.experience`,suggestionsDef:h(`titles`)}),previous_employers_linkedin_industries:F({path:`config.filters.previous_employers_linkedin_industries`,sectionKey:`config.filters`,label:`Previous employer industry`,disableSearch:!1,required:!1,groupPath:`config.filters.experience`,description:``,optionsDef:h(`linkedin_industries.crustdata`)}).default([]),certifications:A({path:`config.filters.certifications`,sectionKey:`config.filters`,label:`Certifications`,groupPath:`config.filters.certifications_honors`,description:``}),honors:A({path:`config.filters.honors`,sectionKey:`config.filters`,label:`Honors`,groupPath:`config.filters.certifications_honors`,description:``}),recently_changed_jobs:Qs({path:`config.filters.recently_changed_jobs`,sectionKey:`config.filters`,label:`Recently changed jobs`,description:``,defaultValue:null,groupPath:`config.filters.activities`}),fields_of_study:F({path:`config.filters.fields_of_study`,sectionKey:`config.filters`,label:`Fields of study`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`person.education_field_of_study.crustdata`)}).default([]),degree_names:F({path:`config.filters.degree_names`,sectionKey:`config.filters`,label:`Degree names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`person.education_degree.crustdata`)}).default([]),school_names:F({path:`config.filters.school_names`,sectionKey:`config.filters`,label:`School names`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default([]),current_school_names:F({path:`config.filters.current_school_names`,sectionKey:`config.filters`,label:`Currently enrolled at`,description:``,disableSearch:!1,required:!1,groupPath:`config.filters.education`,optionsDef:h(`schools`)}).default([]),extracurricular_activities:A({path:`config.filters.extracurricular_activities`,sectionKey:`config.filters`,label:`Extracurricular activities`,description:``,groupPath:`config.filters.education`,suggestionsDef:h(`person.education_activities.crustdata`)})}).check(e=>{gL(e.value)&&e.issues.push({code:`custom`,message:`You must set at least one filter.`,input:e.value})})})}),GR={default:{input:[{fields:[]}]}},KR=class extends vL{searchId=RR;schema=WR;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[zR.name]:this.catalogOutput(zR),[BR.name]:this.catalogOutput(BR),[VR.name]:this.catalogOutput(VR),[HR.name]:this.catalogOutput(HR),[UR.name]:this.catalogOutput(UR)}}getConnectionsRequirements(){return[{provider:`crustdata`,rateLimitOperation:`crustdata_people_db_search`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return GR}},qR=WR,JR={searchId:RR,billableOperation:`people-profiles-crustdata`,baseSearch:yL(`people:profiles:crustdata@1`),label:`People search`,categories:[`people`],hasManagedConnection:!0,allowsUserConnection:!0,lifecycle:null,description:`Filter-based people search.`,tags:[G.PEOPLE_PROFILES],docPath:bL(RR),cost:{mode:`per_page`,creditsPerPage:5},provider:`crustdata`,defaultPayload:{search_id:RR,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:[]}}}},YR=`people:profiles:exa@1`,XR=g(`name`),ZR=g(`profile_url`),QR=g(`job_title`),$R=g(`company_name`),ez=g(`company_region`),tz=g(`exa_match_evaluation`),nz=r.object({search_id:r.literal(YR),connector:Ji.nullable().optional(),config:r.object({limit:L({path:`config.limit`,sectionKey:`general`,max:100,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(10),output_fields:R(r.object({[XR.name]:N({fieldName:XR.name}),[ZR.name]:N({fieldName:ZR.name}),[QR.name]:N({fieldName:QR.name}),[$R.name]:N({fieldName:$R.name}),[ez.name]:N({fieldName:ez.name}),[tz.name]:N({fieldName:tz.name})})),filters:r.object({query:ec({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})})})}),rz={default:{input:[{fields:[]}]}},iz=class extends vL{searchId=YR;schema=nz;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[XR.name]:this.catalogOutput(XR),[ZR.name]:this.catalogOutput(ZR),[QR.name]:this.catalogOutput(QR),[$R.name]:this.catalogOutput($R),[ez.name]:this.catalogOutput(ez),[tz.name]:this.catalogOutput(tz)}}getConnectionsRequirements(){return[{provider:`exa`,rateLimitOperation:`exa_websets`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return rz}},az=nz,oz={searchId:YR,billableOperation:`people-profiles-exa`,baseSearch:yL(`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:[G.COMPANY_PROFILES],docPath:bL(YR),cost:{mode:`per_result`,creditsPerResult:2},provider:`exa`,defaultPayload:{search_id:YR,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:``}}}},sz=`people:profiles:icypeas@1`,cz=g(`name`),lz=g(`job_title`),uz=g(`profile_headline`),dz=g(`company_website_url`),fz=g(`company_profile_url`),pz=g(`profile_url`),mz=g(`icypeas_person_match`),hz=r.object({search_id:r.literal(sz),connector:Ji.nullable().optional(),config:r.object({limit:L({path:`config.limit`,sectionKey:`general`,max:5e4,min:1,groupPath:`config.general`,description:``,label:`Limit number of search results`}).default(100),output_fields:R(r.object({[cz.name]:N({fieldName:cz.name}),[lz.name]:N({fieldName:lz.name}),[uz.name]:N({fieldName:uz.name}),[dz.name]:N({fieldName:dz.name}),[fz.name]:N({fieldName:fz.name}),[pz.name]:N({fieldName:pz.name}),[mz.name]:N({fieldName:mz.name})})),filters:r.object({firstname:j({path:`config.filters.firstname`,sectionKey:`config.filters`,includeLabel:`First names to include`,excludeLabel:`First names to exclude`,description:``,placeholder:``,groupPath:`config.filters.personal_information`,maxItems:200}).optional(),lastname:j({path:`config.filters.lastname`,sectionKey:`config.filters`,includeLabel:`Last names to include`,excludeLabel:`Last names to exclude`,description:``,placeholder:``,groupPath:`config.filters.personal_information`,maxItems:200}).optional(),currentJobTitle:j({path:`config.filters.currentJobTitle`,sectionKey:`config.filters`,includeLabel:`Current job titles to include`,excludeLabel:`Current job titles to exclude`,description:``,placeholder:``,groupPath:`config.filters.job_information`,maxItems:200}).optional(),currentEmployersWebsiteUrls:j({groupPath:`config.filters.job_information`,path:`config.filters.currentEmployersWebsiteUrls`,sectionKey:`config.filters`,description:``,includeLabel:`Include current employer domains`,excludeLabel:`Exclude current employer domains`,maxItems:100}).optional(),pastEmployersWebsiteUrls:j({groupPath:`config.filters.job_information`,path:`config.filters.pastEmployersWebsiteUrls`,sectionKey:`config.filters`,description:``,includeLabel:`Past employers website URLs to include`,excludeLabel:`Past employers website URLs to exclude`,maxItems:100}).optional(),pastJobTitle:j({path:`config.filters.pastJobTitle`,sectionKey:`config.filters`,includeLabel:`Past job titles to include`,excludeLabel:`Past job titles to exclude`,description:``,placeholder:``,groupPath:`config.filters.job_information`,maxItems:200}).optional(),currentCompanyName:j({path:`config.filters.currentCompanyName`,sectionKey:`config.filters`,includeLabel:`Companies to include`,excludeLabel:`Companies to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:200}).optional(),pastCompanyName:j({path:`config.filters.pastCompanyName`,sectionKey:`config.filters`,includeLabel:`Past employers to include`,excludeLabel:`Past employers to exclude`,description:``,placeholder:``,groupPath:`config.filters.company_information`,maxItems:200}).optional(),school:j({path:`config.filters.school`,sectionKey:`config.filters`,includeLabel:`Schools to include`,excludeLabel:`Schools to exclude`,label:``,description:``,placeholder:``,groupPath:`config.filters.education`,maxItems:200}).optional(),location:j({path:`config.filters.location`,sectionKey:`config.filters`,includeLabel:`Locations to include`,excludeLabel:`Locations to exclude`,description:`Filter by location`,placeholder:`e.g., US, FR, New York`,groupPath:`config.filters.geografic`,maxItems:200}).optional(),languages:j({path:`config.filters.languages`,sectionKey:`config.filters`,includeLabel:`Languages to include`,excludeLabel:`Languages to exclude`,description:`ex. EN, ES`,groupPath:`config.filters.languages`,maxItems:200}).optional(),skills:j({path:`config.filters.skills`,sectionKey:`config.filters`,includeLabel:`Skills to include`,excludeLabel:`Skills to exclude`,description:``,placeholder:``,groupPath:`config.filters.skills`,maxItems:200}).optional(),keyword:j({path:`config.filters.keyword`,sectionKey:`config.filters`,includeLabel:`Keywords to include`,excludeLabel:`Keywords to exclude`,description:``,placeholder:`CEO, Sales, Scrum`,groupPath:`config.filters.general_search`,maxItems:200}).optional()}).check(e=>{gL(e.value)&&e.issues.push({code:`custom`,message:`The filters object cannot be empty. You must set at least one filter.`,input:e.value})})})}),gz={default:{input:[{fields:[{outputField:`profile_url`}]}]}},_z=class extends vL{searchId=sz;schema=hz;payload;constructor(e){super(),this.payload=this.validatePayload(e)}getRawOutputFields(){return{[cz.name]:this.catalogOutput(cz),[lz.name]:this.catalogOutput(lz),[uz.name]:this.catalogOutput(uz),[dz.name]:this.catalogOutput(dz),[fz.name]:this.catalogOutput(fz),[pz.name]:this.catalogOutput(pz),[mz.name]:this.catalogOutput(mz)}}getConnectionsRequirements(){return[{provider:`icypeas`,rateLimitOperation:`icypeas_lead_database`,rateLimitRatio:1,allowManagedConnection:!0}]}getDedupConfig(){return gz}},vz=hz,yz={searchId:sz,billableOperation:`people-profiles-icypeas`,provider:`icypeas`,baseSearch:yL(sz),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:[G.PEOPLE_PROFILES],docPath:bL(sz),cost:{mode:`per_result`,creditsPerResult:.4},defaultPayload:{search_id:sz,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:[]}}}}},bz={"people:profiles:crustdata@1":KR,"companies:profiles:crustdata@1":kL,"companies:profiles:exa@1":VL,"people:profiles:exa@1":iz,"people:profiles:icypeas@1":_z,"companies:profiles:icypeas@1":tR,"people:employees:leadmagic@1":FR,"people:profiles:clado@1":pR,"people:profiles:clado@2":TR},xz={"people:profiles:crustdata@1":qR,"companies:profiles:crustdata@1":AL,"companies:profiles:exa@1":HL,"people:profiles:exa@1":az,"people:profiles:icypeas@1":vz,"companies:profiles:icypeas@1":nR,"people:employees:leadmagic@1":IR,"people:profiles:clado@1":mR,"people:profiles:clado@2":ER},Sz={"people:profiles:crustdata@1":JR,"companies:profiles:crustdata@1":jL,"companies:profiles:exa@1":UL,"people:profiles:exa@1":oz,"people:profiles:icypeas@1":yz,"companies:profiles:icypeas@1":rR,"people:employees:leadmagic@1":LR,"people:profiles:clado@1":hR,"people:profiles:clado@2":DR};function Cz(e){return bz[e]}function wz(e){return xz[e]}function Tz(e){return Sz[e].defaultPayload}const Ez=t.discriminatedUnion(`search_id`,Object.values(xz).map(e=>e)),Dz=t.preprocess(e=>{if(!e||typeof e!=`object`||!(`search_id`in e))return e;let t=Tz(e.search_id);return t?{...e,config:vt(e?.config||{},t.config)}:e},Ez);function Oz(e){return Object.keys(Sz[e].defaultPayload.config.output_fields)}const kz=Ti,Az=t.object({value:di,status:ui,type:ci.optional(),format:Oi.nullable().optional(),resolved_by:Pi.nullable().optional(),widgets:wi.optional()}),jz=t.record(t.string(),Az.nullable()),Mz=t.object({search:t.object({ref:hL}),status:t.enum([`pending`,`processing`,`failed`,`completed`]),errors:t.array(kz),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()})}),Nz=t.object({id:t.string(),status:t.enum([`completed`,`failed`,`pending`,`processing`]),results:t.array(jz),search_statuses:t.array(Mz),organizationId:t.string()}).openapi(`SearchesResponseSchema`),Pz=t.object({environment:t.enum([`production`,`sandbox`]).default(`production`),widgets:t.object({enabled:t.boolean().default(!1)}).default({enabled:!1})}),Fz=Pz.extend({dedup:t.object({strategy:t.enum([`default`]).nullable()}).default({strategy:null})}),Iz=t.object({config:Fz.default({dedup:{strategy:`default`},environment:`production`,widgets:{enabled:!1}}),searches:t.array(Dz)}).openapi(`SearchesRequestSchema`);function Lz(e){let t=e.split(`@`)[1];if(!t)throw Error(`No search version found`);return Number(t)}function Rz(){let e={};for(let t of Object.values(Sz)){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=Lz(e.searchId);return Lz(t.searchId)-n})}),e}const zz=Rz();function Bz(e){let t=[];for(let[n,r]of Object.entries(zz)){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:Lz(i.searchId)})}return t}function Vz(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 Oz(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:zz}}function Hz(e){return Sz[e]}function Uz(e){let t=Hz(e);return{[t.provider]:t.cost.mode===`per_result`?t.cost.creditsPerResult:t.cost.mode===`per_search`?t.cost.creditsPerSearch:t.cost.creditsPerPage}}function Wz(e){return e.map(e=>({public_id:`sandbox-${e}`,provider:e,is_default:!0}))}function Gz(e){return Wz(kj(e).allowedUserConnectionProviders)}function Kz(e){return Wz([mj(e).provider])}function qz(e){return Wz([Hz(e).provider])}const Jz=[{id:`people`,label:`People`,color:`#8B7DFF`,order:0},{id:`companies`,label:`Companies`,color:`#10B981`,order:1},{id:`data`,label:`Data`,color:`#F59E0B`,order:2},{id:`deprecated`,label:`Deprecated`,color:`#94A3B8`,order:3}],Yz=new Map(Jz.map(e=>[e.id,e]));function Xz(e){return Yz.get(e)}function Zz(){return Jz}const Qz={"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:[]}}}}],"people:profiles:crustdata@3":[{search_id:`people:profiles:crustdata@3`,config:{cursor:``,limit:10,filters:{locations:{include:[`Berlin, Germany`],exclude:[]},profile_headline_keywords:{include:[`Marketing`],exclude:[]},skills:{include:[`Python`,`Data Analysis`],exclude:[]},languages:{include:[`English`],exclude:[]},current_employment_job_titles:{include:[`Software Engineer`],exclude:[]},current_employment_job_functions:[`Engineering`],current_employment_seniority_levels:[`Senior`,`Director`],current_employer_headcount_brackets:[`51-200`],current_employment_tenure_brackets:[`1 to 2 years`],total_years_of_experience_brackets:[`3 to 5 years`]}}}],"posts:content:crustdata@1":[{search_id:`posts:content:crustdata@1`,config:{limit:10,filters:{keywords:[`LLM Evaluation`,`RAG`],keyword_operator:`OR`,date_posted:`past-month`,content_types:[`videos`],author_industries:[`Software Development`]}}}],"companies:entitysearch:parallel@1":[{search_id:`companies:entitysearch:parallel@1`,config:{objective:`AI startups in Europe that raised a Series A in 2024`,limit:100}}],"people:entitysearch:parallel@1":[{search_id:`people:entitysearch:parallel@1`,config:{objective:`Heads of Engineering at Series B fintech companies in the US`,limit:100}}],"people:eventguests:luma@1":[{search_id:`people:eventguests:luma@1`,connector:{strategy:`first`,connections:[]},config:{limit:100,cursor:``,output_fields:{name:{enabled:!0,alias:``},email:{enabled:!0,alias:``},luma_id:{enabled:!0,alias:``},registered_at:{enabled:!0,alias:``},luma_event_guest_match:{enabled:!0,alias:``}},filters:{event_id:`evt-sandbox-1`,approval_status:`approved`}}}],"sheet:rows@1":[{search_id:`sheet:rows@1`,connector:{strategy:`first`,connections:[]},config:{sheet:`demo-leads`,limit:100,cursor:``,include_metadata:!1}}],"bucket:entries@1":[{search_id:`bucket:entries@1`,connector:{strategy:`first`,connections:[]},config:{bucket:`crm-contacts`,limit:100,cursor:``,include_metadata:!1}}],"query:postgres@1":[{search_id:`query:postgres@1`,connector:{strategy:`first`,connections:[]},config:{query:`SELECT id, name, email FROM contacts ORDER BY id`,limit:100,page_number:1}}],"query:databricks@1":[{search_id:`query:databricks@1`,connector:{strategy:`first`,connections:[]},config:{query:`SELECT id, name, email FROM samples.tpch.customer ORDER BY id`,limit:100,page_number:1}}]};function $z(e,t,n){if(t==null)return{};try{let r=Qr(e,n)?.getStaticWidgets?.(t),i=Xj(n,t);return jt(At(r||{},{display_value:i?{label:i}:void 0}))}catch(e){return console.warn(`Failed to generate UI props: ${e}`),{}}}var eB=class extends vy{constructor(e){super(e.map(e=>e.message).join(`, `)||`Unknown`),this.errors=e}};function tB(e){let t=[];for(let n of e){if(n instanceof vL){t.push(n);continue}let e=n.search_id,r=Cz(e);if(!r)throw Error(`Unknown pipe: ${n.search_id}`);let i=new r(Dz.parse(n));t.push(i)}return t}function nB(e){try{return tB(e.searches)}catch(e){throw e instanceof eB?e:new $([Q.ValidationFailed({error:e})])}}const rB=/[\\^$.+()|[\]{}]/g,iB=new Map;function aB(e){let t=iB.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(rB,`\\$&`)}let r=RegExp(`^${n}$`);return iB.set(e,r),r}function oB(e,t){return aB(t).test(e)}function sB(e,t){if(!t||t.length===0)return!1;for(let n of t)if(oB(e,n))return!0;return!1}function cB(e,t){if(!t)return!0;let{includes:n,excludes:r}=t;return!(n&&n.length>0&&!sB(e,n)||r&&r.length>0&&sB(e,r))}function lB(e,t){return cB(e,t?.providers)}function uB(e,t){if(!t)return!0;if(!cB(e,t.pipes))return!1;if(t.providers){let n=Nj(e);if(n.length===0)return!0;if(!n.some(e=>lB(e,t)))return!1}return!0}function dB(e,t,n){return t?!(!cB(e,t.searches)||n!==void 0&&!lB(n,t)):!0}function fB(e,t,n){return t?!(!cB(e,t.searchesMulti)||n!==void 0&&!lB(n,t)):!0}function pB(e,t){return t?e.filter(e=>uB(e.pipeId,t)):e.slice()}function mB(e,t){return t?e.filter(e=>dB(e.searchId,t,e.provider)):e.slice()}function hB(e,t){return t?e.filter(e=>fB(e.searchId,t,e.provider)):e.slice()}function gB(e){return e.toLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean)}function _B(e){return e?e.flatMap(gB):[]}const vB={label:{prefix:100,exact:120},labelFirstWordBonus:40,keyword:{prefix:60,exact:70},tag:{prefix:40,exact:45},provider:{prefix:35,exact:40},id:{prefix:30,exact:35},description:{prefix:5,exact:6},exactLabelBonus:200},yB=vB;function bB(e){let t=gB(e.label);return{labelWords:t,keywordWords:_B(e.keywords),tagWords:_B(e.tags),providerWords:_B(e.providers),idWords:gB(e.id),descriptionWords:e.description?gB(e.description):[],normalizedLabel:t.join(` `)}}function xB(e,t,n){let r=0;for(let i of t){let t=i===e?n.exact:i.startsWith(e)?n.prefix:0;t>r&&(r=t)}return r}function SB(e,t){let n=0;for(let r=0;r<t.length;r++){let i=t[r],a=i===e?yB.label.exact:i.startsWith(e)?yB.label.prefix:0;a>0&&r===0&&(a+=yB.labelFirstWordBonus),a>n&&(n=a)}return n}function CB(e,t){let n=gB(t);if(n.length===0)return 0;let r=0;for(let t of n){let n=Math.max(SB(t,e.labelWords),xB(t,e.keywordWords,yB.keyword),xB(t,e.tagWords,yB.tag),xB(t,e.providerWords,yB.provider),xB(t,e.idWords,yB.id),xB(t,e.descriptionWords,yB.description));if(n===0)return 0;r+=n}return e.normalizedLabel===n.join(` `)&&(r+=yB.exactLabelBonus),r}function wB(e){return e.keywords}function TB(e){let t=new Set(e.deprecatedProviders),n=Array.from(new Set([...e.managedProviders,...e.allowedUserConnectionProviders])).filter(e=>!t.has(e));return bB({label:e.label,id:e.pipeId,keywords:wB(e),tags:e.tags,providers:n,description:e.description})}function EB(e){return bB({label:e.label,id:e.searchId,keywords:wB(e),tags:e.tags,providers:[e.provider],description:e.description})}function DB(e){return bB({label:e.label,id:e.searchId,keywords:wB(e),tags:e.tags,providers:[e.provider],description:e.description})}function OB(e){return bB({label:e.label,id:e.effectId,keywords:wB(e),tags:e.tags,providers:Array.from(new Set([...e.managedProviders,...e.allowedUserConnectionProviders])),description:e.description})}function kB(e){let t=Object.values(e.billableOperations).map(e=>e.allowManagedConnection?e.credits.default:0);return Math.min(...t)}function AB(e){return Math.min(e.cost.mode===`per_result`?e.cost.creditsPerResult:e.cost.mode===`per_search`?e.cost.creditsPerSearch:e.cost.creditsPerPage)}function jB(e){return e.cost.allowManagedConnection?e.cost.credits.default:0}function MB(e){let t=Object.values(e.billableOperations).map(e=>e?.allowManagedConnection?e.credits.default:0);return t.length?Math.min(...t):0}function NB(e,t){let n=Math.max(1,t.minItems),r=Math.max(n,t.maxItems),i=[],a=[],o=0;for(let s of e){a.push(s),o+=t.sizeOf(s);let e=a.length>=r,c=o>=t.targetSize&&a.length>=n;(e||c)&&(i.push(a),a=[],o=0)}return a.length>0&&i.push(a),i}function PB(e){let t=Jj(e);if(!t)return``;try{return te(t)||new URL(t).hostname}catch{return``}}const FB=[`http://`,`https://`,`mailto:`],IB=new Set([`*`,`_`,`~`,"`",`[`,`]`,`(`,`)`,`\\`]);function LB(e){return e?RB(e):[]}function RB(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&&IB.has(o)){n+=o,r+=2;continue}if(a==="`"){let n=zB(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=zB(e,r+2,`**`);if(n>r+2){i(),t.push({type:`strong`,children:RB(e.slice(r+2,n))}),r=n+2;continue}}if(a===`~`&&o===`~`){let n=zB(e,r+2,`~~`);if(n>r+2){i(),t.push({type:`del`,children:RB(e.slice(r+2,n))}),r=n+2;continue}}if(a===`*`&&o!==`*`){let n=zB(e,r+1,`*`);if(n>r+1){i(),t.push({type:`em`,children:RB(e.slice(r+1,n))}),r=n+1;continue}}if(a===`[`){let n=zB(e,r+1,`]`);if(n>-1&&e[n+1]===`(`){let a=zB(e,n+2,`)`);if(a>-1){let o=e.slice(n+2,a);if(FB.some(e=>o.startsWith(e))){i(),t.push({type:`link`,href:o,children:RB(e.slice(r+1,n))}),r=a+1;continue}}}}n+=a,r+=1}return i(),t}function zB(e,t,n){let r=t;for(;r<e.length;){if(e[r]===`\\`&&r+1<e.length){r+=2;continue}if(BB(e,r,n))return r;r+=1}return-1}function BB(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{oo as AI_MODELS,so as AI_MODEL_CATALOG,po as AI_MODEL_RAW_USD,wr as B2BPostMatchSchema,ze as BUCKET_TYPES,We as BucketClaimConfigSchema,Ge as BucketCounterConfigSchema,He as BucketFieldDefSchema,Ve as BucketFieldTypeSchema,Ue as BucketSchemaSchema,vB as CATALOG_SEARCH_WEIGHTS,co as CREDIT_USD_VALUE,Be as CURRENT_BUCKET_TYPE_VERSION,zi as CatalogSchemaRefSchema,$P as ConciseFieldValueSchema,na as ConditionBlockSchema,st as ConditionEvaluationError,ot as ConditionFieldNotFoundError,Ui as ConditionOperatorsSchema,St as EffectAllSelectionSchema,xt as EffectRowsSelectionSchema,wt as EffectSelectionSchema,Ct as EffectWindowSelectionSchema,_F as EffectsRequestSchema,vF as EffectsResponseSchema,gF as EffectsRunStatusSchema,yF as EffectsValidateRequestSchema,xF as EffectsValidateResponseSchema,bF as EffectsValidateStepSchema,Ii as ExpandedFieldValueSchema,Uc as FIELD_PLACEHOLDERS,ki as FieldAnnotationSchema,iM as FieldAnnotations,Ai as FieldAnnotationsSchema,ni as FieldNameSchema,Ei as FieldReasonSchema,di as FieldValueSchema,CI as FormStoreSchema,kI as HIGH_VOLUME_PRICING_MIN_CREDITS,Hi as JSONExtractSchema,fi as JSONMetaSchema,lo as MANAGED_TOKEN_MARGIN,vN as MANUAL_DEFAULT,Xi as NoConnectorSchema,gc as ObjectHasher,Ji as OptionalConnectorSchema,Ua as PIPE0_DEFAULT_API_KEY_METADATA_FLAG,Ha as PIPE0_DEFAULT_CONNECTION_PUBLIC_ID,ai as PIPE_IDS,uj as PaginationTypeSchema,Sr as PersonProfileFieldSchema,lw as PersonWorkemailWaterfall1Entry,cw as PersonWorkemailWaterfall1PayloadSchema,sw as PersonWorkemailWaterfall1PipeClass,U as Pipe,vy as Pipe0Error,oi as PipeIdSchema,Dj as PipePayloadSchema,ia as PipeRunIfSchema,$ as PipelineValidationError,ii as PipesEnvironmentSchema,Ti as PipesErrorSchema,Bi as PipesFieldDefinitionSchema,Vi as PipesFieldDefinitionsSchema,Li as PipesInputSchema,zj as PipesRequestConfigSchema,Bj as PipesRequestSchema,Rj as PipesResponseSchema,Oj as ProcessedPipePayloadSchema,ij as ProcessedSearchPayloadSchema,Dz as ProcessedSearchesPayloadSchema,hF as ProcessedSheetEffectPayloadSchema,ri as ProviderNameSchema,Di as RECORD_FIELD_FORMATS,si as RECORD_FIELD_TYPES,Ac as RESERVED_FIELD_NAMES,Wi as RUN_IF_OPERATOR_LABELS,Ki as RUN_IF_STATUS_OPERATORS,Gi as RUN_IF_VALUE_OPERATORS,gN as RUN_STATUS_OPTIONS,QP as RecordActionDetailSchema,Ni as RecordClaimedBySchema,tF as RecordDiffEntrySchema,Oi as RecordFieldFormatSchema,Fi as RecordFieldSchema,ui as RecordFieldStatusSchema,ci as RecordFieldTypeSchema,li as RecordIdSchema,Pi as RecordResolvedBySchema,Ri as RecordSchema,_y as RequestValidationError,Yi as RequiredConnectorSchema,Qi as RunIfStatusOperatorsSchema,$i as RunIfStatusValueSchema,Zi as RunIfValueOperatorsSchema,hN as RunStatusSchema,_N as SCHEDULED_DEFAULT,mL as SEARCHES_IDS,hD as SEARCH_IDS,nr as SENIORITY_LEVELS,yt as SHEET_EFFECT_IDS,vD as Search,oj as SearchErrorSchema,gD as SearchIdSchema,nj as SearchPayloadSchema,aj as SearchRequestSchema,dj as SearchResponseSchema,sj as SearchResultFieldSchema,cj as SearchResultSchema,kz as SearchesErrorSchema,hL as SearchesIdSchema,Ez as SearchesPayloadSchema,Pz as SearchesRequestBaseConfigSchema,Iz as SearchesRequestSchema,Nz as SearchesResponseSchema,Az as SearchesResultFieldSchema,jz as SearchesResultSchema,vL as SearchesSearch,Mz as SearchesStatusSchema,V as SheetEffect,bt as SheetEffectIdSchema,pF as SheetEffectPayloadSchema,iF as SheetEffectStepSummarySchema,DF as SheetEffectValidationError,rF as SheetEffectsCountsSchema,nF as SheetEffectsDiffSchema,uo as TOKEN_BLOCK_SIZE_INPUT,fo as TOKEN_BLOCK_SIZE_OUTPUT,Em as TYPES_TO_FORMATS,wo as TokenBlockAccumulator,eF as UpdatedActionDetailSchema,ra as ValueConditionBlockSchema,bI as WidgetsByKindSchema,wi as WidgetsSchema,Pc as all,Ta as analyzeLiquidTemplate,zI as analyzePipeFit,io as and,Fc as any,Fj as assertUniqueBillableOperations,h as autocomplete,Tr as b2bPostMatchExample,Ke as bucketConfigSchemaFor,$e as bucketSchemaFieldNames,et as bucketSchemasEqual,Qe as bucketSlugValue,xo as buildAiModelTokenBillableOperations,bB as buildCatalogSearchTarget,oM as buildDependencyGraph,Jc as buildInputRequirementFromTemplates,BF as buildResultColumns,bo as buildTokenNote,J as catalogInput,NB as chunkBySize,mc as cleanObject,Jj as cleanUrl,qj as cleanWebsiteUrl,Xc as collectConstantReferencesFromTemplates,sI as collectPipeContextSelectFields,Rc as collectRequirementFields,fI as collectSearchContextSelectFields,Yc as collectSecretReferencesFromTemplates,gI as collectSheetEffectContextSelectFields,aB as compilePattern,XF as computeTenure,vt as configDefaults,vo as creditsPerBlock,it as decodeBucketContract,zF as dedupeColumnNames,qe as defaultBucketConfig,hy as describeRequirement,rt as encodeBucketContract,kt as entityLogoFavicon,Ot as entityLogoProfessionalProfileUrl,ml as estimateGuardCredits,pt as evaluateConditionBlock,ls as extractFormMetadata,H as field,Zr as fieldBehaviorCatalog,Xr as fieldCatalog,my as fieldNameStr,Zj as fieldTypeFromValue,cL as fieldsToObject,pB as filterPipeEntries,mB as filterSearchEntries,hB as filterSearchesEntries,dF as getAgentAllowedEffectIds,ho as getAiModelConnectionRequirements,mo as getAiModelProviders,So as getAiModelTokenBillingKeys,yo as getAiModelTokenCredits,go as getAllAiModelProviders,K as getBasePipeName,B as getBaseSheetEffectName,Cj as getDefaultOutputFields,Nj as getDefaultPipeProviders,_j as getDefaultSearchOutputFields,Oz as getDefaultSearchesOutputFields,Uj as getDependentPipeNamesForInputProperty,Wj as getDependentPipeNamesForPipe,PB as getDomain,$j as getExpansionState,Et as getFaviconUrlGoogle,g as getField,Qr as getFieldBehavior,Sm as getFieldDisplayLabel,tM as getFieldWidgets,gj as getInitialSearchTableData,Bz as getInitialSearchesTableData,TF as getInitialSheetEffectTableData,Ij as getInitialTableData,Hc as getInputHash,Eo as getJsonMetaForFieldDef,jB as getLoweestSearchCreditAmount,AB as getLoweestSearchesCreditAmount,kB as getLowestPipeCreditAmount,MB as getLowestSheetEffectCreditAmount,ti as getOutputFieldInfoFromDef,Aj as getPipeBillableOperationDef,DI as getPipeCategoryEntries,EI as getPipeCategoryEntry,wj as getPipeClass,Vc as getPipeConfigHash,Tj as getPipeDefaultPayload,q as getPipeDocsURI,kj as getPipeEntry,tI as getPipeFormMask,Hj as getPipeInstances,cI as getPipePayloadFormConfig,Ej as getPipePayloadSchema,TB as getPipeSearchTarget,jj as getPipeVersion,Z as getProviderBillableOperation,Zc as getProviderCreditsFromBillableOperations,pL as getProviderEntry,HF as getReadableFieldStatus,Wz as getSandboxConnections,Gz as getSandboxConnectionsForPipe,Kz as getSandboxConnectionsForSearch,qz as getSandboxConnectionsForSearches,Zz as getSearchCategoryEntries,Xz as getSearchCategoryEntry,tj as getSearchClass,rj as getSearchDefaultPayload,mj as getSearchEntry,$z as getSearchFieldWidgets,nI as getSearchFormMask,hP as getSearchInstance,dI as getSearchPayloadFormConfig,lj as getSearchPayloadSchema,EB as getSearchSearchTarget,vj as getSearchTableDataAggregates,fj as getSearchVersion,Cz as getSearchesClass,Tz as getSearchesDefaultPayload,Hz as getSearchesEntry,nM as getSearchesFieldWidgets,tB as getSearchesInstances,wz as getSearchesPayloadSchema,DB as getSearchesSearchTarget,Vz as getSearchesTableDataAggregates,Lz as getSearchesVersion,xr as getSeniorityEmojiFromTitle,br as getSeniorityLevelFromTitle,_t as getSheetEffectCategoryEntries,gt as getSheetEffectCategoryEntry,cF as getSheetEffectClass,_c as getSheetEffectConfigHash,mF as getSheetEffectDefaultPayload,lF as getSheetEffectEntry,rI as getSheetEffectFormMask,LF as getSheetEffectInstance,hI as getSheetEffectPayloadFormConfig,uF as getSheetEffectPayloadSchema,OB as getSheetEffectSearchTarget,Vj as getStartingCostPerPipesProvider,yj as getStartingCostPerSearchProvider,Uz as getStartingCostPerSearchesProvider,Lj as getTableDataAggregates,jI as getTier,eM as getUnexpandedValue,Dt as ifDefined,z as inputFields,dL as inputFromRecord,uL as inputFromRecordArr,lL as inputFromRecords,_I as inputGuards,fF as isAgentAllowedEffect,ei as isCatalogField,Xn as isEmptyValue,$r as isFieldName,PI as isHighVolumeEligible,uB as isPipeAllowed,lB as isProviderAllowed,Lc as isRequirementMet,zc as isRequirementSatisfiedByRecord,jc as isReservedFieldName,dB as isSearchAllowed,fB as isSearchesAllowed,_o as isTokenBilledOperations,Ga as joinConnectionString,FI as listHighVolumeEligibleOperations,NI as listTiers,pl as managedDefaultCreditOf,Ze as mappedBucketFieldNames,$c as markRecordFieldAsComplete,nl as markRecordFieldAsFailed,tl as markRecordFieldAsNoResult,el as markRecordFieldAsPending,il as markRecordFieldAsProcessing,rl as markRecordFieldAsSkipped,sB as matchesAny,oB as matchesPattern,ss as mergeFormConfig,At as mergeWidgets,w as noConnectorInput,RF as normalizeColumnName,Ic as optional,C as optionalConnectorInput,ao as or,R as outputFields,wa as parseLiquidTemplate,va as parseOutputTagArgs,XI as parseRecordValueOrError,Ya as parseRelaxedObject,LB as parseRichText,Y as perUnit,Cr as personProfileMatchExample1,Sj as pipeCatalog,wI as pipeCategoryCatalog,bj as pipeClassCatalog,xj as pipePayloadSchemaCatalog,Ns as pipesAsyncIncludeExcludeSelectInput,os as pipesConditionInput,Gs as pipesContextSelectInput,Fs as pipesDateRangeInput,Is as pipesDestinationFieldConfig,ws as pipesFieldSelectInput,Ss as pipesFieldsSelectInput,Ds as pipesIncludeExcludeInput,Ms as pipesIncludeExcludeSelectInput,E as pipesInputField,Hs as pipesIntInput,Io as pipesJsonExtractionInput,Ws as pipesJsonSchemaField,Bs as pipesLLMSelectInput,js as pipesLooseObjectInput,Os as pipesMultiCreateInput,Vs as pipesMultiSelectInput,Us as pipesNumberInput,O as pipesOptionalBooleanInput,ks as pipesOrderedMultiCreateInput,k as pipesOutputField,_ as pipesPayloadRegistry,ds as pipesPromptInput,D as pipesProviderInput,Ps as pipesRangeInput,x as pipesRunIfInput,zs as pipesSelectInput,OI as pipesSnippetCatalog,As as pipesTaggedOrderedMultiCreateInput,S as pipesTaggedTextInput,fs as pipesTemplateInput,Ls as pipesTextInput,Rs as pipesTextareaInput,Cs as pipesTypedFieldsSelectInput,W as placeholder,fL as processInputObjects,iT as projectOptionsDef,rT as projectScopedSheetOptionsDef,Ye as providedCreationName,Je as providedCreationPolicy,aa as providerCatalog,X as rateLimitRatioFallingProgression,EM as renameFieldInPipePayloads,Sa as renderLiquidTemplate,Ca as renderLiquidTemplateSync,ms as requiredConnectorInput,Qc as requirementToInputFields,gy as requirementUnmetMessage,no as requiresConnection,ro as requiresField,eI as resolveFormMask,Xe as resolveMappingEntry,eT as roundrobinBucketSlug,$w as roundrobinFilterKey,OF as runSheetEffectsValidation,yN as runStatusesToQueueConfig,CB as scoreCatalogSearch,ej as searchCatalog,Jz as searchCategoryCatalog,QA as searchClassCatalog,$A as searchPayloadSchemaCatalog,Qz as searchSnippetCatalog,I as searchesAsyncIncludeExcludeSelectInput,F as searchesAsyncMultiSelectInput,Sz as searchesCatalog,bz as searchesClassCatalog,nc as searchesContextSelectInput,Xs as searchesDateRangeInput,Js as searchesExactRangeInput,j as searchesIncludeExcludeInput,M as searchesIncludeExcludeSelectInput,L as searchesIntInput,qs as searchesMinMaxIntInput,A as searchesMultiCreateInput,P as searchesMultiSelectInput,rc as searchesNumberField,Zs as searchesOptionalBooleanInput,_s as searchesOptionalConnectorInput,Qs as searchesOptionalNullableBooleanInput,Ks as searchesOrderedMultiCreateInput,N as searchesOutputField,v as searchesPayloadRegistry,xz as searchesPayloadSchemaCatalog,Ys as searchesRangeInput,gs as searchesRequiredConnectorInput,tc as searchesSelectInput,$s as searchesTextInput,ec as searchesTextareaField,rr as seniorityLevelSchema,sT as sheetColumnsOptionsDef,sF as sheetEffectCatalog,mt as sheetEffectCategoryCatalog,aF as sheetEffectClassCatalog,oF as sheetEffectPayloadSchemaCatalog,EF as sheetEffectSnippetCatalog,as as sheetEffectsConditionInput,dc as sheetEffectsContextSelectInput,Ts as sheetEffectsFieldsSelectInput,cc as sheetEffectsIntInput,fc as sheetEffectsLLMSelectInput,sc as sheetEffectsMultiSelectInput,T as sheetEffectsNoConnectorInput,uc as sheetEffectsOptionalBooleanInput,bs as sheetEffectsOptionalConnectorInput,lc as sheetEffectsOptionalIntInput,y as sheetEffectsPayloadRegistry,ys as sheetEffectsRequiredConnectorInput,pc as sheetEffectsSearchPayloadInput,oc as sheetEffectsSelectInput,Es as sheetEffectsSelectionInput,ic as sheetEffectsTextInput,ac as sheetEffectsTextareaInput,nT as sheetOptionsDef,Tm as sortObjectKeys,Mj as sortPipeCatalogByBasePipe,pj as sortSearchCatalogByBaseSearch,Rz as sortSearchesCatalogByBaseSearch,CF as sortSheetEffectCatalogByBaseEffect,Wa as splitConnectionString,Re as staticAutocomplete,m as staticOptions,wm as stringify,Mt as stripStaticWidgets,jF as summarizeEffectRun,YF as tagPrimaryCurrentEducation,jt as tagStaticWidgets,Cm as testPrint,MI as tierAtOrBelow,Co as tokenEstimate,$I as transformIntoResponse,at as tryDecodeBucketContract,Xa as tryParseRelaxedObject,sM as validatePipesOrError,nB as validateSearches,AF as validateSheetEffectsOrError,Q as validationErrorMessages};
|