@stream-io/node-sdk 0.7.58 → 0.7.60

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.
@@ -1,5 +1,5 @@
1
1
  import { ApiClient, StreamResponse } from '../../gen-imports';
2
- import { AcceptFeedMemberInviteRequest, AcceptFeedMemberInviteResponse, AcceptFollowRequest, AcceptFollowResponse, ActivityFeedbackRequest, ActivityFeedbackResponse, AddActivityRequest, AddActivityResponse, AddBookmarkRequest, AddBookmarkResponse, AddCommentBookmarkRequest, AddCommentBookmarkResponse, AddCommentReactionRequest, AddCommentReactionResponse, AddCommentRequest, AddCommentResponse, AddCommentsBatchRequest, AddCommentsBatchResponse, AddReactionRequest, AddReactionResponse, CastPollVoteRequest, CreateCollectionsRequest, CreateCollectionsResponse, CreateFeedGroupRequest, CreateFeedGroupResponse, CreateFeedViewRequest, CreateFeedViewResponse, CreateFeedsBatchRequest, CreateFeedsBatchResponse, CreateMembershipLevelRequest, CreateMembershipLevelResponse, DeleteActivitiesRequest, DeleteActivitiesResponse, DeleteActivityReactionResponse, DeleteActivityResponse, DeleteBookmarkFolderResponse, DeleteBookmarkResponse, DeleteCollectionsResponse, DeleteCommentBookmarkResponse, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, DeleteFeedsBatchRequest, DeleteFeedsBatchResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, GetOrCreateFollowResponse, GetOrCreateUnfollowRequest, GetOrCreateUnfollowResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnBatchRequest, OwnBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, QueryPinnedActivitiesRequest, QueryPinnedActivitiesResponse, QueryRevisionHistoryRequest, QueryRevisionHistoryResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, RestoreActivityRequest, RestoreActivityResponse, RestoreCommentRequest, RestoreCommentResponse, RestoreFeedGroupResponse, SingleFollowResponse, TrackActivityMetricsRequest, TrackActivityMetricsResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivitiesPartialBatchRequest, UpdateActivitiesPartialBatchResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, UpdateCommentBookmarkRequest, UpdateCommentBookmarkResponse, UpdateCommentPartialRequest, UpdateCommentPartialResponse, UpdateCommentRequest, UpdateCommentResponse, UpdateFeedGroupRequest, UpdateFeedGroupResponse, UpdateFeedMembersRequest, UpdateFeedMembersResponse, UpdateFeedRequest, UpdateFeedResponse, UpdateFeedViewRequest, UpdateFeedViewResponse, UpdateFeedVisibilityRequest, UpdateFeedVisibilityResponse, UpdateFollowRequest, UpdateFollowResponse, UpdateMembershipLevelRequest, UpdateMembershipLevelResponse, UpsertActivitiesRequest, UpsertActivitiesResponse, UpsertCollectionsRequest, UpsertCollectionsResponse } from '../models';
2
+ import { AcceptFeedMemberInviteRequest, AcceptFeedMemberInviteResponse, AcceptFollowRequest, AcceptFollowResponse, ActivityFeedbackRequest, ActivityFeedbackResponse, AddActivityRequest, AddActivityResponse, AddBookmarkRequest, AddBookmarkResponse, AddCommentBookmarkRequest, AddCommentBookmarkResponse, AddCommentReactionRequest, AddCommentReactionResponse, AddCommentRequest, AddCommentResponse, AddCommentsBatchRequest, AddCommentsBatchResponse, AddReactionRequest, AddReactionResponse, BatchQueryActivityReactionsRequest, BatchQueryActivityReactionsResponse, BatchQueryCommentReactionsRequest, BatchQueryCommentReactionsResponse, CastPollVoteRequest, CreateCollectionsRequest, CreateCollectionsResponse, CreateFeedGroupRequest, CreateFeedGroupResponse, CreateFeedViewRequest, CreateFeedViewResponse, CreateFeedsBatchRequest, CreateFeedsBatchResponse, CreateMembershipLevelRequest, CreateMembershipLevelResponse, DeleteActivitiesRequest, DeleteActivitiesResponse, DeleteActivityReactionResponse, DeleteActivityResponse, DeleteBookmarkFolderResponse, DeleteBookmarkResponse, DeleteCollectionsResponse, DeleteCommentBookmarkResponse, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, DeleteFeedsBatchRequest, DeleteFeedsBatchResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, GetOrCreateFollowResponse, GetOrCreateUnfollowRequest, GetOrCreateUnfollowResponse, GetUserInterestsResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnBatchRequest, OwnBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCollectionsRequest, QueryCollectionsResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, QueryPinnedActivitiesRequest, QueryPinnedActivitiesResponse, QueryRevisionHistoryRequest, QueryRevisionHistoryResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, RestoreActivityRequest, RestoreActivityResponse, RestoreCommentRequest, RestoreCommentResponse, RestoreFeedGroupResponse, SingleFollowResponse, TrackActivityMetricsRequest, TrackActivityMetricsResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivitiesPartialBatchRequest, UpdateActivitiesPartialBatchResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, UpdateCommentBookmarkRequest, UpdateCommentBookmarkResponse, UpdateCommentPartialRequest, UpdateCommentPartialResponse, UpdateCommentRequest, UpdateCommentResponse, UpdateFeedGroupRequest, UpdateFeedGroupResponse, UpdateFeedMembersRequest, UpdateFeedMembersResponse, UpdateFeedRequest, UpdateFeedResponse, UpdateFeedViewRequest, UpdateFeedViewResponse, UpdateFeedVisibilityRequest, UpdateFeedVisibilityResponse, UpdateFollowRequest, UpdateFollowResponse, UpdateMembershipLevelRequest, UpdateMembershipLevelResponse, UpsertActivitiesRequest, UpsertActivitiesResponse, UpsertCollectionsRequest, UpsertCollectionsResponse } from '../models';
3
3
  export declare class FeedsApi {
4
4
  readonly apiClient: ApiClient;
5
5
  constructor(apiClient: ApiClient);
@@ -9,6 +9,7 @@ export declare class FeedsApi {
9
9
  deleteActivities(request: DeleteActivitiesRequest): Promise<StreamResponse<DeleteActivitiesResponse>>;
10
10
  trackActivityMetrics(request: TrackActivityMetricsRequest): Promise<StreamResponse<TrackActivityMetricsResponse>>;
11
11
  queryActivities(request?: QueryActivitiesRequest): Promise<StreamResponse<QueryActivitiesResponse>>;
12
+ batchQueryActivityReactions(request: BatchQueryActivityReactionsRequest): Promise<StreamResponse<BatchQueryActivityReactionsResponse>>;
12
13
  deleteBookmark(request: {
13
14
  activity_id: string;
14
15
  folder_id?: string;
@@ -100,6 +101,7 @@ export declare class FeedsApi {
100
101
  addComment(request?: AddCommentRequest): Promise<StreamResponse<AddCommentResponse>>;
101
102
  addCommentsBatch(request: AddCommentsBatchRequest): Promise<StreamResponse<AddCommentsBatchResponse>>;
102
103
  queryComments(request: QueryCommentsRequest): Promise<StreamResponse<QueryCommentsResponse>>;
104
+ batchQueryCommentReactions(request: BatchQueryCommentReactionsRequest): Promise<StreamResponse<BatchQueryCommentReactionsResponse>>;
103
105
  deleteCommentBookmark(request: {
104
106
  comment_id: string;
105
107
  folder_id?: string;
@@ -294,4 +296,8 @@ export declare class FeedsApi {
294
296
  exportFeedUserData(request: {
295
297
  user_id: string;
296
298
  }): Promise<StreamResponse<ExportFeedUserDataResponse>>;
299
+ getUserInterests(request: {
300
+ user_id: string;
301
+ limit?: number;
302
+ }): Promise<StreamResponse<GetUserInterestsResponse>>;
297
303
  }
@@ -1231,6 +1231,7 @@ export interface AppResponseFields {
1231
1231
  policies: Record<string, Policy[]>;
1232
1232
  push_notifications: PushNotificationFields;
1233
1233
  before_message_send_hook_url?: string;
1234
+ before_message_send_hook_attempt_timeout_ms?: number;
1234
1235
  moderation_s3_image_access_role_arn?: string;
1235
1236
  revoke_tokens_issued_before?: Date;
1236
1237
  allowed_flag_reasons?: string[];
@@ -1605,6 +1606,62 @@ export interface BanResponse {
1605
1606
  channel?: ChannelResponse;
1606
1607
  user?: UserResponse;
1607
1608
  }
1609
+ export interface BatchQueryActivityReactionsRequest {
1610
+ /**
1611
+ * Activity IDs to fetch the user's reactions for (max 100)
1612
+ */
1613
+ activity_ids: string[];
1614
+ limit?: number;
1615
+ next?: string;
1616
+ prev?: string;
1617
+ /**
1618
+ * Server-side only. The user whose reactions to fetch; defaults to the authenticated user for client-side requests
1619
+ */
1620
+ user_id?: string;
1621
+ sort?: SortParamRequest[];
1622
+ /**
1623
+ * Optional filter on reaction_type or created_at
1624
+ */
1625
+ filter?: Record<string, any>;
1626
+ user?: UserRequest;
1627
+ }
1628
+ export interface BatchQueryActivityReactionsResponse {
1629
+ /**
1630
+ * Duration of the request in milliseconds
1631
+ */
1632
+ duration: string;
1633
+ reactions: FeedsReactionResponse[];
1634
+ next?: string;
1635
+ prev?: string;
1636
+ }
1637
+ export interface BatchQueryCommentReactionsRequest {
1638
+ /**
1639
+ * Comment IDs to fetch the user's reactions for (max 100)
1640
+ */
1641
+ comment_ids: string[];
1642
+ limit?: number;
1643
+ next?: string;
1644
+ prev?: string;
1645
+ /**
1646
+ * Server-side only. The user whose reactions to fetch; defaults to the authenticated user for client-side requests
1647
+ */
1648
+ user_id?: string;
1649
+ sort?: SortParamRequest[];
1650
+ /**
1651
+ * Optional filter on reaction_type or created_at
1652
+ */
1653
+ filter?: Record<string, any>;
1654
+ user?: UserRequest;
1655
+ }
1656
+ export interface BatchQueryCommentReactionsResponse {
1657
+ /**
1658
+ * Duration of the request in milliseconds
1659
+ */
1660
+ duration: string;
1661
+ reactions: FeedsReactionResponse[];
1662
+ next?: string;
1663
+ prev?: string;
1664
+ }
1608
1665
  export interface BlockActionRequestPayload {
1609
1666
  /**
1610
1667
  * Reason for blocking
@@ -7908,6 +7965,13 @@ export interface GetUserGroupResponse {
7908
7965
  duration: string;
7909
7966
  user_group?: UserGroupResponse;
7910
7967
  }
7968
+ export interface GetUserInterestsResponse {
7969
+ duration: string;
7970
+ /**
7971
+ * Top-N interest tags sorted by descending count, then alphabetically by tag
7972
+ */
7973
+ interests: InterestTagResponse[];
7974
+ }
7911
7975
  export interface GoLiveRequest {
7912
7976
  recording_storage_name?: string;
7913
7977
  start_closed_caption?: boolean;
@@ -8294,6 +8358,16 @@ export interface InsertActionLogRequest {
8294
8358
  export interface InsertActionLogResponse {
8295
8359
  duration: string;
8296
8360
  }
8361
+ export interface InterestTagResponse {
8362
+ /**
8363
+ * Number of distinct reacted-to activities tagged with this value
8364
+ */
8365
+ count: number;
8366
+ /**
8367
+ * The interest tag value
8368
+ */
8369
+ tag: string;
8370
+ }
8297
8371
  export interface JoinCallAPIMetrics {
8298
8372
  failures: number;
8299
8373
  total: number;
@@ -15013,6 +15087,7 @@ export interface UpdateAppRequest {
15013
15087
  async_url_enrich_enabled?: boolean;
15014
15088
  auto_translation_enabled?: boolean;
15015
15089
  before_message_send_hook_url?: string;
15090
+ before_message_send_hook_attempt_timeout_ms?: number;
15016
15091
  cdn_expiration_seconds?: number;
15017
15092
  channel_hide_members_only?: boolean;
15018
15093
  custom_action_handler_url?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.7.58",
3
+ "version": "0.7.60",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -133,6 +133,8 @@ export class CommonApi {
133
133
  async_url_enrich_enabled: request?.async_url_enrich_enabled,
134
134
  auto_translation_enabled: request?.auto_translation_enabled,
135
135
  before_message_send_hook_url: request?.before_message_send_hook_url,
136
+ before_message_send_hook_attempt_timeout_ms:
137
+ request?.before_message_send_hook_attempt_timeout_ms,
136
138
  cdn_expiration_seconds: request?.cdn_expiration_seconds,
137
139
  channel_hide_members_only: request?.channel_hide_members_only,
138
140
  custom_action_handler_url: request?.custom_action_handler_url,
@@ -20,6 +20,10 @@ import {
20
20
  AddCommentsBatchResponse,
21
21
  AddReactionRequest,
22
22
  AddReactionResponse,
23
+ BatchQueryActivityReactionsRequest,
24
+ BatchQueryActivityReactionsResponse,
25
+ BatchQueryCommentReactionsRequest,
26
+ BatchQueryCommentReactionsResponse,
23
27
  CastPollVoteRequest,
24
28
  CreateCollectionsRequest,
25
29
  CreateCollectionsResponse,
@@ -70,6 +74,7 @@ import {
70
74
  GetOrCreateFollowResponse,
71
75
  GetOrCreateUnfollowRequest,
72
76
  GetOrCreateUnfollowResponse,
77
+ GetUserInterestsResponse,
73
78
  ListFeedGroupsResponse,
74
79
  ListFeedViewsResponse,
75
80
  ListFeedVisibilitiesResponse,
@@ -348,6 +353,36 @@ export class FeedsApi {
348
353
  return { ...response.body, metadata: response.metadata };
349
354
  }
350
355
 
356
+ async batchQueryActivityReactions(
357
+ request: BatchQueryActivityReactionsRequest,
358
+ ): Promise<StreamResponse<BatchQueryActivityReactionsResponse>> {
359
+ const body = {
360
+ activity_ids: request?.activity_ids,
361
+ limit: request?.limit,
362
+ next: request?.next,
363
+ prev: request?.prev,
364
+ user_id: request?.user_id,
365
+ sort: request?.sort,
366
+ filter: request?.filter,
367
+ user: request?.user,
368
+ };
369
+
370
+ const response = await this.apiClient.sendRequest<
371
+ StreamResponse<BatchQueryActivityReactionsResponse>
372
+ >(
373
+ 'POST',
374
+ '/api/v2/feeds/activities/reactions/query',
375
+ undefined,
376
+ undefined,
377
+ body,
378
+ 'application/json',
379
+ );
380
+
381
+ decoders.BatchQueryActivityReactionsResponse?.(response.body);
382
+
383
+ return { ...response.body, metadata: response.metadata };
384
+ }
385
+
351
386
  async deleteBookmark(request: {
352
387
  activity_id: string;
353
388
  folder_id?: string;
@@ -1142,6 +1177,36 @@ export class FeedsApi {
1142
1177
  return { ...response.body, metadata: response.metadata };
1143
1178
  }
1144
1179
 
1180
+ async batchQueryCommentReactions(
1181
+ request: BatchQueryCommentReactionsRequest,
1182
+ ): Promise<StreamResponse<BatchQueryCommentReactionsResponse>> {
1183
+ const body = {
1184
+ comment_ids: request?.comment_ids,
1185
+ limit: request?.limit,
1186
+ next: request?.next,
1187
+ prev: request?.prev,
1188
+ user_id: request?.user_id,
1189
+ sort: request?.sort,
1190
+ filter: request?.filter,
1191
+ user: request?.user,
1192
+ };
1193
+
1194
+ const response = await this.apiClient.sendRequest<
1195
+ StreamResponse<BatchQueryCommentReactionsResponse>
1196
+ >(
1197
+ 'POST',
1198
+ '/api/v2/feeds/comments/reactions/query',
1199
+ undefined,
1200
+ undefined,
1201
+ body,
1202
+ 'application/json',
1203
+ );
1204
+
1205
+ decoders.BatchQueryCommentReactionsResponse?.(response.body);
1206
+
1207
+ return { ...response.body, metadata: response.metadata };
1208
+ }
1209
+
1145
1210
  async deleteCommentBookmark(request: {
1146
1211
  comment_id: string;
1147
1212
  folder_id?: string;
@@ -2908,4 +2973,29 @@ export class FeedsApi {
2908
2973
 
2909
2974
  return { ...response.body, metadata: response.metadata };
2910
2975
  }
2976
+
2977
+ async getUserInterests(request: {
2978
+ user_id: string;
2979
+ limit?: number;
2980
+ }): Promise<StreamResponse<GetUserInterestsResponse>> {
2981
+ const queryParams = {
2982
+ limit: request?.limit,
2983
+ };
2984
+ const pathParams = {
2985
+ user_id: request?.user_id,
2986
+ };
2987
+
2988
+ const response = await this.apiClient.sendRequest<
2989
+ StreamResponse<GetUserInterestsResponse>
2990
+ >(
2991
+ 'GET',
2992
+ '/api/v2/feeds/users/{user_id}/interests',
2993
+ pathParams,
2994
+ queryParams,
2995
+ );
2996
+
2997
+ decoders.GetUserInterestsResponse?.(response.body);
2998
+
2999
+ return { ...response.body, metadata: response.metadata };
3000
+ }
2911
3001
  }
@@ -508,6 +508,22 @@ decoders.BanResponse = (input?: Record<string, any>) => {
508
508
  return decode(typeMappings, input);
509
509
  };
510
510
 
511
+ decoders.BatchQueryActivityReactionsResponse = (
512
+ input?: Record<string, any>,
513
+ ) => {
514
+ const typeMappings: TypeMapping = {
515
+ reactions: { type: 'FeedsReactionResponse', isSingle: false },
516
+ };
517
+ return decode(typeMappings, input);
518
+ };
519
+
520
+ decoders.BatchQueryCommentReactionsResponse = (input?: Record<string, any>) => {
521
+ const typeMappings: TypeMapping = {
522
+ reactions: { type: 'FeedsReactionResponse', isSingle: false },
523
+ };
524
+ return decode(typeMappings, input);
525
+ };
526
+
511
527
  decoders.BlockListResponse = (input?: Record<string, any>) => {
512
528
  const typeMappings: TypeMapping = {
513
529
  created_at: { type: 'DatetimeType', isSingle: true },
@@ -1734,6 +1734,8 @@ export interface AppResponseFields {
1734
1734
 
1735
1735
  before_message_send_hook_url?: string;
1736
1736
 
1737
+ before_message_send_hook_attempt_timeout_ms?: number;
1738
+
1737
1739
  moderation_s3_image_access_role_arn?: string;
1738
1740
 
1739
1741
  revoke_tokens_issued_before?: Date;
@@ -2319,6 +2321,86 @@ export interface BanResponse {
2319
2321
  user?: UserResponse;
2320
2322
  }
2321
2323
 
2324
+ export interface BatchQueryActivityReactionsRequest {
2325
+ /**
2326
+ * Activity IDs to fetch the user's reactions for (max 100)
2327
+ */
2328
+ activity_ids: string[];
2329
+
2330
+ limit?: number;
2331
+
2332
+ next?: string;
2333
+
2334
+ prev?: string;
2335
+
2336
+ /**
2337
+ * Server-side only. The user whose reactions to fetch; defaults to the authenticated user for client-side requests
2338
+ */
2339
+ user_id?: string;
2340
+
2341
+ sort?: SortParamRequest[];
2342
+
2343
+ /**
2344
+ * Optional filter on reaction_type or created_at
2345
+ */
2346
+ filter?: Record<string, any>;
2347
+
2348
+ user?: UserRequest;
2349
+ }
2350
+
2351
+ export interface BatchQueryActivityReactionsResponse {
2352
+ /**
2353
+ * Duration of the request in milliseconds
2354
+ */
2355
+ duration: string;
2356
+
2357
+ reactions: FeedsReactionResponse[];
2358
+
2359
+ next?: string;
2360
+
2361
+ prev?: string;
2362
+ }
2363
+
2364
+ export interface BatchQueryCommentReactionsRequest {
2365
+ /**
2366
+ * Comment IDs to fetch the user's reactions for (max 100)
2367
+ */
2368
+ comment_ids: string[];
2369
+
2370
+ limit?: number;
2371
+
2372
+ next?: string;
2373
+
2374
+ prev?: string;
2375
+
2376
+ /**
2377
+ * Server-side only. The user whose reactions to fetch; defaults to the authenticated user for client-side requests
2378
+ */
2379
+ user_id?: string;
2380
+
2381
+ sort?: SortParamRequest[];
2382
+
2383
+ /**
2384
+ * Optional filter on reaction_type or created_at
2385
+ */
2386
+ filter?: Record<string, any>;
2387
+
2388
+ user?: UserRequest;
2389
+ }
2390
+
2391
+ export interface BatchQueryCommentReactionsResponse {
2392
+ /**
2393
+ * Duration of the request in milliseconds
2394
+ */
2395
+ duration: string;
2396
+
2397
+ reactions: FeedsReactionResponse[];
2398
+
2399
+ next?: string;
2400
+
2401
+ prev?: string;
2402
+ }
2403
+
2322
2404
  export interface BlockActionRequestPayload {
2323
2405
  /**
2324
2406
  * Reason for blocking
@@ -11362,6 +11444,15 @@ export interface GetUserGroupResponse {
11362
11444
  user_group?: UserGroupResponse;
11363
11445
  }
11364
11446
 
11447
+ export interface GetUserInterestsResponse {
11448
+ duration: string;
11449
+
11450
+ /**
11451
+ * Top-N interest tags sorted by descending count, then alphabetically by tag
11452
+ */
11453
+ interests: InterestTagResponse[];
11454
+ }
11455
+
11365
11456
  export interface GoLiveRequest {
11366
11457
  recording_storage_name?: string;
11367
11458
 
@@ -11931,6 +12022,18 @@ export interface InsertActionLogResponse {
11931
12022
  duration: string;
11932
12023
  }
11933
12024
 
12025
+ export interface InterestTagResponse {
12026
+ /**
12027
+ * Number of distinct reacted-to activities tagged with this value
12028
+ */
12029
+ count: number;
12030
+
12031
+ /**
12032
+ * The interest tag value
12033
+ */
12034
+ tag: string;
12035
+ }
12036
+
11934
12037
  export interface JoinCallAPIMetrics {
11935
12038
  failures: number;
11936
12039
 
@@ -21687,6 +21790,8 @@ export interface UpdateAppRequest {
21687
21790
 
21688
21791
  before_message_send_hook_url?: string;
21689
21792
 
21793
+ before_message_send_hook_attempt_timeout_ms?: number;
21794
+
21690
21795
  cdn_expiration_seconds?: number;
21691
21796
 
21692
21797
  channel_hide_members_only?: boolean;