@productcraft/social 0.5.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.cts +239 -397
- package/dist/index.d.ts +239 -397
- package/package.json +1 -1
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 `
|
|
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;
|
|
@@ -737,7 +737,7 @@ interface paths {
|
|
|
737
737
|
};
|
|
738
738
|
get?: never;
|
|
739
739
|
put?: never;
|
|
740
|
-
/** Upload
|
|
740
|
+
/** Upload media. Images (multipart): processed synchronously, returns ready. Videos (JSON, kind:'video' + declared content_type/byte_size): returns an `uploading` asset with a presigned PUT — upload the bytes, then POST /assets/:id/complete. */
|
|
741
741
|
post: operations["AssetController_upload"];
|
|
742
742
|
delete?: never;
|
|
743
743
|
options?: never;
|
|
@@ -763,6 +763,23 @@ interface paths {
|
|
|
763
763
|
patch?: never;
|
|
764
764
|
trace?: never;
|
|
765
765
|
};
|
|
766
|
+
"/v1/communities/{communityId}/assets/{assetId}/complete": {
|
|
767
|
+
parameters: {
|
|
768
|
+
query?: never;
|
|
769
|
+
header?: never;
|
|
770
|
+
path?: never;
|
|
771
|
+
cookie?: never;
|
|
772
|
+
};
|
|
773
|
+
get?: never;
|
|
774
|
+
put?: never;
|
|
775
|
+
/** Finalize a presigned-PUT video upload. Verifies the stored object (existence, size, container magic bytes) and enqueues the transcode. Replaying on a finalized asset returns its current status without re-enqueueing. */
|
|
776
|
+
post: operations["AssetController_complete"];
|
|
777
|
+
delete?: never;
|
|
778
|
+
options?: never;
|
|
779
|
+
head?: never;
|
|
780
|
+
patch?: never;
|
|
781
|
+
trace?: never;
|
|
782
|
+
};
|
|
766
783
|
"/v1/communities/{communityId}/blocks": {
|
|
767
784
|
parameters: {
|
|
768
785
|
query?: never;
|
|
@@ -956,11 +973,11 @@ interface paths {
|
|
|
956
973
|
get: operations["ConversationController_getById"];
|
|
957
974
|
put?: never;
|
|
958
975
|
post?: never;
|
|
959
|
-
/** 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
|
|
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=`. */
|
|
960
977
|
delete: operations["ConversationController_leave"];
|
|
961
978
|
options?: never;
|
|
962
979
|
head?: never;
|
|
963
|
-
/** Conversation-level update (task 025). Pass `name` to rename a group (admin-only) — the canonical rename home.
|
|
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. */
|
|
964
981
|
patch: operations["ConversationController_update"];
|
|
965
982
|
trace?: never;
|
|
966
983
|
};
|
|
@@ -991,11 +1008,11 @@ interface paths {
|
|
|
991
1008
|
get?: never;
|
|
992
1009
|
put?: never;
|
|
993
1010
|
post?: never;
|
|
994
|
-
/** Remove a participant. Admin-only unless
|
|
1011
|
+
/** Remove a participant. Admin-only unless the acting `?actor_id=` equals the target (self-leave). */
|
|
995
1012
|
delete: operations["ConversationController_removeMember"];
|
|
996
1013
|
options?: never;
|
|
997
1014
|
head?: never;
|
|
998
|
-
/** 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
|
|
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. */
|
|
999
1016
|
patch: operations["ConversationController_updateMember"];
|
|
1000
1017
|
trace?: never;
|
|
1001
1018
|
};
|
|
@@ -1028,7 +1045,7 @@ interface paths {
|
|
|
1028
1045
|
get: operations["ConversationController_getMessage"];
|
|
1029
1046
|
put?: never;
|
|
1030
1047
|
post?: never;
|
|
1031
|
-
/** 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
|
|
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=`. */
|
|
1032
1049
|
delete: operations["ConversationController_deleteMessage"];
|
|
1033
1050
|
options?: never;
|
|
1034
1051
|
head?: never;
|
|
@@ -1071,26 +1088,6 @@ interface paths {
|
|
|
1071
1088
|
patch?: never;
|
|
1072
1089
|
trace?: never;
|
|
1073
1090
|
};
|
|
1074
|
-
"/v1/communities/{communityId}/conversations/{conversationId}/name": {
|
|
1075
|
-
parameters: {
|
|
1076
|
-
query?: never;
|
|
1077
|
-
header?: never;
|
|
1078
|
-
path?: never;
|
|
1079
|
-
cookie?: never;
|
|
1080
|
-
};
|
|
1081
|
-
get?: never;
|
|
1082
|
-
put?: never;
|
|
1083
|
-
post?: never;
|
|
1084
|
-
delete?: never;
|
|
1085
|
-
options?: never;
|
|
1086
|
-
head?: never;
|
|
1087
|
-
/**
|
|
1088
|
-
* DEPRECATED (task 025) — rename via PATCH /conversations/:id with `name`. Rename a group conversation. Admin-only.
|
|
1089
|
-
* @deprecated
|
|
1090
|
-
*/
|
|
1091
|
-
patch: operations["ConversationController_renameGroup"];
|
|
1092
|
-
trace?: never;
|
|
1093
|
-
};
|
|
1094
1091
|
"/v1/communities/{communityId}/conversations/{conversationId}/read": {
|
|
1095
1092
|
parameters: {
|
|
1096
1093
|
query?: never;
|
|
@@ -1132,7 +1129,7 @@ interface paths {
|
|
|
1132
1129
|
path?: never;
|
|
1133
1130
|
cookie?: never;
|
|
1134
1131
|
};
|
|
1135
|
-
/** Discover / explore feed (task 019). Ranked surface over every public post in the community — Instagram Explore / X "For You without follow constraint". Optional `
|
|
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. */
|
|
1136
1133
|
get: operations["FeedController_getDiscoverFeed"];
|
|
1137
1134
|
put?: never;
|
|
1138
1135
|
post?: never;
|
|
@@ -1371,7 +1368,7 @@ interface paths {
|
|
|
1371
1368
|
path?: never;
|
|
1372
1369
|
cookie?: never;
|
|
1373
1370
|
};
|
|
1374
|
-
/** List discoverable lists in this community. Public lists are visible to anyone; private lists surface only when `
|
|
1371
|
+
/** List discoverable lists in this community. Public lists are visible to anyone; private lists surface only when `actor_id` is their owner. */
|
|
1375
1372
|
get: operations["ActorListController_list"];
|
|
1376
1373
|
put?: never;
|
|
1377
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. */
|
|
@@ -1393,7 +1390,7 @@ interface paths {
|
|
|
1393
1390
|
get: operations["ActorListController_getById"];
|
|
1394
1391
|
put?: never;
|
|
1395
1392
|
post?: never;
|
|
1396
|
-
/** Delete a list. Owner-only. Pass the caller via `?actor_id
|
|
1393
|
+
/** Delete a list. Owner-only. Pass the caller via `?actor_id=`. */
|
|
1397
1394
|
delete: operations["ActorListController_delete"];
|
|
1398
1395
|
options?: never;
|
|
1399
1396
|
head?: never;
|
|
@@ -1425,7 +1422,7 @@ interface paths {
|
|
|
1425
1422
|
path?: never;
|
|
1426
1423
|
cookie?: never;
|
|
1427
1424
|
};
|
|
1428
|
-
/** List members of a list. Public lists are visible to anyone; private lists surface only when
|
|
1425
|
+
/** List members of a list. Public lists are visible to anyone; private lists surface only when `actor_id` is the owner. */
|
|
1429
1426
|
get: operations["ActorListController_listMembers"];
|
|
1430
1427
|
put?: never;
|
|
1431
1428
|
/** Add a member to a list. Owner-only. */
|
|
@@ -1446,7 +1443,7 @@ interface paths {
|
|
|
1446
1443
|
get?: never;
|
|
1447
1444
|
put?: never;
|
|
1448
1445
|
post?: never;
|
|
1449
|
-
/** Remove a member from a list. Owner-only. Idempotent — 204 either way. Pass the caller via `?actor_id
|
|
1446
|
+
/** Remove a member from a list. Owner-only. Idempotent — 204 either way. Pass the caller via `?actor_id=`. */
|
|
1450
1447
|
delete: operations["ActorListController_removeMember"];
|
|
1451
1448
|
options?: never;
|
|
1452
1449
|
head?: never;
|
|
@@ -1522,26 +1519,6 @@ interface paths {
|
|
|
1522
1519
|
patch?: never;
|
|
1523
1520
|
trace?: never;
|
|
1524
1521
|
};
|
|
1525
|
-
"/v1/communities/{communityId}/posts/views": {
|
|
1526
|
-
parameters: {
|
|
1527
|
-
query?: never;
|
|
1528
|
-
header?: never;
|
|
1529
|
-
path?: never;
|
|
1530
|
-
cookie?: never;
|
|
1531
|
-
};
|
|
1532
|
-
get?: never;
|
|
1533
|
-
put?: never;
|
|
1534
|
-
/**
|
|
1535
|
-
* DEPRECATED — use `POST /posts/impressions`. Batch-increment impression counters. This alias will be removed in a future version.
|
|
1536
|
-
* @deprecated
|
|
1537
|
-
*/
|
|
1538
|
-
post: operations["PostController_recordViewsDeprecated"];
|
|
1539
|
-
delete?: never;
|
|
1540
|
-
options?: never;
|
|
1541
|
-
head?: never;
|
|
1542
|
-
patch?: never;
|
|
1543
|
-
trace?: never;
|
|
1544
|
-
};
|
|
1545
1522
|
"/v1/communities/{communityId}/posts/{postId}": {
|
|
1546
1523
|
parameters: {
|
|
1547
1524
|
query?: never;
|
|
@@ -1550,8 +1527,8 @@ interface paths {
|
|
|
1550
1527
|
cookie?: never;
|
|
1551
1528
|
};
|
|
1552
1529
|
/**
|
|
1553
|
-
* Get a post by id. Visibility-aware: pass `
|
|
1554
|
-
* @description Without `
|
|
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.
|
|
1555
1532
|
*/
|
|
1556
1533
|
get: operations["PostController_getById"];
|
|
1557
1534
|
put?: never;
|
|
@@ -1578,7 +1555,7 @@ interface paths {
|
|
|
1578
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.
|
|
1579
1556
|
*/
|
|
1580
1557
|
post: operations["BookmarkController_create"];
|
|
1581
|
-
/** Remove a bookmark on behalf of an actor. Idempotent — 204 either way. Pass the actor via `?actor_id
|
|
1558
|
+
/** Remove a bookmark on behalf of an actor. Idempotent — 204 either way. Pass the actor via `?actor_id=`. */
|
|
1582
1559
|
delete: operations["BookmarkController_delete"];
|
|
1583
1560
|
options?: never;
|
|
1584
1561
|
head?: never;
|
|
@@ -1592,7 +1569,7 @@ interface paths {
|
|
|
1592
1569
|
path?: never;
|
|
1593
1570
|
cookie?: never;
|
|
1594
1571
|
};
|
|
1595
|
-
/** List comments on a post. Default returns top-level comments newest-first; pass `parent_id` to expand a thread (oldest-first). Pass `
|
|
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. */
|
|
1596
1573
|
get: operations["CommentController_list"];
|
|
1597
1574
|
put?: never;
|
|
1598
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. */
|
|
@@ -1804,7 +1781,7 @@ interface paths {
|
|
|
1804
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).
|
|
1805
1782
|
*/
|
|
1806
1783
|
post: operations["RepostController_create"];
|
|
1807
|
-
/** Undo my repost of a source post. Idempotent — 204 either way. Pass the actor via `?actor_id
|
|
1784
|
+
/** Undo my repost of a source post. Idempotent — 204 either way. Pass the actor via `?actor_id=`. */
|
|
1808
1785
|
delete: operations["RepostController_delete"];
|
|
1809
1786
|
options?: never;
|
|
1810
1787
|
head?: never;
|
|
@@ -1897,7 +1874,7 @@ interface paths {
|
|
|
1897
1874
|
};
|
|
1898
1875
|
/**
|
|
1899
1876
|
* List viewers of a post (author-only).
|
|
1900
|
-
* @description Only the post author can list viewers. The PAK passes `
|
|
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.
|
|
1901
1878
|
*/
|
|
1902
1879
|
get: operations["StoryController_listViewers"];
|
|
1903
1880
|
put?: never;
|
|
@@ -2035,7 +2012,7 @@ interface paths {
|
|
|
2035
2012
|
};
|
|
2036
2013
|
/**
|
|
2037
2014
|
* Search actors by display name, external_id (username), and bio.
|
|
2038
|
-
* @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 `
|
|
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.
|
|
2039
2016
|
*/
|
|
2040
2017
|
get: operations["SearchController_searchActors"];
|
|
2041
2018
|
put?: never;
|
|
@@ -2075,7 +2052,7 @@ interface paths {
|
|
|
2075
2052
|
};
|
|
2076
2053
|
/**
|
|
2077
2054
|
* Search post content (title + body) by full-text.
|
|
2078
|
-
* @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 `
|
|
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.
|
|
2079
2056
|
*/
|
|
2080
2057
|
get: operations["SearchController_searchPosts"];
|
|
2081
2058
|
put?: never;
|
|
@@ -2535,7 +2512,7 @@ interface components {
|
|
|
2535
2512
|
* @description Acting social actor UUID (the one performing the follow / mute / block / restrict). Standardized name (task 008 / G11).
|
|
2536
2513
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
2537
2514
|
*/
|
|
2538
|
-
actor_id
|
|
2515
|
+
actor_id: string;
|
|
2539
2516
|
/**
|
|
2540
2517
|
* @description Destination social actor UUID (the one being followed / muted / blocked / restricted).
|
|
2541
2518
|
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
@@ -2543,12 +2520,6 @@ interface components {
|
|
|
2543
2520
|
dst_actor_id: string;
|
|
2544
2521
|
/** @description Optional free-form payload stored on the edge (e.g. mute reason). */
|
|
2545
2522
|
payload?: Record<string, never>;
|
|
2546
|
-
/**
|
|
2547
|
-
* @deprecated
|
|
2548
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11). Accepted for one more version.
|
|
2549
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
2550
|
-
*/
|
|
2551
|
-
src_actor_id?: string;
|
|
2552
2523
|
};
|
|
2553
2524
|
ActorFollowerPointDto: {
|
|
2554
2525
|
/** @example 2026-05-01 */
|
|
@@ -2862,21 +2833,27 @@ interface components {
|
|
|
2862
2833
|
byte_size: number;
|
|
2863
2834
|
/** @example image/jpeg */
|
|
2864
2835
|
content_type: string;
|
|
2865
|
-
/** @example 960 */
|
|
2866
|
-
height: number;
|
|
2867
2836
|
/**
|
|
2868
|
-
* @description
|
|
2837
|
+
* @description Null on the un-probed video original.
|
|
2838
|
+
* @example 960
|
|
2839
|
+
*/
|
|
2840
|
+
height: number | null;
|
|
2841
|
+
/**
|
|
2842
|
+
* @description Ladder rung — original/medium/thumb for images, original/video/poster for videos.
|
|
2869
2843
|
* @example medium
|
|
2870
2844
|
* @enum {string}
|
|
2871
2845
|
*/
|
|
2872
|
-
name: "original" | "medium" | "thumb";
|
|
2846
|
+
name: "original" | "medium" | "thumb" | "video" | "poster";
|
|
2873
2847
|
/**
|
|
2874
2848
|
* @description Short-lived presigned GET URL (re-minted each read).
|
|
2875
2849
|
* @example https://…r2.cloudflarestorage.com/…?X-Amz-Signature=…
|
|
2876
2850
|
*/
|
|
2877
2851
|
url: string;
|
|
2878
|
-
/**
|
|
2879
|
-
|
|
2852
|
+
/**
|
|
2853
|
+
* @description Null on the un-probed video original.
|
|
2854
|
+
* @example 1280
|
|
2855
|
+
*/
|
|
2856
|
+
width: number | null;
|
|
2880
2857
|
};
|
|
2881
2858
|
AssetResponseDto: {
|
|
2882
2859
|
/**
|
|
@@ -2890,23 +2867,64 @@ interface components {
|
|
|
2890
2867
|
content_type: string;
|
|
2891
2868
|
/** @example 2026-05-01T12:00:00.000Z */
|
|
2892
2869
|
created_at: string;
|
|
2870
|
+
/**
|
|
2871
|
+
* @description Output duration in seconds — ready videos only.
|
|
2872
|
+
* @example 12.48
|
|
2873
|
+
*/
|
|
2874
|
+
duration_s: number | null;
|
|
2875
|
+
/**
|
|
2876
|
+
* @description Stable code when status='failed' — ASSET_TOO_LARGE, ASSET_INVALID_CONTAINER, ASSET_DURATION_EXCEEDED, ASSET_TRANSCODE_FAILED, ASSET_PROCESSING_FAILED.
|
|
2877
|
+
* @example null
|
|
2878
|
+
*/
|
|
2879
|
+
failure_reason: string | null;
|
|
2893
2880
|
/** @example 4032 */
|
|
2894
2881
|
height: number | null;
|
|
2895
2882
|
/** @example eeeeeeee-0000-0000-0000-000000000001 */
|
|
2896
2883
|
id: string;
|
|
2884
|
+
/**
|
|
2885
|
+
* @example image
|
|
2886
|
+
* @enum {string}
|
|
2887
|
+
*/
|
|
2888
|
+
kind: "image" | "video";
|
|
2897
2889
|
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
2898
2890
|
owner_actor_id: string;
|
|
2899
2891
|
renditions: components["schemas"]["AssetRenditionDto"][];
|
|
2900
2892
|
/**
|
|
2893
|
+
* @description Videos: uploading → processing → ready | failed. Images never enter 'uploading'.
|
|
2901
2894
|
* @example ready
|
|
2902
2895
|
* @enum {string}
|
|
2903
2896
|
*/
|
|
2904
|
-
status: "processing" | "ready" | "failed";
|
|
2897
|
+
status: "uploading" | "processing" | "ready" | "failed";
|
|
2905
2898
|
/** @example 2026-05-01T12:00:00.000Z */
|
|
2906
2899
|
updated_at: string;
|
|
2907
2900
|
/** @example 3024 */
|
|
2908
2901
|
width: number | null;
|
|
2909
2902
|
};
|
|
2903
|
+
AssetUploadDto: {
|
|
2904
|
+
/**
|
|
2905
|
+
* @description Signature expiry — finish the PUT before this.
|
|
2906
|
+
* @example 2026-05-01T12:15:00.000Z
|
|
2907
|
+
*/
|
|
2908
|
+
expires_at: string;
|
|
2909
|
+
/**
|
|
2910
|
+
* @description Headers the PUT must carry — they are bound into the signature. Keys arrive lowercase (HTTP header names are case-insensitive).
|
|
2911
|
+
* @example {
|
|
2912
|
+
* "content-length": "10485760",
|
|
2913
|
+
* "content-type": "video/mp4"
|
|
2914
|
+
* }
|
|
2915
|
+
*/
|
|
2916
|
+
headers: Record<string, never>;
|
|
2917
|
+
/**
|
|
2918
|
+
* @example PUT
|
|
2919
|
+
* @enum {string}
|
|
2920
|
+
*/
|
|
2921
|
+
method: "PUT";
|
|
2922
|
+
/**
|
|
2923
|
+
* @description Presigned PUT URL — upload the raw bytes here.
|
|
2924
|
+
* @example https://…r2.cloudflarestorage.com/…?X-Amz-Signature=…
|
|
2925
|
+
*/
|
|
2926
|
+
url: string;
|
|
2927
|
+
};
|
|
2910
2928
|
AuditListResponseDto: {
|
|
2911
2929
|
data: components["schemas"]["ModerationActionResponseDto"][];
|
|
2912
2930
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -3744,13 +3762,7 @@ interface components {
|
|
|
3744
3762
|
* @description Reactor actor UUID. Standardized name (task 008 / G11).
|
|
3745
3763
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3746
3764
|
*/
|
|
3747
|
-
actor_id
|
|
3748
|
-
/**
|
|
3749
|
-
* @deprecated
|
|
3750
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
3751
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3752
|
-
*/
|
|
3753
|
-
src_actor_id?: string;
|
|
3765
|
+
actor_id: string;
|
|
3754
3766
|
/**
|
|
3755
3767
|
* @description Reaction type (free-form short label, e.g. `like`, `fire`, `heart`).
|
|
3756
3768
|
* @example like
|
|
@@ -3814,13 +3826,7 @@ interface components {
|
|
|
3814
3826
|
* @description The reactor — social actor UUID. Standardized name (task 008 / G11).
|
|
3815
3827
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3816
3828
|
*/
|
|
3817
|
-
actor_id
|
|
3818
|
-
/**
|
|
3819
|
-
* @deprecated
|
|
3820
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
3821
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3822
|
-
*/
|
|
3823
|
-
src_actor_id?: string;
|
|
3829
|
+
actor_id: string;
|
|
3824
3830
|
/**
|
|
3825
3831
|
* @description Reaction type (emoji or label, 1..64 chars).
|
|
3826
3832
|
* @example heart
|
|
@@ -3971,13 +3977,7 @@ interface components {
|
|
|
3971
3977
|
* @description Reactor — social actor UUID. Standardized name (task 008 / G11).
|
|
3972
3978
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3973
3979
|
*/
|
|
3974
|
-
actor_id
|
|
3975
|
-
/**
|
|
3976
|
-
* @deprecated
|
|
3977
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
3978
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
3979
|
-
*/
|
|
3980
|
-
src_actor_id?: string;
|
|
3980
|
+
actor_id: string;
|
|
3981
3981
|
/**
|
|
3982
3982
|
* @description Reaction type (1..64 chars).
|
|
3983
3983
|
* @example like
|
|
@@ -4087,32 +4087,8 @@ interface components {
|
|
|
4087
4087
|
*/
|
|
4088
4088
|
url: string;
|
|
4089
4089
|
};
|
|
4090
|
-
DeleteActorListDto:
|
|
4091
|
-
|
|
4092
|
-
* @deprecated
|
|
4093
|
-
* @description DEPRECATED — use `?actor_id=`. Caller social actor UUID (must equal the list owner).
|
|
4094
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4095
|
-
*/
|
|
4096
|
-
actor_id?: string;
|
|
4097
|
-
/**
|
|
4098
|
-
* @deprecated
|
|
4099
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
4100
|
-
*/
|
|
4101
|
-
caller_actor_id?: string;
|
|
4102
|
-
};
|
|
4103
|
-
DeleteMessageDto: {
|
|
4104
|
-
/**
|
|
4105
|
-
* @deprecated
|
|
4106
|
-
* @description DEPRECATED — use `?actor_id=`. The sender (must match the message's sender_id).
|
|
4107
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4108
|
-
*/
|
|
4109
|
-
actor_id?: string;
|
|
4110
|
-
/**
|
|
4111
|
-
* @deprecated
|
|
4112
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
4113
|
-
*/
|
|
4114
|
-
sender_id?: string;
|
|
4115
|
-
};
|
|
4090
|
+
DeleteActorListDto: Record<string, never>;
|
|
4091
|
+
DeleteMessageDto: Record<string, never>;
|
|
4116
4092
|
DeleteWithCallerDto: {
|
|
4117
4093
|
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
4118
4094
|
caller_actor_id: string;
|
|
@@ -4224,14 +4200,7 @@ interface components {
|
|
|
4224
4200
|
/** @description Webhook UUID. */
|
|
4225
4201
|
webhook_id: string;
|
|
4226
4202
|
};
|
|
4227
|
-
DeprecatedActorIdBodyDto:
|
|
4228
|
-
/**
|
|
4229
|
-
* @deprecated
|
|
4230
|
-
* @description DEPRECATED — pass the actor via the `?actor_id=` query parameter instead. Accepted from the body for one more version.
|
|
4231
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4232
|
-
*/
|
|
4233
|
-
actor_id?: string;
|
|
4234
|
-
};
|
|
4203
|
+
DeprecatedActorIdBodyDto: Record<string, never>;
|
|
4235
4204
|
DirectMessageAdminListResponseDto: {
|
|
4236
4205
|
data: components["schemas"]["DirectMessageAdminResponseDto"][];
|
|
4237
4206
|
pagination: components["schemas"]["PaginationResponseDto"];
|
|
@@ -4828,14 +4797,7 @@ interface components {
|
|
|
4828
4797
|
*/
|
|
4829
4798
|
views: number;
|
|
4830
4799
|
};
|
|
4831
|
-
LeaveConversationDto:
|
|
4832
|
-
/**
|
|
4833
|
-
* @deprecated
|
|
4834
|
-
* @description DEPRECATED — use `?actor_id=`. The participant leaving.
|
|
4835
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
4836
|
-
*/
|
|
4837
|
-
actor_id?: string;
|
|
4838
|
-
};
|
|
4800
|
+
LeaveConversationDto: Record<string, never>;
|
|
4839
4801
|
MarkAllReadDto: {
|
|
4840
4802
|
/**
|
|
4841
4803
|
* @description Optional ISO timestamp; only flips rows older than this. Omit to flip all unread.
|
|
@@ -5761,13 +5723,7 @@ interface components {
|
|
|
5761
5723
|
* @description Viewer social actor UUID. Standardized name (task 008 / G11).
|
|
5762
5724
|
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
5763
5725
|
*/
|
|
5764
|
-
actor_id
|
|
5765
|
-
/**
|
|
5766
|
-
* @deprecated
|
|
5767
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
5768
|
-
* @example aaaaaaaa-0000-0000-0000-000000000002
|
|
5769
|
-
*/
|
|
5770
|
-
viewer_actor_id?: string;
|
|
5726
|
+
actor_id: string;
|
|
5771
5727
|
};
|
|
5772
5728
|
RecordViewsDto: {
|
|
5773
5729
|
/**
|
|
@@ -5836,41 +5792,8 @@ interface components {
|
|
|
5836
5792
|
/** @description One entry per requested id (de-duplicated, request order). Unknown ids resolve to all-false flags. */
|
|
5837
5793
|
data: components["schemas"]["RelationshipEntryDto"][];
|
|
5838
5794
|
};
|
|
5839
|
-
RemoveListMemberDto:
|
|
5840
|
-
|
|
5841
|
-
* @deprecated
|
|
5842
|
-
* @description DEPRECATED — use `?actor_id=`. Caller social actor UUID (must equal the list owner).
|
|
5843
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5844
|
-
*/
|
|
5845
|
-
actor_id?: string;
|
|
5846
|
-
/**
|
|
5847
|
-
* @deprecated
|
|
5848
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
5849
|
-
*/
|
|
5850
|
-
caller_actor_id?: string;
|
|
5851
|
-
};
|
|
5852
|
-
RemoveMemberDto: {
|
|
5853
|
-
/**
|
|
5854
|
-
* @deprecated
|
|
5855
|
-
* @description DEPRECATED — use `?actor_id=`. Acting actor UUID (equal to the target for self-leave).
|
|
5856
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5857
|
-
*/
|
|
5858
|
-
actor_id?: string;
|
|
5859
|
-
/**
|
|
5860
|
-
* @deprecated
|
|
5861
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
5862
|
-
*/
|
|
5863
|
-
caller_actor_id?: string;
|
|
5864
|
-
};
|
|
5865
|
-
RenameGroupDto: {
|
|
5866
|
-
/**
|
|
5867
|
-
* @description Social actor UUID of the renaming admin.
|
|
5868
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5869
|
-
*/
|
|
5870
|
-
caller_actor_id: string;
|
|
5871
|
-
/** @description New display name. Pass null or empty to clear. */
|
|
5872
|
-
name: string | null;
|
|
5873
|
-
};
|
|
5795
|
+
RemoveListMemberDto: Record<string, never>;
|
|
5796
|
+
RemoveMemberDto: Record<string, never>;
|
|
5874
5797
|
ReorderItemDto: {
|
|
5875
5798
|
/** @example aaaaaaaa-0000-0000-0000-000000000001 */
|
|
5876
5799
|
caller_actor_id: string;
|
|
@@ -5887,10 +5810,10 @@ interface components {
|
|
|
5887
5810
|
};
|
|
5888
5811
|
SendMessageDto: {
|
|
5889
5812
|
/**
|
|
5890
|
-
* @description The sender — social actor UUID. Standardized name (task 008 / G11); the persisted `sender_id`
|
|
5813
|
+
* @description The sender — social actor UUID. Standardized name (task 008 / G11); the persisted `sender_id` is set from it.
|
|
5891
5814
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5892
5815
|
*/
|
|
5893
|
-
actor_id
|
|
5816
|
+
actor_id: string;
|
|
5894
5817
|
/** @description Ordered image attachments (task 019). Each references a `ready` asset in this community owned by the sender. Max 20. */
|
|
5895
5818
|
assets?: components["schemas"]["AssetAttachmentInputDto"][];
|
|
5896
5819
|
attachments?: components["schemas"]["DirectMessageAttachmentDto"][];
|
|
@@ -5906,12 +5829,6 @@ interface components {
|
|
|
5906
5829
|
kind?: "text" | "image" | "video" | "audio" | "system";
|
|
5907
5830
|
/** @description Threaded inline reply target. */
|
|
5908
5831
|
reply_to_id?: string | null;
|
|
5909
|
-
/**
|
|
5910
|
-
* @deprecated
|
|
5911
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
5912
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
5913
|
-
*/
|
|
5914
|
-
sender_id?: string;
|
|
5915
5832
|
};
|
|
5916
5833
|
StoryTrayEntryResponse: {
|
|
5917
5834
|
/**
|
|
@@ -6089,28 +6006,10 @@ interface components {
|
|
|
6089
6006
|
*/
|
|
6090
6007
|
actor_id: string;
|
|
6091
6008
|
/**
|
|
6092
|
-
* @
|
|
6093
|
-
* @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Mute / unmute indefinitely on the caller's participant row.
|
|
6094
|
-
* @example true
|
|
6095
|
-
*/
|
|
6096
|
-
muted?: boolean;
|
|
6097
|
-
/**
|
|
6098
|
-
* @deprecated
|
|
6099
|
-
* @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Timed mute until this ISO timestamp; pass `null` to clear.
|
|
6100
|
-
* @example 2026-05-02T12:00:00Z
|
|
6101
|
-
*/
|
|
6102
|
-
muted_until?: string | null;
|
|
6103
|
-
/**
|
|
6104
|
-
* @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.
|
|
6105
6010
|
* @example Weekend plans
|
|
6106
6011
|
*/
|
|
6107
6012
|
name?: string | null;
|
|
6108
|
-
/**
|
|
6109
|
-
* @deprecated
|
|
6110
|
-
* @description DEPRECATED (task 025): use PATCH /:id/members/:actorId. Pin / unpin the thread in the caller's inbox.
|
|
6111
|
-
* @example true
|
|
6112
|
-
*/
|
|
6113
|
-
pinned?: boolean;
|
|
6114
6013
|
};
|
|
6115
6014
|
UpdateMemberDto: {
|
|
6116
6015
|
/**
|
|
@@ -6145,18 +6044,12 @@ interface components {
|
|
|
6145
6044
|
* @description The sender — must match the message's sender_id. Standardized name (task 008 / G11).
|
|
6146
6045
|
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
6147
6046
|
*/
|
|
6148
|
-
actor_id
|
|
6047
|
+
actor_id: string;
|
|
6149
6048
|
/**
|
|
6150
6049
|
* @description Updated body.
|
|
6151
6050
|
* @example edited
|
|
6152
6051
|
*/
|
|
6153
6052
|
body: string;
|
|
6154
|
-
/**
|
|
6155
|
-
* @deprecated
|
|
6156
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
6157
|
-
* @example aaaaaaaa-0000-0000-0000-000000000001
|
|
6158
|
-
*/
|
|
6159
|
-
sender_id?: string;
|
|
6160
6053
|
};
|
|
6161
6054
|
UpdateNotificationDto: {
|
|
6162
6055
|
/**
|
|
@@ -6222,7 +6115,9 @@ interface components {
|
|
|
6222
6115
|
* @example ready
|
|
6223
6116
|
* @enum {string}
|
|
6224
6117
|
*/
|
|
6225
|
-
status: "processing" | "ready" | "failed";
|
|
6118
|
+
status: "uploading" | "processing" | "ready" | "failed";
|
|
6119
|
+
/** @description Present only on video creation — PUT the bytes here, then POST /assets/:id/complete. */
|
|
6120
|
+
upload?: components["schemas"]["AssetUploadDto"];
|
|
6226
6121
|
};
|
|
6227
6122
|
UpsertActorDto: {
|
|
6228
6123
|
/**
|
|
@@ -7491,18 +7386,14 @@ interface operations {
|
|
|
7491
7386
|
};
|
|
7492
7387
|
StoryController_getHighlights: {
|
|
7493
7388
|
parameters: {
|
|
7494
|
-
query
|
|
7389
|
+
query: {
|
|
7495
7390
|
/** @description Items per page. */
|
|
7496
7391
|
limit?: number;
|
|
7497
7392
|
/** @description Cursor from the prior page. */
|
|
7498
7393
|
cursor?: string;
|
|
7499
7394
|
/** @description Requester social actor UUID. Without it, only public pinned posts surface. */
|
|
7500
7395
|
actor_id?: string;
|
|
7501
|
-
|
|
7502
|
-
* @deprecated
|
|
7503
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
7504
|
-
*/
|
|
7505
|
-
requester_id?: string;
|
|
7396
|
+
requester_id: string;
|
|
7506
7397
|
};
|
|
7507
7398
|
header?: never;
|
|
7508
7399
|
path: {
|
|
@@ -8500,7 +8391,10 @@ interface operations {
|
|
|
8500
8391
|
AssetController_upload: {
|
|
8501
8392
|
parameters: {
|
|
8502
8393
|
query?: never;
|
|
8503
|
-
header?:
|
|
8394
|
+
header?: {
|
|
8395
|
+
/** @description Makes retries safe. */
|
|
8396
|
+
"Idempotency-Key"?: string;
|
|
8397
|
+
};
|
|
8504
8398
|
path: {
|
|
8505
8399
|
/** @description Community UUID. */
|
|
8506
8400
|
communityId: string;
|
|
@@ -8509,19 +8403,54 @@ interface operations {
|
|
|
8509
8403
|
};
|
|
8510
8404
|
requestBody: {
|
|
8511
8405
|
content: {
|
|
8406
|
+
"application/json": {
|
|
8407
|
+
/** @description Video path: declared size in bytes (≤512 MB). */
|
|
8408
|
+
byte_size?: number;
|
|
8409
|
+
/**
|
|
8410
|
+
* @description Video path: declared container type.
|
|
8411
|
+
* @enum {string}
|
|
8412
|
+
*/
|
|
8413
|
+
content_type?: "video/mp4" | "video/quicktime" | "video/webm";
|
|
8414
|
+
/**
|
|
8415
|
+
* Format: binary
|
|
8416
|
+
* @description PNG / JPEG / WEBP, ≤10 MB — image path (multipart) only.
|
|
8417
|
+
*/
|
|
8418
|
+
file?: string;
|
|
8419
|
+
/**
|
|
8420
|
+
* @description Pass 'video' (JSON body) for the presigned-PUT flow.
|
|
8421
|
+
* @default image
|
|
8422
|
+
* @enum {string}
|
|
8423
|
+
*/
|
|
8424
|
+
kind?: "image" | "video";
|
|
8425
|
+
/** Format: uuid */
|
|
8426
|
+
owner_actor_id: string;
|
|
8427
|
+
};
|
|
8512
8428
|
"multipart/form-data": {
|
|
8429
|
+
/** @description Video path: declared size in bytes (≤512 MB). */
|
|
8430
|
+
byte_size?: number;
|
|
8431
|
+
/**
|
|
8432
|
+
* @description Video path: declared container type.
|
|
8433
|
+
* @enum {string}
|
|
8434
|
+
*/
|
|
8435
|
+
content_type?: "video/mp4" | "video/quicktime" | "video/webm";
|
|
8513
8436
|
/**
|
|
8514
8437
|
* Format: binary
|
|
8515
|
-
* @description PNG / JPEG / WEBP, ≤10 MB.
|
|
8438
|
+
* @description PNG / JPEG / WEBP, ≤10 MB — image path (multipart) only.
|
|
8439
|
+
*/
|
|
8440
|
+
file?: string;
|
|
8441
|
+
/**
|
|
8442
|
+
* @description Pass 'video' (JSON body) for the presigned-PUT flow.
|
|
8443
|
+
* @default image
|
|
8444
|
+
* @enum {string}
|
|
8516
8445
|
*/
|
|
8517
|
-
|
|
8446
|
+
kind?: "image" | "video";
|
|
8518
8447
|
/** Format: uuid */
|
|
8519
8448
|
owner_actor_id: string;
|
|
8520
8449
|
};
|
|
8521
8450
|
};
|
|
8522
8451
|
};
|
|
8523
8452
|
responses: {
|
|
8524
|
-
/** @description
|
|
8453
|
+
/** @description Image stored and ready, or video created in `uploading` with `upload` instructions. */
|
|
8525
8454
|
201: {
|
|
8526
8455
|
headers: {
|
|
8527
8456
|
[name: string]: unknown;
|
|
@@ -8530,7 +8459,7 @@ interface operations {
|
|
|
8530
8459
|
"application/json": components["schemas"]["UploadAssetResponseDto"];
|
|
8531
8460
|
};
|
|
8532
8461
|
};
|
|
8533
|
-
/** @description Missing/oversize/wrong-type file, or the bytes do not match the declared image type. */
|
|
8462
|
+
/** @description Missing/oversize/wrong-type file or declaration, or the bytes do not match the declared image type. */
|
|
8534
8463
|
400: {
|
|
8535
8464
|
headers: {
|
|
8536
8465
|
[name: string]: unknown;
|
|
@@ -8566,6 +8495,15 @@ interface operations {
|
|
|
8566
8495
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8567
8496
|
};
|
|
8568
8497
|
};
|
|
8498
|
+
/** @description `TOO_MANY_ACTIVE_UPLOADS` — the community already has the max videos uploading/processing. */
|
|
8499
|
+
429: {
|
|
8500
|
+
headers: {
|
|
8501
|
+
[name: string]: unknown;
|
|
8502
|
+
};
|
|
8503
|
+
content: {
|
|
8504
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8505
|
+
};
|
|
8506
|
+
};
|
|
8569
8507
|
};
|
|
8570
8508
|
};
|
|
8571
8509
|
AssetController_get: {
|
|
@@ -8650,6 +8588,61 @@ interface operations {
|
|
|
8650
8588
|
};
|
|
8651
8589
|
};
|
|
8652
8590
|
};
|
|
8591
|
+
AssetController_complete: {
|
|
8592
|
+
parameters: {
|
|
8593
|
+
query?: never;
|
|
8594
|
+
header?: {
|
|
8595
|
+
/** @description Makes retries safe. */
|
|
8596
|
+
"Idempotency-Key"?: string;
|
|
8597
|
+
};
|
|
8598
|
+
path: {
|
|
8599
|
+
/** @description Community UUID. */
|
|
8600
|
+
communityId: string;
|
|
8601
|
+
/** @description Video asset UUID (status `uploading`). */
|
|
8602
|
+
assetId: string;
|
|
8603
|
+
};
|
|
8604
|
+
cookie?: never;
|
|
8605
|
+
};
|
|
8606
|
+
requestBody?: never;
|
|
8607
|
+
responses: {
|
|
8608
|
+
/** @description Finalized (`processing`) — or the current status on replay. */
|
|
8609
|
+
200: {
|
|
8610
|
+
headers: {
|
|
8611
|
+
[name: string]: unknown;
|
|
8612
|
+
};
|
|
8613
|
+
content: {
|
|
8614
|
+
"application/json": components["schemas"]["UploadAssetResponseDto"];
|
|
8615
|
+
};
|
|
8616
|
+
};
|
|
8617
|
+
/** @description PAK lacks `social.assets.write`. */
|
|
8618
|
+
403: {
|
|
8619
|
+
headers: {
|
|
8620
|
+
[name: string]: unknown;
|
|
8621
|
+
};
|
|
8622
|
+
content: {
|
|
8623
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8624
|
+
};
|
|
8625
|
+
};
|
|
8626
|
+
/** @description Asset not found in this community. */
|
|
8627
|
+
404: {
|
|
8628
|
+
headers: {
|
|
8629
|
+
[name: string]: unknown;
|
|
8630
|
+
};
|
|
8631
|
+
content: {
|
|
8632
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8633
|
+
};
|
|
8634
|
+
};
|
|
8635
|
+
/** @description `ASSET_UPLOAD_INCOMPLETE` (no object / size mismatch — still retryable), `ASSET_TOO_LARGE` or `ASSET_INVALID_CONTAINER` (upload failed + object deleted), or `ASSET_NOT_VIDEO`. */
|
|
8636
|
+
422: {
|
|
8637
|
+
headers: {
|
|
8638
|
+
[name: string]: unknown;
|
|
8639
|
+
};
|
|
8640
|
+
content: {
|
|
8641
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
8642
|
+
};
|
|
8643
|
+
};
|
|
8644
|
+
};
|
|
8645
|
+
};
|
|
8653
8646
|
EdgeController_block: {
|
|
8654
8647
|
parameters: {
|
|
8655
8648
|
query?: never;
|
|
@@ -10240,71 +10233,6 @@ interface operations {
|
|
|
10240
10233
|
};
|
|
10241
10234
|
};
|
|
10242
10235
|
};
|
|
10243
|
-
ConversationController_renameGroup: {
|
|
10244
|
-
parameters: {
|
|
10245
|
-
query?: never;
|
|
10246
|
-
header?: never;
|
|
10247
|
-
path: {
|
|
10248
|
-
/** @description Social community UUID. Must belong to the PAK's workspace. */
|
|
10249
|
-
communityId: string;
|
|
10250
|
-
/** @description Conversation UUID. */
|
|
10251
|
-
conversationId: string;
|
|
10252
|
-
};
|
|
10253
|
-
cookie?: never;
|
|
10254
|
-
};
|
|
10255
|
-
requestBody: {
|
|
10256
|
-
content: {
|
|
10257
|
-
"application/json": components["schemas"]["RenameGroupDto"];
|
|
10258
|
-
};
|
|
10259
|
-
};
|
|
10260
|
-
responses: {
|
|
10261
|
-
/** @description Group renamed. */
|
|
10262
|
-
200: {
|
|
10263
|
-
headers: {
|
|
10264
|
-
[name: string]: unknown;
|
|
10265
|
-
};
|
|
10266
|
-
content: {
|
|
10267
|
-
"application/json": components["schemas"]["ConversationResponseDto"];
|
|
10268
|
-
};
|
|
10269
|
-
};
|
|
10270
|
-
/** @description Validation failure (name too long). */
|
|
10271
|
-
400: {
|
|
10272
|
-
headers: {
|
|
10273
|
-
[name: string]: unknown;
|
|
10274
|
-
};
|
|
10275
|
-
content: {
|
|
10276
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10277
|
-
};
|
|
10278
|
-
};
|
|
10279
|
-
/** @description Caller is not an admin. */
|
|
10280
|
-
403: {
|
|
10281
|
-
headers: {
|
|
10282
|
-
[name: string]: unknown;
|
|
10283
|
-
};
|
|
10284
|
-
content: {
|
|
10285
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10286
|
-
};
|
|
10287
|
-
};
|
|
10288
|
-
/** @description Conversation not found. */
|
|
10289
|
-
404: {
|
|
10290
|
-
headers: {
|
|
10291
|
-
[name: string]: unknown;
|
|
10292
|
-
};
|
|
10293
|
-
content: {
|
|
10294
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10295
|
-
};
|
|
10296
|
-
};
|
|
10297
|
-
/** @description Conversation is not a group. */
|
|
10298
|
-
409: {
|
|
10299
|
-
headers: {
|
|
10300
|
-
[name: string]: unknown;
|
|
10301
|
-
};
|
|
10302
|
-
content: {
|
|
10303
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10304
|
-
};
|
|
10305
|
-
};
|
|
10306
|
-
};
|
|
10307
|
-
};
|
|
10308
10236
|
ConversationController_markRead: {
|
|
10309
10237
|
parameters: {
|
|
10310
10238
|
query?: never;
|
|
@@ -10414,14 +10342,10 @@ interface operations {
|
|
|
10414
10342
|
};
|
|
10415
10343
|
FeedController_getDiscoverFeed: {
|
|
10416
10344
|
parameters: {
|
|
10417
|
-
query
|
|
10345
|
+
query: {
|
|
10418
10346
|
/** @description Viewer actor UUID. */
|
|
10419
10347
|
actor_id?: string;
|
|
10420
|
-
|
|
10421
|
-
* @deprecated
|
|
10422
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
10423
|
-
*/
|
|
10424
|
-
viewer_actor_id?: string;
|
|
10348
|
+
viewer_actor_id: string;
|
|
10425
10349
|
limit?: number;
|
|
10426
10350
|
/** @description Opaque ranked cursor; encodes (score, id). */
|
|
10427
10351
|
cursor?: string;
|
|
@@ -11114,14 +11038,10 @@ interface operations {
|
|
|
11114
11038
|
};
|
|
11115
11039
|
ActorListController_list: {
|
|
11116
11040
|
parameters: {
|
|
11117
|
-
query
|
|
11041
|
+
query: {
|
|
11118
11042
|
/** @description Viewer actor UUID — surfaces the viewer's own private lists alongside the public catalog. */
|
|
11119
11043
|
actor_id?: string;
|
|
11120
|
-
|
|
11121
|
-
* @deprecated
|
|
11122
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
11123
|
-
*/
|
|
11124
|
-
viewer_actor_id?: string;
|
|
11044
|
+
viewer_actor_id: string;
|
|
11125
11045
|
/** @description Filter to lists owned by this actor. */
|
|
11126
11046
|
owner_actor_id?: string;
|
|
11127
11047
|
limit?: number;
|
|
@@ -11224,14 +11144,10 @@ interface operations {
|
|
|
11224
11144
|
};
|
|
11225
11145
|
ActorListController_getById: {
|
|
11226
11146
|
parameters: {
|
|
11227
|
-
query
|
|
11147
|
+
query: {
|
|
11228
11148
|
/** @description Viewer actor UUID — required to see a private list (must equal owner). */
|
|
11229
11149
|
actor_id?: string;
|
|
11230
|
-
|
|
11231
|
-
* @deprecated
|
|
11232
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
11233
|
-
*/
|
|
11234
|
-
viewer_actor_id?: string;
|
|
11150
|
+
viewer_actor_id: string;
|
|
11235
11151
|
};
|
|
11236
11152
|
header?: never;
|
|
11237
11153
|
path: {
|
|
@@ -11391,11 +11307,7 @@ interface operations {
|
|
|
11391
11307
|
query: {
|
|
11392
11308
|
/** @description Viewer — required for visibility checks + block-filter. */
|
|
11393
11309
|
actor_id: string;
|
|
11394
|
-
|
|
11395
|
-
* @deprecated
|
|
11396
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
11397
|
-
*/
|
|
11398
|
-
viewer_actor_id?: string;
|
|
11310
|
+
viewer_actor_id: string;
|
|
11399
11311
|
limit?: number;
|
|
11400
11312
|
/** @description Opaque cursor; differs in shape between ranked and chronological. */
|
|
11401
11313
|
cursor?: string;
|
|
@@ -11452,14 +11364,10 @@ interface operations {
|
|
|
11452
11364
|
};
|
|
11453
11365
|
ActorListController_listMembers: {
|
|
11454
11366
|
parameters: {
|
|
11455
|
-
query
|
|
11367
|
+
query: {
|
|
11456
11368
|
/** @description Viewer actor UUID. */
|
|
11457
11369
|
actor_id?: string;
|
|
11458
|
-
|
|
11459
|
-
* @deprecated
|
|
11460
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
11461
|
-
*/
|
|
11462
|
-
viewer_actor_id?: string;
|
|
11370
|
+
viewer_actor_id: string;
|
|
11463
11371
|
limit?: number;
|
|
11464
11372
|
cursor?: string;
|
|
11465
11373
|
};
|
|
@@ -11895,58 +11803,12 @@ interface operations {
|
|
|
11895
11803
|
};
|
|
11896
11804
|
};
|
|
11897
11805
|
};
|
|
11898
|
-
PostController_recordViewsDeprecated: {
|
|
11899
|
-
parameters: {
|
|
11900
|
-
query?: never;
|
|
11901
|
-
header?: never;
|
|
11902
|
-
path: {
|
|
11903
|
-
communityId: string;
|
|
11904
|
-
};
|
|
11905
|
-
cookie?: never;
|
|
11906
|
-
};
|
|
11907
|
-
requestBody: {
|
|
11908
|
-
content: {
|
|
11909
|
-
"application/json": components["schemas"]["RecordViewsDto"];
|
|
11910
|
-
};
|
|
11911
|
-
};
|
|
11912
|
-
responses: {
|
|
11913
|
-
/** @description Impressions recorded (or no-op if every id was missing). */
|
|
11914
|
-
204: {
|
|
11915
|
-
headers: {
|
|
11916
|
-
[name: string]: unknown;
|
|
11917
|
-
};
|
|
11918
|
-
content?: never;
|
|
11919
|
-
};
|
|
11920
|
-
/** @description Empty `post_ids`, more than 200 ids, or a non-UUID in the list. */
|
|
11921
|
-
400: {
|
|
11922
|
-
headers: {
|
|
11923
|
-
[name: string]: unknown;
|
|
11924
|
-
};
|
|
11925
|
-
content: {
|
|
11926
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
11927
|
-
};
|
|
11928
|
-
};
|
|
11929
|
-
/** @description PAK lacks `social.view` on the community URN. */
|
|
11930
|
-
403: {
|
|
11931
|
-
headers: {
|
|
11932
|
-
[name: string]: unknown;
|
|
11933
|
-
};
|
|
11934
|
-
content: {
|
|
11935
|
-
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
11936
|
-
};
|
|
11937
|
-
};
|
|
11938
|
-
};
|
|
11939
|
-
};
|
|
11940
11806
|
PostController_getById: {
|
|
11941
11807
|
parameters: {
|
|
11942
|
-
query
|
|
11808
|
+
query: {
|
|
11943
11809
|
/** @description Social actor UUID of the viewer. Surfaces non-public posts they are entitled to see. */
|
|
11944
11810
|
actor_id?: string;
|
|
11945
|
-
|
|
11946
|
-
* @deprecated
|
|
11947
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11). Removed in a future version.
|
|
11948
|
-
*/
|
|
11949
|
-
requester_id?: string;
|
|
11811
|
+
requester_id: string;
|
|
11950
11812
|
};
|
|
11951
11813
|
header?: never;
|
|
11952
11814
|
path: {
|
|
@@ -12162,7 +12024,7 @@ interface operations {
|
|
|
12162
12024
|
};
|
|
12163
12025
|
cookie?: never;
|
|
12164
12026
|
};
|
|
12165
|
-
requestBody
|
|
12027
|
+
requestBody: {
|
|
12166
12028
|
content: {
|
|
12167
12029
|
"application/json": components["schemas"]["DeprecatedActorIdBodyDto"];
|
|
12168
12030
|
};
|
|
@@ -12206,18 +12068,14 @@ interface operations {
|
|
|
12206
12068
|
};
|
|
12207
12069
|
CommentController_list: {
|
|
12208
12070
|
parameters: {
|
|
12209
|
-
query
|
|
12071
|
+
query: {
|
|
12210
12072
|
limit?: number;
|
|
12211
12073
|
cursor?: string;
|
|
12212
12074
|
/** @description List replies of this parent comment instead of top-level. */
|
|
12213
12075
|
parent_id?: string;
|
|
12214
12076
|
/** @description Viewer actor UUID — surfaces author_only replies they're entitled to see. */
|
|
12215
12077
|
actor_id?: string;
|
|
12216
|
-
|
|
12217
|
-
* @deprecated
|
|
12218
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
12219
|
-
*/
|
|
12220
|
-
requester_id?: string;
|
|
12078
|
+
requester_id: string;
|
|
12221
12079
|
};
|
|
12222
12080
|
header?: never;
|
|
12223
12081
|
path: {
|
|
@@ -12329,14 +12187,10 @@ interface operations {
|
|
|
12329
12187
|
};
|
|
12330
12188
|
CommentController_getById: {
|
|
12331
12189
|
parameters: {
|
|
12332
|
-
query
|
|
12190
|
+
query: {
|
|
12333
12191
|
/** @description Viewer actor UUID. */
|
|
12334
12192
|
actor_id?: string;
|
|
12335
|
-
|
|
12336
|
-
* @deprecated
|
|
12337
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
12338
|
-
*/
|
|
12339
|
-
requester_id?: string;
|
|
12193
|
+
requester_id: string;
|
|
12340
12194
|
};
|
|
12341
12195
|
header?: never;
|
|
12342
12196
|
path: {
|
|
@@ -12732,7 +12586,7 @@ interface operations {
|
|
|
12732
12586
|
"application/json": components["schemas"]["AddCommentReactionResponseDto"];
|
|
12733
12587
|
};
|
|
12734
12588
|
};
|
|
12735
|
-
/** @description Validation failure (missing
|
|
12589
|
+
/** @description Validation failure (missing actor_id; empty / overlong type). */
|
|
12736
12590
|
400: {
|
|
12737
12591
|
headers: {
|
|
12738
12592
|
[name: string]: unknown;
|
|
@@ -13239,7 +13093,7 @@ interface operations {
|
|
|
13239
13093
|
};
|
|
13240
13094
|
cookie?: never;
|
|
13241
13095
|
};
|
|
13242
|
-
requestBody
|
|
13096
|
+
requestBody: {
|
|
13243
13097
|
content: {
|
|
13244
13098
|
"application/json": components["schemas"]["DeprecatedActorIdBodyDto"];
|
|
13245
13099
|
};
|
|
@@ -13474,11 +13328,7 @@ interface operations {
|
|
|
13474
13328
|
query: {
|
|
13475
13329
|
/** @description Requester social actor UUID — must resolve to the post author. */
|
|
13476
13330
|
actor_id: string;
|
|
13477
|
-
|
|
13478
|
-
* @deprecated
|
|
13479
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
13480
|
-
*/
|
|
13481
|
-
requester_id?: string;
|
|
13331
|
+
requester_id: string;
|
|
13482
13332
|
limit?: number;
|
|
13483
13333
|
/** @description Cursor from the prior page. */
|
|
13484
13334
|
cursor?: string;
|
|
@@ -13939,11 +13789,7 @@ interface operations {
|
|
|
13939
13789
|
limit?: number;
|
|
13940
13790
|
/** @description Viewer social actor UUID — filters out blocked / muted actors. */
|
|
13941
13791
|
actor_id?: string;
|
|
13942
|
-
|
|
13943
|
-
* @deprecated
|
|
13944
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
13945
|
-
*/
|
|
13946
|
-
requester_id?: string;
|
|
13792
|
+
requester_id: string;
|
|
13947
13793
|
/** @description Opaque pagination cursor from a prior response. Valid only for the same `q` (task 022). */
|
|
13948
13794
|
cursor?: string;
|
|
13949
13795
|
};
|
|
@@ -14056,11 +13902,7 @@ interface operations {
|
|
|
14056
13902
|
order?: "relevance" | "recent";
|
|
14057
13903
|
/** @description Viewer social actor UUID. */
|
|
14058
13904
|
actor_id?: string;
|
|
14059
|
-
|
|
14060
|
-
* @deprecated
|
|
14061
|
-
* @description DEPRECATED alias of `actor_id` (task 008 / G11).
|
|
14062
|
-
*/
|
|
14063
|
-
requester_id?: string;
|
|
13905
|
+
requester_id: string;
|
|
14064
13906
|
/** @description Opaque pagination cursor from a prior response. Valid only for the same `(q, order)` pair (task 022). */
|
|
14065
13907
|
cursor?: string;
|
|
14066
13908
|
};
|