ApplicationRoutes

Signature

export interface ApplicationRoutes

Properties

1

Methods

0

No methods.

Properties

applications: (id: string) => {    get(args?: RestArgumentsNoBody): Promise<RESTGetCurrentApplicationResult>;    patch(args: RestArguments<RESTPatchCurrentApplicationJSONBody>): Promise<RESTPatchCurrentApplicationResult>;    'activity-instances': (id: string) => {        get(args?: RestArgumentsNoBody): Promise<RestGetAPIApplicationActivityInstanceResult>;    };    guilds: (id: string) => {        commands: {            get(args?: RestArgumentsNoBody<RESTGetAPIApplicationGuildCommandsQuery>): Promise<RESTGetAPIApplicationGuildCommandsResult>;            post(args: RestArguments<RESTPostAPIApplicationGuildCommandsJSONBody>): Promise<RESTPostAPIApplicationGuildCommandsResult>;            put(args?: RestArguments<RESTPutAPIApplicationGuildCommandsJSONBody>): Promise<RESTPutAPIApplicationGuildCommandsResult>;            permissions: {                get(args?: RestArgumentsNoBody): Promise<RESTGetAPIGuildApplicationCommandsPermissionsResult>;            };            (id: string): {                get(args?: RestArgumentsNoBody): Promise<RESTGetAPIApplicationGuildCommandResult>;                patch(args: RestArguments<RESTPatchAPIApplicationGuildCommandJSONBody>): Promise<RESTPatchAPIApplicationGuildCommandResult>;                delete(args?: RestArgumentsNoBody): Promise<undefined>;                permissions: {                    get(args?: RestArgumentsNoBody): Promise<RESTGetAPIGuildApplicationCommandsPermissionsResult>;                    put(args?: RestArguments<RESTPutAPIApplicationCommandPermissionsJSONBody>): Promise<RESTPutAPIGuildApplicationCommandsPermissionsResult>;                };            };        };    };    commands: {        get(args?: RestArgumentsNoBody<RESTGetAPIApplicationCommandsQuery>): Promise<RESTGetAPIApplicationCommandsResult>;        post(args: RestArguments<RESTPostAPIApplicationCommandsJSONBody>): Promise<RESTPostAPIApplicationCommandsResult>;        put(args?: RestArguments<RESTPutAPIApplicationCommandsJSONBody>): Promise<RESTPutAPIApplicationCommandsResult>;        (id: string): {            get(args?: RestArgumentsNoBody): Promise<RESTGetAPIApplicationCommandResult>;            patch(args: RestArguments<RESTPatchAPIApplicationCommandJSONBody>): Promise<RESTPatchAPIApplicationCommandResult>;            delete(args?: RestArgumentsNoBody): Promise<undefined>;        };    };    'role-connections': {        metadata: {            get(args?: RestArgumentsNoBody): Promise<RESTGetAPIApplicationRoleConnectionMetadataResult>;            put(args: RestArguments<RESTPutAPIApplicationRoleConnectionMetadataJSONBody>): Promise<RESTPutAPIApplicationRoleConnectionMetadataResult>;        };    };    emojis: {        (id: string): {            get(args?: RestArgumentsNoBody): Promise<RESTGetAPIApplicationEmojiResult>;            patch(args?: RestArguments<RESTPatchAPIApplicationEmojiJSONBody>): Promise<RESTPatchAPIApplicationEmojiResult>;            delete(args?: RestArgumentsNoBody): Promise<RESTDeleteAPIApplicationEmojiResult>;        };        get(args?: RestArgumentsNoBody<Pick<RESTGetAPIApplicationEmojiResult, 'id'>>): Promise<RESTGetAPIApplicationEmojisResult>;        post(args?: RestArguments<RESTPostAPIApplicationEmojiJSONBody>): Promise<RESTPostAPIApplicationEmojiResult>;    };    entitlements: {        get(args?: RestArgumentsNoBody<RESTGetAPIEntitlementsQuery>): Promise<RESTGetAPIEntitlementsResult>;        post(args: RestArguments<RESTPostAPIEntitlementBody>): Promise<RESTPostAPIEntitlementResult>;        (id: string): {            get(args?: RestArgumentsNoBody): Promise<RESTGetAPIEntitlementResult>;            delete(args?: RestArgumentsNoBody): Promise<undefined>;            consume: {                post(args?: RestArgumentsNoBody): Promise<undefined>;            };        };    };    skus: {        get(args?: RestArgumentsNoBody): Promise<RESTGetAPISKUsResult>;    };};