@productcraft/social 0.6.0 → 0.7.0

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
@@ -371,7 +371,7 @@ interface paths {
371
371
  };
372
372
  /**
373
373
  * List the actor's pinned posts (highlights).
374
- * @description Pinned posts appear here regardless of their `expires_at`. Visibility still applies — pass `requester_id` to surface non-public pinned posts the requester is allowed to see. Without that param, only `public` pinned rows are returned (legacy-safe default). Cursor-paginated on `(created_at DESC, id DESC)`.
374
+ * @description Pinned posts appear here regardless of their `expires_at`. Visibility still applies — pass `actor_id` to surface non-public pinned posts the requester is allowed to see. Without that param, only `public` pinned rows are returned (legacy-safe default). Cursor-paginated on `(created_at DESC, id DESC)`.
375
375
  */
376
376
  get: operations["StoryController_getHighlights"];
377
377
  put?: never;
@@ -973,11 +973,11 @@ interface paths {
973
973
  get: operations["ConversationController_getById"];
974
974
  put?: never;
975
975
  post?: never;
976
- /** Leave the conversation. Drops the caller's participant row; the conversation is hard-deleted when the last participant leaves. Pass the actor via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
976
+ /** Leave the conversation. Drops the caller's participant row; the conversation is hard-deleted when the last participant leaves. Pass the actor via `?actor_id=`. */
977
977
  delete: operations["ConversationController_leave"];
978
978
  options?: never;
979
979
  head?: never;
980
- /** Conversation-level update (task 025). Pass `name` to rename a group (admin-only) — the canonical rename home. The participant fields (muted / muted_until / pinned) are the DEPRECATED alias for PATCH /:id/members/:actorId. */
980
+ /** Conversation-level update (task 025). Pass `name` to rename a group (admin-only) — the canonical rename home. Participant state (muted / muted_until / pinned) lives on PATCH /:id/members/:actorId. */
981
981
  patch: operations["ConversationController_update"];
982
982
  trace?: never;
983
983
  };
@@ -1008,11 +1008,11 @@ interface paths {
1008
1008
  get?: never;
1009
1009
  put?: never;
1010
1010
  post?: never;
1011
- /** Remove a participant. Admin-only unless caller_actor_id equals the target (self-leave). */
1011
+ /** Remove a participant. Admin-only unless the acting `?actor_id=` equals the target (self-leave). */
1012
1012
  delete: operations["ConversationController_removeMember"];
1013
1013
  options?: never;
1014
1014
  head?: never;
1015
- /** Update a participant (task 025). Field-level authz: `role` is admin-only; `muted` / `muted_until` / `pinned` are self-only (the caller must be the path actor). The canonical home for participant state — the participant fields on PATCH /conversations/:id are the deprecated alias. */
1015
+ /** Update a participant (task 025). Field-level authz: `role` is admin-only; `muted` / `muted_until` / `pinned` are self-only (the caller must be the path actor). The canonical home for participant state. */
1016
1016
  patch: operations["ConversationController_updateMember"];
1017
1017
  trace?: never;
1018
1018
  };
