Skip to content

Commit 7a55bbb

Browse files
committed
Update to v135.3.1
1 parent c6a1c82 commit 7a55bbb

File tree

4 files changed

+143
-105
lines changed

4 files changed

+143
-105
lines changed

src/gen/chat/ChatApi.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,8 @@ export class ChatApi extends BaseApi {
802802
read_events: request?.read_events,
803803
replies: request?.replies,
804804
search: request?.search,
805+
skip_last_msg_update_for_system_msgs:
806+
request?.skip_last_msg_update_for_system_msgs,
805807
typing_events: request?.typing_events,
806808
uploads: request?.uploads,
807809
url_enrichment: request?.url_enrichment,
@@ -881,6 +883,8 @@ export class ChatApi extends BaseApi {
881883
reminders: request?.reminders,
882884
replies: request?.replies,
883885
search: request?.search,
886+
skip_last_msg_update_for_system_msgs:
887+
request?.skip_last_msg_update_for_system_msgs,
884888
typing_events: request?.typing_events,
885889
uploads: request?.uploads,
886890
url_enrichment: request?.url_enrichment,
@@ -2004,13 +2008,11 @@ export class ChatApi extends BaseApi {
20042008

20052009
getThread = async (request: {
20062010
message_id: string;
2007-
connection_id?: string;
20082011
reply_limit?: number;
20092012
participant_limit?: number;
20102013
member_limit?: number;
20112014
}): Promise<StreamResponse<GetThreadResponse>> => {
20122015
const queryParams = {
2013-
connection_id: request?.connection_id,
20142016
reply_limit: request?.reply_limit,
20152017
participant_limit: request?.participant_limit,
20162018
member_limit: request?.member_limit,

src/gen/model-decoders/index.ts

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,6 @@ decoders.ConfigResponse = (input?: Record<string, any>) => {
473473
created_at: { type: 'DatetimeType', isSingle: true },
474474

475475
updated_at: { type: 'DatetimeType', isSingle: true },
476-
477-
velocity_filter_config: { type: 'VelocityFilterConfig', isSingle: true },
478476
};
479477
return decode(typeMappings, input);
480478
};
@@ -569,6 +567,13 @@ decoders.Device = (input?: Record<string, any>) => {
569567
return decode(typeMappings, input);
570568
};
571569

570+
decoders.DeviceResponse = (input?: Record<string, any>) => {
571+
const typeMappings: TypeMapping = {
572+
created_at: { type: 'DatetimeType', isSingle: true },
573+
};
574+
return decode(typeMappings, input);
575+
};
576+
572577
decoders.EgressRTMPResponse = (input?: Record<string, any>) => {
573578
const typeMappings: TypeMapping = {
574579
started_at: { type: 'DatetimeType', isSingle: true },
@@ -605,6 +610,8 @@ decoders.EntityCreatorResponse = (input?: Record<string, any>) => {
605610

606611
updated_at: { type: 'DatetimeType', isSingle: true },
607612

613+
devices: { type: 'DeviceResponse', isSingle: false },
614+
608615
ban_expires: { type: 'DatetimeType', isSingle: true },
609616

610617
deactivated_at: { type: 'DatetimeType', isSingle: true },
@@ -685,6 +692,8 @@ decoders.FullUserResponse = (input?: Record<string, any>) => {
685692

686693
channel_mutes: { type: 'ChannelMute', isSingle: false },
687694

695+
devices: { type: 'DeviceResponse', isSingle: false },
696+
688697
mutes: { type: 'UserMuteResponse', isSingle: false },
689698

690699
deactivated_at: { type: 'DatetimeType', isSingle: true },
@@ -925,6 +934,13 @@ decoders.ListCommandsResponse = (input?: Record<string, any>) => {
925934
return decode(typeMappings, input);
926935
};
927936

937+
decoders.ListDevicesResponse = (input?: Record<string, any>) => {
938+
const typeMappings: TypeMapping = {
939+
devices: { type: 'DeviceResponse', isSingle: false },
940+
};
941+
return decode(typeMappings, input);
942+
};
943+
928944
decoders.ListImportsResponse = (input?: Record<string, any>) => {
929945
const typeMappings: TypeMapping = {
930946
import_tasks: { type: 'ImportTask', isSingle: false },
@@ -1148,17 +1164,6 @@ decoders.MessageWithChannelResponse = (input?: Record<string, any>) => {
11481164
return decode(typeMappings, input);
11491165
};
11501166

1151-
decoders.ModerationConfig = (input?: Record<string, any>) => {
1152-
const typeMappings: TypeMapping = {
1153-
created_at: { type: 'DatetimeType', isSingle: true },
1154-
1155-
updated_at: { type: 'DatetimeType', isSingle: true },
1156-
1157-
velocity_filter_config: { type: 'VelocityFilterConfig', isSingle: true },
1158-
};
1159-
return decode(typeMappings, input);
1160-
};
1161-
11621167
decoders.ModerationUsageStats = (input?: Record<string, any>) => {
11631168
const typeMappings: TypeMapping = {
11641169
reference_date: { type: 'DatetimeType', isSingle: true },
@@ -1228,6 +1233,8 @@ decoders.OwnUserResponse = (input?: Record<string, any>) => {
12281233

12291234
channel_mutes: { type: 'ChannelMute', isSingle: false },
12301235

1236+
devices: { type: 'DeviceResponse', isSingle: false },
1237+
12311238
mutes: { type: 'UserMuteResponse', isSingle: false },
12321239

12331240
deactivated_at: { type: 'DatetimeType', isSingle: true },
@@ -1449,14 +1456,14 @@ decoders.QueryMessageHistoryResponse = (input?: Record<string, any>) => {
14491456

14501457
decoders.QueryModerationConfigsResponse = (input?: Record<string, any>) => {
14511458
const typeMappings: TypeMapping = {
1452-
configs: { type: 'ModerationConfig', isSingle: false },
1459+
configs: { type: 'ConfigResponse', isSingle: false },
14531460
};
14541461
return decode(typeMappings, input);
14551462
};
14561463

14571464
decoders.QueryModerationLogsResponse = (input?: Record<string, any>) => {
14581465
const typeMappings: TypeMapping = {
1459-
l_og_s: { type: 'ActionLogResponse', isSingle: false },
1466+
logs: { type: 'ActionLogResponse', isSingle: false },
14601467
};
14611468
return decode(typeMappings, input);
14621469
};
@@ -2031,6 +2038,8 @@ decoders.UserResponse = (input?: Record<string, any>) => {
20312038

20322039
updated_at: { type: 'DatetimeType', isSingle: true },
20332040

2041+
devices: { type: 'DeviceResponse', isSingle: false },
2042+
20342043
ban_expires: { type: 'DatetimeType', isSingle: true },
20352044

20362045
deactivated_at: { type: 'DatetimeType', isSingle: true },
@@ -2049,20 +2058,6 @@ decoders.UserResponse = (input?: Record<string, any>) => {
20492058
return decode(typeMappings, input);
20502059
};
20512060

2052-
decoders.VelocityFilterConfig = (input?: Record<string, any>) => {
2053-
const typeMappings: TypeMapping = {
2054-
rules: { type: 'VelocityFilterConfigRule', isSingle: false },
2055-
};
2056-
return decode(typeMappings, input);
2057-
};
2058-
2059-
decoders.VelocityFilterConfigRule = (input?: Record<string, any>) => {
2060-
const typeMappings: TypeMapping = {
2061-
timeout: { type: 'DatetimeType', isSingle: true },
2062-
};
2063-
return decode(typeMappings, input);
2064-
};
2065-
20662061
decoders.WSEvent = (input?: Record<string, any>) => {
20672062
const typeMappings: TypeMapping = {
20682063
created_at: { type: 'DatetimeType', isSingle: true },

0 commit comments

Comments
 (0)