@stream-io/node-sdk 0.7.20 → 0.7.22

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, 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, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataResponse, DeleteFeedViewResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnCapabilitiesBatchRequest, OwnCapabilitiesBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, SingleFollowResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, 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, 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, DeleteCommentReactionResponse, DeleteCommentResponse, DeleteFeedGroupResponse, DeleteFeedResponse, DeleteFeedUserDataRequest, DeleteFeedUserDataResponse, DeleteFeedViewResponse, ExportFeedUserDataResponse, FollowBatchRequest, FollowBatchResponse, FollowRequest, GetActivityResponse, GetCommentRepliesResponse, GetCommentResponse, GetCommentsResponse, GetFeedGroupResponse, GetFeedViewResponse, GetFeedVisibilityResponse, GetFeedsRateLimitsResponse, GetFollowSuggestionsResponse, GetOrCreateFeedGroupRequest, GetOrCreateFeedGroupResponse, GetOrCreateFeedRequest, GetOrCreateFeedResponse, GetOrCreateFeedViewRequest, GetOrCreateFeedViewResponse, ListFeedGroupsResponse, ListFeedViewsResponse, ListFeedVisibilitiesResponse, MarkActivityRequest, OwnCapabilitiesBatchRequest, OwnCapabilitiesBatchResponse, PinActivityRequest, PinActivityResponse, PollVoteResponse, QueryActivitiesRequest, QueryActivitiesResponse, QueryActivityReactionsRequest, QueryActivityReactionsResponse, QueryBookmarkFoldersRequest, QueryBookmarkFoldersResponse, QueryBookmarksRequest, QueryBookmarksResponse, QueryCommentReactionsRequest, QueryCommentReactionsResponse, QueryCommentsRequest, QueryCommentsResponse, QueryFeedMembersRequest, QueryFeedMembersResponse, QueryFeedsRequest, QueryFeedsResponse, QueryFeedsUsageStatsRequest, QueryFeedsUsageStatsResponse, QueryFollowsRequest, QueryFollowsResponse, QueryMembershipLevelsRequest, QueryMembershipLevelsResponse, ReadCollectionsResponse, RejectFeedMemberInviteRequest, RejectFeedMemberInviteResponse, RejectFollowRequest, RejectFollowResponse, Response, SingleFollowResponse, UnfollowBatchRequest, UnfollowBatchResponse, UnfollowResponse, UnpinActivityResponse, UpdateActivityPartialRequest, UpdateActivityPartialResponse, UpdateActivityRequest, UpdateActivityResponse, UpdateBookmarkFolderRequest, UpdateBookmarkFolderResponse, UpdateBookmarkRequest, UpdateBookmarkResponse, UpdateCollectionsRequest, UpdateCollectionsResponse, 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);
@@ -83,7 +83,7 @@ export declare class FeedsApi {
83
83
  prev?: string;
84
84
  next?: string;
85
85
  }): Promise<StreamResponse<GetCommentsResponse>>;
86
- addComment(request: AddCommentRequest): Promise<StreamResponse<AddCommentResponse>>;
86
+ addComment(request?: AddCommentRequest): Promise<StreamResponse<AddCommentResponse>>;
87
87
  addCommentsBatch(request: AddCommentsBatchRequest): Promise<StreamResponse<AddCommentsBatchResponse>>;
88
88
  queryComments(request: QueryCommentsRequest): Promise<StreamResponse<QueryCommentsResponse>>;
