@@ -10,7 +10,6 @@ async function fetchCompanyExample(): Promise<void> {
1010 console . log ( '🚀 TypeScript Linked API example starting...' ) ;
1111 await standardExample ( linkedapi ) ;
1212 await salesNavigatorExample ( linkedapi ) ;
13-
1413 } catch ( error ) {
1514 if ( error instanceof LinkedApiError ) {
1615 console . error ( '🚨 Linked API Error:' , error . message ) ;
@@ -52,7 +51,7 @@ async function standardExample(linkedapi: LinkedApi): Promise<void> {
5251 console . log ( `📖 Description: ${ company . description } ` ) ;
5352 console . log ( `📍 Location: ${ company . location } ` ) ;
5453 console . log ( `🏭 Industry: ${ company . industry } ` ) ;
55- console . log ( `👥 Employee Count: ${ company . employeeCount } ` ) ;
54+ console . log ( `👥 Employees Count: ${ company . employeesCount } ` ) ;
5655 console . log ( `📅 Founded: ${ company . yearFounded } ` ) ;
5756 console . log ( `👨💼 Employees Retrieved: ${ company . employees ?. length || 0 } ` ) ;
5857 console . log ( `📝 Posts Retrieved: ${ company . posts ?. length || 0 } ` ) ;
@@ -88,7 +87,7 @@ async function salesNavigatorExample(linkedapi: LinkedApi): Promise<void> {
8887 console . log ( `📍 Location: ${ nvCompany . location } ` ) ;
8988 console . log ( `🏭 Industry: ${ nvCompany . industry } ` ) ;
9089 console . log ( `🌐 Website: ${ nvCompany . website } ` ) ;
91- console . log ( `👥 Employee Count: ${ nvCompany . employeeCount } ` ) ;
90+ console . log ( `👥 Employees Count: ${ nvCompany . employeesCount } ` ) ;
9291 console . log ( `📅 Founded: ${ nvCompany . yearFounded || 'Not specified' } ` ) ;
9392 console . log ( `👨💼 Employees Retrieved: ${ nvCompany . employees ?. length || 0 } ` ) ;
9493 console . log ( `🎯 Decision Makers Retrieved: ${ nvCompany . dms ?. length || 0 } ` ) ;
0 commit comments