@stream-io/node-sdk 0.7.26 → 0.7.28
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/dist/index.cjs.js +5 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +5 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +17 -0
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +1 -0
- package/src/gen/model-decoders/decoders.ts +6 -0
- package/src/gen/models/index.ts +26 -0
|
@@ -2972,6 +2972,7 @@ export interface EnrichedReaction {
|
|
|
2972
2972
|
user?: Data;
|
|
2973
2973
|
}
|
|
2974
2974
|
export interface EnrichmentOptions {
|
|
2975
|
+
enrich_own_followings?: boolean;
|
|
2975
2976
|
skip_activity?: boolean;
|
|
2976
2977
|
skip_activity_collections?: boolean;
|
|
2977
2978
|
skip_activity_comments?: boolean;
|
|
@@ -3271,6 +3272,7 @@ export declare const FeedOwnCapability: {
|
|
|
3271
3272
|
export type FeedOwnCapability = (typeof FeedOwnCapability)[keyof typeof FeedOwnCapability];
|
|
3272
3273
|
export interface FeedOwnData {
|
|
3273
3274
|
own_capabilities?: FeedOwnCapability[];
|
|
3275
|
+
own_followings?: FollowResponse[];
|
|
3274
3276
|
own_follows?: FollowResponse[];
|
|
3275
3277
|
own_membership?: FeedMemberResponse;
|
|
3276
3278
|
}
|
|
@@ -3303,6 +3305,7 @@ export interface FeedResponse {
|
|
|
3303
3305
|
visibility?: string;
|
|
3304
3306
|
filter_tags?: string[];
|
|
3305
3307
|
own_capabilities?: FeedOwnCapability[];
|
|
3308
|
+
own_followings?: FollowResponse[];
|
|
3306
3309
|
own_follows?: FollowResponse[];
|
|
3307
3310
|
custom?: Record<string, any>;
|
|
3308
3311
|
own_membership?: FeedMemberResponse;
|
|
@@ -3327,6 +3330,7 @@ export interface FeedSuggestionResponse {
|
|
|
3327
3330
|
visibility?: string;
|
|
3328
3331
|
filter_tags?: string[];
|
|
3329
3332
|
own_capabilities?: FeedOwnCapability[];
|
|
3333
|
+
own_followings?: FollowResponse[];
|
|
3330
3334
|
own_follows?: FollowResponse[];
|
|
3331
3335
|
algorithm_scores?: Record<string, number>;
|
|
3332
3336
|
custom?: Record<string, any>;
|
|
@@ -6106,6 +6110,18 @@ export interface RankingConfig {
|
|
|
6106
6110
|
defaults?: Record<string, any>;
|
|
6107
6111
|
functions?: Record<string, DecayFunctionConfig>;
|
|
6108
6112
|
}
|
|
6113
|
+
export interface RawRecordSettings {
|
|
6114
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
6115
|
+
}
|
|
6116
|
+
export interface RawRecordingResponse {
|
|
6117
|
+
status: string;
|
|
6118
|
+
}
|
|
6119
|
+
export interface RawRecordingSettingsRequest {
|
|
6120
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
6121
|
+
}
|
|
6122
|
+
export interface RawRecordingSettingsResponse {
|
|
6123
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
6124
|
+
}
|
|
6109
6125
|
export interface Reaction {
|
|
6110
6126
|
created_at: Date;
|
|
6111
6127
|
message_id: string;
|
|
@@ -7300,6 +7316,7 @@ export interface UpdateActivityRequest {
|
|
|
7300
7316
|
feeds?: string[];
|
|
7301
7317
|
filter_tags?: string[];
|
|
7302
7318
|
interest_tags?: string[];
|
|
7319
|
+
mentioned_user_ids?: string[];
|
|
7303
7320
|
custom?: Record<string, any>;
|
|
7304
7321
|
location?: ActivityLocation;
|
|
7305
7322
|
user?: UserRequest;
|
package/package.json
CHANGED
|
@@ -612,6 +612,7 @@ export class FeedsApi {
|
|
|
612
612
|
feeds: request?.feeds,
|
|
613
613
|
filter_tags: request?.filter_tags,
|
|
614
614
|
interest_tags: request?.interest_tags,
|
|
615
|
+
mentioned_user_ids: request?.mentioned_user_ids,
|
|
615
616
|
custom: request?.custom,
|
|
616
617
|
location: request?.location,
|
|
617
618
|
user: request?.user,
|
|
@@ -2096,6 +2096,8 @@ decoders.FeedMemberUpdatedEvent = (input?: Record<string, any>) => {
|
|
|
2096
2096
|
|
|
2097
2097
|
decoders.FeedOwnData = (input?: Record<string, any>) => {
|
|
2098
2098
|
const typeMappings: TypeMapping = {
|
|
2099
|
+
own_followings: { type: 'FollowResponse', isSingle: false },
|
|
2100
|
+
|
|
2099
2101
|
own_follows: { type: 'FollowResponse', isSingle: false },
|
|
2100
2102
|
|
|
2101
2103
|
own_membership: { type: 'FeedMemberResponse', isSingle: true },
|
|
@@ -2113,6 +2115,8 @@ decoders.FeedResponse = (input?: Record<string, any>) => {
|
|
|
2113
2115
|
|
|
2114
2116
|
deleted_at: { type: 'DatetimeType', isSingle: true },
|
|
2115
2117
|
|
|
2118
|
+
own_followings: { type: 'FollowResponse', isSingle: false },
|
|
2119
|
+
|
|
2116
2120
|
own_follows: { type: 'FollowResponse', isSingle: false },
|
|
2117
2121
|
|
|
2118
2122
|
own_membership: { type: 'FeedMemberResponse', isSingle: true },
|
|
@@ -2130,6 +2134,8 @@ decoders.FeedSuggestionResponse = (input?: Record<string, any>) => {
|
|
|
2130
2134
|
|
|
2131
2135
|
deleted_at: { type: 'DatetimeType', isSingle: true },
|
|
2132
2136
|
|
|
2137
|
+
own_followings: { type: 'FollowResponse', isSingle: false },
|
|
2138
|
+
|
|
2133
2139
|
own_follows: { type: 'FollowResponse', isSingle: false },
|
|
2134
2140
|
|
|
2135
2141
|
own_membership: { type: 'FeedMemberResponse', isSingle: true },
|
package/src/gen/models/index.ts
CHANGED
|
@@ -5209,6 +5209,8 @@ export interface EnrichedReaction {
|
|
|
5209
5209
|
}
|
|
5210
5210
|
|
|
5211
5211
|
export interface EnrichmentOptions {
|
|
5212
|
+
enrich_own_followings?: boolean;
|
|
5213
|
+
|
|
5212
5214
|
skip_activity?: boolean;
|
|
5213
5215
|
|
|
5214
5216
|
skip_activity_collections?: boolean;
|
|
@@ -5721,6 +5723,8 @@ export type FeedOwnCapability =
|
|
|
5721
5723
|
export interface FeedOwnData {
|
|
5722
5724
|
own_capabilities?: FeedOwnCapability[];
|
|
5723
5725
|
|
|
5726
|
+
own_followings?: FollowResponse[];
|
|
5727
|
+
|
|
5724
5728
|
own_follows?: FollowResponse[];
|
|
5725
5729
|
|
|
5726
5730
|
own_membership?: FeedMemberResponse;
|
|
@@ -5781,6 +5785,8 @@ export interface FeedResponse {
|
|
|
5781
5785
|
|
|
5782
5786
|
own_capabilities?: FeedOwnCapability[];
|
|
5783
5787
|
|
|
5788
|
+
own_followings?: FollowResponse[];
|
|
5789
|
+
|
|
5784
5790
|
own_follows?: FollowResponse[];
|
|
5785
5791
|
|
|
5786
5792
|
custom?: Record<string, any>;
|
|
@@ -5827,6 +5833,8 @@ export interface FeedSuggestionResponse {
|
|
|
5827
5833
|
|
|
5828
5834
|
own_capabilities?: FeedOwnCapability[];
|
|
5829
5835
|
|
|
5836
|
+
own_followings?: FollowResponse[];
|
|
5837
|
+
|
|
5830
5838
|
own_follows?: FollowResponse[];
|
|
5831
5839
|
|
|
5832
5840
|
algorithm_scores?: Record<string, number>;
|
|
@@ -10664,6 +10672,22 @@ export interface RankingConfig {
|
|
|
10664
10672
|
functions?: Record<string, DecayFunctionConfig>;
|
|
10665
10673
|
}
|
|
10666
10674
|
|
|
10675
|
+
export interface RawRecordSettings {
|
|
10676
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
10677
|
+
}
|
|
10678
|
+
|
|
10679
|
+
export interface RawRecordingResponse {
|
|
10680
|
+
status: string;
|
|
10681
|
+
}
|
|
10682
|
+
|
|
10683
|
+
export interface RawRecordingSettingsRequest {
|
|
10684
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
10685
|
+
}
|
|
10686
|
+
|
|
10687
|
+
export interface RawRecordingSettingsResponse {
|
|
10688
|
+
mode: 'available' | 'disabled' | 'auto-on';
|
|
10689
|
+
}
|
|
10690
|
+
|
|
10667
10691
|
export interface Reaction {
|
|
10668
10692
|
created_at: Date;
|
|
10669
10693
|
|
|
@@ -12939,6 +12963,8 @@ export interface UpdateActivityRequest {
|
|
|
12939
12963
|
|
|
12940
12964
|
interest_tags?: string[];
|
|
12941
12965
|
|
|
12966
|
+
mentioned_user_ids?: string[];
|
|
12967
|
+
|
|
12942
12968
|
custom?: Record<string, any>;
|
|
12943
12969
|
|
|
12944
12970
|
location?: ActivityLocation;
|