@stream-io/node-sdk 0.7.28 → 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.
- package/dist/index.cjs.js +5 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +5 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +3 -0
- package/src/gen/model-decoders/decoders.ts +2 -0
- package/src/gen/models/index.ts +8 -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 {
|
|
@@ -7632,6 +7633,9 @@ export interface UpdateFeedMembersResponse {
|
|
|
7632
7633
|
}
|
|
7633
7634
|
export interface UpdateFeedRequest {
|
|
7634
7635
|
created_by_id?: string;
|
|
7636
|
+
description?: string;
|
|
7637
|
+
name?: string;
|
|
7638
|
+
filter_tags?: string[];
|
|
7635
7639
|
custom?: Record<string, any>;
|
|
7636
7640
|
}
|
|
7637
7641
|
export interface UpdateFeedResponse {
|
package/package.json
CHANGED
|
@@ -1275,6 +1275,9 @@ export class FeedsApi {
|
|
|
1275
1275
|
};
|
|
1276
1276
|
const body = {
|
|
1277
1277
|
created_by_id: request?.created_by_id,
|
|
1278
|
+
description: request?.description,
|
|
1279
|
+
name: request?.name,
|
|
1280
|
+
filter_tags: request?.filter_tags,
|
|
1278
1281
|
custom: request?.custom,
|
|
1279
1282
|
};
|
|
1280
1283
|
|
|
@@ -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
|
|
|
@@ -13532,6 +13534,12 @@ export interface UpdateFeedMembersResponse {
|
|
|
13532
13534
|
export interface UpdateFeedRequest {
|
|
13533
13535
|
created_by_id?: string;
|
|
13534
13536
|
|
|
13537
|
+
description?: string;
|
|
13538
|
+
|
|
13539
|
+
name?: string;
|
|
13540
|
+
|
|
13541
|
+
filter_tags?: string[];
|
|
13542
|
+
|
|
13535
13543
|
custom?: Record<string, any>;
|
|
13536
13544
|
}
|
|
13537
13545
|
|