@curviate/sdk 0.24.0 → 0.24.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/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;
@@ -3209,7 +3209,7 @@ interface operations {
3209
3209
  "application/json": components["schemas"]["Error"];
3210
3210
  };
3211
3211
  };
3212
- /** @description The account_id does not belong to this tenant, or the requested user was not found. */
3212
+ /** @description The account_id does not belong to this tenant, or the requested user was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
3213
3213
  404: {
3214
3214
  headers: {
3215
3215
  [name: string]: unknown;
@@ -3366,7 +3366,7 @@ interface operations {
3366
3366
  "application/json": components["schemas"]["Error"];
3367
3367
  };
3368
3368
  };
3369
- /** @description The account_id does not belong to this tenant. */
3369
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
3370
3370
  404: {
3371
3371
  headers: {
3372
3372
  [name: string]: unknown;
@@ -3375,7 +3375,7 @@ interface operations {
3375
3375
  "application/json": components["schemas"]["Error"];
3376
3376
  };
3377
3377
  };
3378
- /** @description picture or background_picture exceeds the size limit. */
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;
@@ -3535,7 +3535,7 @@ interface operations {
3535
3535
  "application/json": components["schemas"]["Error"];
3536
3536
  };
3537
3537
  };
3538
- /** @description The supplied account_id does not belong to this tenant. */
3538
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
3539
3539
  404: {
3540
3540
  headers: {
3541
3541
  [name: string]: unknown;
@@ -3661,7 +3661,7 @@ interface operations {
3661
3661
  "application/json": components["schemas"]["Error"];
3662
3662
  };
3663
3663
  };
3664
- /** @description The supplied account_id does not belong to this tenant. */
3664
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
3665
3665
  404: {
3666
3666
  headers: {
3667
3667
  [name: string]: unknown;
@@ -3785,7 +3785,7 @@ interface operations {
3785
3785
  "application/json": components["schemas"]["Error"];
3786
3786
  };
3787
3787
  };
3788
- /** @description The account_id does not belong to this tenant, or the user_id was not found. */
3788
+ /** @description The account_id does not belong to this tenant, or the user_id was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
3789
3789
  404: {
3790
3790
  headers: {
3791
3791
  [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: {
@@ -3972,7 +3981,7 @@ interface operations {
3972
3981
  "application/json": components["schemas"]["Error"];
3973
3982
  };
3974
3983
  };
3975
- /** @description The account_id does not belong to this tenant. */
3984
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
3976
3985
  404: {
3977
3986
  headers: {
3978
3987
  [name: string]: unknown;
@@ -4125,7 +4134,7 @@ interface operations {
4125
4134
  "application/json": components["schemas"]["Error"];
4126
4135
  };
4127
4136
  };
4128
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
4137
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
4129
4138
  404: {
4130
4139
  headers: {
4131
4140
  [name: string]: unknown;
@@ -4267,7 +4276,7 @@ interface operations {
4267
4276
  "application/json": components["schemas"]["Error"];
4268
4277
  };
4269
4278
  };
4270
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
4279
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
4271
4280
  404: {
4272
4281
  headers: {
4273
4282
  [name: string]: unknown;
@@ -4409,7 +4418,7 @@ interface operations {
4409
4418
  "application/json": components["schemas"]["Error"];
4410
4419
  };
4411
4420
  };
4412
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
4421
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
4413
4422
  404: {
4414
4423
  headers: {
4415
4424
  [name: string]: unknown;
@@ -4547,7 +4556,7 @@ interface operations {
4547
4556
  "application/json": components["schemas"]["Error"];
4548
4557
  };
4549
4558
  };
4550
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
4559
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
4551
4560
  404: {
4552
4561
  headers: {
4553
4562
  [name: string]: unknown;
@@ -4691,7 +4700,7 @@ interface operations {
4691
4700
  "application/json": components["schemas"]["Error"];
4692
4701
  };
4693
4702
  };
4694
- /** @description The account_id does not belong to this tenant, or the requested user was not found. */
4703
+ /** @description The account_id does not belong to this tenant, or the requested user was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
4695
4704
  404: {
4696
4705
  headers: {
4697
4706
  [name: string]: unknown;
@@ -4844,7 +4853,7 @@ interface operations {
4844
4853
  "application/json": components["schemas"]["Error"];
4845
4854
  };
4846
4855
  };
4847
- /** @description The account_id does not belong to this tenant, or the requested user was not found. */
4856
+ /** @description The account_id does not belong to this tenant, or the requested user was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
4848
4857
  404: {
4849
4858
  headers: {
4850
4859
  [name: string]: unknown;
@@ -5001,7 +5010,7 @@ interface operations {
5001
5010
  "application/json": components["schemas"]["Error"];
5002
5011
  };
5003
5012
  };
5004
- /** @description The account_id does not belong to this tenant, or the requested user was not found. */
5013
+ /** @description The account_id does not belong to this tenant, or the requested user was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
5005
5014
  404: {
5006
5015
  headers: {
5007
5016
  [name: string]: unknown;
@@ -5118,7 +5127,7 @@ interface operations {
5118
5127
  "application/json": components["schemas"]["Error"];
5119
5128
  };
5120
5129
  };
5121
- /** @description The account_id does not belong to this tenant, or the requested user was not found. */
5130
+ /** @description The account_id does not belong to this tenant, or the requested user was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
5122
5131
  404: {
5123
5132
  headers: {
5124
5133
  [name: string]: unknown;
@@ -5321,7 +5330,7 @@ interface operations {
5321
5330
  "application/json": components["schemas"]["Error"];
5322
5331
  };
5323
5332
  };
5324
- /** @description The account_id does not belong to this tenant, or the company was not found. */
5333
+ /** @description The account_id does not belong to this tenant, or the company was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
5325
5334
  404: {
5326
5335
  headers: {
5327
5336
  [name: string]: unknown;
@@ -5511,7 +5520,7 @@ interface operations {
5511
5520
  "application/json": components["schemas"]["Error"];
5512
5521
  };
5513
5522
  };
5514
- /** @description The account_id does not belong to this tenant. */
5523
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
5515
5524
  404: {
5516
5525
  headers: {
5517
5526
  [name: string]: unknown;
@@ -5690,7 +5699,7 @@ interface operations {
5690
5699
  "application/json": components["schemas"]["Error"];
5691
5700
  };
5692
5701
  };
5693
- /** @description The account_id does not belong to this tenant. */
5702
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
5694
5703
  404: {
5695
5704
  headers: {
5696
5705
  [name: string]: unknown;
@@ -5869,7 +5878,7 @@ interface operations {
5869
5878
  "application/json": components["schemas"]["Error"];
5870
5879
  };
5871
5880
  };
5872
- /** @description The account_id does not belong to this tenant. */
5881
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
5873
5882
  404: {
5874
5883
  headers: {
5875
5884
  [name: string]: unknown;
@@ -6026,7 +6035,7 @@ interface operations {
6026
6035
  "application/json": components["schemas"]["Error"];
6027
6036
  };
6028
6037
  };
6029
- /** @description The account_id does not belong to this tenant, or a wholly-invalid invitee did not resolve. */
6038
+ /** @description The account_id does not belong to this tenant, or a wholly-invalid invitee did not resolve. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
6030
6039
  404: {
6031
6040
  headers: {
6032
6041
  [name: string]: unknown;
@@ -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: {
@@ -6183,7 +6201,7 @@ interface operations {
6183
6201
  "application/json": components["schemas"]["Error"];
6184
6202
  };
6185
6203
  };
6186
- /** @description The account_id does not belong to this tenant, or the company id does not resolve to a page. */
6204
+ /** @description The account_id does not belong to this tenant, or the company id does not resolve to a page. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
6187
6205
  404: {
6188
6206
  headers: {
6189
6207
  [name: string]: unknown;
@@ -6330,7 +6348,7 @@ interface operations {
6330
6348
  "application/json": components["schemas"]["Error"];
6331
6349
  };
6332
6350
  };
6333
- /** @description The account_id does not belong to this tenant, or the company id does not resolve to a page. */
6351
+ /** @description The account_id does not belong to this tenant, or the company id does not resolve to a page. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
6334
6352
  404: {
6335
6353
  headers: {
6336
6354
  [name: string]: unknown;
@@ -6524,7 +6542,7 @@ interface operations {
6524
6542
  "application/json": components["schemas"]["Error"];
6525
6543
  };
6526
6544
  };
6527
- /** @description The account_id does not belong to this tenant. */
6545
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
6528
6546
  404: {
6529
6547
  headers: {
6530
6548
  [name: string]: unknown;
@@ -6706,7 +6724,7 @@ interface operations {
6706
6724
  "application/json": components["schemas"]["Error"];
6707
6725
  };
6708
6726
  };
6709
- /** @description The account_id does not belong to this tenant, or the conversation is not in this mailbox. */
6727
+ /** @description The account_id does not belong to this tenant, or the conversation is not in this mailbox. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
6710
6728
  404: {
6711
6729
  headers: {
6712
6730
  [name: string]: unknown;
@@ -6881,7 +6899,7 @@ interface operations {
6881
6899
  "application/json": components["schemas"]["Error"];
6882
6900
  };
6883
6901
  };
6884
- /** @description The account_id does not belong to this tenant, or the conversation does not exist. */
6902
+ /** @description The account_id does not belong to this tenant, or the conversation does not exist. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
6885
6903
  404: {
6886
6904
  headers: {
6887
6905
  [name: string]: unknown;
@@ -7041,7 +7059,7 @@ interface operations {
7041
7059
  "application/json": components["schemas"]["Error"];
7042
7060
  };
7043
7061
  };
7044
- /** @description The account_id does not belong to this tenant. */
7062
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
7045
7063
  404: {
7046
7064
  headers: {
7047
7065
  [name: string]: unknown;
@@ -7050,7 +7068,7 @@ interface operations {
7050
7068
  "application/json": components["schemas"]["Error"];
7051
7069
  };
7052
7070
  };
7053
- /** @description Payload too large, an attachment exceeds 5 MiB or the total body exceeds 8 MiB. */
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;
@@ -7222,7 +7240,7 @@ interface operations {
7222
7240
  "application/json": components["schemas"]["Error"];
7223
7241
  };
7224
7242
  };
7225
- /** @description The account_id does not belong to this tenant, or the message is not in this conversation. */
7243
+ /** @description The account_id does not belong to this tenant, or the message is not in this conversation. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
7226
7244
  404: {
7227
7245
  headers: {
7228
7246
  [name: string]: unknown;
@@ -7427,7 +7445,7 @@ interface operations {
7427
7445
  "application/json": components["schemas"]["Error"];
7428
7446
  };
7429
7447
  };
7430
- /** @description The account_id does not belong to this tenant. */
7448
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
7431
7449
  404: {
7432
7450
  headers: {
7433
7451
  [name: string]: unknown;
@@ -7619,7 +7637,7 @@ interface operations {
7619
7637
  "application/json": components["schemas"]["Error"];
7620
7638
  };
7621
7639
  };
7622
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
7640
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
7623
7641
  404: {
7624
7642
  headers: {
7625
7643
  [name: string]: unknown;
@@ -7783,7 +7801,7 @@ interface operations {
7783
7801
  "application/json": components["schemas"]["Error"];
7784
7802
  };
7785
7803
  };
7786
- /** @description Either the account_id does not belong to this tenant, or the referenced group does not exist, is not accessible, or the account is not a member of it. */
7804
+ /** @description Either the account_id does not belong to this tenant, or the referenced group does not exist, is not accessible, or the account is not a member of it. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
7787
7805
  404: {
7788
7806
  headers: {
7789
7807
  [name: string]: unknown;
@@ -7945,7 +7963,7 @@ interface operations {
7945
7963
  "application/json": components["schemas"]["Error"];
7946
7964
  };
7947
7965
  };
7948
- /** @description Either the account_id does not belong to this tenant, or the referenced group does not exist, is not accessible, or the account is not a member of it. */
7966
+ /** @description Either the account_id does not belong to this tenant, or the referenced group does not exist, is not accessible, or the account is not a member of it. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
7949
7967
  404: {
7950
7968
  headers: {
7951
7969
  [name: string]: unknown;
@@ -8069,7 +8087,7 @@ interface operations {
8069
8087
  "application/json": components["schemas"]["Error"];
8070
8088
  };
8071
8089
  };
8072
- /** @description The supplied account_id does not belong to this tenant. */
8090
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
8073
8091
  404: {
8074
8092
  headers: {
8075
8093
  [name: string]: unknown;
@@ -8289,7 +8307,7 @@ interface operations {
8289
8307
  "application/json": components["schemas"]["Error"];
8290
8308
  };
8291
8309
  };
8292
- /** @description The supplied account_id does not belong to this tenant. */
8310
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
8293
8311
  404: {
8294
8312
  headers: {
8295
8313
  [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: {
@@ -8477,7 +8504,7 @@ interface operations {
8477
8504
  "application/json": components["schemas"]["Error"];
8478
8505
  };
8479
8506
  };
8480
- /** @description The supplied account_id does not belong to this tenant. */
8507
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
8481
8508
  404: {
8482
8509
  headers: {
8483
8510
  [name: string]: unknown;
@@ -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: {
@@ -8713,7 +8749,7 @@ interface operations {
8713
8749
  "application/json": components["schemas"]["Error"];
8714
8750
  };
8715
8751
  };
8716
- /** @description The supplied account_id does not belong to this tenant. */
8752
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
8717
8753
  404: {
8718
8754
  headers: {
8719
8755
  [name: string]: unknown;
@@ -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: {
@@ -8968,7 +9013,7 @@ interface operations {
8968
9013
  "application/json": components["schemas"]["Error"];
8969
9014
  };
8970
9015
  };
8971
- /** @description The supplied account_id does not belong to this tenant. */
9016
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
8972
9017
  404: {
8973
9018
  headers: {
8974
9019
  [name: string]: unknown;
@@ -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: {
@@ -9248,7 +9302,7 @@ interface operations {
9248
9302
  "application/json": components["schemas"]["Error"];
9249
9303
  };
9250
9304
  };
9251
- /** @description The supplied account_id does not belong to this tenant. */
9305
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
9252
9306
  404: {
9253
9307
  headers: {
9254
9308
  [name: string]: unknown;
@@ -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: {
@@ -9393,7 +9456,7 @@ interface operations {
9393
9456
  "application/json": components["schemas"]["Error"];
9394
9457
  };
9395
9458
  };
9396
- /** @description The supplied account_id does not belong to this tenant. */
9459
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
9397
9460
  404: {
9398
9461
  headers: {
9399
9462
  [name: string]: unknown;
@@ -9580,7 +9643,7 @@ interface operations {
9580
9643
  "application/json": components["schemas"]["Error"];
9581
9644
  };
9582
9645
  };
9583
- /** @description The supplied account_id does not belong to this tenant. */
9646
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
9584
9647
  404: {
9585
9648
  headers: {
9586
9649
  [name: string]: unknown;
@@ -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: {
@@ -9720,7 +9792,7 @@ interface operations {
9720
9792
  "application/json": components["schemas"]["Error"];
9721
9793
  };
9722
9794
  };
9723
- /** @description The supplied account_id does not belong to this tenant. */
9795
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
9724
9796
  404: {
9725
9797
  headers: {
9726
9798
  [name: string]: unknown;
@@ -9986,7 +10058,7 @@ interface operations {
9986
10058
  "application/json": components["schemas"]["Error"];
9987
10059
  };
9988
10060
  };
9989
- /** @description The supplied account_id does not belong to this tenant. */
10061
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
9990
10062
  404: {
9991
10063
  headers: {
9992
10064
  [name: string]: unknown;
@@ -10136,7 +10208,7 @@ interface operations {
10136
10208
  "application/json": components["schemas"]["Error"];
10137
10209
  };
10138
10210
  };
10139
- /** @description The supplied account_id does not belong to this tenant. */
10211
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
10140
10212
  404: {
10141
10213
  headers: {
10142
10214
  [name: string]: unknown;
@@ -10145,7 +10217,7 @@ interface operations {
10145
10217
  "application/json": components["schemas"]["Error"];
10146
10218
  };
10147
10219
  };
10148
- /** @description Payload too large: an attachment exceeds 5 MiB or the total body exceeds 8 MiB. */
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;
@@ -10390,7 +10462,7 @@ interface operations {
10390
10462
  "application/json": components["schemas"]["Error"];
10391
10463
  };
10392
10464
  };
10393
- /** @description The chat does not exist for this account. */
10465
+ /** @description The chat does not exist for this account. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
10394
10466
  404: {
10395
10467
  headers: {
10396
10468
  [name: string]: unknown;
@@ -10509,7 +10581,7 @@ interface operations {
10509
10581
  "application/json": components["schemas"]["Error"];
10510
10582
  };
10511
10583
  };
10512
- /** @description The chat does not exist for this account. */
10584
+ /** @description The chat does not exist for this account. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
10513
10585
  404: {
10514
10586
  headers: {
10515
10587
  [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: {
@@ -10712,7 +10793,7 @@ interface operations {
10712
10793
  "application/json": components["schemas"]["Error"];
10713
10794
  };
10714
10795
  };
10715
- /** @description The chat does not exist for this account. */
10796
+ /** @description The chat does not exist for this account. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
10716
10797
  404: {
10717
10798
  headers: {
10718
10799
  [name: string]: unknown;
@@ -10852,7 +10933,7 @@ interface operations {
10852
10933
  "application/json": components["schemas"]["Error"];
10853
10934
  };
10854
10935
  };
10855
- /** @description The chat does not exist for this account. */
10936
+ /** @description The chat does not exist for this account. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
10856
10937
  404: {
10857
10938
  headers: {
10858
10939
  [name: string]: unknown;
@@ -10861,7 +10942,7 @@ interface operations {
10861
10942
  "application/json": components["schemas"]["Error"];
10862
10943
  };
10863
10944
  };
10864
- /** @description Payload too large: an attachment exceeds 5 MiB or the total body exceeds 8 MiB. */
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;
@@ -11056,7 +11137,7 @@ interface operations {
11056
11137
  "application/json": components["schemas"]["Error"];
11057
11138
  };
11058
11139
  };
11059
- /** @description The message does not exist for this account. */
11140
+ /** @description The message does not exist for this account. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11060
11141
  404: {
11061
11142
  headers: {
11062
11143
  [name: string]: unknown;
@@ -11159,7 +11240,7 @@ interface operations {
11159
11240
  "application/json": components["schemas"]["Error"];
11160
11241
  };
11161
11242
  };
11162
- /** @description The message does not exist for this chat. */
11243
+ /** @description The message does not exist for this chat. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11163
11244
  404: {
11164
11245
  headers: {
11165
11246
  [name: string]: unknown;
@@ -11287,7 +11368,7 @@ interface operations {
11287
11368
  "application/json": components["schemas"]["Error"];
11288
11369
  };
11289
11370
  };
11290
- /** @description The message does not exist for this chat. */
11371
+ /** @description The message does not exist for this chat. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11291
11372
  404: {
11292
11373
  headers: {
11293
11374
  [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: {
@@ -11417,7 +11507,7 @@ interface operations {
11417
11507
  "application/json": components["schemas"]["Error"];
11418
11508
  };
11419
11509
  };
11420
- /** @description The message does not exist for this chat. */
11510
+ /** @description The message does not exist for this chat. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11421
11511
  404: {
11422
11512
  headers: {
11423
11513
  [name: string]: unknown;
@@ -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: {
@@ -11523,7 +11622,7 @@ interface operations {
11523
11622
  "application/json": components["schemas"]["Error"];
11524
11623
  };
11525
11624
  };
11526
- /** @description The message or attachment does not exist for this chat. */
11625
+ /** @description The message or attachment does not exist for this chat. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11527
11626
  404: {
11528
11627
  headers: {
11529
11628
  [name: string]: unknown;
@@ -11709,7 +11808,7 @@ interface operations {
11709
11808
  "application/json": components["schemas"]["Error"];
11710
11809
  };
11711
11810
  };
11712
- /** @description The supplied account_id does not belong to this tenant. */
11811
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11713
11812
  404: {
11714
11813
  headers: {
11715
11814
  [name: string]: unknown;
@@ -11848,7 +11947,7 @@ interface operations {
11848
11947
  "application/json": components["schemas"]["Error"];
11849
11948
  };
11850
11949
  };
11851
- /** @description The supplied account_id does not belong to this tenant. */
11950
+ /** @description The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
11852
11951
  404: {
11853
11952
  headers: {
11854
11953
  [name: string]: unknown;
@@ -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: {
@@ -12418,7 +12526,7 @@ interface operations {
12418
12526
  "application/json": components["schemas"]["Error"];
12419
12527
  };
12420
12528
  };
12421
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
12529
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12422
12530
  404: {
12423
12531
  headers: {
12424
12532
  [name: string]: unknown;
@@ -12580,7 +12688,7 @@ interface operations {
12580
12688
  "application/json": components["schemas"]["Error"];
12581
12689
  };
12582
12690
  };
12583
- /** @description The account_id does not belong to this tenant, or the account is unknown. */
12691
+ /** @description The account_id does not belong to this tenant, or the account is unknown. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12584
12692
  404: {
12585
12693
  headers: {
12586
12694
  [name: string]: unknown;
@@ -12694,7 +12802,7 @@ interface operations {
12694
12802
  "application/json": components["schemas"]["Error"];
12695
12803
  };
12696
12804
  };
12697
- /** @description The account_id does not belong to this tenant or is unknown, or the `card_urn` does not exist on this account (it belongs to another account, or never existed). Deleting a card that you already deleted is NOT a 404; it succeeds with 200; see the 200 description. */
12805
+ /** @description The account_id does not belong to this tenant or is unknown, or the `card_urn` does not exist on this account (it belongs to another account, or never existed). Deleting a card that you already deleted is NOT a 404; it succeeds with 200; see the 200 description. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12698
12806
  404: {
12699
12807
  headers: {
12700
12808
  [name: string]: unknown;
@@ -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: {
@@ -12808,7 +12925,7 @@ interface operations {
12808
12925
  "application/json": components["schemas"]["Error"];
12809
12926
  };
12810
12927
  };
12811
- /** @description The account_id does not belong to this tenant or is unknown, or the `card_urn` does not exist on this account (it belongs to another account, or never existed). Deleting a card that you already deleted is NOT a 404; it succeeds with 200; see the 200 description. */
12928
+ /** @description The account_id does not belong to this tenant or is unknown, or the `card_urn` does not exist on this account (it belongs to another account, or never existed). Deleting a card that you already deleted is NOT a 404; it succeeds with 200; see the 200 description. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12812
12929
  404: {
12813
12930
  headers: {
12814
12931
  [name: string]: unknown;
@@ -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 (e.g. individual, organization). */
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;
@@ -12959,9 +13087,9 @@ interface operations {
12959
13087
  }[];
12960
13088
  /** @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. */
12961
13089
  parent_post?: {
12962
- /** @description The post's identifier as returned on this surface. Use this value, not `urn`, on sub-resource operations such as commenting. */
13090
+ /** @description The post's identifier as returned on this surface. Accepted as the post_id path param on every operation that takes one, including commenting, as is `urn`. */
12963
13091
  id?: string;
12964
- /** @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. */
13092
+ /** @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 every operation that takes one. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
12965
13093
  urn?: string | null;
12966
13094
  /** @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. */
12967
13095
  created_at?: string | null;
@@ -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. */
@@ -12995,7 +13155,7 @@ interface operations {
12995
13155
  "application/json": components["schemas"]["Error"];
12996
13156
  };
12997
13157
  };
12998
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the user was not found (RESOURCE_NOT_FOUND). */
13158
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the user was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
12999
13159
  404: {
13000
13160
  headers: {
13001
13161
  [name: string]: unknown;
@@ -13068,7 +13228,7 @@ interface operations {
13068
13228
  path: {
13069
13229
  /** @description The account ID (`acc_...`) to use for the request. */
13070
13230
  account_id: string;
13071
- /** @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. */
13231
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
13072
13232
  post_id: string;
13073
13233
  };
13074
13234
  cookie?: never;
@@ -13120,12 +13280,14 @@ interface operations {
13120
13280
  author?: {
13121
13281
  /** @description LinkedIn profile identifier. */
13122
13282
  id?: string;
13123
- /** @description Author entity discriminator. */
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 (e.g. individual, organization). */
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;
@@ -13170,7 +13332,7 @@ interface operations {
13170
13332
  "application/json": components["schemas"]["Error"];
13171
13333
  };
13172
13334
  };
13173
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
13335
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
13174
13336
  404: {
13175
13337
  headers: {
13176
13338
  [name: string]: unknown;
@@ -13236,7 +13398,7 @@ interface operations {
13236
13398
  path: {
13237
13399
  /** @description The account ID (`acc_...`) to comment as. */
13238
13400
  account_id: string;
13239
- /** @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. */
13401
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
13240
13402
  post_id: string;
13241
13403
  };
13242
13404
  cookie?: never;
@@ -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 (e.g. individual, organization). */
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;
@@ -13346,7 +13510,7 @@ interface operations {
13346
13510
  "application/json": components["schemas"]["Error"];
13347
13511
  };
13348
13512
  };
13349
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
13513
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
13350
13514
  404: {
13351
13515
  headers: {
13352
13516
  [name: string]: unknown;
@@ -13355,7 +13519,7 @@ interface operations {
13355
13519
  "application/json": components["schemas"]["Error"];
13356
13520
  };
13357
13521
  };
13358
- /** @description Attachment or total request body exceeds the size cap (base64 inflates ~+33%). */
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;
@@ -13439,7 +13603,7 @@ interface operations {
13439
13603
  path: {
13440
13604
  /** @description The account ID (`acc_...`) to reply as. */
13441
13605
  account_id: string;
13442
- /** @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. */
13606
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
13443
13607
  post_id: string;
13444
13608
  /** @description The parent comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
13445
13609
  comment_id: string;
@@ -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 (e.g. individual, organization). */
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;
@@ -13551,7 +13717,7 @@ interface operations {
13551
13717
  "application/json": components["schemas"]["Error"];
13552
13718
  };
13553
13719
  };
13554
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
13720
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
13555
13721
  404: {
13556
13722
  headers: {
13557
13723
  [name: string]: unknown;
@@ -13560,7 +13726,7 @@ interface operations {
13560
13726
  "application/json": components["schemas"]["Error"];
13561
13727
  };
13562
13728
  };
13563
- /** @description Attachment or total request body exceeds the size cap (base64 inflates ~+33%). */
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;
@@ -13644,7 +13810,7 @@ interface operations {
13644
13810
  path: {
13645
13811
  /** @description The account ID (`acc_...`) that authored the comment. */
13646
13812
  account_id: string;
13647
- /** @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. */
13813
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
13648
13814
  post_id: string;
13649
13815
  /** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
13650
13816
  comment_id: string;
@@ -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: {
@@ -13691,7 +13855,7 @@ interface operations {
13691
13855
  "application/json": components["schemas"]["Error"];
13692
13856
  };
13693
13857
  };
13694
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
13858
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
13695
13859
  404: {
13696
13860
  headers: {
13697
13861
  [name: string]: unknown;
@@ -13757,7 +13921,7 @@ interface operations {
13757
13921
  path: {
13758
13922
  /** @description The account ID (`acc_...`) that authored the comment. */
13759
13923
  account_id: string;
13760
- /** @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. */
13924
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
13761
13925
  post_id: string;
13762
13926
  /** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
13763
13927
  comment_id: string;
@@ -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 (e.g. individual, organization). */
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;
@@ -13867,7 +14033,7 @@ interface operations {
13867
14033
  "application/json": components["schemas"]["Error"];
13868
14034
  };
13869
14035
  };
13870
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
14036
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
13871
14037
  404: {
13872
14038
  headers: {
13873
14039
  [name: string]: unknown;
@@ -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: {
@@ -13938,7 +14113,7 @@ interface operations {
13938
14113
  path: {
13939
14114
  /** @description The account ID (`acc_...`) to use for the request. */
13940
14115
  account_id: string;
13941
- /** @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. */
14116
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
13942
14117
  post_id: string;
13943
14118
  /** @description The parent comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
13944
14119
  comment_id: string;
@@ -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 (e.g. individual, organization). */
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;
@@ -14044,7 +14221,7 @@ interface operations {
14044
14221
  "application/json": components["schemas"]["Error"];
14045
14222
  };
14046
14223
  };
14047
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
14224
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14048
14225
  404: {
14049
14226
  headers: {
14050
14227
  [name: string]: unknown;
@@ -14115,7 +14292,7 @@ interface operations {
14115
14292
  path: {
14116
14293
  /** @description The account ID (`acc_...`) to use for the request. */
14117
14294
  account_id: string;
14118
- /** @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. */
14295
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
14119
14296
  post_id: string;
14120
14297
  /** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
14121
14298
  comment_id: string;
@@ -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 (e.g. individual, organization). */
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. */
@@ -14187,7 +14366,7 @@ interface operations {
14187
14366
  "application/json": components["schemas"]["Error"];
14188
14367
  };
14189
14368
  };
14190
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
14369
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14191
14370
  404: {
14192
14371
  headers: {
14193
14372
  [name: string]: unknown;
@@ -14253,7 +14432,7 @@ interface operations {
14253
14432
  path: {
14254
14433
  /** @description The account ID (`acc_...`) to react from. */
14255
14434
  account_id: string;
14256
- /** @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. */
14435
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
14257
14436
  post_id: string;
14258
14437
  /** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
14259
14438
  comment_id: string;
@@ -14316,7 +14495,7 @@ interface operations {
14316
14495
  "application/json": components["schemas"]["Error"];
14317
14496
  };
14318
14497
  };
14319
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
14498
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14320
14499
  404: {
14321
14500
  headers: {
14322
14501
  [name: string]: unknown;
@@ -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: {
@@ -14391,7 +14579,7 @@ interface operations {
14391
14579
  path: {
14392
14580
  /** @description The account ID (`acc_...`) whose reaction to remove. */
14393
14581
  account_id: string;
14394
- /** @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. */
14582
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
14395
14583
  post_id: string;
14396
14584
  /** @description The comment's `id` (a bare numeric string), as returned by comment_on_post / list_comment_replies. */
14397
14585
  comment_id: string;
@@ -14452,7 +14640,7 @@ interface operations {
14452
14640
  "application/json": components["schemas"]["Error"];
14453
14641
  };
14454
14642
  };
14455
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). */
14643
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the comment was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14456
14644
  404: {
14457
14645
  headers: {
14458
14646
  [name: string]: unknown;
@@ -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: {
@@ -14605,7 +14802,7 @@ interface operations {
14605
14802
  "application/json": components["schemas"]["Error"];
14606
14803
  };
14607
14804
  };
14608
- /** @description Account not found or not owned by this tenant. */
14805
+ /** @description Account not found or not owned by this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14609
14806
  404: {
14610
14807
  headers: {
14611
14808
  [name: string]: unknown;
@@ -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: {
@@ -14768,7 +14974,7 @@ interface operations {
14768
14974
  "application/json": components["schemas"]["Error"];
14769
14975
  };
14770
14976
  };
14771
- /** @description Account not found or not owned by this tenant. */
14977
+ /** @description Account not found or not owned by this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14772
14978
  404: {
14773
14979
  headers: {
14774
14980
  [name: string]: unknown;
@@ -14926,7 +15132,7 @@ interface operations {
14926
15132
  "application/json": components["schemas"]["Error"];
14927
15133
  };
14928
15134
  };
14929
- /** @description Account not found or not owned by this tenant. */
15135
+ /** @description Account not found or not owned by this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
14930
15136
  404: {
14931
15137
  headers: {
14932
15138
  [name: string]: unknown;
@@ -15050,7 +15256,7 @@ interface operations {
15050
15256
  "application/json": components["schemas"]["Error"];
15051
15257
  };
15052
15258
  };
15053
- /** @description Account not found or not owned by this tenant. */
15259
+ /** @description Account not found or not owned by this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
15054
15260
  404: {
15055
15261
  headers: {
15056
15262
  [name: string]: unknown;
@@ -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: {
@@ -15165,7 +15380,7 @@ interface operations {
15165
15380
  "application/json": components["schemas"]["Error"];
15166
15381
  };
15167
15382
  };
15168
- /** @description Account not found or not owned by this tenant. */
15383
+ /** @description Account not found or not owned by this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
15169
15384
  404: {
15170
15385
  headers: {
15171
15386
  [name: string]: unknown;
@@ -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: {
@@ -15280,7 +15504,7 @@ interface operations {
15280
15504
  "application/json": components["schemas"]["Error"];
15281
15505
  };
15282
15506
  };
15283
- /** @description Account not found or not owned by this tenant. */
15507
+ /** @description Account not found or not owned by this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
15284
15508
  404: {
15285
15509
  headers: {
15286
15510
  [name: string]: unknown;
@@ -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: {
@@ -15427,7 +15660,7 @@ interface operations {
15427
15660
  "application/json": components["schemas"]["Error"];
15428
15661
  };
15429
15662
  };
15430
- /** @description The account_id does not belong to this tenant. */
15663
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
15431
15664
  404: {
15432
15665
  headers: {
15433
15666
  [name: string]: unknown;
@@ -15677,7 +15910,7 @@ interface operations {
15677
15910
  "application/json": components["schemas"]["Error"];
15678
15911
  };
15679
15912
  };
15680
- /** @description The account_id does not belong to this tenant. */
15913
+ /** @description The account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
15681
15914
  404: {
15682
15915
  headers: {
15683
15916
  [name: string]: unknown;
@@ -15686,6 +15919,15 @@ interface operations {
15686
15919
  "application/json": components["schemas"]["Error"];
15687
15920
  };
15688
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
+ };
15689
15931
  /** @description The account is restricted and cannot create a job posting. */
15690
15932
  422: {
15691
15933
  headers: {
@@ -15881,7 +16123,7 @@ interface operations {
15881
16123
  "application/json": components["schemas"]["Error"];
15882
16124
  };
15883
16125
  };
15884
- /** @description The account_id does not belong to this tenant, or the job posting was not found. */
16126
+ /** @description The account_id does not belong to this tenant, or the job posting was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
15885
16127
  404: {
15886
16128
  headers: {
15887
16129
  [name: string]: unknown;
@@ -16133,7 +16375,7 @@ interface operations {
16133
16375
  "application/json": components["schemas"]["Error"];
16134
16376
  };
16135
16377
  };
16136
- /** @description The account_id does not belong to this tenant, or the job posting was not found. */
16378
+ /** @description The account_id does not belong to this tenant, or the job posting was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
16137
16379
  404: {
16138
16380
  headers: {
16139
16381
  [name: string]: unknown;
@@ -16142,6 +16384,15 @@ interface operations {
16142
16384
  "application/json": components["schemas"]["Error"];
16143
16385
  };
16144
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
+ };
16145
16396
  /** @description The account is restricted and cannot edit this job posting. */
16146
16397
  422: {
16147
16398
  headers: {
@@ -16293,7 +16544,7 @@ interface operations {
16293
16544
  "application/json": components["schemas"]["Error"];
16294
16545
  };
16295
16546
  };
16296
- /** @description The account_id does not belong to this tenant, or the job posting was not found. */
16547
+ /** @description The account_id does not belong to this tenant, or the job posting was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
16297
16548
  404: {
16298
16549
  headers: {
16299
16550
  [name: string]: unknown;
@@ -16480,7 +16731,7 @@ interface operations {
16480
16731
  "application/json": components["schemas"]["Error"];
16481
16732
  };
16482
16733
  };
16483
- /** @description The account_id does not belong to this tenant, or the job posting was not found. */
16734
+ /** @description The account_id does not belong to this tenant, or the job posting was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
16484
16735
  404: {
16485
16736
  headers: {
16486
16737
  [name: string]: unknown;
@@ -16489,6 +16740,15 @@ interface operations {
16489
16740
  "application/json": components["schemas"]["Error"];
16490
16741
  };
16491
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
+ };
16492
16752
  /** @description The account is restricted and cannot publish this job posting. */
16493
16753
  422: {
16494
16754
  headers: {
@@ -16606,7 +16866,7 @@ interface operations {
16606
16866
  "application/json": components["schemas"]["Error"];
16607
16867
  };
16608
16868
  };
16609
- /** @description The account_id does not belong to this tenant, or the job posting was not found. */
16869
+ /** @description The account_id does not belong to this tenant, or the job posting was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
16610
16870
  404: {
16611
16871
  headers: {
16612
16872
  [name: string]: unknown;
@@ -16615,6 +16875,15 @@ interface operations {
16615
16875
  "application/json": components["schemas"]["Error"];
16616
16876
  };
16617
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
+ };
16618
16887
  /** @description The account is restricted and cannot close this job posting. */
16619
16888
  422: {
16620
16889
  headers: {
@@ -16819,7 +17088,7 @@ interface operations {
16819
17088
  "application/json": components["schemas"]["Error"];
16820
17089
  };
16821
17090
  };
16822
- /** @description The account_id does not belong to this tenant, or the job posting was not found. */
17091
+ /** @description The account_id does not belong to this tenant, or the job posting was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
16823
17092
  404: {
16824
17093
  headers: {
16825
17094
  [name: string]: unknown;
@@ -16828,6 +17097,15 @@ interface operations {
16828
17097
  "application/json": components["schemas"]["Error"];
16829
17098
  };
16830
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
+ };
16831
17109
  /** @description The account is restricted and cannot be queried. */
16832
17110
  422: {
16833
17111
  headers: {
@@ -17001,7 +17279,7 @@ interface operations {
17001
17279
  "application/json": components["schemas"]["Error"];
17002
17280
  };
17003
17281
  };
17004
- /** @description The account_id does not belong to this tenant, or the job posting/applicant was not found. */
17282
+ /** @description The account_id does not belong to this tenant, or the job posting/applicant was not found. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17005
17283
  404: {
17006
17284
  headers: {
17007
17285
  [name: string]: unknown;
@@ -17123,7 +17401,7 @@ interface operations {
17123
17401
  "application/json": components["schemas"]["Error"];
17124
17402
  };
17125
17403
  };
17126
- /** @description The account_id does not belong to this tenant, the job posting/applicant was not found, or this applicant has no résumé on file. */
17404
+ /** @description The account_id does not belong to this tenant, the job posting/applicant was not found, or this applicant has no résumé on file. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17127
17405
  404: {
17128
17406
  headers: {
17129
17407
  [name: string]: unknown;
@@ -17198,7 +17476,7 @@ interface operations {
17198
17476
  path: {
17199
17477
  /** @description The account ID (`acc_...`) to use for the request. */
17200
17478
  account_id: string;
17201
- /** @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`. */
17479
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
17202
17480
  post_id: string;
17203
17481
  };
17204
17482
  cookie?: never;
@@ -17221,7 +17499,7 @@ interface operations {
17221
17499
  object?: "post";
17222
17500
  /** @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. */
17223
17501
  id?: string;
17224
- /** @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. */
17502
+ /** @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 every operation that takes one, reads and writes alike, exactly like `id` is. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
17225
17503
  urn?: string | null;
17226
17504
  /** @description Shareable URL for the post. */
17227
17505
  share_url?: string | null;
@@ -17254,12 +17532,18 @@ interface operations {
17254
17532
  * @enum {string|null}
17255
17533
  */
17256
17534
  user_reacted?: "like" | "celebrate" | "support" | "love" | "insightful" | "funny" | null;
17257
- /** @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. */
17258
17536
  author?: {
17259
17537
  /** @description LinkedIn profile identifier. */
17260
17538
  id?: string;
17261
- /** @description Author's display name. */
17539
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
17262
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;
17263
17547
  /** @description Author's profile picture URL, or null if not set. */
17264
17548
  profile_picture_url?: string | null;
17265
17549
  };
@@ -17311,7 +17595,7 @@ interface operations {
17311
17595
  "application/json": components["schemas"]["Error"];
17312
17596
  };
17313
17597
  };
17314
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
17598
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17315
17599
  404: {
17316
17600
  headers: {
17317
17601
  [name: string]: unknown;
@@ -17377,7 +17661,7 @@ interface operations {
17377
17661
  path: {
17378
17662
  /** @description The account ID (`acc_...`) that owns the post. */
17379
17663
  account_id: string;
17380
- /** @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`. */
17664
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
17381
17665
  post_id: string;
17382
17666
  };
17383
17667
  cookie?: never;
@@ -17391,9 +17675,7 @@ interface operations {
17391
17675
  RateLimit: components["headers"]["RateLimit"];
17392
17676
  [name: string]: unknown;
17393
17677
  };
17394
- content: {
17395
- "application/json": Record<string, never>;
17396
- };
17678
+ content?: never;
17397
17679
  };
17398
17680
  /** @description Missing or invalid path parameter. */
17399
17681
  400: {
@@ -17422,7 +17704,7 @@ interface operations {
17422
17704
  "application/json": components["schemas"]["Error"];
17423
17705
  };
17424
17706
  };
17425
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
17707
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17426
17708
  404: {
17427
17709
  headers: {
17428
17710
  [name: string]: unknown;
@@ -17505,7 +17787,7 @@ interface operations {
17505
17787
  /** @description File name for the attachment. */
17506
17788
  filename: string;
17507
17789
  }[];
17508
- /** @description A post_id to quote/repost. Empty text + quoted_post_id = a simple repost; non-empty text + quoted_post_id = a quote-post. */
17790
+ /** @description The post to quote or repost. Empty text + quoted_post_id = a simple repost; non-empty text + quoted_post_id = a quote-post. The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
17509
17791
  quoted_post_id?: string;
17510
17792
  /**
17511
17793
  * @description Who can read the post (substrate default: anyone if omitted).
@@ -17560,7 +17842,7 @@ interface operations {
17560
17842
  "application/json": components["schemas"]["Error"];
17561
17843
  };
17562
17844
  };
17563
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND). */
17845
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17564
17846
  404: {
17565
17847
  headers: {
17566
17848
  [name: string]: unknown;
@@ -17569,7 +17851,7 @@ interface operations {
17569
17851
  "application/json": components["schemas"]["Error"];
17570
17852
  };
17571
17853
  };
17572
- /** @description Attachment or total request body exceeds the size cap (base64 inflates ~+33%). */
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. */
17573
17855
  413: {
17574
17856
  headers: {
17575
17857
  [name: string]: unknown;
@@ -17688,7 +17970,7 @@ interface operations {
17688
17970
  object?: "post";
17689
17971
  /** @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. */
17690
17972
  id?: string;
17691
- /** @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. */
17973
+ /** @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 every operation that takes one, reads and writes alike, exactly like `id` is. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
17692
17974
  urn?: string | null;
17693
17975
  /** @description Shareable URL for the post. */
17694
17976
  share_url?: string | null;
@@ -17721,12 +18003,18 @@ interface operations {
17721
18003
  * @enum {string|null}
17722
18004
  */
17723
18005
  user_reacted?: "like" | "celebrate" | "support" | "love" | "insightful" | "funny" | null;
17724
- /** @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. */
17725
18007
  author?: {
17726
18008
  /** @description LinkedIn profile identifier. */
17727
18009
  id?: string;
17728
- /** @description Author's display name. */
18010
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
17729
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;
17730
18018
  /** @description Author's profile picture URL, or null if not set. */
17731
18019
  profile_picture_url?: string | null;
17732
18020
  };
@@ -17781,7 +18069,7 @@ interface operations {
17781
18069
  "application/json": components["schemas"]["Error"];
17782
18070
  };
17783
18071
  };
17784
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the user_id could not be resolved (RESOURCE_NOT_FOUND). */
18072
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the user_id could not be resolved (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17785
18073
  404: {
17786
18074
  headers: {
17787
18075
  [name: string]: unknown;
@@ -17852,7 +18140,7 @@ interface operations {
17852
18140
  path: {
17853
18141
  /** @description The account ID (`acc_...`) to use for the request. */
17854
18142
  account_id: string;
17855
- /** @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. */
18143
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
17856
18144
  post_id: string;
17857
18145
  };
17858
18146
  cookie?: never;
@@ -17929,7 +18217,7 @@ interface operations {
17929
18217
  "application/json": components["schemas"]["Error"];
17930
18218
  };
17931
18219
  };
17932
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
18220
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
17933
18221
  404: {
17934
18222
  headers: {
17935
18223
  [name: string]: unknown;
@@ -17995,7 +18283,7 @@ interface operations {
17995
18283
  path: {
17996
18284
  /** @description The account ID (`acc_...`) to react from. */
17997
18285
  account_id: string;
17998
- /** @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. */
18286
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
17999
18287
  post_id: string;
18000
18288
  };
18001
18289
  cookie?: never;
@@ -18054,7 +18342,7 @@ interface operations {
18054
18342
  "application/json": components["schemas"]["Error"];
18055
18343
  };
18056
18344
  };
18057
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
18345
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
18058
18346
  404: {
18059
18347
  headers: {
18060
18348
  [name: string]: unknown;
@@ -18063,6 +18351,15 @@ interface operations {
18063
18351
  "application/json": components["schemas"]["Error"];
18064
18352
  };
18065
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
+ };
18066
18363
  /** @description The platform rejected the reaction. Conservative mapping. */
18067
18364
  422: {
18068
18365
  headers: {
@@ -18129,7 +18426,7 @@ interface operations {
18129
18426
  path: {
18130
18427
  /** @description The account ID (`acc_...`) whose reaction to remove. */
18131
18428
  account_id: string;
18132
- /** @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. */
18429
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
18133
18430
  post_id: string;
18134
18431
  };
18135
18432
  cookie?: never;
@@ -18186,7 +18483,7 @@ interface operations {
18186
18483
  "application/json": components["schemas"]["Error"];
18187
18484
  };
18188
18485
  };
18189
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). */
18486
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
18190
18487
  404: {
18191
18488
  headers: {
18192
18489
  [name: string]: unknown;
@@ -18195,8 +18492,8 @@ interface operations {
18195
18492
  "application/json": components["schemas"]["Error"];
18196
18493
  };
18197
18494
  };
18198
- /** @description No reaction of the given value exists to remove. */
18199
- 422: {
18495
+ /** @description Payload too large, the request body exceeds the size limit. */
18496
+ 413: {
18200
18497
  headers: {
18201
18498
  [name: string]: unknown;
18202
18499
  };
@@ -18204,8 +18501,17 @@ interface operations {
18204
18501
  "application/json": components["schemas"]["Error"];
18205
18502
  };
18206
18503
  };
18207
- /** @description Rate limited, slow down and retry after the hinted delay. */
18208
- 429: {
18504
+ /** @description No reaction of the given value exists to remove. */
18505
+ 422: {
18506
+ headers: {
18507
+ [name: string]: unknown;
18508
+ };
18509
+ content: {
18510
+ "application/json": components["schemas"]["Error"];
18511
+ };
18512
+ };
18513
+ /** @description Rate limited, slow down and retry after the hinted delay. */
18514
+ 429: {
18209
18515
  headers: {
18210
18516
  "RateLimit-Policy": components["headers"]["RateLimit-Policy"];
18211
18517
  RateLimit: components["headers"]["RateLimit"];
@@ -18312,12 +18618,46 @@ interface operations {
18312
18618
  * @enum {string}
18313
18619
  */
18314
18620
  object?: "post";
18315
- /** @description The post's identifier as returned on this surface. Use this value, not `urn`, on sub-resource operations. */
18621
+ /** @description The post's identifier as returned on this surface. Accepted as the post_id path param on every operation that takes one, as is `urn`. */
18316
18622
  id?: string;
18317
- /** @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. */
18623
+ /** @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 every operation that takes one. null when the post carries no resolvable identity, and two nulls are not a match: treat null as unknown, never as equal. */
18318
18624
  urn?: string | null;
18319
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. */
18320
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>[];
18321
18661
  };
18322
18662
  }[];
18323
18663
  /** @description Next-page cursor; null on the last page. */
@@ -18343,7 +18683,7 @@ interface operations {
18343
18683
  "application/json": components["schemas"]["Error"];
18344
18684
  };
18345
18685
  };
18346
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the user_id could not be resolved (RESOURCE_NOT_FOUND). */
18686
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the user_id could not be resolved (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
18347
18687
  404: {
18348
18688
  headers: {
18349
18689
  [name: string]: unknown;
@@ -18442,7 +18782,7 @@ interface operations {
18442
18782
  object?: "saved_post_preview";
18443
18783
  /** @description The numeric activity id. */
18444
18784
  id?: string | null;
18445
- /** @description The activity id, stripped of the urn:li:activity: prefix, the actionable handle for save/unsave and for GET /v1/{account_id}/posts/{post_id}. */
18785
+ /** @description The activity id, stripped of the urn:li:activity: prefix. Accepted directly as the post_id path param on every operation that takes one, including save/unsave, get-post, and the comment and reaction sub-resources. */
18446
18786
  activity_urn_id?: string | null;
18447
18787
  /** @description Canonical post URL. */
18448
18788
  url?: string | null;
@@ -18508,7 +18848,7 @@ interface operations {
18508
18848
  "application/json": components["schemas"]["Error"];
18509
18849
  };
18510
18850
  };
18511
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND). */
18851
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
18512
18852
  404: {
18513
18853
  headers: {
18514
18854
  [name: string]: unknown;
@@ -18580,7 +18920,7 @@ interface operations {
18580
18920
  requestBody: {
18581
18921
  content: {
18582
18922
  "application/json": {
18583
- /** @description The post to save. Accepts the id returned by get_post / list_profile_activity, a full LinkedIn post URL, or `urn:li:activity:/ugcPost:/share:/<id>`, or a bare numeric `<id>`; all resolve to the same target. */
18923
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
18584
18924
  post_id: string;
18585
18925
  };
18586
18926
  };
@@ -18607,7 +18947,7 @@ interface operations {
18607
18947
  };
18608
18948
  };
18609
18949
  };
18610
- /** @description Missing/malformed account_id, or post_id is not a bare numeric id or a `urn:li:activity:<id>`. */
18950
+ /** @description Missing/malformed account_id, or post_id is not in an accepted form (the `id` from a post read, a bare numeric activity id, a `urn:li:activity:<id>` URN, or a full LinkedIn post URL). */
18611
18951
  400: {
18612
18952
  headers: {
18613
18953
  [name: string]: unknown;
@@ -18634,7 +18974,7 @@ interface operations {
18634
18974
  "application/json": components["schemas"]["Error"];
18635
18975
  };
18636
18976
  };
18637
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the target post was not found (RESOURCE_NOT_FOUND). */
18977
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the target post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
18638
18978
  404: {
18639
18979
  headers: {
18640
18980
  [name: string]: unknown;
@@ -18643,6 +18983,15 @@ interface operations {
18643
18983
  "application/json": components["schemas"]["Error"];
18644
18984
  };
18645
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
+ };
18646
18995
  /** @description Rate limited, slow down and retry after the hinted delay. */
18647
18996
  429: {
18648
18997
  headers: {
@@ -18700,7 +19049,7 @@ interface operations {
18700
19049
  path: {
18701
19050
  /** @description The account ID (`acc_...`) that performs the unsave. */
18702
19051
  account_id: string;
18703
- /** @description The post to unsave. Accepts `urn:li:activity:<id>` or a bare numeric `<id>`. */
19052
+ /** @description The post's `id`, as returned by `get_post` or any list response (`list_user_posts`, `list_profile_activity`, `get_feed`). A bare numeric activity id (`7332661864792854528`), a URN (`urn:li:activity:<id>`, `urn:li:ugcPost:<id>`, `urn:li:share:<id>`), and a full LinkedIn share URL are all accepted and mean the same post. */
18704
19053
  post_id: string;
18705
19054
  };
18706
19055
  cookie?: never;
@@ -18728,7 +19077,7 @@ interface operations {
18728
19077
  };
18729
19078
  };
18730
19079
  };
18731
- /** @description Missing/malformed account_id, or post_id is not a bare numeric id or a `urn:li:activity:<id>`. */
19080
+ /** @description Missing/malformed account_id, or post_id is not in an accepted form (the `id` from a post read, a bare numeric activity id, a `urn:li:activity:<id>` URN, or a full LinkedIn post URL). */
18732
19081
  400: {
18733
19082
  headers: {
18734
19083
  [name: string]: unknown;
@@ -18755,7 +19104,7 @@ interface operations {
18755
19104
  "application/json": components["schemas"]["Error"];
18756
19105
  };
18757
19106
  };
18758
- /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the target post was not found (RESOURCE_NOT_FOUND). */
19107
+ /** @description The account_id does not belong to this tenant (ACCOUNT_NOT_FOUND), or the target post was not found (RESOURCE_NOT_FOUND). An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
18759
19108
  404: {
18760
19109
  headers: {
18761
19110
  [name: string]: unknown;
@@ -19201,7 +19550,7 @@ interface operations {
19201
19550
  "application/json": components["schemas"]["Error"];
19202
19551
  };
19203
19552
  };
19204
- /** @description RESOURCE_NOT_FOUND, the profile does not exist or is not visible to the operator account. */
19553
+ /** @description RESOURCE_NOT_FOUND, the profile does not exist or is not visible to the operator account. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
19205
19554
  404: {
19206
19555
  headers: {
19207
19556
  [name: string]: unknown;
@@ -19418,7 +19767,7 @@ interface operations {
19418
19767
  "application/json": components["schemas"]["Error"];
19419
19768
  };
19420
19769
  };
19421
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
19770
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
19422
19771
  404: {
19423
19772
  headers: {
19424
19773
  [name: string]: unknown;
@@ -19427,7 +19776,7 @@ interface operations {
19427
19776
  "application/json": components["schemas"]["Error"];
19428
19777
  };
19429
19778
  };
19430
- /** @description PAYLOAD_TOO_LARGE, an attachment exceeds 5 MiB, or the total body exceeds 8 MiB. */
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. */
19431
19780
  413: {
19432
19781
  headers: {
19433
19782
  [name: string]: unknown;
@@ -19730,7 +20079,7 @@ interface operations {
19730
20079
  "application/json": components["schemas"]["Error"];
19731
20080
  };
19732
20081
  };
19733
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
20082
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
19734
20083
  404: {
19735
20084
  headers: {
19736
20085
  [name: string]: unknown;
@@ -19739,6 +20088,15 @@ interface operations {
19739
20088
  "application/json": components["schemas"]["Error"];
19740
20089
  };
19741
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
+ };
19742
20100
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
19743
20101
  422: {
19744
20102
  headers: {
@@ -19913,7 +20271,7 @@ interface operations {
19913
20271
  "application/json": components["schemas"]["Error"];
19914
20272
  };
19915
20273
  };
19916
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id supplied in the body (PIPELINE, APPLICANTS) does not exist or is not visible to this account. ACCOUNT_NOT_FOUND; the account_id does not exist or does not belong to this tenant. */
20274
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id supplied in the body (PIPELINE, APPLICANTS) does not exist or is not visible to this account. ACCOUNT_NOT_FOUND; the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
19917
20275
  404: {
19918
20276
  headers: {
19919
20277
  [name: string]: unknown;
@@ -19922,6 +20280,15 @@ interface operations {
19922
20280
  "application/json": components["schemas"]["Error"];
19923
20281
  };
19924
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
+ };
19925
20292
  /** @description Unprocessable entity, the account state is invalid for this operation. */
19926
20293
  422: {
19927
20294
  headers: {
@@ -20137,7 +20504,7 @@ interface operations {
20137
20504
  "application/json": components["schemas"]["Error"];
20138
20505
  };
20139
20506
  };
20140
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
20507
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
20141
20508
  404: {
20142
20509
  headers: {
20143
20510
  [name: string]: unknown;
@@ -20340,7 +20707,7 @@ interface operations {
20340
20707
  "application/json": components["schemas"]["Error"];
20341
20708
  };
20342
20709
  };
20343
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
20710
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
20344
20711
  404: {
20345
20712
  headers: {
20346
20713
  [name: string]: unknown;
@@ -20497,7 +20864,7 @@ interface operations {
20497
20864
  "application/json": components["schemas"]["Error"];
20498
20865
  };
20499
20866
  };
20500
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
20867
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
20501
20868
  404: {
20502
20869
  headers: {
20503
20870
  [name: string]: unknown;
@@ -20506,6 +20873,15 @@ interface operations {
20506
20873
  "application/json": components["schemas"]["Error"];
20507
20874
  };
20508
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
+ };
20509
20885
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
20510
20886
  422: {
20511
20887
  headers: {
@@ -20741,7 +21117,7 @@ interface operations {
20741
21117
  "application/json": components["schemas"]["Error"];
20742
21118
  };
20743
21119
  };
20744
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
21120
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
20745
21121
  404: {
20746
21122
  headers: {
20747
21123
  [name: string]: unknown;
@@ -20750,6 +21126,15 @@ interface operations {
20750
21126
  "application/json": components["schemas"]["Error"];
20751
21127
  };
20752
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
+ };
20753
21138
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
20754
21139
  422: {
20755
21140
  headers: {
@@ -21039,7 +21424,7 @@ interface operations {
21039
21424
  "application/json": components["schemas"]["Error"];
21040
21425
  };
21041
21426
  };
21042
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
21427
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
21043
21428
  404: {
21044
21429
  headers: {
21045
21430
  [name: string]: unknown;
@@ -21048,6 +21433,15 @@ interface operations {
21048
21433
  "application/json": components["schemas"]["Error"];
21049
21434
  };
21050
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
+ };
21051
21445
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
21052
21446
  422: {
21053
21447
  headers: {
@@ -21195,7 +21589,8 @@ interface operations {
21195
21589
  endorsement_count?: number;
21196
21590
  }[];
21197
21591
  }[];
21198
- cursor?: string;
21592
+ /** @description Opaque cursor for the next page. null when there are no more results. */
21593
+ cursor?: string | null;
21199
21594
  total_count?: number;
21200
21595
  } | {
21201
21596
  /** @enum {string} */
@@ -21267,7 +21662,8 @@ interface operations {
21267
21662
  }[];
21268
21663
  };
21269
21664
  }[];
21270
- cursor?: string;
21665
+ /** @description Opaque cursor for the next page. null when there are no more results. */
21666
+ cursor?: string | null;
21271
21667
  total_count?: number;
21272
21668
  } | {
21273
21669
  /** @enum {string} */
@@ -21339,7 +21735,8 @@ interface operations {
21339
21735
  }[];
21340
21736
  };
21341
21737
  }[];
21342
- cursor?: string;
21738
+ /** @description Opaque cursor for the next page. null when there are no more results. */
21739
+ cursor?: string | null;
21343
21740
  total_count?: number;
21344
21741
  };
21345
21742
  };
@@ -21371,7 +21768,7 @@ interface operations {
21371
21768
  "application/json": components["schemas"]["Error"];
21372
21769
  };
21373
21770
  };
21374
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
21771
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
21375
21772
  404: {
21376
21773
  headers: {
21377
21774
  [name: string]: unknown;
@@ -21380,6 +21777,15 @@ interface operations {
21380
21777
  "application/json": components["schemas"]["Error"];
21381
21778
  };
21382
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
+ };
21383
21789
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
21384
21790
  422: {
21385
21791
  headers: {
@@ -21541,7 +21947,7 @@ interface operations {
21541
21947
  "application/json": components["schemas"]["Error"];
21542
21948
  };
21543
21949
  };
21544
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
21950
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
21545
21951
  404: {
21546
21952
  headers: {
21547
21953
  [name: string]: unknown;
@@ -21748,7 +22154,7 @@ interface operations {
21748
22154
  "application/json": components["schemas"]["Error"];
21749
22155
  };
21750
22156
  };
21751
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
22157
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
21752
22158
  404: {
21753
22159
  headers: {
21754
22160
  [name: string]: unknown;
@@ -21757,6 +22163,15 @@ interface operations {
21757
22163
  "application/json": components["schemas"]["Error"];
21758
22164
  };
21759
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
+ };
21760
22175
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
21761
22176
  422: {
21762
22177
  headers: {
@@ -21893,7 +22308,7 @@ interface operations {
21893
22308
  "application/json": components["schemas"]["Error"];
21894
22309
  };
21895
22310
  };
21896
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
22311
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
21897
22312
  404: {
21898
22313
  headers: {
21899
22314
  [name: string]: unknown;
@@ -22057,7 +22472,7 @@ interface operations {
22057
22472
  "application/json": components["schemas"]["Error"];
22058
22473
  };
22059
22474
  };
22060
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
22475
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
22061
22476
  404: {
22062
22477
  headers: {
22063
22478
  [name: string]: unknown;
@@ -22264,7 +22679,7 @@ interface operations {
22264
22679
  "application/json": components["schemas"]["Error"];
22265
22680
  };
22266
22681
  };
22267
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
22682
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
22268
22683
  404: {
22269
22684
  headers: {
22270
22685
  [name: string]: unknown;
@@ -22273,6 +22688,15 @@ interface operations {
22273
22688
  "application/json": components["schemas"]["Error"];
22274
22689
  };
22275
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
+ };
22276
22700
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22277
22701
  422: {
22278
22702
  headers: {
@@ -22434,7 +22858,7 @@ interface operations {
22434
22858
  "application/json": components["schemas"]["Error"];
22435
22859
  };
22436
22860
  };
22437
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
22861
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
22438
22862
  404: {
22439
22863
  headers: {
22440
22864
  [name: string]: unknown;
@@ -22641,7 +23065,7 @@ interface operations {
22641
23065
  "application/json": components["schemas"]["Error"];
22642
23066
  };
22643
23067
  };
22644
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
23068
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
22645
23069
  404: {
22646
23070
  headers: {
22647
23071
  [name: string]: unknown;
@@ -22650,6 +23074,15 @@ interface operations {
22650
23074
  "application/json": components["schemas"]["Error"];
22651
23075
  };
22652
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
+ };
22653
23086
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22654
23087
  422: {
22655
23088
  headers: {
@@ -22826,7 +23259,7 @@ interface operations {
22826
23259
  "application/json": components["schemas"]["Error"];
22827
23260
  };
22828
23261
  };
22829
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
23262
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
22830
23263
  404: {
22831
23264
  headers: {
22832
23265
  [name: string]: unknown;
@@ -22835,6 +23268,15 @@ interface operations {
22835
23268
  "application/json": components["schemas"]["Error"];
22836
23269
  };
22837
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
+ };
22838
23280
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22839
23281
  422: {
22840
23282
  headers: {
@@ -22954,7 +23396,7 @@ interface operations {
22954
23396
  "application/json": components["schemas"]["Error"];
22955
23397
  };
22956
23398
  };
22957
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
23399
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
22958
23400
  404: {
22959
23401
  headers: {
22960
23402
  [name: string]: unknown;
@@ -22963,6 +23405,15 @@ interface operations {
22963
23405
  "application/json": components["schemas"]["Error"];
22964
23406
  };
22965
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
+ };
22966
23417
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22967
23418
  422: {
22968
23419
  headers: {
@@ -23089,7 +23540,7 @@ interface operations {
23089
23540
  "application/json": components["schemas"]["Error"];
23090
23541
  };
23091
23542
  };
23092
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id, stage_id, or candidate_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
23543
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id, stage_id, or candidate_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
23093
23544
  404: {
23094
23545
  headers: {
23095
23546
  [name: string]: unknown;
@@ -23098,6 +23549,15 @@ interface operations {
23098
23549
  "application/json": components["schemas"]["Error"];
23099
23550
  };
23100
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
+ };
23101
23561
  /** @description ACCOUNT_RESTRICTED, the connected LinkedIn account cannot perform the requested Recruiter action. */
23102
23562
  422: {
23103
23563
  headers: {
@@ -23411,7 +23871,7 @@ interface operations {
23411
23871
  "application/json": components["schemas"]["Error"];
23412
23872
  };
23413
23873
  };
23414
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id or applicant_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
23874
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id or applicant_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
23415
23875
  404: {
23416
23876
  headers: {
23417
23877
  [name: string]: unknown;
@@ -23420,6 +23880,15 @@ interface operations {
23420
23880
  "application/json": components["schemas"]["Error"];
23421
23881
  };
23422
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
+ };
23423
23892
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
23424
23893
  422: {
23425
23894
  headers: {
@@ -23609,7 +24078,7 @@ interface operations {
23609
24078
  "application/json": components["schemas"]["Error"];
23610
24079
  };
23611
24080
  };
23612
- /** @description Not found. RESOURCE_NOT_FOUND, the project_id or applicant_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
24081
+ /** @description Not found. RESOURCE_NOT_FOUND, the project_id or applicant_id does not exist or is not visible to this account. ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
23613
24082
  404: {
23614
24083
  headers: {
23615
24084
  [name: string]: unknown;
@@ -23731,7 +24200,7 @@ interface operations {
23731
24200
  "application/json": components["schemas"]["Error"];
23732
24201
  };
23733
24202
  };
23734
- /** @description RESOURCE_NOT_FOUND, the applicant has no résumé on file, or the project/applicant does not exist. */
24203
+ /** @description RESOURCE_NOT_FOUND, the applicant has no résumé on file, or the project/applicant does not exist. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
23735
24204
  404: {
23736
24205
  headers: {
23737
24206
  [name: string]: unknown;
@@ -23890,7 +24359,7 @@ interface operations {
23890
24359
  "application/json": components["schemas"]["Error"];
23891
24360
  };
23892
24361
  };
23893
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
24362
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
23894
24363
  404: {
23895
24364
  headers: {
23896
24365
  [name: string]: unknown;
@@ -23899,7 +24368,7 @@ interface operations {
23899
24368
  "application/json": components["schemas"]["Error"];
23900
24369
  };
23901
24370
  };
23902
- /** @description PAYLOAD_TOO_LARGE, an attachment exceeds 5 MiB, or the total body exceeds 8 MiB. */
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. */
23903
24372
  413: {
23904
24373
  headers: {
23905
24374
  [name: string]: unknown;
@@ -24204,7 +24673,7 @@ interface operations {
24204
24673
  "application/json": components["schemas"]["Error"];
24205
24674
  };
24206
24675
  };
24207
- /** @description RESOURCE_NOT_FOUND, the profile does not exist, or ACCOUNT_NOT_FOUND; the account_id does not exist or does not belong to this tenant. */
24676
+ /** @description RESOURCE_NOT_FOUND, the profile does not exist, or ACCOUNT_NOT_FOUND; the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
24208
24677
  404: {
24209
24678
  headers: {
24210
24679
  [name: string]: unknown;
@@ -24351,7 +24820,7 @@ interface operations {
24351
24820
  "application/json": components["schemas"]["Error"];
24352
24821
  };
24353
24822
  };
24354
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
24823
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
24355
24824
  404: {
24356
24825
  headers: {
24357
24826
  [name: string]: unknown;
@@ -24507,7 +24976,7 @@ interface operations {
24507
24976
  "application/json": components["schemas"]["Error"];
24508
24977
  };
24509
24978
  };
24510
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
24979
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
24511
24980
  404: {
24512
24981
  headers: {
24513
24982
  [name: string]: unknown;
@@ -24720,7 +25189,7 @@ interface operations {
24720
25189
  "application/json": components["schemas"]["Error"];
24721
25190
  };
24722
25191
  };
24723
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
25192
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
24724
25193
  404: {
24725
25194
  headers: {
24726
25195
  [name: string]: unknown;
@@ -24729,6 +25198,15 @@ interface operations {
24729
25198
  "application/json": components["schemas"]["Error"];
24730
25199
  };
24731
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
+ };
24732
25210
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
24733
25211
  422: {
24734
25212
  headers: {
@@ -24960,7 +25438,7 @@ interface operations {
24960
25438
  "application/json": components["schemas"]["Error"];
24961
25439
  };
24962
25440
  };
24963
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
25441
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
24964
25442
  404: {
24965
25443
  headers: {
24966
25444
  [name: string]: unknown;
@@ -24969,6 +25447,15 @@ interface operations {
24969
25447
  "application/json": components["schemas"]["Error"];
24970
25448
  };
24971
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
+ };
24972
25459
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
24973
25460
  422: {
24974
25461
  headers: {
@@ -25097,7 +25584,7 @@ interface operations {
25097
25584
  "application/json": components["schemas"]["Error"];
25098
25585
  };
25099
25586
  };
25100
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
25587
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
25101
25588
  404: {
25102
25589
  headers: {
25103
25590
  [name: string]: unknown;
@@ -25106,6 +25593,15 @@ interface operations {
25106
25593
  "application/json": components["schemas"]["Error"];
25107
25594
  };
25108
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
+ };
25109
25605
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
25110
25606
  422: {
25111
25607
  headers: {
@@ -25234,7 +25730,7 @@ interface operations {
25234
25730
  "application/json": components["schemas"]["Error"];
25235
25731
  };
25236
25732
  };
25237
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
25733
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
25238
25734
  404: {
25239
25735
  headers: {
25240
25736
  [name: string]: unknown;
@@ -25243,6 +25739,15 @@ interface operations {
25243
25739
  "application/json": components["schemas"]["Error"];
25244
25740
  };
25245
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
+ };
25246
25751
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
25247
25752
  422: {
25248
25753
  headers: {
@@ -25385,7 +25890,7 @@ interface operations {
25385
25890
  "application/json": components["schemas"]["Error"];
25386
25891
  };
25387
25892
  };
25388
- /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. */
25893
+ /** @description RESOURCE_NOT_FOUND, the account_id or list does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
25389
25894
  404: {
25390
25895
  headers: {
25391
25896
  [name: string]: unknown;
@@ -25769,7 +26274,7 @@ interface operations {
25769
26274
  "application/json": components["schemas"]["Error"];
25770
26275
  };
25771
26276
  };
25772
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
26277
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
25773
26278
  404: {
25774
26279
  headers: {
25775
26280
  [name: string]: unknown;
@@ -25778,6 +26283,15 @@ interface operations {
25778
26283
  "application/json": components["schemas"]["Error"];
25779
26284
  };
25780
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
+ };
25781
26295
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
25782
26296
  422: {
25783
26297
  headers: {
@@ -26031,7 +26545,7 @@ interface operations {
26031
26545
  "application/json": components["schemas"]["Error"];
26032
26546
  };
26033
26547
  };
26034
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
26548
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
26035
26549
  404: {
26036
26550
  headers: {
26037
26551
  [name: string]: unknown;
@@ -26040,6 +26554,15 @@ interface operations {
26040
26554
  "application/json": components["schemas"]["Error"];
26041
26555
  };
26042
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
+ };
26043
26566
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
26044
26567
  422: {
26045
26568
  headers: {
@@ -26326,7 +26849,7 @@ interface operations {
26326
26849
  "application/json": components["schemas"]["Error"];
26327
26850
  };
26328
26851
  };
26329
- /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. */
26852
+ /** @description ACCOUNT_NOT_FOUND, the account_id does not exist or does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
26330
26853
  404: {
26331
26854
  headers: {
26332
26855
  [name: string]: unknown;
@@ -26335,6 +26858,15 @@ interface operations {
26335
26858
  "application/json": components["schemas"]["Error"];
26336
26859
  };
26337
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
+ };
26338
26870
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
26339
26871
  422: {
26340
26872
  headers: {
@@ -26577,7 +27109,7 @@ interface operations {
26577
27109
  "application/json": components["schemas"]["Error"];
26578
27110
  };
26579
27111
  };
26580
- /** @description No such account for this tenant. */
27112
+ /** @description No such account for this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
26581
27113
  404: {
26582
27114
  headers: {
26583
27115
  [name: string]: unknown;
@@ -26639,7 +27171,7 @@ interface operations {
26639
27171
  };
26640
27172
  requestBody?: never;
26641
27173
  responses: {
26642
- /** @description The account was disconnected and hard-deleted; its seat is released. */
27174
+ /** @description The account was disconnected and hard-deleted; its seat is released. This endpoint is idempotent: calling it again for the same account also returns 200, with `already_disconnected` set so you can tell the two apart. */
26643
27175
  200: {
26644
27176
  headers: {
26645
27177
  "RateLimit-Policy": components["headers"]["RateLimit-Policy"];
@@ -26656,6 +27188,11 @@ interface operations {
26656
27188
  account_id?: string;
26657
27189
  /** @enum {string} */
26658
27190
  status?: "archived";
27191
+ /**
27192
+ * @description Present and true only when this account was already disconnected before the call, so this request changed nothing. Absent on a normal disconnect. It means either that you are retrying a call that already succeeded, or that the id you used has been replaced by a reconnect and the live connection now has a different id. Read `GET /v1/accounts` to see your current accounts before assuming the person is disconnected.
27193
+ * @enum {boolean}
27194
+ */
27195
+ already_disconnected?: true;
26659
27196
  };
26660
27197
  };
26661
27198
  };
@@ -26668,7 +27205,7 @@ interface operations {
26668
27205
  "application/json": components["schemas"]["Error"];
26669
27206
  };
26670
27207
  };
26671
- /** @description No such account for this tenant. */
27208
+ /** @description No such account for this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
26672
27209
  404: {
26673
27210
  headers: {
26674
27211
  [name: string]: unknown;
@@ -26791,7 +27328,7 @@ interface operations {
26791
27328
  "application/json": components["schemas"]["Error"];
26792
27329
  };
26793
27330
  };
26794
- /** @description No such account for this tenant. */
27331
+ /** @description No such account for this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id. */
26795
27332
  404: {
26796
27333
  headers: {
26797
27334
  [name: string]: unknown;
@@ -26800,6 +27337,15 @@ interface operations {
26800
27337
  "application/json": components["schemas"]["Error"];
26801
27338
  };
26802
27339
  };
27340
+ /** @description Payload too large, the request body exceeds the size limit. */
27341
+ 413: {
27342
+ headers: {
27343
+ [name: string]: unknown;
27344
+ };
27345
+ content: {
27346
+ "application/json": components["schemas"]["Error"];
27347
+ };
27348
+ };
26803
27349
  /** @description Rate limited, slow down and retry after the hinted delay. */
26804
27350
  429: {
26805
27351
  headers: {
@@ -27045,6 +27591,15 @@ interface operations {
27045
27591
  "application/json": components["schemas"]["Error"];
27046
27592
  };
27047
27593
  };
27594
+ /** @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. */
27595
+ 403: {
27596
+ headers: {
27597
+ [name: string]: unknown;
27598
+ };
27599
+ content: {
27600
+ "application/json": components["schemas"]["Error"];
27601
+ };
27602
+ };
27048
27603
  /** @description This LinkedIn account is already linked (names your own account_id when your tenant owns it). */
27049
27604
  409: {
27050
27605
  headers: {
@@ -27054,6 +27609,15 @@ interface operations {
27054
27609
  "application/json": components["schemas"]["Error"];
27055
27610
  };
27056
27611
  };
27612
+ /** @description Payload too large, the request body exceeds the size limit. */
27613
+ 413: {
27614
+ headers: {
27615
+ [name: string]: unknown;
27616
+ };
27617
+ content: {
27618
+ "application/json": components["schemas"]["Error"];
27619
+ };
27620
+ };
27057
27621
  /** @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. */
27058
27622
  422: {
27059
27623
  headers: {
@@ -27193,6 +27757,15 @@ interface operations {
27193
27757
  };
27194
27758
  };
27195
27759
  };
27760
+ /** @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. */
27761
+ 403: {
27762
+ headers: {
27763
+ [name: string]: unknown;
27764
+ };
27765
+ content: {
27766
+ "application/json": components["schemas"]["Error"];
27767
+ };
27768
+ };
27196
27769
  /** @description No pending checkpoint for this account. */
27197
27770
  404: {
27198
27771
  headers: {
@@ -27211,6 +27784,15 @@ interface operations {
27211
27784
  "application/json": components["schemas"]["Error"];
27212
27785
  };
27213
27786
  };
27787
+ /** @description Payload too large, the request body exceeds the size limit. */
27788
+ 413: {
27789
+ headers: {
27790
+ [name: string]: unknown;
27791
+ };
27792
+ content: {
27793
+ "application/json": components["schemas"]["Error"];
27794
+ };
27795
+ };
27214
27796
  /** @description The submitted code was incorrect, or the challenge type is unsupported. */
27215
27797
  422: {
27216
27798
  headers: {
@@ -27305,6 +27887,15 @@ interface operations {
27305
27887
  };
27306
27888
  };
27307
27889
  };
27890
+ /** @description ACCOUNT_RESTRICTED. LinkedIn has restricted this account. Sign in to LinkedIn to see what it needs, resolve it there, then reconnect. */
27891
+ 403: {
27892
+ headers: {
27893
+ [name: string]: unknown;
27894
+ };
27895
+ content: {
27896
+ "application/json": components["schemas"]["Error"];
27897
+ };
27898
+ };
27308
27899
  /** @description No pending checkpoint for this account. */
27309
27900
  404: {
27310
27901
  headers: {
@@ -27323,6 +27914,15 @@ interface operations {
27323
27914
  "application/json": components["schemas"]["Error"];
27324
27915
  };
27325
27916
  };
27917
+ /** @description Payload too large, the request body exceeds the size limit. */
27918
+ 413: {
27919
+ headers: {
27920
+ [name: string]: unknown;
27921
+ };
27922
+ content: {
27923
+ "application/json": components["schemas"]["Error"];
27924
+ };
27925
+ };
27326
27926
  /** @description Rate limited, slow down and retry after the hinted delay. */
27327
27927
  429: {
27328
27928
  headers: {
@@ -27464,6 +28064,15 @@ interface operations {
27464
28064
  "application/json": components["schemas"]["Error"];
27465
28065
  };
27466
28066
  };
28067
+ /** @description Payload too large, the request body exceeds the size limit. */
28068
+ 413: {
28069
+ headers: {
28070
+ [name: string]: unknown;
28071
+ };
28072
+ content: {
28073
+ "application/json": components["schemas"]["Error"];
28074
+ };
28075
+ };
27467
28076
  /** @description The pending checkpoint is code-based, not mobile_app_approval, use submit instead. */
27468
28077
  422: {
27469
28078
  headers: {
@@ -27921,6 +28530,15 @@ interface operations {
27921
28530
  "application/json": components["schemas"]["Error"];
27922
28531
  };
27923
28532
  };
28533
+ /** @description Payload too large, the request body exceeds the size limit. */
28534
+ 413: {
28535
+ headers: {
28536
+ [name: string]: unknown;
28537
+ };
28538
+ content: {
28539
+ "application/json": components["schemas"]["Error"];
28540
+ };
28541
+ };
27924
28542
  /** @description Rate limited, slow down and retry after the hinted delay. */
27925
28543
  429: {
27926
28544
  headers: {
@@ -28378,6 +28996,15 @@ interface operations {
28378
28996
  "application/json": components["schemas"]["Error"];
28379
28997
  };
28380
28998
  };
28999
+ /** @description Payload too large, the request body exceeds the size limit. */
29000
+ 413: {
29001
+ headers: {
29002
+ [name: string]: unknown;
29003
+ };
29004
+ content: {
29005
+ "application/json": components["schemas"]["Error"];
29006
+ };
29007
+ };
28381
29008
  /** @description Rate limited, slow down and retry after the hinted delay. */
28382
29009
  429: {
28383
29010
  headers: {
@@ -29010,7 +29637,13 @@ declare class SearchResource {
29010
29637
  type PostCommentListPage = paths["/v1/{account_id}/posts/{post_id}/comments"]["get"]["responses"]["200"]["content"]["application/json"];
29011
29638
  type PostCommentListQuery = NonNullable<paths["/v1/{account_id}/posts/{post_id}/comments"]["get"]["parameters"]["query"]>;
29012
29639
  type PostDetail = paths["/v1/{account_id}/posts/{post_id}"]["get"]["responses"]["200"]["content"]["application/json"];
29013
- type PostDeleteResult = paths["/v1/{account_id}/posts/{post_id}"]["delete"]["responses"]["204"]["content"]["application/json"];
29640
+ /**
29641
+ * Delete-post resolves with nothing. The API answers 204, which carries no body,
29642
+ * and the document now says so: the 204 response declares no content at all. This
29643
+ * alias used to be derived from a JSON body the document declared and the API
29644
+ * never sent, so it described a value no caller could ever receive.
29645
+ */
29646
+ type PostDeleteResult = void;
29014
29647
  type CreatePostBody = paths["/v1/{account_id}/posts"]["post"]["requestBody"]["content"]["application/json"];
29015
29648
  type CreatePostResult = paths["/v1/{account_id}/posts"]["post"]["responses"]["201"]["content"]["application/json"];
29016
29649
  type UserPostListPage = paths["/v1/{account_id}/users/{user_id}/posts"]["get"]["responses"]["200"]["content"]["application/json"];
@@ -29141,7 +29774,13 @@ type CreateCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments"]["pos
29141
29774
  type CreateCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments"]["post"]["responses"]["201"]["content"]["application/json"];
29142
29775
  type EditCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["patch"]["requestBody"]["content"]["application/json"];
29143
29776
  type EditCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["patch"]["responses"]["200"]["content"]["application/json"];
29144
- type DeleteCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["delete"]["responses"]["204"]["content"]["application/json"];
29777
+ /**
29778
+ * Delete-comment resolves with nothing. The API answers 204, which carries no
29779
+ * body, and the document now says so: the 204 response declares no content at
29780
+ * all. This alias used to be derived from a JSON body the document declared and
29781
+ * the API never sent, so it described a value no caller could ever receive.
29782
+ */
29783
+ type DeleteCommentResult = void;
29145
29784
  type ReplyToCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["post"]["requestBody"]["content"]["application/json"];
29146
29785
  type ReplyToCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["post"]["responses"]["201"]["content"]["application/json"];
29147
29786
  type CommentReplyListPage = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}/replies"]["get"]["responses"]["200"]["content"]["application/json"];