@curviate/sdk 0.20.0 → 0.20.2
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 +110 -0
- package/dist/index.d.ts +236 -203
- package/dist/index.js +138 -94
- package/package.json +3 -2
- package/src/generated/types.ts +222 -202
package/dist/index.d.ts
CHANGED
|
@@ -175,7 +175,7 @@ interface paths {
|
|
|
175
175
|
put?: never;
|
|
176
176
|
/**
|
|
177
177
|
* Endorse a member's skill
|
|
178
|
-
* @description Endorses one specific skill on a target member's profile. You can only endorse the skills of your 1st-degree connections. To obtain the endorsement_id: (1) GET /v1/{account_id}/users/{user_id}?linkedin_sections=linkedin_skills, (2) read the target skill's endorsement_id from the skills section, this field is present ONLY for connections you are eligible to endorse (it is omitted for users outside your network and on your own profile, so this workflow requires the target to be a 1st-degree connection), (3) call this endpoint with that value. user_id must be the LinkedIn member ID (ACo
|
|
178
|
+
* @description Endorses one specific skill on a target member's profile. You can only endorse the skills of your 1st-degree connections. To obtain the endorsement_id: (1) GET /v1/{account_id}/users/{user_id}?linkedin_sections=linkedin_skills, (2) read the target skill's endorsement_id from the skills section, this field is present ONLY for connections you are eligible to endorse (it is omitted for users outside your network and on your own profile, so this workflow requires the target to be a 1st-degree connection), (3) call this endpoint with that value. user_id must be the LinkedIn member ID (ACo... format); a public identifier does not resolve on this endpoint.
|
|
179
179
|
*/
|
|
180
180
|
post: operations["postV1AccountIdUsersUserIdEndorseSkill"];
|
|
181
181
|
delete?: never;
|
|
@@ -439,7 +439,7 @@ interface paths {
|
|
|
439
439
|
put?: never;
|
|
440
440
|
/**
|
|
441
441
|
* Invite connections to follow a company page
|
|
442
|
-
* @description Invites one or more of the connected account's 1st-degree connections to follow a company page it administers with the invite-to-follow entitlement. Pass the AC
|
|
442
|
+
* @description Invites one or more of the connected account's 1st-degree connections to follow a company page it administers with the invite-to-follow entitlement. Pass the AC... member ids from an invitable-followers read. Returns one outcome per invitee, in request order, for an all-valid request. If any invitee id is invalid, the whole request is rejected (404), with no partial success. Re-inviting an already-invited member is a safe no-op (the same invitation id, never a duplicate). Only identifiers transit. Nothing is stored.
|
|
443
443
|
*/
|
|
444
444
|
post: operations["postV1AccountIdCompaniesIdentifierFollowInvite"];
|
|
445
445
|
delete?: never;
|
|
@@ -543,7 +543,7 @@ interface paths {
|
|
|
543
543
|
put?: never;
|
|
544
544
|
/**
|
|
545
545
|
* Reply as the company page
|
|
546
|
-
* @description Sends a message into an existing company-inbox conversation, as the page. chat_id is the conversation id from GET /v1/{account_id}/companies/{identifier}/chats, the same 2
|
|
546
|
+
* @description Sends a message into an existing company-inbox conversation, as the page. chat_id is the conversation id from GET /v1/{account_id}/companies/{identifier}/chats, the same 2-... id this group's chat reads return, passed verbatim. The connected account must administer the page. Reply-only: a page can never start a new conversation, only answer an existing one. Send application/json with text, base64 attachments (max 5 MiB per file), or both; at least one of text or attachments is required. Message content passes through to the platform and is never stored. The response's sent_as field names the acting identity that was actually used.
|
|
547
547
|
*/
|
|
548
548
|
post: operations["postV1AccountIdCompaniesIdentifierChatsChatIdMessages"];
|
|
549
549
|
delete?: never;
|
|
@@ -1021,7 +1021,7 @@ interface paths {
|
|
|
1021
1021
|
};
|
|
1022
1022
|
/**
|
|
1023
1023
|
* List inboxes
|
|
1024
|
-
* @description Returns the account's personal inbox plus, when the company product is attached, one entry per company page
|
|
1024
|
+
* @description Returns the account's personal inbox plus, when the company product is attached, one entry per company page x folder (id like 'COMPANY_83734124_PRIMARY'). Company inboxes carry reply_only:true; company pages can only reply to existing conversations, never start one. company_id is resolved by correlating the page name against the account's managed pages; an uncorrelatable page returns company_id:null, never a fabricated id. When no company inbox exists, hint names the Company Pages reconnect requirement instead of returning silently empty.
|
|
1025
1025
|
*/
|
|
1026
1026
|
get: operations["getV1AccountIdInboxes"];
|
|
1027
1027
|
put?: never;
|
|
@@ -1041,7 +1041,7 @@ interface paths {
|
|
|
1041
1041
|
};
|
|
1042
1042
|
/**
|
|
1043
1043
|
* List an inbox's conversations
|
|
1044
|
-
* @description Returns a paginated list of an inbox's conversations, newest-activity-first. Each chat's id is send-ready: pass it directly to the send-message endpoint to reply; a company inbox's chat id (e.g. 'COMPANY_83734124_2
|
|
1044
|
+
* @description Returns a paginated list of an inbox's conversations, newest-activity-first. Each chat's id is send-ready: pass it directly to the send-message endpoint to reply; a company inbox's chat id (e.g. 'COMPANY_83734124_2-...') replies AS THE PAGE, no separate parameter needed. Works identically for personal (CLASSIC_) inboxes. Company pages are reply-only (reply_only:true on the inbox, from GET /inboxes); they cannot start a new conversation. A malformed inbox_id returns 400 INVALID_REQUEST; a well-formed id for a mailbox this account does not administer returns 403 RESOURCE_ACCESS_RESTRICTED (no existence disclosure); there is no 404 for this endpoint.
|
|
1045
1045
|
*/
|
|
1046
1046
|
get: operations["getV1AccountIdInboxesInboxIdChats"];
|
|
1047
1047
|
put?: never;
|
|
@@ -1727,7 +1727,7 @@ interface paths {
|
|
|
1727
1727
|
put?: never;
|
|
1728
1728
|
/**
|
|
1729
1729
|
* Start a chat (Recruiter)
|
|
1730
|
-
* @description Send an opening InMail-style message to one or more Recruiter member IDs (AE
|
|
1730
|
+
* @description Send an opening InMail-style message to one or more Recruiter member IDs (AE... format). subject and signature are REQUIRED for Recruiter (InMail-based messaging). Accepts optional base64-encoded file / voice / video attachments (application/json only; multipart is not supported). Recruiter PRO: optionally schedule a follow-up. Requires a Recruiter seat.
|
|
1731
1731
|
*/
|
|
1732
1732
|
post: operations["postV1AccountIdRecruiterChats"];
|
|
1733
1733
|
delete?: never;
|
|
@@ -1851,7 +1851,7 @@ interface paths {
|
|
|
1851
1851
|
put?: never;
|
|
1852
1852
|
/**
|
|
1853
1853
|
* Search a project's talent pool
|
|
1854
|
-
* @description Search a Recruiter project's talent pool. A POST body carries the required channel_id (the project's own RECRUITER_SEARCH talent-pool channel, read it off talent_pool.channels[] of GET
|
|
1854
|
+
* @description Search a Recruiter project's talent pool. A POST body carries the required channel_id (the project's own RECRUITER_SEARCH talent-pool channel, read it off talent_pool.channels[] of GET .../recruiter/projects/{project_id}) plus the (all-optional) people-search filter set. Pagination is driven by the limit (1-100) and cursor query params. Requires a Recruiter seat.
|
|
1855
1855
|
*/
|
|
1856
1856
|
post: operations["postV1AccountIdRecruiterProjectsProjectIdTalentPoolSearch"];
|
|
1857
1857
|
delete?: never;
|
|
@@ -1999,7 +1999,7 @@ interface paths {
|
|
|
1999
1999
|
put?: never;
|
|
2000
2000
|
/**
|
|
2001
2001
|
* Publish a job posting
|
|
2002
|
-
* @description REAL MONEY: PROMOTED and PROMOTED_PLUS spend on the connected account's LinkedIn payment method. Providing budget IS the explicit opt-in to spend, there is no separate confirm flag. FREE requires free-posting eligibility (check GET
|
|
2002
|
+
* @description REAL MONEY: PROMOTED and PROMOTED_PLUS spend on the connected account's LinkedIn payment method. Providing budget IS the explicit opt-in to spend, there is no separate confirm flag. FREE requires free-posting eligibility (check GET .../budget's free.eligible first). bypass_email_verification skips the on-behalf-of-company posting eligibility check (replaces the retired publish-verification checkpoint, there is no separate checkpoint-solve step). Requires a Recruiter seat.
|
|
2003
2003
|
*/
|
|
2004
2004
|
post: operations["postV1AccountIdRecruiterProjectsProjectIdJobsJobIdPublish"];
|
|
2005
2005
|
delete?: never;
|
|
@@ -2059,7 +2059,7 @@ interface paths {
|
|
|
2059
2059
|
put?: never;
|
|
2060
2060
|
/**
|
|
2061
2061
|
* List applicants in a project's talent pool
|
|
2062
|
-
* @description List applicants in a Recruiter project's talent pool (POST-as-list; the body carries filters, no state mutates). The channel_id (a JOB_POSTING talent-pool channel) is REQUIRED, read it off talent_pool.channels[] of GET
|
|
2062
|
+
* @description List applicants in a Recruiter project's talent pool (POST-as-list; the body carries filters, no state mutates). The channel_id (a JOB_POSTING talent-pool channel) is REQUIRED, read it off talent_pool.channels[] of GET .../recruiter/projects/{project_id}. Requires a Recruiter seat.
|
|
2063
2063
|
*/
|
|
2064
2064
|
post: operations["postV1AccountIdRecruiterProjectsProjectIdTalentPoolApplicants"];
|
|
2065
2065
|
delete?: never;
|
|
@@ -2077,7 +2077,7 @@ interface paths {
|
|
|
2077
2077
|
};
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Get one talent-pool applicant
|
|
2080
|
-
* @description Retrieve full detail for a single talent-pool applicant, the profile is GUARANTEED full (includes PII emails/phone_numbers). Unknown applicant_id or project_id
|
|
2080
|
+
* @description Retrieve full detail for a single talent-pool applicant, the profile is GUARANTEED full (includes PII emails/phone_numbers). Unknown applicant_id or project_id -> 404 RESOURCE_NOT_FOUND. Requires a Recruiter seat.
|
|
2081
2081
|
*/
|
|
2082
2082
|
get: operations["getV1AccountIdRecruiterProjectsProjectIdTalentPoolApplicantsApplicantId"];
|
|
2083
2083
|
put?: never;
|
|
@@ -2097,7 +2097,7 @@ interface paths {
|
|
|
2097
2097
|
};
|
|
2098
2098
|
/**
|
|
2099
2099
|
* Download an applicant's résumé
|
|
2100
|
-
* @description Stream the résumé file for a talent-pool applicant as raw bytes. Curviate never caches, stores, or logs the résumé body. Gated by has_resume on the applicant detail. An applicant with no résumé on file
|
|
2100
|
+
* @description Stream the résumé file for a talent-pool applicant as raw bytes. Curviate never caches, stores, or logs the résumé body. Gated by has_resume on the applicant detail. An applicant with no résumé on file -> 404 RESOURCE_NOT_FOUND; a résumé still generating upstream -> 503 (retry shortly). Requires a Recruiter seat.
|
|
2101
2101
|
*/
|
|
2102
2102
|
get: operations["getV1AccountIdRecruiterProjectsProjectIdTalentPoolApplicantsApplicantIdResume"];
|
|
2103
2103
|
put?: never;
|
|
@@ -2119,7 +2119,7 @@ interface paths {
|
|
|
2119
2119
|
put?: never;
|
|
2120
2120
|
/**
|
|
2121
2121
|
* Start a chat (Sales Navigator)
|
|
2122
|
-
* @description Send an opening InMail-style message to one or more Sales Navigator members (ACw
|
|
2122
|
+
* @description Send an opening InMail-style message to one or more Sales Navigator members (ACw... IDs). subject is REQUIRED for Sales Navigator (InMail-based messaging). Accepts optional base64-encoded file / voice / video attachments (application/json only; multipart is not supported). Requires a Sales Navigator seat.
|
|
2123
2123
|
*/
|
|
2124
2124
|
post: operations["postV1AccountIdSalesNavigatorChats"];
|
|
2125
2125
|
delete?: never;
|
|
@@ -2467,7 +2467,7 @@ interface paths {
|
|
|
2467
2467
|
put?: never;
|
|
2468
2468
|
/**
|
|
2469
2469
|
* Poll a mobile-app-approval checkpoint
|
|
2470
|
-
* @description Poll the pending mobile-app-approval challenge for an account and advance it. This is the completion driver for mobile_app_approval (and the in-app arm of otp_or_mobile_app_approval): call it repeatedly until the account is active. Returns object:"account" + status:"active" once approved; object:"checkpoint" + status:"pending" while still waiting; status:"checkpoint_required" (with challenge_type) when the approval chained to a new challenge (e.g. approval
|
|
2470
|
+
* @description Poll the pending mobile-app-approval challenge for an account and advance it. This is the completion driver for mobile_app_approval (and the in-app arm of otp_or_mobile_app_approval): call it repeatedly until the account is active. Returns object:"account" + status:"active" once approved; object:"checkpoint" + status:"pending" while still waiting; status:"checkpoint_required" (with challenge_type) when the approval chained to a new challenge (e.g. approval -> 2FA), switch to POST /v1/auth/checkpoint/solve for the new type; status:"expired"/"failed" on timeout/failure. A code-based checkpoint polled here returns 422 directing you to POST /v1/auth/checkpoint/solve instead. `account_id` (in the body) identifies the mid-flight connect.
|
|
2471
2471
|
*/
|
|
2472
2472
|
post: operations["postV1AuthCheckpointPoll"];
|
|
2473
2473
|
delete?: never;
|
|
@@ -2485,7 +2485,7 @@ interface paths {
|
|
|
2485
2485
|
};
|
|
2486
2486
|
/**
|
|
2487
2487
|
* Get a connect session's status
|
|
2488
|
-
* @description Return the current status of a credential connect session, keyed by its account id (acc_
|
|
2488
|
+
* @description Return the current status of a credential connect session, keyed by its account id (acc_..., from auth/intent or a checkpoint response). status is one of checkpoint_required / done / expired / failed; checkpoint_required carries challenge_type. account_id is present once status is done. Poll until status leaves checkpoint_required.
|
|
2489
2489
|
*/
|
|
2490
2490
|
get: operations["getV1AuthSessionsSessionId"];
|
|
2491
2491
|
put?: never;
|
|
@@ -2655,7 +2655,7 @@ interface operations {
|
|
|
2655
2655
|
};
|
|
2656
2656
|
header?: never;
|
|
2657
2657
|
path: {
|
|
2658
|
-
/** @description The account ID (`acc_
|
|
2658
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
2659
2659
|
account_id: string;
|
|
2660
2660
|
/** @description "me" for the caller's own account, or another LinkedIn user's public identifier, member ID, or profile URL. Note on the skills section: a skill's `endorsement_id` (the value needed to endorse that skill) is returned only for users you are eligible to endorse; i.e. your 1st-degree connections. For users outside your network, and on your own profile, the skills section still lists each skill (name, endorsement_count, endorsed, insights) but omits `endorsement_id`. This depends on the connection, not on the identifier form used to look the user up. */
|
|
2661
2661
|
user_id: string;
|
|
@@ -2903,7 +2903,7 @@ interface operations {
|
|
|
2903
2903
|
query?: never;
|
|
2904
2904
|
header?: never;
|
|
2905
2905
|
path: {
|
|
2906
|
-
/** @description The account ID (`acc_
|
|
2906
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
2907
2907
|
account_id: string;
|
|
2908
2908
|
/** @description Use "me" for the caller's own account, this is the only supported target. */
|
|
2909
2909
|
user_id: string;
|
|
@@ -3232,7 +3232,7 @@ interface operations {
|
|
|
3232
3232
|
};
|
|
3233
3233
|
header?: never;
|
|
3234
3234
|
path: {
|
|
3235
|
-
/** @description The account ID (`acc_
|
|
3235
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
3236
3236
|
account_id: string;
|
|
3237
3237
|
};
|
|
3238
3238
|
cookie?: never;
|
|
@@ -3346,9 +3346,9 @@ interface operations {
|
|
|
3346
3346
|
query?: never;
|
|
3347
3347
|
header?: never;
|
|
3348
3348
|
path: {
|
|
3349
|
-
/** @description The account ID (`acc_
|
|
3349
|
+
/** @description The account ID (`acc_...`) performing the endorsement. */
|
|
3350
3350
|
account_id: string;
|
|
3351
|
-
/** @description The LinkedIn member ID (`ACo
|
|
3351
|
+
/** @description The LinkedIn member ID (`ACo...` format) whose skill is being endorsed, a public identifier does not resolve on this endpoint. */
|
|
3352
3352
|
user_id: string;
|
|
3353
3353
|
};
|
|
3354
3354
|
cookie?: never;
|
|
@@ -3531,17 +3531,17 @@ interface operations {
|
|
|
3531
3531
|
follower_count?: number | null;
|
|
3532
3532
|
/** @description Visitors in the past month. 0 is a real value. */
|
|
3533
3533
|
visitor_count?: number | null;
|
|
3534
|
-
/** @description Page-type enum: COMPANY | SHOWCASE |
|
|
3534
|
+
/** @description Page-type enum: COMPANY | SHOWCASE | ... . */
|
|
3535
3535
|
page_type?: string | null;
|
|
3536
3536
|
/** @description null for own admin pages (follow-state not meaningful). */
|
|
3537
3537
|
is_following?: boolean | null;
|
|
3538
3538
|
/** @description Always true; this is the administered set. */
|
|
3539
3539
|
is_admin: boolean;
|
|
3540
|
-
/** @description The follow-invite gate. true
|
|
3540
|
+
/** @description The follow-invite gate. true -> the account may invite connections to follow this page. */
|
|
3541
3541
|
can_invite_to_follow: boolean;
|
|
3542
3542
|
/** @description Canonical page URL (falls back to `/company/<id>/` when absent but id parsed). */
|
|
3543
3543
|
url?: string | null;
|
|
3544
|
-
/** @description Admin / paid-media roles: ADMINISTRATOR | DIRECT_SPONSORED_CONTENT_POSTER |
|
|
3544
|
+
/** @description Admin / paid-media roles: ADMINISTRATOR | DIRECT_SPONSORED_CONTENT_POSTER | ... . Often empty. */
|
|
3545
3545
|
roles?: string[];
|
|
3546
3546
|
/** @description The full set of granted permission keys: the machine-readable action matrix for routing. */
|
|
3547
3547
|
capabilities: string[];
|
|
@@ -3716,12 +3716,12 @@ interface operations {
|
|
|
3716
3716
|
cancel_url: string | null;
|
|
3717
3717
|
/** @description External LinkedIn-owned URL to switch/upgrade this plan. */
|
|
3718
3718
|
switch_url: string | null;
|
|
3719
|
-
/** @description This plan's full action map (action key
|
|
3719
|
+
/** @description This plan's full action map (action key -> external URL). Open-ended; observed keys: manage_subscription, cancel_subscription, switch_plans. */
|
|
3720
3720
|
actions: {
|
|
3721
3721
|
[key: string]: string;
|
|
3722
3722
|
};
|
|
3723
3723
|
}[];
|
|
3724
|
-
/** @description The primary plan's action map (action key
|
|
3724
|
+
/** @description The primary plan's action map (action key -> external URL); {} for a free account. */
|
|
3725
3725
|
actions: {
|
|
3726
3726
|
[key: string]: string;
|
|
3727
3727
|
};
|
|
@@ -3964,7 +3964,7 @@ interface operations {
|
|
|
3964
3964
|
};
|
|
3965
3965
|
requestBody?: never;
|
|
3966
3966
|
responses: {
|
|
3967
|
-
/** @description A page of the account's recent profile viewers, each classified by disclosure fidelity. A free account is capped at semi-anonymous fidelity (an in-band 200, never a 403). Empty account
|
|
3967
|
+
/** @description A page of the account's recent profile viewers, each classified by disclosure fidelity. A free account is capped at semi-anonymous fidelity (an in-band 200, never a 403). Empty account -> items:[], cursor:null. */
|
|
3968
3968
|
200: {
|
|
3969
3969
|
headers: {
|
|
3970
3970
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -4237,7 +4237,7 @@ interface operations {
|
|
|
4237
4237
|
};
|
|
4238
4238
|
header?: never;
|
|
4239
4239
|
path: {
|
|
4240
|
-
/** @description The account ID (`acc_
|
|
4240
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
4241
4241
|
account_id: string;
|
|
4242
4242
|
/** @description "me" for the caller's own account, or another LinkedIn user's identifier. */
|
|
4243
4243
|
user_id: string;
|
|
@@ -4390,7 +4390,7 @@ interface operations {
|
|
|
4390
4390
|
};
|
|
4391
4391
|
header?: never;
|
|
4392
4392
|
path: {
|
|
4393
|
-
/** @description The account ID (`acc_
|
|
4393
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
4394
4394
|
account_id: string;
|
|
4395
4395
|
/** @description Must be "me". LinkedIn does not allow listing who another user follows. */
|
|
4396
4396
|
user_id: string;
|
|
@@ -4538,9 +4538,9 @@ interface operations {
|
|
|
4538
4538
|
query?: never;
|
|
4539
4539
|
header?: never;
|
|
4540
4540
|
path: {
|
|
4541
|
-
/** @description The account ID (`acc_
|
|
4541
|
+
/** @description The account ID (`acc_...`) to follow from. */
|
|
4542
4542
|
account_id: string;
|
|
4543
|
-
/** @description The LinkedIn member ID (`ACo
|
|
4543
|
+
/** @description The LinkedIn member ID (`ACo...` format) to follow, a public identifier does not resolve on this endpoint. */
|
|
4544
4544
|
user_id: string;
|
|
4545
4545
|
};
|
|
4546
4546
|
cookie?: never;
|
|
@@ -4695,9 +4695,9 @@ interface operations {
|
|
|
4695
4695
|
query?: never;
|
|
4696
4696
|
header?: never;
|
|
4697
4697
|
path: {
|
|
4698
|
-
/** @description The account ID (`acc_
|
|
4698
|
+
/** @description The account ID (`acc_...`) to unfollow from. */
|
|
4699
4699
|
account_id: string;
|
|
4700
|
-
/** @description The LinkedIn member ID (`ACo
|
|
4700
|
+
/** @description The LinkedIn member ID (`ACo...` format) to unfollow, a public identifier does not resolve on this endpoint. */
|
|
4701
4701
|
user_id: string;
|
|
4702
4702
|
};
|
|
4703
4703
|
cookie?: never;
|
|
@@ -5049,7 +5049,7 @@ interface operations {
|
|
|
5049
5049
|
object: "company_employee_list";
|
|
5050
5050
|
/** @description People who currently work at the company. */
|
|
5051
5051
|
items: {
|
|
5052
|
-
/** @description Opaque LinkedIn member URN for this person (e.g. ACoAA
|
|
5052
|
+
/** @description Opaque LinkedIn member URN for this person (e.g. ACoAA...). */
|
|
5053
5053
|
id: string;
|
|
5054
5054
|
/** @description Numeric LinkedIn member id, distinct from id. Present when available. */
|
|
5055
5055
|
member_id?: string;
|
|
@@ -5573,7 +5573,7 @@ interface operations {
|
|
|
5573
5573
|
requestBody: {
|
|
5574
5574
|
content: {
|
|
5575
5575
|
"application/json": {
|
|
5576
|
-
/** @description The AC
|
|
5576
|
+
/** @description The AC... member ids to invite to follow the page. Each is the id field of an invitable-followers read. Required, 1 to 50 per request. */
|
|
5577
5577
|
invitee_ids: string[];
|
|
5578
5578
|
};
|
|
5579
5579
|
};
|
|
@@ -6059,7 +6059,7 @@ interface operations {
|
|
|
6059
6059
|
* @enum {string}
|
|
6060
6060
|
*/
|
|
6061
6061
|
object: "company_chat";
|
|
6062
|
-
/** @description The conversation id (2
|
|
6062
|
+
/** @description The conversation id (2-... form): the key for retrieve-chat and get-messages. */
|
|
6063
6063
|
id: string;
|
|
6064
6064
|
/** @description Group vs 1:1 conversation. */
|
|
6065
6065
|
is_group_chat: boolean;
|
|
@@ -6204,7 +6204,7 @@ interface operations {
|
|
|
6204
6204
|
account_id: string;
|
|
6205
6205
|
/** @description The company's numeric id (e.g. 112013061), the id field of GET /v1/{account_id}/companies/{identifier} or a POST /v1/{account_id}/search/companies result. A public handle or URN is not accepted here; pass the numeric id. */
|
|
6206
6206
|
identifier: string;
|
|
6207
|
-
/** @description The conversation id in the "2
|
|
6207
|
+
/** @description The conversation id in the "2-..." form, the id field of a chats list or search result. Pass it verbatim. */
|
|
6208
6208
|
chat_id: string;
|
|
6209
6209
|
};
|
|
6210
6210
|
cookie?: never;
|
|
@@ -6225,7 +6225,7 @@ interface operations {
|
|
|
6225
6225
|
* @enum {string}
|
|
6226
6226
|
*/
|
|
6227
6227
|
object: "company_chat";
|
|
6228
|
-
/** @description The conversation id (2
|
|
6228
|
+
/** @description The conversation id (2-... form): the key for retrieve-chat and get-messages. */
|
|
6229
6229
|
id: string;
|
|
6230
6230
|
/** @description Group vs 1:1 conversation. */
|
|
6231
6231
|
is_group_chat: boolean;
|
|
@@ -6372,7 +6372,7 @@ interface operations {
|
|
|
6372
6372
|
account_id: string;
|
|
6373
6373
|
/** @description The company's numeric id (e.g. 112013061), the id field of GET /v1/{account_id}/companies/{identifier} or a POST /v1/{account_id}/search/companies result. A public handle or URN is not accepted here; pass the numeric id. */
|
|
6374
6374
|
identifier: string;
|
|
6375
|
-
/** @description The conversation id in the "2
|
|
6375
|
+
/** @description The conversation id in the "2-..." form, the id field of a chats list or search result. Pass it verbatim. */
|
|
6376
6376
|
chat_id: string;
|
|
6377
6377
|
};
|
|
6378
6378
|
cookie?: never;
|
|
@@ -6400,9 +6400,9 @@ interface operations {
|
|
|
6400
6400
|
* @enum {string}
|
|
6401
6401
|
*/
|
|
6402
6402
|
object: "company_chat_message";
|
|
6403
|
-
/** @description The message id (2
|
|
6403
|
+
/** @description The message id (2-... form). */
|
|
6404
6404
|
id: string;
|
|
6405
|
-
/** @description The parent conversation id (2
|
|
6405
|
+
/** @description The parent conversation id (2-... form). */
|
|
6406
6406
|
conversation_id: string;
|
|
6407
6407
|
sender: {
|
|
6408
6408
|
/** @description Sender's member id. */
|
|
@@ -6524,7 +6524,7 @@ interface operations {
|
|
|
6524
6524
|
account_id: string;
|
|
6525
6525
|
/** @description The company's numeric id (e.g. 112013061), the id field of GET /v1/{account_id}/companies/{identifier} or a POST /v1/{account_id}/search/companies result. A public handle or URN is not accepted here; pass the numeric id. */
|
|
6526
6526
|
identifier: string;
|
|
6527
|
-
/** @description The conversation id in the "2
|
|
6527
|
+
/** @description The conversation id in the "2-..." form, the id field of a chats list or search result. Pass it verbatim. */
|
|
6528
6528
|
chat_id: string;
|
|
6529
6529
|
};
|
|
6530
6530
|
cookie?: never;
|
|
@@ -6580,7 +6580,7 @@ interface operations {
|
|
|
6580
6580
|
};
|
|
6581
6581
|
};
|
|
6582
6582
|
};
|
|
6583
|
-
/** @description Empty body or neither text nor attachment supplied, a non-numeric identifier, or a malformed chat_id (not a conversation id in the 2
|
|
6583
|
+
/** @description Empty body or neither text nor attachment supplied, a non-numeric identifier, or a malformed chat_id (not a conversation id in the 2-... form). */
|
|
6584
6584
|
400: {
|
|
6585
6585
|
headers: {
|
|
6586
6586
|
[name: string]: unknown;
|
|
@@ -6702,9 +6702,9 @@ interface operations {
|
|
|
6702
6702
|
account_id: string;
|
|
6703
6703
|
/** @description The company's numeric id (e.g. 112013061), the id field of GET /v1/{account_id}/companies/{identifier} or a POST /v1/{account_id}/search/companies result. A public handle or URN is not accepted here; pass the numeric id. */
|
|
6704
6704
|
identifier: string;
|
|
6705
|
-
/** @description The conversation id in the "2
|
|
6705
|
+
/** @description The conversation id in the "2-..." form, the id field of a chats list or search result. Pass it verbatim. */
|
|
6706
6706
|
chat_id: string;
|
|
6707
|
-
/** @description The message id in the "2
|
|
6707
|
+
/** @description The message id in the "2-..." form, the id field of a messages list result. Always resolved scoped to its chat_id. */
|
|
6708
6708
|
message_id: string;
|
|
6709
6709
|
};
|
|
6710
6710
|
cookie?: never;
|
|
@@ -6725,9 +6725,9 @@ interface operations {
|
|
|
6725
6725
|
* @enum {string}
|
|
6726
6726
|
*/
|
|
6727
6727
|
object: "company_chat_message";
|
|
6728
|
-
/** @description The message id (2
|
|
6728
|
+
/** @description The message id (2-... form). */
|
|
6729
6729
|
id: string;
|
|
6730
|
-
/** @description The parent conversation id (2
|
|
6730
|
+
/** @description The parent conversation id (2-... form). */
|
|
6731
6731
|
conversation_id: string;
|
|
6732
6732
|
sender: {
|
|
6733
6733
|
/** @description Sender's member id. */
|
|
@@ -6883,7 +6883,7 @@ interface operations {
|
|
|
6883
6883
|
* @enum {string}
|
|
6884
6884
|
*/
|
|
6885
6885
|
object: "company_chat";
|
|
6886
|
-
/** @description The conversation id (2
|
|
6886
|
+
/** @description The conversation id (2-... form): the key for retrieve-chat and get-messages. */
|
|
6887
6887
|
id: string;
|
|
6888
6888
|
/** @description Group vs 1:1 conversation. */
|
|
6889
6889
|
is_group_chat: boolean;
|
|
@@ -7743,7 +7743,7 @@ interface operations {
|
|
|
7743
7743
|
object: "people_search_result";
|
|
7744
7744
|
/** @description People search result items. */
|
|
7745
7745
|
items: {
|
|
7746
|
-
/** @description Opaque LinkedIn member URN for this person (e.g. ACoAA
|
|
7746
|
+
/** @description Opaque LinkedIn member URN for this person (e.g. ACoAA...). */
|
|
7747
7747
|
id: string;
|
|
7748
7748
|
/** @description Numeric LinkedIn member id, distinct from id. Present when available. */
|
|
7749
7749
|
member_id?: string;
|
|
@@ -7778,7 +7778,7 @@ interface operations {
|
|
|
7778
7778
|
}[];
|
|
7779
7779
|
/** @description Paging metadata. */
|
|
7780
7780
|
paging: {
|
|
7781
|
-
/** @description Total matching result count. Large counts (people/companies/from-url) are a
|
|
7781
|
+
/** @description Total matching result count. Large counts (people/companies/from-url) are a >=1000 ceiling, not an exact total. */
|
|
7782
7782
|
total_count: number | null;
|
|
7783
7783
|
};
|
|
7784
7784
|
/** @description Opaque next-page cursor; null on the last page. */
|
|
@@ -7968,7 +7968,7 @@ interface operations {
|
|
|
7968
7968
|
}[];
|
|
7969
7969
|
/** @description Paging metadata. */
|
|
7970
7970
|
paging: {
|
|
7971
|
-
/** @description Total matching result count. Large counts are a
|
|
7971
|
+
/** @description Total matching result count. Large counts are a >=1000 ceiling, not an exact total. */
|
|
7972
7972
|
total_count: number | null;
|
|
7973
7973
|
};
|
|
7974
7974
|
/** @description Opaque next-page cursor; null on the last page. */
|
|
@@ -8611,7 +8611,7 @@ interface operations {
|
|
|
8611
8611
|
items: ({
|
|
8612
8612
|
/** @enum {string} */
|
|
8613
8613
|
object: "people_search_result";
|
|
8614
|
-
/** @description Opaque LinkedIn member URN for this person (e.g. ACoAA
|
|
8614
|
+
/** @description Opaque LinkedIn member URN for this person (e.g. ACoAA...). */
|
|
8615
8615
|
id: string;
|
|
8616
8616
|
/** @description Numeric LinkedIn member id, distinct from id. Present when available. */
|
|
8617
8617
|
member_id?: string;
|
|
@@ -8753,7 +8753,7 @@ interface operations {
|
|
|
8753
8753
|
})[];
|
|
8754
8754
|
/** @description Paging metadata. */
|
|
8755
8755
|
paging: {
|
|
8756
|
-
/** @description Total matching result count. Large counts are a
|
|
8756
|
+
/** @description Total matching result count. Large counts are a >=1000 ceiling, not an exact total. */
|
|
8757
8757
|
total_count: number | null;
|
|
8758
8758
|
};
|
|
8759
8759
|
/** @description Opaque next-page cursor; null on the last page. */
|
|
@@ -9045,7 +9045,7 @@ interface operations {
|
|
|
9045
9045
|
* @enum {string}
|
|
9046
9046
|
*/
|
|
9047
9047
|
object: "service_provider";
|
|
9048
|
-
/** @description The member id (ACoAAA
|
|
9048
|
+
/** @description The member id (ACoAAA...), the key for connect/message/enrich. */
|
|
9049
9049
|
id: string | null;
|
|
9050
9050
|
/** @description Display name. */
|
|
9051
9051
|
name: string | null;
|
|
@@ -9339,7 +9339,7 @@ interface operations {
|
|
|
9339
9339
|
};
|
|
9340
9340
|
header?: never;
|
|
9341
9341
|
path: {
|
|
9342
|
-
/** @description The account ID (`acc_
|
|
9342
|
+
/** @description The account ID (`acc_...`) whose chats to list. */
|
|
9343
9343
|
account_id: string;
|
|
9344
9344
|
};
|
|
9345
9345
|
cookie?: never;
|
|
@@ -9556,7 +9556,7 @@ interface operations {
|
|
|
9556
9556
|
query?: never;
|
|
9557
9557
|
header?: never;
|
|
9558
9558
|
path: {
|
|
9559
|
-
/** @description The account ID (`acc_
|
|
9559
|
+
/** @description The account ID (`acc_...`) to start the chat from. */
|
|
9560
9560
|
account_id: string;
|
|
9561
9561
|
};
|
|
9562
9562
|
cookie?: never;
|
|
@@ -9564,11 +9564,11 @@ interface operations {
|
|
|
9564
9564
|
requestBody: {
|
|
9565
9565
|
content: {
|
|
9566
9566
|
"application/json": {
|
|
9567
|
-
/** @description LinkedIn member provider IDs for the chat recipients (
|
|
9567
|
+
/** @description LinkedIn member provider IDs for the chat recipients (>= 1, e.g. ACo...). */
|
|
9568
9568
|
attendees_ids: string[];
|
|
9569
9569
|
/** @description Opening message text (1-8000 chars). */
|
|
9570
9570
|
text: string;
|
|
9571
|
-
/** @description Optional conversation name / subject line (
|
|
9571
|
+
/** @description Optional conversation name / subject line (<= 200 chars). */
|
|
9572
9572
|
subject?: string;
|
|
9573
9573
|
/** @description Optional file attachments (base64-encoded). */
|
|
9574
9574
|
attachments?: {
|
|
@@ -9724,7 +9724,7 @@ interface operations {
|
|
|
9724
9724
|
query?: never;
|
|
9725
9725
|
header?: never;
|
|
9726
9726
|
path: {
|
|
9727
|
-
/** @description The account ID (`acc_
|
|
9727
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
9728
9728
|
account_id: string;
|
|
9729
9729
|
/** @description The unique identifier of the chat to retrieve. */
|
|
9730
9730
|
chat_id: string;
|
|
@@ -9916,7 +9916,7 @@ interface operations {
|
|
|
9916
9916
|
query?: never;
|
|
9917
9917
|
header?: never;
|
|
9918
9918
|
path: {
|
|
9919
|
-
/** @description The account ID (`acc_
|
|
9919
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
9920
9920
|
account_id: string;
|
|
9921
9921
|
/** @description The unique identifier of the chat to update. */
|
|
9922
9922
|
chat_id: string;
|
|
@@ -10046,7 +10046,7 @@ interface operations {
|
|
|
10046
10046
|
};
|
|
10047
10047
|
header?: never;
|
|
10048
10048
|
path: {
|
|
10049
|
-
/** @description The account ID (`acc_
|
|
10049
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10050
10050
|
account_id: string;
|
|
10051
10051
|
/** @description The unique identifier of the chat to list messages from. */
|
|
10052
10052
|
chat_id: string;
|
|
@@ -10206,7 +10206,7 @@ interface operations {
|
|
|
10206
10206
|
query?: never;
|
|
10207
10207
|
header?: never;
|
|
10208
10208
|
path: {
|
|
10209
|
-
/** @description The account ID (`acc_
|
|
10209
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10210
10210
|
account_id: string;
|
|
10211
10211
|
/** @description The unique identifier of the chat to send the message to. A COMPANY_ chat id (e.g. 'COMPANY_83734124_2-YTQ3ODU3Njgt', from the inboxes endpoints) sends this message as that company page instead of the connected member. */
|
|
10212
10212
|
chat_id: string;
|
|
@@ -10233,7 +10233,7 @@ interface operations {
|
|
|
10233
10233
|
};
|
|
10234
10234
|
};
|
|
10235
10235
|
responses: {
|
|
10236
|
-
/** @description Message sent. Returns the new message_id and sent_as, the acting identity. Reply as a company page simply by sending into one of its chat ids (from GET /v1/{account_id}/inboxes/{inbox_id}/chats): a COMPANY_ chat id (e.g. `COMPANY_83734124_2
|
|
10236
|
+
/** @description Message sent. Returns the new message_id and sent_as, the acting identity. Reply as a company page simply by sending into one of its chat ids (from GET /v1/{account_id}/inboxes/{inbox_id}/chats): a COMPANY_ chat id (e.g. `COMPANY_83734124_2-...`) sends AS THE PAGE and echoes sent_as:{kind:'company',company_id,name} (company_id is null when the page could not be correlated to a managed page). Any other chat id sends as the connected member and echoes sent_as:{kind:'personal'}. Never infer the acting identity from the message's sender field, only from sent_as. */
|
|
10237
10237
|
201: {
|
|
10238
10238
|
headers: {
|
|
10239
10239
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -10373,7 +10373,7 @@ interface operations {
|
|
|
10373
10373
|
query?: never;
|
|
10374
10374
|
header?: never;
|
|
10375
10375
|
path: {
|
|
10376
|
-
/** @description The account ID (`acc_
|
|
10376
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10377
10377
|
account_id: string;
|
|
10378
10378
|
/** @description The unique identifier of the chat that contains the message. */
|
|
10379
10379
|
chat_id: string;
|
|
@@ -10517,7 +10517,7 @@ interface operations {
|
|
|
10517
10517
|
query?: never;
|
|
10518
10518
|
header?: never;
|
|
10519
10519
|
path: {
|
|
10520
|
-
/** @description The account ID (`acc_
|
|
10520
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10521
10521
|
account_id: string;
|
|
10522
10522
|
/** @description The unique identifier of the chat that contains the message. */
|
|
10523
10523
|
chat_id: string;
|
|
@@ -10629,7 +10629,7 @@ interface operations {
|
|
|
10629
10629
|
query?: never;
|
|
10630
10630
|
header?: never;
|
|
10631
10631
|
path: {
|
|
10632
|
-
/** @description The account ID (`acc_
|
|
10632
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10633
10633
|
account_id: string;
|
|
10634
10634
|
/** @description The unique identifier of the chat that contains the message. */
|
|
10635
10635
|
chat_id: string;
|
|
@@ -10757,7 +10757,7 @@ interface operations {
|
|
|
10757
10757
|
query?: never;
|
|
10758
10758
|
header?: never;
|
|
10759
10759
|
path: {
|
|
10760
|
-
/** @description The account ID (`acc_
|
|
10760
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10761
10761
|
account_id: string;
|
|
10762
10762
|
/** @description The unique identifier of the chat that contains the message. */
|
|
10763
10763
|
chat_id: string;
|
|
@@ -10769,7 +10769,7 @@ interface operations {
|
|
|
10769
10769
|
requestBody: {
|
|
10770
10770
|
content: {
|
|
10771
10771
|
"application/json": {
|
|
10772
|
-
/** @description Native emoji reaction value (e.g.
|
|
10772
|
+
/** @description Native emoji reaction value (e.g. a thumbs-up emoji). Must be a valid LinkedIn reaction emoji. */
|
|
10773
10773
|
reaction: string;
|
|
10774
10774
|
};
|
|
10775
10775
|
};
|
|
@@ -10878,7 +10878,7 @@ interface operations {
|
|
|
10878
10878
|
query?: never;
|
|
10879
10879
|
header?: never;
|
|
10880
10880
|
path: {
|
|
10881
|
-
/** @description The account ID (`acc_
|
|
10881
|
+
/** @description The account ID (`acc_...`) that owns the chat. */
|
|
10882
10882
|
account_id: string;
|
|
10883
10883
|
/** @description The unique identifier of the chat that contains the message. */
|
|
10884
10884
|
chat_id: string;
|
|
@@ -10991,7 +10991,7 @@ interface operations {
|
|
|
10991
10991
|
};
|
|
10992
10992
|
header?: never;
|
|
10993
10993
|
path: {
|
|
10994
|
-
/** @description The account ID (`acc_
|
|
10994
|
+
/** @description The account ID (`acc_...`) whose inbox to search. */
|
|
10995
10995
|
account_id: string;
|
|
10996
10996
|
};
|
|
10997
10997
|
cookie?: never;
|
|
@@ -11163,7 +11163,7 @@ interface operations {
|
|
|
11163
11163
|
query?: never;
|
|
11164
11164
|
header?: never;
|
|
11165
11165
|
path: {
|
|
11166
|
-
/** @description The account ID (`acc_
|
|
11166
|
+
/** @description The account ID (`acc_...`) to send the InMail from. */
|
|
11167
11167
|
account_id: string;
|
|
11168
11168
|
};
|
|
11169
11169
|
cookie?: never;
|
|
@@ -11171,7 +11171,7 @@ interface operations {
|
|
|
11171
11171
|
requestBody: {
|
|
11172
11172
|
content: {
|
|
11173
11173
|
"application/json": {
|
|
11174
|
-
/** @description LinkedIn member URN (`urn:li:member:<id>`) or member provider id (`ACo
|
|
11174
|
+
/** @description LinkedIn member URN (`urn:li:member:<id>`) or member provider id (`ACo...`). */
|
|
11175
11175
|
recipient_urn: string;
|
|
11176
11176
|
/** @description InMail subject line (1-200 chars). */
|
|
11177
11177
|
subject: string;
|
|
@@ -11307,7 +11307,7 @@ interface operations {
|
|
|
11307
11307
|
};
|
|
11308
11308
|
header?: never;
|
|
11309
11309
|
path: {
|
|
11310
|
-
/** @description The account ID (`acc_
|
|
11310
|
+
/** @description The account ID (`acc_...`) whose inboxes to list. */
|
|
11311
11311
|
account_id: string;
|
|
11312
11312
|
};
|
|
11313
11313
|
cookie?: never;
|
|
@@ -11435,7 +11435,7 @@ interface operations {
|
|
|
11435
11435
|
};
|
|
11436
11436
|
header?: never;
|
|
11437
11437
|
path: {
|
|
11438
|
-
/** @description The account ID (`acc_
|
|
11438
|
+
/** @description The account ID (`acc_...`) whose inbox to list. */
|
|
11439
11439
|
account_id: string;
|
|
11440
11440
|
/** @description The inbox ID (e.g. 'CLASSIC_PRIMARY' or 'COMPANY_83734124_PRIMARY') from GET /inboxes. */
|
|
11441
11441
|
inbox_id: string;
|
|
@@ -11685,7 +11685,7 @@ interface operations {
|
|
|
11685
11685
|
/** @description The post's author. On `sort=recent` only `name` resolves (`type` is `other`, the rest null). */
|
|
11686
11686
|
author: {
|
|
11687
11687
|
/**
|
|
11688
|
-
* @description Person
|
|
11688
|
+
* @description Person -> individual; company/showcase/sponsored -> organization; unresolved (every recent author) -> other.
|
|
11689
11689
|
* @enum {string}
|
|
11690
11690
|
*/
|
|
11691
11691
|
type: "individual" | "organization" | "other";
|
|
@@ -11695,7 +11695,7 @@ interface operations {
|
|
|
11695
11695
|
headline: string | null;
|
|
11696
11696
|
/** @description Relative time label as rendered ("6d", "1w") or "Promoted" for sponsored posts. Locale-dependent. null on recent. */
|
|
11697
11697
|
posted_ago: string | null;
|
|
11698
|
-
/** @description Obfuscated member id (ACoAA
|
|
11698
|
+
/** @description Obfuscated member id (ACoAA...), set for person authors (relevant). */
|
|
11699
11699
|
member_id: string | null;
|
|
11700
11700
|
/** @description Numeric member id, the strongest durable cross-action join key. Person authors (relevant). */
|
|
11701
11701
|
numeric_id: string | null;
|
|
@@ -11993,7 +11993,7 @@ interface operations {
|
|
|
11993
11993
|
path: {
|
|
11994
11994
|
/** @description The connected LinkedIn account whose notifications to read or act on. */
|
|
11995
11995
|
account_id: string;
|
|
11996
|
-
/** @description The card urn to delete, the `card_urn` field of a GET /v1/{account_id}/notifications item (urn:li:fsd_notificationCard
|
|
11996
|
+
/** @description The card urn to delete, the `card_urn` field of a GET /v1/{account_id}/notifications item (urn:li:fsd_notificationCard:...). Pass the card urn, NOT object_urn (which targets the wrong notification). Percent-encode it into the path. This cannot be undone. */
|
|
11997
11997
|
card_urn: string;
|
|
11998
11998
|
};
|
|
11999
11999
|
cookie?: never;
|
|
@@ -12224,7 +12224,7 @@ interface operations {
|
|
|
12224
12224
|
};
|
|
12225
12225
|
header?: never;
|
|
12226
12226
|
path: {
|
|
12227
|
-
/** @description The account ID (`acc_
|
|
12227
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
12228
12228
|
account_id: string;
|
|
12229
12229
|
/** @description "me" for the caller's own account, or another LinkedIn user's public identifier, member ID, or profile URL. */
|
|
12230
12230
|
user_id: string;
|
|
@@ -12304,10 +12304,14 @@ interface operations {
|
|
|
12304
12304
|
/** @description File size in bytes, when known. */
|
|
12305
12305
|
file_size?: number;
|
|
12306
12306
|
}[];
|
|
12307
|
-
/** @description The post this comment was made on. */
|
|
12307
|
+
/** @description The post this comment was made on. Use `urn` to tell whether you have already commented on a given post; `id` varies with the surface that returned it, `urn` does not. */
|
|
12308
12308
|
parent_post?: {
|
|
12309
|
-
/** @description The post's identifier. */
|
|
12309
|
+
/** @description The post's identifier as returned on this surface. Use this value, not `urn`, on sub-resource operations such as commenting. */
|
|
12310
12310
|
id?: string;
|
|
12311
|
+
/** @description Stable identifier for the parent post, in `urn:li:activity:ID` or `urn:li:ugcPost:ID` form. Compare it against a post's own `urn` to join a comment to its parent, including posts whose identity is a ugcPost. Also accepted as the post_id path param on get-post. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
|
|
12312
|
+
urn?: string | null;
|
|
12313
|
+
/** @description ISO-8601 UTC datetime the parent post was created, or null if unavailable. This is the post's own creation time, not the time of the comment. */
|
|
12314
|
+
created_at?: string | null;
|
|
12311
12315
|
/**
|
|
12312
12316
|
* @description Response type discriminator.
|
|
12313
12317
|
* @enum {string}
|
|
@@ -12409,9 +12413,9 @@ interface operations {
|
|
|
12409
12413
|
};
|
|
12410
12414
|
header?: never;
|
|
12411
12415
|
path: {
|
|
12412
|
-
/** @description The account ID (`acc_
|
|
12416
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
12413
12417
|
account_id: string;
|
|
12414
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
12418
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
12415
12419
|
post_id: string;
|
|
12416
12420
|
};
|
|
12417
12421
|
cookie?: never;
|
|
@@ -12577,9 +12581,9 @@ interface operations {
|
|
|
12577
12581
|
query?: never;
|
|
12578
12582
|
header?: never;
|
|
12579
12583
|
path: {
|
|
12580
|
-
/** @description The account ID (`acc_
|
|
12584
|
+
/** @description The account ID (`acc_...`) to comment as. */
|
|
12581
12585
|
account_id: string;
|
|
12582
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
12586
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
12583
12587
|
post_id: string;
|
|
12584
12588
|
};
|
|
12585
12589
|
cookie?: never;
|
|
@@ -12780,9 +12784,9 @@ interface operations {
|
|
|
12780
12784
|
query?: never;
|
|
12781
12785
|
header?: never;
|
|
12782
12786
|
path: {
|
|
12783
|
-
/** @description The account ID (`acc_
|
|
12787
|
+
/** @description The account ID (`acc_...`) to reply as. */
|
|
12784
12788
|
account_id: string;
|
|
12785
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
12789
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
12786
12790
|
post_id: string;
|
|
12787
12791
|
/** @description The parent comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
12788
12792
|
comment_id: string;
|
|
@@ -12985,9 +12989,9 @@ interface operations {
|
|
|
12985
12989
|
query?: never;
|
|
12986
12990
|
header?: never;
|
|
12987
12991
|
path: {
|
|
12988
|
-
/** @description The account ID (`acc_
|
|
12992
|
+
/** @description The account ID (`acc_...`) that authored the comment. */
|
|
12989
12993
|
account_id: string;
|
|
12990
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
12994
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
12991
12995
|
post_id: string;
|
|
12992
12996
|
/** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
12993
12997
|
comment_id: string;
|
|
@@ -13098,9 +13102,9 @@ interface operations {
|
|
|
13098
13102
|
query?: never;
|
|
13099
13103
|
header?: never;
|
|
13100
13104
|
path: {
|
|
13101
|
-
/** @description The account ID (`acc_
|
|
13105
|
+
/** @description The account ID (`acc_...`) that authored the comment. */
|
|
13102
13106
|
account_id: string;
|
|
13103
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
13107
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
13104
13108
|
post_id: string;
|
|
13105
13109
|
/** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
13106
13110
|
comment_id: string;
|
|
@@ -13279,9 +13283,9 @@ interface operations {
|
|
|
13279
13283
|
};
|
|
13280
13284
|
header?: never;
|
|
13281
13285
|
path: {
|
|
13282
|
-
/** @description The account ID (`acc_
|
|
13286
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
13283
13287
|
account_id: string;
|
|
13284
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
13288
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
13285
13289
|
post_id: string;
|
|
13286
13290
|
/** @description The parent comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
13287
13291
|
comment_id: string;
|
|
@@ -13456,9 +13460,9 @@ interface operations {
|
|
|
13456
13460
|
};
|
|
13457
13461
|
header?: never;
|
|
13458
13462
|
path: {
|
|
13459
|
-
/** @description The account ID (`acc_
|
|
13463
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
13460
13464
|
account_id: string;
|
|
13461
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
13465
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
13462
13466
|
post_id: string;
|
|
13463
13467
|
/** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
13464
13468
|
comment_id: string;
|
|
@@ -13594,9 +13598,9 @@ interface operations {
|
|
|
13594
13598
|
query?: never;
|
|
13595
13599
|
header?: never;
|
|
13596
13600
|
path: {
|
|
13597
|
-
/** @description The account ID (`acc_
|
|
13601
|
+
/** @description The account ID (`acc_...`) to react from. */
|
|
13598
13602
|
account_id: string;
|
|
13599
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
13603
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
13600
13604
|
post_id: string;
|
|
13601
13605
|
/** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
13602
13606
|
comment_id: string;
|
|
@@ -13732,9 +13736,9 @@ interface operations {
|
|
|
13732
13736
|
query?: never;
|
|
13733
13737
|
header?: never;
|
|
13734
13738
|
path: {
|
|
13735
|
-
/** @description The account ID (`acc_
|
|
13739
|
+
/** @description The account ID (`acc_...`) whose reaction to remove. */
|
|
13736
13740
|
account_id: string;
|
|
13737
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
13741
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
13738
13742
|
post_id: string;
|
|
13739
13743
|
/** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
|
|
13740
13744
|
comment_id: string;
|
|
@@ -13868,7 +13872,7 @@ interface operations {
|
|
|
13868
13872
|
query?: never;
|
|
13869
13873
|
header?: never;
|
|
13870
13874
|
path: {
|
|
13871
|
-
/** @description The account ID (`acc_
|
|
13875
|
+
/** @description The account ID (`acc_...`) to act on behalf of. */
|
|
13872
13876
|
account_id: string;
|
|
13873
13877
|
};
|
|
13874
13878
|
cookie?: never;
|
|
@@ -13898,7 +13902,7 @@ interface operations {
|
|
|
13898
13902
|
* @enum {string}
|
|
13899
13903
|
*/
|
|
13900
13904
|
object: "invitation_sent";
|
|
13901
|
-
/** @description Direction-prefixed connect-request id (SENT_
|
|
13905
|
+
/** @description Direction-prefixed connect-request id (SENT_...). */
|
|
13902
13906
|
id: string;
|
|
13903
13907
|
/**
|
|
13904
13908
|
* @description Outcome status.
|
|
@@ -14035,7 +14039,7 @@ interface operations {
|
|
|
14035
14039
|
};
|
|
14036
14040
|
header?: never;
|
|
14037
14041
|
path: {
|
|
14038
|
-
/** @description The account ID (`acc_
|
|
14042
|
+
/** @description The account ID (`acc_...`) to list sent connect-requests for. */
|
|
14039
14043
|
account_id: string;
|
|
14040
14044
|
};
|
|
14041
14045
|
cookie?: never;
|
|
@@ -14063,7 +14067,7 @@ interface operations {
|
|
|
14063
14067
|
* @enum {string}
|
|
14064
14068
|
*/
|
|
14065
14069
|
object: "invitation_sent";
|
|
14066
|
-
/** @description Direction-prefixed connect-request id (SENT_
|
|
14070
|
+
/** @description Direction-prefixed connect-request id (SENT_...). */
|
|
14067
14071
|
id: string;
|
|
14068
14072
|
/** @description ISO-8601 UTC datetime the connect-request was created. Optional, omitted when the platform does not return it. */
|
|
14069
14073
|
created_at?: string;
|
|
@@ -14189,7 +14193,7 @@ interface operations {
|
|
|
14189
14193
|
};
|
|
14190
14194
|
header?: never;
|
|
14191
14195
|
path: {
|
|
14192
|
-
/** @description The account ID (`acc_
|
|
14196
|
+
/** @description The account ID (`acc_...`) to list received connect-requests for. */
|
|
14193
14197
|
account_id: string;
|
|
14194
14198
|
};
|
|
14195
14199
|
cookie?: never;
|
|
@@ -14217,7 +14221,7 @@ interface operations {
|
|
|
14217
14221
|
* @enum {string}
|
|
14218
14222
|
*/
|
|
14219
14223
|
object: "invitation_received";
|
|
14220
|
-
/** @description Direction-prefixed connect-request id (RECEIVED_
|
|
14224
|
+
/** @description Direction-prefixed connect-request id (RECEIVED_...). */
|
|
14221
14225
|
id: string;
|
|
14222
14226
|
/** @description ISO-8601 UTC datetime the connect-request was created. Optional, omitted when the platform does not return it. */
|
|
14223
14227
|
created_at?: string;
|
|
@@ -14342,7 +14346,7 @@ interface operations {
|
|
|
14342
14346
|
query?: never;
|
|
14343
14347
|
header?: never;
|
|
14344
14348
|
path: {
|
|
14345
|
-
/** @description The account ID (`acc_
|
|
14349
|
+
/** @description The account ID (`acc_...`) to act on behalf of. */
|
|
14346
14350
|
account_id: string;
|
|
14347
14351
|
/** @description The received connect-request's id (from GET .../invites/received items[].id). */
|
|
14348
14352
|
invitation_id: string;
|
|
@@ -14457,7 +14461,7 @@ interface operations {
|
|
|
14457
14461
|
query?: never;
|
|
14458
14462
|
header?: never;
|
|
14459
14463
|
path: {
|
|
14460
|
-
/** @description The account ID (`acc_
|
|
14464
|
+
/** @description The account ID (`acc_...`) to act on behalf of. */
|
|
14461
14465
|
account_id: string;
|
|
14462
14466
|
/** @description The received connect-request's id (from GET .../invites/received items[].id). */
|
|
14463
14467
|
invitation_id: string;
|
|
@@ -14572,7 +14576,7 @@ interface operations {
|
|
|
14572
14576
|
query?: never;
|
|
14573
14577
|
header?: never;
|
|
14574
14578
|
path: {
|
|
14575
|
-
/** @description The account ID (`acc_
|
|
14579
|
+
/** @description The account ID (`acc_...`) to act on behalf of. */
|
|
14576
14580
|
account_id: string;
|
|
14577
14581
|
/** @description The sent connect-request's id to withdraw. */
|
|
14578
14582
|
invitation_id: string;
|
|
@@ -16531,7 +16535,7 @@ interface operations {
|
|
|
16531
16535
|
query?: never;
|
|
16532
16536
|
header?: never;
|
|
16533
16537
|
path: {
|
|
16534
|
-
/** @description The account ID (`acc_
|
|
16538
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
16535
16539
|
account_id: string;
|
|
16536
16540
|
/** @description The post's `id`, as returned by get-post / list-posts. Full LinkedIn share URLs are also accepted (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
16537
16541
|
post_id: string;
|
|
@@ -16554,15 +16558,17 @@ interface operations {
|
|
|
16554
16558
|
* @enum {string}
|
|
16555
16559
|
*/
|
|
16556
16560
|
object?: "post";
|
|
16557
|
-
/** @description The post's own identifier, use this value as the post_id path param on sub-resource endpoints. */
|
|
16561
|
+
/** @description The post's own identifier as returned on this surface, use this value as the post_id path param on sub-resource endpoints. Its exact value can differ between two responses about the same post, so compare `urn` rather than `id` when you need to tell whether two responses describe one post. */
|
|
16558
16562
|
id?: string;
|
|
16563
|
+
/** @description Stable identifier for the post itself, in `urn:li:activity:ID` or `urn:li:ugcPost:ID` form. Unlike `id`, this value is the same however you reached the post, so compare it to decide whether two responses describe the same post; a comment's `parent_post.urn` joins to it directly. For a repost it names the post being reshared, so reshares of one post share a `urn` while each keeps its own `created_at`. It is also accepted as the post_id path param on get-post; sub-resource operations still need the opaque `id`. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
|
|
16564
|
+
urn?: string | null;
|
|
16559
16565
|
/** @description Shareable URL for the post. */
|
|
16560
16566
|
share_url?: string | null;
|
|
16561
16567
|
/** @description Post title, or null if not set. */
|
|
16562
16568
|
title?: string | null;
|
|
16563
16569
|
/** @description Full post text (content pass-through, never stored). */
|
|
16564
16570
|
text?: string | null;
|
|
16565
|
-
/** @description ISO-8601 UTC datetime
|
|
16571
|
+
/** @description ISO-8601 UTC datetime this post was created, or null if unavailable. Derived from the post's own identity, so it does not change with the route you used to reach it. For a repost this is when the repost was made, not when the post it reshares was, so it is safe to sort by recency. */
|
|
16566
16572
|
created_at?: string | null;
|
|
16567
16573
|
/** @description Total comment count, or null when the platform hides it. */
|
|
16568
16574
|
comment_count?: number | null;
|
|
@@ -16706,7 +16712,7 @@ interface operations {
|
|
|
16706
16712
|
query?: never;
|
|
16707
16713
|
header?: never;
|
|
16708
16714
|
path: {
|
|
16709
|
-
/** @description The account ID (`acc_
|
|
16715
|
+
/** @description The account ID (`acc_...`) that owns the post. */
|
|
16710
16716
|
account_id: string;
|
|
16711
16717
|
/** @description The post's `id`, as returned by get-post / list-posts. Full LinkedIn share URLs are also accepted (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
16712
16718
|
post_id: string;
|
|
@@ -16817,7 +16823,7 @@ interface operations {
|
|
|
16817
16823
|
query?: never;
|
|
16818
16824
|
header?: never;
|
|
16819
16825
|
path: {
|
|
16820
|
-
/** @description The account ID (`acc_
|
|
16826
|
+
/** @description The account ID (`acc_...`) to post as. */
|
|
16821
16827
|
account_id: string;
|
|
16822
16828
|
};
|
|
16823
16829
|
cookie?: never;
|
|
@@ -16987,7 +16993,7 @@ interface operations {
|
|
|
16987
16993
|
};
|
|
16988
16994
|
header?: never;
|
|
16989
16995
|
path: {
|
|
16990
|
-
/** @description The account ID (`acc_
|
|
16996
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
16991
16997
|
account_id: string;
|
|
16992
16998
|
/** @description "me" for the caller's own account, or another LinkedIn user's public identifier, member ID, or profile URL. */
|
|
16993
16999
|
user_id: string;
|
|
@@ -17017,15 +17023,17 @@ interface operations {
|
|
|
17017
17023
|
* @enum {string}
|
|
17018
17024
|
*/
|
|
17019
17025
|
object?: "post";
|
|
17020
|
-
/** @description The post's own identifier, use this value as the post_id path param on sub-resource endpoints. */
|
|
17026
|
+
/** @description The post's own identifier as returned on this surface, use this value as the post_id path param on sub-resource endpoints. Its exact value can differ between two responses about the same post, so compare `urn` rather than `id` when you need to tell whether two responses describe one post. */
|
|
17021
17027
|
id?: string;
|
|
17028
|
+
/** @description Stable identifier for the post itself, in `urn:li:activity:ID` or `urn:li:ugcPost:ID` form. Unlike `id`, this value is the same however you reached the post, so compare it to decide whether two responses describe the same post; a comment's `parent_post.urn` joins to it directly. For a repost it names the post being reshared, so reshares of one post share a `urn` while each keeps its own `created_at`. It is also accepted as the post_id path param on get-post; sub-resource operations still need the opaque `id`. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
|
|
17029
|
+
urn?: string | null;
|
|
17022
17030
|
/** @description Shareable URL for the post. */
|
|
17023
17031
|
share_url?: string | null;
|
|
17024
17032
|
/** @description Post title, or null if not set. */
|
|
17025
17033
|
title?: string | null;
|
|
17026
17034
|
/** @description Full post text (content pass-through, never stored). */
|
|
17027
17035
|
text?: string | null;
|
|
17028
|
-
/** @description ISO-8601 UTC datetime
|
|
17036
|
+
/** @description ISO-8601 UTC datetime this post was created, or null if unavailable. Derived from the post's own identity, so it does not change with the route you used to reach it. For a repost this is when the repost was made, not when the post it reshares was, so it is safe to sort by recency. */
|
|
17029
17037
|
created_at?: string | null;
|
|
17030
17038
|
/** @description Total comment count, or null when the platform hides it. */
|
|
17031
17039
|
comment_count?: number | null;
|
|
@@ -17177,9 +17185,9 @@ interface operations {
|
|
|
17177
17185
|
};
|
|
17178
17186
|
header?: never;
|
|
17179
17187
|
path: {
|
|
17180
|
-
/** @description The account ID (`acc_
|
|
17188
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
17181
17189
|
account_id: string;
|
|
17182
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
17190
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
17183
17191
|
post_id: string;
|
|
17184
17192
|
};
|
|
17185
17193
|
cookie?: never;
|
|
@@ -17320,9 +17328,9 @@ interface operations {
|
|
|
17320
17328
|
query?: never;
|
|
17321
17329
|
header?: never;
|
|
17322
17330
|
path: {
|
|
17323
|
-
/** @description The account ID (`acc_
|
|
17331
|
+
/** @description The account ID (`acc_...`) to react from. */
|
|
17324
17332
|
account_id: string;
|
|
17325
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
17333
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
17326
17334
|
post_id: string;
|
|
17327
17335
|
};
|
|
17328
17336
|
cookie?: never;
|
|
@@ -17454,9 +17462,9 @@ interface operations {
|
|
|
17454
17462
|
query?: never;
|
|
17455
17463
|
header?: never;
|
|
17456
17464
|
path: {
|
|
17457
|
-
/** @description The account ID (`acc_
|
|
17465
|
+
/** @description The account ID (`acc_...`) whose reaction to remove. */
|
|
17458
17466
|
account_id: string;
|
|
17459
|
-
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li
|
|
17467
|
+
/** @description The post's `id` exactly as returned by get-post / list-posts (the opaque id form). Other id forms (bare numeric, `urn:li:...`, share URLs) are not accepted on this operation; fetch the post first and use its `id` verbatim. */
|
|
17460
17468
|
post_id: string;
|
|
17461
17469
|
};
|
|
17462
17470
|
cookie?: never;
|
|
@@ -17591,7 +17599,7 @@ interface operations {
|
|
|
17591
17599
|
};
|
|
17592
17600
|
header?: never;
|
|
17593
17601
|
path: {
|
|
17594
|
-
/** @description The account ID (`acc_
|
|
17602
|
+
/** @description The account ID (`acc_...`) to use for the request. */
|
|
17595
17603
|
account_id: string;
|
|
17596
17604
|
/** @description "me" for the caller's own account, or another LinkedIn user's public identifier, member ID, or profile URL. */
|
|
17597
17605
|
user_id: string;
|
|
@@ -17630,8 +17638,20 @@ interface operations {
|
|
|
17630
17638
|
is_sender?: boolean;
|
|
17631
17639
|
/** @description The user who made the reaction. */
|
|
17632
17640
|
sender?: Record<string, never>;
|
|
17633
|
-
/** @description The post this reaction was made on (full Post or a lighter preview). */
|
|
17634
|
-
parent_post?:
|
|
17641
|
+
/** @description The post this reaction was made on (full Post or a lighter preview). Its `urn` is the stable identifier for that post, so compare it against a post's own `urn` to tell whether you already reacted to it. */
|
|
17642
|
+
parent_post?: {
|
|
17643
|
+
/**
|
|
17644
|
+
* @description Response type discriminator.
|
|
17645
|
+
* @enum {string}
|
|
17646
|
+
*/
|
|
17647
|
+
object?: "post";
|
|
17648
|
+
/** @description The post's identifier as returned on this surface. Use this value, not `urn`, on sub-resource operations. */
|
|
17649
|
+
id?: string;
|
|
17650
|
+
/** @description Stable identifier for the parent post, in `urn:li:activity:ID` or `urn:li:ugcPost:ID` form. Also accepted as the post_id path param on get-post. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
|
|
17651
|
+
urn?: string | null;
|
|
17652
|
+
/** @description ISO-8601 UTC datetime the parent post was created, or null if unavailable. This is the post's own creation time, not the time of the reaction. */
|
|
17653
|
+
created_at?: string | null;
|
|
17654
|
+
};
|
|
17635
17655
|
}[];
|
|
17636
17656
|
/** @description Next-page cursor; null on the last page. */
|
|
17637
17657
|
cursor?: string | null;
|
|
@@ -17725,7 +17745,7 @@ interface operations {
|
|
|
17725
17745
|
};
|
|
17726
17746
|
header?: never;
|
|
17727
17747
|
path: {
|
|
17728
|
-
/** @description The account ID (`acc_
|
|
17748
|
+
/** @description The account ID (`acc_...`) whose OWN saved posts to list. */
|
|
17729
17749
|
account_id: string;
|
|
17730
17750
|
};
|
|
17731
17751
|
cookie?: never;
|
|
@@ -17885,7 +17905,7 @@ interface operations {
|
|
|
17885
17905
|
query?: never;
|
|
17886
17906
|
header?: never;
|
|
17887
17907
|
path: {
|
|
17888
|
-
/** @description The account ID (`acc_
|
|
17908
|
+
/** @description The account ID (`acc_...`) that performs the save. */
|
|
17889
17909
|
account_id: string;
|
|
17890
17910
|
};
|
|
17891
17911
|
cookie?: never;
|
|
@@ -18011,7 +18031,7 @@ interface operations {
|
|
|
18011
18031
|
query?: never;
|
|
18012
18032
|
header?: never;
|
|
18013
18033
|
path: {
|
|
18014
|
-
/** @description The account ID (`acc_
|
|
18034
|
+
/** @description The account ID (`acc_...`) that performs the unsave. */
|
|
18015
18035
|
account_id: string;
|
|
18016
18036
|
/** @description The post to unsave. Accepts `urn:li:activity:<id>` or a bare numeric `<id>`. */
|
|
18017
18037
|
post_id: string;
|
|
@@ -18135,7 +18155,7 @@ interface operations {
|
|
|
18135
18155
|
};
|
|
18136
18156
|
header?: never;
|
|
18137
18157
|
path: {
|
|
18138
|
-
/** @description The account ID (`acc_
|
|
18158
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the profile view. */
|
|
18139
18159
|
account_id: string;
|
|
18140
18160
|
/** @description The target profile: 'me', a public identifier, or a member ID. */
|
|
18141
18161
|
user_id: string;
|
|
@@ -18365,7 +18385,7 @@ interface operations {
|
|
|
18365
18385
|
query?: never;
|
|
18366
18386
|
header?: never;
|
|
18367
18387
|
path: {
|
|
18368
|
-
/** @description The account ID (`acc_
|
|
18388
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat starts the chat. */
|
|
18369
18389
|
account_id: string;
|
|
18370
18390
|
};
|
|
18371
18391
|
cookie?: never;
|
|
@@ -18373,11 +18393,11 @@ interface operations {
|
|
|
18373
18393
|
requestBody: {
|
|
18374
18394
|
content: {
|
|
18375
18395
|
"application/json": {
|
|
18376
|
-
/** @description One or more Recruiter member IDs (AE
|
|
18396
|
+
/** @description One or more Recruiter member IDs (AE... format) to include in the chat. */
|
|
18377
18397
|
attendees_ids: string[];
|
|
18378
18398
|
/** @description Opening message text (1-8000 chars). Passed to the platform and discarded; never stored or logged. */
|
|
18379
18399
|
text: string;
|
|
18380
|
-
/** @description Subject line; REQUIRED for Recruiter (InMail-based messaging), unlike the classic surface (
|
|
18400
|
+
/** @description Subject line; REQUIRED for Recruiter (InMail-based messaging), unlike the classic surface (<= 200 chars). */
|
|
18381
18401
|
subject: string;
|
|
18382
18402
|
/** @description Sender signature; REQUIRED for Recruiter. Not stored or logged. */
|
|
18383
18403
|
signature: string;
|
|
@@ -18605,7 +18625,7 @@ interface operations {
|
|
|
18605
18625
|
};
|
|
18606
18626
|
header?: never;
|
|
18607
18627
|
path: {
|
|
18608
|
-
/** @description The account ID (`acc_
|
|
18628
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat performs the search. */
|
|
18609
18629
|
account_id: string;
|
|
18610
18630
|
};
|
|
18611
18631
|
cookie?: never;
|
|
@@ -18899,7 +18919,7 @@ interface operations {
|
|
|
18899
18919
|
};
|
|
18900
18920
|
header?: never;
|
|
18901
18921
|
path: {
|
|
18902
|
-
/** @description The account ID (`acc_
|
|
18922
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the parameters. */
|
|
18903
18923
|
account_id: string;
|
|
18904
18924
|
};
|
|
18905
18925
|
cookie?: never;
|
|
@@ -19088,7 +19108,7 @@ interface operations {
|
|
|
19088
19108
|
};
|
|
19089
19109
|
header?: never;
|
|
19090
19110
|
path: {
|
|
19091
|
-
/** @description The account ID (`acc_
|
|
19111
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat lists the projects. */
|
|
19092
19112
|
account_id: string;
|
|
19093
19113
|
};
|
|
19094
19114
|
cookie?: never;
|
|
@@ -19301,9 +19321,9 @@ interface operations {
|
|
|
19301
19321
|
query?: never;
|
|
19302
19322
|
header?: never;
|
|
19303
19323
|
path: {
|
|
19304
|
-
/** @description The account ID (`acc_
|
|
19324
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the project. */
|
|
19305
19325
|
account_id: string;
|
|
19306
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
19326
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
19307
19327
|
project_id: string;
|
|
19308
19328
|
};
|
|
19309
19329
|
cookie?: never;
|
|
@@ -19504,9 +19524,9 @@ interface operations {
|
|
|
19504
19524
|
query?: never;
|
|
19505
19525
|
header?: never;
|
|
19506
19526
|
path: {
|
|
19507
|
-
/** @description The account ID (`acc_
|
|
19527
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat edits the project. */
|
|
19508
19528
|
account_id: string;
|
|
19509
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
19529
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
19510
19530
|
project_id: string;
|
|
19511
19531
|
};
|
|
19512
19532
|
cookie?: never;
|
|
@@ -19666,9 +19686,9 @@ interface operations {
|
|
|
19666
19686
|
};
|
|
19667
19687
|
header?: never;
|
|
19668
19688
|
path: {
|
|
19669
|
-
/** @description The account ID (`acc_
|
|
19689
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat lists the pipeline. */
|
|
19670
19690
|
account_id: string;
|
|
19671
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
19691
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
19672
19692
|
project_id: string;
|
|
19673
19693
|
};
|
|
19674
19694
|
cookie?: never;
|
|
@@ -19910,9 +19930,9 @@ interface operations {
|
|
|
19910
19930
|
};
|
|
19911
19931
|
header?: never;
|
|
19912
19932
|
path: {
|
|
19913
|
-
/** @description The account ID (`acc_
|
|
19933
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat performs the search. */
|
|
19914
19934
|
account_id: string;
|
|
19915
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
19935
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
19916
19936
|
project_id: string;
|
|
19917
19937
|
};
|
|
19918
19938
|
cookie?: never;
|
|
@@ -20208,7 +20228,7 @@ interface operations {
|
|
|
20208
20228
|
};
|
|
20209
20229
|
header?: never;
|
|
20210
20230
|
path: {
|
|
20211
|
-
/** @description The account ID (`acc_
|
|
20231
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat performs the search. */
|
|
20212
20232
|
account_id: string;
|
|
20213
20233
|
};
|
|
20214
20234
|
cookie?: never;
|
|
@@ -20535,9 +20555,9 @@ interface operations {
|
|
|
20535
20555
|
query?: never;
|
|
20536
20556
|
header?: never;
|
|
20537
20557
|
path: {
|
|
20538
|
-
/** @description The account ID (`acc_
|
|
20558
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the job posting. */
|
|
20539
20559
|
account_id: string;
|
|
20540
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
20560
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
20541
20561
|
project_id: string;
|
|
20542
20562
|
};
|
|
20543
20563
|
cookie?: never;
|
|
@@ -20705,9 +20725,9 @@ interface operations {
|
|
|
20705
20725
|
query?: never;
|
|
20706
20726
|
header?: never;
|
|
20707
20727
|
path: {
|
|
20708
|
-
/** @description The account ID (`acc_
|
|
20728
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat creates the draft. */
|
|
20709
20729
|
account_id: string;
|
|
20710
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
20730
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
20711
20731
|
project_id: string;
|
|
20712
20732
|
};
|
|
20713
20733
|
cookie?: never;
|
|
@@ -20912,11 +20932,11 @@ interface operations {
|
|
|
20912
20932
|
query?: never;
|
|
20913
20933
|
header?: never;
|
|
20914
20934
|
path: {
|
|
20915
|
-
/** @description The account ID (`acc_
|
|
20935
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the budget. */
|
|
20916
20936
|
account_id: string;
|
|
20917
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
20937
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
20918
20938
|
project_id: string;
|
|
20919
|
-
/** @description The job posting ID. Obtain it from GET
|
|
20939
|
+
/** @description The job posting ID. Obtain it from GET .../recruiter/projects/{project_id}/jobs. */
|
|
20920
20940
|
job_id: string;
|
|
20921
20941
|
};
|
|
20922
20942
|
cookie?: never;
|
|
@@ -21074,7 +21094,7 @@ interface operations {
|
|
|
21074
21094
|
};
|
|
21075
21095
|
header?: never;
|
|
21076
21096
|
path: {
|
|
21077
|
-
/** @description The account ID (`acc_
|
|
21097
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat lists the job postings. */
|
|
21078
21098
|
account_id: string;
|
|
21079
21099
|
};
|
|
21080
21100
|
cookie?: never;
|
|
@@ -21221,7 +21241,7 @@ interface operations {
|
|
|
21221
21241
|
query?: never;
|
|
21222
21242
|
header?: never;
|
|
21223
21243
|
path: {
|
|
21224
|
-
/** @description The account ID (`acc_
|
|
21244
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat creates the draft. */
|
|
21225
21245
|
account_id: string;
|
|
21226
21246
|
};
|
|
21227
21247
|
cookie?: never;
|
|
@@ -21428,9 +21448,9 @@ interface operations {
|
|
|
21428
21448
|
query?: never;
|
|
21429
21449
|
header?: never;
|
|
21430
21450
|
path: {
|
|
21431
|
-
/** @description The account ID (`acc_
|
|
21451
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the job posting. */
|
|
21432
21452
|
account_id: string;
|
|
21433
|
-
/** @description The job posting ID. Obtain it from data[].id of GET
|
|
21453
|
+
/** @description The job posting ID. Obtain it from data[].id of GET .../recruiter/jobs. */
|
|
21434
21454
|
job_id: string;
|
|
21435
21455
|
};
|
|
21436
21456
|
cookie?: never;
|
|
@@ -21598,11 +21618,11 @@ interface operations {
|
|
|
21598
21618
|
query?: never;
|
|
21599
21619
|
header?: never;
|
|
21600
21620
|
path: {
|
|
21601
|
-
/** @description The account ID (`acc_
|
|
21621
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat edits the posting. */
|
|
21602
21622
|
account_id: string;
|
|
21603
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
21623
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
21604
21624
|
project_id: string;
|
|
21605
|
-
/** @description The job posting ID. Obtain it from GET
|
|
21625
|
+
/** @description The job posting ID. Obtain it from GET .../recruiter/projects/{project_id}/jobs. */
|
|
21606
21626
|
job_id: string;
|
|
21607
21627
|
};
|
|
21608
21628
|
cookie?: never;
|
|
@@ -21805,11 +21825,11 @@ interface operations {
|
|
|
21805
21825
|
query?: never;
|
|
21806
21826
|
header?: never;
|
|
21807
21827
|
path: {
|
|
21808
|
-
/** @description The account ID (`acc_
|
|
21828
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat publishes the posting. */
|
|
21809
21829
|
account_id: string;
|
|
21810
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
21830
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
21811
21831
|
project_id: string;
|
|
21812
|
-
/** @description The job posting ID. Obtain it from GET
|
|
21832
|
+
/** @description The job posting ID. Obtain it from GET .../recruiter/projects/{project_id}/jobs. */
|
|
21813
21833
|
job_id: string;
|
|
21814
21834
|
};
|
|
21815
21835
|
cookie?: never;
|
|
@@ -21990,11 +22010,11 @@ interface operations {
|
|
|
21990
22010
|
query?: never;
|
|
21991
22011
|
header?: never;
|
|
21992
22012
|
path: {
|
|
21993
|
-
/** @description The account ID (`acc_
|
|
22013
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat closes the posting. */
|
|
21994
22014
|
account_id: string;
|
|
21995
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
22015
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
21996
22016
|
project_id: string;
|
|
21997
|
-
/** @description The job posting ID. Obtain it from GET
|
|
22017
|
+
/** @description The job posting ID. Obtain it from GET .../recruiter/projects/{project_id}/jobs. */
|
|
21998
22018
|
job_id: string;
|
|
21999
22019
|
};
|
|
22000
22020
|
cookie?: never;
|
|
@@ -22118,9 +22138,9 @@ interface operations {
|
|
|
22118
22138
|
query?: never;
|
|
22119
22139
|
header?: never;
|
|
22120
22140
|
path: {
|
|
22121
|
-
/** @description The account ID (`acc_
|
|
22141
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat saves the candidate. */
|
|
22122
22142
|
account_id: string;
|
|
22123
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
22143
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
22124
22144
|
project_id: string;
|
|
22125
22145
|
};
|
|
22126
22146
|
cookie?: never;
|
|
@@ -22258,9 +22278,9 @@ interface operations {
|
|
|
22258
22278
|
};
|
|
22259
22279
|
header?: never;
|
|
22260
22280
|
path: {
|
|
22261
|
-
/** @description The account ID (`acc_
|
|
22281
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat lists the applicants. */
|
|
22262
22282
|
account_id: string;
|
|
22263
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
22283
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
22264
22284
|
project_id: string;
|
|
22265
22285
|
};
|
|
22266
22286
|
cookie?: never;
|
|
@@ -22401,7 +22421,7 @@ interface operations {
|
|
|
22401
22421
|
id: string;
|
|
22402
22422
|
/** @description ISO-8601 timestamp when the application was submitted. */
|
|
22403
22423
|
applied_at: string;
|
|
22404
|
-
/** @description Whether the applicant has a downloadable résumé. Gates GET
|
|
22424
|
+
/** @description Whether the applicant has a downloadable résumé. Gates GET .../resume. */
|
|
22405
22425
|
has_resume?: boolean;
|
|
22406
22426
|
/** @description Screening-question responses. */
|
|
22407
22427
|
screening_questions?: {
|
|
@@ -22575,9 +22595,9 @@ interface operations {
|
|
|
22575
22595
|
query?: never;
|
|
22576
22596
|
header?: never;
|
|
22577
22597
|
path: {
|
|
22578
|
-
/** @description The account ID (`acc_
|
|
22598
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat resolves the applicant. */
|
|
22579
22599
|
account_id: string;
|
|
22580
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
22600
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
22581
22601
|
project_id: string;
|
|
22582
22602
|
/** @description The applicant ID, obtained from the list applicants endpoint's data[].id. */
|
|
22583
22603
|
applicant_id: string;
|
|
@@ -22604,7 +22624,7 @@ interface operations {
|
|
|
22604
22624
|
id: string;
|
|
22605
22625
|
/** @description ISO-8601 timestamp when the application was submitted. */
|
|
22606
22626
|
applied_at: string;
|
|
22607
|
-
/** @description Whether the applicant has a downloadable résumé. Gates GET
|
|
22627
|
+
/** @description Whether the applicant has a downloadable résumé. Gates GET .../resume. */
|
|
22608
22628
|
has_resume?: boolean;
|
|
22609
22629
|
/** @description Screening-question responses. */
|
|
22610
22630
|
screening_questions?: {
|
|
@@ -22773,9 +22793,9 @@ interface operations {
|
|
|
22773
22793
|
query?: never;
|
|
22774
22794
|
header?: never;
|
|
22775
22795
|
path: {
|
|
22776
|
-
/** @description The account ID (`acc_
|
|
22796
|
+
/** @description The account ID (`acc_...`) whose Recruiter seat downloads the résumé. */
|
|
22777
22797
|
account_id: string;
|
|
22778
|
-
/** @description The project ID. Obtain it from data[].id of GET
|
|
22798
|
+
/** @description The project ID. Obtain it from data[].id of GET .../recruiter/projects. */
|
|
22779
22799
|
project_id: string;
|
|
22780
22800
|
/** @description The applicant ID, obtained from the list applicants endpoint's data[].id. */
|
|
22781
22801
|
applicant_id: string;
|
|
@@ -22895,7 +22915,7 @@ interface operations {
|
|
|
22895
22915
|
query?: never;
|
|
22896
22916
|
header?: never;
|
|
22897
22917
|
path: {
|
|
22898
|
-
/** @description The account ID (`acc_
|
|
22918
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat starts the chat. */
|
|
22899
22919
|
account_id: string;
|
|
22900
22920
|
};
|
|
22901
22921
|
cookie?: never;
|
|
@@ -22903,11 +22923,11 @@ interface operations {
|
|
|
22903
22923
|
requestBody: {
|
|
22904
22924
|
content: {
|
|
22905
22925
|
"application/json": {
|
|
22906
|
-
/** @description Sales Navigator member IDs for the chat recipients (
|
|
22926
|
+
/** @description Sales Navigator member IDs for the chat recipients (>= 1, e.g. ACw...). */
|
|
22907
22927
|
attendees_ids: string[];
|
|
22908
22928
|
/** @description Opening message text (1-8000 chars). Not stored or logged. */
|
|
22909
22929
|
text: string;
|
|
22910
|
-
/** @description Subject line; REQUIRED for Sales Navigator (InMail-based messaging), unlike the classic surface where it is optional (
|
|
22930
|
+
/** @description Subject line; REQUIRED for Sales Navigator (InMail-based messaging), unlike the classic surface where it is optional (<= 200 chars). Maps into the SN-only specifics branch. */
|
|
22911
22931
|
subject: string;
|
|
22912
22932
|
/** @description Optional file / voice / video attachments (base64-encoded). */
|
|
22913
22933
|
attachments?: {
|
|
@@ -23075,7 +23095,7 @@ interface operations {
|
|
|
23075
23095
|
};
|
|
23076
23096
|
header?: never;
|
|
23077
23097
|
path: {
|
|
23078
|
-
/** @description The account ID (`acc_
|
|
23098
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat resolves the profile view. */
|
|
23079
23099
|
account_id: string;
|
|
23080
23100
|
/** @description The target profile's public LinkedIn identifier, 'me', or member ID. */
|
|
23081
23101
|
identifier: string;
|
|
@@ -23098,7 +23118,7 @@ interface operations {
|
|
|
23098
23118
|
* @enum {string}
|
|
23099
23119
|
*/
|
|
23100
23120
|
object: "profile";
|
|
23101
|
-
/** @description Opaque Sales Navigator identifier (ACw
|
|
23121
|
+
/** @description Opaque Sales Navigator identifier (ACw... format). */
|
|
23102
23122
|
id: string;
|
|
23103
23123
|
/**
|
|
23104
23124
|
* @description Entity kind.
|
|
@@ -23277,7 +23297,7 @@ interface operations {
|
|
|
23277
23297
|
};
|
|
23278
23298
|
header?: never;
|
|
23279
23299
|
path: {
|
|
23280
|
-
/** @description The account ID (`acc_
|
|
23300
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat owns the lists. */
|
|
23281
23301
|
account_id: string;
|
|
23282
23302
|
};
|
|
23283
23303
|
cookie?: never;
|
|
@@ -23433,7 +23453,7 @@ interface operations {
|
|
|
23433
23453
|
};
|
|
23434
23454
|
header?: never;
|
|
23435
23455
|
path: {
|
|
23436
|
-
/** @description The account ID (`acc_
|
|
23456
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat owns the lists. */
|
|
23437
23457
|
account_id: string;
|
|
23438
23458
|
};
|
|
23439
23459
|
cookie?: never;
|
|
@@ -23589,7 +23609,7 @@ interface operations {
|
|
|
23589
23609
|
};
|
|
23590
23610
|
header?: never;
|
|
23591
23611
|
path: {
|
|
23592
|
-
/** @description The account ID (`acc_
|
|
23612
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat owns the list. */
|
|
23593
23613
|
account_id: string;
|
|
23594
23614
|
/** @description The account-list id (from GET .../sales-navigator/account-lists). */
|
|
23595
23615
|
list_id: string;
|
|
@@ -23762,7 +23782,7 @@ interface operations {
|
|
|
23762
23782
|
};
|
|
23763
23783
|
header?: never;
|
|
23764
23784
|
path: {
|
|
23765
|
-
/** @description The account ID (`acc_
|
|
23785
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat owns the list. */
|
|
23766
23786
|
account_id: string;
|
|
23767
23787
|
/** @description The lead-list id (from GET .../sales-navigator/lead-lists). */
|
|
23768
23788
|
list_id: string;
|
|
@@ -23928,7 +23948,7 @@ interface operations {
|
|
|
23928
23948
|
query?: never;
|
|
23929
23949
|
header?: never;
|
|
23930
23950
|
path: {
|
|
23931
|
-
/** @description The account ID (`acc_
|
|
23951
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat saves the account. */
|
|
23932
23952
|
account_id: string;
|
|
23933
23953
|
/** @description The target account-list id to save the company into. */
|
|
23934
23954
|
list_id: string;
|
|
@@ -24065,7 +24085,7 @@ interface operations {
|
|
|
24065
24085
|
query?: never;
|
|
24066
24086
|
header?: never;
|
|
24067
24087
|
path: {
|
|
24068
|
-
/** @description The account ID (`acc_
|
|
24088
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat saves the lead. */
|
|
24069
24089
|
account_id: string;
|
|
24070
24090
|
/** @description The target lead-list id to save the member into. */
|
|
24071
24091
|
list_id: string;
|
|
@@ -24211,7 +24231,7 @@ interface operations {
|
|
|
24211
24231
|
};
|
|
24212
24232
|
header?: never;
|
|
24213
24233
|
path: {
|
|
24214
|
-
/** @description The account ID (`acc_
|
|
24234
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat resolves the parameters. */
|
|
24215
24235
|
account_id: string;
|
|
24216
24236
|
};
|
|
24217
24237
|
cookie?: never;
|
|
@@ -24358,7 +24378,7 @@ interface operations {
|
|
|
24358
24378
|
};
|
|
24359
24379
|
header?: never;
|
|
24360
24380
|
path: {
|
|
24361
|
-
/** @description The account ID (`acc_
|
|
24381
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat performs the search. */
|
|
24362
24382
|
account_id: string;
|
|
24363
24383
|
};
|
|
24364
24384
|
cookie?: never;
|
|
@@ -24537,7 +24557,7 @@ interface operations {
|
|
|
24537
24557
|
* @enum {string}
|
|
24538
24558
|
*/
|
|
24539
24559
|
object: "sn_people_search_result";
|
|
24540
|
-
/** @description Opaque Sales Navigator member ID (ACw
|
|
24560
|
+
/** @description Opaque Sales Navigator member ID (ACw... format). */
|
|
24541
24561
|
id: string;
|
|
24542
24562
|
/** @description Numeric member ID, distinct from id. Present when available. */
|
|
24543
24563
|
member_id?: string;
|
|
@@ -24742,7 +24762,7 @@ interface operations {
|
|
|
24742
24762
|
};
|
|
24743
24763
|
header?: never;
|
|
24744
24764
|
path: {
|
|
24745
|
-
/** @description The account ID (`acc_
|
|
24765
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat performs the search. */
|
|
24746
24766
|
account_id: string;
|
|
24747
24767
|
};
|
|
24748
24768
|
cookie?: never;
|
|
@@ -25004,7 +25024,7 @@ interface operations {
|
|
|
25004
25024
|
};
|
|
25005
25025
|
header?: never;
|
|
25006
25026
|
path: {
|
|
25007
|
-
/** @description The account ID (`acc_
|
|
25027
|
+
/** @description The account ID (`acc_...`) whose Sales Navigator seat performs the search. */
|
|
25008
25028
|
account_id: string;
|
|
25009
25029
|
};
|
|
25010
25030
|
cookie?: never;
|
|
@@ -25039,7 +25059,7 @@ interface operations {
|
|
|
25039
25059
|
* @enum {string}
|
|
25040
25060
|
*/
|
|
25041
25061
|
object: "sn_people_search_result";
|
|
25042
|
-
/** @description Opaque Sales Navigator member ID (ACw
|
|
25062
|
+
/** @description Opaque Sales Navigator member ID (ACw... format). */
|
|
25043
25063
|
id: string;
|
|
25044
25064
|
/** @description Numeric member ID, distinct from id. Present when available. */
|
|
25045
25065
|
member_id?: string;
|
|
@@ -25318,7 +25338,7 @@ interface operations {
|
|
|
25318
25338
|
*/
|
|
25319
25339
|
object?: "account_list";
|
|
25320
25340
|
items?: {
|
|
25321
|
-
/** @description Curviate account id (acc_
|
|
25341
|
+
/** @description Curviate account id (acc_...). */
|
|
25322
25342
|
account_id?: string;
|
|
25323
25343
|
/**
|
|
25324
25344
|
* @description Stable status whitelist.
|
|
@@ -25407,7 +25427,7 @@ interface operations {
|
|
|
25407
25427
|
query?: never;
|
|
25408
25428
|
header?: never;
|
|
25409
25429
|
path: {
|
|
25410
|
-
/** @description The account ID (`acc_
|
|
25430
|
+
/** @description The account ID (`acc_...`) of the account to retrieve. */
|
|
25411
25431
|
account_id: string;
|
|
25412
25432
|
};
|
|
25413
25433
|
cookie?: never;
|
|
@@ -25527,7 +25547,7 @@ interface operations {
|
|
|
25527
25547
|
query?: never;
|
|
25528
25548
|
header?: never;
|
|
25529
25549
|
path: {
|
|
25530
|
-
/** @description The account ID (`acc_
|
|
25550
|
+
/** @description The account ID (`acc_...`) of the account to disconnect. */
|
|
25531
25551
|
account_id: string;
|
|
25532
25552
|
};
|
|
25533
25553
|
cookie?: never;
|
|
@@ -25627,7 +25647,7 @@ interface operations {
|
|
|
25627
25647
|
query?: never;
|
|
25628
25648
|
header?: never;
|
|
25629
25649
|
path: {
|
|
25630
|
-
/** @description The account ID (`acc_
|
|
25650
|
+
/** @description The account ID (`acc_...`) of the account to update. */
|
|
25631
25651
|
account_id: string;
|
|
25632
25652
|
};
|
|
25633
25653
|
cookie?: never;
|
|
@@ -25635,7 +25655,7 @@ interface operations {
|
|
|
25635
25655
|
requestBody: {
|
|
25636
25656
|
content: {
|
|
25637
25657
|
"application/json": {
|
|
25638
|
-
/** @description Flat string
|
|
25658
|
+
/** @description Flat string->string map that replaces this account's custom-data store wholesale (unprovided keys are removed). */
|
|
25639
25659
|
metadata?: unknown;
|
|
25640
25660
|
/** @description Custom-proxy egress config, or null to clear it (revert to automatic proxy protection). Omit to leave it unchanged. */
|
|
25641
25661
|
proxy?: {
|
|
@@ -25873,7 +25893,7 @@ interface operations {
|
|
|
25873
25893
|
* @description Deprecated, use seat_id (same value). Removed at the GA /v1 cutover.
|
|
25874
25894
|
*/
|
|
25875
25895
|
attached_seat_id?: string | null;
|
|
25876
|
-
/** @description Present and true only when this connect
|
|
25896
|
+
/** @description Present and true only when this connect reactivated an account you had previously disconnected, instead of opening a brand-new one. Absent on a normal connect. The account keeps its original id, and its status reflects its real observed state, which may need a reconnect. */
|
|
25877
25897
|
recovered?: boolean;
|
|
25878
25898
|
};
|
|
25879
25899
|
};
|
|
@@ -26018,7 +26038,7 @@ interface operations {
|
|
|
26018
26038
|
"application/json": {
|
|
26019
26039
|
/** @description The account whose connect/reconnect is mid-flight (returned with the 202 checkpoint_required response). */
|
|
26020
26040
|
account_id: string;
|
|
26021
|
-
/** @description The OTP / 2FA verification code. Special value TRY_ANOTHER_WAY switches the challenge type (e.g. in-app
|
|
26041
|
+
/** @description The OTP / 2FA verification code. Special value TRY_ANOTHER_WAY switches the challenge type (e.g. in-app -> 2FA). */
|
|
26022
26042
|
code: string;
|
|
26023
26043
|
};
|
|
26024
26044
|
};
|
|
@@ -26048,7 +26068,7 @@ interface operations {
|
|
|
26048
26068
|
* @description Deprecated, use seat_id (same value). Removed at the GA /v1 cutover.
|
|
26049
26069
|
*/
|
|
26050
26070
|
attached_seat_id?: string | null;
|
|
26051
|
-
/** @description Present and true only when this connect
|
|
26071
|
+
/** @description Present and true only when this connect reactivated an account you had previously disconnected, instead of opening a brand-new one. Absent on a normal connect. The account keeps its original id, and its status reflects its real observed state, which may need a reconnect. */
|
|
26052
26072
|
recovered?: boolean;
|
|
26053
26073
|
};
|
|
26054
26074
|
};
|
|
@@ -26291,7 +26311,7 @@ interface operations {
|
|
|
26291
26311
|
};
|
|
26292
26312
|
};
|
|
26293
26313
|
responses: {
|
|
26294
|
-
/** @description The current state of the action-based (mobile-app-approval) challenge. object:"account" + status:"active" once approved (the account is now connected); object:"checkpoint" + status:"pending" while still waiting; status:"checkpoint_required" when the collect chained to a new challenge (e.g. approval
|
|
26314
|
+
/** @description The current state of the action-based (mobile-app-approval) challenge. object:"account" + status:"active" once approved (the account is now connected); object:"checkpoint" + status:"pending" while still waiting; status:"checkpoint_required" when the collect chained to a new challenge (e.g. approval -> 2FA), switch to submitting the new challenge_type; status:"expired"/"failed" on timeout/failure. object:"account" + recovered:true means the approval reactivated an account you had previously disconnected, which keeps its original id; its status is that account's real observed state, so it may be reconnect_needed rather than active. */
|
|
26295
26315
|
200: {
|
|
26296
26316
|
headers: {
|
|
26297
26317
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -26307,7 +26327,7 @@ interface operations {
|
|
|
26307
26327
|
object?: "account" | "checkpoint";
|
|
26308
26328
|
/** @enum {string} */
|
|
26309
26329
|
status?: "active" | "reconnect_needed" | "restricted" | "disconnected" | "pending" | "checkpoint_required" | "expired" | "failed";
|
|
26310
|
-
/** @description Present and true only when this approval
|
|
26330
|
+
/** @description Present and true only when this approval reactivated an account you had previously disconnected, instead of opening a brand-new one. Absent on a normal approval. The account keeps its original id, and its status reflects its real observed state, which may need a reconnect. */
|
|
26311
26331
|
recovered?: boolean;
|
|
26312
26332
|
/** @description Present on status:"active" (the connected account) and status:"checkpoint_required" (the account whose next challenge is pending). */
|
|
26313
26333
|
account_id?: string;
|
|
@@ -26421,14 +26441,14 @@ interface operations {
|
|
|
26421
26441
|
query?: never;
|
|
26422
26442
|
header?: never;
|
|
26423
26443
|
path: {
|
|
26424
|
-
/** @description The credential account id (acc_
|
|
26444
|
+
/** @description The credential account id (acc_...) returned by auth/intent or a checkpoint response, the handle for the in-progress connect. */
|
|
26425
26445
|
session_id: string;
|
|
26426
26446
|
};
|
|
26427
26447
|
cookie?: never;
|
|
26428
26448
|
};
|
|
26429
26449
|
requestBody?: never;
|
|
26430
26450
|
responses: {
|
|
26431
|
-
/** @description The current status of a credential connect session (acc_
|
|
26451
|
+
/** @description The current status of a credential connect session (acc_... id from auth/intent or a checkpoint response). Poll until status leaves checkpoint_required. account_id is present only once status is done. checkpoint_required carries challenge_type, the challenge still pending. failed carries no reason payload. */
|
|
26432
26452
|
200: {
|
|
26433
26453
|
headers: {
|
|
26434
26454
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -26442,14 +26462,14 @@ interface operations {
|
|
|
26442
26462
|
* @enum {string}
|
|
26443
26463
|
*/
|
|
26444
26464
|
object?: "auth_session";
|
|
26445
|
-
/** @description The account id polled (acc_
|
|
26465
|
+
/** @description The account id polled (acc_...). */
|
|
26446
26466
|
session_id?: string;
|
|
26447
26467
|
/**
|
|
26448
26468
|
* @description Lifecycle status. checkpoint_required (a challenge is pending, carries challenge_type) / done (connected) / expired (timed out) / failed (terminal failure).
|
|
26449
26469
|
* @enum {string}
|
|
26450
26470
|
*/
|
|
26451
26471
|
status?: "checkpoint_required" | "done" | "expired" | "failed";
|
|
26452
|
-
/** @description The connected account (acc_
|
|
26472
|
+
/** @description The connected account (acc_...); null until status is done. */
|
|
26453
26473
|
account_id?: string | null;
|
|
26454
26474
|
/** @description The pending challenge type. Present in checkpoint_required. */
|
|
26455
26475
|
challenge_type?: string;
|
|
@@ -27844,7 +27864,20 @@ declare class PostsResource {
|
|
|
27844
27864
|
constructor(ctx: RequestContext);
|
|
27845
27865
|
/** List comments on a post. `GET /v1/{account_id}/posts/{post_id}/comments` */
|
|
27846
27866
|
listComments(postId: string, params?: PostCommentListQuery): Promise<PostCommentListPage>;
|
|
27847
|
-
/**
|
|
27867
|
+
/**
|
|
27868
|
+
* Get a single post. `GET /v1/{account_id}/posts/{post_id}`
|
|
27869
|
+
*
|
|
27870
|
+
* @param postId - the post's `id` as returned by {@link listUserPosts} or
|
|
27871
|
+
* {@link create}. A bare numeric id (`7332661864792854528`), a URN
|
|
27872
|
+
* (`urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`), and a full
|
|
27873
|
+
* share URL (`https://www.linkedin.com/posts/...` or
|
|
27874
|
+
* `https://www.linkedin.com/feed/update/urn:li:activity:N`) all resolve to
|
|
27875
|
+
* the same post. Pass the value as-is; it is percent-encoded into the path
|
|
27876
|
+
* for you, so do not encode it yourself.
|
|
27877
|
+
*
|
|
27878
|
+
* {@link listComments} and the reaction operations are stricter: they take
|
|
27879
|
+
* the opaque `id` form only.
|
|
27880
|
+
*/
|
|
27848
27881
|
get(postId: string): Promise<PostDetail>;
|
|
27849
27882
|
/** Delete a post (bodyless, 204). `DELETE /v1/{account_id}/posts/{post_id}` */
|
|
27850
27883
|
delete(postId: string): Promise<PostDeleteResult>;
|