89
89
  deleteComment(request: {
@@ -234,7 +234,7 @@ export declare class FeedsApi {
234
234
  }): Promise<StreamResponse<UpdateMembershipLevelResponse>>;
235
235
  queryFeedsUsageStats(request?: QueryFeedsUsageStatsRequest): Promise<StreamResponse<QueryFeedsUsageStatsResponse>>;
236
236
  unfollowBatch(request: UnfollowBatchRequest): Promise<StreamResponse<UnfollowBatchResponse>>;
237
- deleteFeedUserData(request: {
237
+ deleteFeedUserData(request: DeleteFeedUserDataRequest & {
238
238
  user_id: string;
239
239
  }): Promise<StreamResponse<DeleteFeedUserDataResponse>>;
240
240
  exportFeedUserData(request: {
@@ -284,6 +284,7 @@ export interface ActivityRequest {
284
284
  parent_id?: string;
285
285
  poll_id?: string;
286
286
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
287
+ skip_enrich_url?: boolean;
287
288
  text?: string;
288
289
  user_id?: string;
289
290
  visibility?: 'public' | 'private' | 'tag';
@@ -384,6 +385,7 @@ export interface AddActivityRequest {
384
385
  parent_id?: string;
385
386
  poll_id?: string;
386
387
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
388
+ skip_enrich_url?: boolean;
387
389
  text?: string;
388
390
  user_id?: string;
389
391
  visibility?: 'public' | 'private' | 'tag';
@@ -427,12 +429,13 @@ export interface AddCommentReactionResponse {
427
429
  reaction: FeedsReactionResponse;
428
430
  }
429
431
  export interface AddCommentRequest {
430
- object_id: string;
431
- object_type: string;
432
432
  comment?: string;
433
433
  create_notification_activity?: boolean;
434
434
  id?: string;
435
+ object_id?: string;
436
+ object_type?: string;
435
437
  parent_id?: string;
438
+ skip_enrich_url?: boolean;
436
439
  skip_push?: boolean;
437
440
  user_id?: string;
438
441
  attachments?: Attachment[];
@@ -481,7 +484,7 @@ export interface AggregatedActivityResponse {
481
484
  is_watched?: boolean;
482
485
  }
483
486
  export interface AggregationConfig {
484
- format: string;
487
+ format?: string;
485
488
  }
486
489
  export interface AnyEvent {
487
490
  created_at: Date;
@@ -847,7 +850,7 @@ export interface BookmarkFolderResponse {
847
850
  id: string;
848
851
  name: string;
849
852
  updated_at: Date;
850
- user: UserResponseCommonFields;
853
+ user: UserResponse;
851
854
  custom?: Record<string, any>;
852
855
  }
853
856
  export interface BookmarkFolderUpdatedEvent {
@@ -862,7 +865,7 @@ export interface BookmarkResponse {
862
865
  created_at: Date;
863
866
  updated_at: Date;
864
867
  activity: ActivityResponse;
865
- user: UserResponseCommonFields;
868
+ user: UserResponse;
866
869
  custom?: Record<string, any>;
867
870
  folder?: BookmarkFolderResponse;
868
871
  }
@@ -1114,6 +1117,7 @@ export interface CallReactionEvent {
1114
1117
  export interface CallRecording {
1115
1118
  end_time: Date;
1116
1119
  filename: string;
1120
+ recording_type: string;
1117
1121
  session_id: string;
1118
1122
  start_time: Date;
1119
1123
  url: string;
@@ -1574,6 +1578,32 @@ export interface Channel {
1574
1578
  members_lookup?: Record<string, ChannelMemberLookup>;
1575
1579
  truncated_by?: User;
1576
1580
  }
1581
+ export interface ChannelBatchUpdatedCompletedEvent {
1582
+ batch_created_at: Date;
1583
+ created_at: Date;
1584
+ finished_at: Date;
1585
+ operation: string;
1586
+ status: string;
1587
+ success_channels_count: number;
1588
+ task_id: string;
1589
+ failed_channels: FailedChannelUpdates[];
1590
+ custom: Record<string, any>;
1591
+ type: string;
1592
+ received_at?: Date;
1593
+ }
1594
+ export interface ChannelBatchUpdatedStartedEvent {
1595
+ batch_created_at: Date;
1596
+ created_at: Date;
1597
+ finished_at: Date;
1598
+ operation: string;
1599
+ status: string;
1600
+ success_channels_count: number;
1601
+ task_id: string;
1602
+ failed_channels: FailedChannelUpdates[];
1603
+ custom: Record<string, any>;
1604
+ type: string;
1605
+ received_at?: Date;
1606
+ }
1577
1607
  export interface ChannelConfig {
1578
1608
  automod: 'disabled' | 'simple' | 'AI';
1579
1609
  automod_behavior: 'flag' | 'block' | 'shadow_block';
@@ -2674,12 +2704,12 @@ export interface DeleteFeedResponse {
2674
2704
  duration: string;
2675
2705
  task_id: string;
2676
2706
  }
2707
+ export interface DeleteFeedUserDataRequest {
2708
+ hard_delete?: boolean;
2709
+ }
2677
2710
  export interface DeleteFeedUserDataResponse {
2678
- deleted_activities: number;
2679
- deleted_bookmarks: number;
2680
- deleted_comments: number;
2681
- deleted_reactions: number;
2682
2711
  duration: string;
2712
+ task_id: string;
2683
2713
  }
2684
2714
  export interface DeleteFeedViewResponse {
2685
2715
  duration: string;
@@ -2936,6 +2966,7 @@ export interface EventHook {
2936
2966
  hook_type?: string;
2937
2967
  id?: string;
2938
2968
  product?: string;
2969
+ should_send_custom_events?: boolean;
2939
2970
  sns_auth_type?: string;
2940
2971
  sns_key?: string;
2941
2972
  sns_region?: string;
@@ -3010,6 +3041,10 @@ export interface ExternalStorageResponse {
3010
3041
  export interface FCM {
3011
3042
  data?: Record<string, any>;
3012
3043
  }
3044
+ export interface FailedChannelUpdates {
3045
+ reason: string;
3046
+ cids: string[];
3047
+ }
3013
3048
  export interface FeedCreatedEvent {
3014
3049
  created_at: Date;
3015
3050
  fid: string;
@@ -3255,6 +3290,7 @@ export interface FeedsModerationTemplateConfig {
3255
3290
  export interface FeedsPreferences {
3256
3291
  comment?: 'all' | 'none';
3257
3292
  comment_reaction?: 'all' | 'none';
3293
+ comment_reply?: 'all' | 'none';
3258
3294
  follow?: 'all' | 'none';
3259
3295
  mention?: 'all' | 'none';
3260
3296
  reaction?: 'all' | 'none';
@@ -3334,6 +3370,9 @@ export interface Flag {
3334
3370
  target_user?: User;
3335
3371
  user?: User;
3336
3372
  }
3373
+ export interface FlagCountRuleParameters {
3374
+ threshold?: number;
3375
+ }
3337
3376
  export interface FlagDetails {
3338
3377
  original_text: string;
3339
3378
  extra: Record<string, any>;
@@ -3740,6 +3779,7 @@ export interface GetOrCreateFeedGroupResponse {
3740
3779
  feed_group: FeedGroupResponse;
3741
3780
  }
3742
3781
  export interface GetOrCreateFeedRequest {
3782
+ id_around?: string;
3743
3783
  limit?: number;
3744
3784
  next?: string;
3745
3785
  prev?: string;
@@ -4780,7 +4820,14 @@ export interface NetworkMetricsReportResponse {
4780
4820
  export interface NoiseCancellationSettings {
4781
4821
  mode: 'available' | 'disabled' | 'auto-on';
4782
4822
  }
4823
+ export interface NotificationComment {
4824
+ comment: string;
4825
+ id: string;
4826
+ user_id: string;
4827
+ attachments?: Attachment[];
4828
+ }
4783
4829
  export interface NotificationConfig {
4830
+ deduplication_window?: string;
4784
4831
  track_read?: boolean;
4785
4832
  track_seen?: boolean;
4786
4833
  }
@@ -4842,10 +4889,12 @@ export interface NotificationTarget {
4842
4889
  type?: string;
4843
4890
  user_id?: string;
4844
4891
  attachments?: Attachment[];
4892
+ comment?: NotificationComment;
4845
4893
  }
4846
4894
  export interface NotificationTrigger {
4847
4895
  text: string;
4848
4896
  type: string;
4897
+ comment?: NotificationComment;
4849
4898
  }
4850
4899
  export interface OCRRule {
4851
4900
  action: 'flag' | 'shadow' | 'remove' | 'bounce' | 'bounce_flag' | 'bounce_remove';
@@ -6287,12 +6336,14 @@ export interface RuleBuilderCondition {
6287
6336
  confidence?: number;
6288
6337
  type?: string;
6289
6338
  content_count_rule_params?: ContentCountRuleParameters;
6339
+ content_flag_count_rule_params?: FlagCountRuleParameters;
6290
6340
  image_content_params?: ImageContentParameters;
6291
6341
  image_rule_params?: ImageRuleParameters;
6292
6342
  text_content_params?: TextContentParameters;
6293
6343
  text_rule_params?: TextRuleParameters;
6294
6344
  user_created_within_params?: UserCreatedWithinParameters;
6295
6345
  user_custom_property_params?: UserCustomPropertyParameters;
6346
+ user_flag_count_rule_params?: FlagCountRuleParameters;
6296
6347
  user_rule_params?: UserRuleParameters;
6297
6348
  video_content_params?: VideoContentParameters;
6298
6349
  video_rule_params?: VideoRuleParameters;
@@ -7138,6 +7189,7 @@ export interface UpdateActivityRequest {
7138
7189
  expires_at?: Date;
7139
7190
  poll_id?: string;
7140
7191
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
7192
+ skip_enrich_url?: boolean;
7141
7193
  text?: string;
7142
7194
  user_id?: string;
7143
7195
  visibility?: string;
@@ -7406,6 +7458,7 @@ export interface UpdateCommandResponse {
7406
7458
  }
7407
7459
  export interface UpdateCommentRequest {
7408
7460
  comment?: string;
7461
+ skip_enrich_url?: boolean;
7409
7462
  skip_push?: boolean;
7410
7463
  user_id?: string;
7411
7464
  custom?: Record<string, any>;
@@ -8231,6 +8284,10 @@ export type WebhookEvent = ({
8231
8284
  } & ChannelUpdatedEvent) | ({
8232
8285
  type: 'channel.visible';
8233
8286
  } & ChannelVisibleEvent) | ({
8287
+ type: 'channel_batch_update.completed';
8288
+ } & ChannelBatchUpdatedCompletedEvent) | ({
8289
+ type: 'channel_batch_update.started';
8290
+ } & ChannelBatchUpdatedStartedEvent) | ({
8234
8291
  type: 'custom';
8235
8292
  } & CustomVideoEvent) | ({
8236
8293
  type: 'export.bulk_image_moderation.error';
@@ -186,6 +186,9 @@ export declare class VideoApi {
186
186
  call_type: string;
187
187
  call_id: string;
188
188
  session: string;
189
+ limit?: number;
190
+ prev?: string;
191
+ next?: string;
189
192
  sort?: SortParamRequest[];
190
193
  filter_conditions?: Record<string, any>;
191
194
  }): Promise<StreamResponse<QueryCallSessionParticipantStatsResponse>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.7.20",
3
+ "version": "0.7.22",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -40,6 +40,7 @@ import {
40
40
  DeleteCommentResponse,
41
41
  DeleteFeedGroupResponse,
42
42
  DeleteFeedResponse,
43
+ DeleteFeedUserDataRequest,
43
44
  DeleteFeedUserDataResponse,
44
45
  DeleteFeedViewResponse,
45
46
  ExportFeedUserDataResponse,
@@ -150,6 +151,7 @@ export class FeedsApi {
150
151
  parent_id: request?.parent_id,
151
152
  poll_id: request?.poll_id,
152
153
  restrict_replies: request?.restrict_replies,
154
+ skip_enrich_url: request?.skip_enrich_url,
153
155
  text: request?.text,
154
156
  user_id: request?.user_id,
155
157
  visibility: request?.visibility,
@@ -599,6 +601,7 @@ export class FeedsApi {
599
601
  expires_at: request?.expires_at,
600
602
  poll_id: request?.poll_id,
601
603
  restrict_replies: request?.restrict_replies,
604
+ skip_enrich_url: request?.skip_enrich_url,
602
605
  text: request?.text,
603
606
  user_id: request?.user_id,
604
607
  visibility: request?.visibility,
@@ -870,15 +873,16 @@ export class FeedsApi {
870
873
  }
871
874
 
872
875
  async addComment(
873
- request: AddCommentRequest,
876
+ request?: AddCommentRequest,
874
877
  ): Promise<StreamResponse<AddCommentResponse>> {
875
878
  const body = {
876
- object_id: request?.object_id,
877
- object_type: request?.object_type,
878
879
  comment: request?.comment,
879
880
  create_notification_activity: request?.create_notification_activity,
880
881
  id: request?.id,
882
+ object_id: request?.object_id,
883
+ object_type: request?.object_type,
881
884
  parent_id: request?.parent_id,
885
+ skip_enrich_url: request?.skip_enrich_url,
882
886
  skip_push: request?.skip_push,
883
887
  user_id: request?.user_id,
884
888
  attachments: request?.attachments,
@@ -997,6 +1001,7 @@ export class FeedsApi {
997
1001
  };
998
1002
  const body = {
999
1003
  comment: request?.comment,
1004
+ skip_enrich_url: request?.skip_enrich_url,
1000
1005
  skip_push: request?.skip_push,
1001
1006
  user_id: request?.user_id,
1002
1007
  custom: request?.custom,
@@ -1224,6 +1229,7 @@ export class FeedsApi {
1224
1229
  feed_id: request?.feed_id,
1225
1230
  };
1226
1231
  const body = {
1232
+ id_around: request?.id_around,
1227
1233
  limit: request?.limit,
1228
1234
  next: request?.next,
1229
1235
  prev: request?.prev,
@@ -2250,16 +2256,26 @@ export class FeedsApi {
2250
2256
  return { ...response.body, metadata: response.metadata };
2251
2257
  }
2252
2258
 
2253
- async deleteFeedUserData(request: {
2254
- user_id: string;
2255
- }): Promise<StreamResponse<DeleteFeedUserDataResponse>> {
2259
+ async deleteFeedUserData(
2260
+ request: DeleteFeedUserDataRequest & { user_id: string },
2261
+ ): Promise<StreamResponse<DeleteFeedUserDataResponse>> {
2256
2262
  const pathParams = {
2257
2263
  user_id: request?.user_id,
2258
2264
  };
2265
+ const body = {
2266
+ hard_delete: request?.hard_delete,
2267
+ };
2259
2268
 
2260
2269
  const response = await this.apiClient.sendRequest<
2261
2270
  StreamResponse<DeleteFeedUserDataResponse>
2262
- >('DELETE', '/api/v2/feeds/users/{user_id}/delete', pathParams, undefined);
2271
+ >(
2272
+ 'POST',
2273
+ '/api/v2/feeds/users/{user_id}/delete',
2274
+ pathParams,
2275
+ undefined,
2276
+ body,
2277
+ 'application/json',
2278
+ );
2263
2279
 
2264
2280
  decoders.DeleteFeedUserDataResponse?.(response.body);
2265
2281
 
@@ -534,7 +534,7 @@ decoders.BookmarkFolderResponse = (input?: Record<string, any>) => {
534
534
 
535
535
  updated_at: { type: 'DatetimeType', isSingle: true },
536
536
 
537
- user: { type: 'UserResponseCommonFields', isSingle: true },
537
+ user: { type: 'UserResponse', isSingle: true },
538
538
  };
539
539
  return decode(typeMappings, input);
540
540
  };
@@ -560,7 +560,7 @@ decoders.BookmarkResponse = (input?: Record<string, any>) => {
560
560
 
561
561
  activity: { type: 'ActivityResponse', isSingle: true },
562
562
 
563
- user: { type: 'UserResponseCommonFields', isSingle: true },
563
+ user: { type: 'UserResponse', isSingle: true },
564
564
 
565
565
  folder: { type: 'BookmarkFolderResponse', isSingle: true },
566
566
  };
@@ -1204,6 +1204,32 @@ decoders.Channel = (input?: Record<string, any>) => {
1204
1204
  return decode(typeMappings, input);
1205
1205
  };
1206
1206
 
1207
+ decoders.ChannelBatchUpdatedCompletedEvent = (input?: Record<string, any>) => {
1208
+ const typeMappings: TypeMapping = {
1209
+ batch_created_at: { type: 'DatetimeType', isSingle: true },
1210
+
1211
+ created_at: { type: 'DatetimeType', isSingle: true },
1212
+
1213
+ finished_at: { type: 'DatetimeType', isSingle: true },
1214
+
1215
+ received_at: { type: 'DatetimeType', isSingle: true },
1216
+ };
1217
+ return decode(typeMappings, input);
1218
+ };
1219
+
1220
+ decoders.ChannelBatchUpdatedStartedEvent = (input?: Record<string, any>) => {
1221
+ const typeMappings: TypeMapping = {
1222
+ batch_created_at: { type: 'DatetimeType', isSingle: true },
1223
+
1224
+ created_at: { type: 'DatetimeType', isSingle: true },
1225
+
1226
+ finished_at: { type: 'DatetimeType', isSingle: true },
1227
+
1228
+ received_at: { type: 'DatetimeType', isSingle: true },
1229
+ };
1230
+ return decode(typeMappings, input);
1231
+ };
1232
+
1207
1233
  decoders.ChannelConfig = (input?: Record<string, any>) => {
1208
1234
  const typeMappings: TypeMapping = {
1209
1235
  created_at: { type: 'DatetimeType', isSingle: true },