@stream-io/node-sdk 0.7.17 → 0.7.18
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.
|
@@ -428,6 +428,7 @@ export interface AddCommentRequest {
|
|
|
428
428
|
object_type: string;
|
|
429
429
|
comment?: string;
|
|
430
430
|
create_notification_activity?: boolean;
|
|
431
|
+
id?: string;
|
|
431
432
|
parent_id?: string;
|
|
432
433
|
skip_push?: boolean;
|
|
433
434
|
user_id?: string;
|
|
@@ -477,7 +478,7 @@ export interface AggregatedActivityResponse {
|
|
|
477
478
|
is_watched?: boolean;
|
|
478
479
|
}
|
|
479
480
|
export interface AggregationConfig {
|
|
480
|
-
format
|
|
481
|
+
format: string;
|
|
481
482
|
}
|
|
482
483
|
export interface AnyEvent {
|
|
483
484
|
created_at: Date;
|
|
@@ -2341,7 +2342,6 @@ export interface CreateFeedGroupResponse {
|
|
|
2341
2342
|
}
|
|
2342
2343
|
export interface CreateFeedViewRequest {
|
|
2343
2344
|
id: string;
|
|
2344
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
2345
2345
|
activity_selectors?: ActivitySelectorConfig[];
|
|
2346
2346
|
aggregation?: AggregationConfig;
|
|
2347
2347
|
ranking?: RankingConfig;
|
|
@@ -3152,7 +3152,6 @@ export interface FeedUpdatedEvent {
|
|
|
3152
3152
|
export interface FeedViewResponse {
|
|
3153
3153
|
id: string;
|
|
3154
3154
|
last_used_at?: Date;
|
|
3155
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
3156
3155
|
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
3157
3156
|
aggregation?: AggregationConfig;
|
|
3158
3157
|
ranking?: RankingConfig;
|
|
@@ -3648,7 +3647,6 @@ export interface GetOrCreateFeedRequest {
|
|
|
3648
3647
|
user_id?: string;
|
|
3649
3648
|
view?: string;
|
|
3650
3649
|
watch?: boolean;
|
|
3651
|
-
activity_selector_options?: Record<string, any>;
|
|
3652
3650
|
data?: FeedInput;
|
|
3653
3651
|
external_ranking?: Record<string, any>;
|
|
3654
3652
|
filter?: Record<string, any>;
|
|
@@ -3676,7 +3674,6 @@ export interface GetOrCreateFeedResponse {
|
|
|
3676
3674
|
notification_status?: NotificationStatusResponse;
|
|
3677
3675
|
}
|
|
3678
3676
|
export interface GetOrCreateFeedViewRequest {
|
|
3679
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
3680
3677
|
activity_selectors?: ActivitySelectorConfig[];
|
|
3681
3678
|
aggregation?: AggregationConfig;
|
|
3682
3679
|
ranking?: RankingConfig;
|
|
@@ -5255,11 +5252,14 @@ export interface QualityScoreReportResponse {
|
|
|
5255
5252
|
daily: DailyAggregateQualityScoreReportResponse[];
|
|
5256
5253
|
}
|
|
5257
5254
|
export interface QueryActivitiesRequest {
|
|
5255
|
+
include_private_activities?: boolean;
|
|
5258
5256
|
limit?: number;
|
|
5259
5257
|
next?: string;
|
|
5260
5258
|
prev?: string;
|
|
5259
|
+
user_id?: string;
|
|
5261
5260
|
sort?: SortParamRequest[];
|
|
5262
5261
|
filter?: Record<string, any>;
|
|
5262
|
+
user?: UserRequest;
|
|
5263
5263
|
}
|
|
5264
5264
|
export interface QueryActivitiesResponse {
|
|
5265
5265
|
duration: string;
|
|
@@ -7187,7 +7187,6 @@ export interface UpdateFeedResponse {
|
|
|
7187
7187
|
feed: FeedResponse;
|
|
7188
7188
|
}
|
|
7189
7189
|
export interface UpdateFeedViewRequest {
|
|
7190
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
7191
7190
|
activity_selectors?: ActivitySelectorConfig[];
|
|
7192
7191
|
aggregation?: AggregationConfig;
|
|
7193
7192
|
ranking?: RankingConfig;
|
package/package.json
CHANGED
|
@@ -224,11 +224,14 @@ export class FeedsApi {
|
|
|
224
224
|
request?: QueryActivitiesRequest,
|
|
225
225
|
): Promise<StreamResponse<QueryActivitiesResponse>> {
|
|
226
226
|
const body = {
|
|
227
|
+
include_private_activities: request?.include_private_activities,
|
|
227
228
|
limit: request?.limit,
|
|
228
229
|
next: request?.next,
|
|
229
230
|
prev: request?.prev,
|
|
231
|
+
user_id: request?.user_id,
|
|
230
232
|
sort: request?.sort,
|
|
231
233
|
filter: request?.filter,
|
|
234
|
+
user: request?.user,
|
|
232
235
|
};
|
|
233
236
|
|
|
234
237
|
const response = await this.apiClient.sendRequest<
|
|
@@ -757,6 +760,7 @@ export class FeedsApi {
|
|
|
757
760
|
object_type: request?.object_type,
|
|
758
761
|
comment: request?.comment,
|
|
759
762
|
create_notification_activity: request?.create_notification_activity,
|
|
763
|
+
id: request?.id,
|
|
760
764
|
parent_id: request?.parent_id,
|
|
761
765
|
skip_push: request?.skip_push,
|
|
762
766
|
user_id: request?.user_id,
|
|
@@ -1109,7 +1113,6 @@ export class FeedsApi {
|
|
|
1109
1113
|
user_id: request?.user_id,
|
|
1110
1114
|
view: request?.view,
|
|
1111
1115
|
watch: request?.watch,
|
|
1112
|
-
activity_selector_options: request?.activity_selector_options,
|
|
1113
1116
|
data: request?.data,
|
|
1114
1117
|
external_ranking: request?.external_ranking,
|
|
1115
1118
|
filter: request?.filter,
|
|
@@ -1537,7 +1540,6 @@ export class FeedsApi {
|
|
|
1537
1540
|
): Promise<StreamResponse<CreateFeedViewResponse>> {
|
|
1538
1541
|
const body = {
|
|
1539
1542
|
id: request?.id,
|
|
1540
|
-
activity_processors: request?.activity_processors,
|
|
1541
1543
|
activity_selectors: request?.activity_selectors,
|
|
1542
1544
|
aggregation: request?.aggregation,
|
|
1543
1545
|
ranking: request?.ranking,
|
|
@@ -1598,7 +1600,6 @@ export class FeedsApi {
|
|
|
1598
1600
|
id: request?.id,
|
|
1599
1601
|
};
|
|
1600
1602
|
const body = {
|
|
1601
|
-
activity_processors: request?.activity_processors,
|
|
1602
1603
|
activity_selectors: request?.activity_selectors,
|
|
1603
1604
|
aggregation: request?.aggregation,
|
|
1604
1605
|
ranking: request?.ranking,
|
|
@@ -1627,7 +1628,6 @@ export class FeedsApi {
|
|
|
1627
1628
|
id: request?.id,
|
|
1628
1629
|
};
|
|
1629
1630
|
const body = {
|
|
1630
|
-
activity_processors: request?.activity_processors,
|
|
1631
1631
|
activity_selectors: request?.activity_selectors,
|
|
1632
1632
|
aggregation: request?.aggregation,
|
|
1633
1633
|
ranking: request?.ranking,
|
package/src/gen/models/index.ts
CHANGED
|
@@ -771,6 +771,8 @@ export interface AddCommentRequest {
|
|
|
771
771
|
|
|
772
772
|
create_notification_activity?: boolean;
|
|
773
773
|
|
|
774
|
+
id?: string;
|
|
775
|
+
|
|
774
776
|
parent_id?: string;
|
|
775
777
|
|
|
776
778
|
skip_push?: boolean;
|
|
@@ -853,7 +855,7 @@ export interface AggregatedActivityResponse {
|
|
|
853
855
|
}
|
|
854
856
|
|
|
855
857
|
export interface AggregationConfig {
|
|
856
|
-
format
|
|
858
|
+
format: string;
|
|
857
859
|
}
|
|
858
860
|
|
|
859
861
|
export interface AnyEvent {
|
|
@@ -4172,8 +4174,6 @@ export interface CreateFeedGroupResponse {
|
|
|
4172
4174
|
export interface CreateFeedViewRequest {
|
|
4173
4175
|
id: string;
|
|
4174
4176
|
|
|
4175
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
4176
|
-
|
|
4177
4177
|
activity_selectors?: ActivitySelectorConfig[];
|
|
4178
4178
|
|
|
4179
4179
|
aggregation?: AggregationConfig;
|
|
@@ -5524,8 +5524,6 @@ export interface FeedViewResponse {
|
|
|
5524
5524
|
|
|
5525
5525
|
last_used_at?: Date;
|
|
5526
5526
|
|
|
5527
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
5528
|
-
|
|
5529
5527
|
activity_selectors?: ActivitySelectorConfigResponse[];
|
|
5530
5528
|
|
|
5531
5529
|
aggregation?: AggregationConfig;
|
|
@@ -6383,8 +6381,6 @@ export interface GetOrCreateFeedRequest {
|
|
|
6383
6381
|
|
|
6384
6382
|
watch?: boolean;
|
|
6385
6383
|
|
|
6386
|
-
activity_selector_options?: Record<string, any>;
|
|
6387
|
-
|
|
6388
6384
|
data?: FeedInput;
|
|
6389
6385
|
|
|
6390
6386
|
external_ranking?: Record<string, any>;
|
|
@@ -6435,8 +6431,6 @@ export interface GetOrCreateFeedResponse {
|
|
|
6435
6431
|
}
|
|
6436
6432
|
|
|
6437
6433
|
export interface GetOrCreateFeedViewRequest {
|
|
6438
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
6439
|
-
|
|
6440
6434
|
activity_selectors?: ActivitySelectorConfig[];
|
|
6441
6435
|
|
|
6442
6436
|
aggregation?: AggregationConfig;
|
|
@@ -9182,15 +9176,21 @@ export interface QualityScoreReportResponse {
|
|
|
9182
9176
|
}
|
|
9183
9177
|
|
|
9184
9178
|
export interface QueryActivitiesRequest {
|
|
9179
|
+
include_private_activities?: boolean;
|
|
9180
|
+
|
|
9185
9181
|
limit?: number;
|
|
9186
9182
|
|
|
9187
9183
|
next?: string;
|
|
9188
9184
|
|
|
9189
9185
|
prev?: string;
|
|
9190
9186
|
|
|
9187
|
+
user_id?: string;
|
|
9188
|
+
|
|
9191
9189
|
sort?: SortParamRequest[];
|
|
9192
9190
|
|
|
9193
9191
|
filter?: Record<string, any>;
|
|
9192
|
+
|
|
9193
|
+
user?: UserRequest;
|
|
9194
9194
|
}
|
|
9195
9195
|
|
|
9196
9196
|
export interface QueryActivitiesResponse {
|
|
@@ -12769,8 +12769,6 @@ export interface UpdateFeedResponse {
|
|
|
12769
12769
|
}
|
|
12770
12770
|
|
|
12771
12771
|
export interface UpdateFeedViewRequest {
|
|
12772
|
-
activity_processors?: ActivityProcessorConfig[];
|
|
12773
|
-
|
|
12774
12772
|
activity_selectors?: ActivitySelectorConfig[];
|
|
12775
12773
|
|
|
12776
12774
|
aggregation?: AggregationConfig;
|