|
|
|
@@ -2851,6 +2851,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
|
|
|
|
@@ -3790,7 +3799,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';
|
|
|
|
@@ -3799,7 +3808,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';
|
|
|
|
@@ -3808,7 +3817,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';
|
|
|
|
@@ -3817,7 +3826,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';
|
|
|
|
@@ -3826,7 +3835,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';
|
|
|
|
@@ -3835,7 +3844,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';
|
|
|
|
@@ -3844,7 +3853,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';
|
|
|
|
@@ -3853,7 +3862,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';
|
|
|
|
@@ -3862,7 +3871,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';
|
|
|
|
@@ -3871,7 +3880,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';
|
|
|
|
@@ -3880,7 +3889,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';
|
|
|
|
@@ -3889,7 +3898,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';
|
|
|
|
@@ -3898,7 +3907,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';
|
|
|
|
@@ -3907,7 +3916,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';
|
|
|
|
@@ -4723,6 +4732,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} */
|
|
|
|
@@ -4735,7 +4754,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
|
|
|
|
@@ -4790,6 +4809,7 @@ export type components = {
|
|
|
|
|
canDeleteContent: boolean;
|
|
|
|
|
canUpdateAvatar: boolean;
|
|
|
|
|
canUpdateBanner: boolean;
|
|
|
|
|
mentionLimit: number;
|
|
|
|
|
canInvite: boolean;
|
|
|
|
|
inviteLimit: number;
|
|
|
|
|
inviteLimitCycle: number;
|
|
|
|
@@ -9135,7 +9155,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';
|
|
|
|
@@ -9144,7 +9164,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';
|
|
|
|
@@ -9153,7 +9173,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';
|
|
|
|
@@ -9162,7 +9182,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';
|
|
|
|
@@ -9171,7 +9191,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';
|
|
|
|
@@ -9180,7 +9200,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';
|
|
|
|
@@ -9189,7 +9209,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';
|
|
|
|
@@ -9198,7 +9218,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';
|
|
|
|
@@ -9207,7 +9227,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';
|
|
|
|
@@ -9216,7 +9236,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';
|
|
|
|
@@ -9225,7 +9245,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';
|
|
|
|
@@ -9234,7 +9254,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';
|
|
|
|
@@ -9243,7 +9263,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';
|
|
|
|
@@ -9252,7 +9272,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';
|
|
|
|
@@ -18433,8 +18453,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' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped' | 'pollVote' | 'groupInvited')[];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -19532,7 +19552,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';
|
|
|
|
@@ -19541,7 +19561,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';
|
|
|
|
@@ -19550,7 +19570,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';
|
|
|
|
@@ -19559,7 +19579,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';
|
|
|
|
@@ -19568,7 +19588,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';
|
|
|
|
@@ -19577,7 +19597,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';
|
|
|
|
@@ -19586,7 +19606,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';
|
|
|
|
@@ -19595,7 +19615,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';
|
|
|
|
@@ -19604,7 +19624,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';
|
|
|
|
@@ -19613,7 +19633,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';
|
|
|
|
@@ -19622,7 +19642,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';
|
|
|
|
@@ -19631,7 +19651,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';
|
|
|
|
@@ -19640,7 +19660,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';
|
|
|
|
@@ -19649,7 +19669,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';
|
|
|
|
@@ -22795,6 +22815,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.
|
|
|
|
|