@stream-io/feeds-client 0.3.43 → 0.3.45
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 +9 -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 +2 -2
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-B1mzWjrM.js → feeds-client-CN3FjVMk.js} +13 -2
- package/dist/feeds-client-CN3FjVMk.js.map +1 -0
- package/dist/{feeds-client-O3lXU8Bl.mjs → feeds-client-DK7PXh7g.mjs} +13 -2
- package/dist/feeds-client-DK7PXh7g.mjs.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts +3 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +30 -2
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +10 -0
- package/src/gen/model-decoders/decoders.ts +2 -0
- package/src/gen/models/index.ts +58 -2
- package/dist/feeds-client-B1mzWjrM.js.map +0 -1
- package/dist/feeds-client-O3lXU8Bl.mjs.map +0 -1
package/src/gen/models/index.ts
CHANGED
|
@@ -365,6 +365,8 @@ export interface ActivityRequest {
|
|
|
365
365
|
|
|
366
366
|
feeds: string[];
|
|
367
367
|
|
|
368
|
+
copy_custom_to_notification?: boolean;
|
|
369
|
+
|
|
368
370
|
create_notification_activity?: boolean;
|
|
369
371
|
|
|
370
372
|
expires_at?: string;
|
|
@@ -421,7 +423,7 @@ export interface ActivityResponse {
|
|
|
421
423
|
|
|
422
424
|
reaction_count: number;
|
|
423
425
|
|
|
424
|
-
restrict_replies:
|
|
426
|
+
restrict_replies: 'everyone' | 'people_i_follow' | 'nobody';
|
|
425
427
|
|
|
426
428
|
score: number;
|
|
427
429
|
|
|
@@ -488,6 +490,10 @@ export interface ActivityResponse {
|
|
|
488
490
|
parent?: ActivityResponse;
|
|
489
491
|
|
|
490
492
|
poll?: PollResponseData;
|
|
493
|
+
|
|
494
|
+
friend_reactions?: FeedsReactionResponse[];
|
|
495
|
+
|
|
496
|
+
friend_reaction_count?: number;
|
|
491
497
|
}
|
|
492
498
|
|
|
493
499
|
export interface ActivityRestoredEvent {
|
|
@@ -565,6 +571,8 @@ export interface AddActivityRequest {
|
|
|
565
571
|
|
|
566
572
|
feeds: string[];
|
|
567
573
|
|
|
574
|
+
copy_custom_to_notification?: boolean;
|
|
575
|
+
|
|
568
576
|
create_notification_activity?: boolean;
|
|
569
577
|
|
|
570
578
|
expires_at?: string;
|
|
@@ -629,6 +637,8 @@ export interface AddBookmarkResponse {
|
|
|
629
637
|
export interface AddCommentReactionRequest {
|
|
630
638
|
type: string;
|
|
631
639
|
|
|
640
|
+
copy_custom_to_notification?: boolean;
|
|
641
|
+
|
|
632
642
|
create_notification_activity?: boolean;
|
|
633
643
|
|
|
634
644
|
enforce_unique?: boolean;
|
|
@@ -651,6 +661,8 @@ export interface AddCommentReactionResponse {
|
|
|
651
661
|
export interface AddCommentRequest {
|
|
652
662
|
comment?: string;
|
|
653
663
|
|
|
664
|
+
copy_custom_to_notification?: boolean;
|
|
665
|
+
|
|
654
666
|
create_notification_activity?: boolean;
|
|
655
667
|
|
|
656
668
|
id?: string;
|
|
@@ -701,6 +713,8 @@ export interface AddFolderRequest {
|
|
|
701
713
|
export interface AddReactionRequest {
|
|
702
714
|
type: string;
|
|
703
715
|
|
|
716
|
+
copy_custom_to_notification?: boolean;
|
|
717
|
+
|
|
704
718
|
create_notification_activity?: boolean;
|
|
705
719
|
|
|
706
720
|
enforce_unique?: boolean;
|
|
@@ -1434,6 +1448,8 @@ export interface ChannelConfig {
|
|
|
1434
1448
|
|
|
1435
1449
|
polls: boolean;
|
|
1436
1450
|
|
|
1451
|
+
push_level: string;
|
|
1452
|
+
|
|
1437
1453
|
push_notifications: boolean;
|
|
1438
1454
|
|
|
1439
1455
|
quotes: boolean;
|
|
@@ -1542,6 +1558,8 @@ export interface ChannelConfigWithInfo {
|
|
|
1542
1558
|
|
|
1543
1559
|
partition_ttl?: string;
|
|
1544
1560
|
|
|
1561
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
1562
|
+
|
|
1545
1563
|
allowed_flag_reasons?: string[];
|
|
1546
1564
|
|
|
1547
1565
|
blocklists?: BlockListOptions[];
|
|
@@ -2001,6 +2019,8 @@ export interface ConfigOverrides {
|
|
|
2001
2019
|
|
|
2002
2020
|
max_message_length?: number;
|
|
2003
2021
|
|
|
2022
|
+
push_level?: 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none';
|
|
2023
|
+
|
|
2004
2024
|
quotes?: boolean;
|
|
2005
2025
|
|
|
2006
2026
|
reactions?: boolean;
|
|
@@ -3144,6 +3164,8 @@ export interface FollowRequest {
|
|
|
3144
3164
|
|
|
3145
3165
|
target: string;
|
|
3146
3166
|
|
|
3167
|
+
copy_custom_to_notification?: boolean;
|
|
3168
|
+
|
|
3147
3169
|
create_notification_activity?: boolean;
|
|
3148
3170
|
|
|
3149
3171
|
push_preference?: 'all' | 'none';
|
|
@@ -3203,6 +3225,14 @@ export interface FrameRecordingSettingsResponse {
|
|
|
3203
3225
|
quality?: string;
|
|
3204
3226
|
}
|
|
3205
3227
|
|
|
3228
|
+
export interface FriendReactionsOptions {
|
|
3229
|
+
enabled?: boolean;
|
|
3230
|
+
|
|
3231
|
+
limit?: number;
|
|
3232
|
+
|
|
3233
|
+
type?: 'following' | 'mutual';
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3206
3236
|
export interface FullUserResponse {
|
|
3207
3237
|
banned: boolean;
|
|
3208
3238
|
|
|
@@ -3409,6 +3439,14 @@ export interface GetOrCreateFeedRequest {
|
|
|
3409
3439
|
interest_weights?: Record<string, number>;
|
|
3410
3440
|
|
|
3411
3441
|
member_pagination?: PagerRequest;
|
|
3442
|
+
|
|
3443
|
+
friend_reactions_options?: FriendReactionsOptions;
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
export interface FriendReactionsOptions {
|
|
3447
|
+
enabled?: boolean;
|
|
3448
|
+
type?: 'following' | 'mutual';
|
|
3449
|
+
limit?: number;
|
|
3412
3450
|
}
|
|
3413
3451
|
|
|
3414
3452
|
export interface GetOrCreateFeedResponse {
|
|
@@ -3707,6 +3745,8 @@ export interface Message {
|
|
|
3707
3745
|
|
|
3708
3746
|
id: string;
|
|
3709
3747
|
|
|
3748
|
+
mentioned_channel: boolean;
|
|
3749
|
+
|
|
3710
3750
|
pinned: boolean;
|
|
3711
3751
|
|
|
3712
3752
|
reply_count: number;
|
|
@@ -3819,6 +3859,8 @@ export interface MessageResponse {
|
|
|
3819
3859
|
|
|
3820
3860
|
id: string;
|
|
3821
3861
|
|
|
3862
|
+
mentioned_channel: boolean;
|
|
3863
|
+
|
|
3822
3864
|
pinned: boolean;
|
|
3823
3865
|
|
|
3824
3866
|
reply_count: number;
|
|
@@ -4623,7 +4665,13 @@ export interface PushPreferenceInput {
|
|
|
4623
4665
|
|
|
4624
4666
|
channel_cid?: string;
|
|
4625
4667
|
|
|
4626
|
-
chat_level?:
|
|
4668
|
+
chat_level?:
|
|
4669
|
+
| 'all'
|
|
4670
|
+
| 'mentions'
|
|
4671
|
+
| 'direct_mentions'
|
|
4672
|
+
| 'all_mentions'
|
|
4673
|
+
| 'none'
|
|
4674
|
+
| 'default';
|
|
4627
4675
|
|
|
4628
4676
|
disabled_until?: Date;
|
|
4629
4677
|
|
|
@@ -5771,6 +5819,8 @@ export interface UnpinActivityResponse {
|
|
|
5771
5819
|
}
|
|
5772
5820
|
|
|
5773
5821
|
export interface UpdateActivityPartialRequest {
|
|
5822
|
+
copy_custom_to_notification?: boolean;
|
|
5823
|
+
|
|
5774
5824
|
handle_mention_notifications?: boolean;
|
|
5775
5825
|
|
|
5776
5826
|
run_activity_processors?: boolean;
|
|
@@ -5787,6 +5837,8 @@ export interface UpdateActivityPartialResponse {
|
|
|
5787
5837
|
}
|
|
5788
5838
|
|
|
5789
5839
|
export interface UpdateActivityRequest {
|
|
5840
|
+
copy_custom_to_notification?: boolean;
|
|
5841
|
+
|
|
5790
5842
|
expires_at?: Date;
|
|
5791
5843
|
|
|
5792
5844
|
handle_mention_notifications?: boolean;
|
|
@@ -5893,6 +5945,8 @@ export interface UpdateCollectionsResponse {
|
|
|
5893
5945
|
export interface UpdateCommentRequest {
|
|
5894
5946
|
comment?: string;
|
|
5895
5947
|
|
|
5948
|
+
copy_custom_to_notification?: boolean;
|
|
5949
|
+
|
|
5896
5950
|
handle_mention_notifications?: boolean;
|
|
5897
5951
|
|
|
5898
5952
|
skip_enrich_url?: boolean;
|
|
@@ -5955,6 +6009,8 @@ export interface UpdateFollowRequest {
|
|
|
5955
6009
|
|
|
5956
6010
|
target: string;
|
|
5957
6011
|
|
|
6012
|
+
copy_custom_to_notification?: boolean;
|
|
6013
|
+
|
|
5958
6014
|
create_notification_activity?: boolean;
|
|
5959
6015
|
|
|
5960
6016
|
follower_role?: string;
|