Skip to content

Commit 5dc7f01

Browse files
Add avatar & logo url
1 parent a241a3d commit 5dc7f01

5 files changed

Lines changed: 8 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linkedapi/node",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "Control your LinkedIn accounts and retrieve real-time data, all through this Node.js SDK.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/types/actions/company.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface TCompany {
1616
yearFounded?: number;
1717
ventureFinancing: boolean;
1818
jobsCount: number;
19+
logoUrl: string | null;
1920
employees?: ReadonlyArray<TStCompanyEmployee>;
2021
dms?: ReadonlyArray<TStCompanyDm>;
2122
posts?: ReadonlyArray<TPost>;
@@ -80,6 +81,7 @@ export interface TNvCompany {
8081
website: string;
8182
employeesCount: number;
8283
yearFounded?: number;
84+
logoUrl: string | null;
8385
employees?: ReadonlyArray<TNvCompanyEmployee>;
8486
dms?: ReadonlyArray<TNvCompanyDm>;
8587
}

src/types/actions/person.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface TPerson {
4545
companyHashedUrl: string;
4646
followersCount: number | null;
4747
about: string | null;
48+
avatarUrl: string | null;
4849
experiences?: ReadonlyArray<TPersonExperience>;
4950
education?: ReadonlyArray<TPersonEducation>;
5051
skills?: ReadonlyArray<TPersonSkill>;

src/types/actions/search-companies.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export interface TSearchCompanyResult {
2828
publicUrl: string;
2929
industry: string;
3030
location: string;
31+
logoUrl: string | null;
3132
}
3233

3334
export interface TNvSearchCompaniesParams extends TBaseActionParams {
@@ -80,4 +81,5 @@ export interface TNvSearchCompanyResult {
8081
hashedUrl: string;
8182
industry: string;
8283
employeesCount: number;
84+
logoUrl: string | null;
8385
}

src/types/actions/search-people.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export interface TSearchPeopleResult {
2323
publicUrl: string;
2424
headline: string;
2525
location: string;
26+
avatarUrl: string | null;
2627
}
2728

2829
export interface TNvSearchPeopleParams extends TBaseActionParams {
@@ -47,4 +48,5 @@ export interface TNvSearchPeopleResult {
4748
hashedUrl: string;
4849
position: string;
4950
location: string;
51+
avatarUrl: string | null;
5052
}

0 commit comments

Comments
 (0)