revolt-api
Advanced tools
Comparing version 0.6.7 to 0.6.8
@@ -93,5 +93,2 @@ export declare const pathResolve: { | ||
}; | ||
"/channels/{_target}/messages/stale": { | ||
post: never[]; | ||
}; | ||
"/channels/{target}/messages/{msg}": { | ||
@@ -108,4 +105,6 @@ get: never[]; | ||
}; | ||
"/channels/{group_id}/recipients/{member_id}": { | ||
put: never[]; | ||
}; | ||
"/channels/{target}/recipients/{member}": { | ||
put: never[]; | ||
delete: never[]; | ||
@@ -194,4 +193,6 @@ }; | ||
"/custom/emoji/{id}": { | ||
put: never[]; | ||
}; | ||
"/custom/emoji/{emoji_id}": { | ||
get: never[]; | ||
put: never[]; | ||
delete: never[]; | ||
@@ -198,0 +199,0 @@ }; |
@@ -5,3 +5,3 @@ "use strict"; | ||
// This file was auto-generated by @insertish/oapi! | ||
exports.pathResolve = { "1": [[""]], "2": [["admin", "stats"], ["users", "@me"], ["users", ["{target}"]], ["users", "dms"], ["users", "friend"], ["bots", "create"], ["bots", ["{bot}"]], ["bots", "@me"], ["bots", ["{target}"]], ["channels", ["{target}"]], ["channels", "create"], ["servers", "create"], ["servers", ["{target}"]], ["invites", ["{target}"]], ["safety", "report"], ["onboard", "hello"], ["onboard", "complete"], ["push", "subscribe"], ["push", "unsubscribe"], ["sync", "unreads"], ["webhooks", ["{webhook_id}"]]], "3": [["users", ["{target}"], "flags"], ["users", "@me", "username"], ["users", ["{target}"], "default_avatar"], ["users", ["{target}"], "profile"], ["users", ["{target}"], "dm"], ["users", ["{target}"], "mutual"], ["users", ["{target}"], "friend"], ["users", ["{target}"], "block"], ["bots", ["{target}"], "invite"], ["channels", ["{target}"], "members"], ["channels", ["{target}"], "invites"], ["channels", ["{target}"], "messages"], ["channels", ["{target}"], "search"], ["channels", ["{target}"], "join_call"], ["channels", ["{target}"], "webhooks"], ["channels", ["{channel_id}"], "webhooks"], ["servers", ["{target}"], "ack"], ["servers", ["{target}"], "channels"], ["servers", ["{target}"], "members"], ["servers", ["{target}"], "members_experimental_query"], ["servers", ["{target}"], "bans"], ["servers", ["{target}"], "invites"], ["servers", ["{target}"], "roles"], ["servers", ["{target}"], "emojis"], ["custom", "emoji", ["{id}"]], ["auth", "account", "create"], ["auth", "account", "reverify"], ["auth", "account", "delete"], ["auth", "account", ""], ["auth", "account", "disable"], ["auth", "account", "reset_password"], ["auth", "session", "login"], ["auth", "session", "logout"], ["auth", "session", "all"], ["auth", "session", ["{id}"]], ["auth", "mfa", "ticket"], ["auth", "mfa", ""], ["auth", "mfa", "recovery"], ["auth", "mfa", "methods"], ["auth", "mfa", "totp"], ["sync", "settings", "fetch"], ["sync", "settings", "set"], ["webhooks", ["{webhook_id}"], ["{token}"]]], "4": [["channels", ["{target}"], "ack", ["{message}"]], ["channels", ["{_target}"], "messages", "stale"], ["channels", ["{target}"], "messages", ["{msg}"]], ["channels", ["{target}"], "messages", "bulk"], ["channels", ["{target}"], "recipients", ["{member}"]], ["channels", ["{target}"], "permissions", ["{role_id}"]], ["channels", ["{target}"], "permissions", "default"], ["servers", ["{target}"], "members", ["{member}"]], ["servers", ["{server}"], "members", ["{target}"]], ["servers", ["{server}"], "bans", ["{target}"]], ["servers", ["{target}"], "roles", ["{role_id}"]], ["servers", ["{target}"], "permissions", ["{role_id}"]], ["servers", ["{target}"], "permissions", "default"], ["auth", "account", "change", "password"], ["auth", "account", "change", "email"], ["auth", "account", "verify", ["{code}"]], ["webhooks", ["{webhook_id}"], ["{token}"], "github"]], "5": [["channels", ["{target}"], "messages", ["{msg}"], "reactions"]], "6": [["channels", ["{target}"], "messages", ["{msg}"], "reactions", ["{emoji}"]]] }; | ||
exports.queryParams = { "/": { "get": [] }, "/admin/stats": { "get": [] }, "/users/@me": { "get": [] }, "/users/{target}": { "get": [], "patch": [] }, "/users/{target}/flags": { "get": [] }, "/users/@me/username": { "patch": [] }, "/users/{target}/default_avatar": { "get": [] }, "/users/{target}/profile": { "get": [] }, "/users/dms": { "get": [] }, "/users/{target}/dm": { "get": [] }, "/users/{target}/mutual": { "get": [] }, "/users/{target}/friend": { "put": [], "delete": [] }, "/users/{target}/block": { "put": [], "delete": [] }, "/users/friend": { "post": [] }, "/bots/create": { "post": [] }, "/bots/{target}/invite": { "get": [], "post": [] }, "/bots/{bot}": { "get": [] }, "/bots/@me": { "get": [] }, "/bots/{target}": { "delete": [], "patch": [] }, "/channels/{target}/ack/{message}": { "put": [] }, "/channels/{target}": { "get": [], "delete": ["leave_silently"], "patch": [] }, "/channels/{target}/members": { "get": [] }, "/channels/{target}/invites": { "post": [] }, "/channels/{target}/messages": { "get": ["limit", "before", "after", "sort", "nearby", "include_users"], "post": [] }, "/channels/{target}/search": { "post": [] }, "/channels/{_target}/messages/stale": { "post": [] }, "/channels/{target}/messages/{msg}": { "get": [], "delete": [], "patch": [] }, "/channels/{target}/messages/bulk": { "delete": [] }, "/channels/create": { "post": [] }, "/channels/{target}/recipients/{member}": { "put": [], "delete": [] }, "/channels/{target}/join_call": { "post": [] }, "/channels/{target}/permissions/{role_id}": { "put": [] }, "/channels/{target}/permissions/default": { "put": [] }, "/channels/{target}/messages/{msg}/reactions/{emoji}": { "put": [], "delete": ["user_id", "remove_all"] }, "/channels/{target}/messages/{msg}/reactions": { "delete": [] }, "/channels/{target}/webhooks": { "post": [] }, "/channels/{channel_id}/webhooks": { "get": [] }, "/servers/create": { "post": [] }, "/servers/{target}": { "get": ["include_channels"], "delete": ["leave_silently"], "patch": [] }, "/servers/{target}/ack": { "put": [] }, "/servers/{target}/channels": { "post": [] }, "/servers/{target}/members": { "get": ["exclude_offline"] }, "/servers/{target}/members/{member}": { "get": [], "delete": [] }, "/servers/{server}/members/{target}": { "patch": [] }, "/servers/{target}/members_experimental_query": { "get": ["query", "experimental_api"] }, "/servers/{server}/bans/{target}": { "put": [], "delete": [] }, "/servers/{target}/bans": { "get": [] }, "/servers/{target}/invites": { "get": [] }, "/servers/{target}/roles": { "post": [] }, "/servers/{target}/roles/{role_id}": { "delete": [], "patch": [] }, "/servers/{target}/permissions/{role_id}": { "put": [] }, "/servers/{target}/permissions/default": { "put": [] }, "/servers/{target}/emojis": { "get": [] }, "/invites/{target}": { "get": [], "post": [], "delete": [] }, "/custom/emoji/{id}": { "get": [], "put": [], "delete": [] }, "/safety/report": { "post": [] }, "/auth/account/create": { "post": [] }, "/auth/account/reverify": { "post": [] }, "/auth/account/delete": { "put": [], "post": [] }, "/auth/account/": { "get": [] }, "/auth/account/disable": { "post": [] }, "/auth/account/change/password": { "patch": [] }, "/auth/account/change/email": { "patch": [] }, "/auth/account/verify/{code}": { "post": [] }, "/auth/account/reset_password": { "post": [], "patch": [] }, "/auth/session/login": { "post": [] }, "/auth/session/logout": { "post": [] }, "/auth/session/all": { "get": [], "delete": ["revoke_self"] }, "/auth/session/{id}": { "delete": [], "patch": [] }, "/auth/mfa/ticket": { "put": [] }, "/auth/mfa/": { "get": [] }, "/auth/mfa/recovery": { "post": [], "patch": [] }, "/auth/mfa/methods": { "get": [] }, "/auth/mfa/totp": { "put": [], "post": [], "delete": [] }, "/onboard/hello": { "get": [] }, "/onboard/complete": { "post": [] }, "/push/subscribe": { "post": [] }, "/push/unsubscribe": { "post": [] }, "/sync/settings/fetch": { "post": [] }, "/sync/settings/set": { "post": ["timestamp"] }, "/sync/unreads": { "get": [] }, "/webhooks/{webhook_id}/{token}": { "get": [], "post": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}": { "get": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}/{token}/github": { "post": [] } }; | ||
exports.pathResolve = { "1": [[""]], "2": [["admin", "stats"], ["users", "@me"], ["users", ["{target}"]], ["users", "dms"], ["users", "friend"], ["bots", "create"], ["bots", ["{bot}"]], ["bots", "@me"], ["bots", ["{target}"]], ["channels", ["{target}"]], ["channels", "create"], ["servers", "create"], ["servers", ["{target}"]], ["invites", ["{target}"]], ["safety", "report"], ["onboard", "hello"], ["onboard", "complete"], ["push", "subscribe"], ["push", "unsubscribe"], ["sync", "unreads"], ["webhooks", ["{webhook_id}"]]], "3": [["users", ["{target}"], "flags"], ["users", "@me", "username"], ["users", ["{target}"], "default_avatar"], ["users", ["{target}"], "profile"], ["users", ["{target}"], "dm"], ["users", ["{target}"], "mutual"], ["users", ["{target}"], "friend"], ["users", ["{target}"], "block"], ["bots", ["{target}"], "invite"], ["channels", ["{target}"], "members"], ["channels", ["{target}"], "invites"], ["channels", ["{target}"], "messages"], ["channels", ["{target}"], "search"], ["channels", ["{target}"], "join_call"], ["channels", ["{target}"], "webhooks"], ["channels", ["{channel_id}"], "webhooks"], ["servers", ["{target}"], "ack"], ["servers", ["{target}"], "channels"], ["servers", ["{target}"], "members"], ["servers", ["{target}"], "members_experimental_query"], ["servers", ["{target}"], "bans"], ["servers", ["{target}"], "invites"], ["servers", ["{target}"], "roles"], ["servers", ["{target}"], "emojis"], ["custom", "emoji", ["{id}"]], ["custom", "emoji", ["{emoji_id}"]], ["auth", "account", "create"], ["auth", "account", "reverify"], ["auth", "account", "delete"], ["auth", "account", ""], ["auth", "account", "disable"], ["auth", "account", "reset_password"], ["auth", "session", "login"], ["auth", "session", "logout"], ["auth", "session", "all"], ["auth", "session", ["{id}"]], ["auth", "mfa", "ticket"], ["auth", "mfa", ""], ["auth", "mfa", "recovery"], ["auth", "mfa", "methods"], ["auth", "mfa", "totp"], ["sync", "settings", "fetch"], ["sync", "settings", "set"], ["webhooks", ["{webhook_id}"], ["{token}"]]], "4": [["channels", ["{target}"], "ack", ["{message}"]], ["channels", ["{target}"], "messages", ["{msg}"]], ["channels", ["{target}"], "messages", "bulk"], ["channels", ["{group_id}"], "recipients", ["{member_id}"]], ["channels", ["{target}"], "recipients", ["{member}"]], ["channels", ["{target}"], "permissions", ["{role_id}"]], ["channels", ["{target}"], "permissions", "default"], ["servers", ["{target}"], "members", ["{member}"]], ["servers", ["{server}"], "members", ["{target}"]], ["servers", ["{server}"], "bans", ["{target}"]], ["servers", ["{target}"], "roles", ["{role_id}"]], ["servers", ["{target}"], "permissions", ["{role_id}"]], ["servers", ["{target}"], "permissions", "default"], ["auth", "account", "change", "password"], ["auth", "account", "change", "email"], ["auth", "account", "verify", ["{code}"]], ["webhooks", ["{webhook_id}"], ["{token}"], "github"]], "5": [["channels", ["{target}"], "messages", ["{msg}"], "reactions"]], "6": [["channels", ["{target}"], "messages", ["{msg}"], "reactions", ["{emoji}"]]] }; | ||
exports.queryParams = { "/": { "get": [] }, "/admin/stats": { "get": [] }, "/users/@me": { "get": [] }, "/users/{target}": { "get": [], "patch": [] }, "/users/{target}/flags": { "get": [] }, "/users/@me/username": { "patch": [] }, "/users/{target}/default_avatar": { "get": [] }, "/users/{target}/profile": { "get": [] }, "/users/dms": { "get": [] }, "/users/{target}/dm": { "get": [] }, "/users/{target}/mutual": { "get": [] }, "/users/{target}/friend": { "put": [], "delete": [] }, "/users/{target}/block": { "put": [], "delete": [] }, "/users/friend": { "post": [] }, "/bots/create": { "post": [] }, "/bots/{target}/invite": { "get": [], "post": [] }, "/bots/{bot}": { "get": [] }, "/bots/@me": { "get": [] }, "/bots/{target}": { "delete": [], "patch": [] }, "/channels/{target}/ack/{message}": { "put": [] }, "/channels/{target}": { "get": [], "delete": ["leave_silently"], "patch": [] }, "/channels/{target}/members": { "get": [] }, "/channels/{target}/invites": { "post": [] }, "/channels/{target}/messages": { "get": ["limit", "before", "after", "sort", "nearby", "include_users"], "post": [] }, "/channels/{target}/search": { "post": [] }, "/channels/{target}/messages/{msg}": { "get": [], "delete": [], "patch": [] }, "/channels/{target}/messages/bulk": { "delete": [] }, "/channels/create": { "post": [] }, "/channels/{group_id}/recipients/{member_id}": { "put": [] }, "/channels/{target}/recipients/{member}": { "delete": [] }, "/channels/{target}/join_call": { "post": [] }, "/channels/{target}/permissions/{role_id}": { "put": [] }, "/channels/{target}/permissions/default": { "put": [] }, "/channels/{target}/messages/{msg}/reactions/{emoji}": { "put": [], "delete": ["user_id", "remove_all"] }, "/channels/{target}/messages/{msg}/reactions": { "delete": [] }, "/channels/{target}/webhooks": { "post": [] }, "/channels/{channel_id}/webhooks": { "get": [] }, "/servers/create": { "post": [] }, "/servers/{target}": { "get": ["include_channels"], "delete": ["leave_silently"], "patch": [] }, "/servers/{target}/ack": { "put": [] }, "/servers/{target}/channels": { "post": [] }, "/servers/{target}/members": { "get": ["exclude_offline"] }, "/servers/{target}/members/{member}": { "get": [], "delete": [] }, "/servers/{server}/members/{target}": { "patch": [] }, "/servers/{target}/members_experimental_query": { "get": ["query", "experimental_api"] }, "/servers/{server}/bans/{target}": { "put": [], "delete": [] }, "/servers/{target}/bans": { "get": [] }, "/servers/{target}/invites": { "get": [] }, "/servers/{target}/roles": { "post": [] }, "/servers/{target}/roles/{role_id}": { "delete": [], "patch": [] }, "/servers/{target}/permissions/{role_id}": { "put": [] }, "/servers/{target}/permissions/default": { "put": [] }, "/servers/{target}/emojis": { "get": [] }, "/invites/{target}": { "get": [], "post": [], "delete": [] }, "/custom/emoji/{id}": { "put": [] }, "/custom/emoji/{emoji_id}": { "get": [], "delete": [] }, "/safety/report": { "post": [] }, "/auth/account/create": { "post": [] }, "/auth/account/reverify": { "post": [] }, "/auth/account/delete": { "put": [], "post": [] }, "/auth/account/": { "get": [] }, "/auth/account/disable": { "post": [] }, "/auth/account/change/password": { "patch": [] }, "/auth/account/change/email": { "patch": [] }, "/auth/account/verify/{code}": { "post": [] }, "/auth/account/reset_password": { "post": [], "patch": [] }, "/auth/session/login": { "post": [] }, "/auth/session/logout": { "post": [] }, "/auth/session/all": { "get": [], "delete": ["revoke_self"] }, "/auth/session/{id}": { "delete": [], "patch": [] }, "/auth/mfa/ticket": { "put": [] }, "/auth/mfa/": { "get": [] }, "/auth/mfa/recovery": { "post": [], "patch": [] }, "/auth/mfa/methods": { "get": [] }, "/auth/mfa/totp": { "put": [], "post": [], "delete": [] }, "/onboard/hello": { "get": [] }, "/onboard/complete": { "post": [] }, "/push/subscribe": { "post": [] }, "/push/unsubscribe": { "post": [] }, "/sync/settings/fetch": { "post": [] }, "/sync/settings/set": { "post": ["timestamp"] }, "/sync/unreads": { "get": [] }, "/webhooks/{webhook_id}/{token}": { "get": [], "post": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}": { "get": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}/{token}/github": { "post": [] } }; |
@@ -351,14 +351,2 @@ import { paths } from './schema'; | ||
} | { | ||
method: 'post'; | ||
path: `/channels/${string}/messages/stale`; | ||
parts: 4; | ||
params: paths['/channels/{_target}/messages/stale']['post']['requestBody']['content']['application/json']; | ||
response: undefined; | ||
} | { | ||
method: 'post'; | ||
path: '-/channels/{_target}/messages/stale'; | ||
parts: 4; | ||
params: paths['/channels/{_target}/messages/stale']['post']['requestBody']['content']['application/json']; | ||
response: undefined; | ||
} | { | ||
method: 'get'; | ||
@@ -425,3 +413,3 @@ path: `/channels/${string}/messages/${string}`; | ||
method: 'put'; | ||
path: '-/channels/{target}/recipients/{member}'; | ||
path: '-/channels/{group_id}/recipients/{member_id}'; | ||
parts: 4; | ||
@@ -821,14 +809,2 @@ params: undefined; | ||
} | { | ||
method: 'get'; | ||
path: `/custom/emoji/${string}`; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'get'; | ||
path: '-/custom/emoji/{id}'; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'put'; | ||
@@ -846,2 +822,14 @@ path: `/custom/emoji/${string}`; | ||
} | { | ||
method: 'get'; | ||
path: `/custom/emoji/${string}`; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{emoji_id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'get'; | ||
path: '-/custom/emoji/{emoji_id}'; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{emoji_id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'delete'; | ||
@@ -854,3 +842,3 @@ path: `/custom/emoji/${string}`; | ||
method: 'delete'; | ||
path: '-/custom/emoji/{id}'; | ||
path: '-/custom/emoji/{emoji_id}'; | ||
parts: 3; | ||
@@ -1044,3 +1032,3 @@ params: undefined; | ||
params: paths['/onboard/complete']['post']['requestBody']['content']['application/json']; | ||
response: undefined; | ||
response: paths['/onboard/complete']['post']['responses']['200']['content']['application/json']; | ||
} | { | ||
@@ -1047,0 +1035,0 @@ method: 'post'; |
@@ -64,3 +64,3 @@ import { components } from './schema'; | ||
export declare type DataMessageSend = components['schemas']['DataMessageSend']; | ||
export declare type Reply = components['schemas']['Reply']; | ||
export declare type ReplyIntent = components['schemas']['ReplyIntent']; | ||
export declare type SendableEmbed = components['schemas']['SendableEmbed']; | ||
@@ -72,3 +72,2 @@ export declare type BulkMessageResponse = components['schemas']['BulkMessageResponse']; | ||
export declare type OptionsMessageSearch = components['schemas']['OptionsMessageSearch']; | ||
export declare type OptionsQueryStale = components['schemas']['OptionsQueryStale']; | ||
export declare type DataEditMessage = components['schemas']['DataEditMessage']; | ||
@@ -75,0 +74,0 @@ export declare type OptionsBulkDelete = components['schemas']['OptionsBulkDelete']; |
@@ -93,5 +93,2 @@ export declare const pathResolve: { | ||
}; | ||
"/channels/{_target}/messages/stale": { | ||
post: never[]; | ||
}; | ||
"/channels/{target}/messages/{msg}": { | ||
@@ -108,4 +105,6 @@ get: never[]; | ||
}; | ||
"/channels/{group_id}/recipients/{member_id}": { | ||
put: never[]; | ||
}; | ||
"/channels/{target}/recipients/{member}": { | ||
put: never[]; | ||
delete: never[]; | ||
@@ -194,4 +193,6 @@ }; | ||
"/custom/emoji/{id}": { | ||
put: never[]; | ||
}; | ||
"/custom/emoji/{emoji_id}": { | ||
get: never[]; | ||
put: never[]; | ||
delete: never[]; | ||
@@ -198,0 +199,0 @@ }; |
// This file was auto-generated by @insertish/oapi! | ||
export const pathResolve = { "1": [[""]], "2": [["admin", "stats"], ["users", "@me"], ["users", ["{target}"]], ["users", "dms"], ["users", "friend"], ["bots", "create"], ["bots", ["{bot}"]], ["bots", "@me"], ["bots", ["{target}"]], ["channels", ["{target}"]], ["channels", "create"], ["servers", "create"], ["servers", ["{target}"]], ["invites", ["{target}"]], ["safety", "report"], ["onboard", "hello"], ["onboard", "complete"], ["push", "subscribe"], ["push", "unsubscribe"], ["sync", "unreads"], ["webhooks", ["{webhook_id}"]]], "3": [["users", ["{target}"], "flags"], ["users", "@me", "username"], ["users", ["{target}"], "default_avatar"], ["users", ["{target}"], "profile"], ["users", ["{target}"], "dm"], ["users", ["{target}"], "mutual"], ["users", ["{target}"], "friend"], ["users", ["{target}"], "block"], ["bots", ["{target}"], "invite"], ["channels", ["{target}"], "members"], ["channels", ["{target}"], "invites"], ["channels", ["{target}"], "messages"], ["channels", ["{target}"], "search"], ["channels", ["{target}"], "join_call"], ["channels", ["{target}"], "webhooks"], ["channels", ["{channel_id}"], "webhooks"], ["servers", ["{target}"], "ack"], ["servers", ["{target}"], "channels"], ["servers", ["{target}"], "members"], ["servers", ["{target}"], "members_experimental_query"], ["servers", ["{target}"], "bans"], ["servers", ["{target}"], "invites"], ["servers", ["{target}"], "roles"], ["servers", ["{target}"], "emojis"], ["custom", "emoji", ["{id}"]], ["auth", "account", "create"], ["auth", "account", "reverify"], ["auth", "account", "delete"], ["auth", "account", ""], ["auth", "account", "disable"], ["auth", "account", "reset_password"], ["auth", "session", "login"], ["auth", "session", "logout"], ["auth", "session", "all"], ["auth", "session", ["{id}"]], ["auth", "mfa", "ticket"], ["auth", "mfa", ""], ["auth", "mfa", "recovery"], ["auth", "mfa", "methods"], ["auth", "mfa", "totp"], ["sync", "settings", "fetch"], ["sync", "settings", "set"], ["webhooks", ["{webhook_id}"], ["{token}"]]], "4": [["channels", ["{target}"], "ack", ["{message}"]], ["channels", ["{_target}"], "messages", "stale"], ["channels", ["{target}"], "messages", ["{msg}"]], ["channels", ["{target}"], "messages", "bulk"], ["channels", ["{target}"], "recipients", ["{member}"]], ["channels", ["{target}"], "permissions", ["{role_id}"]], ["channels", ["{target}"], "permissions", "default"], ["servers", ["{target}"], "members", ["{member}"]], ["servers", ["{server}"], "members", ["{target}"]], ["servers", ["{server}"], "bans", ["{target}"]], ["servers", ["{target}"], "roles", ["{role_id}"]], ["servers", ["{target}"], "permissions", ["{role_id}"]], ["servers", ["{target}"], "permissions", "default"], ["auth", "account", "change", "password"], ["auth", "account", "change", "email"], ["auth", "account", "verify", ["{code}"]], ["webhooks", ["{webhook_id}"], ["{token}"], "github"]], "5": [["channels", ["{target}"], "messages", ["{msg}"], "reactions"]], "6": [["channels", ["{target}"], "messages", ["{msg}"], "reactions", ["{emoji}"]]] }; | ||
export const queryParams = { "/": { "get": [] }, "/admin/stats": { "get": [] }, "/users/@me": { "get": [] }, "/users/{target}": { "get": [], "patch": [] }, "/users/{target}/flags": { "get": [] }, "/users/@me/username": { "patch": [] }, "/users/{target}/default_avatar": { "get": [] }, "/users/{target}/profile": { "get": [] }, "/users/dms": { "get": [] }, "/users/{target}/dm": { "get": [] }, "/users/{target}/mutual": { "get": [] }, "/users/{target}/friend": { "put": [], "delete": [] }, "/users/{target}/block": { "put": [], "delete": [] }, "/users/friend": { "post": [] }, "/bots/create": { "post": [] }, "/bots/{target}/invite": { "get": [], "post": [] }, "/bots/{bot}": { "get": [] }, "/bots/@me": { "get": [] }, "/bots/{target}": { "delete": [], "patch": [] }, "/channels/{target}/ack/{message}": { "put": [] }, "/channels/{target}": { "get": [], "delete": ["leave_silently"], "patch": [] }, "/channels/{target}/members": { "get": [] }, "/channels/{target}/invites": { "post": [] }, "/channels/{target}/messages": { "get": ["limit", "before", "after", "sort", "nearby", "include_users"], "post": [] }, "/channels/{target}/search": { "post": [] }, "/channels/{_target}/messages/stale": { "post": [] }, "/channels/{target}/messages/{msg}": { "get": [], "delete": [], "patch": [] }, "/channels/{target}/messages/bulk": { "delete": [] }, "/channels/create": { "post": [] }, "/channels/{target}/recipients/{member}": { "put": [], "delete": [] }, "/channels/{target}/join_call": { "post": [] }, "/channels/{target}/permissions/{role_id}": { "put": [] }, "/channels/{target}/permissions/default": { "put": [] }, "/channels/{target}/messages/{msg}/reactions/{emoji}": { "put": [], "delete": ["user_id", "remove_all"] }, "/channels/{target}/messages/{msg}/reactions": { "delete": [] }, "/channels/{target}/webhooks": { "post": [] }, "/channels/{channel_id}/webhooks": { "get": [] }, "/servers/create": { "post": [] }, "/servers/{target}": { "get": ["include_channels"], "delete": ["leave_silently"], "patch": [] }, "/servers/{target}/ack": { "put": [] }, "/servers/{target}/channels": { "post": [] }, "/servers/{target}/members": { "get": ["exclude_offline"] }, "/servers/{target}/members/{member}": { "get": [], "delete": [] }, "/servers/{server}/members/{target}": { "patch": [] }, "/servers/{target}/members_experimental_query": { "get": ["query", "experimental_api"] }, "/servers/{server}/bans/{target}": { "put": [], "delete": [] }, "/servers/{target}/bans": { "get": [] }, "/servers/{target}/invites": { "get": [] }, "/servers/{target}/roles": { "post": [] }, "/servers/{target}/roles/{role_id}": { "delete": [], "patch": [] }, "/servers/{target}/permissions/{role_id}": { "put": [] }, "/servers/{target}/permissions/default": { "put": [] }, "/servers/{target}/emojis": { "get": [] }, "/invites/{target}": { "get": [], "post": [], "delete": [] }, "/custom/emoji/{id}": { "get": [], "put": [], "delete": [] }, "/safety/report": { "post": [] }, "/auth/account/create": { "post": [] }, "/auth/account/reverify": { "post": [] }, "/auth/account/delete": { "put": [], "post": [] }, "/auth/account/": { "get": [] }, "/auth/account/disable": { "post": [] }, "/auth/account/change/password": { "patch": [] }, "/auth/account/change/email": { "patch": [] }, "/auth/account/verify/{code}": { "post": [] }, "/auth/account/reset_password": { "post": [], "patch": [] }, "/auth/session/login": { "post": [] }, "/auth/session/logout": { "post": [] }, "/auth/session/all": { "get": [], "delete": ["revoke_self"] }, "/auth/session/{id}": { "delete": [], "patch": [] }, "/auth/mfa/ticket": { "put": [] }, "/auth/mfa/": { "get": [] }, "/auth/mfa/recovery": { "post": [], "patch": [] }, "/auth/mfa/methods": { "get": [] }, "/auth/mfa/totp": { "put": [], "post": [], "delete": [] }, "/onboard/hello": { "get": [] }, "/onboard/complete": { "post": [] }, "/push/subscribe": { "post": [] }, "/push/unsubscribe": { "post": [] }, "/sync/settings/fetch": { "post": [] }, "/sync/settings/set": { "post": ["timestamp"] }, "/sync/unreads": { "get": [] }, "/webhooks/{webhook_id}/{token}": { "get": [], "post": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}": { "get": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}/{token}/github": { "post": [] } }; | ||
export const pathResolve = { "1": [[""]], "2": [["admin", "stats"], ["users", "@me"], ["users", ["{target}"]], ["users", "dms"], ["users", "friend"], ["bots", "create"], ["bots", ["{bot}"]], ["bots", "@me"], ["bots", ["{target}"]], ["channels", ["{target}"]], ["channels", "create"], ["servers", "create"], ["servers", ["{target}"]], ["invites", ["{target}"]], ["safety", "report"], ["onboard", "hello"], ["onboard", "complete"], ["push", "subscribe"], ["push", "unsubscribe"], ["sync", "unreads"], ["webhooks", ["{webhook_id}"]]], "3": [["users", ["{target}"], "flags"], ["users", "@me", "username"], ["users", ["{target}"], "default_avatar"], ["users", ["{target}"], "profile"], ["users", ["{target}"], "dm"], ["users", ["{target}"], "mutual"], ["users", ["{target}"], "friend"], ["users", ["{target}"], "block"], ["bots", ["{target}"], "invite"], ["channels", ["{target}"], "members"], ["channels", ["{target}"], "invites"], ["channels", ["{target}"], "messages"], ["channels", ["{target}"], "search"], ["channels", ["{target}"], "join_call"], ["channels", ["{target}"], "webhooks"], ["channels", ["{channel_id}"], "webhooks"], ["servers", ["{target}"], "ack"], ["servers", ["{target}"], "channels"], ["servers", ["{target}"], "members"], ["servers", ["{target}"], "members_experimental_query"], ["servers", ["{target}"], "bans"], ["servers", ["{target}"], "invites"], ["servers", ["{target}"], "roles"], ["servers", ["{target}"], "emojis"], ["custom", "emoji", ["{id}"]], ["custom", "emoji", ["{emoji_id}"]], ["auth", "account", "create"], ["auth", "account", "reverify"], ["auth", "account", "delete"], ["auth", "account", ""], ["auth", "account", "disable"], ["auth", "account", "reset_password"], ["auth", "session", "login"], ["auth", "session", "logout"], ["auth", "session", "all"], ["auth", "session", ["{id}"]], ["auth", "mfa", "ticket"], ["auth", "mfa", ""], ["auth", "mfa", "recovery"], ["auth", "mfa", "methods"], ["auth", "mfa", "totp"], ["sync", "settings", "fetch"], ["sync", "settings", "set"], ["webhooks", ["{webhook_id}"], ["{token}"]]], "4": [["channels", ["{target}"], "ack", ["{message}"]], ["channels", ["{target}"], "messages", ["{msg}"]], ["channels", ["{target}"], "messages", "bulk"], ["channels", ["{group_id}"], "recipients", ["{member_id}"]], ["channels", ["{target}"], "recipients", ["{member}"]], ["channels", ["{target}"], "permissions", ["{role_id}"]], ["channels", ["{target}"], "permissions", "default"], ["servers", ["{target}"], "members", ["{member}"]], ["servers", ["{server}"], "members", ["{target}"]], ["servers", ["{server}"], "bans", ["{target}"]], ["servers", ["{target}"], "roles", ["{role_id}"]], ["servers", ["{target}"], "permissions", ["{role_id}"]], ["servers", ["{target}"], "permissions", "default"], ["auth", "account", "change", "password"], ["auth", "account", "change", "email"], ["auth", "account", "verify", ["{code}"]], ["webhooks", ["{webhook_id}"], ["{token}"], "github"]], "5": [["channels", ["{target}"], "messages", ["{msg}"], "reactions"]], "6": [["channels", ["{target}"], "messages", ["{msg}"], "reactions", ["{emoji}"]]] }; | ||
export const queryParams = { "/": { "get": [] }, "/admin/stats": { "get": [] }, "/users/@me": { "get": [] }, "/users/{target}": { "get": [], "patch": [] }, "/users/{target}/flags": { "get": [] }, "/users/@me/username": { "patch": [] }, "/users/{target}/default_avatar": { "get": [] }, "/users/{target}/profile": { "get": [] }, "/users/dms": { "get": [] }, "/users/{target}/dm": { "get": [] }, "/users/{target}/mutual": { "get": [] }, "/users/{target}/friend": { "put": [], "delete": [] }, "/users/{target}/block": { "put": [], "delete": [] }, "/users/friend": { "post": [] }, "/bots/create": { "post": [] }, "/bots/{target}/invite": { "get": [], "post": [] }, "/bots/{bot}": { "get": [] }, "/bots/@me": { "get": [] }, "/bots/{target}": { "delete": [], "patch": [] }, "/channels/{target}/ack/{message}": { "put": [] }, "/channels/{target}": { "get": [], "delete": ["leave_silently"], "patch": [] }, "/channels/{target}/members": { "get": [] }, "/channels/{target}/invites": { "post": [] }, "/channels/{target}/messages": { "get": ["limit", "before", "after", "sort", "nearby", "include_users"], "post": [] }, "/channels/{target}/search": { "post": [] }, "/channels/{target}/messages/{msg}": { "get": [], "delete": [], "patch": [] }, "/channels/{target}/messages/bulk": { "delete": [] }, "/channels/create": { "post": [] }, "/channels/{group_id}/recipients/{member_id}": { "put": [] }, "/channels/{target}/recipients/{member}": { "delete": [] }, "/channels/{target}/join_call": { "post": [] }, "/channels/{target}/permissions/{role_id}": { "put": [] }, "/channels/{target}/permissions/default": { "put": [] }, "/channels/{target}/messages/{msg}/reactions/{emoji}": { "put": [], "delete": ["user_id", "remove_all"] }, "/channels/{target}/messages/{msg}/reactions": { "delete": [] }, "/channels/{target}/webhooks": { "post": [] }, "/channels/{channel_id}/webhooks": { "get": [] }, "/servers/create": { "post": [] }, "/servers/{target}": { "get": ["include_channels"], "delete": ["leave_silently"], "patch": [] }, "/servers/{target}/ack": { "put": [] }, "/servers/{target}/channels": { "post": [] }, "/servers/{target}/members": { "get": ["exclude_offline"] }, "/servers/{target}/members/{member}": { "get": [], "delete": [] }, "/servers/{server}/members/{target}": { "patch": [] }, "/servers/{target}/members_experimental_query": { "get": ["query", "experimental_api"] }, "/servers/{server}/bans/{target}": { "put": [], "delete": [] }, "/servers/{target}/bans": { "get": [] }, "/servers/{target}/invites": { "get": [] }, "/servers/{target}/roles": { "post": [] }, "/servers/{target}/roles/{role_id}": { "delete": [], "patch": [] }, "/servers/{target}/permissions/{role_id}": { "put": [] }, "/servers/{target}/permissions/default": { "put": [] }, "/servers/{target}/emojis": { "get": [] }, "/invites/{target}": { "get": [], "post": [], "delete": [] }, "/custom/emoji/{id}": { "put": [] }, "/custom/emoji/{emoji_id}": { "get": [], "delete": [] }, "/safety/report": { "post": [] }, "/auth/account/create": { "post": [] }, "/auth/account/reverify": { "post": [] }, "/auth/account/delete": { "put": [], "post": [] }, "/auth/account/": { "get": [] }, "/auth/account/disable": { "post": [] }, "/auth/account/change/password": { "patch": [] }, "/auth/account/change/email": { "patch": [] }, "/auth/account/verify/{code}": { "post": [] }, "/auth/account/reset_password": { "post": [], "patch": [] }, "/auth/session/login": { "post": [] }, "/auth/session/logout": { "post": [] }, "/auth/session/all": { "get": [], "delete": ["revoke_self"] }, "/auth/session/{id}": { "delete": [], "patch": [] }, "/auth/mfa/ticket": { "put": [] }, "/auth/mfa/": { "get": [] }, "/auth/mfa/recovery": { "post": [], "patch": [] }, "/auth/mfa/methods": { "get": [] }, "/auth/mfa/totp": { "put": [], "post": [], "delete": [] }, "/onboard/hello": { "get": [] }, "/onboard/complete": { "post": [] }, "/push/subscribe": { "post": [] }, "/push/unsubscribe": { "post": [] }, "/sync/settings/fetch": { "post": [] }, "/sync/settings/set": { "post": ["timestamp"] }, "/sync/unreads": { "get": [] }, "/webhooks/{webhook_id}/{token}": { "get": [], "post": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}": { "get": [], "delete": [], "patch": [] }, "/webhooks/{webhook_id}/{token}/github": { "post": [] } }; |
@@ -351,14 +351,2 @@ import { paths } from './schema'; | ||
} | { | ||
method: 'post'; | ||
path: `/channels/${string}/messages/stale`; | ||
parts: 4; | ||
params: paths['/channels/{_target}/messages/stale']['post']['requestBody']['content']['application/json']; | ||
response: undefined; | ||
} | { | ||
method: 'post'; | ||
path: '-/channels/{_target}/messages/stale'; | ||
parts: 4; | ||
params: paths['/channels/{_target}/messages/stale']['post']['requestBody']['content']['application/json']; | ||
response: undefined; | ||
} | { | ||
method: 'get'; | ||
@@ -425,3 +413,3 @@ path: `/channels/${string}/messages/${string}`; | ||
method: 'put'; | ||
path: '-/channels/{target}/recipients/{member}'; | ||
path: '-/channels/{group_id}/recipients/{member_id}'; | ||
parts: 4; | ||
@@ -821,14 +809,2 @@ params: undefined; | ||
} | { | ||
method: 'get'; | ||
path: `/custom/emoji/${string}`; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'get'; | ||
path: '-/custom/emoji/{id}'; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'put'; | ||
@@ -846,2 +822,14 @@ path: `/custom/emoji/${string}`; | ||
} | { | ||
method: 'get'; | ||
path: `/custom/emoji/${string}`; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{emoji_id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'get'; | ||
path: '-/custom/emoji/{emoji_id}'; | ||
parts: 3; | ||
params: undefined; | ||
response: paths['/custom/emoji/{emoji_id}']['get']['responses']['200']['content']['application/json']; | ||
} | { | ||
method: 'delete'; | ||
@@ -854,3 +842,3 @@ path: `/custom/emoji/${string}`; | ||
method: 'delete'; | ||
path: '-/custom/emoji/{id}'; | ||
path: '-/custom/emoji/{emoji_id}'; | ||
parts: 3; | ||
@@ -1044,3 +1032,3 @@ params: undefined; | ||
params: paths['/onboard/complete']['post']['requestBody']['content']['application/json']; | ||
response: undefined; | ||
response: paths['/onboard/complete']['post']['responses']['200']['content']['application/json']; | ||
} | { | ||
@@ -1047,0 +1035,0 @@ method: 'post'; |
@@ -64,3 +64,3 @@ import { components } from './schema'; | ||
export declare type DataMessageSend = components['schemas']['DataMessageSend']; | ||
export declare type Reply = components['schemas']['Reply']; | ||
export declare type ReplyIntent = components['schemas']['ReplyIntent']; | ||
export declare type SendableEmbed = components['schemas']['SendableEmbed']; | ||
@@ -72,3 +72,2 @@ export declare type BulkMessageResponse = components['schemas']['BulkMessageResponse']; | ||
export declare type OptionsMessageSearch = components['schemas']['OptionsMessageSearch']; | ||
export declare type OptionsQueryStale = components['schemas']['OptionsQueryStale']; | ||
export declare type DataEditMessage = components['schemas']['DataEditMessage']; | ||
@@ -75,0 +74,0 @@ export declare type OptionsBulkDelete = components['schemas']['OptionsBulkDelete']; |
{ | ||
"name": "revolt-api", | ||
"version": "0.6.7", | ||
"version": "0.6.8", | ||
"description": "Revolt API Library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
// This file was auto-generated by @insertish/oapi! | ||
export const pathResolve = {"1":[[""]],"2":[["admin","stats"],["users","@me"],["users",["{target}"]],["users","dms"],["users","friend"],["bots","create"],["bots",["{bot}"]],["bots","@me"],["bots",["{target}"]],["channels",["{target}"]],["channels","create"],["servers","create"],["servers",["{target}"]],["invites",["{target}"]],["safety","report"],["onboard","hello"],["onboard","complete"],["push","subscribe"],["push","unsubscribe"],["sync","unreads"],["webhooks",["{webhook_id}"]]],"3":[["users",["{target}"],"flags"],["users","@me","username"],["users",["{target}"],"default_avatar"],["users",["{target}"],"profile"],["users",["{target}"],"dm"],["users",["{target}"],"mutual"],["users",["{target}"],"friend"],["users",["{target}"],"block"],["bots",["{target}"],"invite"],["channels",["{target}"],"members"],["channels",["{target}"],"invites"],["channels",["{target}"],"messages"],["channels",["{target}"],"search"],["channels",["{target}"],"join_call"],["channels",["{target}"],"webhooks"],["channels",["{channel_id}"],"webhooks"],["servers",["{target}"],"ack"],["servers",["{target}"],"channels"],["servers",["{target}"],"members"],["servers",["{target}"],"members_experimental_query"],["servers",["{target}"],"bans"],["servers",["{target}"],"invites"],["servers",["{target}"],"roles"],["servers",["{target}"],"emojis"],["custom","emoji",["{id}"]],["auth","account","create"],["auth","account","reverify"],["auth","account","delete"],["auth","account",""],["auth","account","disable"],["auth","account","reset_password"],["auth","session","login"],["auth","session","logout"],["auth","session","all"],["auth","session",["{id}"]],["auth","mfa","ticket"],["auth","mfa",""],["auth","mfa","recovery"],["auth","mfa","methods"],["auth","mfa","totp"],["sync","settings","fetch"],["sync","settings","set"],["webhooks",["{webhook_id}"],["{token}"]]],"4":[["channels",["{target}"],"ack",["{message}"]],["channels",["{_target}"],"messages","stale"],["channels",["{target}"],"messages",["{msg}"]],["channels",["{target}"],"messages","bulk"],["channels",["{target}"],"recipients",["{member}"]],["channels",["{target}"],"permissions",["{role_id}"]],["channels",["{target}"],"permissions","default"],["servers",["{target}"],"members",["{member}"]],["servers",["{server}"],"members",["{target}"]],["servers",["{server}"],"bans",["{target}"]],["servers",["{target}"],"roles",["{role_id}"]],["servers",["{target}"],"permissions",["{role_id}"]],["servers",["{target}"],"permissions","default"],["auth","account","change","password"],["auth","account","change","email"],["auth","account","verify",["{code}"]],["webhooks",["{webhook_id}"],["{token}"],"github"]],"5":[["channels",["{target}"],"messages",["{msg}"],"reactions"]],"6":[["channels",["{target}"],"messages",["{msg}"],"reactions",["{emoji}"]]]}; | ||
export const queryParams = {"/":{"get":[]},"/admin/stats":{"get":[]},"/users/@me":{"get":[]},"/users/{target}":{"get":[],"patch":[]},"/users/{target}/flags":{"get":[]},"/users/@me/username":{"patch":[]},"/users/{target}/default_avatar":{"get":[]},"/users/{target}/profile":{"get":[]},"/users/dms":{"get":[]},"/users/{target}/dm":{"get":[]},"/users/{target}/mutual":{"get":[]},"/users/{target}/friend":{"put":[],"delete":[]},"/users/{target}/block":{"put":[],"delete":[]},"/users/friend":{"post":[]},"/bots/create":{"post":[]},"/bots/{target}/invite":{"get":[],"post":[]},"/bots/{bot}":{"get":[]},"/bots/@me":{"get":[]},"/bots/{target}":{"delete":[],"patch":[]},"/channels/{target}/ack/{message}":{"put":[]},"/channels/{target}":{"get":[],"delete":["leave_silently"],"patch":[]},"/channels/{target}/members":{"get":[]},"/channels/{target}/invites":{"post":[]},"/channels/{target}/messages":{"get":["limit","before","after","sort","nearby","include_users"],"post":[]},"/channels/{target}/search":{"post":[]},"/channels/{_target}/messages/stale":{"post":[]},"/channels/{target}/messages/{msg}":{"get":[],"delete":[],"patch":[]},"/channels/{target}/messages/bulk":{"delete":[]},"/channels/create":{"post":[]},"/channels/{target}/recipients/{member}":{"put":[],"delete":[]},"/channels/{target}/join_call":{"post":[]},"/channels/{target}/permissions/{role_id}":{"put":[]},"/channels/{target}/permissions/default":{"put":[]},"/channels/{target}/messages/{msg}/reactions/{emoji}":{"put":[],"delete":["user_id","remove_all"]},"/channels/{target}/messages/{msg}/reactions":{"delete":[]},"/channels/{target}/webhooks":{"post":[]},"/channels/{channel_id}/webhooks":{"get":[]},"/servers/create":{"post":[]},"/servers/{target}":{"get":["include_channels"],"delete":["leave_silently"],"patch":[]},"/servers/{target}/ack":{"put":[]},"/servers/{target}/channels":{"post":[]},"/servers/{target}/members":{"get":["exclude_offline"]},"/servers/{target}/members/{member}":{"get":[],"delete":[]},"/servers/{server}/members/{target}":{"patch":[]},"/servers/{target}/members_experimental_query":{"get":["query","experimental_api"]},"/servers/{server}/bans/{target}":{"put":[],"delete":[]},"/servers/{target}/bans":{"get":[]},"/servers/{target}/invites":{"get":[]},"/servers/{target}/roles":{"post":[]},"/servers/{target}/roles/{role_id}":{"delete":[],"patch":[]},"/servers/{target}/permissions/{role_id}":{"put":[]},"/servers/{target}/permissions/default":{"put":[]},"/servers/{target}/emojis":{"get":[]},"/invites/{target}":{"get":[],"post":[],"delete":[]},"/custom/emoji/{id}":{"get":[],"put":[],"delete":[]},"/safety/report":{"post":[]},"/auth/account/create":{"post":[]},"/auth/account/reverify":{"post":[]},"/auth/account/delete":{"put":[],"post":[]},"/auth/account/":{"get":[]},"/auth/account/disable":{"post":[]},"/auth/account/change/password":{"patch":[]},"/auth/account/change/email":{"patch":[]},"/auth/account/verify/{code}":{"post":[]},"/auth/account/reset_password":{"post":[],"patch":[]},"/auth/session/login":{"post":[]},"/auth/session/logout":{"post":[]},"/auth/session/all":{"get":[],"delete":["revoke_self"]},"/auth/session/{id}":{"delete":[],"patch":[]},"/auth/mfa/ticket":{"put":[]},"/auth/mfa/":{"get":[]},"/auth/mfa/recovery":{"post":[],"patch":[]},"/auth/mfa/methods":{"get":[]},"/auth/mfa/totp":{"put":[],"post":[],"delete":[]},"/onboard/hello":{"get":[]},"/onboard/complete":{"post":[]},"/push/subscribe":{"post":[]},"/push/unsubscribe":{"post":[]},"/sync/settings/fetch":{"post":[]},"/sync/settings/set":{"post":["timestamp"]},"/sync/unreads":{"get":[]},"/webhooks/{webhook_id}/{token}":{"get":[],"post":[],"delete":[],"patch":[]},"/webhooks/{webhook_id}":{"get":[],"delete":[],"patch":[]},"/webhooks/{webhook_id}/{token}/github":{"post":[]}}; | ||
export const pathResolve = {"1":[[""]],"2":[["admin","stats"],["users","@me"],["users",["{target}"]],["users","dms"],["users","friend"],["bots","create"],["bots",["{bot}"]],["bots","@me"],["bots",["{target}"]],["channels",["{target}"]],["channels","create"],["servers","create"],["servers",["{target}"]],["invites",["{target}"]],["safety","report"],["onboard","hello"],["onboard","complete"],["push","subscribe"],["push","unsubscribe"],["sync","unreads"],["webhooks",["{webhook_id}"]]],"3":[["users",["{target}"],"flags"],["users","@me","username"],["users",["{target}"],"default_avatar"],["users",["{target}"],"profile"],["users",["{target}"],"dm"],["users",["{target}"],"mutual"],["users",["{target}"],"friend"],["users",["{target}"],"block"],["bots",["{target}"],"invite"],["channels",["{target}"],"members"],["channels",["{target}"],"invites"],["channels",["{target}"],"messages"],["channels",["{target}"],"search"],["channels",["{target}"],"join_call"],["channels",["{target}"],"webhooks"],["channels",["{channel_id}"],"webhooks"],["servers",["{target}"],"ack"],["servers",["{target}"],"channels"],["servers",["{target}"],"members"],["servers",["{target}"],"members_experimental_query"],["servers",["{target}"],"bans"],["servers",["{target}"],"invites"],["servers",["{target}"],"roles"],["servers",["{target}"],"emojis"],["custom","emoji",["{id}"]],["custom","emoji",["{emoji_id}"]],["auth","account","create"],["auth","account","reverify"],["auth","account","delete"],["auth","account",""],["auth","account","disable"],["auth","account","reset_password"],["auth","session","login"],["auth","session","logout"],["auth","session","all"],["auth","session",["{id}"]],["auth","mfa","ticket"],["auth","mfa",""],["auth","mfa","recovery"],["auth","mfa","methods"],["auth","mfa","totp"],["sync","settings","fetch"],["sync","settings","set"],["webhooks",["{webhook_id}"],["{token}"]]],"4":[["channels",["{target}"],"ack",["{message}"]],["channels",["{target}"],"messages",["{msg}"]],["channels",["{target}"],"messages","bulk"],["channels",["{group_id}"],"recipients",["{member_id}"]],["channels",["{target}"],"recipients",["{member}"]],["channels",["{target}"],"permissions",["{role_id}"]],["channels",["{target}"],"permissions","default"],["servers",["{target}"],"members",["{member}"]],["servers",["{server}"],"members",["{target}"]],["servers",["{server}"],"bans",["{target}"]],["servers",["{target}"],"roles",["{role_id}"]],["servers",["{target}"],"permissions",["{role_id}"]],["servers",["{target}"],"permissions","default"],["auth","account","change","password"],["auth","account","change","email"],["auth","account","verify",["{code}"]],["webhooks",["{webhook_id}"],["{token}"],"github"]],"5":[["channels",["{target}"],"messages",["{msg}"],"reactions"]],"6":[["channels",["{target}"],"messages",["{msg}"],"reactions",["{emoji}"]]]}; | ||
export const queryParams = {"/":{"get":[]},"/admin/stats":{"get":[]},"/users/@me":{"get":[]},"/users/{target}":{"get":[],"patch":[]},"/users/{target}/flags":{"get":[]},"/users/@me/username":{"patch":[]},"/users/{target}/default_avatar":{"get":[]},"/users/{target}/profile":{"get":[]},"/users/dms":{"get":[]},"/users/{target}/dm":{"get":[]},"/users/{target}/mutual":{"get":[]},"/users/{target}/friend":{"put":[],"delete":[]},"/users/{target}/block":{"put":[],"delete":[]},"/users/friend":{"post":[]},"/bots/create":{"post":[]},"/bots/{target}/invite":{"get":[],"post":[]},"/bots/{bot}":{"get":[]},"/bots/@me":{"get":[]},"/bots/{target}":{"delete":[],"patch":[]},"/channels/{target}/ack/{message}":{"put":[]},"/channels/{target}":{"get":[],"delete":["leave_silently"],"patch":[]},"/channels/{target}/members":{"get":[]},"/channels/{target}/invites":{"post":[]},"/channels/{target}/messages":{"get":["limit","before","after","sort","nearby","include_users"],"post":[]},"/channels/{target}/search":{"post":[]},"/channels/{target}/messages/{msg}":{"get":[],"delete":[],"patch":[]},"/channels/{target}/messages/bulk":{"delete":[]},"/channels/create":{"post":[]},"/channels/{group_id}/recipients/{member_id}":{"put":[]},"/channels/{target}/recipients/{member}":{"delete":[]},"/channels/{target}/join_call":{"post":[]},"/channels/{target}/permissions/{role_id}":{"put":[]},"/channels/{target}/permissions/default":{"put":[]},"/channels/{target}/messages/{msg}/reactions/{emoji}":{"put":[],"delete":["user_id","remove_all"]},"/channels/{target}/messages/{msg}/reactions":{"delete":[]},"/channels/{target}/webhooks":{"post":[]},"/channels/{channel_id}/webhooks":{"get":[]},"/servers/create":{"post":[]},"/servers/{target}":{"get":["include_channels"],"delete":["leave_silently"],"patch":[]},"/servers/{target}/ack":{"put":[]},"/servers/{target}/channels":{"post":[]},"/servers/{target}/members":{"get":["exclude_offline"]},"/servers/{target}/members/{member}":{"get":[],"delete":[]},"/servers/{server}/members/{target}":{"patch":[]},"/servers/{target}/members_experimental_query":{"get":["query","experimental_api"]},"/servers/{server}/bans/{target}":{"put":[],"delete":[]},"/servers/{target}/bans":{"get":[]},"/servers/{target}/invites":{"get":[]},"/servers/{target}/roles":{"post":[]},"/servers/{target}/roles/{role_id}":{"delete":[],"patch":[]},"/servers/{target}/permissions/{role_id}":{"put":[]},"/servers/{target}/permissions/default":{"put":[]},"/servers/{target}/emojis":{"get":[]},"/invites/{target}":{"get":[],"post":[],"delete":[]},"/custom/emoji/{id}":{"put":[]},"/custom/emoji/{emoji_id}":{"get":[],"delete":[]},"/safety/report":{"post":[]},"/auth/account/create":{"post":[]},"/auth/account/reverify":{"post":[]},"/auth/account/delete":{"put":[],"post":[]},"/auth/account/":{"get":[]},"/auth/account/disable":{"post":[]},"/auth/account/change/password":{"patch":[]},"/auth/account/change/email":{"patch":[]},"/auth/account/verify/{code}":{"post":[]},"/auth/account/reset_password":{"post":[],"patch":[]},"/auth/session/login":{"post":[]},"/auth/session/logout":{"post":[]},"/auth/session/all":{"get":[],"delete":["revoke_self"]},"/auth/session/{id}":{"delete":[],"patch":[]},"/auth/mfa/ticket":{"put":[]},"/auth/mfa/":{"get":[]},"/auth/mfa/recovery":{"post":[],"patch":[]},"/auth/mfa/methods":{"get":[]},"/auth/mfa/totp":{"put":[],"post":[],"delete":[]},"/onboard/hello":{"get":[]},"/onboard/complete":{"post":[]},"/push/subscribe":{"post":[]},"/push/unsubscribe":{"post":[]},"/sync/settings/fetch":{"post":[]},"/sync/settings/set":{"post":["timestamp"]},"/sync/unreads":{"get":[]},"/webhooks/{webhook_id}/{token}":{"get":[],"post":[],"delete":[],"patch":[]},"/webhooks/{webhook_id}":{"get":[],"delete":[],"patch":[]},"/webhooks/{webhook_id}/{token}/github":{"post":[]}}; |
@@ -62,4 +62,2 @@ // This file was auto-generated by @insertish/oapi! | ||
| { method: 'post', path: '-/channels/{target}/search', parts: 3, params: paths['/channels/{target}/search']['post']['requestBody']['content']['application/json'], response: paths['/channels/{target}/search']['post']['responses']['200']['content']['application/json'] } | ||
| { method: 'post', path: `/channels/${string}/messages/stale`, parts: 4, params: paths['/channels/{_target}/messages/stale']['post']['requestBody']['content']['application/json'], response: undefined } | ||
| { method: 'post', path: '-/channels/{_target}/messages/stale', parts: 4, params: paths['/channels/{_target}/messages/stale']['post']['requestBody']['content']['application/json'], response: undefined } | ||
| { method: 'get', path: `/channels/${string}/messages/${string}`, parts: 4, params: undefined, response: paths['/channels/{target}/messages/{msg}']['get']['responses']['200']['content']['application/json'] } | ||
@@ -75,3 +73,3 @@ | { method: 'get', path: '-/channels/{target}/messages/{msg}', parts: 4, params: undefined, response: paths['/channels/{target}/messages/{msg}']['get']['responses']['200']['content']['application/json'] } | ||
| { method: 'put', path: `/channels/${string}/recipients/${string}`, parts: 4, params: undefined, response: undefined } | ||
| { method: 'put', path: '-/channels/{target}/recipients/{member}', parts: 4, params: undefined, response: undefined } | ||
| { method: 'put', path: '-/channels/{group_id}/recipients/{member_id}', parts: 4, params: undefined, response: undefined } | ||
| { method: 'delete', path: `/channels/${string}/recipients/${string}`, parts: 4, params: undefined, response: undefined } | ||
@@ -142,8 +140,8 @@ | { method: 'delete', path: '-/channels/{target}/recipients/{member}', parts: 4, params: undefined, response: undefined } | ||
| { method: 'delete', path: '-/invites/{target}', parts: 2, params: undefined, response: undefined } | ||
| { method: 'get', path: `/custom/emoji/${string}`, parts: 3, params: undefined, response: paths['/custom/emoji/{id}']['get']['responses']['200']['content']['application/json'] } | ||
| { method: 'get', path: '-/custom/emoji/{id}', parts: 3, params: undefined, response: paths['/custom/emoji/{id}']['get']['responses']['200']['content']['application/json'] } | ||
| { method: 'put', path: `/custom/emoji/${string}`, parts: 3, params: paths['/custom/emoji/{id}']['put']['requestBody']['content']['application/json'], response: paths['/custom/emoji/{id}']['put']['responses']['200']['content']['application/json'] } | ||
| { method: 'put', path: '-/custom/emoji/{id}', parts: 3, params: paths['/custom/emoji/{id}']['put']['requestBody']['content']['application/json'], response: paths['/custom/emoji/{id}']['put']['responses']['200']['content']['application/json'] } | ||
| { method: 'get', path: `/custom/emoji/${string}`, parts: 3, params: undefined, response: paths['/custom/emoji/{emoji_id}']['get']['responses']['200']['content']['application/json'] } | ||
| { method: 'get', path: '-/custom/emoji/{emoji_id}', parts: 3, params: undefined, response: paths['/custom/emoji/{emoji_id}']['get']['responses']['200']['content']['application/json'] } | ||
| { method: 'delete', path: `/custom/emoji/${string}`, parts: 3, params: undefined, response: undefined } | ||
| { method: 'delete', path: '-/custom/emoji/{id}', parts: 3, params: undefined, response: undefined } | ||
| { method: 'delete', path: '-/custom/emoji/{emoji_id}', parts: 3, params: undefined, response: undefined } | ||
| { method: 'post', path: `/safety/report`, parts: 2, params: paths['/safety/report']['post']['requestBody']['content']['application/json'], response: undefined } | ||
@@ -179,3 +177,3 @@ | { method: 'post', path: `/auth/account/create`, parts: 3, params: paths['/auth/account/create']['post']['requestBody']['content']['application/json'], response: undefined } | ||
| { method: 'get', path: `/onboard/hello`, parts: 2, params: undefined, response: paths['/onboard/hello']['get']['responses']['200']['content']['application/json'] } | ||
| { method: 'post', path: `/onboard/complete`, parts: 2, params: paths['/onboard/complete']['post']['requestBody']['content']['application/json'], response: undefined } | ||
| { method: 'post', path: `/onboard/complete`, parts: 2, params: paths['/onboard/complete']['post']['requestBody']['content']['application/json'], response: paths['/onboard/complete']['post']['responses']['200']['content']['application/json'] } | ||
| { method: 'post', path: `/push/subscribe`, parts: 2, params: paths['/push/subscribe']['post']['requestBody']['content']['application/json'], response: undefined } | ||
@@ -182,0 +180,0 @@ | { method: 'post', path: `/push/unsubscribe`, parts: 2, params: undefined, response: undefined } |
@@ -65,3 +65,3 @@ // This file was auto-generated by @insertish/oapi! | ||
export type DataMessageSend = components['schemas']['DataMessageSend']; | ||
export type Reply = components['schemas']['Reply']; | ||
export type ReplyIntent = components['schemas']['ReplyIntent']; | ||
export type SendableEmbed = components['schemas']['SendableEmbed']; | ||
@@ -73,3 +73,2 @@ export type BulkMessageResponse = components['schemas']['BulkMessageResponse']; | ||
export type OptionsMessageSearch = components['schemas']['OptionsMessageSearch']; | ||
export type OptionsQueryStale = components['schemas']['OptionsQueryStale']; | ||
export type DataEditMessage = components['schemas']['DataEditMessage']; | ||
@@ -76,0 +75,0 @@ export type OptionsBulkDelete = components['schemas']['OptionsBulkDelete']; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1026776
32609