@stream-io/feeds-client 0.3.39 → 0.3.41

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.
@@ -724,6 +724,7 @@ export class FeedsApi {
724
724
  };
725
725
  const body = {
726
726
  handle_mention_notifications: request?.handle_mention_notifications,
727
+ run_activity_processors: request?.run_activity_processors,
727
728
  unset: request?.unset,
728
729
  set: request?.set,
729
730
  };
@@ -755,6 +756,7 @@ export class FeedsApi {
755
756
  handle_mention_notifications: request?.handle_mention_notifications,
756
757
  poll_id: request?.poll_id,
757
758
  restrict_replies: request?.restrict_replies,
759
+ run_activity_processors: request?.run_activity_processors,
758
760
  skip_enrich_url: request?.skip_enrich_url,
759
761
  text: request?.text,
760
762
  visibility: request?.visibility,
@@ -796,7 +798,7 @@ export class FeedsApi {
796
798
  const response = await this.apiClient.sendRequest<
797
799
  StreamResponse<RestoreActivityResponse>
798
800
  >(
799
- 'PUT',
801
+ 'POST',
800
802
  '/api/v2/feeds/activities/{id}/restore',
801
803
  pathParams,
802
804
  undefined,
@@ -5759,6 +5759,8 @@ export interface UnpinActivityResponse {
5759
5759
  export interface UpdateActivityPartialRequest {
5760
5760
  handle_mention_notifications?: boolean;
5761
5761
 
5762
+ run_activity_processors?: boolean;
5763
+
5762
5764
  unset?: string[];
5763
5765
 
5764
5766
  set?: Record<string, any>;
@@ -5779,6 +5781,8 @@ export interface UpdateActivityRequest {
5779
5781
 
5780
5782
  restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
5781
5783
 
5784
+ run_activity_processors?: boolean;
5785
+
5782
5786
  skip_enrich_url?: boolean;
5783
5787
 
5784
5788
  text?: string;