@curviate/sdk 0.24.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -543,7 +543,7 @@ interface paths {
543
543
  put?: never;
544
544
  /**
545
545
  * Reply as the company page
546
- * @description Sends a message into an existing company-inbox conversation, as the page. chat_id is the conversation id from GET /v1/{account_id}/companies/{identifier}/chats, the same 2-... id this group's chat reads return, passed verbatim. The connected account must administer the page. Reply-only: a page can never start a new conversation, only answer an existing one. Send application/json with text, base64 attachments (max 5 MiB per file), or both; at least one of text or attachments is required. Message content passes through to the platform and is never stored. The response's sent_as field names the acting identity that was actually used.
546
+ * @description Sends a message into an existing company-inbox conversation, as the page. chat_id is the conversation id from GET /v1/{account_id}/companies/{identifier}/chats, the same 2-... id this group's chat reads return, passed verbatim. The connected account must administer the page. Reply-only: a page can never start a new conversation, only answer an existing one. Send application/json with text, base64 attachments (max 5 MiB per file, and 9 MiB for the whole request body; base64 makes a file about a third larger in the body than on disk), or both; at least one of text or attachments is required. Message content passes through to the platform and is never stored. The response's sent_as field names the acting identity that was actually used.
547
547
  */
548
548
  post: operations["postV1AccountIdCompaniesIdentifierChatsChatIdMessages"];
549
549
  delete?: never;
@@ -847,7 +847,7 @@ interface paths {
847
847
  put?: never;
848
848
  /**
849
849
  * Start a chat
850
- * @description Starts a new chat with one or more members from a connected account. Send application/json; attach files as base64-encoded attachments (max 5 MiB per file). Message content passes through to the platform and is never stored. Company pages are reply-only and cannot start a conversation; reply using a `COMPANY_` chat id from GET /v1/{account_id}/inboxes/{inbox_id}/chats instead.
850
+ * @description Starts a new chat with one or more members from a connected account. Send application/json; attach files as base64-encoded attachments (max 5 MiB per file, and 9 MiB for the whole request body; base64 makes a file about a third larger in the body than on disk). Message content passes through to the platform and is never stored. Company pages are reply-only and cannot start a conversation; reply using a `COMPANY_` chat id from GET /v1/{account_id}/inboxes/{inbox_id}/chats instead.
851
851
  */
852
852
  post: operations["postV1AccountIdChats"];
853
853
  delete?: never;
@@ -895,7 +895,7 @@ interface paths {
895
895
  put?: never;
896
896
  /**
897
897
  * Send a message
898
- * @description Sends a message into an existing chat. Send application/json with text, base64 attachments (max 5 MiB per file), or both; at least one of text or attachments is required. Message content passes through to the platform and is never stored. Sending on behalf of a company page: use a COMPANY_ chat id (from GET /v1/{account_id}/inboxes/{inbox_id}/chats) and the message sends AS THE PAGE, no separate parameter needed. The response's sent_as field names the acting identity that was actually used. Company pages are reply-only: this endpoint can answer an existing conversation on a page's behalf, but a page can never start a new one.
898
+ * @description Sends a message into an existing chat. Send application/json with text, base64 attachments (max 5 MiB per file, and 9 MiB for the whole request body; base64 makes a file about a third larger in the body than on disk), or both; at least one of text or attachments is required. Message content passes through to the platform and is never stored. Sending on behalf of a company page: use a COMPANY_ chat id (from GET /v1/{account_id}/inboxes/{inbox_id}/chats) and the message sends AS THE PAGE, no separate parameter needed. The response's sent_as field names the acting identity that was actually used. Company pages are reply-only: this endpoint can answer an existing conversation on a page's behalf, but a page can never start a new one.
899
899
  */
900
900
  post: operations["postV1AccountIdChatsChatIdMessages"];
901
901
  delete?: never;
@@ -3375,7 +3375,7 @@ interface operations {
3375
3375
  "application/json": components["schemas"]["Error"];
3376
3376
  };
3377
3377
  };
3378
- /** @description 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;
@@ -3794,6 +3794,15 @@ interface operations {
3794
3794
  "application/json": components["schemas"]["Error"];
3795
3795
  };
3796
3796
  };
3797
+ /** @description Payload too large, the request body exceeds the size limit. */
3798
+ 413: {
3799
+ headers: {
3800
+ [name: string]: unknown;
3801
+ };
3802
+ content: {
3803
+ "application/json": components["schemas"]["Error"];
3804
+ };
3805
+ };
3797
3806
  /** @description The account is restricted and cannot perform endorsements. */
3798
3807
  422: {
3799
3808
  headers: {
@@ -6035,6 +6044,15 @@ interface operations {
6035
6044
  "application/json": components["schemas"]["Error"];
6036
6045
  };
6037
6046
  };
6047
+ /** @description Payload too large, the request body exceeds the size limit. */
6048
+ 413: {
6049
+ headers: {
6050
+ [name: string]: unknown;
6051
+ };
6052
+ content: {
6053
+ "application/json": components["schemas"]["Error"];
6054
+ };
6055
+ };
6038
6056
  /** @description The account is restricted and cannot perform this operation. */
6039
6057
  422: {
6040
6058
  headers: {
@@ -7050,7 +7068,7 @@ interface operations {
7050
7068
  "application/json": components["schemas"]["Error"];
7051
7069
  };
7052
7070
  };
7053
- /** @description Payload too large, 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;
@@ -8298,6 +8316,15 @@ interface operations {
8298
8316
  "application/json": components["schemas"]["Error"];
8299
8317
  };
8300
8318
  };
8319
+ /** @description Payload too large, the request body exceeds the size limit. */
8320
+ 413: {
8321
+ headers: {
8322
+ [name: string]: unknown;
8323
+ };
8324
+ content: {
8325
+ "application/json": components["schemas"]["Error"];
8326
+ };
8327
+ };
8301
8328
  /** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
8302
8329
  422: {
8303
8330
  headers: {
@@ -8486,6 +8513,15 @@ interface operations {
8486
8513
  "application/json": components["schemas"]["Error"];
8487
8514
  };
8488
8515
  };
8516
+ /** @description Payload too large, the request body exceeds the size limit. */
8517
+ 413: {
8518
+ headers: {
8519
+ [name: string]: unknown;
8520
+ };
8521
+ content: {
8522
+ "application/json": components["schemas"]["Error"];
8523
+ };
8524
+ };
8489
8525
  /** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
8490
8526
  422: {
8491
8527
  headers: {
@@ -8722,6 +8758,15 @@ interface operations {
8722
8758
  "application/json": components["schemas"]["Error"];
8723
8759
  };
8724
8760
  };
8761
+ /** @description Payload too large, the request body exceeds the size limit. */
8762
+ 413: {
8763
+ headers: {
8764
+ [name: string]: unknown;
8765
+ };
8766
+ content: {
8767
+ "application/json": components["schemas"]["Error"];
8768
+ };
8769
+ };
8725
8770
  /** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
8726
8771
  422: {
8727
8772
  headers: {
@@ -8977,6 +9022,15 @@ interface operations {
8977
9022
  "application/json": components["schemas"]["Error"];
8978
9023
  };
8979
9024
  };
9025
+ /** @description Payload too large, the request body exceeds the size limit. */
9026
+ 413: {
9027
+ headers: {
9028
+ [name: string]: unknown;
9029
+ };
9030
+ content: {
9031
+ "application/json": components["schemas"]["Error"];
9032
+ };
9033
+ };
8980
9034
  /** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
8981
9035
  422: {
8982
9036
  headers: {
@@ -9257,6 +9311,15 @@ interface operations {
9257
9311
  "application/json": components["schemas"]["Error"];
9258
9312
  };
9259
9313
  };
9314
+ /** @description Payload too large, the request body exceeds the size limit. */
9315
+ 413: {
9316
+ headers: {
9317
+ [name: string]: unknown;
9318
+ };
9319
+ content: {
9320
+ "application/json": components["schemas"]["Error"];
9321
+ };
9322
+ };
9260
9323
  /** @description The account is restricted and cannot perform searches. */
9261
9324
  422: {
9262
9325
  headers: {
@@ -9589,6 +9652,15 @@ interface operations {
9589
9652
  "application/json": components["schemas"]["Error"];
9590
9653
  };
9591
9654
  };
9655
+ /** @description Payload too large, the request body exceeds the size limit. */
9656
+ 413: {
9657
+ headers: {
9658
+ [name: string]: unknown;
9659
+ };
9660
+ content: {
9661
+ "application/json": components["schemas"]["Error"];
9662
+ };
9663
+ };
9592
9664
  /** @description Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id. */
9593
9665
  422: {
9594
9666
  headers: {
@@ -10145,7 +10217,7 @@ interface operations {
10145
10217
  "application/json": components["schemas"]["Error"];
10146
10218
  };
10147
10219
  };
10148
- /** @description Payload too large: 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;
@@ -10518,6 +10590,15 @@ interface operations {
10518
10590
  "application/json": components["schemas"]["Error"];
10519
10591
  };
10520
10592
  };
10593
+ /** @description Payload too large, the request body exceeds the size limit. */
10594
+ 413: {
10595
+ headers: {
10596
+ [name: string]: unknown;
10597
+ };
10598
+ content: {
10599
+ "application/json": components["schemas"]["Error"];
10600
+ };
10601
+ };
10521
10602
  /** @description Rate limited. */
10522
10603
  429: {
10523
10604
  headers: {
@@ -10861,7 +10942,7 @@ interface operations {
10861
10942
  "application/json": components["schemas"]["Error"];
10862
10943
  };
10863
10944
  };
10864
- /** @description Payload too large: 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;
@@ -11296,6 +11377,15 @@ interface operations {
11296
11377
  "application/json": components["schemas"]["Error"];
11297
11378
  };
11298
11379
  };
11380
+ /** @description Payload too large, the request body exceeds the size limit. */
11381
+ 413: {
11382
+ headers: {
11383
+ [name: string]: unknown;
11384
+ };
11385
+ content: {
11386
+ "application/json": components["schemas"]["Error"];
11387
+ };
11388
+ };
11299
11389
  /** @description The edit window (~60 minutes) has passed for this message. */
11300
11390
  422: {
11301
11391
  headers: {
@@ -11426,6 +11516,15 @@ interface operations {
11426
11516
  "application/json": components["schemas"]["Error"];
11427
11517
  };
11428
11518
  };
11519
+ /** @description Payload too large, the request body exceeds the size limit. */
11520
+ 413: {
11521
+ headers: {
11522
+ [name: string]: unknown;
11523
+ };
11524
+ content: {
11525
+ "application/json": components["schemas"]["Error"];
11526
+ };
11527
+ };
11429
11528
  /** @description Rate limited. */
11430
11529
  429: {
11431
11530
  headers: {
@@ -11857,6 +11956,15 @@ interface operations {
11857
11956
  "application/json": components["schemas"]["Error"];
11858
11957
  };
11859
11958
  };
11959
+ /** @description Payload too large, the request body exceeds the size limit. */
11960
+ 413: {
11961
+ headers: {
11962
+ [name: string]: unknown;
11963
+ };
11964
+ content: {
11965
+ "application/json": components["schemas"]["Error"];
11966
+ };
11967
+ };
11860
11968
  /** @description The recipient is unreachable via InMail. */
11861
11969
  422: {
11862
11970
  headers: {
@@ -12703,6 +12811,15 @@ interface operations {
12703
12811
  "application/json": components["schemas"]["Error"];
12704
12812
  };
12705
12813
  };
12814
+ /** @description Payload too large, the request body exceeds the size limit. */
12815
+ 413: {
12816
+ headers: {
12817
+ [name: string]: unknown;
12818
+ };
12819
+ content: {
12820
+ "application/json": components["schemas"]["Error"];
12821
+ };
12822
+ };
12706
12823
  /** @description Rate limited, retry after the hinted delay. */
12707
12824
  429: {
12708
12825
  headers: {
@@ -12817,6 +12934,15 @@ interface operations {
12817
12934
  "application/json": components["schemas"]["Error"];
12818
12935
  };
12819
12936
  };
12937
+ /** @description Payload too large, the request body exceeds the size limit. */
12938
+ 413: {
12939
+ headers: {
12940
+ [name: string]: unknown;
12941
+ };
12942
+ content: {
12943
+ "application/json": components["schemas"]["Error"];
12944
+ };
12945
+ };
12820
12946
  /** @description Rate limited, retry after the hinted delay. */
12821
12947
  429: {
12822
12948
  headers: {
@@ -12927,16 +13053,18 @@ interface operations {
12927
13053
  }[];
12928
13054
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
12929
13055
  reaction_count?: number;
12930
- /** @description Author of the comment. */
13056
+ /** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
12931
13057
  author?: {
12932
13058
  /** @description LinkedIn profile identifier. */
12933
13059
  id?: string;
12934
- /** @description Author entity discriminator. */
13060
+ /** @description Author entity discriminator, on the shape that carries one. */
12935
13061
  object?: string;
12936
- /** @description Author entity type (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;
@@ -12970,6 +13098,38 @@ interface operations {
12970
13098
  * @enum {string}
12971
13099
  */
12972
13100
  object?: "post";
13101
+ /** @description Shareable URL for the parent post. Present on the full form only. */
13102
+ share_url?: string | null;
13103
+ /** @description Full text of the parent post (content pass-through, never stored). Present on the full form only. */
13104
+ text?: string | null;
13105
+ /** @description true if the parent post is itself a repost. Present on the full form only. */
13106
+ is_repost?: boolean;
13107
+ /** @description Author of the parent post. Present on the full form only. */
13108
+ author?: {
13109
+ /** @description LinkedIn profile identifier. */
13110
+ id?: string;
13111
+ /** @description Author entity discriminator, on the shape that carries one. */
13112
+ object?: string;
13113
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13114
+ type?: string;
13115
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13116
+ display_name?: string;
13117
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
13118
+ name?: string;
13119
+ };
13120
+ /** @description Per-reaction-type count buckets on the parent post. Present on the full form only. */
13121
+ reactions_counter?: {
13122
+ /** @description Reaction type, as the platform names it. */
13123
+ reaction?: string;
13124
+ /** @description Count of this reaction type on the parent post. */
13125
+ count?: number;
13126
+ }[];
13127
+ /** @description Total comment count on the parent post. Present on the full form only. */
13128
+ comments_counter?: number | null;
13129
+ /** @description Total repost count on the parent post. Present on the full form only. */
13130
+ reposts_counter?: number | null;
13131
+ /** @description Media attachments on the parent post. Present on the full form only. */
13132
+ attachments?: Record<string, never>[];
12973
13133
  };
12974
13134
  }[];
12975
13135
  /** @description Next-page cursor; null on the last page. */
@@ -13120,12 +13280,14 @@ interface operations {
13120
13280
  author?: {
13121
13281
  /** @description LinkedIn profile identifier. */
13122
13282
  id?: string;
13123
- /** @description Author 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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -13660,9 +13826,7 @@ interface operations {
13660
13826
  RateLimit: components["headers"]["RateLimit"];
13661
13827
  [name: string]: unknown;
13662
13828
  };
13663
- content: {
13664
- "application/json": Record<string, never>;
13665
- };
13829
+ content?: never;
13666
13830
  };
13667
13831
  /** @description Missing or invalid path parameter. */
13668
13832
  400: {
@@ -13807,16 +13971,18 @@ interface operations {
13807
13971
  }[];
13808
13972
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
13809
13973
  reaction_count?: number;
13810
- /** @description Author of the comment. */
13974
+ /** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
13811
13975
  author?: {
13812
13976
  /** @description LinkedIn profile identifier. */
13813
13977
  id?: string;
13814
- /** @description Author entity discriminator. */
13978
+ /** @description Author entity discriminator, on the shape that carries one. */
13815
13979
  object?: string;
13816
- /** @description Author entity type (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;
@@ -13876,6 +14042,15 @@ interface operations {
13876
14042
  "application/json": components["schemas"]["Error"];
13877
14043
  };
13878
14044
  };
14045
+ /** @description Payload too large, the request body exceeds the size limit. */
14046
+ 413: {
14047
+ headers: {
14048
+ [name: string]: unknown;
14049
+ };
14050
+ content: {
14051
+ "application/json": components["schemas"]["Error"];
14052
+ };
14053
+ };
13879
14054
  /** @description Rate limited, slow down and retry after the hinted delay. */
13880
14055
  429: {
13881
14056
  headers: {
@@ -13988,16 +14163,18 @@ interface operations {
13988
14163
  }[];
13989
14164
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
13990
14165
  reaction_count?: number;
13991
- /** @description Author of the comment. */
14166
+ /** @description Author of the comment. Two shapes reach this field, so read the display name as `display_name` when it is present and `name` otherwise. */
13992
14167
  author?: {
13993
14168
  /** @description LinkedIn profile identifier. */
13994
14169
  id?: string;
13995
- /** @description Author entity discriminator. */
14170
+ /** @description Author entity discriminator, on the shape that carries one. */
13996
14171
  object?: string;
13997
- /** @description Author entity type (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;
@@ -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. */
@@ -14325,6 +14504,15 @@ interface operations {
14325
14504
  "application/json": components["schemas"]["Error"];
14326
14505
  };
14327
14506
  };
14507
+ /** @description Payload too large, the request body exceeds the size limit. */
14508
+ 413: {
14509
+ headers: {
14510
+ [name: string]: unknown;
14511
+ };
14512
+ content: {
14513
+ "application/json": components["schemas"]["Error"];
14514
+ };
14515
+ };
14328
14516
  /** @description The platform rejected the reaction. Conservative mapping, outage-indistinguishable errors stay 502. */
14329
14517
  422: {
14330
14518
  headers: {
@@ -14461,6 +14649,15 @@ interface operations {
14461
14649
  "application/json": components["schemas"]["Error"];
14462
14650
  };
14463
14651
  };
14652
+ /** @description Payload too large, the request body exceeds the size limit. */
14653
+ 413: {
14654
+ headers: {
14655
+ [name: string]: unknown;
14656
+ };
14657
+ content: {
14658
+ "application/json": components["schemas"]["Error"];
14659
+ };
14660
+ };
14464
14661
  /** @description No reaction of this value exists to remove. */
14465
14662
  422: {
14466
14663
  headers: {
@@ -14623,6 +14820,15 @@ interface operations {
14623
14820
  "application/json": components["schemas"]["Error"];
14624
14821
  };
14625
14822
  };
14823
+ /** @description Payload too large, the request body exceeds the size limit. */
14824
+ 413: {
14825
+ headers: {
14826
+ [name: string]: unknown;
14827
+ };
14828
+ content: {
14829
+ "application/json": components["schemas"]["Error"];
14830
+ };
14831
+ };
14626
14832
  /** @description Account restricted from performing this operation. */
14627
14833
  422: {
14628
14834
  headers: {
@@ -15059,6 +15265,15 @@ interface operations {
15059
15265
  "application/json": components["schemas"]["Error"];
15060
15266
  };
15061
15267
  };
15268
+ /** @description Payload too large, the request body exceeds the size limit. */
15269
+ 413: {
15270
+ headers: {
15271
+ [name: string]: unknown;
15272
+ };
15273
+ content: {
15274
+ "application/json": components["schemas"]["Error"];
15275
+ };
15276
+ };
15062
15277
  /** @description Quota exceeded, slow down and retry after the hinted delay. */
15063
15278
  429: {
15064
15279
  headers: {
@@ -15174,6 +15389,15 @@ interface operations {
15174
15389
  "application/json": components["schemas"]["Error"];
15175
15390
  };
15176
15391
  };
15392
+ /** @description Payload too large, the request body exceeds the size limit. */
15393
+ 413: {
15394
+ headers: {
15395
+ [name: string]: unknown;
15396
+ };
15397
+ content: {
15398
+ "application/json": components["schemas"]["Error"];
15399
+ };
15400
+ };
15177
15401
  /** @description Quota exceeded, slow down and retry after the hinted delay. */
15178
15402
  429: {
15179
15403
  headers: {
@@ -15289,6 +15513,15 @@ interface operations {
15289
15513
  "application/json": components["schemas"]["Error"];
15290
15514
  };
15291
15515
  };
15516
+ /** @description Payload too large, the request body exceeds the size limit. */
15517
+ 413: {
15518
+ headers: {
15519
+ [name: string]: unknown;
15520
+ };
15521
+ content: {
15522
+ "application/json": components["schemas"]["Error"];
15523
+ };
15524
+ };
15292
15525
  /** @description Quota exceeded, slow down and retry after the hinted delay. */
15293
15526
  429: {
15294
15527
  headers: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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
  };
@@ -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: {
@@ -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;
@@ -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
  };
@@ -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: {
@@ -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"];
@@ -18318,6 +18624,40 @@ interface operations {
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. */
@@ -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: {
@@ -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;
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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
  };
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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;
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -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: {
@@ -26800,6 +27332,15 @@ interface operations {
26800
27332
  "application/json": components["schemas"]["Error"];
26801
27333
  };
26802
27334
  };
27335
+ /** @description Payload too large, the request body exceeds the size limit. */
27336
+ 413: {
27337
+ headers: {
27338
+ [name: string]: unknown;
27339
+ };
27340
+ content: {
27341
+ "application/json": components["schemas"]["Error"];
27342
+ };
27343
+ };
26803
27344
  /** @description Rate limited, slow down and retry after the hinted delay. */
26804
27345
  429: {
26805
27346
  headers: {
@@ -27045,6 +27586,15 @@ interface operations {
27045
27586
  "application/json": components["schemas"]["Error"];
27046
27587
  };
27047
27588
  };
27589
+ /** @description Either LINKEDIN_FEATURE_NOT_SUBSCRIBED (the seat requested a premium product, Sales Navigator or Recruiter, that this LinkedIn account is not subscribed to; match the seat tier to the account's actual plan, or use a different seat), or ACCOUNT_RESTRICTED (LinkedIn has restricted this account; sign in to LinkedIn to see what it needs, resolve it there, then connect again). The code field distinguishes the two. */
27590
+ 403: {
27591
+ headers: {
27592
+ [name: string]: unknown;
27593
+ };
27594
+ content: {
27595
+ "application/json": components["schemas"]["Error"];
27596
+ };
27597
+ };
27048
27598
  /** @description This LinkedIn account is already linked (names your own account_id when your tenant owns it). */
27049
27599
  409: {
27050
27600
  headers: {
@@ -27054,6 +27604,15 @@ interface operations {
27054
27604
  "application/json": components["schemas"]["Error"];
27055
27605
  };
27056
27606
  };
27607
+ /** @description Payload too large, the request body exceeds the size limit. */
27608
+ 413: {
27609
+ headers: {
27610
+ [name: string]: unknown;
27611
+ };
27612
+ content: {
27613
+ "application/json": components["schemas"]["Error"];
27614
+ };
27615
+ };
27057
27616
  /** @description The verification challenge cannot be resolved automatically (a dead-end challenge such as a CAPTCHA or a phone-number registration). For those two dead-ends the error body carries a machine-readable challenge_type (captcha | phone_register) so a client can render the right guidance; other unsupported challenges carry no challenge_type. */
27058
27617
  422: {
27059
27618
  headers: {
@@ -27193,6 +27752,15 @@ interface operations {
27193
27752
  };
27194
27753
  };
27195
27754
  };
27755
+ /** @description ACCOUNT_RESTRICTED. LinkedIn has restricted this account (not a wrong code and not our subscription gate). Sign in to LinkedIn to see what it needs, resolve it there, then reconnect. */
27756
+ 403: {
27757
+ headers: {
27758
+ [name: string]: unknown;
27759
+ };
27760
+ content: {
27761
+ "application/json": components["schemas"]["Error"];
27762
+ };
27763
+ };
27196
27764
  /** @description No pending checkpoint for this account. */
27197
27765
  404: {
27198
27766
  headers: {
@@ -27211,6 +27779,15 @@ interface operations {
27211
27779
  "application/json": components["schemas"]["Error"];
27212
27780
  };
27213
27781
  };
27782
+ /** @description Payload too large, the request body exceeds the size limit. */
27783
+ 413: {
27784
+ headers: {
27785
+ [name: string]: unknown;
27786
+ };
27787
+ content: {
27788
+ "application/json": components["schemas"]["Error"];
27789
+ };
27790
+ };
27214
27791
  /** @description The submitted code was incorrect, or the challenge type is unsupported. */
27215
27792
  422: {
27216
27793
  headers: {
@@ -27305,6 +27882,15 @@ interface operations {
27305
27882
  };
27306
27883
  };
27307
27884
  };
27885
+ /** @description ACCOUNT_RESTRICTED. LinkedIn has restricted this account. Sign in to LinkedIn to see what it needs, resolve it there, then reconnect. */
27886
+ 403: {
27887
+ headers: {
27888
+ [name: string]: unknown;
27889
+ };
27890
+ content: {
27891
+ "application/json": components["schemas"]["Error"];
27892
+ };
27893
+ };
27308
27894
  /** @description No pending checkpoint for this account. */
27309
27895
  404: {
27310
27896
  headers: {
@@ -27323,6 +27909,15 @@ interface operations {
27323
27909
  "application/json": components["schemas"]["Error"];
27324
27910
  };
27325
27911
  };
27912
+ /** @description Payload too large, the request body exceeds the size limit. */
27913
+ 413: {
27914
+ headers: {
27915
+ [name: string]: unknown;
27916
+ };
27917
+ content: {
27918
+ "application/json": components["schemas"]["Error"];
27919
+ };
27920
+ };
27326
27921
  /** @description Rate limited, slow down and retry after the hinted delay. */
27327
27922
  429: {
27328
27923
  headers: {
@@ -27464,6 +28059,15 @@ interface operations {
27464
28059
  "application/json": components["schemas"]["Error"];
27465
28060
  };
27466
28061
  };
28062
+ /** @description Payload too large, the request body exceeds the size limit. */
28063
+ 413: {
28064
+ headers: {
28065
+ [name: string]: unknown;
28066
+ };
28067
+ content: {
28068
+ "application/json": components["schemas"]["Error"];
28069
+ };
28070
+ };
27467
28071
  /** @description The pending checkpoint is code-based, not mobile_app_approval, use submit instead. */
27468
28072
  422: {
27469
28073
  headers: {
@@ -27921,6 +28525,15 @@ interface operations {
27921
28525
  "application/json": components["schemas"]["Error"];
27922
28526
  };
27923
28527
  };
28528
+ /** @description Payload too large, the request body exceeds the size limit. */
28529
+ 413: {
28530
+ headers: {
28531
+ [name: string]: unknown;
28532
+ };
28533
+ content: {
28534
+ "application/json": components["schemas"]["Error"];
28535
+ };
28536
+ };
27924
28537
  /** @description Rate limited, slow down and retry after the hinted delay. */
27925
28538
  429: {
27926
28539
  headers: {
@@ -28378,6 +28991,15 @@ interface operations {
28378
28991
  "application/json": components["schemas"]["Error"];
28379
28992
  };
28380
28993
  };
28994
+ /** @description Payload too large, the request body exceeds the size limit. */
28995
+ 413: {
28996
+ headers: {
28997
+ [name: string]: unknown;
28998
+ };
28999
+ content: {
29000
+ "application/json": components["schemas"]["Error"];
29001
+ };
29002
+ };
28381
29003
  /** @description Rate limited, slow down and retry after the hinted delay. */
28382
29004
  429: {
28383
29005
  headers: {
@@ -29010,7 +29632,13 @@ declare class SearchResource {
29010
29632
  type PostCommentListPage = paths["/v1/{account_id}/posts/{post_id}/comments"]["get"]["responses"]["200"]["content"]["application/json"];
29011
29633
  type PostCommentListQuery = NonNullable<paths["/v1/{account_id}/posts/{post_id}/comments"]["get"]["parameters"]["query"]>;
29012
29634
  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"];
29635
+ /**
29636
+ * Delete-post resolves with nothing. The API answers 204, which carries no body,
29637
+ * and the document now says so: the 204 response declares no content at all. This
29638
+ * alias used to be derived from a JSON body the document declared and the API
29639
+ * never sent, so it described a value no caller could ever receive.
29640
+ */
29641
+ type PostDeleteResult = void;
29014
29642
  type CreatePostBody = paths["/v1/{account_id}/posts"]["post"]["requestBody"]["content"]["application/json"];
29015
29643
  type CreatePostResult = paths["/v1/{account_id}/posts"]["post"]["responses"]["201"]["content"]["application/json"];
29016
29644
  type UserPostListPage = paths["/v1/{account_id}/users/{user_id}/posts"]["get"]["responses"]["200"]["content"]["application/json"];
@@ -29141,7 +29769,13 @@ type CreateCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments"]["pos
29141
29769
  type CreateCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments"]["post"]["responses"]["201"]["content"]["application/json"];
29142
29770
  type EditCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["patch"]["requestBody"]["content"]["application/json"];
29143
29771
  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"];
29772
+ /**
29773
+ * Delete-comment resolves with nothing. The API answers 204, which carries no
29774
+ * body, and the document now says so: the 204 response declares no content at
29775
+ * all. This alias used to be derived from a JSON body the document declared and
29776
+ * the API never sent, so it described a value no caller could ever receive.
29777
+ */
29778
+ type DeleteCommentResult = void;
29145
29779
  type ReplyToCommentBody = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["post"]["requestBody"]["content"]["application/json"];
29146
29780
  type ReplyToCommentResult = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}"]["post"]["responses"]["201"]["content"]["application/json"];
29147
29781
  type CommentReplyListPage = paths["/v1/{account_id}/posts/{post_id}/comments/{comment_id}/replies"]["get"]["responses"]["200"]["content"]["application/json"];