@curviate/sdk 0.4.1 → 0.5.0
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 +31 -0
- package/dist/index.d.ts +58 -46
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/generated/types.ts +54 -42
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,37 @@ Versioning: semantic — minor for additive changes, patch for bug fixes; no sta
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.5.0] — 2026-07-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Posts search gains nested `posted_by`, `mentioning`, and `author` filter objects. `posted_by` and `mentioning` take `member` / `company` arrays of opaque IDs (from `GET /v1/search/parameters`); `posted_by` also accepts `me`, `first_connections`, and `people_you_follow` booleans; `author` filters by `industry`, `company`, or `keywords`.
|
|
15
|
+
- Search-parameters items (`GET /v1/search/parameters`) now carry nullable company-disambiguation fields — `industry`, `location`, `headcount` (human-readable size range), and `followers_count` — populated only for `type=COMPANY` results.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Breaking (typed consumers):** people-search `connections_of` and `followers_of` are now arrays of opaque member IDs (`string[]`) instead of a single `string`. Pass one or more IDs resolved from `GET /v1/search/parameters`.
|
|
20
|
+
- **Breaking (typed consumers):** posts-search replaces the flat `member_urn` / `company_urn` filters with the nested `posted_by` / `mentioning` / `author` objects described above.
|
|
21
|
+
- **Breaking (typed consumers):** jobs-search `location_within_area` is now a `number` (search radius in miles) instead of a `string`.
|
|
22
|
+
- Company-size (`headcount`) bucket bounds are documented with their explicit valid values.
|
|
23
|
+
- De-branded the four search method summaries in the SDK JSDoc (`Search people/companies/posts/jobs`).
|
|
24
|
+
- Regenerated types from the current API surface.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## [0.4.2] — 2026-07-01
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- Invitation item `specifics` now includes `provider: "LINKEDIN"` on both `InvitationSent` and `InvitationReceived` — the platform the invitation belongs to, passed through alongside `shared_secret`.
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Removed the `422` response from `invites.cancel` (`DELETE /v1/invites/{invitation_id}`) and `invites.respond` (`POST /v1/invites/received/{invitation_id}`): cancel is idempotent (`canceled`/`not_found` only) and a non-pending handle returns `not_found`, so neither surfaces an account-restricted `422`.
|
|
37
|
+
- Regenerated types from the current API surface, consolidating the invitation-item changes on top of the 0.4.1 people-search and 0.4.0 profile/messaging types.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
10
41
|
## [0.4.1] — 2026-06-30
|
|
11
42
|
|
|
12
43
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -1903,6 +1903,11 @@ interface paths {
|
|
|
1903
1903
|
} | null;
|
|
1904
1904
|
/** @description Platform-specific invitation metadata. */
|
|
1905
1905
|
specifics?: {
|
|
1906
|
+
/**
|
|
1907
|
+
* @description The platform this invitation belongs to.
|
|
1908
|
+
* @enum {string}
|
|
1909
|
+
*/
|
|
1910
|
+
provider?: "LINKEDIN";
|
|
1906
1911
|
/** @description Per-invitation token from the platform. Content pass-through — never stored. */
|
|
1907
1912
|
shared_secret?: string | null;
|
|
1908
1913
|
};
|
|
@@ -2083,6 +2088,11 @@ interface paths {
|
|
|
2083
2088
|
} | null;
|
|
2084
2089
|
/** @description Platform-specific invitation metadata. */
|
|
2085
2090
|
specifics?: {
|
|
2091
|
+
/**
|
|
2092
|
+
* @description The platform this invitation belongs to.
|
|
2093
|
+
* @enum {string}
|
|
2094
|
+
*/
|
|
2095
|
+
provider?: "LINKEDIN";
|
|
2086
2096
|
/** @description Per-invitation token required to accept or decline this invitation via POST /v1/invites/received/{invitation_id}. Content pass-through — never stored. */
|
|
2087
2097
|
shared_secret?: string | null;
|
|
2088
2098
|
};
|
|
@@ -2281,15 +2291,6 @@ interface paths {
|
|
|
2281
2291
|
"application/json": components["schemas"]["Error"];
|
|
2282
2292
|
};
|
|
2283
2293
|
};
|
|
2284
|
-
/** @description Account restricted from performing this operation. */
|
|
2285
|
-
422: {
|
|
2286
|
-
headers: {
|
|
2287
|
-
[name: string]: unknown;
|
|
2288
|
-
};
|
|
2289
|
-
content: {
|
|
2290
|
-
"application/json": components["schemas"]["Error"];
|
|
2291
|
-
};
|
|
2292
|
-
};
|
|
2293
2294
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2294
2295
|
429: {
|
|
2295
2296
|
headers: {
|
|
@@ -2426,15 +2427,6 @@ interface paths {
|
|
|
2426
2427
|
"application/json": components["schemas"]["Error"];
|
|
2427
2428
|
};
|
|
2428
2429
|
};
|
|
2429
|
-
/** @description Account restricted from performing this operation. */
|
|
2430
|
-
422: {
|
|
2431
|
-
headers: {
|
|
2432
|
-
[name: string]: unknown;
|
|
2433
|
-
};
|
|
2434
|
-
content: {
|
|
2435
|
-
"application/json": components["schemas"]["Error"];
|
|
2436
|
-
};
|
|
2437
|
-
};
|
|
2438
2430
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2439
2431
|
429: {
|
|
2440
2432
|
headers: {
|
|
@@ -13085,6 +13077,14 @@ interface paths {
|
|
|
13085
13077
|
title: string;
|
|
13086
13078
|
/** @description Optional image URL for this filter value (e.g. company logo). Present when available. */
|
|
13087
13079
|
picture_url?: string;
|
|
13080
|
+
/** @description Industry the company operates in. Present (nullable) only for type=COMPANY, to disambiguate same-named companies. */
|
|
13081
|
+
industry?: string | null;
|
|
13082
|
+
/** @description Company follower count. Present (nullable) only for type=COMPANY. */
|
|
13083
|
+
followers_count?: number | null;
|
|
13084
|
+
/** @description Human-readable company size range (e.g. '51-200'). Present (nullable) only for type=COMPANY. */
|
|
13085
|
+
headcount?: string | null;
|
|
13086
|
+
/** @description Company headquarters location. Present (nullable) only for type=COMPANY. */
|
|
13087
|
+
location?: string | null;
|
|
13088
13088
|
}[];
|
|
13089
13089
|
/** @description Paging metadata. */
|
|
13090
13090
|
paging: {
|
|
@@ -13198,7 +13198,7 @@ interface paths {
|
|
|
13198
13198
|
get?: never;
|
|
13199
13199
|
put?: never;
|
|
13200
13200
|
/**
|
|
13201
|
-
* Search
|
|
13201
|
+
* Search people
|
|
13202
13202
|
* @description Searches LinkedIn profiles using structured filters or a pasted LinkedIn search URL. The two modes are mutually exclusive: supply either url or structured filters, not both. account_id and pagination live in query params; filters in the request body.
|
|
13203
13203
|
*/
|
|
13204
13204
|
post: {
|
|
@@ -13247,10 +13247,10 @@ interface paths {
|
|
|
13247
13247
|
school?: string[];
|
|
13248
13248
|
/** @description Opaque service IDs from GET /v1/search/parameters?type=SERVICE. */
|
|
13249
13249
|
service?: string[];
|
|
13250
|
-
/** @description Filter to connections of
|
|
13251
|
-
connections_of?: string;
|
|
13252
|
-
/** @description Filter to followers of
|
|
13253
|
-
followers_of?: string;
|
|
13250
|
+
/** @description Filter to connections of the given members. Array of opaque member IDs from GET /v1/search/parameters?type=CONNECTIONS. */
|
|
13251
|
+
connections_of?: string[];
|
|
13252
|
+
/** @description Filter to followers of the given members. Array of opaque member IDs from GET /v1/search/parameters?type=PEOPLE. */
|
|
13253
|
+
followers_of?: string[];
|
|
13254
13254
|
/** @description Filter by network distance: 1 = 1st degree, 2 = 2nd degree, 3 = 3rd degree. */
|
|
13255
13255
|
network_distance?: (1 | 2 | 3)[];
|
|
13256
13256
|
/** @description Filter by profile language codes. */
|
|
@@ -13476,7 +13476,7 @@ interface paths {
|
|
|
13476
13476
|
get?: never;
|
|
13477
13477
|
put?: never;
|
|
13478
13478
|
/**
|
|
13479
|
-
* Search
|
|
13479
|
+
* Search companies
|
|
13480
13480
|
* @description Searches LinkedIn companies using structured filters or a pasted LinkedIn search URL. The two modes are mutually exclusive. No company description or tagline is returned.
|
|
13481
13481
|
*/
|
|
13482
13482
|
post: {
|
|
@@ -13508,9 +13508,9 @@ interface paths {
|
|
|
13508
13508
|
has_job_offers?: boolean;
|
|
13509
13509
|
/** @description Filter by company size buckets. Each entry is a { min, max } object (e.g. { min: 51, max: 200 }). */
|
|
13510
13510
|
headcount?: {
|
|
13511
|
-
/** @description
|
|
13511
|
+
/** @description Lower bound of a company-size bucket. Valid values: 1, 11, 51, 201, 501, 1001, 5001, 10001. */
|
|
13512
13512
|
min: number;
|
|
13513
|
-
/** @description
|
|
13513
|
+
/** @description Upper bound of a company-size bucket. Valid values: 1, 10, 50, 200, 500, 1000, 5000, 10000. */
|
|
13514
13514
|
max: number;
|
|
13515
13515
|
}[];
|
|
13516
13516
|
/** @description Filter by network distance: 1 = 1st degree, 2 = 2nd degree, 3 = 3rd degree. */
|
|
@@ -13680,7 +13680,7 @@ interface paths {
|
|
|
13680
13680
|
get?: never;
|
|
13681
13681
|
put?: never;
|
|
13682
13682
|
/**
|
|
13683
|
-
* Search
|
|
13683
|
+
* Search posts
|
|
13684
13684
|
* @description Searches LinkedIn posts using structured filters or a pasted LinkedIn search URL. The two modes are mutually exclusive. Post body text is never returned — results carry the post URN and engagement metadata only.
|
|
13685
13685
|
*/
|
|
13686
13686
|
post: {
|
|
@@ -13719,22 +13719,34 @@ interface paths {
|
|
|
13719
13719
|
* @enum {string}
|
|
13720
13720
|
*/
|
|
13721
13721
|
content_type?: "videos" | "images" | "live_videos" | "collaborative_articles" | "documents";
|
|
13722
|
-
/** @description Filter to posts by
|
|
13722
|
+
/** @description Filter to posts by specific authors (members, companies, yourself, connections, or people you follow). */
|
|
13723
13723
|
posted_by?: {
|
|
13724
|
-
/** @description
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13724
|
+
/** @description Opaque member IDs from GET /v1/search/parameters?type=PEOPLE. */
|
|
13725
|
+
member?: string[];
|
|
13726
|
+
/** @description Opaque company IDs from GET /v1/search/parameters?type=COMPANY. */
|
|
13727
|
+
company?: string[];
|
|
13728
|
+
/** @description Restrict to your own posts. */
|
|
13729
|
+
me?: boolean;
|
|
13730
|
+
/** @description Restrict to posts by your 1st-degree connections. */
|
|
13731
|
+
first_connections?: boolean;
|
|
13732
|
+
/** @description Restrict to posts by people you follow. */
|
|
13733
|
+
people_you_follow?: boolean;
|
|
13734
|
+
};
|
|
13735
|
+
/** @description Filter to posts mentioning specific members or companies. */
|
|
13728
13736
|
mentioning?: {
|
|
13729
|
-
/** @description
|
|
13730
|
-
|
|
13737
|
+
/** @description Opaque member IDs from GET /v1/search/parameters?type=PEOPLE. */
|
|
13738
|
+
member?: string[];
|
|
13739
|
+
/** @description Opaque company IDs from GET /v1/search/parameters?type=COMPANY. */
|
|
13740
|
+
company?: string[];
|
|
13731
13741
|
};
|
|
13732
|
-
/** @description Filter to posts
|
|
13742
|
+
/** @description Filter to posts by author attributes (industry, company, or keywords). */
|
|
13733
13743
|
author?: {
|
|
13734
|
-
/** @description
|
|
13735
|
-
|
|
13736
|
-
/** @description
|
|
13737
|
-
|
|
13744
|
+
/** @description Opaque industry IDs from GET /v1/search/parameters?type=INDUSTRY. */
|
|
13745
|
+
industry?: string[];
|
|
13746
|
+
/** @description Opaque company IDs from GET /v1/search/parameters?type=COMPANY. */
|
|
13747
|
+
company?: string[];
|
|
13748
|
+
/** @description Free-text keyword match on the author. */
|
|
13749
|
+
keywords?: string;
|
|
13738
13750
|
};
|
|
13739
13751
|
};
|
|
13740
13752
|
};
|
|
@@ -13948,7 +13960,7 @@ interface paths {
|
|
|
13948
13960
|
get?: never;
|
|
13949
13961
|
put?: never;
|
|
13950
13962
|
/**
|
|
13951
|
-
* Search
|
|
13963
|
+
* Search jobs
|
|
13952
13964
|
* @description Searches LinkedIn job postings using structured filters or a pasted LinkedIn jobs URL. The two modes are mutually exclusive. Job description text is never returned.
|
|
13953
13965
|
*/
|
|
13954
13966
|
post: {
|
|
@@ -13983,8 +13995,8 @@ interface paths {
|
|
|
13983
13995
|
region?: string;
|
|
13984
13996
|
/** @description Opaque location IDs from GET /v1/search/parameters?type=LOCATION. */
|
|
13985
13997
|
location?: string[];
|
|
13986
|
-
/** @description
|
|
13987
|
-
location_within_area?:
|
|
13998
|
+
/** @description Search radius around the location, in miles (positive number). */
|
|
13999
|
+
location_within_area?: number;
|
|
13988
14000
|
/** @description Opaque industry IDs from GET /v1/search/parameters?type=INDUSTRY. */
|
|
13989
14001
|
industry?: string[];
|
|
13990
14002
|
/** @description Filter by seniority levels. */
|
|
@@ -15317,7 +15329,7 @@ declare class SearchResource {
|
|
|
15317
15329
|
*/
|
|
15318
15330
|
getParameters(query: SearchParametersQuery): Promise<SearchParametersResult>;
|
|
15319
15331
|
/**
|
|
15320
|
-
* Search
|
|
15332
|
+
* Search people with structured filters or a pasted URL.
|
|
15321
15333
|
* `POST /v1/search/people`
|
|
15322
15334
|
* Cursor passed via query param (not body) — matches the OpenAPI spec.
|
|
15323
15335
|
*/
|
|
@@ -15326,7 +15338,7 @@ declare class SearchResource {
|
|
|
15326
15338
|
limit?: number;
|
|
15327
15339
|
}): Promise<SearchPeopleResult>;
|
|
15328
15340
|
/**
|
|
15329
|
-
* Search
|
|
15341
|
+
* Search companies.
|
|
15330
15342
|
* `POST /v1/search/companies`
|
|
15331
15343
|
*/
|
|
15332
15344
|
companies(body: SearchCompaniesBody & {
|
|
@@ -15334,7 +15346,7 @@ declare class SearchResource {
|
|
|
15334
15346
|
limit?: number;
|
|
15335
15347
|
}): Promise<SearchCompaniesResult>;
|
|
15336
15348
|
/**
|
|
15337
|
-
* Search
|
|
15349
|
+
* Search posts.
|
|
15338
15350
|
* `POST /v1/search/posts`
|
|
15339
15351
|
*/
|
|
15340
15352
|
posts(body: SearchPostsBody & {
|
|
@@ -15342,7 +15354,7 @@ declare class SearchResource {
|
|
|
15342
15354
|
limit?: number;
|
|
15343
15355
|
}): Promise<SearchPostsResult>;
|
|
15344
15356
|
/**
|
|
15345
|
-
* Search
|
|
15357
|
+
* Search jobs.
|
|
15346
15358
|
* `POST /v1/search/jobs`
|
|
15347
15359
|
*/
|
|
15348
15360
|
jobs(body: SearchJobsBody & {
|
package/dist/index.js
CHANGED
|
@@ -740,7 +740,7 @@ var SearchResource = class {
|
|
|
740
740
|
});
|
|
741
741
|
}
|
|
742
742
|
/**
|
|
743
|
-
* Search
|
|
743
|
+
* Search people with structured filters or a pasted URL.
|
|
744
744
|
* `POST /v1/search/people`
|
|
745
745
|
* Cursor passed via query param (not body) — matches the OpenAPI spec.
|
|
746
746
|
*/
|
|
@@ -754,7 +754,7 @@ var SearchResource = class {
|
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
756
|
/**
|
|
757
|
-
* Search
|
|
757
|
+
* Search companies.
|
|
758
758
|
* `POST /v1/search/companies`
|
|
759
759
|
*/
|
|
760
760
|
companies(body) {
|
|
@@ -767,7 +767,7 @@ var SearchResource = class {
|
|
|
767
767
|
});
|
|
768
768
|
}
|
|
769
769
|
/**
|
|
770
|
-
* Search
|
|
770
|
+
* Search posts.
|
|
771
771
|
* `POST /v1/search/posts`
|
|
772
772
|
*/
|
|
773
773
|
posts(body) {
|
|
@@ -780,7 +780,7 @@ var SearchResource = class {
|
|
|
780
780
|
});
|
|
781
781
|
}
|
|
782
782
|
/**
|
|
783
|
-
* Search
|
|
783
|
+
* Search jobs.
|
|
784
784
|
* `POST /v1/search/jobs`
|
|
785
785
|
*/
|
|
786
786
|
jobs(body) {
|
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -1794,6 +1794,11 @@ export interface paths {
|
|
|
1794
1794
|
} | null;
|
|
1795
1795
|
/** @description Platform-specific invitation metadata. */
|
|
1796
1796
|
specifics?: {
|
|
1797
|
+
/**
|
|
1798
|
+
* @description The platform this invitation belongs to.
|
|
1799
|
+
* @enum {string}
|
|
1800
|
+
*/
|
|
1801
|
+
provider?: "LINKEDIN";
|
|
1797
1802
|
/** @description Per-invitation token from the platform. Content pass-through — never stored. */
|
|
1798
1803
|
shared_secret?: string | null;
|
|
1799
1804
|
};
|
|
@@ -1974,6 +1979,11 @@ export interface paths {
|
|
|
1974
1979
|
} | null;
|
|
1975
1980
|
/** @description Platform-specific invitation metadata. */
|
|
1976
1981
|
specifics?: {
|
|
1982
|
+
/**
|
|
1983
|
+
* @description The platform this invitation belongs to.
|
|
1984
|
+
* @enum {string}
|
|
1985
|
+
*/
|
|
1986
|
+
provider?: "LINKEDIN";
|
|
1977
1987
|
/** @description Per-invitation token required to accept or decline this invitation via POST /v1/invites/received/{invitation_id}. Content pass-through — never stored. */
|
|
1978
1988
|
shared_secret?: string | null;
|
|
1979
1989
|
};
|
|
@@ -2172,15 +2182,6 @@ export interface paths {
|
|
|
2172
2182
|
"application/json": components["schemas"]["Error"];
|
|
2173
2183
|
};
|
|
2174
2184
|
};
|
|
2175
|
-
/** @description Account restricted from performing this operation. */
|
|
2176
|
-
422: {
|
|
2177
|
-
headers: {
|
|
2178
|
-
[name: string]: unknown;
|
|
2179
|
-
};
|
|
2180
|
-
content: {
|
|
2181
|
-
"application/json": components["schemas"]["Error"];
|
|
2182
|
-
};
|
|
2183
|
-
};
|
|
2184
2185
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2185
2186
|
429: {
|
|
2186
2187
|
headers: {
|
|
@@ -2317,15 +2318,6 @@ export interface paths {
|
|
|
2317
2318
|
"application/json": components["schemas"]["Error"];
|
|
2318
2319
|
};
|
|
2319
2320
|
};
|
|
2320
|
-
/** @description Account restricted from performing this operation. */
|
|
2321
|
-
422: {
|
|
2322
|
-
headers: {
|
|
2323
|
-
[name: string]: unknown;
|
|
2324
|
-
};
|
|
2325
|
-
content: {
|
|
2326
|
-
"application/json": components["schemas"]["Error"];
|
|
2327
|
-
};
|
|
2328
|
-
};
|
|
2329
2321
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2330
2322
|
429: {
|
|
2331
2323
|
headers: {
|
|
@@ -12976,6 +12968,14 @@ export interface paths {
|
|
|
12976
12968
|
title: string;
|
|
12977
12969
|
/** @description Optional image URL for this filter value (e.g. company logo). Present when available. */
|
|
12978
12970
|
picture_url?: string;
|
|
12971
|
+
/** @description Industry the company operates in. Present (nullable) only for type=COMPANY, to disambiguate same-named companies. */
|
|
12972
|
+
industry?: string | null;
|
|
12973
|
+
/** @description Company follower count. Present (nullable) only for type=COMPANY. */
|
|
12974
|
+
followers_count?: number | null;
|
|
12975
|
+
/** @description Human-readable company size range (e.g. '51-200'). Present (nullable) only for type=COMPANY. */
|
|
12976
|
+
headcount?: string | null;
|
|
12977
|
+
/** @description Company headquarters location. Present (nullable) only for type=COMPANY. */
|
|
12978
|
+
location?: string | null;
|
|
12979
12979
|
}[];
|
|
12980
12980
|
/** @description Paging metadata. */
|
|
12981
12981
|
paging: {
|
|
@@ -13089,7 +13089,7 @@ export interface paths {
|
|
|
13089
13089
|
get?: never;
|
|
13090
13090
|
put?: never;
|
|
13091
13091
|
/**
|
|
13092
|
-
* Search
|
|
13092
|
+
* Search people
|
|
13093
13093
|
* @description Searches LinkedIn profiles using structured filters or a pasted LinkedIn search URL. The two modes are mutually exclusive: supply either url or structured filters, not both. account_id and pagination live in query params; filters in the request body.
|
|
13094
13094
|
*/
|
|
13095
13095
|
post: {
|
|
@@ -13138,10 +13138,10 @@ export interface paths {
|
|
|
13138
13138
|
school?: string[];
|
|
13139
13139
|
/** @description Opaque service IDs from GET /v1/search/parameters?type=SERVICE. */
|
|
13140
13140
|
service?: string[];
|
|
13141
|
-
/** @description Filter to connections of
|
|
13142
|
-
connections_of?: string;
|
|
13143
|
-
/** @description Filter to followers of
|
|
13144
|
-
followers_of?: string;
|
|
13141
|
+
/** @description Filter to connections of the given members. Array of opaque member IDs from GET /v1/search/parameters?type=CONNECTIONS. */
|
|
13142
|
+
connections_of?: string[];
|
|
13143
|
+
/** @description Filter to followers of the given members. Array of opaque member IDs from GET /v1/search/parameters?type=PEOPLE. */
|
|
13144
|
+
followers_of?: string[];
|
|
13145
13145
|
/** @description Filter by network distance: 1 = 1st degree, 2 = 2nd degree, 3 = 3rd degree. */
|
|
13146
13146
|
network_distance?: (1 | 2 | 3)[];
|
|
13147
13147
|
/** @description Filter by profile language codes. */
|
|
@@ -13367,7 +13367,7 @@ export interface paths {
|
|
|
13367
13367
|
get?: never;
|
|
13368
13368
|
put?: never;
|
|
13369
13369
|
/**
|
|
13370
|
-
* Search
|
|
13370
|
+
* Search companies
|
|
13371
13371
|
* @description Searches LinkedIn companies using structured filters or a pasted LinkedIn search URL. The two modes are mutually exclusive. No company description or tagline is returned.
|
|
13372
13372
|
*/
|
|
13373
13373
|
post: {
|
|
@@ -13399,9 +13399,9 @@ export interface paths {
|
|
|
13399
13399
|
has_job_offers?: boolean;
|
|
13400
13400
|
/** @description Filter by company size buckets. Each entry is a { min, max } object (e.g. { min: 51, max: 200 }). */
|
|
13401
13401
|
headcount?: {
|
|
13402
|
-
/** @description
|
|
13402
|
+
/** @description Lower bound of a company-size bucket. Valid values: 1, 11, 51, 201, 501, 1001, 5001, 10001. */
|
|
13403
13403
|
min: number;
|
|
13404
|
-
/** @description
|
|
13404
|
+
/** @description Upper bound of a company-size bucket. Valid values: 1, 10, 50, 200, 500, 1000, 5000, 10000. */
|
|
13405
13405
|
max: number;
|
|
13406
13406
|
}[];
|
|
13407
13407
|
/** @description Filter by network distance: 1 = 1st degree, 2 = 2nd degree, 3 = 3rd degree. */
|
|
@@ -13571,7 +13571,7 @@ export interface paths {
|
|
|
13571
13571
|
get?: never;
|
|
13572
13572
|
put?: never;
|
|
13573
13573
|
/**
|
|
13574
|
-
* Search
|
|
13574
|
+
* Search posts
|
|
13575
13575
|
* @description Searches LinkedIn posts using structured filters or a pasted LinkedIn search URL. The two modes are mutually exclusive. Post body text is never returned — results carry the post URN and engagement metadata only.
|
|
13576
13576
|
*/
|
|
13577
13577
|
post: {
|
|
@@ -13610,22 +13610,34 @@ export interface paths {
|
|
|
13610
13610
|
* @enum {string}
|
|
13611
13611
|
*/
|
|
13612
13612
|
content_type?: "videos" | "images" | "live_videos" | "collaborative_articles" | "documents";
|
|
13613
|
-
/** @description Filter to posts by
|
|
13613
|
+
/** @description Filter to posts by specific authors (members, companies, yourself, connections, or people you follow). */
|
|
13614
13614
|
posted_by?: {
|
|
13615
|
-
/** @description
|
|
13616
|
-
|
|
13617
|
-
|
|
13618
|
-
|
|
13615
|
+
/** @description Opaque member IDs from GET /v1/search/parameters?type=PEOPLE. */
|
|
13616
|
+
member?: string[];
|
|
13617
|
+
/** @description Opaque company IDs from GET /v1/search/parameters?type=COMPANY. */
|
|
13618
|
+
company?: string[];
|
|
13619
|
+
/** @description Restrict to your own posts. */
|
|
13620
|
+
me?: boolean;
|
|
13621
|
+
/** @description Restrict to posts by your 1st-degree connections. */
|
|
13622
|
+
first_connections?: boolean;
|
|
13623
|
+
/** @description Restrict to posts by people you follow. */
|
|
13624
|
+
people_you_follow?: boolean;
|
|
13625
|
+
};
|
|
13626
|
+
/** @description Filter to posts mentioning specific members or companies. */
|
|
13619
13627
|
mentioning?: {
|
|
13620
|
-
/** @description
|
|
13621
|
-
|
|
13628
|
+
/** @description Opaque member IDs from GET /v1/search/parameters?type=PEOPLE. */
|
|
13629
|
+
member?: string[];
|
|
13630
|
+
/** @description Opaque company IDs from GET /v1/search/parameters?type=COMPANY. */
|
|
13631
|
+
company?: string[];
|
|
13622
13632
|
};
|
|
13623
|
-
/** @description Filter to posts
|
|
13633
|
+
/** @description Filter to posts by author attributes (industry, company, or keywords). */
|
|
13624
13634
|
author?: {
|
|
13625
|
-
/** @description
|
|
13626
|
-
|
|
13627
|
-
/** @description
|
|
13628
|
-
|
|
13635
|
+
/** @description Opaque industry IDs from GET /v1/search/parameters?type=INDUSTRY. */
|
|
13636
|
+
industry?: string[];
|
|
13637
|
+
/** @description Opaque company IDs from GET /v1/search/parameters?type=COMPANY. */
|
|
13638
|
+
company?: string[];
|
|
13639
|
+
/** @description Free-text keyword match on the author. */
|
|
13640
|
+
keywords?: string;
|
|
13629
13641
|
};
|
|
13630
13642
|
};
|
|
13631
13643
|
};
|
|
@@ -13839,7 +13851,7 @@ export interface paths {
|
|
|
13839
13851
|
get?: never;
|
|
13840
13852
|
put?: never;
|
|
13841
13853
|
/**
|
|
13842
|
-
* Search
|
|
13854
|
+
* Search jobs
|
|
13843
13855
|
* @description Searches LinkedIn job postings using structured filters or a pasted LinkedIn jobs URL. The two modes are mutually exclusive. Job description text is never returned.
|
|
13844
13856
|
*/
|
|
13845
13857
|
post: {
|
|
@@ -13874,8 +13886,8 @@ export interface paths {
|
|
|
13874
13886
|
region?: string;
|
|
13875
13887
|
/** @description Opaque location IDs from GET /v1/search/parameters?type=LOCATION. */
|
|
13876
13888
|
location?: string[];
|
|
13877
|
-
/** @description
|
|
13878
|
-
location_within_area?:
|
|
13889
|
+
/** @description Search radius around the location, in miles (positive number). */
|
|
13890
|
+
location_within_area?: number;
|
|
13879
13891
|
/** @description Opaque industry IDs from GET /v1/search/parameters?type=INDUSTRY. */
|
|
13880
13892
|
industry?: string[];
|
|
13881
13893
|
/** @description Filter by seniority levels. */
|