@stream-io/node-sdk 0.7.37 → 0.7.39
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.cjs.js
CHANGED
|
@@ -7363,7 +7363,7 @@ class ApiClient {
|
|
|
7363
7363
|
const headers = {
|
|
7364
7364
|
Authorization: this.apiConfig.token,
|
|
7365
7365
|
'stream-auth-type': 'jwt',
|
|
7366
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
7366
|
+
'X-Stream-Client': 'stream-node-' + "0.7.39",
|
|
7367
7367
|
'Accept-Encoding': 'gzip',
|
|
7368
7368
|
'x-client-request-id': clientRequestId,
|
|
7369
7369
|
};
|
|
@@ -7675,6 +7675,7 @@ class FeedsApi {
|
|
|
7675
7675
|
};
|
|
7676
7676
|
const body = {
|
|
7677
7677
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
7678
|
+
run_activity_processors: request?.run_activity_processors,
|
|
7678
7679
|
user_id: request?.user_id,
|
|
7679
7680
|
unset: request?.unset,
|
|
7680
7681
|
set: request?.set,
|
|
@@ -7693,6 +7694,7 @@ class FeedsApi {
|
|
|
7693
7694
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
7694
7695
|
poll_id: request?.poll_id,
|
|
7695
7696
|
restrict_replies: request?.restrict_replies,
|
|
7697
|
+
run_activity_processors: request?.run_activity_processors,
|
|
7696
7698
|
skip_enrich_url: request?.skip_enrich_url,
|
|
7697
7699
|
text: request?.text,
|
|
7698
7700
|
user_id: request?.user_id,
|
|
@@ -7720,7 +7722,7 @@ class FeedsApi {
|
|
|
7720
7722
|
user_id: request?.user_id,
|
|
7721
7723
|
user: request?.user,
|
|
7722
7724
|
};
|
|
7723
|
-
const response = await this.apiClient.sendRequest('
|
|
7725
|
+
const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/activities/{id}/restore', pathParams, undefined, body, 'application/json');
|
|
7724
7726
|
decoders.RestoreActivityResponse?.(response.body);
|
|
7725
7727
|
return { ...response.body, metadata: response.metadata };
|
|
7726
7728
|
}
|