@stream-io/node-sdk 0.7.29 → 0.7.31

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.
@@ -5341,6 +5341,7 @@ export interface PollVote {
5341
5341
  }
5342
5342
  export interface PollVoteResponse {
5343
5343
  duration: string;
5344
+ poll?: PollResponseData;
5344
5345
  vote?: PollVoteResponseData;
5345
5346
  }
5346
5347
  export interface PollVoteResponseData {
@@ -7580,6 +7581,7 @@ export interface UpdateCommentRequest {
7580
7581
  skip_enrich_url?: boolean;
7581
7582
  skip_push?: boolean;
7582
7583
  user_id?: string;
7584
+ attachments?: Attachment[];
7583
7585
  custom?: Record<string, any>;
7584
7586
  user?: UserRequest;
7585
7587
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.7.29",
3
+ "version": "0.7.31",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -1007,6 +1007,7 @@ export class FeedsApi {
1007
1007
  skip_enrich_url: request?.skip_enrich_url,
1008
1008
  skip_push: request?.skip_push,
1009
1009
  user_id: request?.user_id,
1010
+ attachments: request?.attachments,
1010
1011
  custom: request?.custom,
1011
1012
  user: request?.user,
1012
1013
  };
@@ -3355,6 +3355,8 @@ decoders.PollVote = (input?: Record<string, any>) => {
3355
3355
 
3356
3356
  decoders.PollVoteResponse = (input?: Record<string, any>) => {
3357
3357
  const typeMappings: TypeMapping = {
3358
+ poll: { type: 'PollResponseData', isSingle: true },
3359
+
3358
3360
  vote: { type: 'PollVoteResponseData', isSingle: true },
3359
3361
  };
3360
3362
  return decode(typeMappings, input);
@@ -9317,6 +9317,8 @@ export interface PollVote {
9317
9317
  export interface PollVoteResponse {
9318
9318
  duration: string;
9319
9319
 
9320
+ poll?: PollResponseData;
9321
+
9320
9322
  vote?: PollVoteResponseData;
9321
9323
  }
9322
9324
 
@@ -13439,6 +13441,8 @@ export interface UpdateCommentRequest {
13439
13441
 
13440
13442
  user_id?: string;
13441
13443
 
13444
+ attachments?: Attachment[];
13445
+
13442
13446
  custom?: Record<string, any>;
13443
13447
 
13444
13448
  user?: UserRequest;