dfx 0.121.0 → 0.122.0

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.
@@ -12,10 +12,41 @@ export declare const make: Effect.Effect<{
12
12
  readonly t: K;
13
13
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationActionExecution, Discord.GatewayAutoModerationActionExecutionDispatchData>, {
14
14
  readonly t: K;
15
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleCreate, Discord.GetAutoModerationRule200>, {
16
+ readonly t: K;
17
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleDelete, Discord.GetAutoModerationRule200>, {
18
+ readonly t: K;
19
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleUpdate, Discord.GetAutoModerationRule200>, {
20
+ readonly t: K;
21
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelCreate, Discord.GuildChannelResponse & {
22
+ type: Exclude<Discord.GuildChannelType, Discord.ThreadChannelType>;
23
+ guild_id: Discord.Snowflake;
24
+ }>, {
25
+ readonly t: K;
26
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelDelete, Discord.GuildChannelResponse & {
27
+ type: Exclude<Discord.GuildChannelType, Discord.ThreadChannelType>;
28
+ guild_id: Discord.Snowflake;
29
+ }>, {
30
+ readonly t: K;
31
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelUpdate, Discord.GuildChannelResponse & {
32
+ type: Exclude<Discord.GuildChannelType, Discord.ThreadChannelType>;
33
+ guild_id: Discord.Snowflake;
34
+ }>, {
35
+ readonly t: K;
15
36
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelPinsUpdate, Discord.GatewayChannelPinsUpdateDispatchData>, {
16
37
  readonly t: K;
38
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementCreate, Discord.EntitlementResponse>, {
39
+ readonly t: K;
40
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementDelete, Discord.EntitlementResponse>, {
41
+ readonly t: K;
42
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementUpdate, Discord.EntitlementResponse>, {
43
+ readonly t: K;
17
44
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildAuditLogEntryCreate, Discord.GatewayGuildAuditLogEntryCreateDispatchData>, {
18
45
  readonly t: K;
46
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildBanAdd, Discord.GatewayGuildBanModifyDispatchData>, {
47
+ readonly t: K;
48
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildBanRemove, Discord.GatewayGuildBanModifyDispatchData>, {
49
+ readonly t: K;
19
50
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildCreate, Discord.GatewayGuildCreateDispatchData>, {
20
51
  readonly t: K;
21
52
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildDelete, Discord.GatewayGuildDeleteDispatchData>, {
@@ -34,6 +65,10 @@ export declare const make: Effect.Effect<{
34
65
  readonly t: K;
35
66
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildUpdate, Discord.GuildResponse>, {
36
67
  readonly t: K;
68
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleCreate, Discord.GatewayGuildRoleModifyDispatchData>, {
69
+ readonly t: K;
70
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleUpdate, Discord.GatewayGuildRoleModifyDispatchData>, {
71
+ readonly t: K;
37
72
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleDelete, Discord.GatewayGuildRoleDeleteDispatchData>, {
38
73
  readonly t: K;
39
74
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildScheduledEventCreate, Discord.ScheduledEventResponse>, {
@@ -104,7 +139,7 @@ export declare const make: Effect.Effect<{
104
139
  burst: boolean;
105
140
  burst_colors: Array<string>;
106
141
  type: Discord.ReactionType;
107
- }, "burst_colors" | "member" | "message_author_id">>, {
142
+ }, "member" | "burst_colors" | "message_author_id">>, {
108
143
  readonly t: K;
109
144
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.MessageReactionRemoveEmoji, Discord.GatewayMessageReactionRemoveEmojiDispatchData>, {
110
145
  readonly t: K;
@@ -124,6 +159,12 @@ export declare const make: Effect.Effect<{
124
159
  readonly t: K;
125
160
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.StageInstanceUpdate, Discord.StageInstanceResponse>, {
126
161
  readonly t: K;
162
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionCreate, Discord.APISubscription>, {
163
+ readonly t: K;
164
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionDelete, Discord.APISubscription>, {
165
+ readonly t: K;
166
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionUpdate, Discord.APISubscription>, {
167
+ readonly t: K;
127
168
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ThreadCreate, Discord.GatewayThreadCreateDispatchData>, {
128
169
  readonly t: K;
129
170
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ThreadDelete, Discord.GatewayThreadDeleteDispatchData>, {
@@ -148,6 +189,23 @@ export declare const make: Effect.Effect<{
148
189
  readonly t: K;
149
190
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.WebhooksUpdate, Discord.GatewayWebhooksUpdateDispatchData>, {
150
191
  readonly t: K;
192
+ }>)["d"], never, never>;
193
+ readonly handleDispatch: <K extends `${Discord.GatewayDispatchEvents}`, R, E, A>(event: K, handle: (event: Extract<Discord.GatewayDispatchPayload, {
194
+ readonly t: K;
195
+ }>["d"]) => Effect.Effect<A, E, R>) => Effect.Effect<never, E, R>;
196
+ readonly send: (payload: Discord.GatewaySendPayload) => Effect.Effect<boolean, never, never>;
197
+ }, never, import("effect/Scope").Scope>;
198
+ export interface Messsaging {
199
+ readonly _: unique symbol;
200
+ }
201
+ export declare const Messaging: import("effect/Context").Tag<Messsaging, {
202
+ readonly hub: PubSub.PubSub<Discord.GatewayReceivePayload>;
203
+ readonly sendMailbox: Mailbox.Mailbox<Discord.GatewaySendPayload, never>;
204
+ readonly dispatch: Stream.Stream<Discord.GatewayReceivePayload, never, never>;
205
+ readonly fromDispatch: <K extends `${Discord.GatewayDispatchEvents}`>(event: K) => Stream.Stream<(Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ApplicationCommandPermissionsUpdate, Discord.GatewayApplicationCommandPermissionsUpdateDispatchData>, {
206
+ readonly t: K;
207
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationActionExecution, Discord.GatewayAutoModerationActionExecutionDispatchData>, {
208
+ readonly t: K;
151
209
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleCreate, Discord.GetAutoModerationRule200>, {
152
210
  readonly t: K;
153
211
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleDelete, Discord.GetAutoModerationRule200>, {
@@ -169,47 +227,20 @@ export declare const make: Effect.Effect<{
169
227
  guild_id: Discord.Snowflake;
170
228
  }>, {
171
229
  readonly t: K;
230
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelPinsUpdate, Discord.GatewayChannelPinsUpdateDispatchData>, {
231
+ readonly t: K;
172
232
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementCreate, Discord.EntitlementResponse>, {
173
233
  readonly t: K;
174
234
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementDelete, Discord.EntitlementResponse>, {
175
235
  readonly t: K;
176
236
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementUpdate, Discord.EntitlementResponse>, {
177
237
  readonly t: K;
238
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildAuditLogEntryCreate, Discord.GatewayGuildAuditLogEntryCreateDispatchData>, {
239
+ readonly t: K;
178
240
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildBanAdd, Discord.GatewayGuildBanModifyDispatchData>, {
179
241
  readonly t: K;
180
242
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildBanRemove, Discord.GatewayGuildBanModifyDispatchData>, {
181
243
  readonly t: K;
182
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleCreate, Discord.GatewayGuildRoleModifyDispatchData>, {
183
- readonly t: K;
184
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleUpdate, Discord.GatewayGuildRoleModifyDispatchData>, {
185
- readonly t: K;
186
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionCreate, Discord.APISubscription>, {
187
- readonly t: K;
188
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionDelete, Discord.APISubscription>, {
189
- readonly t: K;
190
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionUpdate, Discord.APISubscription>, {
191
- readonly t: K;
192
- }>)["d"], never, never>;
193
- readonly handleDispatch: <K extends `${Discord.GatewayDispatchEvents}`, R, E, A>(event: K, handle: (event: Extract<Discord.GatewayDispatchPayload, {
194
- readonly t: K;
195
- }>["d"]) => Effect.Effect<A, E, R>) => Effect.Effect<never, E, R>;
196
- readonly send: (payload: Discord.GatewaySendPayload) => Effect.Effect<boolean, never, never>;
197
- }, never, import("effect/Scope").Scope>;
198
- export interface Messsaging {
199
- readonly _: unique symbol;
200
- }
201
- export declare const Messaging: import("effect/Context").Tag<Messsaging, {
202
- readonly hub: PubSub.PubSub<Discord.GatewayReceivePayload>;
203
- readonly sendMailbox: Mailbox.Mailbox<Discord.GatewaySendPayload, never>;
204
- readonly dispatch: Stream.Stream<Discord.GatewayReceivePayload, never, never>;
205
- readonly fromDispatch: <K extends `${Discord.GatewayDispatchEvents}`>(event: K) => Stream.Stream<(Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ApplicationCommandPermissionsUpdate, Discord.GatewayApplicationCommandPermissionsUpdateDispatchData>, {
206
- readonly t: K;
207
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationActionExecution, Discord.GatewayAutoModerationActionExecutionDispatchData>, {
208
- readonly t: K;
209
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelPinsUpdate, Discord.GatewayChannelPinsUpdateDispatchData>, {
210
- readonly t: K;
211
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildAuditLogEntryCreate, Discord.GatewayGuildAuditLogEntryCreateDispatchData>, {
212
- readonly t: K;
213
244
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildCreate, Discord.GatewayGuildCreateDispatchData>, {
214
245
  readonly t: K;
215
246
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildDelete, Discord.GatewayGuildDeleteDispatchData>, {
@@ -228,6 +259,10 @@ export declare const Messaging: import("effect/Context").Tag<Messsaging, {
228
259
  readonly t: K;
229
260
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildUpdate, Discord.GuildResponse>, {
230
261
  readonly t: K;
262
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleCreate, Discord.GatewayGuildRoleModifyDispatchData>, {
263
+ readonly t: K;
264
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleUpdate, Discord.GatewayGuildRoleModifyDispatchData>, {
265
+ readonly t: K;
231
266
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleDelete, Discord.GatewayGuildRoleDeleteDispatchData>, {
232
267
  readonly t: K;
233
268
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildScheduledEventCreate, Discord.ScheduledEventResponse>, {
@@ -298,7 +333,7 @@ export declare const Messaging: import("effect/Context").Tag<Messsaging, {
298
333
  burst: boolean;
299
334
  burst_colors: Array<string>;
300
335
  type: Discord.ReactionType;
301
- }, "burst_colors" | "member" | "message_author_id">>, {
336
+ }, "member" | "burst_colors" | "message_author_id">>, {
302
337
  readonly t: K;
303
338
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.MessageReactionRemoveEmoji, Discord.GatewayMessageReactionRemoveEmojiDispatchData>, {
304
339
  readonly t: K;
@@ -318,6 +353,12 @@ export declare const Messaging: import("effect/Context").Tag<Messsaging, {
318
353
  readonly t: K;
319
354
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.StageInstanceUpdate, Discord.StageInstanceResponse>, {
320
355
  readonly t: K;
356
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionCreate, Discord.APISubscription>, {
357
+ readonly t: K;
358
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionDelete, Discord.APISubscription>, {
359
+ readonly t: K;
360
+ }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionUpdate, Discord.APISubscription>, {
361
+ readonly t: K;
321
362
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ThreadCreate, Discord.GatewayThreadCreateDispatchData>, {
322
363
  readonly t: K;
323
364
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ThreadDelete, Discord.GatewayThreadDeleteDispatchData>, {
@@ -342,47 +383,6 @@ export declare const Messaging: import("effect/Context").Tag<Messsaging, {
342
383
  readonly t: K;
343
384
  }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.WebhooksUpdate, Discord.GatewayWebhooksUpdateDispatchData>, {
344
385
  readonly t: K;
345
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleCreate, Discord.GetAutoModerationRule200>, {
346
- readonly t: K;
347
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleDelete, Discord.GetAutoModerationRule200>, {
348
- readonly t: K;
349
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.AutoModerationRuleUpdate, Discord.GetAutoModerationRule200>, {
350
- readonly t: K;
351
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelCreate, Discord.GuildChannelResponse & {
352
- type: Exclude<Discord.GuildChannelType, Discord.ThreadChannelType>;
353
- guild_id: Discord.Snowflake;
354
- }>, {
355
- readonly t: K;
356
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelDelete, Discord.GuildChannelResponse & {
357
- type: Exclude<Discord.GuildChannelType, Discord.ThreadChannelType>;
358
- guild_id: Discord.Snowflake;
359
- }>, {
360
- readonly t: K;
361
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.ChannelUpdate, Discord.GuildChannelResponse & {
362
- type: Exclude<Discord.GuildChannelType, Discord.ThreadChannelType>;
363
- guild_id: Discord.Snowflake;
364
- }>, {
365
- readonly t: K;
366
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementCreate, Discord.EntitlementResponse>, {
367
- readonly t: K;
368
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementDelete, Discord.EntitlementResponse>, {
369
- readonly t: K;
370
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.EntitlementUpdate, Discord.EntitlementResponse>, {
371
- readonly t: K;
372
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildBanAdd, Discord.GatewayGuildBanModifyDispatchData>, {
373
- readonly t: K;
374
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildBanRemove, Discord.GatewayGuildBanModifyDispatchData>, {
375
- readonly t: K;
376
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleCreate, Discord.GatewayGuildRoleModifyDispatchData>, {
377
- readonly t: K;
378
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.GuildRoleUpdate, Discord.GatewayGuildRoleModifyDispatchData>, {
379
- readonly t: K;
380
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionCreate, Discord.APISubscription>, {
381
- readonly t: K;
382
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionDelete, Discord.APISubscription>, {
383
- readonly t: K;
384
- }> | Extract<Discord._DataPayload<Discord.GatewayDispatchEvents.SubscriptionUpdate, Discord.APISubscription>, {
385
- readonly t: K;
386
386
  }>)["d"], never, never>;
387
387
  readonly handleDispatch: <K extends `${Discord.GatewayDispatchEvents}`, R, E, A>(event: K, handle: (event: Extract<Discord.GatewayDispatchPayload, {
388
388
  readonly t: K;
@@ -8,7 +8,7 @@ export declare const make: Effect.Effect<{
8
8
  readonly connect: (shard: [id: number, count: number]) => Effect.Effect<{
9
9
  readonly id: [id: number, count: number];
10
10
  }, never, import("effect/Scope").Scope | import("@effect/platform/Socket").WebSocketConstructor>;
11
- }, never, DiscordConfig | DiscordWS | import("dfx/DiscordGateway/Messaging").Messsaging | ShardStateStore | RateLimiter>;
11
+ }, never, DiscordConfig | import("dfx/DiscordGateway/Messaging").Messsaging | ShardStateStore | RateLimiter | DiscordWS>;
12
12
  type ShardService = Effect.Effect.Success<typeof make>;
13
13
  export interface Shard {
14
14
  readonly _: unique symbol;
@@ -18,7 +18,7 @@ export declare const Shard: import("effect/Context").Tag<Shard, {
18
18
  readonly id: [id: number, count: number];
19
19
  }, never, import("effect/Scope").Scope | import("@effect/platform/Socket").WebSocketConstructor>;
20
20
  }>;
21
- export declare const ShardLive: Layer.Layer<Shard, never, DiscordConfig | import("dfx/DiscordGateway/DiscordWS").DiscordWSCodec | ShardStateStore | import("dfx/RateLimit").RateLimitStore>;
21
+ export declare const ShardLive: Layer.Layer<Shard, never, DiscordConfig | import("dfx/RateLimit").RateLimitStore | import("dfx/DiscordGateway/DiscordWS").DiscordWSCodec | ShardStateStore>;
22
22
  export interface RunningShard extends Effect.Effect.Success<ReturnType<ShardService["connect"]>> {
23
23
  }
24
24
  export {};
@@ -10,5 +10,5 @@ export interface Sharder {
10
10
  export declare const Sharder: import("effect/Context").Tag<Sharder, {
11
11
  readonly shards: Effect.Effect<HashSet.HashSet<RunningShard>, never, never>;
12
12
  }>;
13
- export declare const SharderLive: Layer.Layer<Sharder, never, import("@effect/platform/HttpClient").HttpClient | DiscordConfig | import("./DiscordWS").DiscordWSCodec | import("@effect/platform/Socket").WebSocketConstructor | import("./Shard/StateStore").ShardStateStore | import("dfx/RateLimit").RateLimitStore | ShardStore>;
13
+ export declare const SharderLive: Layer.Layer<Sharder, never, DiscordConfig | import("@effect/platform/HttpClient").HttpClient | ShardStore | import("dfx/RateLimit").RateLimitStore | import("./DiscordWS").DiscordWSCodec | import("./Shard/StateStore").ShardStateStore | import("@effect/platform/Socket").WebSocketConstructor>;
14
14
  //# sourceMappingURL=Sharder.d.ts.map
@@ -244,6 +244,7 @@ export interface PrivateApplicationResponse {
244
244
  readonly owner: UserResponse;
245
245
  readonly approximate_guild_count?: number | null | undefined;
246
246
  readonly approximate_user_install_count: number;
247
+ readonly approximate_user_authorization_count: number;
247
248
  readonly explicit_content_filter: ApplicationExplicitContentFilterTypes;
248
249
  readonly team?: TeamResponse | null | undefined;
249
250
  }
@@ -1619,6 +1620,7 @@ export interface MessageEmbedImageResponse {
1619
1620
  readonly proxy_url?: string | null | undefined;
1620
1621
  readonly width?: UInt32Type | null | undefined;
1621
1622
  readonly height?: UInt32Type | null | undefined;
1623
+ readonly content_type?: string | null | undefined;
1622
1624
  readonly placeholder?: string | null | undefined;
1623
1625
  readonly placeholder_version?: UInt32Type | null | undefined;
1624
1626
  readonly description?: string | null | undefined;
@@ -1629,6 +1631,7 @@ export interface MessageEmbedVideoResponse {
1629
1631
  readonly proxy_url?: string | null | undefined;
1630
1632
  readonly width?: UInt32Type | null | undefined;
1631
1633
  readonly height?: UInt32Type | null | undefined;
1634
+ readonly content_type?: string | null | undefined;
1632
1635
  readonly placeholder?: string | null | undefined;
1633
1636
  readonly placeholder_version?: UInt32Type | null | undefined;
1634
1637
  readonly description?: string | null | undefined;
@@ -1853,6 +1856,7 @@ export interface UnfurledMediaResponse {
1853
1856
  readonly width?: number | null | undefined;
1854
1857
  readonly height?: number | null | undefined;
1855
1858
  readonly content_type?: string | null | undefined;
1859
+ readonly attachment_id?: SnowflakeType | null | undefined;
1856
1860
  }
1857
1861
  export interface FileComponentResponse {
1858
1862
  readonly type: 13;
@@ -4456,11 +4460,35 @@ export interface EditLobbyRequest {
4456
4460
  export interface EditLobbyChannelLinkRequest {
4457
4461
  readonly channel_id?: SnowflakeType | null | undefined;
4458
4462
  }
4463
+ export type BulkLobbyMemberRequestFlagsEnum = 1;
4464
+ export interface BulkLobbyMemberRequest {
4465
+ readonly id: SnowflakeType;
4466
+ readonly metadata?: Record<string, unknown> | null | undefined;
4467
+ readonly flags?: BulkLobbyMemberRequestFlagsEnum | null | undefined;
4468
+ readonly remove_member?: boolean | null | undefined;
4469
+ }
4470
+ export type BulkUpdateLobbyMembersRequest = ReadonlyArray<BulkLobbyMemberRequest>;
4471
+ export type BulkUpdateLobbyMembers200 = ReadonlyArray<LobbyMemberResponse>;
4459
4472
  export type AddLobbyMemberRequestFlagsEnum = 1;
4460
4473
  export interface AddLobbyMemberRequest {
4461
4474
  readonly metadata?: Record<string, unknown> | null | undefined;
4462
4475
  readonly flags?: AddLobbyMemberRequestFlagsEnum | null | undefined;
4463
4476
  }
4477
+ export interface GetLobbyMessagesParams {
4478
+ readonly limit?: number | undefined;
4479
+ }
4480
+ export interface LobbyMessageResponse {
4481
+ readonly id: SnowflakeType;
4482
+ readonly type: MessageType;
4483
+ readonly content: string;
4484
+ readonly lobby_id: SnowflakeType;
4485
+ readonly channel_id: SnowflakeType;
4486
+ readonly author: UserResponse;
4487
+ readonly metadata?: Record<string, unknown> | null | undefined;
4488
+ readonly flags: number;
4489
+ readonly application_id?: SnowflakeType | null | undefined;
4490
+ }
4491
+ export type GetLobbyMessages200 = ReadonlyArray<LobbyMessageResponse>;
4464
4492
  export interface SDKMessageRequest {
4465
4493
  readonly content?: string | null | undefined;
4466
4494
  readonly embeds?: ReadonlyArray<RichEmbed> | null | undefined;
@@ -4476,17 +4504,6 @@ export interface SDKMessageRequest {
4476
4504
  readonly enforce_nonce?: boolean | null | undefined;
4477
4505
  readonly tts?: boolean | null | undefined;
4478
4506
  }
4479
- export interface LobbyMessageResponse {
4480
- readonly id: SnowflakeType;
4481
- readonly type: MessageType;
4482
- readonly content: string;
4483
- readonly lobby_id: SnowflakeType;
4484
- readonly channel_id: SnowflakeType;
4485
- readonly author: UserResponse;
4486
- readonly metadata?: Record<string, unknown> | null | undefined;
4487
- readonly flags: number;
4488
- readonly application_id?: SnowflakeType | null | undefined;
4489
- }
4490
4507
  export interface OAuth2GetAuthorizationResponse {
4491
4508
  readonly application: ApplicationResponse;
4492
4509
  readonly expires: string;
@@ -5108,8 +5125,10 @@ export interface DiscordRest {
5108
5125
  readonly editLobby: (lobbyId: string, options: EditLobbyRequest) => Effect.Effect<LobbyResponse, HttpClientError.HttpClientError>;
5109
5126
  readonly editLobbyChannelLink: (lobbyId: string, options: EditLobbyChannelLinkRequest) => Effect.Effect<LobbyResponse, HttpClientError.HttpClientError>;
5110
5127
  readonly leaveLobby: (lobbyId: string) => Effect.Effect<void, HttpClientError.HttpClientError>;
5128
+ readonly bulkUpdateLobbyMembers: (lobbyId: string, options: BulkUpdateLobbyMembersRequest) => Effect.Effect<BulkUpdateLobbyMembers200, HttpClientError.HttpClientError>;
5111
5129
  readonly addLobbyMember: (lobbyId: string, userId: string, options: AddLobbyMemberRequest) => Effect.Effect<LobbyMemberResponse, HttpClientError.HttpClientError>;
5112
5130
  readonly deleteLobbyMember: (lobbyId: string, userId: string) => Effect.Effect<void, HttpClientError.HttpClientError>;
5131
+ readonly getLobbyMessages: (lobbyId: string, options?: GetLobbyMessagesParams | undefined) => Effect.Effect<GetLobbyMessages200, HttpClientError.HttpClientError>;
5113
5132
  readonly createLobbyMessage: (lobbyId: string, options: SDKMessageRequest) => Effect.Effect<LobbyMessageResponse, HttpClientError.HttpClientError>;
5114
5133
  readonly getMyOauth2Authorization: () => Effect.Effect<OAuth2GetAuthorizationResponse, HttpClientError.HttpClientError>;
5115
5134
  readonly getMyOauth2Application: () => Effect.Effect<PrivateApplicationResponse, HttpClientError.HttpClientError>;