dfx 0.104.1 → 0.106.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.
package/types.d.ts CHANGED
@@ -1740,7 +1740,7 @@ export interface Endpoints<O> {
1740
1740
  getCurrentAuthorizationInformation: (options?: O) => RestResponse<GetCurrentAuthorizationInformationResponse>;
1741
1741
  /** Returns the bot's application object. */
1742
1742
  getCurrentBotApplicationInformation: (options?: O) => RestResponse<Application>;
1743
- /** Returns the user object of the requester's account. For OAuth2, this requires the identify scope, which will return the object without an email, and optionally the email scope, which returns the object with an email. */
1743
+ /** Returns the user object of the requester's account. For OAuth2, this requires the identify scope, which will return the object without an email, and optionally the email scope, which returns the object with an email if the user has one. */
1744
1744
  getCurrentUser: (options?: O) => RestResponse<User>;
1745
1745
  /** Returns the application role connection for the user. Requires an OAuth2 access token with role_connections.write scope for the application specified in the path. */
1746
1746
  getCurrentUserApplicationRoleConnection: (applicationId: string, options?: O) => RestResponse<ApplicationRoleConnection>;
@@ -2531,6 +2531,8 @@ export interface GuildMember {
2531
2531
  readonly nick?: string | null;
2532
2532
  /** the member's guild avatar hash */
2533
2533
  readonly avatar?: string | null;
2534
+ /** the member's guild banner hash */
2535
+ readonly banner?: string | null;
2534
2536
  /** array of role object ids */
2535
2537
  readonly roles: Array<Snowflake>;
2536
2538
  /** when the user joined the guild */
@@ -2610,6 +2612,8 @@ export interface GuildMemberUpdateEvent {
2610
2612
  readonly nick?: string | null;
2611
2613
  /** Member's guild avatar hash */
2612
2614
  readonly avatar?: string | null;
2615
+ /** Member's guild banner hash */
2616
+ readonly banner?: string | null;
2613
2617
  /** When the user joined the guild */
2614
2618
  readonly joined_at?: string | null;
2615
2619
  /** When the user starting boosting the guild */
@@ -2833,7 +2837,12 @@ export interface GuildSoundboardSoundDeleteEvent {
2833
2837
  /** ID of the guild the sound was in */
2834
2838
  readonly guild_id: Snowflake;
2835
2839
  }
2836
- export type GuildSoundboardSoundsUpdateEvent = SoundboardSound;
2840
+ export interface GuildSoundboardSoundsUpdateEvent {
2841
+ /** The guild's soundboard sounds */
2842
+ readonly soundboard_sounds: Array<SoundboardSound>;
2843
+ /** ID of the guild */
2844
+ readonly guild_id: Snowflake;
2845
+ }
2837
2846
  export type GuildSoundboardSoundUpdateEvent = SoundboardSound;
2838
2847
  export interface GuildStickersUpdateEvent {
2839
2848
  /** ID of the guild */
@@ -3036,7 +3045,7 @@ export interface Interaction {
3036
3045
  readonly context?: InteractionContextType;
3037
3046
  }
3038
3047
  export interface InteractionCallback {
3039
- /** */
3048
+ /** ID of the interaction */
3040
3049
  readonly id: Snowflake;
3041
3050
  /** Interaction type */
3042
3051
  readonly type: InteractionType;
@@ -3093,7 +3102,7 @@ export interface InteractionCallbackResource {
3093
3102
  readonly message?: Message;
3094
3103
  }
3095
3104
  export interface InteractionCallbackResponse {
3096
- /** The interaction object associated with the */
3105
+ /** The interaction object associated with the interaction response. */
3097
3106
  readonly interaction: InteractionCallback;
3098
3107
  /** The resource that was created by the interaction response. */
3099
3108
  readonly resource?: InteractionCallbackResource;