@stream-io/node-sdk 0.8.5 → 0.8.6

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.
@@ -821,6 +821,7 @@ export interface ActivitySelectorConfig {
821
821
  * Sort parameters for activity selection
822
822
  */
823
823
  sort?: Array<SortParamRequest>;
824
+ feed_groups?: FeedGroupScope;
824
825
  /**
825
826
  * Filter for activity selection
826
827
  */
@@ -848,6 +849,7 @@ export interface ActivitySelectorConfigResponse {
848
849
  * Sort parameters for activity selection
849
850
  */
850
851
  sort?: Array<SortParamRequest>;
852
+ feed_groups?: FeedGroupScope;
851
853
  /**
852
854
  * Filter for activity selection
853
855
  */
@@ -8017,6 +8019,16 @@ export interface FeedGroupRestoredEvent {
8017
8019
  feed_visibility?: string;
8018
8020
  received_at?: Date;
8019
8021
  }
8022
+ export interface FeedGroupScope {
8023
+ /**
8024
+ * Select activities from every feed group except these. An activity cross-posted to an excluded and a non-excluded group is still selected. Mutually exclusive with include
8025
+ */
8026
+ exclude?: Array<string>;
8027
+ /**
8028
+ * Select only activities that live in a feed belonging to one of these feed groups. Mutually exclusive with exclude
8029
+ */
8030
+ include?: Array<string>;
8031
+ }
8020
8032
  export interface FeedInput {
8021
8033
  description?: string;
8022
8034
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -1148,6 +1148,8 @@ export interface ActivitySelectorConfig {
1148
1148
  */
1149
1149
  sort?: Array<SortParamRequest>;
1150
1150
 
1151
+ feed_groups?: FeedGroupScope;
1152
+
1151
1153
  /**
1152
1154
  * Filter for activity selection
1153
1155
  */
@@ -1190,6 +1192,8 @@ export interface ActivitySelectorConfigResponse {
1190
1192
  */
1191
1193
  sort?: Array<SortParamRequest>;
1192
1194
 
1195
+ feed_groups?: FeedGroupScope;
1196
+
1193
1197
  /**
1194
1198
  * Filter for activity selection
1195
1199
  */
@@ -11288,6 +11292,18 @@ export interface FeedGroupRestoredEvent {
11288
11292
  received_at?: Date;
11289
11293
  }
11290
11294
 
11295
+ export interface FeedGroupScope {
11296
+ /**
11297
+ * Select activities from every feed group except these. An activity cross-posted to an excluded and a non-excluded group is still selected. Mutually exclusive with include
11298
+ */
11299
+ exclude?: Array<string>;
11300
+
11301
+ /**
11302
+ * Select only activities that live in a feed belonging to one of these feed groups. Mutually exclusive with exclude
11303
+ */
11304
+ include?: Array<string>;
11305
+ }
11306
+
11291
11307
  export interface FeedInput {
11292
11308
  description?: string;
11293
11309