mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-21 04:25:22 -04:00
chore: bump version
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ export class API {
|
||||
}
|
||||
|
||||
/**
|
||||
* Send HTTP GET request.
|
||||
* Send HTTP PATCH request.
|
||||
* @param path Path
|
||||
* @param params Body or Query Parameters
|
||||
* @param config Axios configuration
|
||||
|
||||
+14
-8
@@ -39,7 +39,11 @@ export interface paths {
|
||||
get: operations["fetch_dms_req"];
|
||||
};
|
||||
"/users/{target}/dm": {
|
||||
/** Open a DM with another user. */
|
||||
/**
|
||||
* Open a DM with another user.
|
||||
*
|
||||
* If the target is oneself, a saved messages channel is returned.
|
||||
*/
|
||||
get: operations["open_dm_req"];
|
||||
};
|
||||
"/users/{target}/mutual": {
|
||||
@@ -1028,7 +1032,7 @@ export interface components {
|
||||
/** @description Array of attachments */
|
||||
attachments?: components["schemas"]["File"][] | null;
|
||||
/** @description Time at which this message was last edited */
|
||||
edited?: components["schemas"]["DateTimeContainer"] | null;
|
||||
edited?: components["schemas"]["ISO8601 Timestamp"] | null;
|
||||
/** @description Attached embeds to this message */
|
||||
embeds?: components["schemas"]["Embed"][] | null;
|
||||
/** @description Array of user ids mentioned in this message */
|
||||
@@ -1095,13 +1099,11 @@ export interface components {
|
||||
type: "channel_icon_changed";
|
||||
by: string;
|
||||
};
|
||||
/** @description Container so we can apply this within Option<>s. */
|
||||
DateTimeContainer: components["schemas"]["DateTime"];
|
||||
/**
|
||||
* Format: int64
|
||||
* @description Local definition of DateTime from Bson
|
||||
* @description ISO8601 formatted timestamp
|
||||
* @example 1970-01-01T00:00:00Z
|
||||
*/
|
||||
DateTime: number;
|
||||
"ISO8601 Timestamp": string;
|
||||
Embed:
|
||||
| {
|
||||
/** @enum {string} */
|
||||
@@ -1956,7 +1958,11 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
};
|
||||
/** Open a DM with another user. */
|
||||
/**
|
||||
* Open a DM with another user.
|
||||
*
|
||||
* If the target is oneself, a saved messages channel is returned.
|
||||
*/
|
||||
open_dm_req: {
|
||||
parameters: {
|
||||
path: {
|
||||
|
||||
+1
-2
@@ -39,8 +39,7 @@ export type Invite = components['schemas']['Invite'];
|
||||
export type Message = components['schemas']['Message'];
|
||||
export type Content = components['schemas']['Content'];
|
||||
export type SystemMessage = components['schemas']['SystemMessage'];
|
||||
export type DateTimeContainer = components['schemas']['DateTimeContainer'];
|
||||
export type DateTime = components['schemas']['DateTime'];
|
||||
export type ISO8601_Timestamp = components['schemas']['ISO8601 Timestamp'];
|
||||
export type Embed = components['schemas']['Embed'];
|
||||
export type Special = components['schemas']['Special'];
|
||||
export type TwitchType = components['schemas']['TwitchType'];
|
||||
|
||||
Reference in New Issue
Block a user