@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.
- package/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +3 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +1 -0
- package/src/gen/model-decoders/decoders.ts +2 -0
- package/src/gen/models/index.ts +4 -0
|
@@ -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
|
@@ -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);
|
package/src/gen/models/index.ts
CHANGED
|
@@ -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;
|