@stream-io/node-sdk 0.7.46 → 0.7.48

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.
@@ -88,6 +88,7 @@ export declare class FeedsApi {
88
88
  depth?: number;
89
89
  sort?: string;
90
90
  replies_limit?: number;
91
+ id_around?: string;
91
92
  user_id?: string;
92
93
  limit?: number;
93
94
  prev?: string;
@@ -124,6 +125,7 @@ export declare class FeedsApi {
124
125
  depth?: number;
125
126
  sort?: string;
126
127
  replies_limit?: number;
128
+ id_around?: string;
127
129
  user_id?: string;
128
130
  limit?: number;
129
131
  prev?: string;
@@ -250,6 +252,7 @@ export declare class FeedsApi {
250
252
  source: string;
251
253
  target: string;
252
254
  delete_notification_activity?: boolean;
255
+ keep_history?: boolean;
253
256
  enrich_own_fields?: boolean;
254
257
  }): Promise<StreamResponse<UnfollowResponse>>;
255
258
  createMembershipLevel(request: CreateMembershipLevelRequest): Promise<StreamResponse<CreateMembershipLevelResponse>>;
@@ -8023,7 +8023,7 @@ export interface UndeleteMessageResponse {
8023
8023
  message: MessageResponse;
8024
8024
  }
8025
8025
  export interface UnfollowBatchRequest {
8026
- follows: FollowPair[];
8026
+ follows: UnfollowPair[];
8027
8027
  delete_notification_activity?: boolean;
8028
8028
  enrich_own_fields?: boolean;
8029
8029
  }
@@ -8031,6 +8031,11 @@ export interface UnfollowBatchResponse {
8031
8031
  duration: string;
8032
8032
  follows: FollowResponse[];
8033
8033
  }
8034
+ export interface UnfollowPair {
8035
+ source: string;
8036
+ target: string;
8037
+ keep_history?: boolean;
8038
+ }
8034
8039
  export interface UnfollowResponse {
8035
8040
  duration: string;
8036
8041
  follow: FollowResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.7.46",
3
+ "version": "0.7.48",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -998,6 +998,7 @@ export class FeedsApi {
998
998
  depth?: number;
999
999
  sort?: string;
1000
1000
  replies_limit?: number;
1001
+ id_around?: string;
1001
1002
  user_id?: string;
1002
1003
  limit?: number;
1003
1004
  prev?: string;
@@ -1009,6 +1010,7 @@ export class FeedsApi {
1009
1010
  depth: request?.depth,
1010
1011
  sort: request?.sort,
1011
1012
  replies_limit: request?.replies_limit,
1013
+ id_around: request?.id_around,
1012
1014
  user_id: request?.user_id,
1013
1015
  limit: request?.limit,
1014
1016
  prev: request?.prev,
@@ -1283,6 +1285,7 @@ export class FeedsApi {
1283
1285
  depth?: number;
1284
1286
  sort?: string;
1285
1287
  replies_limit?: number;
1288
+ id_around?: string;
1286
1289
  user_id?: string;
1287
1290
  limit?: number;
1288
1291
  prev?: string;
@@ -1292,6 +1295,7 @@ export class FeedsApi {
1292
1295
  depth: request?.depth,
1293
1296
  sort: request?.sort,
1294
1297
  replies_limit: request?.replies_limit,
1298
+ id_around: request?.id_around,
1295
1299
  user_id: request?.user_id,
1296
1300
  limit: request?.limit,
1297
1301
  prev: request?.prev,
@@ -2403,10 +2407,12 @@ export class FeedsApi {
2403
2407
  source: string;
2404
2408
  target: string;
2405
2409
  delete_notification_activity?: boolean;
2410
+ keep_history?: boolean;
2406
2411
  enrich_own_fields?: boolean;
2407
2412
  }): Promise<StreamResponse<UnfollowResponse>> {
2408
2413
  const queryParams = {
2409
2414
  delete_notification_activity: request?.delete_notification_activity,
2415
+ keep_history: request?.keep_history,
2410
2416
  enrich_own_fields: request?.enrich_own_fields,
2411
2417
  };
2412
2418
  const pathParams = {
@@ -14266,7 +14266,7 @@ export interface UndeleteMessageResponse {
14266
14266
  }
14267
14267
 
14268
14268
  export interface UnfollowBatchRequest {
14269
- follows: FollowPair[];
14269
+ follows: UnfollowPair[];
14270
14270
 
14271
14271
  delete_notification_activity?: boolean;
14272
14272
 
@@ -14279,6 +14279,14 @@ export interface UnfollowBatchResponse {
14279
14279
  follows: FollowResponse[];
14280
14280
  }
14281
14281
 
14282
+ export interface UnfollowPair {
14283
+ source: string;
14284
+
14285
+ target: string;
14286
+
14287
+ keep_history?: boolean;
14288
+ }
14289
+
14282
14290
  export interface UnfollowResponse {
14283
14291
  duration: string;
14284
14292