seyfert 2.2.1-dev-13937969432.0 → 2.2.1-dev-14241083990.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.
@@ -0,0 +1,782 @@
1
+ import type { RESTPostAPIChannelInviteJSONBody } from '../../types';
2
+ import { BaseShorter } from './base';
3
+ export declare class InvitesShorter extends BaseShorter {
4
+ get(code: string): Promise<{
5
+ code: string;
6
+ guild?: {
7
+ id: string;
8
+ name: string;
9
+ description: string | null;
10
+ icon: string | null;
11
+ splash: string | null;
12
+ banner: string | null;
13
+ features: import("../../types").GuildFeature[];
14
+ verificationLevel: import("../../types").GuildVerificationLevel;
15
+ vanityUrlCode: string | null;
16
+ premiumSubscriptionCount?: number | undefined;
17
+ nsfwLevel: import("../../types").GuildNSFWLevel;
18
+ } | undefined;
19
+ channel: {
20
+ id: string;
21
+ type: import("../../types").ChannelType;
22
+ name: string | null;
23
+ } | null;
24
+ inviter?: {
25
+ id: string;
26
+ username: string;
27
+ discriminator: string;
28
+ globalName: string | null;
29
+ avatar: string | null;
30
+ bot?: boolean | undefined;
31
+ system?: boolean | undefined;
32
+ mfaEnabled?: boolean | undefined;
33
+ banner?: string | null | undefined;
34
+ accentColor?: number | null | undefined;
35
+ locale?: string | undefined;
36
+ verified?: boolean | undefined;
37
+ email?: string | null | undefined;
38
+ flags?: import("../../types").UserFlags | undefined;
39
+ premiumType?: import("../../types").UserPremiumType | undefined;
40
+ publicFlags?: import("../../types").UserFlags | undefined;
41
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
42
+ } | undefined;
43
+ targetType?: import("../../types").InviteTargetType | undefined;
44
+ targetUser?: {
45
+ id: string;
46
+ username: string;
47
+ discriminator: string;
48
+ globalName: string | null;
49
+ avatar: string | null;
50
+ bot?: boolean | undefined;
51
+ system?: boolean | undefined;
52
+ mfaEnabled?: boolean | undefined;
53
+ banner?: string | null | undefined;
54
+ accentColor?: number | null | undefined;
55
+ locale?: string | undefined;
56
+ verified?: boolean | undefined;
57
+ email?: string | null | undefined;
58
+ flags?: import("../../types").UserFlags | undefined;
59
+ premiumType?: import("../../types").UserPremiumType | undefined;
60
+ publicFlags?: import("../../types").UserFlags | undefined;
61
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
62
+ } | undefined;
63
+ targetApplication?: {
64
+ id?: string | undefined;
65
+ name?: string | undefined;
66
+ icon?: string | null | undefined;
67
+ description?: string | undefined;
68
+ rpcOrigins?: string[] | undefined;
69
+ botPublic?: boolean | undefined;
70
+ botRequireCodeGrant?: boolean | undefined;
71
+ bot?: import("../../types").APIUser | undefined;
72
+ termsOfServiceUrl?: string | undefined;
73
+ privacyPolicyUrl?: string | undefined;
74
+ owner?: import("../../types").APIUser | undefined;
75
+ verifyKey?: string | undefined;
76
+ team?: import("../../types").APITeam | null | undefined;
77
+ guildId?: string | undefined;
78
+ guild?: import("../../types").APIPartialGuild | undefined;
79
+ primarySkuId?: string | undefined;
80
+ slug?: string | undefined;
81
+ coverImage?: string | undefined;
82
+ flags?: import("../../types").ApplicationFlags | undefined;
83
+ approximateGuildCount?: number | undefined;
84
+ approximateUserInstallCount?: number | undefined;
85
+ redirectUris?: string[] | undefined;
86
+ interactionsEndpointUrl?: string | null | undefined;
87
+ roleConnectionsVerificationUrl?: string | null | undefined;
88
+ tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
89
+ installParams?: import("../../types").APIApplicationInstallParams | undefined;
90
+ integrationTypesConfig?: import("../../types").APIApplicationIntegrationTypesConfigMap | undefined;
91
+ customInstallUrl?: string | undefined;
92
+ } | undefined;
93
+ approximatePresenceCount?: number | undefined;
94
+ approximateMemberCount?: number | undefined;
95
+ expiresAt?: string | null | undefined;
96
+ guildScheduledEvent?: {
97
+ channelId: string;
98
+ entityMetadata: null;
99
+ id: string;
100
+ guildId: string;
101
+ creatorId?: string | null | undefined;
102
+ name: string;
103
+ description?: string | null | undefined;
104
+ scheduledStartTime: string;
105
+ scheduledEndTime: string | null;
106
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
107
+ status: import("../../types").GuildScheduledEventStatus;
108
+ entityType: import("../../types").GuildScheduledEventEntityType.StageInstance;
109
+ entityId: string | null;
110
+ creator?: import("../../types").APIUser | undefined;
111
+ userCount?: number | undefined;
112
+ image?: string | null | undefined;
113
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
114
+ } | {
115
+ channelId: string;
116
+ entityMetadata: null;
117
+ id: string;
118
+ guildId: string;
119
+ creatorId?: string | null | undefined;
120
+ name: string;
121
+ description?: string | null | undefined;
122
+ scheduledStartTime: string;
123
+ scheduledEndTime: string | null;
124
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
125
+ status: import("../../types").GuildScheduledEventStatus;
126
+ entityType: import("../../types").GuildScheduledEventEntityType.Voice;
127
+ entityId: string | null;
128
+ creator?: import("../../types").APIUser | undefined;
129
+ userCount?: number | undefined;
130
+ image?: string | null | undefined;
131
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
132
+ } | {
133
+ channelId: null;
134
+ entityMetadata: {
135
+ location: string;
136
+ };
137
+ id: string;
138
+ guildId: string;
139
+ creatorId?: string | null | undefined;
140
+ name: string;
141
+ description?: string | null | undefined;
142
+ scheduledStartTime: string;
143
+ scheduledEndTime: string | null;
144
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
145
+ status: import("../../types").GuildScheduledEventStatus;
146
+ entityType: import("../../types").GuildScheduledEventEntityType.External;
147
+ entityId: string | null;
148
+ creator?: import("../../types").APIUser | undefined;
149
+ userCount?: number | undefined;
150
+ image?: string | null | undefined;
151
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
152
+ } | undefined;
153
+ type: import("../../types").InviteType;
154
+ }>;
155
+ delete(code: string, reason?: string): Promise<{
156
+ code: string;
157
+ guild?: {
158
+ id: string;
159
+ name: string;
160
+ description: string | null;
161
+ icon: string | null;
162
+ splash: string | null;
163
+ banner: string | null;
164
+ features: import("../../types").GuildFeature[];
165
+ verificationLevel: import("../../types").GuildVerificationLevel;
166
+ vanityUrlCode: string | null;
167
+ premiumSubscriptionCount?: number | undefined;
168
+ nsfwLevel: import("../../types").GuildNSFWLevel;
169
+ } | undefined;
170
+ channel: {
171
+ id: string;
172
+ type: import("../../types").ChannelType;
173
+ name: string | null;
174
+ } | null;
175
+ inviter?: {
176
+ id: string;
177
+ username: string;
178
+ discriminator: string;
179
+ globalName: string | null;
180
+ avatar: string | null;
181
+ bot?: boolean | undefined;
182
+ system?: boolean | undefined;
183
+ mfaEnabled?: boolean | undefined;
184
+ banner?: string | null | undefined;
185
+ accentColor?: number | null | undefined;
186
+ locale?: string | undefined;
187
+ verified?: boolean | undefined;
188
+ email?: string | null | undefined;
189
+ flags?: import("../../types").UserFlags | undefined;
190
+ premiumType?: import("../../types").UserPremiumType | undefined;
191
+ publicFlags?: import("../../types").UserFlags | undefined;
192
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
193
+ } | undefined;
194
+ targetType?: import("../../types").InviteTargetType | undefined;
195
+ targetUser?: {
196
+ id: string;
197
+ username: string;
198
+ discriminator: string;
199
+ globalName: string | null;
200
+ avatar: string | null;
201
+ bot?: boolean | undefined;
202
+ system?: boolean | undefined;
203
+ mfaEnabled?: boolean | undefined;
204
+ banner?: string | null | undefined;
205
+ accentColor?: number | null | undefined;
206
+ locale?: string | undefined;
207
+ verified?: boolean | undefined;
208
+ email?: string | null | undefined;
209
+ flags?: import("../../types").UserFlags | undefined;
210
+ premiumType?: import("../../types").UserPremiumType | undefined;
211
+ publicFlags?: import("../../types").UserFlags | undefined;
212
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
213
+ } | undefined;
214
+ targetApplication?: {
215
+ id?: string | undefined;
216
+ name?: string | undefined;
217
+ icon?: string | null | undefined;
218
+ description?: string | undefined;
219
+ rpcOrigins?: string[] | undefined;
220
+ botPublic?: boolean | undefined;
221
+ botRequireCodeGrant?: boolean | undefined;
222
+ bot?: import("../../types").APIUser | undefined;
223
+ termsOfServiceUrl?: string | undefined;
224
+ privacyPolicyUrl?: string | undefined;
225
+ owner?: import("../../types").APIUser | undefined;
226
+ verifyKey?: string | undefined;
227
+ team?: import("../../types").APITeam | null | undefined;
228
+ guildId?: string | undefined;
229
+ guild?: import("../../types").APIPartialGuild | undefined;
230
+ primarySkuId?: string | undefined;
231
+ slug?: string | undefined;
232
+ coverImage?: string | undefined;
233
+ flags?: import("../../types").ApplicationFlags | undefined;
234
+ approximateGuildCount?: number | undefined;
235
+ approximateUserInstallCount?: number | undefined;
236
+ redirectUris?: string[] | undefined;
237
+ interactionsEndpointUrl?: string | null | undefined;
238
+ roleConnectionsVerificationUrl?: string | null | undefined;
239
+ tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
240
+ installParams?: import("../../types").APIApplicationInstallParams | undefined;
241
+ integrationTypesConfig?: import("../../types").APIApplicationIntegrationTypesConfigMap | undefined;
242
+ customInstallUrl?: string | undefined;
243
+ } | undefined;
244
+ approximatePresenceCount?: number | undefined;
245
+ approximateMemberCount?: number | undefined;
246
+ expiresAt?: string | null | undefined;
247
+ guildScheduledEvent?: {
248
+ channelId: string;
249
+ entityMetadata: null;
250
+ id: string;
251
+ guildId: string;
252
+ creatorId?: string | null | undefined;
253
+ name: string;
254
+ description?: string | null | undefined;
255
+ scheduledStartTime: string;
256
+ scheduledEndTime: string | null;
257
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
258
+ status: import("../../types").GuildScheduledEventStatus;
259
+ entityType: import("../../types").GuildScheduledEventEntityType.StageInstance;
260
+ entityId: string | null;
261
+ creator?: import("../../types").APIUser | undefined;
262
+ userCount?: number | undefined;
263
+ image?: string | null | undefined;
264
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
265
+ } | {
266
+ channelId: string;
267
+ entityMetadata: null;
268
+ id: string;
269
+ guildId: string;
270
+ creatorId?: string | null | undefined;
271
+ name: string;
272
+ description?: string | null | undefined;
273
+ scheduledStartTime: string;
274
+ scheduledEndTime: string | null;
275
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
276
+ status: import("../../types").GuildScheduledEventStatus;
277
+ entityType: import("../../types").GuildScheduledEventEntityType.Voice;
278
+ entityId: string | null;
279
+ creator?: import("../../types").APIUser | undefined;
280
+ userCount?: number | undefined;
281
+ image?: string | null | undefined;
282
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
283
+ } | {
284
+ channelId: null;
285
+ entityMetadata: {
286
+ location: string;
287
+ };
288
+ id: string;
289
+ guildId: string;
290
+ creatorId?: string | null | undefined;
291
+ name: string;
292
+ description?: string | null | undefined;
293
+ scheduledStartTime: string;
294
+ scheduledEndTime: string | null;
295
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
296
+ status: import("../../types").GuildScheduledEventStatus;
297
+ entityType: import("../../types").GuildScheduledEventEntityType.External;
298
+ entityId: string | null;
299
+ creator?: import("../../types").APIUser | undefined;
300
+ userCount?: number | undefined;
301
+ image?: string | null | undefined;
302
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
303
+ } | undefined;
304
+ type: import("../../types").InviteType;
305
+ }>;
306
+ channels: {
307
+ create: ({ channelId, reason, ...body }: CreateInviteFromChannel) => Promise<{
308
+ uses: number;
309
+ maxUses: number;
310
+ maxAge: number;
311
+ temporary: boolean;
312
+ createdAt: string;
313
+ code: string;
314
+ guild?: {
315
+ id: string;
316
+ name: string;
317
+ description: string | null;
318
+ icon: string | null;
319
+ splash: string | null;
320
+ banner: string | null;
321
+ features: import("../../types").GuildFeature[];
322
+ verificationLevel: import("../../types").GuildVerificationLevel;
323
+ vanityUrlCode: string | null;
324
+ premiumSubscriptionCount?: number | undefined;
325
+ nsfwLevel: import("../../types").GuildNSFWLevel;
326
+ } | undefined;
327
+ channel: {
328
+ id: string;
329
+ type: import("../../types").ChannelType;
330
+ name: string | null;
331
+ } | null;
332
+ inviter?: {
333
+ id: string;
334
+ username: string;
335
+ discriminator: string;
336
+ globalName: string | null;
337
+ avatar: string | null;
338
+ bot?: boolean | undefined;
339
+ system?: boolean | undefined;
340
+ mfaEnabled?: boolean | undefined;
341
+ banner?: string | null | undefined;
342
+ accentColor?: number | null | undefined;
343
+ locale?: string | undefined;
344
+ verified?: boolean | undefined;
345
+ email?: string | null | undefined;
346
+ flags?: import("../../types").UserFlags | undefined;
347
+ premiumType?: import("../../types").UserPremiumType | undefined;
348
+ publicFlags?: import("../../types").UserFlags | undefined;
349
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
350
+ } | undefined;
351
+ targetType?: import("../../types").InviteTargetType | undefined;
352
+ targetUser?: {
353
+ id: string;
354
+ username: string;
355
+ discriminator: string;
356
+ globalName: string | null;
357
+ avatar: string | null;
358
+ bot?: boolean | undefined;
359
+ system?: boolean | undefined;
360
+ mfaEnabled?: boolean | undefined;
361
+ banner?: string | null | undefined;
362
+ accentColor?: number | null | undefined;
363
+ locale?: string | undefined;
364
+ verified?: boolean | undefined;
365
+ email?: string | null | undefined;
366
+ flags?: import("../../types").UserFlags | undefined;
367
+ premiumType?: import("../../types").UserPremiumType | undefined;
368
+ publicFlags?: import("../../types").UserFlags | undefined;
369
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
370
+ } | undefined;
371
+ targetApplication?: {
372
+ id?: string | undefined;
373
+ name?: string | undefined;
374
+ icon?: string | null | undefined;
375
+ description?: string | undefined;
376
+ rpcOrigins?: string[] | undefined;
377
+ botPublic?: boolean | undefined;
378
+ botRequireCodeGrant?: boolean | undefined;
379
+ bot?: import("../../types").APIUser | undefined;
380
+ termsOfServiceUrl?: string | undefined;
381
+ privacyPolicyUrl?: string | undefined;
382
+ owner?: import("../../types").APIUser | undefined;
383
+ verifyKey?: string | undefined;
384
+ team?: import("../../types").APITeam | null | undefined;
385
+ guildId?: string | undefined;
386
+ guild?: import("../../types").APIPartialGuild | undefined;
387
+ primarySkuId?: string | undefined;
388
+ slug?: string | undefined;
389
+ coverImage?: string | undefined;
390
+ flags?: import("../../types").ApplicationFlags | undefined;
391
+ approximateGuildCount?: number | undefined;
392
+ approximateUserInstallCount?: number | undefined;
393
+ redirectUris?: string[] | undefined;
394
+ interactionsEndpointUrl?: string | null | undefined;
395
+ roleConnectionsVerificationUrl?: string | null | undefined;
396
+ tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
397
+ installParams?: import("../../types").APIApplicationInstallParams | undefined;
398
+ integrationTypesConfig?: import("../../types").APIApplicationIntegrationTypesConfigMap | undefined;
399
+ customInstallUrl?: string | undefined;
400
+ } | undefined;
401
+ approximatePresenceCount?: number | undefined;
402
+ approximateMemberCount?: number | undefined;
403
+ expiresAt?: string | null | undefined;
404
+ guildScheduledEvent?: {
405
+ channelId: string;
406
+ entityMetadata: null;
407
+ id: string;
408
+ guildId: string;
409
+ creatorId?: string | null | undefined;
410
+ name: string;
411
+ description?: string | null | undefined;
412
+ scheduledStartTime: string;
413
+ scheduledEndTime: string | null;
414
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
415
+ status: import("../../types").GuildScheduledEventStatus;
416
+ entityType: import("../../types").GuildScheduledEventEntityType.StageInstance;
417
+ entityId: string | null;
418
+ creator?: import("../../types").APIUser | undefined;
419
+ userCount?: number | undefined;
420
+ image?: string | null | undefined;
421
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
422
+ } | {
423
+ channelId: string;
424
+ entityMetadata: null;
425
+ id: string;
426
+ guildId: string;
427
+ creatorId?: string | null | undefined;
428
+ name: string;
429
+ description?: string | null | undefined;
430
+ scheduledStartTime: string;
431
+ scheduledEndTime: string | null;
432
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
433
+ status: import("../../types").GuildScheduledEventStatus;
434
+ entityType: import("../../types").GuildScheduledEventEntityType.Voice;
435
+ entityId: string | null;
436
+ creator?: import("../../types").APIUser | undefined;
437
+ userCount?: number | undefined;
438
+ image?: string | null | undefined;
439
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
440
+ } | {
441
+ channelId: null;
442
+ entityMetadata: {
443
+ location: string;
444
+ };
445
+ id: string;
446
+ guildId: string;
447
+ creatorId?: string | null | undefined;
448
+ name: string;
449
+ description?: string | null | undefined;
450
+ scheduledStartTime: string;
451
+ scheduledEndTime: string | null;
452
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
453
+ status: import("../../types").GuildScheduledEventStatus;
454
+ entityType: import("../../types").GuildScheduledEventEntityType.External;
455
+ entityId: string | null;
456
+ creator?: import("../../types").APIUser | undefined;
457
+ userCount?: number | undefined;
458
+ image?: string | null | undefined;
459
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
460
+ } | undefined;
461
+ type: import("../../types").InviteType;
462
+ }>;
463
+ list: (channelId: string) => Promise<{
464
+ uses: number;
465
+ maxUses: number;
466
+ maxAge: number;
467
+ temporary: boolean;
468
+ createdAt: string;
469
+ code: string;
470
+ guild?: {
471
+ id: string;
472
+ name: string;
473
+ description: string | null;
474
+ icon: string | null;
475
+ splash: string | null;
476
+ banner: string | null;
477
+ features: import("../../types").GuildFeature[];
478
+ verificationLevel: import("../../types").GuildVerificationLevel;
479
+ vanityUrlCode: string | null;
480
+ premiumSubscriptionCount?: number | undefined;
481
+ nsfwLevel: import("../../types").GuildNSFWLevel;
482
+ } | undefined;
483
+ channel: {
484
+ id: string;
485
+ type: import("../../types").ChannelType;
486
+ name: string | null;
487
+ } | null;
488
+ inviter?: {
489
+ id: string;
490
+ username: string;
491
+ discriminator: string;
492
+ globalName: string | null;
493
+ avatar: string | null;
494
+ bot?: boolean | undefined;
495
+ system?: boolean | undefined;
496
+ mfaEnabled?: boolean | undefined;
497
+ banner?: string | null | undefined;
498
+ accentColor?: number | null | undefined;
499
+ locale?: string | undefined;
500
+ verified?: boolean | undefined;
501
+ email?: string | null | undefined;
502
+ flags?: import("../../types").UserFlags | undefined;
503
+ premiumType?: import("../../types").UserPremiumType | undefined;
504
+ publicFlags?: import("../../types").UserFlags | undefined;
505
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
506
+ } | undefined;
507
+ targetType?: import("../../types").InviteTargetType | undefined;
508
+ targetUser?: {
509
+ id: string;
510
+ username: string;
511
+ discriminator: string;
512
+ globalName: string | null;
513
+ avatar: string | null;
514
+ bot?: boolean | undefined;
515
+ system?: boolean | undefined;
516
+ mfaEnabled?: boolean | undefined;
517
+ banner?: string | null | undefined;
518
+ accentColor?: number | null | undefined;
519
+ locale?: string | undefined;
520
+ verified?: boolean | undefined;
521
+ email?: string | null | undefined;
522
+ flags?: import("../../types").UserFlags | undefined;
523
+ premiumType?: import("../../types").UserPremiumType | undefined;
524
+ publicFlags?: import("../../types").UserFlags | undefined;
525
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
526
+ } | undefined;
527
+ targetApplication?: {
528
+ id?: string | undefined;
529
+ name?: string | undefined;
530
+ icon?: string | null | undefined;
531
+ description?: string | undefined;
532
+ rpcOrigins?: string[] | undefined;
533
+ botPublic?: boolean | undefined;
534
+ botRequireCodeGrant?: boolean | undefined;
535
+ bot?: import("../../types").APIUser | undefined;
536
+ termsOfServiceUrl?: string | undefined;
537
+ privacyPolicyUrl?: string | undefined;
538
+ owner?: import("../../types").APIUser | undefined;
539
+ verifyKey?: string | undefined;
540
+ team?: import("../../types").APITeam | null | undefined;
541
+ guildId?: string | undefined;
542
+ guild?: import("../../types").APIPartialGuild | undefined;
543
+ primarySkuId?: string | undefined;
544
+ slug?: string | undefined;
545
+ coverImage?: string | undefined;
546
+ flags?: import("../../types").ApplicationFlags | undefined;
547
+ approximateGuildCount?: number | undefined;
548
+ approximateUserInstallCount?: number | undefined;
549
+ redirectUris?: string[] | undefined;
550
+ interactionsEndpointUrl?: string | null | undefined;
551
+ roleConnectionsVerificationUrl?: string | null | undefined;
552
+ tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
553
+ installParams?: import("../../types").APIApplicationInstallParams | undefined;
554
+ integrationTypesConfig?: import("../../types").APIApplicationIntegrationTypesConfigMap | undefined;
555
+ customInstallUrl?: string | undefined;
556
+ } | undefined;
557
+ approximatePresenceCount?: number | undefined;
558
+ approximateMemberCount?: number | undefined;
559
+ expiresAt?: string | null | undefined;
560
+ guildScheduledEvent?: {
561
+ channelId: string;
562
+ entityMetadata: null;
563
+ id: string;
564
+ guildId: string;
565
+ creatorId?: string | null | undefined;
566
+ name: string;
567
+ description?: string | null | undefined;
568
+ scheduledStartTime: string;
569
+ scheduledEndTime: string | null;
570
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
571
+ status: import("../../types").GuildScheduledEventStatus;
572
+ entityType: import("../../types").GuildScheduledEventEntityType.StageInstance;
573
+ entityId: string | null;
574
+ creator?: import("../../types").APIUser | undefined;
575
+ userCount?: number | undefined;
576
+ image?: string | null | undefined;
577
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
578
+ } | {
579
+ channelId: string;
580
+ entityMetadata: null;
581
+ id: string;
582
+ guildId: string;
583
+ creatorId?: string | null | undefined;
584
+ name: string;
585
+ description?: string | null | undefined;
586
+ scheduledStartTime: string;
587
+ scheduledEndTime: string | null;
588
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
589
+ status: import("../../types").GuildScheduledEventStatus;
590
+ entityType: import("../../types").GuildScheduledEventEntityType.Voice;
591
+ entityId: string | null;
592
+ creator?: import("../../types").APIUser | undefined;
593
+ userCount?: number | undefined;
594
+ image?: string | null | undefined;
595
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
596
+ } | {
597
+ channelId: null;
598
+ entityMetadata: {
599
+ location: string;
600
+ };
601
+ id: string;
602
+ guildId: string;
603
+ creatorId?: string | null | undefined;
604
+ name: string;
605
+ description?: string | null | undefined;
606
+ scheduledStartTime: string;
607
+ scheduledEndTime: string | null;
608
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
609
+ status: import("../../types").GuildScheduledEventStatus;
610
+ entityType: import("../../types").GuildScheduledEventEntityType.External;
611
+ entityId: string | null;
612
+ creator?: import("../../types").APIUser | undefined;
613
+ userCount?: number | undefined;
614
+ image?: string | null | undefined;
615
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
616
+ } | undefined;
617
+ type: import("../../types").InviteType;
618
+ }[]>;
619
+ };
620
+ guilds: {
621
+ list: (guildId: string) => Promise<{
622
+ uses: number;
623
+ maxUses: number;
624
+ maxAge: number;
625
+ temporary: boolean;
626
+ createdAt: string;
627
+ code: string;
628
+ guild?: {
629
+ id: string;
630
+ name: string;
631
+ description: string | null;
632
+ icon: string | null;
633
+ splash: string | null;
634
+ banner: string | null;
635
+ features: import("../../types").GuildFeature[];
636
+ verificationLevel: import("../../types").GuildVerificationLevel;
637
+ vanityUrlCode: string | null;
638
+ premiumSubscriptionCount?: number | undefined;
639
+ nsfwLevel: import("../../types").GuildNSFWLevel;
640
+ } | undefined;
641
+ channel: {
642
+ id: string;
643
+ type: import("../../types").ChannelType;
644
+ name: string | null;
645
+ } | null;
646
+ inviter?: {
647
+ id: string;
648
+ username: string;
649
+ discriminator: string;
650
+ globalName: string | null;
651
+ avatar: string | null;
652
+ bot?: boolean | undefined;
653
+ system?: boolean | undefined;
654
+ mfaEnabled?: boolean | undefined;
655
+ banner?: string | null | undefined;
656
+ accentColor?: number | null | undefined;
657
+ locale?: string | undefined;
658
+ verified?: boolean | undefined;
659
+ email?: string | null | undefined;
660
+ flags?: import("../../types").UserFlags | undefined;
661
+ premiumType?: import("../../types").UserPremiumType | undefined;
662
+ publicFlags?: import("../../types").UserFlags | undefined;
663
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
664
+ } | undefined;
665
+ targetType?: import("../../types").InviteTargetType | undefined;
666
+ targetUser?: {
667
+ id: string;
668
+ username: string;
669
+ discriminator: string;
670
+ globalName: string | null;
671
+ avatar: string | null;
672
+ bot?: boolean | undefined;
673
+ system?: boolean | undefined;
674
+ mfaEnabled?: boolean | undefined;
675
+ banner?: string | null | undefined;
676
+ accentColor?: number | null | undefined;
677
+ locale?: string | undefined;
678
+ verified?: boolean | undefined;
679
+ email?: string | null | undefined;
680
+ flags?: import("../../types").UserFlags | undefined;
681
+ premiumType?: import("../../types").UserPremiumType | undefined;
682
+ publicFlags?: import("../../types").UserFlags | undefined;
683
+ avatarDecorationData?: import("../../types").APIAvatarDecorationData | null | undefined;
684
+ } | undefined;
685
+ targetApplication?: {
686
+ id?: string | undefined;
687
+ name?: string | undefined;
688
+ icon?: string | null | undefined;
689
+ description?: string | undefined;
690
+ rpcOrigins?: string[] | undefined;
691
+ botPublic?: boolean | undefined;
692
+ botRequireCodeGrant?: boolean | undefined;
693
+ bot?: import("../../types").APIUser | undefined;
694
+ termsOfServiceUrl?: string | undefined;
695
+ privacyPolicyUrl?: string | undefined;
696
+ owner?: import("../../types").APIUser | undefined;
697
+ verifyKey?: string | undefined;
698
+ team?: import("../../types").APITeam | null | undefined;
699
+ guildId?: string | undefined;
700
+ guild?: import("../../types").APIPartialGuild | undefined;
701
+ primarySkuId?: string | undefined;
702
+ slug?: string | undefined;
703
+ coverImage?: string | undefined;
704
+ flags?: import("../../types").ApplicationFlags | undefined;
705
+ approximateGuildCount?: number | undefined;
706
+ approximateUserInstallCount?: number | undefined;
707
+ redirectUris?: string[] | undefined;
708
+ interactionsEndpointUrl?: string | null | undefined;
709
+ roleConnectionsVerificationUrl?: string | null | undefined;
710
+ tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
711
+ installParams?: import("../../types").APIApplicationInstallParams | undefined;
712
+ integrationTypesConfig?: import("../../types").APIApplicationIntegrationTypesConfigMap | undefined;
713
+ customInstallUrl?: string | undefined;
714
+ } | undefined;
715
+ approximatePresenceCount?: number | undefined;
716
+ approximateMemberCount?: number | undefined;
717
+ expiresAt?: string | null | undefined;
718
+ guildScheduledEvent?: {
719
+ channelId: string;
720
+ entityMetadata: null;
721
+ id: string;
722
+ guildId: string;
723
+ creatorId?: string | null | undefined;
724
+ name: string;
725
+ description?: string | null | undefined;
726
+ scheduledStartTime: string;
727
+ scheduledEndTime: string | null;
728
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
729
+ status: import("../../types").GuildScheduledEventStatus;
730
+ entityType: import("../../types").GuildScheduledEventEntityType.StageInstance;
731
+ entityId: string | null;
732
+ creator?: import("../../types").APIUser | undefined;
733
+ userCount?: number | undefined;
734
+ image?: string | null | undefined;
735
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
736
+ } | {
737
+ channelId: string;
738
+ entityMetadata: null;
739
+ id: string;
740
+ guildId: string;
741
+ creatorId?: string | null | undefined;
742
+ name: string;
743
+ description?: string | null | undefined;
744
+ scheduledStartTime: string;
745
+ scheduledEndTime: string | null;
746
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
747
+ status: import("../../types").GuildScheduledEventStatus;
748
+ entityType: import("../../types").GuildScheduledEventEntityType.Voice;
749
+ entityId: string | null;
750
+ creator?: import("../../types").APIUser | undefined;
751
+ userCount?: number | undefined;
752
+ image?: string | null | undefined;
753
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
754
+ } | {
755
+ channelId: null;
756
+ entityMetadata: {
757
+ location: string;
758
+ };
759
+ id: string;
760
+ guildId: string;
761
+ creatorId?: string | null | undefined;
762
+ name: string;
763
+ description?: string | null | undefined;
764
+ scheduledStartTime: string;
765
+ scheduledEndTime: string | null;
766
+ privacyLevel: import("../../types").GuildScheduledEventPrivacyLevel;
767
+ status: import("../../types").GuildScheduledEventStatus;
768
+ entityType: import("../../types").GuildScheduledEventEntityType.External;
769
+ entityId: string | null;
770
+ creator?: import("../../types").APIUser | undefined;
771
+ userCount?: number | undefined;
772
+ image?: string | null | undefined;
773
+ recurrenceRule: import("../../types").APIGuildScheduledEventRecurrenceRule | null;
774
+ } | undefined;
775
+ type: import("../../types").InviteType;
776
+ }[]>;
777
+ };
778
+ }
779
+ export interface CreateInviteFromChannel extends RESTPostAPIChannelInviteJSONBody {
780
+ channelId: string;
781
+ reason?: string;
782
+ }