@stream-io/node-sdk 0.7.54 → 0.7.55
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.
|
@@ -299,6 +299,12 @@ export interface ActivityFeedbackResponse {
|
|
|
299
299
|
activity_id: string;
|
|
300
300
|
duration: string;
|
|
301
301
|
}
|
|
302
|
+
export interface ActivityFilterConfig {
|
|
303
|
+
/**
|
|
304
|
+
* When true, activities authored by the feed owner are excluded from feed reads
|
|
305
|
+
*/
|
|
306
|
+
exclude_owner_activities?: boolean;
|
|
307
|
+
}
|
|
302
308
|
export interface ActivityMarkEvent {
|
|
303
309
|
/**
|
|
304
310
|
* Date/time of creation
|
|
@@ -4852,6 +4858,7 @@ export interface CreateFeedGroupRequest {
|
|
|
4852
4858
|
* Configuration for activity selectors
|
|
4853
4859
|
*/
|
|
4854
4860
|
activity_selectors?: ActivitySelectorConfig[];
|
|
4861
|
+
activity_filter?: ActivityFilterConfig;
|
|
4855
4862
|
aggregation?: AggregationConfig;
|
|
4856
4863
|
/**
|
|
4857
4864
|
* Custom data for the feed group
|
|
@@ -4875,6 +4882,7 @@ export interface CreateFeedViewRequest {
|
|
|
4875
4882
|
* Configuration for selecting activities
|
|
4876
4883
|
*/
|
|
4877
4884
|
activity_selectors?: ActivitySelectorConfig[];
|
|
4885
|
+
activity_filter?: ActivityFilterConfig;
|
|
4878
4886
|
aggregation?: AggregationConfig;
|
|
4879
4887
|
ranking?: RankingConfig;
|
|
4880
4888
|
}
|
|
@@ -6237,6 +6245,7 @@ export interface FeedGroup {
|
|
|
6237
6245
|
custom: Record<string, any>;
|
|
6238
6246
|
deleted_at?: Date;
|
|
6239
6247
|
last_feed_get_at?: Date;
|
|
6248
|
+
activity_filter?: ActivityFilterConfig;
|
|
6240
6249
|
aggregation?: AggregationConfig;
|
|
6241
6250
|
notification?: NotificationConfig;
|
|
6242
6251
|
push_notification?: PushNotificationConfig;
|
|
@@ -6303,6 +6312,7 @@ export interface FeedGroupResponse {
|
|
|
6303
6312
|
* Configuration for activity selectors
|
|
6304
6313
|
*/
|
|
6305
6314
|
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
6315
|
+
activity_filter?: ActivityFilterConfig;
|
|
6306
6316
|
aggregation?: AggregationConfig;
|
|
6307
6317
|
/**
|
|
6308
6318
|
* Custom data for the feed group
|
|
@@ -6713,6 +6723,7 @@ export interface FeedViewResponse {
|
|
|
6713
6723
|
* Configured activity selectors
|
|
6714
6724
|
*/
|
|
6715
6725
|
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
6726
|
+
activity_filter?: ActivityFilterConfig;
|
|
6716
6727
|
aggregation?: AggregationConfig;
|
|
6717
6728
|
ranking?: RankingConfig;
|
|
6718
6729
|
}
|
|
@@ -7668,6 +7679,7 @@ export interface GetOrCreateFeedGroupRequest {
|
|
|
7668
7679
|
* Configuration for activity selectors
|
|
7669
7680
|
*/
|
|
7670
7681
|
activity_selectors?: ActivitySelectorConfig[];
|
|
7682
|
+
activity_filter?: ActivityFilterConfig;
|
|
7671
7683
|
aggregation?: AggregationConfig;
|
|
7672
7684
|
/**
|
|
7673
7685
|
* Custom data for the feed group
|
|
@@ -7730,6 +7742,7 @@ export interface GetOrCreateFeedViewRequest {
|
|
|
7730
7742
|
* Configuration for selecting activities
|
|
7731
7743
|
*/
|
|
7732
7744
|
activity_selectors?: ActivitySelectorConfig[];
|
|
7745
|
+
activity_filter?: ActivityFilterConfig;
|
|
7733
7746
|
aggregation?: AggregationConfig;
|
|
7734
7747
|
ranking?: RankingConfig;
|
|
7735
7748
|
}
|
|
@@ -15439,6 +15452,7 @@ export interface UpdateFeedGroupRequest {
|
|
|
15439
15452
|
* Configuration for activity selectors
|
|
15440
15453
|
*/
|
|
15441
15454
|
activity_selectors?: ActivitySelectorConfig[];
|
|
15455
|
+
activity_filter?: ActivityFilterConfig;
|
|
15442
15456
|
aggregation?: AggregationConfig;
|
|
15443
15457
|
/**
|
|
15444
15458
|
* Custom data for the feed group
|
|
@@ -15515,6 +15529,7 @@ export interface UpdateFeedViewRequest {
|
|
|
15515
15529
|
* Updated configuration for selecting activities
|
|
15516
15530
|
*/
|
|
15517
15531
|
activity_selectors?: ActivitySelectorConfig[];
|
|
15532
|
+
activity_filter?: ActivityFilterConfig;
|
|
15518
15533
|
aggregation?: AggregationConfig;
|
|
15519
15534
|
ranking?: RankingConfig;
|
|
15520
15535
|
}
|
package/package.json
CHANGED
|
@@ -1514,6 +1514,7 @@ export class FeedsApi {
|
|
|
1514
1514
|
default_visibility: request?.default_visibility,
|
|
1515
1515
|
activity_processors: request?.activity_processors,
|
|
1516
1516
|
activity_selectors: request?.activity_selectors,
|
|
1517
|
+
activity_filter: request?.activity_filter,
|
|
1517
1518
|
aggregation: request?.aggregation,
|
|
1518
1519
|
custom: request?.custom,
|
|
1519
1520
|
notification: request?.notification,
|
|
@@ -2004,6 +2005,7 @@ export class FeedsApi {
|
|
|
2004
2005
|
default_visibility: request?.default_visibility,
|
|
2005
2006
|
activity_processors: request?.activity_processors,
|
|
2006
2007
|
activity_selectors: request?.activity_selectors,
|
|
2008
|
+
activity_filter: request?.activity_filter,
|
|
2007
2009
|
aggregation: request?.aggregation,
|
|
2008
2010
|
custom: request?.custom,
|
|
2009
2011
|
notification: request?.notification,
|
|
@@ -2038,6 +2040,7 @@ export class FeedsApi {
|
|
|
2038
2040
|
default_visibility: request?.default_visibility,
|
|
2039
2041
|
activity_processors: request?.activity_processors,
|
|
2040
2042
|
activity_selectors: request?.activity_selectors,
|
|
2043
|
+
activity_filter: request?.activity_filter,
|
|
2041
2044
|
aggregation: request?.aggregation,
|
|
2042
2045
|
custom: request?.custom,
|
|
2043
2046
|
notification: request?.notification,
|
|
@@ -2078,6 +2081,7 @@ export class FeedsApi {
|
|
|
2078
2081
|
const body = {
|
|
2079
2082
|
id: request?.id,
|
|
2080
2083
|
activity_selectors: request?.activity_selectors,
|
|
2084
|
+
activity_filter: request?.activity_filter,
|
|
2081
2085
|
aggregation: request?.aggregation,
|
|
2082
2086
|
ranking: request?.ranking,
|
|
2083
2087
|
};
|
|
@@ -2138,6 +2142,7 @@ export class FeedsApi {
|
|
|
2138
2142
|
};
|
|
2139
2143
|
const body = {
|
|
2140
2144
|
activity_selectors: request?.activity_selectors,
|
|
2145
|
+
activity_filter: request?.activity_filter,
|
|
2141
2146
|
aggregation: request?.aggregation,
|
|
2142
2147
|
ranking: request?.ranking,
|
|
2143
2148
|
};
|
|
@@ -2166,6 +2171,7 @@ export class FeedsApi {
|
|
|
2166
2171
|
};
|
|
2167
2172
|
const body = {
|
|
2168
2173
|
activity_selectors: request?.activity_selectors,
|
|
2174
|
+
activity_filter: request?.activity_filter,
|
|
2169
2175
|
aggregation: request?.aggregation,
|
|
2170
2176
|
ranking: request?.ranking,
|
|
2171
2177
|
};
|
package/src/gen/models/index.ts
CHANGED
|
@@ -450,6 +450,13 @@ export interface ActivityFeedbackResponse {
|
|
|
450
450
|
duration: string;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
+
export interface ActivityFilterConfig {
|
|
454
|
+
/**
|
|
455
|
+
* When true, activities authored by the feed owner are excluded from feed reads
|
|
456
|
+
*/
|
|
457
|
+
exclude_owner_activities?: boolean;
|
|
458
|
+
}
|
|
459
|
+
|
|
453
460
|
export interface ActivityMarkEvent {
|
|
454
461
|
/**
|
|
455
462
|
* Date/time of creation
|
|
@@ -7048,6 +7055,8 @@ export interface CreateFeedGroupRequest {
|
|
|
7048
7055
|
*/
|
|
7049
7056
|
activity_selectors?: ActivitySelectorConfig[];
|
|
7050
7057
|
|
|
7058
|
+
activity_filter?: ActivityFilterConfig;
|
|
7059
|
+
|
|
7051
7060
|
aggregation?: AggregationConfig;
|
|
7052
7061
|
|
|
7053
7062
|
/**
|
|
@@ -7081,6 +7090,8 @@ export interface CreateFeedViewRequest {
|
|
|
7081
7090
|
*/
|
|
7082
7091
|
activity_selectors?: ActivitySelectorConfig[];
|
|
7083
7092
|
|
|
7093
|
+
activity_filter?: ActivityFilterConfig;
|
|
7094
|
+
|
|
7084
7095
|
aggregation?: AggregationConfig;
|
|
7085
7096
|
|
|
7086
7097
|
ranking?: RankingConfig;
|
|
@@ -8939,6 +8950,8 @@ export interface FeedGroup {
|
|
|
8939
8950
|
|
|
8940
8951
|
last_feed_get_at?: Date;
|
|
8941
8952
|
|
|
8953
|
+
activity_filter?: ActivityFilterConfig;
|
|
8954
|
+
|
|
8942
8955
|
aggregation?: AggregationConfig;
|
|
8943
8956
|
|
|
8944
8957
|
notification?: NotificationConfig;
|
|
@@ -9038,6 +9051,8 @@ export interface FeedGroupResponse {
|
|
|
9038
9051
|
*/
|
|
9039
9052
|
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
9040
9053
|
|
|
9054
|
+
activity_filter?: ActivityFilterConfig;
|
|
9055
|
+
|
|
9041
9056
|
aggregation?: AggregationConfig;
|
|
9042
9057
|
|
|
9043
9058
|
/**
|
|
@@ -9586,6 +9601,8 @@ export interface FeedViewResponse {
|
|
|
9586
9601
|
*/
|
|
9587
9602
|
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
9588
9603
|
|
|
9604
|
+
activity_filter?: ActivityFilterConfig;
|
|
9605
|
+
|
|
9589
9606
|
aggregation?: AggregationConfig;
|
|
9590
9607
|
|
|
9591
9608
|
ranking?: RankingConfig;
|
|
@@ -11018,6 +11035,8 @@ export interface GetOrCreateFeedGroupRequest {
|
|
|
11018
11035
|
*/
|
|
11019
11036
|
activity_selectors?: ActivitySelectorConfig[];
|
|
11020
11037
|
|
|
11038
|
+
activity_filter?: ActivityFilterConfig;
|
|
11039
|
+
|
|
11021
11040
|
aggregation?: AggregationConfig;
|
|
11022
11041
|
|
|
11023
11042
|
/**
|
|
@@ -11122,6 +11141,8 @@ export interface GetOrCreateFeedViewRequest {
|
|
|
11122
11141
|
*/
|
|
11123
11142
|
activity_selectors?: ActivitySelectorConfig[];
|
|
11124
11143
|
|
|
11144
|
+
activity_filter?: ActivityFilterConfig;
|
|
11145
|
+
|
|
11125
11146
|
aggregation?: AggregationConfig;
|
|
11126
11147
|
|
|
11127
11148
|
ranking?: RankingConfig;
|
|
@@ -22334,6 +22355,8 @@ export interface UpdateFeedGroupRequest {
|
|
|
22334
22355
|
*/
|
|
22335
22356
|
activity_selectors?: ActivitySelectorConfig[];
|
|
22336
22357
|
|
|
22358
|
+
activity_filter?: ActivityFilterConfig;
|
|
22359
|
+
|
|
22337
22360
|
aggregation?: AggregationConfig;
|
|
22338
22361
|
|
|
22339
22362
|
/**
|
|
@@ -22439,6 +22462,8 @@ export interface UpdateFeedViewRequest {
|
|
|
22439
22462
|
*/
|
|
22440
22463
|
activity_selectors?: ActivitySelectorConfig[];
|
|
22441
22464
|
|
|
22465
|
+
activity_filter?: ActivityFilterConfig;
|
|
22466
|
+
|
|
22442
22467
|
aggregation?: AggregationConfig;
|
|
22443
22468
|
|
|
22444
22469
|
ranking?: RankingConfig;
|