@@ -1045,7 +1045,7 @@ interface paths {
1045
1045
  get: operations["ConversationController_getMessage"];
1046
1046
  put?: never;
1047
1047
  post?: never;
1048
- /** Soft-delete a message. Reserved to the sender; the row stays so the conversation timeline doesn't orphan replies. Reads return body `"(deleted)"`. Pass the sender via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
1048
+ /** Soft-delete a message. Reserved to the sender; the row stays so the conversation timeline doesn't orphan replies. Reads return body `"(deleted)"`. Pass the sender via `?actor_id=`. */
1049
1049
  delete: operations["ConversationController_deleteMessage"];
1050
1050
  options?: never;
1051
1051
  head?: never;
@@ -1088,26 +1088,6 @@ interface paths {
1088
1088
  patch?: never;
1089
1089
  trace?: never;
1090
1090
  };
1091
- "/v1/communities/{communityId}/conversations/{conversationId}/name": {
1092
- parameters: {
1093
- query?: never;
1094
- header?: never;
1095
- path?: never;
1096
- cookie?: never;
1097
- };
1098
- get?: never;
1099
- put?: never;
1100
- post?: never;
1101
- delete?: never;
1102
- options?: never;
1103
- head?: never;
1104
- /**
1105
- * DEPRECATED (task 025) — rename via PATCH /conversations/:id with `name`. Rename a group conversation. Admin-only.
1106
- * @deprecated
1107
- */
1108
- patch: operations["ConversationController_renameGroup"];
1109
- trace?: never;
1110
- };
1111
1091
  "/v1/communities/{communityId}/conversations/{conversationId}/read": {
1112
1092
  parameters: {
1113
1093
  query?: never;
@@ -1149,7 +1129,7 @@ interface paths {
1149
1129
  path?: never;
1150
1130
  cookie?: never;
1151
1131
  };
1152
- /** Discover / explore feed (task 019). Ranked surface over every public post in the community — Instagram Explore / X "For You without follow constraint". Optional `viewer_actor_id` filters the viewer's blocks and applies a small self-boost; without one, the result is the global discovery slice. */
1132
+ /** Discover / explore feed (task 019). Ranked surface over every public post in the community — Instagram Explore / X "For You without follow constraint". Optional `actor_id` filters the viewer's blocks and applies a small self-boost; without one, the result is the global discovery slice. */
1153
1133
  get: operations["FeedController_getDiscoverFeed"];
1154
1134
  put?: never;
1155
1135
  post?: never;
@@ -1388,7 +1368,7 @@ interface paths {
1388
1368
  path?: never;
1389
1369
  cookie?: never;
1390
1370
  };
1391
- /** List discoverable lists in this community. Public lists are visible to anyone; private lists surface only when `viewer_actor_id` is their owner. */
1371
+ /** List discoverable lists in this community. Public lists are visible to anyone; private lists surface only when `actor_id` is their owner. */
1392
1372
  get: operations["ActorListController_list"];
1393
1373
  put?: never;
1394
1374
  /** Create a new list. Default visibility `private`. List creation has no natural key (an owner can hold many same-named lists), so pass an `Idempotency-Key` header to make retries safe. */
@@ -1410,7 +1390,7 @@ interface paths {
1410
1390
  get: operations["ActorListController_getById"];
1411
1391
  put?: never;
1412
1392
  post?: never;
1413
- /** Delete a list. Owner-only. Pass the caller via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
1393
+ /** Delete a list. Owner-only. Pass the caller via `?actor_id=`. */
1414
1394
  delete: operations["ActorListController_delete"];
1415
1395
  options?: never;
1416
1396
  head?: never;
@@ -1442,7 +1422,7 @@ interface paths {
1442
1422
  path?: never;
1443
1423
  cookie?: never;
1444
1424
  };
1445
- /** List members of a list. Public lists are visible to anyone; private lists surface only when viewer_actor_id is the owner. */
1425
+ /** List members of a list. Public lists are visible to anyone; private lists surface only when `actor_id` is the owner. */
1446
1426
  get: operations["ActorListController_listMembers"];
1447
1427
  put?: never;
1448
1428
  /** Add a member to a list. Owner-only. */
@@ -1463,7 +1443,7 @@ interface paths {
1463
1443
  get?: never;
1464
1444
  put?: never;
1465
1445
  post?: never;
1466
- /** Remove a member from a list. Owner-only. Idempotent — 204 either way. Pass the caller via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
1446
+ /** Remove a member from a list. Owner-only. Idempotent — 204 either way. Pass the caller via `?actor_id=`. */
1467
1447
  delete: operations["ActorListController_removeMember"];
1468
1448
  options?: never;
1469
1449
  head?: never;
@@ -1539,26 +1519,6 @@ interface paths {
1539
1519
  patch?: never;
1540
1520
  trace?: never;
1541
1521
  };
1542
- "/v1/communities/{communityId}/posts/views": {
1543
- parameters: {
1544
- query?: never;
1545
- header?: never;
1546
- path?: never;
1547
- cookie?: never;
1548
- };
1549
- get?: never;
1550
- put?: never;
1551
- /**
1552
- * DEPRECATED — use `POST /posts/impressions`. Batch-increment impression counters. This alias will be removed in a future version.
1553
- * @deprecated
1554
- */
1555
- post: operations["PostController_recordViewsDeprecated"];
1556
- delete?: never;
1557
- options?: never;
1558
- head?: never;
1559
- patch?: never;
1560
- trace?: never;
1561
- };
1562
1522
  "/v1/communities/{communityId}/posts/{postId}": {
1563
1523
  parameters: {
1564
1524
  query?: never;
@@ -1567,8 +1527,8 @@ interface paths {
1567
1527
  cookie?: never;
1568
1528
  };
1569
1529
  /**
1570
- * Get a post by id. Visibility-aware: pass `requester_id` for non-public posts.
1571
- * @description Without `requester_id`, only `public` posts return. With one, `followers` / `close_friends` / the requester's own `private` posts surface per the visibility matrix. Returns 404 (opacity) when the requester is not allowed to read the post — never 403.
1530
+ * Get a post by id. Visibility-aware: pass `actor_id` for non-public posts.
1531
+ * @description Without `actor_id`, only `public` posts return. With one, `followers` / `close_friends` / the requester's own `private` posts surface per the visibility matrix. Returns 404 (opacity) when the requester is not allowed to read the post — never 403.
1572
1532
  */
1573
1533
  get: operations["PostController_getById"];
1574
1534
  put?: never;
@@ -1595,7 +1555,7 @@ interface paths {
1595
1555
  * @description Visibility-aware: the actor must be allowed to read the post. If they can't, returns 404 (opaque), matching the read-path opacity rule used everywhere else in Social.
1596
1556
  */
1597
1557
  post: operations["BookmarkController_create"];
1598
- /** Remove a bookmark on behalf of an actor. Idempotent — 204 either way. Pass the actor via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
1558
+ /** Remove a bookmark on behalf of an actor. Idempotent — 204 either way. Pass the actor via `?actor_id=`. */
1599
1559
  delete: operations["BookmarkController_delete"];
1600
1560
  options?: never;
1601
1561
  head?: never;
@@ -1609,7 +1569,7 @@ interface paths {
1609
1569
  path?: never;
1610
1570
  cookie?: never;
1611
1571
  };
1612
- /** List comments on a post. Default returns top-level comments newest-first; pass `parent_id` to expand a thread (oldest-first). Pass `requester_id` so DM-style `author_only` replies surface only to the post-author and the comment-author pair. */
1572
+ /** List comments on a post. Default returns top-level comments newest-first; pass `parent_id` to expand a thread (oldest-first). Pass `actor_id` so DM-style `author_only` replies surface only to the post-author and the comment-author pair. */
1613
1573
  get: operations["CommentController_list"];
1614
1574
  put?: never;
1615
1575
  /** Add a comment on a post. Pass `parent_id` to reply; the depth is computed and capped by the community config. Pass an `Idempotency-Key` header to make retries safe. */
@@ -1821,7 +1781,7 @@ interface paths {
1821
1781
  * @description Visibility is inherited from the source. The reposter must be allowed to read the source (else 404). Self-repost 422; private-source repost 422. Bumps `source.repost_count` and the reposter's `post_count`. Fires a `repost` notification to the source author (subject to per-kind preferences from task 021).
1822
1782
  */
1823
1783
  post: operations["RepostController_create"];
1824
- /** Undo my repost of a source post. Idempotent — 204 either way. Pass the actor via `?actor_id=` (task 008 / G12 — the request body is deprecated). */
1784
+ /** Undo my repost of a source post. Idempotent — 204 either way. Pass the actor via `?actor_id=`. */
1825
1785
  delete: operations["RepostController_delete"];
1826
1786
  options?: never;
1827
1787
  head?: never;
@@ -1914,7 +1874,7 @@ interface paths {
1914
1874
  };
1915
1875
  /**
1916
1876
  * List viewers of a post (author-only).
1917
- * @description Only the post author can list viewers. The PAK passes `requester_id`; if that resolves to an actor whose id != post.actor_id, returns 403. Viewers are ordered by view timestamp, newest-first.
1877
+ * @description Only the post author can list viewers. The PAK passes `actor_id`; if that resolves to an actor whose id != post.actor_id, returns 403. Viewers are ordered by view timestamp, newest-first.
1918
1878
  */
1919
1879
  get: operations["StoryController_listViewers"];
1920
1880
  put?: never;
@@ -2052,7 +2012,7 @@ interface paths {
2052
2012
  };
2053
2013
  /**
2054
2014
  * Search actors by display name, external_id (username), and bio.
2055
- * @description Postgres FTS over a generated tsvector column (display_name A + external_id B + bio C, `simple` locale). Returns up to `limit` (default 20, max 50) hits ordered by `ts_rank`. Pass `requester_id` to filter out actors the requester has muted or blocked, and actors who have blocked the requester. Trigram fuzzy matching is intentionally out of scope — that's a follow-up.
2015
+ * @description Postgres FTS over a generated tsvector column (display_name A + external_id B + bio C, `simple` locale). Returns up to `limit` (default 20, max 50) hits ordered by `ts_rank`. Pass `actor_id` to filter out actors the requester has muted or blocked, and actors who have blocked the requester. Trigram fuzzy matching is intentionally out of scope — that's a follow-up.
2056
2016
  */
2057
2017
  get: operations["SearchController_searchActors"];
2058
2018
  put?: never;
@@ -2092,7 +2052,7 @@ interface paths {
2092
2052
  };
2093
2053
  /**
2094
2054
  * Search post content (title + body) by full-text.
2095
- * @description Postgres FTS over a generated tsvector column on the post table (title A + body B, simple locale). `order='relevance'` (default) ranks by ts_rank; `order='recent'` keeps the FTS filter but orders by created_at desc. Filters out drafts / removed / hidden / expired posts. Pass `requester_id` to drop posts authored by anyone the requester has muted / blocked, or who has blocked the requester. Without `requester_id`, only posts with `visibility='public'` surface.
2055
+ * @description Postgres FTS over a generated tsvector column on the post table (title A + body B, simple locale). `order='relevance'` (default) ranks by ts_rank; `order='recent'` keeps the FTS filter but orders by created_at desc. Filters out drafts / removed / hidden / expired posts. Pass `actor_id` to drop posts authored by anyone the requester has muted / blocked, or who has blocked the requester. Without `actor_id`, only posts with `visibility='public'` surface.
2096
2056
  */
2097
2057
  get: operations["SearchController_searchPosts"];
2098
2058
  put?: never;
@@ -2552,7 +2512,7 @@ interface components {
2552
2512
  * @description Acting social actor UUID (the one performing the follow / mute / block / restrict). Standardized name (task 008 / G11).
2553
2513
  * @example aaaaaaaa-0000-0000-0000-000000000001
2554
2514
  */
2555
- actor_id?: string;
2515
+ actor_id: string;
2556
2516
  /**
2557
2517
  * @description Destination social actor UUID (the one being followed / muted / blocked / restricted).
2558
2518
  * @example aaaaaaaa-0000-0000-0000-000000000002
@@ -2560,12 +2520,6 @@ interface components {
2560
2520
  dst_actor_id: string;
2561
2521
  /** @description Optional free-form payload stored on the edge (e.g. mute reason). */
2562
2522
  payload?: Record<string, never>;
2563
- /**
2564
- * @deprecated
2565
- * @description DEPRECATED alias of `actor_id` (task 008 / G11). Accepted for one more version.
2566
- * @example aaaaaaaa-0000-0000-0000-000000000001
2567
- */
2568
- src_actor_id?: string;
2569
2523
  };
2570
2524
  ActorFollowerPointDto: {
2571
2525
  /** @example 2026-05-01 */
@@ -3808,13 +3762,7 @@ interface components {
3808
3762
  * @description Reactor actor UUID. Standardized name (task 008 / G11).
3809
3763
  * @example aaaaaaaa-0000-0000-0000-000000000001
3810
3764
  */
3811
- actor_id?: string;
3812
- /**
3813
- * @deprecated
3814
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
3815
- * @example aaaaaaaa-0000-0000-0000-000000000001
3816
- */
3817
- src_actor_id?: string;
3765
+ actor_id: string;
3818
3766
  /**
3819
3767
  * @description Reaction type (free-form short label, e.g. `like`, `fire`, `heart`).
3820
3768
  * @example like
@@ -3878,13 +3826,7 @@ interface components {
3878
3826
  * @description The reactor — social actor UUID. Standardized name (task 008 / G11).
3879
3827
  * @example aaaaaaaa-0000-0000-0000-000000000001
3880
3828
  */
3881
- actor_id?: string;
3882
- /**
3883
- * @deprecated
3884
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
3885
- * @example aaaaaaaa-0000-0000-0000-000000000001
3886
- */
3887
- src_actor_id?: string;
3829
+ actor_id: string;
3888
3830
  /**
3889
3831
  * @description Reaction type (emoji or label, 1..64 chars).
3890
3832
  * @example heart
@@ -4035,13 +3977,7 @@ interface components {
4035
3977
  * @description Reactor — social actor UUID. Standardized name (task 008 / G11).
4036
3978
  * @example aaaaaaaa-0000-0000-0000-000000000001
4037
3979
  */
4038
- actor_id?: string;
4039
- /**
4040
- * @deprecated
4041
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
4042
- * @example aaaaaaaa-0000-0000-0000-000000000001
4043
- */
4044
- src_actor_id?: string;
3980
+ actor_id: string;
4045
3981
  /**
4046
3982
  * @description Reaction type (1..64 chars).
4047
3983
  * @example like
@@ -4151,32 +4087,8 @@ interface components {
4151
4087
  */
4152
4088
  url: string;
4153
4089
  };
4154
- DeleteActorListDto: {
4155
- /**
4156
- * @deprecated
4157
- * @description DEPRECATED — use `?actor_id=`. Caller social actor UUID (must equal the list owner).
4158
- * @example aaaaaaaa-0000-0000-0000-000000000001
4159
- */
4160
- actor_id?: string;
4161
- /**
4162
- * @deprecated
4163
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
4164
- */
4165
- caller_actor_id?: string;
4166
- };
4167
- DeleteMessageDto: {
4168
- /**
4169
- * @deprecated
4170
- * @description DEPRECATED — use `?actor_id=`. The sender (must match the message's sender_id).
4171
- * @example aaaaaaaa-0000-0000-0000-000000000001
4172
- */
4173
- actor_id?: string;
4174
- /**
4175
- * @deprecated
4176
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
4177
- */
4178
- sender_id?: string;
4179
- };
4090
+ DeleteActorListDto: Record<string, never>;
4091
+ DeleteMessageDto: Record<string, never>;
4180
4092
  DeleteWithCallerDto: {
4181
4093
  /** @example aaaaaaaa-0000-0000-0000-000000000001 */
4182
4094
  caller_actor_id: string;
@@ -4288,14 +4200,7 @@ interface components {
4288
4200
  /** @description Webhook UUID. */
4289
4201
  webhook_id: string;
4290
4202
  };
4291
- DeprecatedActorIdBodyDto: {
4292
- /**
4293
- * @deprecated
4294
- * @description DEPRECATED — pass the actor via the `?actor_id=` query parameter instead. Accepted from the body for one more version.
4295
- * @example aaaaaaaa-0000-0000-0000-000000000001
4296
- */
4297
- actor_id?: string;
4298
- };
4203
+ DeprecatedActorIdBodyDto: Record<string, never>;
4299
4204
  DirectMessageAdminListResponseDto: {
4300
4205
  data: components["schemas"]["DirectMessageAdminResponseDto"][];
4301
4206
  pagination: components["schemas"]["PaginationResponseDto"];
@@ -4892,14 +4797,7 @@ interface components {
4892
4797
  */
4893
4798
  views: number;
4894
4799
  };
4895
- LeaveConversationDto: {
4896
- /**
4897
- * @deprecated
4898
- * @description DEPRECATED — use `?actor_id=`. The participant leaving.
4899
- * @example aaaaaaaa-0000-0000-0000-000000000001
4900
- */
4901
- actor_id?: string;
4902
- };
4800
+ LeaveConversationDto: Record<string, never>;
4903
4801
  MarkAllReadDto: {
4904
4802
  /**
4905
4803
  * @description Optional ISO timestamp; only flips rows older than this. Omit to flip all unread.
@@ -5825,13 +5723,7 @@ interface components {
5825
5723
  * @description Viewer social actor UUID. Standardized name (task 008 / G11).
5826
5724
  * @example aaaaaaaa-0000-0000-0000-000000000002
5827
5725
  */
5828
- actor_id?: string;
5829
- /**
5830
- * @deprecated
5831
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
5832
- * @example aaaaaaaa-0000-0000-0000-000000000002
5833
- */
5834
- viewer_actor_id?: string;
5726
+ actor_id: string;
5835
5727
  };
5836
5728
  RecordViewsDto: {
5837
5729
  /**
@@ -5900,41 +5792,8 @@ interface components {
5900
5792
  /** @description One entry per requested id (de-duplicated, request order). Unknown ids resolve to all-false flags. */
5901
5793
  data: components["schemas"]["RelationshipEntryDto"][];
5902
5794
  };
5903
- RemoveListMemberDto: {
5904
- /**
5905
- * @deprecated
5906
- * @description DEPRECATED — use `?actor_id=`. Caller social actor UUID (must equal the list owner).
5907
- * @example aaaaaaaa-0000-0000-0000-000000000001
5908
- */
5909
- actor_id?: string;
5910
- /**
5911
- * @deprecated
5912
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
5913
- */
5914
- caller_actor_id?: string;
5915
- };
5916
- RemoveMemberDto: {
5917
- /**
5918
- * @deprecated
5919
- * @description DEPRECATED — use `?actor_id=`. Acting actor UUID (equal to the target for self-leave).
5920
- * @example aaaaaaaa-0000-0000-0000-000000000001
5921
- */
5922
- actor_id?: string;
5923
- /**
5924
- * @deprecated
5925
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
5926
- */
5927
- caller_actor_id?: string;
5928
- };
5929
- RenameGroupDto: {
5930
- /**
5931
- * @description Social actor UUID of the renaming admin.
5932
- * @example aaaaaaaa-0000-0000-0000-000000000001
5933
- */
5934
- caller_actor_id: string;
5935
- /** @description New display name. Pass null or empty to clear. */
5936
- name: string | null;
5937
- };
5795
+ RemoveListMemberDto: Record<string, never>;
5796
+ RemoveMemberDto: Record<string, never>;
5938
5797
  ReorderItemDto: {
5939
5798
  /** @example aaaaaaaa-0000-0000-0000-000000000001 */
5940
5799
  caller_actor_id: string;
@@ -5951,10 +5810,10 @@ interface components {
5951
5810
  };
5952
5811
  SendMessageDto: {
5953
5812
  /**
5954
- * @description The sender — social actor UUID. Standardized name (task 008 / G11); the persisted `sender_id` defaults from it.
5813
+ * @description The sender — social actor UUID. Standardized name (task 008 / G11); the persisted `sender_id` is set from it.
5955
5814
  * @example aaaaaaaa-0000-0000-0000-000000000001
5956
5815
  */
5957
- actor_id?: string;
5816
+ actor_id: string;
5958
5817
  /** @description Ordered image attachments (task 019). Each references a `ready` asset in this community owned by the sender. Max 20. */
5959
5818
  assets?: components["schemas"]["AssetAttachmentInputDto"][];
5960
5819
  attachments?: components["schemas"]["DirectMessageAttachmentDto"][];
@@ -5970,12 +5829,6 @@ interface components {
5970
5829
  kind?: "text" | "image" | "video" | "audio" | "system";
5971
5830
  /** @description Threaded inline reply target. */
5972
5831
  reply_to_id?: string | null;
5973
- /**
5974
- * @deprecated
5975
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
5976
- * @example aaaaaaaa-0000-0000-0000-000000000001
5977
- */
5978
- sender_id?: string;
5979
5832
  };
5980
5833
  StoryTrayEntryResponse: {
5981
5834
  /**
@@ -6153,28 +6006,10 @@ interface components {
6153
6006
  */
6154
6007
  actor_id: string;
6155
6008
  /**
6156
- * @deprecated
6157
- * @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Mute / unmute indefinitely on the caller's participant row.
6158
- * @example true
6159
- */
6160
- muted?: boolean;
6161
- /**
6162
- * @deprecated
6163
- * @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Timed mute until this ISO timestamp; pass `null` to clear.
6164
- * @example 2026-05-02T12:00:00Z
6165
- */
6166
- muted_until?: string | null;
6167
- /**
6168
- * @description Rename a group conversation (task 025) — group-only, admin-only. The canonical rename home, absorbing the deprecated PATCH /:id/name route.
6009
+ * @description Rename a group conversation (task 025) — group-only, admin-only. The canonical rename home.
6169
6010
  * @example Weekend plans
6170
6011
  */
6171
6012
  name?: string | null;
6172
- /**
6173
- * @deprecated
6174
- * @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Pin / unpin the thread in the caller's inbox.
6175
- * @example true
6176
- */
6177
- pinned?: boolean;
6178
6013
  };
6179
6014
  UpdateMemberDto: {
6180
6015
  /**
@@ -6209,18 +6044,12 @@ interface components {
6209
6044
  * @description The sender — must match the message's sender_id. Standardized name (task 008 / G11).
6210
6045
  * @example aaaaaaaa-0000-0000-0000-000000000001
6211
6046
  */
6212
- actor_id?: string;
6047
+ actor_id: string;
6213
6048
  /**
6214
6049
  * @description Updated body.
6215
6050
  * @example edited
6216
6051
  */
6217
6052
  body: string;
6218
- /**
6219
- * @deprecated
6220
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
6221
- * @example aaaaaaaa-0000-0000-0000-000000000001
6222
- */
6223
- sender_id?: string;
6224
6053
  };
6225
6054
  UpdateNotificationDto: {
6226
6055
  /**
@@ -7557,18 +7386,14 @@ interface operations {
7557
7386
  };
7558
7387
  StoryController_getHighlights: {
7559
7388
  parameters: {
7560
- query?: {
7389
+ query: {
7561
7390
  /** @description Items per page. */
7562
7391
  limit?: number;
7563
7392
  /** @description Cursor from the prior page. */
7564
7393
  cursor?: string;
7565
7394
  /** @description Requester social actor UUID. Without it, only public pinned posts surface. */
7566
7395
  actor_id?: string;
7567
- /**
7568
- * @deprecated
7569
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
7570
- */
7571
- requester_id?: string;
7396
+ requester_id: string;
7572
7397
  };
7573
7398
  header?: never;
7574
7399
  path: {
@@ -10408,71 +10233,6 @@ interface operations {
10408
10233
  };
10409
10234
  };
10410
10235
  };
10411
- ConversationController_renameGroup: {
10412
- parameters: {
10413
- query?: never;
10414
- header?: never;
10415
- path: {
10416
- /** @description Social community UUID. Must belong to the PAK's workspace. */
10417
- communityId: string;
10418
- /** @description Conversation UUID. */
10419
- conversationId: string;
10420
- };
10421
- cookie?: never;
10422
- };
10423
- requestBody: {
10424
- content: {
10425
- "application/json": components["schemas"]["RenameGroupDto"];
10426
- };
10427
- };
10428
- responses: {
10429
- /** @description Group renamed. */
10430
- 200: {
10431
- headers: {
10432
- [name: string]: unknown;
10433
- };
10434
- content: {
10435
- "application/json": components["schemas"]["ConversationResponseDto"];
10436
- };
10437
- };
10438
- /** @description Validation failure (name too long). */
10439
- 400: {
10440
- headers: {
10441
- [name: string]: unknown;
10442
- };
10443
- content: {
10444
- "application/json": components["schemas"]["ErrorResponseDto"];
10445
- };
10446
- };
10447
- /** @description Caller is not an admin. */
10448
- 403: {
10449
- headers: {
10450
- [name: string]: unknown;
10451
- };
10452
- content: {
10453
- "application/json": components["schemas"]["ErrorResponseDto"];
10454
- };
10455
- };
10456
- /** @description Conversation not found. */
10457
- 404: {
10458
- headers: {
10459
- [name: string]: unknown;
10460
- };
10461
- content: {
10462
- "application/json": components["schemas"]["ErrorResponseDto"];
10463
- };
10464
- };
10465
- /** @description Conversation is not a group. */
10466
- 409: {
10467
- headers: {
10468
- [name: string]: unknown;
10469
- };
10470
- content: {
10471
- "application/json": components["schemas"]["ErrorResponseDto"];
10472
- };
10473
- };
10474
- };
10475
- };
10476
10236
  ConversationController_markRead: {
10477
10237
  parameters: {
10478
10238
  query?: never;
@@ -10582,14 +10342,10 @@ interface operations {
10582
10342
  };
10583
10343
  FeedController_getDiscoverFeed: {
10584
10344
  parameters: {
10585
- query?: {
10345
+ query: {
10586
10346
  /** @description Viewer actor UUID. */
10587
10347
  actor_id?: string;
10588
- /**
10589
- * @deprecated
10590
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
10591
- */
10592
- viewer_actor_id?: string;
10348
+ viewer_actor_id: string;
10593
10349
  limit?: number;
10594
10350
  /** @description Opaque ranked cursor; encodes (score, id). */
10595
10351
  cursor?: string;
@@ -11282,14 +11038,10 @@ interface operations {
11282
11038
  };
11283
11039
  ActorListController_list: {
11284
11040
  parameters: {
11285
- query?: {
11041
+ query: {
11286
11042
  /** @description Viewer actor UUID — surfaces the viewer's own private lists alongside the public catalog. */
11287
11043
  actor_id?: string;
11288
- /**
11289
- * @deprecated
11290
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
11291
- */
11292
- viewer_actor_id?: string;
11044
+ viewer_actor_id: string;
11293
11045
  /** @description Filter to lists owned by this actor. */
11294
11046
  owner_actor_id?: string;
11295
11047
  limit?: number;
@@ -11392,14 +11144,10 @@ interface operations {
11392
11144
  };
11393
11145
  ActorListController_getById: {
11394
11146
  parameters: {
11395
- query?: {
11147
+ query: {
11396
11148
  /** @description Viewer actor UUID — required to see a private list (must equal owner). */
11397
11149
  actor_id?: string;
11398
- /**
11399
- * @deprecated
11400
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
11401
- */
11402
- viewer_actor_id?: string;
11150
+ viewer_actor_id: string;
11403
11151
  };
11404
11152
  header?: never;
11405
11153
  path: {
@@ -11559,11 +11307,7 @@ interface operations {
11559
11307
  query: {
11560
11308
  /** @description Viewer — required for visibility checks + block-filter. */
11561
11309
  actor_id: string;
11562
- /**
11563
- * @deprecated
11564
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
11565
- */
11566
- viewer_actor_id?: string;
11310
+ viewer_actor_id: string;
11567
11311
  limit?: number;
11568
11312
  /** @description Opaque cursor; differs in shape between ranked and chronological. */
11569
11313
  cursor?: string;
@@ -11620,14 +11364,10 @@ interface operations {
11620
11364
  };
11621
11365
  ActorListController_listMembers: {
11622
11366
  parameters: {
11623
- query?: {
11367
+ query: {
11624
11368
  /** @description Viewer actor UUID. */
11625
11369
  actor_id?: string;
11626
- /**
11627
- * @deprecated
11628
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
11629
- */
11630
- viewer_actor_id?: string;
11370
+ viewer_actor_id: string;
11631
11371
  limit?: number;
11632
11372
  cursor?: string;
11633
11373
  };
@@ -12063,58 +11803,12 @@ interface operations {
12063
11803
  };
12064
11804
  };
12065
11805
  };
12066
- PostController_recordViewsDeprecated: {
12067
- parameters: {
12068
- query?: never;
12069
- header?: never;
12070
- path: {
12071
- communityId: string;
12072
- };
12073
- cookie?: never;
12074
- };
12075
- requestBody: {
12076
- content: {
12077
- "application/json": components["schemas"]["RecordViewsDto"];
12078
- };
12079
- };
12080
- responses: {
12081
- /** @description Impressions recorded (or no-op if every id was missing). */
12082
- 204: {
12083
- headers: {
12084
- [name: string]: unknown;
12085
- };
12086
- content?: never;
12087
- };
12088
- /** @description Empty `post_ids`, more than 200 ids, or a non-UUID in the list. */
12089
- 400: {
12090
- headers: {
12091
- [name: string]: unknown;
12092
- };
12093
- content: {
12094
- "application/json": components["schemas"]["ErrorResponseDto"];
12095
- };
12096
- };
12097
- /** @description PAK lacks `social.view` on the community URN. */
12098
- 403: {
12099
- headers: {
12100
- [name: string]: unknown;
12101
- };
12102
- content: {
12103
- "application/json": components["schemas"]["ErrorResponseDto"];
12104
- };
12105
- };
12106
- };
12107
- };
12108
11806
  PostController_getById: {
12109
11807
  parameters: {
12110
- query?: {
11808
+ query: {
12111
11809
  /** @description Social actor UUID of the viewer. Surfaces non-public posts they are entitled to see. */
12112
11810
  actor_id?: string;
12113
- /**
12114
- * @deprecated
12115
- * @description DEPRECATED alias of `actor_id` (task 008 / G11). Removed in a future version.
12116
- */
12117
- requester_id?: string;
11811
+ requester_id: string;
12118
11812
  };
12119
11813
  header?: never;
12120
11814
  path: {
@@ -12330,7 +12024,7 @@ interface operations {
12330
12024
  };
12331
12025
  cookie?: never;
12332
12026
  };
12333
- requestBody?: {
12027
+ requestBody: {
12334
12028
  content: {
12335
12029
  "application/json": components["schemas"]["DeprecatedActorIdBodyDto"];
12336
12030
  };
@@ -12374,18 +12068,14 @@ interface operations {
12374
12068
  };
12375
12069
  CommentController_list: {
12376
12070
  parameters: {
12377
- query?: {
12071
+ query: {
12378
12072
  limit?: number;
12379
12073
  cursor?: string;
12380
12074
  /** @description List replies of this parent comment instead of top-level. */
12381
12075
  parent_id?: string;
12382
12076
  /** @description Viewer actor UUID — surfaces author_only replies they're entitled to see. */
12383
12077
  actor_id?: string;
12384
- /**
12385
- * @deprecated
12386
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
12387
- */
12388
- requester_id?: string;
12078
+ requester_id: string;
12389
12079
  };
12390
12080
  header?: never;
12391
12081
  path: {
@@ -12497,14 +12187,10 @@ interface operations {
12497
12187
  };
12498
12188
  CommentController_getById: {
12499
12189
  parameters: {
12500
- query?: {
12190
+ query: {
12501
12191
  /** @description Viewer actor UUID. */
12502
12192
  actor_id?: string;
12503
- /**
12504
- * @deprecated
12505
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
12506
- */
12507
- requester_id?: string;
12193
+ requester_id: string;
12508
12194
  };
12509
12195
  header?: never;
12510
12196
  path: {
@@ -12900,7 +12586,7 @@ interface operations {
12900
12586
  "application/json": components["schemas"]["AddCommentReactionResponseDto"];
12901
12587
  };
12902
12588
  };
12903
- /** @description Validation failure (missing src_actor_id; empty / overlong type). */
12589
+ /** @description Validation failure (missing actor_id; empty / overlong type). */
12904
12590
  400: {
12905
12591
  headers: {
12906
12592
  [name: string]: unknown;
@@ -13407,7 +13093,7 @@ interface operations {
13407
13093
  };
13408
13094
  cookie?: never;
13409
13095
  };
13410
- requestBody?: {
13096
+ requestBody: {
13411
13097
  content: {
13412
13098
  "application/json": components["schemas"]["DeprecatedActorIdBodyDto"];
13413
13099
  };
@@ -13642,11 +13328,7 @@ interface operations {
13642
13328
  query: {
13643
13329
  /** @description Requester social actor UUID — must resolve to the post author. */
13644
13330
  actor_id: string;
13645
- /**
13646
- * @deprecated
13647
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
13648
- */
13649
- requester_id?: string;
13331
+ requester_id: string;
13650
13332
  limit?: number;
13651
13333
  /** @description Cursor from the prior page. */
13652
13334
  cursor?: string;
@@ -14107,11 +13789,7 @@ interface operations {
14107
13789
  limit?: number;
14108
13790
  /** @description Viewer social actor UUID — filters out blocked / muted actors. */
14109
13791
  actor_id?: string;
14110
- /**
14111
- * @deprecated
14112
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
14113
- */
14114
- requester_id?: string;
13792
+ requester_id: string;
14115
13793
  /** @description Opaque pagination cursor from a prior response. Valid only for the same `q` (task 022). */
14116
13794
  cursor?: string;
14117
13795
  };
@@ -14224,11 +13902,7 @@ interface operations {
14224
13902
  order?: "relevance" | "recent";
14225
13903
  /** @description Viewer social actor UUID. */
14226
13904
  actor_id?: string;
14227
- /**
14228
- * @deprecated
14229
- * @description DEPRECATED alias of `actor_id` (task 008 / G11).
14230
- */
14231
- requester_id?: string;
13905
+ requester_id: string;
14232
13906
  /** @description Opaque pagination cursor from a prior response. Valid only for the same `(q, order)` pair (task 022). */
14233
13907
  cursor?: string;
14234
13908
  };