@stream-io/node-sdk 0.7.29 → 0.7.30

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 {
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.30",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
@@ -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