|
|
|
@@ -2880,6 +2880,15 @@ export type paths = {
|
|
|
|
|
*/
|
|
|
|
|
post: operations['notifications/create'];
|
|
|
|
|
};
|
|
|
|
|
'/notifications/flush': {
|
|
|
|
|
/**
|
|
|
|
|
* notifications/flush
|
|
|
|
|
* @description No description provided.
|
|
|
|
|
*
|
|
|
|
|
* **Credential required**: *Yes* / **Permission**: *write:notifications*
|
|
|
|
|
*/
|
|
|
|
|
post: operations['notifications/flush'];
|
|
|
|
|
};
|
|
|
|
|
'/notifications/mark-all-as-read': {
|
|
|
|
|
/**
|
|
|
|
|
* notifications/mark-all-as-read
|
|
|
|
@@ -3714,7 +3723,9 @@ export type components = {
|
|
|
|
|
faviconUrl: string | null;
|
|
|
|
|
themeColor: string | null;
|
|
|
|
|
};
|
|
|
|
|
emojis: Record<string, never>;
|
|
|
|
|
emojis: {
|
|
|
|
|
[key: string]: string;
|
|
|
|
|
};
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
onlineStatus: 'unknown' | 'online' | 'active' | 'offline';
|
|
|
|
|
badgeRoles?: ({
|
|
|
|
@@ -3830,7 +3841,7 @@ export type components = {
|
|
|
|
|
notificationRecieveConfig: {
|
|
|
|
|
note?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3839,7 +3850,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
follow?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3848,7 +3859,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
mention?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3857,7 +3868,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
reply?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3866,7 +3877,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
renote?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3875,7 +3886,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
quote?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3884,7 +3895,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
reaction?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3893,7 +3904,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
pollEnded?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3902,7 +3913,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
receiveFollowRequest?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3911,7 +3922,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
followRequestAccepted?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3920,7 +3931,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
roleAssigned?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3929,7 +3940,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
achievementEarned?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3938,7 +3949,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
app?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -3947,7 +3958,7 @@ export type components = {
|
|
|
|
|
}]>;
|
|
|
|
|
test?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -4715,6 +4726,16 @@ export type components = {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'isLocal' | 'isRemote';
|
|
|
|
|
};
|
|
|
|
|
RoleCondFormulaValueAssignedRole: {
|
|
|
|
|
id: string;
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'roleAssignedTo';
|
|
|
|
|
/**
|
|
|
|
|
* Format: id
|
|
|
|
|
* @example xxxxxxxxxx
|
|
|
|
|
*/
|
|
|
|
|
roleId: string;
|
|
|
|
|
};
|
|
|
|
|
RoleCondFormulaValueCreated: {
|
|
|
|
|
id: string;
|
|
|
|
|
/** @enum {string} */
|
|
|
|
@@ -4727,7 +4748,7 @@ export type components = {
|
|
|
|
|
type: 'followersLessThanOrEq' | 'followersMoreThanOrEq' | 'followingLessThanOrEq' | 'followingMoreThanOrEq' | 'notesLessThanOrEq' | 'notesMoreThanOrEq';
|
|
|
|
|
value: number;
|
|
|
|
|
};
|
|
|
|
|
RoleCondFormulaValue: components['schemas']['RoleCondFormulaLogics'] | components['schemas']['RoleCondFormulaValueNot'] | components['schemas']['RoleCondFormulaValueIsLocalOrRemote'] | components['schemas']['RoleCondFormulaValueCreated'] | components['schemas']['RoleCondFormulaFollowersOrFollowingOrNotes'];
|
|
|
|
|
RoleCondFormulaValue: components['schemas']['RoleCondFormulaLogics'] | components['schemas']['RoleCondFormulaValueNot'] | components['schemas']['RoleCondFormulaValueIsLocalOrRemote'] | components['schemas']['RoleCondFormulaValueAssignedRole'] | components['schemas']['RoleCondFormulaValueCreated'] | components['schemas']['RoleCondFormulaFollowersOrFollowingOrNotes'];
|
|
|
|
|
RoleLite: {
|
|
|
|
|
/**
|
|
|
|
|
* Format: id
|
|
|
|
@@ -4775,7 +4796,9 @@ export type components = {
|
|
|
|
|
RolePolicies: {
|
|
|
|
|
gtlAvailable: boolean;
|
|
|
|
|
ltlAvailable: boolean;
|
|
|
|
|
btlAvailable: boolean;
|
|
|
|
|
canPublicNote: boolean;
|
|
|
|
|
mentionLimit: number;
|
|
|
|
|
canInvite: boolean;
|
|
|
|
|
inviteLimit: number;
|
|
|
|
|
inviteLimitCycle: number;
|
|
|
|
@@ -6631,9 +6654,11 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
responses: {
|
|
|
|
|
/** @description OK (without any results) */
|
|
|
|
|
204: {
|
|
|
|
|
content: never;
|
|
|
|
|
/** @description OK (with results) */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': components['schemas']['EmojiDetailed'];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Client error */
|
|
|
|
|
400: {
|
|
|
|
@@ -7244,13 +7269,13 @@ export type operations = {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': {
|
|
|
|
|
/** Format: misskey:id */
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
id?: string;
|
|
|
|
|
name?: string;
|
|
|
|
|
/** Format: misskey:id */
|
|
|
|
|
fileId?: string;
|
|
|
|
|
/** @description Use `null` to reset the category. */
|
|
|
|
|
category?: string | null;
|
|
|
|
|
aliases: string[];
|
|
|
|
|
aliases?: string[];
|
|
|
|
|
license?: string | null;
|
|
|
|
|
isSensitive?: boolean;
|
|
|
|
|
localOnly?: boolean;
|
|
|
|
@@ -8579,7 +8604,7 @@ export type operations = {
|
|
|
|
|
notificationRecieveConfig: {
|
|
|
|
|
note?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8588,7 +8613,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
follow?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8597,7 +8622,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
mention?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8606,7 +8631,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
reply?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8615,7 +8640,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
renote?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8624,7 +8649,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
quote?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8633,7 +8658,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
reaction?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8642,7 +8667,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
pollEnded?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8651,7 +8676,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
receiveFollowRequest?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8660,7 +8685,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
followRequestAccepted?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8669,7 +8694,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
roleAssigned?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8678,7 +8703,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
achievementEarned?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8687,7 +8712,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
app?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -8696,7 +8721,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
test?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -18143,8 +18168,8 @@ export type operations = {
|
|
|
|
|
untilId?: string;
|
|
|
|
|
/** @default true */
|
|
|
|
|
markAsRead?: boolean;
|
|
|
|
|
includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'edited' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'edited' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -18211,8 +18236,8 @@ export type operations = {
|
|
|
|
|
untilId?: string;
|
|
|
|
|
/** @default true */
|
|
|
|
|
markAsRead?: boolean;
|
|
|
|
|
includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'edited' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'edited' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -19369,7 +19394,7 @@ export type operations = {
|
|
|
|
|
notificationRecieveConfig?: {
|
|
|
|
|
note?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19378,7 +19403,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
follow?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19387,7 +19412,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
mention?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19396,7 +19421,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
reply?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19405,7 +19430,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
renote?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19414,7 +19439,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
quote?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19423,7 +19448,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
reaction?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19432,7 +19457,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
pollEnded?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19441,7 +19466,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
receiveFollowRequest?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19450,7 +19475,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
followRequestAccepted?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19459,7 +19484,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
roleAssigned?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19468,7 +19493,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
achievementEarned?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19477,7 +19502,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
app?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -19486,7 +19511,7 @@ export type operations = {
|
|
|
|
|
}]>;
|
|
|
|
|
test?: OneOf<[{
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'never';
|
|
|
|
|
type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'followingOrFollower' | 'never';
|
|
|
|
|
}, {
|
|
|
|
|
/** @enum {string} */
|
|
|
|
|
type: 'list';
|
|
|
|
@@ -22926,6 +22951,50 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* notifications/flush
|
|
|
|
|
* @description No description provided.
|
|
|
|
|
*
|
|
|
|
|
* **Credential required**: *Yes* / **Permission**: *write:notifications*
|
|
|
|
|
*/
|
|
|
|
|
'notifications/flush': {
|
|
|
|
|
responses: {
|
|
|
|
|
/** @description OK (without any results) */
|
|
|
|
|
204: {
|
|
|
|
|
content: never;
|
|
|
|
|
};
|
|
|
|
|
/** @description Client error */
|
|
|
|
|
400: {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': components['schemas']['Error'];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Authentication error */
|
|
|
|
|
401: {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': components['schemas']['Error'];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Forbidden error */
|
|
|
|
|
403: {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': components['schemas']['Error'];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description I'm Ai */
|
|
|
|
|
418: {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': components['schemas']['Error'];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Internal server error */
|
|
|
|
|
500: {
|
|
|
|
|
content: {
|
|
|
|
|
'application/json': components['schemas']['Error'];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* notifications/mark-all-as-read
|
|
|
|
|
* @description No description provided.
|
|
|
|
|