@curviate/sdk 0.23.0 → 0.24.1
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 +43 -0
- package/dist/index.d.ts +826 -67
- package/package.json +1 -1
- package/src/generated/types.ts +812 -65
package/dist/index.d.ts
CHANGED
|
@@ -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-... 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.
|
|
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, and 9 MiB for the whole request body; base64 makes a file about a third larger in the body than on disk), 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;
|
|
@@ -847,7 +847,7 @@ interface paths {
|
|
|
847
847
|
put?: never;
|
|
848
848
|
/**
|
|
849
849
|
* Start a chat
|
|
850
|
-
* @description Starts a new chat with one or more members from a connected account. Send application/json; attach files as base64-encoded attachments (max 5 MiB per file). Message content passes through to the platform and is never stored. Company pages are reply-only and cannot start a conversation; reply using a `COMPANY_` chat id from GET /v1/{account_id}/inboxes/{inbox_id}/chats instead.
|
|
850
|
+
* @description Starts a new chat with one or more members from a connected account. Send application/json; attach files as base64-encoded attachments (max 5 MiB per file, and 9 MiB for the whole request body; base64 makes a file about a third larger in the body than on disk). Message content passes through to the platform and is never stored. Company pages are reply-only and cannot start a conversation; reply using a `COMPANY_` chat id from GET /v1/{account_id}/inboxes/{inbox_id}/chats instead.
|
|
851
851
|
*/
|
|
852
852
|
post: operations["postV1AccountIdChats"];
|
|
853
853
|
delete?: never;
|
|
@@ -895,7 +895,7 @@ interface paths {
|
|
|
895
895
|
put?: never;
|
|
896
896
|
/**
|
|
897
897
|
* Send a message
|
|
898
|
-
* @description Sends a message into an existing chat. 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. Sending on behalf of a company page: use a COMPANY_ chat id (from GET /v1/{account_id}/inboxes/{inbox_id}/chats) and the message sends AS THE PAGE, no separate parameter needed. The response's sent_as field names the acting identity that was actually used. Company pages are reply-only: this endpoint can answer an existing conversation on a page's behalf, but a page can never start a new one.
|
|
898
|
+
* @description Sends a message into an existing chat. Send application/json with text, base64 attachments (max 5 MiB per file, and 9 MiB for the whole request body; base64 makes a file about a third larger in the body than on disk), or both; at least one of text or attachments is required. Message content passes through to the platform and is never stored. Sending on behalf of a company page: use a COMPANY_ chat id (from GET /v1/{account_id}/inboxes/{inbox_id}/chats) and the message sends AS THE PAGE, no separate parameter needed. The response's sent_as field names the acting identity that was actually used. Company pages are reply-only: this endpoint can answer an existing conversation on a page's behalf, but a page can never start a new one.
|
|
899
899
|
*/
|
|
900
900
|
post: operations["postV1AccountIdChatsChatIdMessages"];
|
|
901
901
|
delete?: never;
|
|
@@ -3375,7 +3375,7 @@ interface operations {
|
|
|
3375
3375
|
"application/json": components["schemas"]["Error"];
|
|
3376
3376
|
};
|
|
3377
3377
|
};
|
|
3378
|
-
/** @description
|
|
3378
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
3379
3379
|
413: {
|
|
3380
3380
|
headers: {
|
|
3381
3381
|
[name: string]: unknown;
|
|
@@ -3794,6 +3794,15 @@ interface operations {
|
|
|
3794
3794
|
"application/json": components["schemas"]["Error"];
|
|
3795
3795
|
};
|
|
3796
3796
|
};
|
|
3797
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
3798
|
+
413: {
|
|
3799
|
+
headers: {
|
|
3800
|
+
[name: string]: unknown;
|
|
3801
|
+
};
|
|
3802
|
+
content: {
|
|
3803
|
+
"application/json": components["schemas"]["Error"];
|
|
3804
|
+
};
|
|
3805
|
+
};
|
|
3797
3806
|
/** @description The account is restricted and cannot perform endorsements. */
|
|
3798
3807
|
422: {
|
|
3799
3808
|
headers: {
|
|
@@ -6035,6 +6044,15 @@ interface operations {
|
|
|
6035
6044
|
"application/json": components["schemas"]["Error"];
|
|
6036
6045
|
};
|
|
6037
6046
|
};
|
|
6047
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
6048
|
+
413: {
|
|
6049
|
+
headers: {
|
|
6050
|
+
[name: string]: unknown;
|
|
6051
|
+
};
|
|
6052
|
+
content: {
|
|
6053
|
+
"application/json": components["schemas"]["Error"];
|
|
6054
|
+
};
|
|
6055
|
+
};
|
|
6038
6056
|
/** @description The account is restricted and cannot perform this operation. */
|
|
6039
6057
|
422: {
|
|
6040
6058
|
headers: {
|
|
@@ -7050,7 +7068,7 @@ interface operations {
|
|
|
7050
7068
|
"application/json": components["schemas"]["Error"];
|
|
7051
7069
|
};
|
|
7052
7070
|
};
|
|
7053
|
-
/** @description Payload too large,
|
|
7071
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
7054
7072
|
413: {
|
|
7055
7073
|
headers: {
|
|
7056
7074
|
[name: string]: unknown;
|
|
@@ -8298,6 +8316,15 @@ interface operations {
|
|
|
8298
8316
|
"application/json": components["schemas"]["Error"];
|
|
8299
8317
|
};
|
|
8300
8318
|
};
|
|
8319
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
8320
|
+
413: {
|
|
8321
|
+
headers: {
|
|
8322
|
+
[name: string]: unknown;
|
|
8323
|
+
};
|
|
8324
|
+
content: {
|
|
8325
|
+
"application/json": components["schemas"]["Error"];
|
|
8326
|
+
};
|
|
8327
|
+
};
|
|
8301
8328
|
/** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
|
|
8302
8329
|
422: {
|
|
8303
8330
|
headers: {
|
|
@@ -8486,6 +8513,15 @@ interface operations {
|
|
|
8486
8513
|
"application/json": components["schemas"]["Error"];
|
|
8487
8514
|
};
|
|
8488
8515
|
};
|
|
8516
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
8517
|
+
413: {
|
|
8518
|
+
headers: {
|
|
8519
|
+
[name: string]: unknown;
|
|
8520
|
+
};
|
|
8521
|
+
content: {
|
|
8522
|
+
"application/json": components["schemas"]["Error"];
|
|
8523
|
+
};
|
|
8524
|
+
};
|
|
8489
8525
|
/** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
|
|
8490
8526
|
422: {
|
|
8491
8527
|
headers: {
|
|
@@ -8722,6 +8758,15 @@ interface operations {
|
|
|
8722
8758
|
"application/json": components["schemas"]["Error"];
|
|
8723
8759
|
};
|
|
8724
8760
|
};
|
|
8761
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
8762
|
+
413: {
|
|
8763
|
+
headers: {
|
|
8764
|
+
[name: string]: unknown;
|
|
8765
|
+
};
|
|
8766
|
+
content: {
|
|
8767
|
+
"application/json": components["schemas"]["Error"];
|
|
8768
|
+
};
|
|
8769
|
+
};
|
|
8725
8770
|
/** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
|
|
8726
8771
|
422: {
|
|
8727
8772
|
headers: {
|
|
@@ -8977,6 +9022,15 @@ interface operations {
|
|
|
8977
9022
|
"application/json": components["schemas"]["Error"];
|
|
8978
9023
|
};
|
|
8979
9024
|
};
|
|
9025
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
9026
|
+
413: {
|
|
9027
|
+
headers: {
|
|
9028
|
+
[name: string]: unknown;
|
|
9029
|
+
};
|
|
9030
|
+
content: {
|
|
9031
|
+
"application/json": components["schemas"]["Error"];
|
|
9032
|
+
};
|
|
9033
|
+
};
|
|
8980
9034
|
/** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
|
|
8981
9035
|
422: {
|
|
8982
9036
|
headers: {
|
|
@@ -9257,6 +9311,15 @@ interface operations {
|
|
|
9257
9311
|
"application/json": components["schemas"]["Error"];
|
|
9258
9312
|
};
|
|
9259
9313
|
};
|
|
9314
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
9315
|
+
413: {
|
|
9316
|
+
headers: {
|
|
9317
|
+
[name: string]: unknown;
|
|
9318
|
+
};
|
|
9319
|
+
content: {
|
|
9320
|
+
"application/json": components["schemas"]["Error"];
|
|
9321
|
+
};
|
|
9322
|
+
};
|
|
9260
9323
|
/** @description The account is restricted and cannot perform searches. */
|
|
9261
9324
|
422: {
|
|
9262
9325
|
headers: {
|
|
@@ -9589,6 +9652,15 @@ interface operations {
|
|
|
9589
9652
|
"application/json": components["schemas"]["Error"];
|
|
9590
9653
|
};
|
|
9591
9654
|
};
|
|
9655
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
9656
|
+
413: {
|
|
9657
|
+
headers: {
|
|
9658
|
+
[name: string]: unknown;
|
|
9659
|
+
};
|
|
9660
|
+
content: {
|
|
9661
|
+
"application/json": components["schemas"]["Error"];
|
|
9662
|
+
};
|
|
9663
|
+
};
|
|
9592
9664
|
/** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
|
|
9593
9665
|
422: {
|
|
9594
9666
|
headers: {
|
|
@@ -10145,7 +10217,7 @@ interface operations {
|
|
|
10145
10217
|
"application/json": components["schemas"]["Error"];
|
|
10146
10218
|
};
|
|
10147
10219
|
};
|
|
10148
|
-
/** @description Payload too large:
|
|
10220
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
10149
10221
|
413: {
|
|
10150
10222
|
headers: {
|
|
10151
10223
|
[name: string]: unknown;
|
|
@@ -10518,6 +10590,15 @@ interface operations {
|
|
|
10518
10590
|
"application/json": components["schemas"]["Error"];
|
|
10519
10591
|
};
|
|
10520
10592
|
};
|
|
10593
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
10594
|
+
413: {
|
|
10595
|
+
headers: {
|
|
10596
|
+
[name: string]: unknown;
|
|
10597
|
+
};
|
|
10598
|
+
content: {
|
|
10599
|
+
"application/json": components["schemas"]["Error"];
|
|
10600
|
+
};
|
|
10601
|
+
};
|
|
10521
10602
|
/** @description Rate limited. */
|
|
10522
10603
|
429: {
|
|
10523
10604
|
headers: {
|
|
@@ -10861,7 +10942,7 @@ interface operations {
|
|
|
10861
10942
|
"application/json": components["schemas"]["Error"];
|
|
10862
10943
|
};
|
|
10863
10944
|
};
|
|
10864
|
-
/** @description Payload too large:
|
|
10945
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
10865
10946
|
413: {
|
|
10866
10947
|
headers: {
|
|
10867
10948
|
[name: string]: unknown;
|
|
@@ -11296,6 +11377,15 @@ interface operations {
|
|
|
11296
11377
|
"application/json": components["schemas"]["Error"];
|
|
11297
11378
|
};
|
|
11298
11379
|
};
|
|
11380
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
11381
|
+
413: {
|
|
11382
|
+
headers: {
|
|
11383
|
+
[name: string]: unknown;
|
|
11384
|
+
};
|
|
11385
|
+
content: {
|
|
11386
|
+
"application/json": components["schemas"]["Error"];
|
|
11387
|
+
};
|
|
11388
|
+
};
|
|
11299
11389
|
/** @description The edit window (~60 minutes) has passed for this message. */
|
|
11300
11390
|
422: {
|
|
11301
11391
|
headers: {
|
|
@@ -11426,6 +11516,15 @@ interface operations {
|
|
|
11426
11516
|
"application/json": components["schemas"]["Error"];
|
|
11427
11517
|
};
|
|
11428
11518
|
};
|
|
11519
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
11520
|
+
413: {
|
|
11521
|
+
headers: {
|
|
11522
|
+
[name: string]: unknown;
|
|
11523
|
+
};
|
|
11524
|
+
content: {
|
|
11525
|
+
"application/json": components["schemas"]["Error"];
|
|
11526
|
+
};
|
|
11527
|
+
};
|
|
11429
11528
|
/** @description Rate limited. */
|
|
11430
11529
|
429: {
|
|
11431
11530
|
headers: {
|
|
@@ -11589,7 +11688,7 @@ interface operations {
|
|
|
11589
11688
|
query: string;
|
|
11590
11689
|
/** @description Maximum chats to return per page (1-100, default 20). The server may walk a few internal pages to fill one page. */
|
|
11591
11690
|
limit?: number;
|
|
11592
|
-
/** @description
|
|
11691
|
+
/** @description Pagination cursor from a previous response; decodable, wraps a zero-based item offset, pass it back verbatim. */
|
|
11593
11692
|
cursor?: string;
|
|
11594
11693
|
/** @description Additional response fields to resolve, comma-separated in a single value (for example expand=public_identifier). Accepted values: public_identifier. When requested, the field is present on every user object in the response, carrying either a value or null. Omit for the base fields only. Pass the parameter once; repeating it drops values. At most 25 people per request need an extra lookup to resolve; anyone beyond that carries null, so ask for a smaller page to resolve them all. */
|
|
11595
11694
|
expand?: string;
|
|
@@ -11857,6 +11956,15 @@ interface operations {
|
|
|
11857
11956
|
"application/json": components["schemas"]["Error"];
|
|
11858
11957
|
};
|
|
11859
11958
|
};
|
|
11959
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
11960
|
+
413: {
|
|
11961
|
+
headers: {
|
|
11962
|
+
[name: string]: unknown;
|
|
11963
|
+
};
|
|
11964
|
+
content: {
|
|
11965
|
+
"application/json": components["schemas"]["Error"];
|
|
11966
|
+
};
|
|
11967
|
+
};
|
|
11860
11968
|
/** @description The recipient is unreachable via InMail. */
|
|
11861
11969
|
422: {
|
|
11862
11970
|
headers: {
|
|
@@ -12703,6 +12811,15 @@ interface operations {
|
|
|
12703
12811
|
"application/json": components["schemas"]["Error"];
|
|
12704
12812
|
};
|
|
12705
12813
|
};
|
|
12814
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
12815
|
+
413: {
|
|
12816
|
+
headers: {
|
|
12817
|
+
[name: string]: unknown;
|
|
12818
|
+
};
|
|
12819
|
+
content: {
|
|
12820
|
+
"application/json": components["schemas"]["Error"];
|
|
12821
|
+
};
|
|
12822
|
+
};
|
|
12706
12823
|
/** @description Rate limited, retry after the hinted delay. */
|
|
12707
12824
|
429: {
|
|
12708
12825
|
headers: {
|
|
@@ -12817,6 +12934,15 @@ interface operations {
|
|
|
12817
12934
|
"application/json": components["schemas"]["Error"];
|
|
12818
12935
|
};
|
|
12819
12936
|
};
|
|
12937
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
12938
|
+
413: {
|
|
12939
|
+
headers: {
|
|
12940
|
+
[name: string]: unknown;
|
|
12941
|
+
};
|
|
12942
|
+
content: {
|
|
12943
|
+
"application/json": components["schemas"]["Error"];
|
|
12944
|
+
};
|
|
12945
|
+
};
|
|
12820
12946
|
/** @description Rate limited, retry after the hinted delay. */
|
|
12821
12947
|
429: {
|
|
12822
12948
|
headers: {
|
|
@@ -12927,16 +13053,18 @@ interface operations {
|
|
|
12927
13053
|
}[];
|
|
12928
13054
|
/** @description Total reaction count on this comment, the sum of reactions[].count. */
|
|
12929
13055
|
reaction_count?: number;
|
|
12930
|
-
/** @description Author of the comment. */
|
|
13056
|
+
/** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
|
|
12931
13057
|
author?: {
|
|
12932
13058
|
/** @description LinkedIn profile identifier. */
|
|
12933
13059
|
id?: string;
|
|
12934
|
-
/** @description Author entity discriminator. */
|
|
13060
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
12935
13061
|
object?: string;
|
|
12936
|
-
/** @description Author entity type (
|
|
13062
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
12937
13063
|
type?: string;
|
|
12938
|
-
/** @description Author's display name. */
|
|
13064
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
12939
13065
|
display_name?: string;
|
|
13066
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
13067
|
+
name?: string;
|
|
12940
13068
|
};
|
|
12941
13069
|
/** @description true if the authenticated account can reply to this comment. */
|
|
12942
13070
|
can_reply?: boolean;
|
|
@@ -12970,6 +13098,38 @@ interface operations {
|
|
|
12970
13098
|
* @enum {string}
|
|
12971
13099
|
*/
|
|
12972
13100
|
object?: "post";
|
|
13101
|
+
/** @description Shareable URL for the parent post. Present on the full form only. */
|
|
13102
|
+
share_url?: string | null;
|
|
13103
|
+
/** @description Full text of the parent post (content pass-through, never stored). Present on the full form only. */
|
|
13104
|
+
text?: string | null;
|
|
13105
|
+
/** @description true if the parent post is itself a repost. Present on the full form only. */
|
|
13106
|
+
is_repost?: boolean;
|
|
13107
|
+
/** @description Author of the parent post. Present on the full form only. */
|
|
13108
|
+
author?: {
|
|
13109
|
+
/** @description LinkedIn profile identifier. */
|
|
13110
|
+
id?: string;
|
|
13111
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
13112
|
+
object?: string;
|
|
13113
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
13114
|
+
type?: string;
|
|
13115
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
13116
|
+
display_name?: string;
|
|
13117
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
13118
|
+
name?: string;
|
|
13119
|
+
};
|
|
13120
|
+
/** @description Per-reaction-type count buckets on the parent post. Present on the full form only. */
|
|
13121
|
+
reactions_counter?: {
|
|
13122
|
+
/** @description Reaction type, as the platform names it. */
|
|
13123
|
+
reaction?: string;
|
|
13124
|
+
/** @description Count of this reaction type on the parent post. */
|
|
13125
|
+
count?: number;
|
|
13126
|
+
}[];
|
|
13127
|
+
/** @description Total comment count on the parent post. Present on the full form only. */
|
|
13128
|
+
comments_counter?: number | null;
|
|
13129
|
+
/** @description Total repost count on the parent post. Present on the full form only. */
|
|
13130
|
+
reposts_counter?: number | null;
|
|
13131
|
+
/** @description Media attachments on the parent post. Present on the full form only. */
|
|
13132
|
+
attachments?: Record<string, never>[];
|
|
12973
13133
|
};
|
|
12974
13134
|
}[];
|
|
12975
13135
|
/** @description Next-page cursor; null on the last page. */
|
|
@@ -13120,12 +13280,14 @@ interface operations {
|
|
|
13120
13280
|
author?: {
|
|
13121
13281
|
/** @description LinkedIn profile identifier. */
|
|
13122
13282
|
id?: string;
|
|
13123
|
-
/** @description Author
|
|
13283
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
13284
|
+
name?: string;
|
|
13285
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
13286
|
+
display_name?: string;
|
|
13287
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
13124
13288
|
object?: string;
|
|
13125
|
-
/** @description Author entity type (
|
|
13289
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
13126
13290
|
type?: string;
|
|
13127
|
-
/** @description Author's display name. */
|
|
13128
|
-
display_name?: string;
|
|
13129
13291
|
};
|
|
13130
13292
|
/** @description true if the authenticated account can reply to this comment. */
|
|
13131
13293
|
can_reply?: boolean;
|
|
@@ -13295,16 +13457,18 @@ interface operations {
|
|
|
13295
13457
|
}[];
|
|
13296
13458
|
/** @description Total reaction count on this comment, the sum of reactions[].count. */
|
|
13297
13459
|
reaction_count?: number;
|
|
13298
|
-
/** @description Author of the comment. */
|
|
13460
|
+
/** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
|
|
13299
13461
|
author?: {
|
|
13300
13462
|
/** @description LinkedIn profile identifier. */
|
|
13301
13463
|
id?: string;
|
|
13302
|
-
/** @description Author entity discriminator. */
|
|
13464
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
13303
13465
|
object?: string;
|
|
13304
|
-
/** @description Author entity type (
|
|
13466
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
13305
13467
|
type?: string;
|
|
13306
|
-
/** @description Author's display name. */
|
|
13468
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
13307
13469
|
display_name?: string;
|
|
13470
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
13471
|
+
name?: string;
|
|
13308
13472
|
};
|
|
13309
13473
|
/** @description true if the authenticated account can reply to this comment. */
|
|
13310
13474
|
can_reply?: boolean;
|
|
@@ -13355,7 +13519,7 @@ interface operations {
|
|
|
13355
13519
|
"application/json": components["schemas"]["Error"];
|
|
13356
13520
|
};
|
|
13357
13521
|
};
|
|
13358
|
-
/** @description
|
|
13522
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
13359
13523
|
413: {
|
|
13360
13524
|
headers: {
|
|
13361
13525
|
[name: string]: unknown;
|
|
@@ -13500,16 +13664,18 @@ interface operations {
|
|
|
13500
13664
|
}[];
|
|
13501
13665
|
/** @description Total reaction count on this comment, the sum of reactions[].count. */
|
|
13502
13666
|
reaction_count?: number;
|
|
13503
|
-
/** @description Author of the comment. */
|
|
13667
|
+
/** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
|
|
13504
13668
|
author?: {
|
|
13505
13669
|
/** @description LinkedIn profile identifier. */
|
|
13506
13670
|
id?: string;
|
|
13507
|
-
/** @description Author entity discriminator. */
|
|
13671
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
13508
13672
|
object?: string;
|
|
13509
|
-
/** @description Author entity type (
|
|
13673
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
13510
13674
|
type?: string;
|
|
13511
|
-
/** @description Author's display name. */
|
|
13675
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
13512
13676
|
display_name?: string;
|
|
13677
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
13678
|
+
name?: string;
|
|
13513
13679
|
};
|
|
13514
13680
|
/** @description true if the authenticated account can reply to this comment. */
|
|
13515
13681
|
can_reply?: boolean;
|
|
@@ -13560,7 +13726,7 @@ interface operations {
|
|
|
13560
13726
|
"application/json": components["schemas"]["Error"];
|
|
13561
13727
|
};
|
|
13562
13728
|
};
|
|
13563
|
-
/** @description
|
|
13729
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
13564
13730
|
413: {
|
|
13565
13731
|
headers: {
|
|
13566
13732
|
[name: string]: unknown;
|
|
@@ -13660,9 +13826,7 @@ interface operations {
|
|
|
13660
13826
|
RateLimit: components["headers"]["RateLimit"];
|
|
13661
13827
|
[name: string]: unknown;
|
|
13662
13828
|
};
|
|
13663
|
-
content
|
|
13664
|
-
"application/json": Record<string, never>;
|
|
13665
|
-
};
|
|
13829
|
+
content?: never;
|
|
13666
13830
|
};
|
|
13667
13831
|
/** @description Missing or invalid path parameter. */
|
|
13668
13832
|
400: {
|
|
@@ -13807,16 +13971,18 @@ interface operations {
|
|
|
13807
13971
|
}[];
|
|
13808
13972
|
/** @description Total reaction count on this comment, the sum of reactions[].count. */
|
|
13809
13973
|
reaction_count?: number;
|
|
13810
|
-
/** @description Author of the comment. */
|
|
13974
|
+
/** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
|
|
13811
13975
|
author?: {
|
|
13812
13976
|
/** @description LinkedIn profile identifier. */
|
|
13813
13977
|
id?: string;
|
|
13814
|
-
/** @description Author entity discriminator. */
|
|
13978
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
13815
13979
|
object?: string;
|
|
13816
|
-
/** @description Author entity type (
|
|
13980
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
13817
13981
|
type?: string;
|
|
13818
|
-
/** @description Author's display name. */
|
|
13982
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
13819
13983
|
display_name?: string;
|
|
13984
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
13985
|
+
name?: string;
|
|
13820
13986
|
};
|
|
13821
13987
|
/** @description true if the authenticated account can reply to this comment. */
|
|
13822
13988
|
can_reply?: boolean;
|
|
@@ -13876,6 +14042,15 @@ interface operations {
|
|
|
13876
14042
|
"application/json": components["schemas"]["Error"];
|
|
13877
14043
|
};
|
|
13878
14044
|
};
|
|
14045
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
14046
|
+
413: {
|
|
14047
|
+
headers: {
|
|
14048
|
+
[name: string]: unknown;
|
|
14049
|
+
};
|
|
14050
|
+
content: {
|
|
14051
|
+
"application/json": components["schemas"]["Error"];
|
|
14052
|
+
};
|
|
14053
|
+
};
|
|
13879
14054
|
/** @description Rate limited, slow down and retry after the hinted delay. */
|
|
13880
14055
|
429: {
|
|
13881
14056
|
headers: {
|
|
@@ -13988,16 +14163,18 @@ interface operations {
|
|
|
13988
14163
|
}[];
|
|
13989
14164
|
/** @description Total reaction count on this comment, the sum of reactions[].count. */
|
|
13990
14165
|
reaction_count?: number;
|
|
13991
|
-
/** @description Author of the comment. */
|
|
14166
|
+
/** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
|
|
13992
14167
|
author?: {
|
|
13993
14168
|
/** @description LinkedIn profile identifier. */
|
|
13994
14169
|
id?: string;
|
|
13995
|
-
/** @description Author entity discriminator. */
|
|
14170
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
13996
14171
|
object?: string;
|
|
13997
|
-
/** @description Author entity type (
|
|
14172
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
13998
14173
|
type?: string;
|
|
13999
|
-
/** @description Author's display name. */
|
|
14174
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
14000
14175
|
display_name?: string;
|
|
14176
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
14177
|
+
name?: string;
|
|
14001
14178
|
};
|
|
14002
14179
|
/** @description true if the authenticated account can reply to this comment. */
|
|
14003
14180
|
can_reply?: boolean;
|
|
@@ -14156,12 +14333,14 @@ interface operations {
|
|
|
14156
14333
|
sender?: {
|
|
14157
14334
|
/** @description LinkedIn profile identifier. */
|
|
14158
14335
|
id?: string;
|
|
14159
|
-
/** @description Author entity discriminator. */
|
|
14336
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
14160
14337
|
object?: string;
|
|
14161
|
-
/** @description Author entity type (
|
|
14338
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
14162
14339
|
type?: string;
|
|
14163
|
-
/** @description Author's display name. */
|
|
14340
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
14164
14341
|
display_name?: string;
|
|
14342
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
14343
|
+
name?: string;
|
|
14165
14344
|
};
|
|
14166
14345
|
}[];
|
|
14167
14346
|
/** @description Next-page cursor; null on the last page. */
|
|
@@ -14325,6 +14504,15 @@ interface operations {
|
|
|
14325
14504
|
"application/json": components["schemas"]["Error"];
|
|
14326
14505
|
};
|
|
14327
14506
|
};
|
|
14507
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
14508
|
+
413: {
|
|
14509
|
+
headers: {
|
|
14510
|
+
[name: string]: unknown;
|
|
14511
|
+
};
|
|
14512
|
+
content: {
|
|
14513
|
+
"application/json": components["schemas"]["Error"];
|
|
14514
|
+
};
|
|
14515
|
+
};
|
|
14328
14516
|
/** @description The platform rejected the reaction. Conservative mapping, outage-indistinguishable errors stay 502. */
|
|
14329
14517
|
422: {
|
|
14330
14518
|
headers: {
|
|
@@ -14461,6 +14649,15 @@ interface operations {
|
|
|
14461
14649
|
"application/json": components["schemas"]["Error"];
|
|
14462
14650
|
};
|
|
14463
14651
|
};
|
|
14652
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
14653
|
+
413: {
|
|
14654
|
+
headers: {
|
|
14655
|
+
[name: string]: unknown;
|
|
14656
|
+
};
|
|
14657
|
+
content: {
|
|
14658
|
+
"application/json": components["schemas"]["Error"];
|
|
14659
|
+
};
|
|
14660
|
+
};
|
|
14464
14661
|
/** @description No reaction of this value exists to remove. */
|
|
14465
14662
|
422: {
|
|
14466
14663
|
headers: {
|
|
@@ -14623,6 +14820,15 @@ interface operations {
|
|
|
14623
14820
|
"application/json": components["schemas"]["Error"];
|
|
14624
14821
|
};
|
|
14625
14822
|
};
|
|
14823
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
14824
|
+
413: {
|
|
14825
|
+
headers: {
|
|
14826
|
+
[name: string]: unknown;
|
|
14827
|
+
};
|
|
14828
|
+
content: {
|
|
14829
|
+
"application/json": components["schemas"]["Error"];
|
|
14830
|
+
};
|
|
14831
|
+
};
|
|
14626
14832
|
/** @description Account restricted from performing this operation. */
|
|
14627
14833
|
422: {
|
|
14628
14834
|
headers: {
|
|
@@ -15059,6 +15265,15 @@ interface operations {
|
|
|
15059
15265
|
"application/json": components["schemas"]["Error"];
|
|
15060
15266
|
};
|
|
15061
15267
|
};
|
|
15268
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
15269
|
+
413: {
|
|
15270
|
+
headers: {
|
|
15271
|
+
[name: string]: unknown;
|
|
15272
|
+
};
|
|
15273
|
+
content: {
|
|
15274
|
+
"application/json": components["schemas"]["Error"];
|
|
15275
|
+
};
|
|
15276
|
+
};
|
|
15062
15277
|
/** @description Quota exceeded, slow down and retry after the hinted delay. */
|
|
15063
15278
|
429: {
|
|
15064
15279
|
headers: {
|
|
@@ -15174,6 +15389,15 @@ interface operations {
|
|
|
15174
15389
|
"application/json": components["schemas"]["Error"];
|
|
15175
15390
|
};
|
|
15176
15391
|
};
|
|
15392
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
15393
|
+
413: {
|
|
15394
|
+
headers: {
|
|
15395
|
+
[name: string]: unknown;
|
|
15396
|
+
};
|
|
15397
|
+
content: {
|
|
15398
|
+
"application/json": components["schemas"]["Error"];
|
|
15399
|
+
};
|
|
15400
|
+
};
|
|
15177
15401
|
/** @description Quota exceeded, slow down and retry after the hinted delay. */
|
|
15178
15402
|
429: {
|
|
15179
15403
|
headers: {
|
|
@@ -15289,6 +15513,15 @@ interface operations {
|
|
|
15289
15513
|
"application/json": components["schemas"]["Error"];
|
|
15290
15514
|
};
|
|
15291
15515
|
};
|
|
15516
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
15517
|
+
413: {
|
|
15518
|
+
headers: {
|
|
15519
|
+
[name: string]: unknown;
|
|
15520
|
+
};
|
|
15521
|
+
content: {
|
|
15522
|
+
"application/json": components["schemas"]["Error"];
|
|
15523
|
+
};
|
|
15524
|
+
};
|
|
15292
15525
|
/** @description Quota exceeded, slow down and retry after the hinted delay. */
|
|
15293
15526
|
429: {
|
|
15294
15527
|
headers: {
|
|
@@ -15547,9 +15780,13 @@ interface operations {
|
|
|
15547
15780
|
/** @description Optional skill parameter ids from GET /v1/{account_id}/search/parameters. */
|
|
15548
15781
|
skills?: string[];
|
|
15549
15782
|
/** @description Optional screening questions attached to the posting. */
|
|
15550
|
-
screening_questions?:
|
|
15783
|
+
screening_questions?: {
|
|
15784
|
+
[key: string]: unknown;
|
|
15785
|
+
}[];
|
|
15551
15786
|
/** @description Optional automatic-rejection configuration. */
|
|
15552
|
-
rejection_settings?:
|
|
15787
|
+
rejection_settings?: {
|
|
15788
|
+
[key: string]: unknown;
|
|
15789
|
+
};
|
|
15553
15790
|
};
|
|
15554
15791
|
};
|
|
15555
15792
|
};
|
|
@@ -15682,6 +15919,15 @@ interface operations {
|
|
|
15682
15919
|
"application/json": components["schemas"]["Error"];
|
|
15683
15920
|
};
|
|
15684
15921
|
};
|
|
15922
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
15923
|
+
413: {
|
|
15924
|
+
headers: {
|
|
15925
|
+
[name: string]: unknown;
|
|
15926
|
+
};
|
|
15927
|
+
content: {
|
|
15928
|
+
"application/json": components["schemas"]["Error"];
|
|
15929
|
+
};
|
|
15930
|
+
};
|
|
15685
15931
|
/** @description The account is restricted and cannot create a job posting. */
|
|
15686
15932
|
422: {
|
|
15687
15933
|
headers: {
|
|
@@ -15999,9 +16245,13 @@ interface operations {
|
|
|
15999
16245
|
/** @description Optional skill parameter ids from GET /v1/{account_id}/search/parameters. */
|
|
16000
16246
|
skills?: string[];
|
|
16001
16247
|
/** @description Optional screening questions attached to the posting. */
|
|
16002
|
-
screening_questions?:
|
|
16248
|
+
screening_questions?: {
|
|
16249
|
+
[key: string]: unknown;
|
|
16250
|
+
}[];
|
|
16003
16251
|
/** @description Optional automatic-rejection configuration. */
|
|
16004
|
-
rejection_settings?:
|
|
16252
|
+
rejection_settings?: {
|
|
16253
|
+
[key: string]: unknown;
|
|
16254
|
+
};
|
|
16005
16255
|
};
|
|
16006
16256
|
};
|
|
16007
16257
|
};
|
|
@@ -16134,6 +16384,15 @@ interface operations {
|
|
|
16134
16384
|
"application/json": components["schemas"]["Error"];
|
|
16135
16385
|
};
|
|
16136
16386
|
};
|
|
16387
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
16388
|
+
413: {
|
|
16389
|
+
headers: {
|
|
16390
|
+
[name: string]: unknown;
|
|
16391
|
+
};
|
|
16392
|
+
content: {
|
|
16393
|
+
"application/json": components["schemas"]["Error"];
|
|
16394
|
+
};
|
|
16395
|
+
};
|
|
16137
16396
|
/** @description The account is restricted and cannot edit this job posting. */
|
|
16138
16397
|
422: {
|
|
16139
16398
|
headers: {
|
|
@@ -16481,6 +16740,15 @@ interface operations {
|
|
|
16481
16740
|
"application/json": components["schemas"]["Error"];
|
|
16482
16741
|
};
|
|
16483
16742
|
};
|
|
16743
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
16744
|
+
413: {
|
|
16745
|
+
headers: {
|
|
16746
|
+
[name: string]: unknown;
|
|
16747
|
+
};
|
|
16748
|
+
content: {
|
|
16749
|
+
"application/json": components["schemas"]["Error"];
|
|
16750
|
+
};
|
|
16751
|
+
};
|
|
16484
16752
|
/** @description The account is restricted and cannot publish this job posting. */
|
|
16485
16753
|
422: {
|
|
16486
16754
|
headers: {
|
|
@@ -16607,6 +16875,15 @@ interface operations {
|
|
|
16607
16875
|
"application/json": components["schemas"]["Error"];
|
|
16608
16876
|
};
|
|
16609
16877
|
};
|
|
16878
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
16879
|
+
413: {
|
|
16880
|
+
headers: {
|
|
16881
|
+
[name: string]: unknown;
|
|
16882
|
+
};
|
|
16883
|
+
content: {
|
|
16884
|
+
"application/json": components["schemas"]["Error"];
|
|
16885
|
+
};
|
|
16886
|
+
};
|
|
16610
16887
|
/** @description The account is restricted and cannot close this job posting. */
|
|
16611
16888
|
422: {
|
|
16612
16889
|
headers: {
|
|
@@ -16820,6 +17097,15 @@ interface operations {
|
|
|
16820
17097
|
"application/json": components["schemas"]["Error"];
|
|
16821
17098
|
};
|
|
16822
17099
|
};
|
|
17100
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
17101
|
+
413: {
|
|
17102
|
+
headers: {
|
|
17103
|
+
[name: string]: unknown;
|
|
17104
|
+
};
|
|
17105
|
+
content: {
|
|
17106
|
+
"application/json": components["schemas"]["Error"];
|
|
17107
|
+
};
|
|
17108
|
+
};
|
|
16823
17109
|
/** @description The account is restricted and cannot be queried. */
|
|
16824
17110
|
422: {
|
|
16825
17111
|
headers: {
|
|
@@ -17246,17 +17532,25 @@ interface operations {
|
|
|
17246
17532
|
* @enum {string|null}
|
|
17247
17533
|
*/
|
|
17248
17534
|
user_reacted?: "like" | "celebrate" | "support" | "love" | "insightful" | "funny" | null;
|
|
17249
|
-
/** @description Author of the post or comment. */
|
|
17535
|
+
/** @description Author of the post or comment. Two shapes reach this field, so read the display name as `name` when it is present and `display_name` otherwise. */
|
|
17250
17536
|
author?: {
|
|
17251
17537
|
/** @description LinkedIn profile identifier. */
|
|
17252
17538
|
id?: string;
|
|
17253
|
-
/** @description Author's display name. */
|
|
17539
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
17254
17540
|
name?: string;
|
|
17541
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
17542
|
+
display_name?: string;
|
|
17543
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
17544
|
+
object?: string;
|
|
17545
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
17546
|
+
type?: string;
|
|
17255
17547
|
/** @description Author's profile picture URL, or null if not set. */
|
|
17256
17548
|
profile_picture_url?: string | null;
|
|
17257
17549
|
};
|
|
17258
17550
|
/** @description The member who wrote the post (may differ from author for organization posts), or null. */
|
|
17259
|
-
written_by?:
|
|
17551
|
+
written_by?: {
|
|
17552
|
+
[key: string]: unknown;
|
|
17553
|
+
} | null;
|
|
17260
17554
|
/** @description Interaction permissions for the authenticated account, or null. */
|
|
17261
17555
|
permissions?: {
|
|
17262
17556
|
/** @description true if the account can react to this post. */
|
|
@@ -17381,9 +17675,7 @@ interface operations {
|
|
|
17381
17675
|
RateLimit: components["headers"]["RateLimit"];
|
|
17382
17676
|
[name: string]: unknown;
|
|
17383
17677
|
};
|
|
17384
|
-
content
|
|
17385
|
-
"application/json": Record<string, never>;
|
|
17386
|
-
};
|
|
17678
|
+
content?: never;
|
|
17387
17679
|
};
|
|
17388
17680
|
/** @description Missing or invalid path parameter. */
|
|
17389
17681
|
400: {
|
|
@@ -17559,7 +17851,7 @@ interface operations {
|
|
|
17559
17851
|
"application/json": components["schemas"]["Error"];
|
|
17560
17852
|
};
|
|
17561
17853
|
};
|
|
17562
|
-
/** @description
|
|
17854
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
17563
17855
|
413: {
|
|
17564
17856
|
headers: {
|
|
17565
17857
|
[name: string]: unknown;
|
|
@@ -17711,17 +18003,25 @@ interface operations {
|
|
|
17711
18003
|
* @enum {string|null}
|
|
17712
18004
|
*/
|
|
17713
18005
|
user_reacted?: "like" | "celebrate" | "support" | "love" | "insightful" | "funny" | null;
|
|
17714
|
-
/** @description Author of the post or comment. */
|
|
18006
|
+
/** @description Author of the post or comment. Two shapes reach this field, so read the display name as `name` when it is present and `display_name` otherwise. */
|
|
17715
18007
|
author?: {
|
|
17716
18008
|
/** @description LinkedIn profile identifier. */
|
|
17717
18009
|
id?: string;
|
|
17718
|
-
/** @description Author's display name. */
|
|
18010
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
17719
18011
|
name?: string;
|
|
18012
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
18013
|
+
display_name?: string;
|
|
18014
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
18015
|
+
object?: string;
|
|
18016
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
18017
|
+
type?: string;
|
|
17720
18018
|
/** @description Author's profile picture URL, or null if not set. */
|
|
17721
18019
|
profile_picture_url?: string | null;
|
|
17722
18020
|
};
|
|
17723
18021
|
/** @description The member who wrote the post (may differ from author for organization posts), or null. */
|
|
17724
|
-
written_by?:
|
|
18022
|
+
written_by?: {
|
|
18023
|
+
[key: string]: unknown;
|
|
18024
|
+
} | null;
|
|
17725
18025
|
/** @description Interaction permissions for the authenticated account, or null. */
|
|
17726
18026
|
permissions?: {
|
|
17727
18027
|
/** @description true if the account can react to this post. */
|
|
@@ -18051,6 +18351,15 @@ interface operations {
|
|
|
18051
18351
|
"application/json": components["schemas"]["Error"];
|
|
18052
18352
|
};
|
|
18053
18353
|
};
|
|
18354
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
18355
|
+
413: {
|
|
18356
|
+
headers: {
|
|
18357
|
+
[name: string]: unknown;
|
|
18358
|
+
};
|
|
18359
|
+
content: {
|
|
18360
|
+
"application/json": components["schemas"]["Error"];
|
|
18361
|
+
};
|
|
18362
|
+
};
|
|
18054
18363
|
/** @description The platform rejected the reaction. Conservative mapping. */
|
|
18055
18364
|
422: {
|
|
18056
18365
|
headers: {
|
|
@@ -18183,6 +18492,15 @@ interface operations {
|
|
|
18183
18492
|
"application/json": components["schemas"]["Error"];
|
|
18184
18493
|
};
|
|
18185
18494
|
};
|
|
18495
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
18496
|
+
413: {
|
|
18497
|
+
headers: {
|
|
18498
|
+
[name: string]: unknown;
|
|
18499
|
+
};
|
|
18500
|
+
content: {
|
|
18501
|
+
"application/json": components["schemas"]["Error"];
|
|
18502
|
+
};
|
|
18503
|
+
};
|
|
18186
18504
|
/** @description No reaction of the given value exists to remove. */
|
|
18187
18505
|
422: {
|
|
18188
18506
|
headers: {
|
|
@@ -18290,7 +18608,9 @@ interface operations {
|
|
|
18290
18608
|
/** @description true when the queried account itself made this reaction. */
|
|
18291
18609
|
is_sender?: boolean;
|
|
18292
18610
|
/** @description The user who made the reaction. */
|
|
18293
|
-
sender?:
|
|
18611
|
+
sender?: {
|
|
18612
|
+
[key: string]: unknown;
|
|
18613
|
+
};
|
|
18294
18614
|
/** @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. */
|
|
18295
18615
|
parent_post?: {
|
|
18296
18616
|
/**
|
|
@@ -18304,6 +18624,40 @@ interface operations {
|
|
|
18304
18624
|
urn?: string | null;
|
|
18305
18625
|
/** @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. */
|
|
18306
18626
|
created_at?: string | null;
|
|
18627
|
+
/** @description Shareable URL for the parent post. Present on the full form only. */
|
|
18628
|
+
share_url?: string | null;
|
|
18629
|
+
/** @description Full text of the parent post (content pass-through, never stored). Present on the full form only. */
|
|
18630
|
+
text?: string | null;
|
|
18631
|
+
/** @description true if the parent post is itself a repost. Present on the full form only. */
|
|
18632
|
+
is_repost?: boolean;
|
|
18633
|
+
/** @description Author of the parent post. Present on the full form only. */
|
|
18634
|
+
author?: {
|
|
18635
|
+
/** @description LinkedIn profile identifier. */
|
|
18636
|
+
id?: string;
|
|
18637
|
+
/** @description Author's display name. Absent on the shape that carries `display_name` instead. */
|
|
18638
|
+
name?: string;
|
|
18639
|
+
/** @description Author's display name. Absent on the shape that carries `name` instead. */
|
|
18640
|
+
display_name?: string;
|
|
18641
|
+
/** @description Author entity discriminator, on the shape that carries one. */
|
|
18642
|
+
object?: string;
|
|
18643
|
+
/** @description Author entity type (for example individual or organization), on the shape that carries one. */
|
|
18644
|
+
type?: string;
|
|
18645
|
+
/** @description Author's profile picture URL, or null if not set. */
|
|
18646
|
+
profile_picture_url?: string | null;
|
|
18647
|
+
};
|
|
18648
|
+
/** @description Per-reaction-type count buckets on the parent post. Present on the full form only. */
|
|
18649
|
+
reactions_counter?: {
|
|
18650
|
+
/** @description Reaction type, as the platform names it. */
|
|
18651
|
+
reaction?: string;
|
|
18652
|
+
/** @description Count of this reaction type on the parent post. */
|
|
18653
|
+
count?: number;
|
|
18654
|
+
}[];
|
|
18655
|
+
/** @description Total comment count on the parent post. Present on the full form only. */
|
|
18656
|
+
comments_counter?: number | null;
|
|
18657
|
+
/** @description Total repost count on the parent post. Present on the full form only. */
|
|
18658
|
+
reposts_counter?: number | null;
|
|
18659
|
+
/** @description Media attachments on the parent post. Present on the full form only. */
|
|
18660
|
+
attachments?: Record<string, never>[];
|
|
18307
18661
|
};
|
|
18308
18662
|
}[];
|
|
18309
18663
|
/** @description Next-page cursor; null on the last page. */
|
|
@@ -18629,6 +18983,15 @@ interface operations {
|
|
|
18629
18983
|
"application/json": components["schemas"]["Error"];
|
|
18630
18984
|
};
|
|
18631
18985
|
};
|
|
18986
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
18987
|
+
413: {
|
|
18988
|
+
headers: {
|
|
18989
|
+
[name: string]: unknown;
|
|
18990
|
+
};
|
|
18991
|
+
content: {
|
|
18992
|
+
"application/json": components["schemas"]["Error"];
|
|
18993
|
+
};
|
|
18994
|
+
};
|
|
18632
18995
|
/** @description Rate limited, slow down and retry after the hinted delay. */
|
|
18633
18996
|
429: {
|
|
18634
18997
|
headers: {
|
|
@@ -19413,7 +19776,7 @@ interface operations {
|
|
|
19413
19776
|
"application/json": components["schemas"]["Error"];
|
|
19414
19777
|
};
|
|
19415
19778
|
};
|
|
19416
|
-
/** @description
|
|
19779
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
19417
19780
|
413: {
|
|
19418
19781
|
headers: {
|
|
19419
19782
|
[name: string]: unknown;
|
|
@@ -19725,6 +20088,15 @@ interface operations {
|
|
|
19725
20088
|
"application/json": components["schemas"]["Error"];
|
|
19726
20089
|
};
|
|
19727
20090
|
};
|
|
20091
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
20092
|
+
413: {
|
|
20093
|
+
headers: {
|
|
20094
|
+
[name: string]: unknown;
|
|
20095
|
+
};
|
|
20096
|
+
content: {
|
|
20097
|
+
"application/json": components["schemas"]["Error"];
|
|
20098
|
+
};
|
|
20099
|
+
};
|
|
19728
20100
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
19729
20101
|
422: {
|
|
19730
20102
|
headers: {
|
|
@@ -19908,6 +20280,15 @@ interface operations {
|
|
|
19908
20280
|
"application/json": components["schemas"]["Error"];
|
|
19909
20281
|
};
|
|
19910
20282
|
};
|
|
20283
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
20284
|
+
413: {
|
|
20285
|
+
headers: {
|
|
20286
|
+
[name: string]: unknown;
|
|
20287
|
+
};
|
|
20288
|
+
content: {
|
|
20289
|
+
"application/json": components["schemas"]["Error"];
|
|
20290
|
+
};
|
|
20291
|
+
};
|
|
19911
20292
|
/** @description Unprocessable entity, the account state is invalid for this operation. */
|
|
19912
20293
|
422: {
|
|
19913
20294
|
headers: {
|
|
@@ -20492,6 +20873,15 @@ interface operations {
|
|
|
20492
20873
|
"application/json": components["schemas"]["Error"];
|
|
20493
20874
|
};
|
|
20494
20875
|
};
|
|
20876
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
20877
|
+
413: {
|
|
20878
|
+
headers: {
|
|
20879
|
+
[name: string]: unknown;
|
|
20880
|
+
};
|
|
20881
|
+
content: {
|
|
20882
|
+
"application/json": components["schemas"]["Error"];
|
|
20883
|
+
};
|
|
20884
|
+
};
|
|
20495
20885
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
20496
20886
|
422: {
|
|
20497
20887
|
headers: {
|
|
@@ -20736,6 +21126,15 @@ interface operations {
|
|
|
20736
21126
|
"application/json": components["schemas"]["Error"];
|
|
20737
21127
|
};
|
|
20738
21128
|
};
|
|
21129
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
21130
|
+
413: {
|
|
21131
|
+
headers: {
|
|
21132
|
+
[name: string]: unknown;
|
|
21133
|
+
};
|
|
21134
|
+
content: {
|
|
21135
|
+
"application/json": components["schemas"]["Error"];
|
|
21136
|
+
};
|
|
21137
|
+
};
|
|
20739
21138
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
20740
21139
|
422: {
|
|
20741
21140
|
headers: {
|
|
@@ -21034,6 +21433,15 @@ interface operations {
|
|
|
21034
21433
|
"application/json": components["schemas"]["Error"];
|
|
21035
21434
|
};
|
|
21036
21435
|
};
|
|
21436
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
21437
|
+
413: {
|
|
21438
|
+
headers: {
|
|
21439
|
+
[name: string]: unknown;
|
|
21440
|
+
};
|
|
21441
|
+
content: {
|
|
21442
|
+
"application/json": components["schemas"]["Error"];
|
|
21443
|
+
};
|
|
21444
|
+
};
|
|
21037
21445
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
21038
21446
|
422: {
|
|
21039
21447
|
headers: {
|
|
@@ -21181,7 +21589,8 @@ interface operations {
|
|
|
21181
21589
|
endorsement_count?: number;
|
|
21182
21590
|
}[];
|
|
21183
21591
|
}[];
|
|
21184
|
-
cursor
|
|
21592
|
+
/** @description Opaque cursor for the next page. null when there are no more results. */
|
|
21593
|
+
cursor?: string | null;
|
|
21185
21594
|
total_count?: number;
|
|
21186
21595
|
} | {
|
|
21187
21596
|
/** @enum {string} */
|
|
@@ -21253,7 +21662,8 @@ interface operations {
|
|
|
21253
21662
|
}[];
|
|
21254
21663
|
};
|
|
21255
21664
|
}[];
|
|
21256
|
-
cursor
|
|
21665
|
+
/** @description Opaque cursor for the next page. null when there are no more results. */
|
|
21666
|
+
cursor?: string | null;
|
|
21257
21667
|
total_count?: number;
|
|
21258
21668
|
} | {
|
|
21259
21669
|
/** @enum {string} */
|
|
@@ -21325,7 +21735,8 @@ interface operations {
|
|
|
21325
21735
|
}[];
|
|
21326
21736
|
};
|
|
21327
21737
|
}[];
|
|
21328
|
-
cursor
|
|
21738
|
+
/** @description Opaque cursor for the next page. null when there are no more results. */
|
|
21739
|
+
cursor?: string | null;
|
|
21329
21740
|
total_count?: number;
|
|
21330
21741
|
};
|
|
21331
21742
|
};
|
|
@@ -21366,6 +21777,15 @@ interface operations {
|
|
|
21366
21777
|
"application/json": components["schemas"]["Error"];
|
|
21367
21778
|
};
|
|
21368
21779
|
};
|
|
21780
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
21781
|
+
413: {
|
|
21782
|
+
headers: {
|
|
21783
|
+
[name: string]: unknown;
|
|
21784
|
+
};
|
|
21785
|
+
content: {
|
|
21786
|
+
"application/json": components["schemas"]["Error"];
|
|
21787
|
+
};
|
|
21788
|
+
};
|
|
21369
21789
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
21370
21790
|
422: {
|
|
21371
21791
|
headers: {
|
|
@@ -21743,6 +22163,15 @@ interface operations {
|
|
|
21743
22163
|
"application/json": components["schemas"]["Error"];
|
|
21744
22164
|
};
|
|
21745
22165
|
};
|
|
22166
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
22167
|
+
413: {
|
|
22168
|
+
headers: {
|
|
22169
|
+
[name: string]: unknown;
|
|
22170
|
+
};
|
|
22171
|
+
content: {
|
|
22172
|
+
"application/json": components["schemas"]["Error"];
|
|
22173
|
+
};
|
|
22174
|
+
};
|
|
21746
22175
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
21747
22176
|
422: {
|
|
21748
22177
|
headers: {
|
|
@@ -22259,6 +22688,15 @@ interface operations {
|
|
|
22259
22688
|
"application/json": components["schemas"]["Error"];
|
|
22260
22689
|
};
|
|
22261
22690
|
};
|
|
22691
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
22692
|
+
413: {
|
|
22693
|
+
headers: {
|
|
22694
|
+
[name: string]: unknown;
|
|
22695
|
+
};
|
|
22696
|
+
content: {
|
|
22697
|
+
"application/json": components["schemas"]["Error"];
|
|
22698
|
+
};
|
|
22699
|
+
};
|
|
22262
22700
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
22263
22701
|
422: {
|
|
22264
22702
|
headers: {
|
|
@@ -22636,6 +23074,15 @@ interface operations {
|
|
|
22636
23074
|
"application/json": components["schemas"]["Error"];
|
|
22637
23075
|
};
|
|
22638
23076
|
};
|
|
23077
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
23078
|
+
413: {
|
|
23079
|
+
headers: {
|
|
23080
|
+
[name: string]: unknown;
|
|
23081
|
+
};
|
|
23082
|
+
content: {
|
|
23083
|
+
"application/json": components["schemas"]["Error"];
|
|
23084
|
+
};
|
|
23085
|
+
};
|
|
22639
23086
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
22640
23087
|
422: {
|
|
22641
23088
|
headers: {
|
|
@@ -22821,6 +23268,15 @@ interface operations {
|
|
|
22821
23268
|
"application/json": components["schemas"]["Error"];
|
|
22822
23269
|
};
|
|
22823
23270
|
};
|
|
23271
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
23272
|
+
413: {
|
|
23273
|
+
headers: {
|
|
23274
|
+
[name: string]: unknown;
|
|
23275
|
+
};
|
|
23276
|
+
content: {
|
|
23277
|
+
"application/json": components["schemas"]["Error"];
|
|
23278
|
+
};
|
|
23279
|
+
};
|
|
22824
23280
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
22825
23281
|
422: {
|
|
22826
23282
|
headers: {
|
|
@@ -22949,6 +23405,15 @@ interface operations {
|
|
|
22949
23405
|
"application/json": components["schemas"]["Error"];
|
|
22950
23406
|
};
|
|
22951
23407
|
};
|
|
23408
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
23409
|
+
413: {
|
|
23410
|
+
headers: {
|
|
23411
|
+
[name: string]: unknown;
|
|
23412
|
+
};
|
|
23413
|
+
content: {
|
|
23414
|
+
"application/json": components["schemas"]["Error"];
|
|
23415
|
+
};
|
|
23416
|
+
};
|
|
22952
23417
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
22953
23418
|
422: {
|
|
22954
23419
|
headers: {
|
|
@@ -23084,6 +23549,15 @@ interface operations {
|
|
|
23084
23549
|
"application/json": components["schemas"]["Error"];
|
|
23085
23550
|
};
|
|
23086
23551
|
};
|
|
23552
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
23553
|
+
413: {
|
|
23554
|
+
headers: {
|
|
23555
|
+
[name: string]: unknown;
|
|
23556
|
+
};
|
|
23557
|
+
content: {
|
|
23558
|
+
"application/json": components["schemas"]["Error"];
|
|
23559
|
+
};
|
|
23560
|
+
};
|
|
23087
23561
|
/** @description ACCOUNT_RESTRICTED, the connected LinkedIn account cannot perform the requested Recruiter action. */
|
|
23088
23562
|
422: {
|
|
23089
23563
|
headers: {
|
|
@@ -23406,6 +23880,15 @@ interface operations {
|
|
|
23406
23880
|
"application/json": components["schemas"]["Error"];
|
|
23407
23881
|
};
|
|
23408
23882
|
};
|
|
23883
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
23884
|
+
413: {
|
|
23885
|
+
headers: {
|
|
23886
|
+
[name: string]: unknown;
|
|
23887
|
+
};
|
|
23888
|
+
content: {
|
|
23889
|
+
"application/json": components["schemas"]["Error"];
|
|
23890
|
+
};
|
|
23891
|
+
};
|
|
23409
23892
|
/** @description Unprocessable entity, the account or project state is invalid for this operation. */
|
|
23410
23893
|
422: {
|
|
23411
23894
|
headers: {
|
|
@@ -23885,7 +24368,7 @@ interface operations {
|
|
|
23885
24368
|
"application/json": components["schemas"]["Error"];
|
|
23886
24369
|
};
|
|
23887
24370
|
};
|
|
23888
|
-
/** @description
|
|
24371
|
+
/** @description Payload too large. Three triggers, smallest first: the platform's own ceiling on total request size, which rejects bodies from roughly 1 MB and is the one most callers hit; then the caps enforced here, 5 MiB per attachment and 9 MiB for the whole request body. Base64 inflates a file by about 33 percent, so a 5 MiB file costs about 6.7 MiB of the body budget. Send fewer or smaller attachments; retrying the same request unchanged will not help. */
|
|
23889
24372
|
413: {
|
|
23890
24373
|
headers: {
|
|
23891
24374
|
[name: string]: unknown;
|
|
@@ -24619,7 +25102,7 @@ interface operations {
|
|
|
24619
25102
|
*/
|
|
24620
25103
|
object: "sn_saved_account_result";
|
|
24621
25104
|
/** @description The saved accounts in the list. */
|
|
24622
|
-
items: {
|
|
25105
|
+
items: ({
|
|
24623
25106
|
/**
|
|
24624
25107
|
* @description Item type discriminator.
|
|
24625
25108
|
* @enum {string}
|
|
@@ -24629,7 +25112,47 @@ interface operations {
|
|
|
24629
25112
|
id: string;
|
|
24630
25113
|
/** @description Display name. */
|
|
24631
25114
|
display_name: string;
|
|
24632
|
-
|
|
25115
|
+
/** @description LinkedIn public identifier (vanity slug). May be null. */
|
|
25116
|
+
public_identifier?: string | null;
|
|
25117
|
+
/** @description Company LinkedIn profile URL. May be null. */
|
|
25118
|
+
profile_url?: string | null;
|
|
25119
|
+
/** @description Company logo URL. May be null. */
|
|
25120
|
+
public_picture_url?: string | null;
|
|
25121
|
+
/** @description Company headquarters location. May be null. */
|
|
25122
|
+
location?: string | null;
|
|
25123
|
+
/** @description Industry the company operates in. May be null. */
|
|
25124
|
+
industry?: string | null;
|
|
25125
|
+
/** @description Company summary text. May be null. */
|
|
25126
|
+
summary?: string | null;
|
|
25127
|
+
/** @description Connection count at this company. May be null. */
|
|
25128
|
+
relations_count?: number | null;
|
|
25129
|
+
/** @description Employee count. May be null. */
|
|
25130
|
+
headcount?: number | null;
|
|
25131
|
+
/** @description Structural platform pass-through; shape and presence vary. May be null. */
|
|
25132
|
+
specialties?: {
|
|
25133
|
+
[key: string]: unknown;
|
|
25134
|
+
};
|
|
25135
|
+
/** @description May be null. */
|
|
25136
|
+
is_hiring_on_linkedin?: boolean | null;
|
|
25137
|
+
/** @description How many lists this account is saved to. Present when available. */
|
|
25138
|
+
lists_count?: number;
|
|
25139
|
+
/** @description How many notes are attached. Present when available. */
|
|
25140
|
+
notes_count?: number;
|
|
25141
|
+
/** @description Company website URL. May be null. */
|
|
25142
|
+
website?: string | null;
|
|
25143
|
+
/** @description Structural platform pass-through; shape and presence vary. May be null. */
|
|
25144
|
+
founded_on?: {
|
|
25145
|
+
[key: string]: unknown;
|
|
25146
|
+
};
|
|
25147
|
+
/** @description true when the account is starred on the seat. Present when available. */
|
|
25148
|
+
is_starred?: boolean;
|
|
25149
|
+
/** @description Structural platform pass-through; shape and presence vary. May be null. */
|
|
25150
|
+
recommended_lead?: {
|
|
25151
|
+
[key: string]: unknown;
|
|
25152
|
+
};
|
|
25153
|
+
} & {
|
|
25154
|
+
[key: string]: unknown;
|
|
25155
|
+
})[];
|
|
24633
25156
|
paging: {
|
|
24634
25157
|
/** @description Total number of items. May be null. */
|
|
24635
25158
|
total_count?: number | null;
|
|
@@ -24675,6 +25198,15 @@ interface operations {
|
|
|
24675
25198
|
"application/json": components["schemas"]["Error"];
|
|
24676
25199
|
};
|
|
24677
25200
|
};
|
|
25201
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
25202
|
+
413: {
|
|
25203
|
+
headers: {
|
|
25204
|
+
[name: string]: unknown;
|
|
25205
|
+
};
|
|
25206
|
+
content: {
|
|
25207
|
+
"application/json": components["schemas"]["Error"];
|
|
25208
|
+
};
|
|
25209
|
+
};
|
|
24678
25210
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
24679
25211
|
422: {
|
|
24680
25212
|
headers: {
|
|
@@ -24790,7 +25322,7 @@ interface operations {
|
|
|
24790
25322
|
*/
|
|
24791
25323
|
object: "sn_saved_lead_result";
|
|
24792
25324
|
/** @description The saved leads in the list. */
|
|
24793
|
-
items: {
|
|
25325
|
+
items: ({
|
|
24794
25326
|
/**
|
|
24795
25327
|
* @description Item type discriminator.
|
|
24796
25328
|
* @enum {string}
|
|
@@ -24800,7 +25332,76 @@ interface operations {
|
|
|
24800
25332
|
id: string;
|
|
24801
25333
|
/** @description Display name. */
|
|
24802
25334
|
display_name: string;
|
|
24803
|
-
|
|
25335
|
+
/**
|
|
25336
|
+
* @description Connection distance to the operator account. Present when available.
|
|
25337
|
+
* @enum {string}
|
|
25338
|
+
*/
|
|
25339
|
+
network_distance?: "SELF" | "FIRST_DEGREE" | "SECOND_DEGREE" | "THIRD_DEGREE" | "OUT_OF_NETWORK";
|
|
25340
|
+
/** @description Present when available. */
|
|
25341
|
+
has_posted_recently?: boolean;
|
|
25342
|
+
/** @description Present when available. */
|
|
25343
|
+
has_viewed_your_profile?: boolean;
|
|
25344
|
+
/** @description Present when available. */
|
|
25345
|
+
was_hired_recently?: boolean;
|
|
25346
|
+
/** @description Present when available. */
|
|
25347
|
+
was_promoted_recently?: boolean;
|
|
25348
|
+
/** @description Present when available. */
|
|
25349
|
+
follows_your_company?: boolean;
|
|
25350
|
+
/** @description true if this is a LinkedIn Premium account. Present when available. */
|
|
25351
|
+
is_premium?: boolean;
|
|
25352
|
+
/** @description Present when available. */
|
|
25353
|
+
is_past_colleague?: boolean;
|
|
25354
|
+
/** @description Present when available. */
|
|
25355
|
+
is_open_profile?: boolean;
|
|
25356
|
+
/** @description Contact info. Present when available. */
|
|
25357
|
+
contact_info?: {
|
|
25358
|
+
phones?: {
|
|
25359
|
+
[key: string]: unknown;
|
|
25360
|
+
}[];
|
|
25361
|
+
emails?: {
|
|
25362
|
+
[key: string]: unknown;
|
|
25363
|
+
}[];
|
|
25364
|
+
};
|
|
25365
|
+
/** @description How many lists this lead is saved to. Present when available. */
|
|
25366
|
+
lists_count?: number;
|
|
25367
|
+
/** @description How many notes are attached. Present when available. */
|
|
25368
|
+
notes_count?: number;
|
|
25369
|
+
/** @description Present when available. */
|
|
25370
|
+
education?: {
|
|
25371
|
+
[key: string]: unknown;
|
|
25372
|
+
}[];
|
|
25373
|
+
/** @description Structural platform pass-through; returned as strings. Present when available. */
|
|
25374
|
+
skills?: unknown[];
|
|
25375
|
+
/** @description Present when available. */
|
|
25376
|
+
work_experience?: {
|
|
25377
|
+
[key: string]: unknown;
|
|
25378
|
+
}[];
|
|
25379
|
+
/** @description Structural platform pass-through; returned as strings. Present when available. */
|
|
25380
|
+
languages?: unknown[];
|
|
25381
|
+
/** @description Present when available. */
|
|
25382
|
+
volunteering?: {
|
|
25383
|
+
[key: string]: unknown;
|
|
25384
|
+
}[];
|
|
25385
|
+
/** @description ISO-8601 timestamp of when the lead was saved. Present when available. */
|
|
25386
|
+
saved_at?: string;
|
|
25387
|
+
/** @description The company associated with this saved lead. Present when available. */
|
|
25388
|
+
associated_account?: {
|
|
25389
|
+
id?: string;
|
|
25390
|
+
name?: string;
|
|
25391
|
+
/** @description Present when available. */
|
|
25392
|
+
industry?: string;
|
|
25393
|
+
/** @description Present when available. */
|
|
25394
|
+
location?: string;
|
|
25395
|
+
public_identifier?: string;
|
|
25396
|
+
profile_url?: string;
|
|
25397
|
+
/** @description Present when available. */
|
|
25398
|
+
public_picture_url?: string;
|
|
25399
|
+
} & {
|
|
25400
|
+
[key: string]: unknown;
|
|
25401
|
+
};
|
|
25402
|
+
} & {
|
|
25403
|
+
[key: string]: unknown;
|
|
25404
|
+
})[];
|
|
24804
25405
|
paging: {
|
|
24805
25406
|
/** @description Total number of items. May be null. */
|
|
24806
25407
|
total_count?: number | null;
|
|
@@ -24846,6 +25447,15 @@ interface operations {
|
|
|
24846
25447
|
"application/json": components["schemas"]["Error"];
|
|
24847
25448
|
};
|
|
24848
25449
|
};
|
|
25450
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
25451
|
+
413: {
|
|
25452
|
+
headers: {
|
|
25453
|
+
[name: string]: unknown;
|
|
25454
|
+
};
|
|
25455
|
+
content: {
|
|
25456
|
+
"application/json": components["schemas"]["Error"];
|
|
25457
|
+
};
|
|
25458
|
+
};
|
|
24849
25459
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
24850
25460
|
422: {
|
|
24851
25461
|
headers: {
|
|
@@ -24983,6 +25593,15 @@ interface operations {
|
|
|
24983
25593
|
"application/json": components["schemas"]["Error"];
|
|
24984
25594
|
};
|
|
24985
25595
|
};
|
|
25596
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
25597
|
+
413: {
|
|
25598
|
+
headers: {
|
|
25599
|
+
[name: string]: unknown;
|
|
25600
|
+
};
|
|
25601
|
+
content: {
|
|
25602
|
+
"application/json": components["schemas"]["Error"];
|
|
25603
|
+
};
|
|
25604
|
+
};
|
|
24986
25605
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
24987
25606
|
422: {
|
|
24988
25607
|
headers: {
|
|
@@ -25120,6 +25739,15 @@ interface operations {
|
|
|
25120
25739
|
"application/json": components["schemas"]["Error"];
|
|
25121
25740
|
};
|
|
25122
25741
|
};
|
|
25742
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
25743
|
+
413: {
|
|
25744
|
+
headers: {
|
|
25745
|
+
[name: string]: unknown;
|
|
25746
|
+
};
|
|
25747
|
+
content: {
|
|
25748
|
+
"application/json": components["schemas"]["Error"];
|
|
25749
|
+
};
|
|
25750
|
+
};
|
|
25123
25751
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
25124
25752
|
422: {
|
|
25125
25753
|
headers: {
|
|
@@ -25655,6 +26283,15 @@ interface operations {
|
|
|
25655
26283
|
"application/json": components["schemas"]["Error"];
|
|
25656
26284
|
};
|
|
25657
26285
|
};
|
|
26286
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
26287
|
+
413: {
|
|
26288
|
+
headers: {
|
|
26289
|
+
[name: string]: unknown;
|
|
26290
|
+
};
|
|
26291
|
+
content: {
|
|
26292
|
+
"application/json": components["schemas"]["Error"];
|
|
26293
|
+
};
|
|
26294
|
+
};
|
|
25658
26295
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
25659
26296
|
422: {
|
|
25660
26297
|
headers: {
|
|
@@ -25917,6 +26554,15 @@ interface operations {
|
|
|
25917
26554
|
"application/json": components["schemas"]["Error"];
|
|
25918
26555
|
};
|
|
25919
26556
|
};
|
|
26557
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
26558
|
+
413: {
|
|
26559
|
+
headers: {
|
|
26560
|
+
[name: string]: unknown;
|
|
26561
|
+
};
|
|
26562
|
+
content: {
|
|
26563
|
+
"application/json": components["schemas"]["Error"];
|
|
26564
|
+
};
|
|
26565
|
+
};
|
|
25920
26566
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
25921
26567
|
422: {
|
|
25922
26568
|
headers: {
|
|
@@ -26212,6 +26858,15 @@ interface operations {
|
|
|
26212
26858
|
"application/json": components["schemas"]["Error"];
|
|
26213
26859
|
};
|
|
26214
26860
|
};
|
|
26861
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
26862
|
+
413: {
|
|
26863
|
+
headers: {
|
|
26864
|
+
[name: string]: unknown;
|
|
26865
|
+
};
|
|
26866
|
+
content: {
|
|
26867
|
+
"application/json": components["schemas"]["Error"];
|
|
26868
|
+
};
|
|
26869
|
+
};
|
|
26215
26870
|
/** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
|
|
26216
26871
|
422: {
|
|
26217
26872
|
headers: {
|
|
@@ -26618,7 +27273,9 @@ interface operations {
|
|
|
26618
27273
|
content: {
|
|
26619
27274
|
"application/json": {
|
|
26620
27275
|
/** @description Flat string->string map that replaces this account's custom-data store wholesale (unprovided keys are removed). */
|
|
26621
|
-
metadata?:
|
|
27276
|
+
metadata?: {
|
|
27277
|
+
[key: string]: string;
|
|
27278
|
+
};
|
|
26622
27279
|
/** @description Custom-proxy egress config, or null to clear it (revert to automatic proxy protection). Omit to leave it unchanged. */
|
|
26623
27280
|
proxy?: {
|
|
26624
27281
|
/**
|
|
@@ -26675,6 +27332,15 @@ interface operations {
|
|
|
26675
27332
|
"application/json": components["schemas"]["Error"];
|
|
26676
27333
|
};
|
|
26677
27334
|
};
|
|
27335
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
27336
|
+
413: {
|
|
27337
|
+
headers: {
|
|
27338
|
+
[name: string]: unknown;
|
|
27339
|
+
};
|
|
27340
|
+
content: {
|
|
27341
|
+
"application/json": components["schemas"]["Error"];
|
|
27342
|
+
};
|
|
27343
|
+
};
|
|
26678
27344
|
/** @description Rate limited, slow down and retry after the hinted delay. */
|
|
26679
27345
|
429: {
|
|
26680
27346
|
headers: {
|
|
@@ -26920,6 +27586,15 @@ interface operations {
|
|
|
26920
27586
|
"application/json": components["schemas"]["Error"];
|
|
26921
27587
|
};
|
|
26922
27588
|
};
|
|
27589
|
+
/** @description Either LINKEDIN_FEATURE_NOT_SUBSCRIBED (the seat requested a premium product, Sales Navigator or Recruiter, that this LinkedIn account is not subscribed to; match the seat tier to the account's actual plan, or use a different seat), or ACCOUNT_RESTRICTED (LinkedIn has restricted this account; sign in to LinkedIn to see what it needs, resolve it there, then connect again). The code field distinguishes the two. */
|
|
27590
|
+
403: {
|
|
27591
|
+
headers: {
|
|
27592
|
+
[name: string]: unknown;
|
|
27593
|
+
};
|
|
27594
|
+
content: {
|
|
27595
|
+
"application/json": components["schemas"]["Error"];
|
|
27596
|
+
};
|
|
27597
|
+
};
|
|
26923
27598
|
/** @description This LinkedIn account is already linked (names your own account_id when your tenant owns it). */
|
|
26924
27599
|
409: {
|
|
26925
27600
|
headers: {
|
|
@@ -26929,6 +27604,15 @@ interface operations {
|
|
|
26929
27604
|
"application/json": components["schemas"]["Error"];
|
|
26930
27605
|
};
|
|
26931
27606
|
};
|
|
27607
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
27608
|
+
413: {
|
|
27609
|
+
headers: {
|
|
27610
|
+
[name: string]: unknown;
|
|
27611
|
+
};
|
|
27612
|
+
content: {
|
|
27613
|
+
"application/json": components["schemas"]["Error"];
|
|
27614
|
+
};
|
|
27615
|
+
};
|
|
26932
27616
|
/** @description The verification challenge cannot be resolved automatically (a dead-end challenge such as a CAPTCHA or a phone-number registration). For those two dead-ends the error body carries a machine-readable challenge_type (captcha | phone_register) so a client can render the right guidance; other unsupported challenges carry no challenge_type. */
|
|
26933
27617
|
422: {
|
|
26934
27618
|
headers: {
|
|
@@ -27068,6 +27752,15 @@ interface operations {
|
|
|
27068
27752
|
};
|
|
27069
27753
|
};
|
|
27070
27754
|
};
|
|
27755
|
+
/** @description ACCOUNT_RESTRICTED. LinkedIn has restricted this account (not a wrong code and not our subscription gate). Sign in to LinkedIn to see what it needs, resolve it there, then reconnect. */
|
|
27756
|
+
403: {
|
|
27757
|
+
headers: {
|
|
27758
|
+
[name: string]: unknown;
|
|
27759
|
+
};
|
|
27760
|
+
content: {
|
|
27761
|
+
"application/json": components["schemas"]["Error"];
|
|
27762
|
+
};
|
|
27763
|
+
};
|
|
27071
27764
|
/** @description No pending checkpoint for this account. */
|
|
27072
27765
|
404: {
|
|
27073
27766
|
headers: {
|
|
@@ -27086,6 +27779,15 @@ interface operations {
|
|
|
27086
27779
|
"application/json": components["schemas"]["Error"];
|
|
27087
27780
|
};
|
|
27088
27781
|
};
|
|
27782
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
27783
|
+
413: {
|
|
27784
|
+
headers: {
|
|
27785
|
+
[name: string]: unknown;
|
|
27786
|
+
};
|
|
27787
|
+
content: {
|
|
27788
|
+
"application/json": components["schemas"]["Error"];
|
|
27789
|
+
};
|
|
27790
|
+
};
|
|
27089
27791
|
/** @description The submitted code was incorrect, or the challenge type is unsupported. */
|
|
27090
27792
|
422: {
|
|
27091
27793
|
headers: {
|
|
@@ -27180,6 +27882,15 @@ interface operations {
|
|
|
27180
27882
|
};
|
|
27181
27883
|
};
|
|
27182
27884
|
};
|
|
27885
|
+
/** @description ACCOUNT_RESTRICTED. LinkedIn has restricted this account. Sign in to LinkedIn to see what it needs, resolve it there, then reconnect. */
|
|
27886
|
+
403: {
|
|
27887
|
+
headers: {
|
|
27888
|
+
[name: string]: unknown;
|
|
27889
|
+
};
|
|
27890
|
+
content: {
|
|
27891
|
+
"application/json": components["schemas"]["Error"];
|
|
27892
|
+
};
|
|
27893
|
+
};
|
|
27183
27894
|
/** @description No pending checkpoint for this account. */
|
|
27184
27895
|
404: {
|
|
27185
27896
|
headers: {
|
|
@@ -27198,6 +27909,15 @@ interface operations {
|
|
|
27198
27909
|
"application/json": components["schemas"]["Error"];
|
|
27199
27910
|
};
|
|
27200
27911
|
};
|
|
27912
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
27913
|
+
413: {
|
|
27914
|
+
headers: {
|
|
27915
|
+
[name: string]: unknown;
|
|
27916
|
+
};
|
|
27917
|
+
content: {
|
|
27918
|
+
"application/json": components["schemas"]["Error"];
|
|
27919
|
+
};
|
|
27920
|
+
};
|
|
27201
27921
|
/** @description Rate limited, slow down and retry after the hinted delay. */
|
|
27202
27922
|
429: {
|
|
27203
27923
|
headers: {
|
|
@@ -27339,6 +28059,15 @@ interface operations {
|
|
|
27339
28059
|
"application/json": components["schemas"]["Error"];
|
|
27340
28060
|
};
|
|
27341
28061
|
};
|
|
28062
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
28063
|
+
413: {
|
|
28064
|
+
headers: {
|
|
28065
|
+
[name: string]: unknown;
|
|
28066
|
+
};
|
|
28067
|
+
content: {
|
|
28068
|
+
"application/json": components["schemas"]["Error"];
|
|
28069
|
+
};
|
|
28070
|
+
};
|
|
27342
28071
|
/** @description The pending checkpoint is code-based, not mobile_app_approval, use submit instead. */
|
|
27343
28072
|
422: {
|
|
27344
28073
|
headers: {
|
|
@@ -27796,6 +28525,15 @@ interface operations {
|
|
|
27796
28525
|
"application/json": components["schemas"]["Error"];
|
|
27797
28526
|
};
|
|
27798
28527
|
};
|
|
28528
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
28529
|
+
413: {
|
|
28530
|
+
headers: {
|
|
28531
|
+
[name: string]: unknown;
|
|
28532
|
+
};
|
|
28533
|
+
content: {
|
|
28534
|
+
"application/json": components["schemas"]["Error"];
|
|
28535
|
+
};
|
|
28536
|
+
};
|
|
27799
28537
|
/** @description Rate limited, slow down and retry after the hinted delay. */
|
|
27800
28538
|
429: {
|
|
27801
28539
|
headers: {
|
|
@@ -28253,6 +28991,15 @@ interface operations {
|
|
|
28253
28991
|
"application/json": components["schemas"]["Error"];
|
|
28254
28992
|
};
|
|
28255
28993
|
};
|
|
28994
|
+
/** @description Payload too large, the request body exceeds the size limit. */
|
|
28995
|
+
413: {
|
|
28996
|
+
headers: {
|
|
28997
|
+
[name: string]: unknown;
|
|
28998
|
+
};
|
|
28999
|
+
content: {
|
|
29000
|
+
"application/json": components["schemas"]["Error"];
|
|
29001
|
+
};
|
|
29002
|
+
};
|
|
28256
29003
|
/** @description Rate limited, slow down and retry after the hinted delay. */
|
|
28257
29004
|
429: {
|
|
28258
29005
|
headers: {
|
|
@@ -28885,7 +29632,13 @@ declare class SearchResource {
|
|
|
28885
29632
|
type PostCommentListPage = paths["/v1/{account_id}/posts/{post_id}/comments"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
28886
29633
|
type PostCommentListQuery = NonNullable<paths["/v1/{account_id}/posts/{post_id}/comments"]["get"]["parameters"]["query"]>;
|
|
28887
29634
|
type PostDetail = paths["/v1/{account_id}/posts/{post_id}"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
28888
|
-
|
|
29635
|
+
/**
|
|
29636
|
+
* Delete-post resolves with nothing. The API answers 204, which carries no body,
|
|
29637
|
+
* and the document now says so: the 204 response declares no content at all. This
|
|
29638
|
+
* alias used to be derived from a JSON body the document declared and the API
|
|
29639
|
+
* never sent, so it described a value no caller could ever receive.
|
|
29640
|
+
*/
|
|
29641
|
+
type PostDeleteResult = void;
|
|
28889
29642
|
type CreatePostBody = paths["/v1/{account_id}/posts"]["post"]["requestBody"]["content"]["application/json"];
|
|
28890
29643
|
type CreatePostResult = paths["/v1/{account_id}/posts"]["post"]["responses"]["201"]["content"]["application/json"];
|
|
28891
29644
|
type UserPostListPage = paths["/v1/{account_id}/users/{user_id}/posts"]["get"]["responses"]["200"]["content"]["application/json"];
|
|
@@ -29016,7 +29769,13 @@ type CreateCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments"]["pos
|
|
|
29016
29769
|
type CreateCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments"]["post"]["responses"]["201"]["content"]["application/json"];
|
|
29017
29770
|
type EditCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["patch"]["requestBody"]["content"]["application/json"];
|
|
29018
29771
|
type EditCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["patch"]["responses"]["200"]["content"]["application/json"];
|
|
29019
|
-
|
|
29772
|
+
/**
|
|
29773
|
+
* Delete-comment resolves with nothing. The API answers 204, which carries no
|
|
29774
|
+
* body, and the document now says so: the 204 response declares no content at
|
|
29775
|
+
* all. This alias used to be derived from a JSON body the document declared and
|
|
29776
|
+
* the API never sent, so it described a value no caller could ever receive.
|
|
29777
|
+
*/
|
|
29778
|
+
type DeleteCommentResult = void;
|
|
29020
29779
|
type ReplyToCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["post"]["requestBody"]["content"]["application/json"];
|
|
29021
29780
|
type ReplyToCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["post"]["responses"]["201"]["content"]["application/json"];
|
|
29022
29781
|
type CommentReplyListPage = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}/replies"]["get"]["responses"]["200"]["content"]["application/json"];
|