@@ -22,56 +22,56 @@ export const findPersonSchema = z.object({
2222 * `Search Businesses` Tool schema
2323 */
2424export const searchBusinessesSchema = z . object ( {
25- name : z . string ( ) ,
26- country : z . string ( ) ,
27- state : z . string ( ) ,
28- city : z . string ( ) ,
29- industry : z . string ( ) ,
30- followers_count_min : z . number ( ) ,
31- followers_count_max : z . number ( ) ,
32- employee_size : z . string ( ) ,
33- founded_after_year : z . number ( ) ,
34- founded_before_year : z . number ( ) ,
35- funding_amount_min : z . number ( ) ,
36- funding_amount_max : z . number ( ) ,
37- products_services : z . array ( z . string ( ) ) ,
38- is_school : z . boolean ( ) ,
39- annual_revenue_min : z . number ( ) ,
40- annual_revenue_max : z . number ( ) ,
41- page : z . number ( )
25+ name : z . string ( ) . optional ( ) ,
26+ country : z . string ( ) . optional ( ) ,
27+ state : z . string ( ) . optional ( ) ,
28+ city : z . string ( ) . optional ( ) ,
29+ industry : z . string ( ) . optional ( ) ,
30+ followers_count_min : z . number ( ) . optional ( ) ,
31+ followers_count_max : z . number ( ) . optional ( ) ,
32+ employee_size : z . string ( ) . optional ( ) ,
33+ founded_after_year : z . number ( ) . optional ( ) ,
34+ founded_before_year : z . number ( ) . optional ( ) ,
35+ funding_amount_min : z . number ( ) . optional ( ) ,
36+ funding_amount_max : z . number ( ) . optional ( ) ,
37+ products_services : z . array ( z . string ( ) ) . optional ( ) ,
38+ is_school : z . boolean ( ) . optional ( ) ,
39+ annual_revenue_min : z . number ( ) . optional ( ) ,
40+ annual_revenue_max : z . number ( ) . optional ( ) ,
41+ page : z . number ( ) . optional ( )
4242} )
4343
4444/**
4545 * `Search Persons` Tool schema
4646 */
4747export const searchPersonsSchema = z . object ( {
48- full_name : z . string ( ) ,
49- country : z . string ( ) ,
50- state : z . string ( ) ,
51- city : z . string ( ) ,
52- job_title_role : z . string ( ) ,
53- job_title_level : z . string ( ) ,
54- company_name : z . string ( ) ,
55- company_industry : z . string ( ) ,
56- company_country : z . string ( ) ,
57- company_state : z . string ( ) ,
58- company_city : z . string ( ) ,
59- company_linkedin_url : z . string ( ) ,
60- company_employee_size : z . string ( ) ,
61- company_products_services : z . array ( z . string ( ) ) ,
62- company_annual_revenue_min : z . number ( ) ,
63- company_annual_revenue_max : z . number ( ) ,
64- page : z . number ( )
48+ full_name : z . string ( ) . optional ( ) ,
49+ country : z . string ( ) . optional ( ) ,
50+ state : z . string ( ) . optional ( ) ,
51+ city : z . string ( ) . optional ( ) ,
52+ job_title_role : z . string ( ) . optional ( ) ,
53+ job_title_level : z . string ( ) . optional ( ) ,
54+ company_name : z . string ( ) . optional ( ) ,
55+ company_industry : z . string ( ) . optional ( ) ,
56+ company_country : z . string ( ) . optional ( ) ,
57+ company_state : z . string ( ) . optional ( ) ,
58+ company_city : z . string ( ) . optional ( ) ,
59+ company_linkedin_url : z . string ( ) . optional ( ) ,
60+ company_employee_size : z . string ( ) . optional ( ) ,
61+ company_products_services : z . array ( z . string ( ) ) . optional ( ) ,
62+ company_annual_revenue_min : z . number ( ) . optional ( ) ,
63+ company_annual_revenue_max : z . number ( ) . optional ( ) ,
64+ page : z . number ( ) . optional ( )
6565} )
6666
6767/**
6868 * `Search Local Businesses` Tool schema
6969 */
7070export const searchLocalBusinessesSchema = z . object ( {
71- name : z . string ( ) ,
72- country : z . string ( ) ,
73- state : z . string ( ) ,
74- city : z . string ( ) ,
75- industry : z . string ( ) ,
76- page : z . number ( )
71+ name : z . string ( ) . optional ( ) ,
72+ country : z . string ( ) . optional ( ) ,
73+ state : z . string ( ) . optional ( ) ,
74+ city : z . string ( ) . optional ( ) ,
75+ industry : z . string ( ) . optional ( ) ,
76+ page : z . number ( ) . optional ( )
7777} )
0 commit comments