@stream-io/feeds-client 1.7.0 → 1.9.0
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/CHANGELOG.md +14 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-DYZ59hqW.mjs → feeds-client-B8GZsmau.mjs} +4 -2
- package/dist/feeds-client-B8GZsmau.mjs.map +1 -0
- package/dist/{feeds-client-BeLCHq7r.js → feeds-client-C1uBsoNh.js} +4 -2
- package/dist/feeds-client-C1uBsoNh.js.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +32 -11
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +2 -0
- package/src/gen/models/index.ts +35 -11
- package/dist/feeds-client-BeLCHq7r.js.map +0 -1
- package/dist/feeds-client-DYZ59hqW.mjs.map +0 -1
package/src/gen/models/index.ts
CHANGED
|
@@ -554,7 +554,7 @@ export interface ActivityRequest {
|
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* @deprecated
|
|
557
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
557
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
558
558
|
*/
|
|
559
559
|
copy_custom_to_notification?: boolean;
|
|
560
560
|
|
|
@@ -971,7 +971,7 @@ export interface AddActivityRequest {
|
|
|
971
971
|
|
|
972
972
|
/**
|
|
973
973
|
* @deprecated
|
|
974
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
974
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
975
975
|
*/
|
|
976
976
|
copy_custom_to_notification?: boolean;
|
|
977
977
|
|
|
@@ -1111,7 +1111,7 @@ export interface AddCommentReactionRequest {
|
|
|
1111
1111
|
|
|
1112
1112
|
/**
|
|
1113
1113
|
* @deprecated
|
|
1114
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
1114
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
1115
1115
|
*/
|
|
1116
1116
|
copy_custom_to_notification?: boolean;
|
|
1117
1117
|
|
|
@@ -1157,7 +1157,7 @@ export interface AddCommentRequest {
|
|
|
1157
1157
|
|
|
1158
1158
|
/**
|
|
1159
1159
|
* @deprecated
|
|
1160
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
1160
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
1161
1161
|
*/
|
|
1162
1162
|
copy_custom_to_notification?: boolean;
|
|
1163
1163
|
|
|
@@ -1261,7 +1261,7 @@ export interface AddReactionRequest {
|
|
|
1261
1261
|
|
|
1262
1262
|
/**
|
|
1263
1263
|
* @deprecated
|
|
1264
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
1264
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
1265
1265
|
*/
|
|
1266
1266
|
copy_custom_to_notification?: boolean;
|
|
1267
1267
|
|
|
@@ -3830,6 +3830,11 @@ export interface EnrichmentOptions {
|
|
|
3830
3830
|
*/
|
|
3831
3831
|
enrich_own_followings?: boolean;
|
|
3832
3832
|
|
|
3833
|
+
/**
|
|
3834
|
+
* Default: false. When true, includes the top-level flat 'activities' array in responses for aggregated feeds. By default, aggregated feeds only return 'aggregated_activities'.
|
|
3835
|
+
*/
|
|
3836
|
+
include_flat_activities?: boolean;
|
|
3837
|
+
|
|
3833
3838
|
/**
|
|
3834
3839
|
* Default: false. When true, includes score_vars in activity responses containing variable values used at ranking time.
|
|
3835
3840
|
*/
|
|
@@ -5041,9 +5046,14 @@ export interface FollowRequest {
|
|
|
5041
5046
|
*/
|
|
5042
5047
|
target: string;
|
|
5043
5048
|
|
|
5049
|
+
/**
|
|
5050
|
+
* Maximum number of historical activities to copy from the target feed when the follow is first materialized. Defaults to 100. Range: 0-1000. 0 means no historical activities are copied.
|
|
5051
|
+
*/
|
|
5052
|
+
activity_copy_limit?: number;
|
|
5053
|
+
|
|
5044
5054
|
/**
|
|
5045
5055
|
* @deprecated
|
|
5046
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
5056
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
5047
5057
|
*/
|
|
5048
5058
|
copy_custom_to_notification?: boolean;
|
|
5049
5059
|
|
|
@@ -6872,6 +6882,9 @@ export interface PushPreferencesResponse {
|
|
|
6872
6882
|
export interface QueryActivitiesRequest {
|
|
6873
6883
|
enrich_own_fields?: boolean;
|
|
6874
6884
|
|
|
6885
|
+
/**
|
|
6886
|
+
* When true, include soft-deleted activities in the result.
|
|
6887
|
+
*/
|
|
6875
6888
|
include_soft_deleted_activities?: boolean;
|
|
6876
6889
|
|
|
6877
6890
|
limit?: number;
|
|
@@ -7454,6 +7467,9 @@ export interface QueryReviewQueueResponse {
|
|
|
7454
7467
|
}
|
|
7455
7468
|
|
|
7456
7469
|
export interface QueryUsersPayload {
|
|
7470
|
+
/**
|
|
7471
|
+
* Filter conditions to apply to the query
|
|
7472
|
+
*/
|
|
7457
7473
|
filter_conditions: Record<string, any>;
|
|
7458
7474
|
|
|
7459
7475
|
include_deactivated_users?: boolean;
|
|
@@ -7464,6 +7480,9 @@ export interface QueryUsersPayload {
|
|
|
7464
7480
|
|
|
7465
7481
|
presence?: boolean;
|
|
7466
7482
|
|
|
7483
|
+
/**
|
|
7484
|
+
* Array of sort parameters
|
|
7485
|
+
*/
|
|
7467
7486
|
sort?: SortParamRequest[];
|
|
7468
7487
|
}
|
|
7469
7488
|
|
|
@@ -8577,7 +8596,7 @@ export interface UnpinActivityResponse {
|
|
|
8577
8596
|
export interface UpdateActivityPartialRequest {
|
|
8578
8597
|
/**
|
|
8579
8598
|
* @deprecated
|
|
8580
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8599
|
+
* Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8581
8600
|
*/
|
|
8582
8601
|
copy_custom_to_notification?: boolean;
|
|
8583
8602
|
|
|
@@ -8616,7 +8635,7 @@ export interface UpdateActivityPartialResponse {
|
|
|
8616
8635
|
export interface UpdateActivityRequest {
|
|
8617
8636
|
/**
|
|
8618
8637
|
* @deprecated
|
|
8619
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8638
|
+
* Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8620
8639
|
*/
|
|
8621
8640
|
copy_custom_to_notification?: boolean;
|
|
8622
8641
|
|
|
@@ -8819,7 +8838,7 @@ export interface UpdateCollectionsResponse {
|
|
|
8819
8838
|
export interface UpdateCommentPartialRequest {
|
|
8820
8839
|
/**
|
|
8821
8840
|
* @deprecated
|
|
8822
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8841
|
+
* Whether to copy custom data to notification activities Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8823
8842
|
*/
|
|
8824
8843
|
copy_custom_to_notification?: boolean;
|
|
8825
8844
|
|
|
@@ -8863,7 +8882,7 @@ export interface UpdateCommentRequest {
|
|
|
8863
8882
|
|
|
8864
8883
|
/**
|
|
8865
8884
|
* @deprecated
|
|
8866
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8885
|
+
* Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8867
8886
|
*/
|
|
8868
8887
|
copy_custom_to_notification?: boolean;
|
|
8869
8888
|
|
|
@@ -8977,9 +8996,14 @@ export interface UpdateFollowRequest {
|
|
|
8977
8996
|
*/
|
|
8978
8997
|
target: string;
|
|
8979
8998
|
|
|
8999
|
+
/**
|
|
9000
|
+
* Maximum number of historical activities to copy from the target feed when the follow is first materialized. Defaults to 100. Range: 0-1000. 0 means no historical activities are copied.
|
|
9001
|
+
*/
|
|
9002
|
+
activity_copy_limit?: number;
|
|
9003
|
+
|
|
8980
9004
|
/**
|
|
8981
9005
|
* @deprecated
|
|
8982
|
-
* Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
9006
|
+
* Whether to copy custom data to the notification activity (only applies when create_notification_activity is true) Deprecated: use notification_context.trigger.custom and notification_context.target.custom instead
|
|
8983
9007
|
*/
|
|
8984
9008
|
copy_custom_to_notification?: boolean;
|
|
8985
9009
|
|