@curviate/sdk 0.23.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -445,7 +445,7 @@ export interface paths {
445
445
  put?: never;
446
446
  /**
447
447
  * Reply as the company page
448
- * @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.
448
+ * @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.
449
449
  */
450
450
  post: operations["postV1AccountIdCompaniesIdentifierChatsChatIdMessages"];
451
451
  delete?: never;
@@ -749,7 +749,7 @@ export interface paths {
749
749
  put?: never;
750
750
  /**
751
751
  * Start a chat
752
- * @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.
752
+ * @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.
753
753
  */
754
754
  post: operations["postV1AccountIdChats"];
755
755
  delete?: never;
@@ -797,7 +797,7 @@ export interface paths {
797
797
  put?: never;
798
798
  /**
799
799
  * Send a message
800
- * @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.
800
+ * @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.
801
801
  */
802
802
  post: operations["postV1AccountIdChatsChatIdMessages"];
803
803
  delete?: never;
@@ -3279,7 +3279,7 @@ export interface operations {
3279
3279
  "application/json": components["schemas"]["Error"];
3280
3280
  };
3281
3281
  };
3282
- /** @description picture or background_picture exceeds the size limit. */
3282
+ /** @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. */
3283
3283
  413: {
3284
3284
  headers: {
3285
3285
  [name: string]: unknown;
@@ -3698,6 +3698,15 @@ export interface operations {
3698
3698
  "application/json": components["schemas"]["Error"];
3699
3699
  };
3700
3700
  };
3701
+ /** @description Payload too large, the request body exceeds the size limit. */
3702
+ 413: {
3703
+ headers: {
3704
+ [name: string]: unknown;
3705
+ };
3706
+ content: {
3707
+ "application/json": components["schemas"]["Error"];
3708
+ };
3709
+ };
3701
3710
  /** @description The account is restricted and cannot perform endorsements. */
3702
3711
  422: {
3703
3712
  headers: {
@@ -5939,6 +5948,15 @@ export interface operations {
5939
5948
  "application/json": components["schemas"]["Error"];
5940
5949
  };
5941
5950
  };
5951
+ /** @description Payload too large, the request body exceeds the size limit. */
5952
+ 413: {
5953
+ headers: {
5954
+ [name: string]: unknown;
5955
+ };
5956
+ content: {
5957
+ "application/json": components["schemas"]["Error"];
5958
+ };
5959
+ };
5942
5960
  /** @description The account is restricted and cannot perform this operation. */
5943
5961
  422: {
5944
5962
  headers: {
@@ -6954,7 +6972,7 @@ export interface operations {
6954
6972
  "application/json": components["schemas"]["Error"];
6955
6973
  };
6956
6974
  };
6957
- /** @description Payload too large, an attachment exceeds 5 MiB or the total body exceeds 8 MiB. */
6975
+ /** @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. */
6958
6976
  413: {
6959
6977
  headers: {
6960
6978
  [name: string]: unknown;
@@ -8202,6 +8220,15 @@ export interface operations {
8202
8220
  "application/json": components["schemas"]["Error"];
8203
8221
  };
8204
8222
  };
8223
+ /** @description Payload too large, the request body exceeds the size limit. */
8224
+ 413: {
8225
+ headers: {
8226
+ [name: string]: unknown;
8227
+ };
8228
+ content: {
8229
+ "application/json": components["schemas"]["Error"];
8230
+ };
8231
+ };
8205
8232
  /** @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. */
8206
8233
  422: {
8207
8234
  headers: {
@@ -8390,6 +8417,15 @@ export interface operations {
8390
8417
  "application/json": components["schemas"]["Error"];
8391
8418
  };
8392
8419
  };
8420
+ /** @description Payload too large, the request body exceeds the size limit. */
8421
+ 413: {
8422
+ headers: {
8423
+ [name: string]: unknown;
8424
+ };
8425
+ content: {
8426
+ "application/json": components["schemas"]["Error"];
8427
+ };
8428
+ };
8393
8429
  /** @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. */
8394
8430
  422: {
8395
8431
  headers: {
@@ -8626,6 +8662,15 @@ export interface operations {
8626
8662
  "application/json": components["schemas"]["Error"];
8627
8663
  };
8628
8664
  };
8665
+ /** @description Payload too large, the request body exceeds the size limit. */
8666
+ 413: {
8667
+ headers: {
8668
+ [name: string]: unknown;
8669
+ };
8670
+ content: {
8671
+ "application/json": components["schemas"]["Error"];
8672
+ };
8673
+ };
8629
8674
  /** @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. */
8630
8675
  422: {
8631
8676
  headers: {
@@ -8881,6 +8926,15 @@ export interface operations {
8881
8926
  "application/json": components["schemas"]["Error"];
8882
8927
  };
8883
8928
  };
8929
+ /** @description Payload too large, the request body exceeds the size limit. */
8930
+ 413: {
8931
+ headers: {
8932
+ [name: string]: unknown;
8933
+ };
8934
+ content: {
8935
+ "application/json": components["schemas"]["Error"];
8936
+ };
8937
+ };
8884
8938
  /** @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. */
8885
8939
  422: {
8886
8940
  headers: {
@@ -9161,6 +9215,15 @@ export interface operations {
9161
9215
  "application/json": components["schemas"]["Error"];
9162
9216
  };
9163
9217
  };
9218
+ /** @description Payload too large, the request body exceeds the size limit. */
9219
+ 413: {
9220
+ headers: {
9221
+ [name: string]: unknown;
9222
+ };
9223
+ content: {
9224
+ "application/json": components["schemas"]["Error"];
9225
+ };
9226
+ };
9164
9227
  /** @description The account is restricted and cannot perform searches. */
9165
9228
  422: {
9166
9229
  headers: {
@@ -9493,6 +9556,15 @@ export interface operations {
9493
9556
  "application/json": components["schemas"]["Error"];
9494
9557
  };
9495
9558
  };
9559
+ /** @description Payload too large, the request body exceeds the size limit. */
9560
+ 413: {
9561
+ headers: {
9562
+ [name: string]: unknown;
9563
+ };
9564
+ content: {
9565
+ "application/json": components["schemas"]["Error"];
9566
+ };
9567
+ };
9496
9568
  /** @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. */
9497
9569
  422: {
9498
9570
  headers: {
@@ -10049,7 +10121,7 @@ export interface operations {
10049
10121
  "application/json": components["schemas"]["Error"];
10050
10122
  };
10051
10123
  };
10052
- /** @description Payload too large: an attachment exceeds 5 MiB or the total body exceeds 8 MiB. */
10124
+ /** @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. */
10053
10125
  413: {
10054
10126
  headers: {
10055
10127
  [name: string]: unknown;
@@ -10422,6 +10494,15 @@ export interface operations {
10422
10494
  "application/json": components["schemas"]["Error"];
10423
10495
  };
10424
10496
  };
10497
+ /** @description Payload too large, the request body exceeds the size limit. */
10498
+ 413: {
10499
+ headers: {
10500
+ [name: string]: unknown;
10501
+ };
10502
+ content: {
10503
+ "application/json": components["schemas"]["Error"];
10504
+ };
10505
+ };
10425
10506
  /** @description Rate limited. */
10426
10507
  429: {
10427
10508
  headers: {
@@ -10765,7 +10846,7 @@ export interface operations {
10765
10846
  "application/json": components["schemas"]["Error"];
10766
10847
  };
10767
10848
  };
10768
- /** @description Payload too large: an attachment exceeds 5 MiB or the total body exceeds 8 MiB. */
10849
+ /** @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. */
10769
10850
  413: {
10770
10851
  headers: {
10771
10852
  [name: string]: unknown;
@@ -11200,6 +11281,15 @@ export interface operations {
11200
11281
  "application/json": components["schemas"]["Error"];
11201
11282
  };
11202
11283
  };
11284
+ /** @description Payload too large, the request body exceeds the size limit. */
11285
+ 413: {
11286
+ headers: {
11287
+ [name: string]: unknown;
11288
+ };
11289
+ content: {
11290
+ "application/json": components["schemas"]["Error"];
11291
+ };
11292
+ };
11203
11293
  /** @description The edit window (~60 minutes) has passed for this message. */
11204
11294
  422: {
11205
11295
  headers: {
@@ -11330,6 +11420,15 @@ export interface operations {
11330
11420
  "application/json": components["schemas"]["Error"];
11331
11421
  };
11332
11422
  };
11423
+ /** @description Payload too large, the request body exceeds the size limit. */
11424
+ 413: {
11425
+ headers: {
11426
+ [name: string]: unknown;
11427
+ };
11428
+ content: {
11429
+ "application/json": components["schemas"]["Error"];
11430
+ };
11431
+ };
11333
11432
  /** @description Rate limited. */
11334
11433
  429: {
11335
11434
  headers: {
@@ -11493,7 +11592,7 @@ export interface operations {
11493
11592
  query: string;
11494
11593
  /** @description Maximum chats to return per page (1-100, default 20). The server may walk a few internal pages to fill one page. */
11495
11594
  limit?: number;
11496
- /** @description Opaque pagination cursor returned from a previous response; wraps a zero-based item offset. */
11595
+ /** @description Pagination cursor from a previous response; decodable, wraps a zero-based item offset, pass it back verbatim. */
11497
11596
  cursor?: string;
11498
11597
  /** @description Additional response fields to resolve, comma-separated in a single value (for example expand=public_identifier). Accepted values: public_identifier. When requested, the field is present on every user object in the response, carrying either a value or null. Omit for the base fields only. Pass the parameter once; repeating it drops values. At most 25 people per request need an extra lookup to resolve; anyone beyond that carries null, so ask for a smaller page to resolve them all. */
11499
11598
  expand?: string;
@@ -11761,6 +11860,15 @@ export interface operations {
11761
11860
  "application/json": components["schemas"]["Error"];
11762
11861
  };
11763
11862
  };
11863
+ /** @description Payload too large, the request body exceeds the size limit. */
11864
+ 413: {
11865
+ headers: {
11866
+ [name: string]: unknown;
11867
+ };
11868
+ content: {
11869
+ "application/json": components["schemas"]["Error"];
11870
+ };
11871
+ };
11764
11872
  /** @description The recipient is unreachable via InMail. */
11765
11873
  422: {
11766
11874
  headers: {
@@ -12607,6 +12715,15 @@ export interface operations {
12607
12715
  "application/json": components["schemas"]["Error"];
12608
12716
  };
12609
12717
  };
12718
+ /** @description Payload too large, the request body exceeds the size limit. */
12719
+ 413: {
12720
+ headers: {
12721
+ [name: string]: unknown;
12722
+ };
12723
+ content: {
12724
+ "application/json": components["schemas"]["Error"];
12725
+ };
12726
+ };
12610
12727
  /** @description Rate limited, retry after the hinted delay. */
12611
12728
  429: {
12612
12729
  headers: {
@@ -12721,6 +12838,15 @@ export interface operations {
12721
12838
  "application/json": components["schemas"]["Error"];
12722
12839
  };
12723
12840
  };
12841
+ /** @description Payload too large, the request body exceeds the size limit. */
12842
+ 413: {
12843
+ headers: {
12844
+ [name: string]: unknown;
12845
+ };
12846
+ content: {
12847
+ "application/json": components["schemas"]["Error"];
12848
+ };
12849
+ };
12724
12850
  /** @description Rate limited, retry after the hinted delay. */
12725
12851
  429: {
12726
12852
  headers: {
@@ -12831,16 +12957,18 @@ export interface operations {
12831
12957
  }[];
12832
12958
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
12833
12959
  reaction_count?: number;
12834
- /** @description Author of the comment. */
12960
+ /** @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. */
12835
12961
  author?: {
12836
12962
  /** @description LinkedIn profile identifier. */
12837
12963
  id?: string;
12838
- /** @description Author entity discriminator. */
12964
+ /** @description Author entity discriminator, on the shape that carries one. */
12839
12965
  object?: string;
12840
- /** @description Author entity type (e.g. individual, organization). */
12966
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
12841
12967
  type?: string;
12842
- /** @description Author's display name. */
12968
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
12843
12969
  display_name?: string;
12970
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
12971
+ name?: string;
12844
12972
  };
12845
12973
  /** @description true if the authenticated account can reply to this comment. */
12846
12974
  can_reply?: boolean;
@@ -12874,6 +13002,38 @@ export interface operations {
12874
13002
  * @enum {string}
12875
13003
  */
12876
13004
  object?: "post";
13005
+ /** @description Shareable URL for the parent post. Present on the full form only. */
13006
+ share_url?: string | null;
13007
+ /** @description Full text of the parent post (content pass-through, never stored). Present on the full form only. */
13008
+ text?: string | null;
13009
+ /** @description true if the parent post is itself a repost. Present on the full form only. */
13010
+ is_repost?: boolean;
13011
+ /** @description Author of the parent post. Present on the full form only. */
13012
+ author?: {
13013
+ /** @description LinkedIn profile identifier. */
13014
+ id?: string;
13015
+ /** @description Author entity discriminator, on the shape that carries one. */
13016
+ object?: string;
13017
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13018
+ type?: string;
13019
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13020
+ display_name?: string;
13021
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
13022
+ name?: string;
13023
+ };
13024
+ /** @description Per-reaction-type count buckets on the parent post. Present on the full form only. */
13025
+ reactions_counter?: {
13026
+ /** @description Reaction type, as the platform names it. */
13027
+ reaction?: string;
13028
+ /** @description Count of this reaction type on the parent post. */
13029
+ count?: number;
13030
+ }[];
13031
+ /** @description Total comment count on the parent post. Present on the full form only. */
13032
+ comments_counter?: number | null;
13033
+ /** @description Total repost count on the parent post. Present on the full form only. */
13034
+ reposts_counter?: number | null;
13035
+ /** @description Media attachments on the parent post. Present on the full form only. */
13036
+ attachments?: Record<string, never>[];
12877
13037
  };
12878
13038
  }[];
12879
13039
  /** @description Next-page cursor; null on the last page. */
@@ -13024,12 +13184,14 @@ export interface operations {
13024
13184
  author?: {
13025
13185
  /** @description LinkedIn profile identifier. */
13026
13186
  id?: string;
13027
- /** @description Author entity discriminator. */
13187
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
13188
+ name?: string;
13189
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13190
+ display_name?: string;
13191
+ /** @description Author entity discriminator, on the shape that carries one. */
13028
13192
  object?: string;
13029
- /** @description Author entity type (e.g. individual, organization). */
13193
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13030
13194
  type?: string;
13031
- /** @description Author's display name. */
13032
- display_name?: string;
13033
13195
  };
13034
13196
  /** @description true if the authenticated account can reply to this comment. */
13035
13197
  can_reply?: boolean;
@@ -13199,16 +13361,18 @@ export interface operations {
13199
13361
  }[];
13200
13362
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
13201
13363
  reaction_count?: number;
13202
- /** @description Author of the comment. */
13364
+ /** @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. */
13203
13365
  author?: {
13204
13366
  /** @description LinkedIn profile identifier. */
13205
13367
  id?: string;
13206
- /** @description Author entity discriminator. */
13368
+ /** @description Author entity discriminator, on the shape that carries one. */
13207
13369
  object?: string;
13208
- /** @description Author entity type (e.g. individual, organization). */
13370
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13209
13371
  type?: string;
13210
- /** @description Author's display name. */
13372
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13211
13373
  display_name?: string;
13374
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
13375
+ name?: string;
13212
13376
  };
13213
13377
  /** @description true if the authenticated account can reply to this comment. */
13214
13378
  can_reply?: boolean;
@@ -13259,7 +13423,7 @@ export interface operations {
13259
13423
  "application/json": components["schemas"]["Error"];
13260
13424
  };
13261
13425
  };
13262
- /** @description Attachment or total request body exceeds the size cap (base64 inflates ~+33%). */
13426
+ /** @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. */
13263
13427
  413: {
13264
13428
  headers: {
13265
13429
  [name: string]: unknown;
@@ -13404,16 +13568,18 @@ export interface operations {
13404
13568
  }[];
13405
13569
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
13406
13570
  reaction_count?: number;
13407
- /** @description Author of the comment. */
13571
+ /** @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. */
13408
13572
  author?: {
13409
13573
  /** @description LinkedIn profile identifier. */
13410
13574
  id?: string;
13411
- /** @description Author entity discriminator. */
13575
+ /** @description Author entity discriminator, on the shape that carries one. */
13412
13576
  object?: string;
13413
- /** @description Author entity type (e.g. individual, organization). */
13577
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13414
13578
  type?: string;
13415
- /** @description Author's display name. */
13579
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13416
13580
  display_name?: string;
13581
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
13582
+ name?: string;
13417
13583
  };
13418
13584
  /** @description true if the authenticated account can reply to this comment. */
13419
13585
  can_reply?: boolean;
@@ -13464,7 +13630,7 @@ export interface operations {
13464
13630
  "application/json": components["schemas"]["Error"];
13465
13631
  };
13466
13632
  };
13467
- /** @description Attachment or total request body exceeds the size cap (base64 inflates ~+33%). */
13633
+ /** @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. */
13468
13634
  413: {
13469
13635
  headers: {
13470
13636
  [name: string]: unknown;
@@ -13564,9 +13730,7 @@ export interface operations {
13564
13730
  RateLimit: components["headers"]["RateLimit"];
13565
13731
  [name: string]: unknown;
13566
13732
  };
13567
- content: {
13568
- "application/json": Record<string, never>;
13569
- };
13733
+ content?: never;
13570
13734
  };
13571
13735
  /** @description Missing or invalid path parameter. */
13572
13736
  400: {
@@ -13711,16 +13875,18 @@ export interface operations {
13711
13875
  }[];
13712
13876
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
13713
13877
  reaction_count?: number;
13714
- /** @description Author of the comment. */
13878
+ /** @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. */
13715
13879
  author?: {
13716
13880
  /** @description LinkedIn profile identifier. */
13717
13881
  id?: string;
13718
- /** @description Author entity discriminator. */
13882
+ /** @description Author entity discriminator, on the shape that carries one. */
13719
13883
  object?: string;
13720
- /** @description Author entity type (e.g. individual, organization). */
13884
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13721
13885
  type?: string;
13722
- /** @description Author's display name. */
13886
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13723
13887
  display_name?: string;
13888
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
13889
+ name?: string;
13724
13890
  };
13725
13891
  /** @description true if the authenticated account can reply to this comment. */
13726
13892
  can_reply?: boolean;
@@ -13780,6 +13946,15 @@ export interface operations {
13780
13946
  "application/json": components["schemas"]["Error"];
13781
13947
  };
13782
13948
  };
13949
+ /** @description Payload too large, the request body exceeds the size limit. */
13950
+ 413: {
13951
+ headers: {
13952
+ [name: string]: unknown;
13953
+ };
13954
+ content: {
13955
+ "application/json": components["schemas"]["Error"];
13956
+ };
13957
+ };
13783
13958
  /** @description Rate limited, slow down and retry after the hinted delay. */
13784
13959
  429: {
13785
13960
  headers: {
@@ -13892,16 +14067,18 @@ export interface operations {
13892
14067
  }[];
13893
14068
  /** @description Total reaction count on this comment, the sum of reactions[].count. */
13894
14069
  reaction_count?: number;
13895
- /** @description Author of the comment. */
14070
+ /** @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. */
13896
14071
  author?: {
13897
14072
  /** @description LinkedIn profile identifier. */
13898
14073
  id?: string;
13899
- /** @description Author entity discriminator. */
14074
+ /** @description Author entity discriminator, on the shape that carries one. */
13900
14075
  object?: string;
13901
- /** @description Author entity type (e.g. individual, organization). */
14076
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
13902
14077
  type?: string;
13903
- /** @description Author's display name. */
14078
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
13904
14079
  display_name?: string;
14080
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
14081
+ name?: string;
13905
14082
  };
13906
14083
  /** @description true if the authenticated account can reply to this comment. */
13907
14084
  can_reply?: boolean;
@@ -14060,12 +14237,14 @@ export interface operations {
14060
14237
  sender?: {
14061
14238
  /** @description LinkedIn profile identifier. */
14062
14239
  id?: string;
14063
- /** @description Author entity discriminator. */
14240
+ /** @description Author entity discriminator, on the shape that carries one. */
14064
14241
  object?: string;
14065
- /** @description Author entity type (e.g. individual, organization). */
14242
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
14066
14243
  type?: string;
14067
- /** @description Author's display name. */
14244
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
14068
14245
  display_name?: string;
14246
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
14247
+ name?: string;
14069
14248
  };
14070
14249
  }[];
14071
14250
  /** @description Next-page cursor; null on the last page. */
@@ -14229,6 +14408,15 @@ export interface operations {
14229
14408
  "application/json": components["schemas"]["Error"];
14230
14409
  };
14231
14410
  };
14411
+ /** @description Payload too large, the request body exceeds the size limit. */
14412
+ 413: {
14413
+ headers: {
14414
+ [name: string]: unknown;
14415
+ };
14416
+ content: {
14417
+ "application/json": components["schemas"]["Error"];
14418
+ };
14419
+ };
14232
14420
  /** @description The platform rejected the reaction. Conservative mapping, outage-indistinguishable errors stay 502. */
14233
14421
  422: {
14234
14422
  headers: {
@@ -14365,6 +14553,15 @@ export interface operations {
14365
14553
  "application/json": components["schemas"]["Error"];
14366
14554
  };
14367
14555
  };
14556
+ /** @description Payload too large, the request body exceeds the size limit. */
14557
+ 413: {
14558
+ headers: {
14559
+ [name: string]: unknown;
14560
+ };
14561
+ content: {
14562
+ "application/json": components["schemas"]["Error"];
14563
+ };
14564
+ };
14368
14565
  /** @description No reaction of this value exists to remove. */
14369
14566
  422: {
14370
14567
  headers: {
@@ -14527,6 +14724,15 @@ export interface operations {
14527
14724
  "application/json": components["schemas"]["Error"];
14528
14725
  };
14529
14726
  };
14727
+ /** @description Payload too large, the request body exceeds the size limit. */
14728
+ 413: {
14729
+ headers: {
14730
+ [name: string]: unknown;
14731
+ };
14732
+ content: {
14733
+ "application/json": components["schemas"]["Error"];
14734
+ };
14735
+ };
14530
14736
  /** @description Account restricted from performing this operation. */
14531
14737
  422: {
14532
14738
  headers: {
@@ -14963,6 +15169,15 @@ export interface operations {
14963
15169
  "application/json": components["schemas"]["Error"];
14964
15170
  };
14965
15171
  };
15172
+ /** @description Payload too large, the request body exceeds the size limit. */
15173
+ 413: {
15174
+ headers: {
15175
+ [name: string]: unknown;
15176
+ };
15177
+ content: {
15178
+ "application/json": components["schemas"]["Error"];
15179
+ };
15180
+ };
14966
15181
  /** @description Quota exceeded, slow down and retry after the hinted delay. */
14967
15182
  429: {
14968
15183
  headers: {
@@ -15078,6 +15293,15 @@ export interface operations {
15078
15293
  "application/json": components["schemas"]["Error"];
15079
15294
  };
15080
15295
  };
15296
+ /** @description Payload too large, the request body exceeds the size limit. */
15297
+ 413: {
15298
+ headers: {
15299
+ [name: string]: unknown;
15300
+ };
15301
+ content: {
15302
+ "application/json": components["schemas"]["Error"];
15303
+ };
15304
+ };
15081
15305
  /** @description Quota exceeded, slow down and retry after the hinted delay. */
15082
15306
  429: {
15083
15307
  headers: {
@@ -15193,6 +15417,15 @@ export interface operations {
15193
15417
  "application/json": components["schemas"]["Error"];
15194
15418
  };
15195
15419
  };
15420
+ /** @description Payload too large, the request body exceeds the size limit. */
15421
+ 413: {
15422
+ headers: {
15423
+ [name: string]: unknown;
15424
+ };
15425
+ content: {
15426
+ "application/json": components["schemas"]["Error"];
15427
+ };
15428
+ };
15196
15429
  /** @description Quota exceeded, slow down and retry after the hinted delay. */
15197
15430
  429: {
15198
15431
  headers: {
@@ -15451,9 +15684,13 @@ export interface operations {
15451
15684
  /** @description Optional skill parameter ids from GET /v1/{account_id}/search/parameters. */
15452
15685
  skills?: string[];
15453
15686
  /** @description Optional screening questions attached to the posting. */
15454
- screening_questions?: unknown[];
15687
+ screening_questions?: {
15688
+ [key: string]: unknown;
15689
+ }[];
15455
15690
  /** @description Optional automatic-rejection configuration. */
15456
- rejection_settings?: unknown;
15691
+ rejection_settings?: {
15692
+ [key: string]: unknown;
15693
+ };
15457
15694
  };
15458
15695
  };
15459
15696
  };
@@ -15586,6 +15823,15 @@ export interface operations {
15586
15823
  "application/json": components["schemas"]["Error"];
15587
15824
  };
15588
15825
  };
15826
+ /** @description Payload too large, the request body exceeds the size limit. */
15827
+ 413: {
15828
+ headers: {
15829
+ [name: string]: unknown;
15830
+ };
15831
+ content: {
15832
+ "application/json": components["schemas"]["Error"];
15833
+ };
15834
+ };
15589
15835
  /** @description The account is restricted and cannot create a job posting. */
15590
15836
  422: {
15591
15837
  headers: {
@@ -15903,9 +16149,13 @@ export interface operations {
15903
16149
  /** @description Optional skill parameter ids from GET /v1/{account_id}/search/parameters. */
15904
16150
  skills?: string[];
15905
16151
  /** @description Optional screening questions attached to the posting. */
15906
- screening_questions?: unknown[];
16152
+ screening_questions?: {
16153
+ [key: string]: unknown;
16154
+ }[];
15907
16155
  /** @description Optional automatic-rejection configuration. */
15908
- rejection_settings?: unknown;
16156
+ rejection_settings?: {
16157
+ [key: string]: unknown;
16158
+ };
15909
16159
  };
15910
16160
  };
15911
16161
  };
@@ -16038,6 +16288,15 @@ export interface operations {
16038
16288
  "application/json": components["schemas"]["Error"];
16039
16289
  };
16040
16290
  };
16291
+ /** @description Payload too large, the request body exceeds the size limit. */
16292
+ 413: {
16293
+ headers: {
16294
+ [name: string]: unknown;
16295
+ };
16296
+ content: {
16297
+ "application/json": components["schemas"]["Error"];
16298
+ };
16299
+ };
16041
16300
  /** @description The account is restricted and cannot edit this job posting. */
16042
16301
  422: {
16043
16302
  headers: {
@@ -16385,6 +16644,15 @@ export interface operations {
16385
16644
  "application/json": components["schemas"]["Error"];
16386
16645
  };
16387
16646
  };
16647
+ /** @description Payload too large, the request body exceeds the size limit. */
16648
+ 413: {
16649
+ headers: {
16650
+ [name: string]: unknown;
16651
+ };
16652
+ content: {
16653
+ "application/json": components["schemas"]["Error"];
16654
+ };
16655
+ };
16388
16656
  /** @description The account is restricted and cannot publish this job posting. */
16389
16657
  422: {
16390
16658
  headers: {
@@ -16511,6 +16779,15 @@ export interface operations {
16511
16779
  "application/json": components["schemas"]["Error"];
16512
16780
  };
16513
16781
  };
16782
+ /** @description Payload too large, the request body exceeds the size limit. */
16783
+ 413: {
16784
+ headers: {
16785
+ [name: string]: unknown;
16786
+ };
16787
+ content: {
16788
+ "application/json": components["schemas"]["Error"];
16789
+ };
16790
+ };
16514
16791
  /** @description The account is restricted and cannot close this job posting. */
16515
16792
  422: {
16516
16793
  headers: {
@@ -16724,6 +17001,15 @@ export interface operations {
16724
17001
  "application/json": components["schemas"]["Error"];
16725
17002
  };
16726
17003
  };
17004
+ /** @description Payload too large, the request body exceeds the size limit. */
17005
+ 413: {
17006
+ headers: {
17007
+ [name: string]: unknown;
17008
+ };
17009
+ content: {
17010
+ "application/json": components["schemas"]["Error"];
17011
+ };
17012
+ };
16727
17013
  /** @description The account is restricted and cannot be queried. */
16728
17014
  422: {
16729
17015
  headers: {
@@ -17150,17 +17436,25 @@ export interface operations {
17150
17436
  * @enum {string|null}
17151
17437
  */
17152
17438
  user_reacted?: "like" | "celebrate" | "support" | "love" | "insightful" | "funny" | null;
17153
- /** @description Author of the post or comment. */
17439
+ /** @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. */
17154
17440
  author?: {
17155
17441
  /** @description LinkedIn profile identifier. */
17156
17442
  id?: string;
17157
- /** @description Author's display name. */
17443
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
17158
17444
  name?: string;
17445
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
17446
+ display_name?: string;
17447
+ /** @description Author entity discriminator, on the shape that carries one. */
17448
+ object?: string;
17449
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
17450
+ type?: string;
17159
17451
  /** @description Author's profile picture URL, or null if not set. */
17160
17452
  profile_picture_url?: string | null;
17161
17453
  };
17162
17454
  /** @description The member who wrote the post (may differ from author for organization posts), or null. */
17163
- written_by?: Record<string, never> | null;
17455
+ written_by?: {
17456
+ [key: string]: unknown;
17457
+ } | null;
17164
17458
  /** @description Interaction permissions for the authenticated account, or null. */
17165
17459
  permissions?: {
17166
17460
  /** @description true if the account can react to this post. */
@@ -17285,9 +17579,7 @@ export interface operations {
17285
17579
  RateLimit: components["headers"]["RateLimit"];
17286
17580
  [name: string]: unknown;
17287
17581
  };
17288
- content: {
17289
- "application/json": Record<string, never>;
17290
- };
17582
+ content?: never;
17291
17583
  };
17292
17584
  /** @description Missing or invalid path parameter. */
17293
17585
  400: {
@@ -17463,7 +17755,7 @@ export interface operations {
17463
17755
  "application/json": components["schemas"]["Error"];
17464
17756
  };
17465
17757
  };
17466
- /** @description Attachment or total request body exceeds the size cap (base64 inflates ~+33%). */
17758
+ /** @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. */
17467
17759
  413: {
17468
17760
  headers: {
17469
17761
  [name: string]: unknown;
@@ -17615,17 +17907,25 @@ export interface operations {
17615
17907
  * @enum {string|null}
17616
17908
  */
17617
17909
  user_reacted?: "like" | "celebrate" | "support" | "love" | "insightful" | "funny" | null;
17618
- /** @description Author of the post or comment. */
17910
+ /** @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. */
17619
17911
  author?: {
17620
17912
  /** @description LinkedIn profile identifier. */
17621
17913
  id?: string;
17622
- /** @description Author's display name. */
17914
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
17623
17915
  name?: string;
17916
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
17917
+ display_name?: string;
17918
+ /** @description Author entity discriminator, on the shape that carries one. */
17919
+ object?: string;
17920
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
17921
+ type?: string;
17624
17922
  /** @description Author's profile picture URL, or null if not set. */
17625
17923
  profile_picture_url?: string | null;
17626
17924
  };
17627
17925
  /** @description The member who wrote the post (may differ from author for organization posts), or null. */
17628
- written_by?: Record<string, never> | null;
17926
+ written_by?: {
17927
+ [key: string]: unknown;
17928
+ } | null;
17629
17929
  /** @description Interaction permissions for the authenticated account, or null. */
17630
17930
  permissions?: {
17631
17931
  /** @description true if the account can react to this post. */
@@ -17955,6 +18255,15 @@ export interface operations {
17955
18255
  "application/json": components["schemas"]["Error"];
17956
18256
  };
17957
18257
  };
18258
+ /** @description Payload too large, the request body exceeds the size limit. */
18259
+ 413: {
18260
+ headers: {
18261
+ [name: string]: unknown;
18262
+ };
18263
+ content: {
18264
+ "application/json": components["schemas"]["Error"];
18265
+ };
18266
+ };
17958
18267
  /** @description The platform rejected the reaction. Conservative mapping. */
17959
18268
  422: {
17960
18269
  headers: {
@@ -18087,6 +18396,15 @@ export interface operations {
18087
18396
  "application/json": components["schemas"]["Error"];
18088
18397
  };
18089
18398
  };
18399
+ /** @description Payload too large, the request body exceeds the size limit. */
18400
+ 413: {
18401
+ headers: {
18402
+ [name: string]: unknown;
18403
+ };
18404
+ content: {
18405
+ "application/json": components["schemas"]["Error"];
18406
+ };
18407
+ };
18090
18408
  /** @description No reaction of the given value exists to remove. */
18091
18409
  422: {
18092
18410
  headers: {
@@ -18194,7 +18512,9 @@ export interface operations {
18194
18512
  /** @description true when the queried account itself made this reaction. */
18195
18513
  is_sender?: boolean;
18196
18514
  /** @description The user who made the reaction. */
18197
- sender?: Record<string, never>;
18515
+ sender?: {
18516
+ [key: string]: unknown;
18517
+ };
18198
18518
  /** @description The post this reaction was made on (full Post or a lighter preview). Its `urn` is the stable identifier for that post, so compare it against a post's own `urn` to tell whether you already reacted to it. */
18199
18519
  parent_post?: {
18200
18520
  /**
@@ -18208,6 +18528,40 @@ export interface operations {
18208
18528
  urn?: string | null;
18209
18529
  /** @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. */
18210
18530
  created_at?: string | null;
18531
+ /** @description Shareable URL for the parent post. Present on the full form only. */
18532
+ share_url?: string | null;
18533
+ /** @description Full text of the parent post (content pass-through, never stored). Present on the full form only. */
18534
+ text?: string | null;
18535
+ /** @description true if the parent post is itself a repost. Present on the full form only. */
18536
+ is_repost?: boolean;
18537
+ /** @description Author of the parent post. Present on the full form only. */
18538
+ author?: {
18539
+ /** @description LinkedIn profile identifier. */
18540
+ id?: string;
18541
+ /** @description Author's display name. Absent on the shape that carries `display_name` instead. */
18542
+ name?: string;
18543
+ /** @description Author's display name. Absent on the shape that carries `name` instead. */
18544
+ display_name?: string;
18545
+ /** @description Author entity discriminator, on the shape that carries one. */
18546
+ object?: string;
18547
+ /** @description Author entity type (for example individual or organization), on the shape that carries one. */
18548
+ type?: string;
18549
+ /** @description Author's profile picture URL, or null if not set. */
18550
+ profile_picture_url?: string | null;
18551
+ };
18552
+ /** @description Per-reaction-type count buckets on the parent post. Present on the full form only. */
18553
+ reactions_counter?: {
18554
+ /** @description Reaction type, as the platform names it. */
18555
+ reaction?: string;
18556
+ /** @description Count of this reaction type on the parent post. */
18557
+ count?: number;
18558
+ }[];
18559
+ /** @description Total comment count on the parent post. Present on the full form only. */
18560
+ comments_counter?: number | null;
18561
+ /** @description Total repost count on the parent post. Present on the full form only. */
18562
+ reposts_counter?: number | null;
18563
+ /** @description Media attachments on the parent post. Present on the full form only. */
18564
+ attachments?: Record<string, never>[];
18211
18565
  };
18212
18566
  }[];
18213
18567
  /** @description Next-page cursor; null on the last page. */
@@ -18533,6 +18887,15 @@ export interface operations {
18533
18887
  "application/json": components["schemas"]["Error"];
18534
18888
  };
18535
18889
  };
18890
+ /** @description Payload too large, the request body exceeds the size limit. */
18891
+ 413: {
18892
+ headers: {
18893
+ [name: string]: unknown;
18894
+ };
18895
+ content: {
18896
+ "application/json": components["schemas"]["Error"];
18897
+ };
18898
+ };
18536
18899
  /** @description Rate limited, slow down and retry after the hinted delay. */
18537
18900
  429: {
18538
18901
  headers: {
@@ -19317,7 +19680,7 @@ export interface operations {
19317
19680
  "application/json": components["schemas"]["Error"];
19318
19681
  };
19319
19682
  };
19320
- /** @description PAYLOAD_TOO_LARGE, an attachment exceeds 5 MiB, or the total body exceeds 8 MiB. */
19683
+ /** @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. */
19321
19684
  413: {
19322
19685
  headers: {
19323
19686
  [name: string]: unknown;
@@ -19629,6 +19992,15 @@ export interface operations {
19629
19992
  "application/json": components["schemas"]["Error"];
19630
19993
  };
19631
19994
  };
19995
+ /** @description Payload too large, the request body exceeds the size limit. */
19996
+ 413: {
19997
+ headers: {
19998
+ [name: string]: unknown;
19999
+ };
20000
+ content: {
20001
+ "application/json": components["schemas"]["Error"];
20002
+ };
20003
+ };
19632
20004
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
19633
20005
  422: {
19634
20006
  headers: {
@@ -19812,6 +20184,15 @@ export interface operations {
19812
20184
  "application/json": components["schemas"]["Error"];
19813
20185
  };
19814
20186
  };
20187
+ /** @description Payload too large, the request body exceeds the size limit. */
20188
+ 413: {
20189
+ headers: {
20190
+ [name: string]: unknown;
20191
+ };
20192
+ content: {
20193
+ "application/json": components["schemas"]["Error"];
20194
+ };
20195
+ };
19815
20196
  /** @description Unprocessable entity, the account state is invalid for this operation. */
19816
20197
  422: {
19817
20198
  headers: {
@@ -20396,6 +20777,15 @@ export interface operations {
20396
20777
  "application/json": components["schemas"]["Error"];
20397
20778
  };
20398
20779
  };
20780
+ /** @description Payload too large, the request body exceeds the size limit. */
20781
+ 413: {
20782
+ headers: {
20783
+ [name: string]: unknown;
20784
+ };
20785
+ content: {
20786
+ "application/json": components["schemas"]["Error"];
20787
+ };
20788
+ };
20399
20789
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
20400
20790
  422: {
20401
20791
  headers: {
@@ -20640,6 +21030,15 @@ export interface operations {
20640
21030
  "application/json": components["schemas"]["Error"];
20641
21031
  };
20642
21032
  };
21033
+ /** @description Payload too large, the request body exceeds the size limit. */
21034
+ 413: {
21035
+ headers: {
21036
+ [name: string]: unknown;
21037
+ };
21038
+ content: {
21039
+ "application/json": components["schemas"]["Error"];
21040
+ };
21041
+ };
20643
21042
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
20644
21043
  422: {
20645
21044
  headers: {
@@ -20938,6 +21337,15 @@ export interface operations {
20938
21337
  "application/json": components["schemas"]["Error"];
20939
21338
  };
20940
21339
  };
21340
+ /** @description Payload too large, the request body exceeds the size limit. */
21341
+ 413: {
21342
+ headers: {
21343
+ [name: string]: unknown;
21344
+ };
21345
+ content: {
21346
+ "application/json": components["schemas"]["Error"];
21347
+ };
21348
+ };
20941
21349
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
20942
21350
  422: {
20943
21351
  headers: {
@@ -21085,7 +21493,8 @@ export interface operations {
21085
21493
  endorsement_count?: number;
21086
21494
  }[];
21087
21495
  }[];
21088
- cursor?: string;
21496
+ /** @description Opaque cursor for the next page. null when there are no more results. */
21497
+ cursor?: string | null;
21089
21498
  total_count?: number;
21090
21499
  } | {
21091
21500
  /** @enum {string} */
@@ -21157,7 +21566,8 @@ export interface operations {
21157
21566
  }[];
21158
21567
  };
21159
21568
  }[];
21160
- cursor?: string;
21569
+ /** @description Opaque cursor for the next page. null when there are no more results. */
21570
+ cursor?: string | null;
21161
21571
  total_count?: number;
21162
21572
  } | {
21163
21573
  /** @enum {string} */
@@ -21229,7 +21639,8 @@ export interface operations {
21229
21639
  }[];
21230
21640
  };
21231
21641
  }[];
21232
- cursor?: string;
21642
+ /** @description Opaque cursor for the next page. null when there are no more results. */
21643
+ cursor?: string | null;
21233
21644
  total_count?: number;
21234
21645
  };
21235
21646
  };
@@ -21270,6 +21681,15 @@ export interface operations {
21270
21681
  "application/json": components["schemas"]["Error"];
21271
21682
  };
21272
21683
  };
21684
+ /** @description Payload too large, the request body exceeds the size limit. */
21685
+ 413: {
21686
+ headers: {
21687
+ [name: string]: unknown;
21688
+ };
21689
+ content: {
21690
+ "application/json": components["schemas"]["Error"];
21691
+ };
21692
+ };
21273
21693
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
21274
21694
  422: {
21275
21695
  headers: {
@@ -21647,6 +22067,15 @@ export interface operations {
21647
22067
  "application/json": components["schemas"]["Error"];
21648
22068
  };
21649
22069
  };
22070
+ /** @description Payload too large, the request body exceeds the size limit. */
22071
+ 413: {
22072
+ headers: {
22073
+ [name: string]: unknown;
22074
+ };
22075
+ content: {
22076
+ "application/json": components["schemas"]["Error"];
22077
+ };
22078
+ };
21650
22079
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
21651
22080
  422: {
21652
22081
  headers: {
@@ -22163,6 +22592,15 @@ export interface operations {
22163
22592
  "application/json": components["schemas"]["Error"];
22164
22593
  };
22165
22594
  };
22595
+ /** @description Payload too large, the request body exceeds the size limit. */
22596
+ 413: {
22597
+ headers: {
22598
+ [name: string]: unknown;
22599
+ };
22600
+ content: {
22601
+ "application/json": components["schemas"]["Error"];
22602
+ };
22603
+ };
22166
22604
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22167
22605
  422: {
22168
22606
  headers: {
@@ -22540,6 +22978,15 @@ export interface operations {
22540
22978
  "application/json": components["schemas"]["Error"];
22541
22979
  };
22542
22980
  };
22981
+ /** @description Payload too large, the request body exceeds the size limit. */
22982
+ 413: {
22983
+ headers: {
22984
+ [name: string]: unknown;
22985
+ };
22986
+ content: {
22987
+ "application/json": components["schemas"]["Error"];
22988
+ };
22989
+ };
22543
22990
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22544
22991
  422: {
22545
22992
  headers: {
@@ -22725,6 +23172,15 @@ export interface operations {
22725
23172
  "application/json": components["schemas"]["Error"];
22726
23173
  };
22727
23174
  };
23175
+ /** @description Payload too large, the request body exceeds the size limit. */
23176
+ 413: {
23177
+ headers: {
23178
+ [name: string]: unknown;
23179
+ };
23180
+ content: {
23181
+ "application/json": components["schemas"]["Error"];
23182
+ };
23183
+ };
22728
23184
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22729
23185
  422: {
22730
23186
  headers: {
@@ -22853,6 +23309,15 @@ export interface operations {
22853
23309
  "application/json": components["schemas"]["Error"];
22854
23310
  };
22855
23311
  };
23312
+ /** @description Payload too large, the request body exceeds the size limit. */
23313
+ 413: {
23314
+ headers: {
23315
+ [name: string]: unknown;
23316
+ };
23317
+ content: {
23318
+ "application/json": components["schemas"]["Error"];
23319
+ };
23320
+ };
22856
23321
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
22857
23322
  422: {
22858
23323
  headers: {
@@ -22988,6 +23453,15 @@ export interface operations {
22988
23453
  "application/json": components["schemas"]["Error"];
22989
23454
  };
22990
23455
  };
23456
+ /** @description Payload too large, the request body exceeds the size limit. */
23457
+ 413: {
23458
+ headers: {
23459
+ [name: string]: unknown;
23460
+ };
23461
+ content: {
23462
+ "application/json": components["schemas"]["Error"];
23463
+ };
23464
+ };
22991
23465
  /** @description ACCOUNT_RESTRICTED, the connected LinkedIn account cannot perform the requested Recruiter action. */
22992
23466
  422: {
22993
23467
  headers: {
@@ -23310,6 +23784,15 @@ export interface operations {
23310
23784
  "application/json": components["schemas"]["Error"];
23311
23785
  };
23312
23786
  };
23787
+ /** @description Payload too large, the request body exceeds the size limit. */
23788
+ 413: {
23789
+ headers: {
23790
+ [name: string]: unknown;
23791
+ };
23792
+ content: {
23793
+ "application/json": components["schemas"]["Error"];
23794
+ };
23795
+ };
23313
23796
  /** @description Unprocessable entity, the account or project state is invalid for this operation. */
23314
23797
  422: {
23315
23798
  headers: {
@@ -23789,7 +24272,7 @@ export interface operations {
23789
24272
  "application/json": components["schemas"]["Error"];
23790
24273
  };
23791
24274
  };
23792
- /** @description PAYLOAD_TOO_LARGE, an attachment exceeds 5 MiB, or the total body exceeds 8 MiB. */
24275
+ /** @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. */
23793
24276
  413: {
23794
24277
  headers: {
23795
24278
  [name: string]: unknown;
@@ -24523,7 +25006,7 @@ export interface operations {
24523
25006
  */
24524
25007
  object: "sn_saved_account_result";
24525
25008
  /** @description The saved accounts in the list. */
24526
- items: {
25009
+ items: ({
24527
25010
  /**
24528
25011
  * @description Item type discriminator.
24529
25012
  * @enum {string}
@@ -24533,7 +25016,47 @@ export interface operations {
24533
25016
  id: string;
24534
25017
  /** @description Display name. */
24535
25018
  display_name: string;
24536
- }[];
25019
+ /** @description LinkedIn public identifier (vanity slug). May be null. */
25020
+ public_identifier?: string | null;
25021
+ /** @description Company LinkedIn profile URL. May be null. */
25022
+ profile_url?: string | null;
25023
+ /** @description Company logo URL. May be null. */
25024
+ public_picture_url?: string | null;
25025
+ /** @description Company headquarters location. May be null. */
25026
+ location?: string | null;
25027
+ /** @description Industry the company operates in. May be null. */
25028
+ industry?: string | null;
25029
+ /** @description Company summary text. May be null. */
25030
+ summary?: string | null;
25031
+ /** @description Connection count at this company. May be null. */
25032
+ relations_count?: number | null;
25033
+ /** @description Employee count. May be null. */
25034
+ headcount?: number | null;
25035
+ /** @description Structural platform pass-through; shape and presence vary. May be null. */
25036
+ specialties?: {
25037
+ [key: string]: unknown;
25038
+ };
25039
+ /** @description May be null. */
25040
+ is_hiring_on_linkedin?: boolean | null;
25041
+ /** @description How many lists this account is saved to. Present when available. */
25042
+ lists_count?: number;
25043
+ /** @description How many notes are attached. Present when available. */
25044
+ notes_count?: number;
25045
+ /** @description Company website URL. May be null. */
25046
+ website?: string | null;
25047
+ /** @description Structural platform pass-through; shape and presence vary. May be null. */
25048
+ founded_on?: {
25049
+ [key: string]: unknown;
25050
+ };
25051
+ /** @description true when the account is starred on the seat. Present when available. */
25052
+ is_starred?: boolean;
25053
+ /** @description Structural platform pass-through; shape and presence vary. May be null. */
25054
+ recommended_lead?: {
25055
+ [key: string]: unknown;
25056
+ };
25057
+ } & {
25058
+ [key: string]: unknown;
25059
+ })[];
24537
25060
  paging: {
24538
25061
  /** @description Total number of items. May be null. */
24539
25062
  total_count?: number | null;
@@ -24579,6 +25102,15 @@ export interface operations {
24579
25102
  "application/json": components["schemas"]["Error"];
24580
25103
  };
24581
25104
  };
25105
+ /** @description Payload too large, the request body exceeds the size limit. */
25106
+ 413: {
25107
+ headers: {
25108
+ [name: string]: unknown;
25109
+ };
25110
+ content: {
25111
+ "application/json": components["schemas"]["Error"];
25112
+ };
25113
+ };
24582
25114
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
24583
25115
  422: {
24584
25116
  headers: {
@@ -24694,7 +25226,7 @@ export interface operations {
24694
25226
  */
24695
25227
  object: "sn_saved_lead_result";
24696
25228
  /** @description The saved leads in the list. */
24697
- items: {
25229
+ items: ({
24698
25230
  /**
24699
25231
  * @description Item type discriminator.
24700
25232
  * @enum {string}
@@ -24704,7 +25236,76 @@ export interface operations {
24704
25236
  id: string;
24705
25237
  /** @description Display name. */
24706
25238
  display_name: string;
24707
- }[];
25239
+ /**
25240
+ * @description Connection distance to the operator account. Present when available.
25241
+ * @enum {string}
25242
+ */
25243
+ network_distance?: "SELF" | "FIRST_DEGREE" | "SECOND_DEGREE" | "THIRD_DEGREE" | "OUT_OF_NETWORK";
25244
+ /** @description Present when available. */
25245
+ has_posted_recently?: boolean;
25246
+ /** @description Present when available. */
25247
+ has_viewed_your_profile?: boolean;
25248
+ /** @description Present when available. */
25249
+ was_hired_recently?: boolean;
25250
+ /** @description Present when available. */
25251
+ was_promoted_recently?: boolean;
25252
+ /** @description Present when available. */
25253
+ follows_your_company?: boolean;
25254
+ /** @description true if this is a LinkedIn Premium account. Present when available. */
25255
+ is_premium?: boolean;
25256
+ /** @description Present when available. */
25257
+ is_past_colleague?: boolean;
25258
+ /** @description Present when available. */
25259
+ is_open_profile?: boolean;
25260
+ /** @description Contact info. Present when available. */
25261
+ contact_info?: {
25262
+ phones?: {
25263
+ [key: string]: unknown;
25264
+ }[];
25265
+ emails?: {
25266
+ [key: string]: unknown;
25267
+ }[];
25268
+ };
25269
+ /** @description How many lists this lead is saved to. Present when available. */
25270
+ lists_count?: number;
25271
+ /** @description How many notes are attached. Present when available. */
25272
+ notes_count?: number;
25273
+ /** @description Present when available. */
25274
+ education?: {
25275
+ [key: string]: unknown;
25276
+ }[];
25277
+ /** @description Structural platform pass-through; returned as strings. Present when available. */
25278
+ skills?: unknown[];
25279
+ /** @description Present when available. */
25280
+ work_experience?: {
25281
+ [key: string]: unknown;
25282
+ }[];
25283
+ /** @description Structural platform pass-through; returned as strings. Present when available. */
25284
+ languages?: unknown[];
25285
+ /** @description Present when available. */
25286
+ volunteering?: {
25287
+ [key: string]: unknown;
25288
+ }[];
25289
+ /** @description ISO-8601 timestamp of when the lead was saved. Present when available. */
25290
+ saved_at?: string;
25291
+ /** @description The company associated with this saved lead. Present when available. */
25292
+ associated_account?: {
25293
+ id?: string;
25294
+ name?: string;
25295
+ /** @description Present when available. */
25296
+ industry?: string;
25297
+ /** @description Present when available. */
25298
+ location?: string;
25299
+ public_identifier?: string;
25300
+ profile_url?: string;
25301
+ /** @description Present when available. */
25302
+ public_picture_url?: string;
25303
+ } & {
25304
+ [key: string]: unknown;
25305
+ };
25306
+ } & {
25307
+ [key: string]: unknown;
25308
+ })[];
24708
25309
  paging: {
24709
25310
  /** @description Total number of items. May be null. */
24710
25311
  total_count?: number | null;
@@ -24750,6 +25351,15 @@ export interface operations {
24750
25351
  "application/json": components["schemas"]["Error"];
24751
25352
  };
24752
25353
  };
25354
+ /** @description Payload too large, the request body exceeds the size limit. */
25355
+ 413: {
25356
+ headers: {
25357
+ [name: string]: unknown;
25358
+ };
25359
+ content: {
25360
+ "application/json": components["schemas"]["Error"];
25361
+ };
25362
+ };
24753
25363
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
24754
25364
  422: {
24755
25365
  headers: {
@@ -24887,6 +25497,15 @@ export interface operations {
24887
25497
  "application/json": components["schemas"]["Error"];
24888
25498
  };
24889
25499
  };
25500
+ /** @description Payload too large, the request body exceeds the size limit. */
25501
+ 413: {
25502
+ headers: {
25503
+ [name: string]: unknown;
25504
+ };
25505
+ content: {
25506
+ "application/json": components["schemas"]["Error"];
25507
+ };
25508
+ };
24890
25509
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
24891
25510
  422: {
24892
25511
  headers: {
@@ -25024,6 +25643,15 @@ export interface operations {
25024
25643
  "application/json": components["schemas"]["Error"];
25025
25644
  };
25026
25645
  };
25646
+ /** @description Payload too large, the request body exceeds the size limit. */
25647
+ 413: {
25648
+ headers: {
25649
+ [name: string]: unknown;
25650
+ };
25651
+ content: {
25652
+ "application/json": components["schemas"]["Error"];
25653
+ };
25654
+ };
25027
25655
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
25028
25656
  422: {
25029
25657
  headers: {
@@ -25559,6 +26187,15 @@ export interface operations {
25559
26187
  "application/json": components["schemas"]["Error"];
25560
26188
  };
25561
26189
  };
26190
+ /** @description Payload too large, the request body exceeds the size limit. */
26191
+ 413: {
26192
+ headers: {
26193
+ [name: string]: unknown;
26194
+ };
26195
+ content: {
26196
+ "application/json": components["schemas"]["Error"];
26197
+ };
26198
+ };
25562
26199
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
25563
26200
  422: {
25564
26201
  headers: {
@@ -25821,6 +26458,15 @@ export interface operations {
25821
26458
  "application/json": components["schemas"]["Error"];
25822
26459
  };
25823
26460
  };
26461
+ /** @description Payload too large, the request body exceeds the size limit. */
26462
+ 413: {
26463
+ headers: {
26464
+ [name: string]: unknown;
26465
+ };
26466
+ content: {
26467
+ "application/json": components["schemas"]["Error"];
26468
+ };
26469
+ };
25824
26470
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
25825
26471
  422: {
25826
26472
  headers: {
@@ -26116,6 +26762,15 @@ export interface operations {
26116
26762
  "application/json": components["schemas"]["Error"];
26117
26763
  };
26118
26764
  };
26765
+ /** @description Payload too large, the request body exceeds the size limit. */
26766
+ 413: {
26767
+ headers: {
26768
+ [name: string]: unknown;
26769
+ };
26770
+ content: {
26771
+ "application/json": components["schemas"]["Error"];
26772
+ };
26773
+ };
26119
26774
  /** @description ACCOUNT_RESTRICTED, the account cannot perform this operation. */
26120
26775
  422: {
26121
26776
  headers: {
@@ -26522,7 +27177,9 @@ export interface operations {
26522
27177
  content: {
26523
27178
  "application/json": {
26524
27179
  /** @description Flat string->string map that replaces this account's custom-data store wholesale (unprovided keys are removed). */
26525
- metadata?: unknown;
27180
+ metadata?: {
27181
+ [key: string]: string;
27182
+ };
26526
27183
  /** @description Custom-proxy egress config, or null to clear it (revert to automatic proxy protection). Omit to leave it unchanged. */
26527
27184
  proxy?: {
26528
27185
  /**
@@ -26579,6 +27236,15 @@ export interface operations {
26579
27236
  "application/json": components["schemas"]["Error"];
26580
27237
  };
26581
27238
  };
27239
+ /** @description Payload too large, the request body exceeds the size limit. */
27240
+ 413: {
27241
+ headers: {
27242
+ [name: string]: unknown;
27243
+ };
27244
+ content: {
27245
+ "application/json": components["schemas"]["Error"];
27246
+ };
27247
+ };
26582
27248
  /** @description Rate limited, slow down and retry after the hinted delay. */
26583
27249
  429: {
26584
27250
  headers: {
@@ -26824,6 +27490,15 @@ export interface operations {
26824
27490
  "application/json": components["schemas"]["Error"];
26825
27491
  };
26826
27492
  };
27493
+ /** @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. */
27494
+ 403: {
27495
+ headers: {
27496
+ [name: string]: unknown;
27497
+ };
27498
+ content: {
27499
+ "application/json": components["schemas"]["Error"];
27500
+ };
27501
+ };
26827
27502
  /** @description This LinkedIn account is already linked (names your own account_id when your tenant owns it). */
26828
27503
  409: {
26829
27504
  headers: {
@@ -26833,6 +27508,15 @@ export interface operations {
26833
27508
  "application/json": components["schemas"]["Error"];
26834
27509
  };
26835
27510
  };
27511
+ /** @description Payload too large, the request body exceeds the size limit. */
27512
+ 413: {
27513
+ headers: {
27514
+ [name: string]: unknown;
27515
+ };
27516
+ content: {
27517
+ "application/json": components["schemas"]["Error"];
27518
+ };
27519
+ };
26836
27520
  /** @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. */
26837
27521
  422: {
26838
27522
  headers: {
@@ -26972,6 +27656,15 @@ export interface operations {
26972
27656
  };
26973
27657
  };
26974
27658
  };
27659
+ /** @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. */
27660
+ 403: {
27661
+ headers: {
27662
+ [name: string]: unknown;
27663
+ };
27664
+ content: {
27665
+ "application/json": components["schemas"]["Error"];
27666
+ };
27667
+ };
26975
27668
  /** @description No pending checkpoint for this account. */
26976
27669
  404: {
26977
27670
  headers: {
@@ -26990,6 +27683,15 @@ export interface operations {
26990
27683
  "application/json": components["schemas"]["Error"];
26991
27684
  };
26992
27685
  };
27686
+ /** @description Payload too large, the request body exceeds the size limit. */
27687
+ 413: {
27688
+ headers: {
27689
+ [name: string]: unknown;
27690
+ };
27691
+ content: {
27692
+ "application/json": components["schemas"]["Error"];
27693
+ };
27694
+ };
26993
27695
  /** @description The submitted code was incorrect, or the challenge type is unsupported. */
26994
27696
  422: {
26995
27697
  headers: {
@@ -27084,6 +27786,15 @@ export interface operations {
27084
27786
  };
27085
27787
  };
27086
27788
  };
27789
+ /** @description ACCOUNT_RESTRICTED. LinkedIn has restricted this account. Sign in to LinkedIn to see what it needs, resolve it there, then reconnect. */
27790
+ 403: {
27791
+ headers: {
27792
+ [name: string]: unknown;
27793
+ };
27794
+ content: {
27795
+ "application/json": components["schemas"]["Error"];
27796
+ };
27797
+ };
27087
27798
  /** @description No pending checkpoint for this account. */
27088
27799
  404: {
27089
27800
  headers: {
@@ -27102,6 +27813,15 @@ export interface operations {
27102
27813
  "application/json": components["schemas"]["Error"];
27103
27814
  };
27104
27815
  };
27816
+ /** @description Payload too large, the request body exceeds the size limit. */
27817
+ 413: {
27818
+ headers: {
27819
+ [name: string]: unknown;
27820
+ };
27821
+ content: {
27822
+ "application/json": components["schemas"]["Error"];
27823
+ };
27824
+ };
27105
27825
  /** @description Rate limited, slow down and retry after the hinted delay. */
27106
27826
  429: {
27107
27827
  headers: {
@@ -27243,6 +27963,15 @@ export interface operations {
27243
27963
  "application/json": components["schemas"]["Error"];
27244
27964
  };
27245
27965
  };
27966
+ /** @description Payload too large, the request body exceeds the size limit. */
27967
+ 413: {
27968
+ headers: {
27969
+ [name: string]: unknown;
27970
+ };
27971
+ content: {
27972
+ "application/json": components["schemas"]["Error"];
27973
+ };
27974
+ };
27246
27975
  /** @description The pending checkpoint is code-based, not mobile_app_approval, use submit instead. */
27247
27976
  422: {
27248
27977
  headers: {
@@ -27700,6 +28429,15 @@ export interface operations {
27700
28429
  "application/json": components["schemas"]["Error"];
27701
28430
  };
27702
28431
  };
28432
+ /** @description Payload too large, the request body exceeds the size limit. */
28433
+ 413: {
28434
+ headers: {
28435
+ [name: string]: unknown;
28436
+ };
28437
+ content: {
28438
+ "application/json": components["schemas"]["Error"];
28439
+ };
28440
+ };
27703
28441
  /** @description Rate limited, slow down and retry after the hinted delay. */
27704
28442
  429: {
27705
28443
  headers: {
@@ -28157,6 +28895,15 @@ export interface operations {
28157
28895
  "application/json": components["schemas"]["Error"];
28158
28896
  };
28159
28897
  };
28898
+ /** @description Payload too large, the request body exceeds the size limit. */
28899
+ 413: {
28900
+ headers: {
28901
+ [name: string]: unknown;
28902
+ };
28903
+ content: {
28904
+ "application/json": components["schemas"]["Error"];
28905
+ };
28906
+ };
28160
28907
  /** @description Rate limited, slow down and retry after the hinted delay. */
28161
28908
  429: {
28162
28909
  headers: {