dfx 0.97.4 → 0.97.5
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/Cache.d.ts +4 -1
- package/Cache.d.ts.map +1 -1
- package/DiscordGateway/Shard/StateStore.d.ts +4 -1
- package/DiscordGateway/Shard/StateStore.d.ts.map +1 -1
- package/DiscordGateway/Shard.d.ts +1 -1
- package/DiscordGateway/Sharder.d.ts +1 -1
- package/DiscordGateway.d.ts +1 -1
- package/DiscordREST.d.ts +1 -1
- package/Interactions/context.d.ts +1 -1
- package/Interactions/gateway.d.ts +1 -1
- package/gateway.d.ts +2 -2
- package/mjs/types.mjs +11 -1
- package/mjs/types.mjs.map +1 -1
- package/mjs/version.mjs +1 -1
- package/package.json +2 -2
- package/src/types.ts +14 -4
- package/src/version.ts +1 -1
- package/types.d.ts +18 -8
- package/types.d.ts.map +1 -1
- package/types.js +11 -1
- package/types.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/webhooks.d.ts +1 -1
package/types.d.ts
CHANGED
|
@@ -19,7 +19,9 @@ export declare enum ActionType {
|
|
|
19
19
|
/** logs user content to a specified channel */
|
|
20
20
|
SEND_ALERT_MESSAGE = 2,
|
|
21
21
|
/** timeout user for a specified duration * */
|
|
22
|
-
TIMEOUT = 3
|
|
22
|
+
TIMEOUT = 3,
|
|
23
|
+
/** prevents a member from using text, voice, or other interactions */
|
|
24
|
+
BLOCK_MEMBER_INTERACTION = 4
|
|
23
25
|
}
|
|
24
26
|
export interface Activity {
|
|
25
27
|
/** Activity's name */
|
|
@@ -1906,7 +1908,9 @@ export declare enum EntitlementType {
|
|
|
1906
1908
|
export type EntitlementUpdateEvent = Entitlement;
|
|
1907
1909
|
export declare enum EventType {
|
|
1908
1910
|
/** when a member sends or edits a message in the guild */
|
|
1909
|
-
MESSAGE_SEND = 1
|
|
1911
|
+
MESSAGE_SEND = 1,
|
|
1912
|
+
/** when a member edits their profile */
|
|
1913
|
+
MEMBER_UPDATE = 2
|
|
1910
1914
|
}
|
|
1911
1915
|
export interface ExecuteWebhookParams {
|
|
1912
1916
|
/** the message contents (up to 2000 characters) */
|
|
@@ -3437,7 +3441,11 @@ export declare enum MessageType {
|
|
|
3437
3441
|
STAGE_END = 28,
|
|
3438
3442
|
STAGE_SPEAKER = 29,
|
|
3439
3443
|
STAGE_TOPIC = 31,
|
|
3440
|
-
GUILD_APPLICATION_PREMIUM_SUBSCRIPTION = 32
|
|
3444
|
+
GUILD_APPLICATION_PREMIUM_SUBSCRIPTION = 32,
|
|
3445
|
+
GUILD_INCIDENT_ALERT_MODE_ENABLED = 36,
|
|
3446
|
+
GUILD_INCIDENT_ALERT_MODE_DISABLED = 37,
|
|
3447
|
+
GUILD_INCIDENT_REPORT_RAID = 38,
|
|
3448
|
+
GUILD_INCIDENT_REPORT_FALSE_ALARM = 39
|
|
3441
3449
|
}
|
|
3442
3450
|
export type MessageUpdateEvent = MessageCreateEvent;
|
|
3443
3451
|
export declare enum MfaLevel {
|
|
@@ -4533,7 +4541,7 @@ export interface TeamMember {
|
|
|
4533
4541
|
readonly role: TeamMemberRoleType;
|
|
4534
4542
|
}
|
|
4535
4543
|
export declare enum TeamMemberRoleType {
|
|
4536
|
-
/** Owners are the most
|
|
4544
|
+
/** Owners are the most permissible role, and can take destructive, irreversible actions like deleting team-owned apps or the team itself. Teams are limited to 1 owner. */
|
|
4537
4545
|
OWNER = "",
|
|
4538
4546
|
/** Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps. */
|
|
4539
4547
|
ADMIN = "admin",
|
|
@@ -4625,13 +4633,13 @@ export interface ThreadMetadatum {
|
|
|
4625
4633
|
}
|
|
4626
4634
|
export type ThreadUpdateEvent = Channel;
|
|
4627
4635
|
export interface TriggerMetadatum {
|
|
4628
|
-
/** KEYWORD */
|
|
4636
|
+
/** KEYWORD, MEMBER_PROFILE */
|
|
4629
4637
|
readonly keyword_filter: Array<string>;
|
|
4630
|
-
/** KEYWORD */
|
|
4638
|
+
/** KEYWORD, MEMBER_PROFILE */
|
|
4631
4639
|
readonly regex_patterns: Array<string>;
|
|
4632
4640
|
/** KEYWORD_PRESET */
|
|
4633
4641
|
readonly presets: Array<KeywordPresetType>;
|
|
4634
|
-
/** KEYWORD, KEYWORD_PRESET */
|
|
4642
|
+
/** KEYWORD, KEYWORD_PRESET, MEMBER_PROFILE */
|
|
4635
4643
|
readonly allow_list: Array<string>;
|
|
4636
4644
|
/** MENTION_SPAM */
|
|
4637
4645
|
readonly mention_total_limit: number;
|
|
@@ -4646,7 +4654,9 @@ export declare enum TriggerType {
|
|
|
4646
4654
|
/** check if content contains words from internal pre-defined wordsets */
|
|
4647
4655
|
KEYWORD_PRESET = 4,
|
|
4648
4656
|
/** check if content contains more unique mentions than allowed */
|
|
4649
|
-
MENTION_SPAM = 5
|
|
4657
|
+
MENTION_SPAM = 5,
|
|
4658
|
+
/** check if member profile contains words from a user defined list of keywords */
|
|
4659
|
+
MEMBER_PROFILE = 6
|
|
4650
4660
|
}
|
|
4651
4661
|
export interface TypingStartEvent {
|
|
4652
4662
|
/** ID of the channel */
|