@stream-io/node-sdk 0.7.16 → 0.7.17
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.
|
@@ -283,6 +283,7 @@ export interface ActivityRequest {
|
|
|
283
283
|
id?: string;
|
|
284
284
|
parent_id?: string;
|
|
285
285
|
poll_id?: string;
|
|
286
|
+
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
286
287
|
text?: string;
|
|
287
288
|
user_id?: string;
|
|
288
289
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -304,6 +305,7 @@ export interface ActivityResponse {
|
|
|
304
305
|
popularity: number;
|
|
305
306
|
preview: boolean;
|
|
306
307
|
reaction_count: number;
|
|
308
|
+
restrict_replies: string;
|
|
307
309
|
score: number;
|
|
308
310
|
share_count: number;
|
|
309
311
|
type: string;
|
|
@@ -379,6 +381,7 @@ export interface AddActivityRequest {
|
|
|
379
381
|
id?: string;
|
|
380
382
|
parent_id?: string;
|
|
381
383
|
poll_id?: string;
|
|
384
|
+
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
382
385
|
text?: string;
|
|
383
386
|
user_id?: string;
|
|
384
387
|
visibility?: 'public' | 'private' | 'tag';
|
|
@@ -6872,6 +6875,7 @@ export interface UpdateActivityPartialResponse {
|
|
|
6872
6875
|
export interface UpdateActivityRequest {
|
|
6873
6876
|
expires_at?: Date;
|
|
6874
6877
|
poll_id?: string;
|
|
6878
|
+
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
6875
6879
|
text?: string;
|
|
6876
6880
|
user_id?: string;
|
|
6877
6881
|
visibility?: string;
|
package/package.json
CHANGED
|
@@ -141,6 +141,7 @@ export class FeedsApi {
|
|
|
141
141
|
id: request?.id,
|
|
142
142
|
parent_id: request?.parent_id,
|
|
143
143
|
poll_id: request?.poll_id,
|
|
144
|
+
restrict_replies: request?.restrict_replies,
|
|
144
145
|
text: request?.text,
|
|
145
146
|
user_id: request?.user_id,
|
|
146
147
|
visibility: request?.visibility,
|
|
@@ -585,6 +586,7 @@ export class FeedsApi {
|
|
|
585
586
|
const body = {
|
|
586
587
|
expires_at: request?.expires_at,
|
|
587
588
|
poll_id: request?.poll_id,
|
|
589
|
+
restrict_replies: request?.restrict_replies,
|
|
588
590
|
text: request?.text,
|
|
589
591
|
user_id: request?.user_id,
|
|
590
592
|
visibility: request?.visibility,
|
package/src/gen/models/index.ts
CHANGED
|
@@ -499,6 +499,8 @@ export interface ActivityRequest {
|
|
|
499
499
|
|
|
500
500
|
poll_id?: string;
|
|
501
501
|
|
|
502
|
+
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
503
|
+
|
|
502
504
|
text?: string;
|
|
503
505
|
|
|
504
506
|
user_id?: string;
|
|
@@ -539,6 +541,8 @@ export interface ActivityResponse {
|
|
|
539
541
|
|
|
540
542
|
reaction_count: number;
|
|
541
543
|
|
|
544
|
+
restrict_replies: string;
|
|
545
|
+
|
|
542
546
|
score: number;
|
|
543
547
|
|
|
544
548
|
share_count: number;
|
|
@@ -685,6 +689,8 @@ export interface AddActivityRequest {
|
|
|
685
689
|
|
|
686
690
|
poll_id?: string;
|
|
687
691
|
|
|
692
|
+
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
693
|
+
|
|
688
694
|
text?: string;
|
|
689
695
|
|
|
690
696
|
user_id?: string;
|
|
@@ -12200,6 +12206,8 @@ export interface UpdateActivityRequest {
|
|
|
12200
12206
|
|
|
12201
12207
|
poll_id?: string;
|
|
12202
12208
|
|
|
12209
|
+
restrict_replies?: 'everyone' | 'people_i_follow' | 'nobody';
|
|
12210
|
+
|
|
12203
12211
|
text?: string;
|
|
12204
12212
|
|
|
12205
12213
|
user_id?: string;
|