feat(misskey-js): エラーを型として出力するように

This commit is contained in:
kakkokari-gtyih 2024-06-22 22:29:13 +09:00
parent bf403aa656
commit 1dfe08a8c1
12 changed files with 6817 additions and 1210 deletions

View File

@ -24,18 +24,39 @@ import MkContextMenu from '@/components/MkContextMenu.vue';
import { MenuItem } from '@/types/menu.js'; import { MenuItem } from '@/types/menu.js';
import copyToClipboard from '@/scripts/copy-to-clipboard.js'; import copyToClipboard from '@/scripts/copy-to-clipboard.js';
import { showMovedDialog } from '@/scripts/show-moved-dialog.js'; import { showMovedDialog } from '@/scripts/show-moved-dialog.js';
import { ErrPromise } from '@/scripts/err-promise.js';
export const openingWindowsCount = ref(0); export const openingWindowsCount = ref(0);
export const apiWithDialog = (<E extends keyof Misskey.Endpoints = keyof Misskey.Endpoints, P extends Misskey.Endpoints[E]['req'] = Misskey.Endpoints[E]['req']>( type CustomErrorDef<T> = {
[key in T extends { code: infer C; } ? C extends string ? C : string : string]?: { title?: string; text: string; };
};
export function apiWithDialog<
E extends keyof Misskey.Endpoints = keyof Misskey.Endpoints,
P extends Misskey.Endpoints[E]['req'] = Misskey.Endpoints[E]['req'],
ER extends Misskey.Endpoints[E]['errors'] = Misskey.Endpoints[E]['errors'],
>(
endpoint: E, endpoint: E,
data: P = {} as any, data: P = {} as any,
token?: string | null | undefined, token?: string | null | undefined,
) => { customErrors?: CustomErrorDef<ER>,
) {
const promise = misskeyApi(endpoint, data, token); const promise = misskeyApi(endpoint, data, token);
promiseDialog(promise, null, async (err) => { promiseDialog(promise, null, async (err) => {
let title: string | undefined; let title: string | undefined;
let text = err.message + '\n' + err.id; let text: string;
const initialText: string[] = [];
if ('message' in err && err.message != null) {
initialText.push(err.message);
}
if ('id' in err && err.id != null) {
initialText.push(err.id);
}
text = initialText.join('\n');
if ('code' in err && err.code != null) {
if (err.code === 'INTERNAL_ERROR') { if (err.code === 'INTERNAL_ERROR') {
title = i18n.ts.internalServerError; title = i18n.ts.internalServerError;
text = i18n.ts.internalServerErrorDescription; text = i18n.ts.internalServerErrorDescription;
@ -54,7 +75,12 @@ export const apiWithDialog = (<E extends keyof Misskey.Endpoints = keyof Misskey
}], }],
}); });
if (result === 'copy') { if (result === 'copy') {
copyToClipboard(`Endpoint: ${endpoint}\nInfo: ${JSON.stringify(err.info)}\nDate: ${date}`); const text = [
`Endpoint: ${endpoint}`,
('info' in err) ? `Info: ${JSON.stringify(err.info)}` : undefined,
`Date: ${date}`,
].filter(x => x != null);
copyToClipboard(text.join('\n'));
success(); success();
} }
return; return;
@ -67,13 +93,21 @@ export const apiWithDialog = (<E extends keyof Misskey.Endpoints = keyof Misskey
} else if (err.code === 'ROLE_PERMISSION_DENIED') { } else if (err.code === 'ROLE_PERMISSION_DENIED') {
title = i18n.ts.permissionDeniedError; title = i18n.ts.permissionDeniedError;
text = i18n.ts.permissionDeniedErrorDescription; text = i18n.ts.permissionDeniedErrorDescription;
} else if (customErrors && customErrors[err.code] != null) {
title = customErrors[err.code].title;
text = customErrors[err.code].text;
} else if (err.code.startsWith('TOO_MANY')) { } else if (err.code.startsWith('TOO_MANY')) {
title = i18n.ts.youCannotCreateAnymore; title = i18n.ts.youCannotCreateAnymore;
if ('id' in err && err.id != null) {
text = `${i18n.ts.error}: ${err.id}`; text = `${i18n.ts.error}: ${err.id}`;
} else {
text = `${i18n.ts.error}`;
}
} else if (err.message.startsWith('Unexpected token')) { } else if (err.message.startsWith('Unexpected token')) {
title = i18n.ts.gotInvalidResponseError; title = i18n.ts.gotInvalidResponseError;
text = i18n.ts.gotInvalidResponseErrorDescription; text = i18n.ts.gotInvalidResponseErrorDescription;
} }
}
alert({ alert({
type: 'error', type: 'error',
title, title,
@ -82,12 +116,16 @@ export const apiWithDialog = (<E extends keyof Misskey.Endpoints = keyof Misskey
}); });
return promise; return promise;
}) as typeof misskeyApi; }
export function promiseDialog<T extends Promise<any>>( export function promiseDialog<
T extends ErrPromise<any, any> | Promise<any>,
R = T extends ErrPromise<infer R, unknown> ? R : T extends Promise<infer R> ? R : never,
E = T extends ErrPromise<unknown, infer E> ? E : T extends Promise<unknown> ? any : never,
>(
promise: T, promise: T,
onSuccess?: ((res: any) => void) | null, onSuccess?: ((res: R) => void) | null,
onFailure?: ((err: Misskey.api.APIError) => void) | null, onFailure?: ((err: E) => void) | null,
text?: string, text?: string,
): T { ): T {
const showing = ref(true); const showing = ref(true);

View File

@ -0,0 +1,18 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
export interface IErrPromise<TSuccess, TError = unknown> {
then<TResult1 = TSuccess, TResult2 = never>(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
catch<TResult = never>(onrejected?: ((reason: TError) => TResult | PromiseLike<TResult>) | undefined | null): Promise<TSuccess | TResult>;
}
/** rejectに型付けができるPromise */
export class ErrPromise<TSuccess, TError> extends Promise<TSuccess> implements IErrPromise<TSuccess, TError> {
constructor(executor: (resolve: (value: TSuccess | PromiseLike<TSuccess>) => void, reject: (reason: TError) => void) => void) {
super(executor);
}
}

View File

@ -7,6 +7,7 @@ import * as Misskey from 'misskey-js';
import { ref } from 'vue'; import { ref } from 'vue';
import { apiUrl } from '@/config.js'; import { apiUrl } from '@/config.js';
import { $i } from '@/account.js'; import { $i } from '@/account.js';
import { ErrPromise } from '@/scripts/err-promise.js';
export const pendingApiRequestsCount = ref(0); export const pendingApiRequestsCount = ref(0);
// Implements Misskey.api.ApiClient.request // Implements Misskey.api.ApiClient.request
@ -14,13 +15,14 @@ export function misskeyApi<
ResT = void, ResT = void,
E extends keyof Misskey.Endpoints = keyof Misskey.Endpoints, E extends keyof Misskey.Endpoints = keyof Misskey.Endpoints,
P extends Misskey.Endpoints[E]['req'] = Misskey.Endpoints[E]['req'], P extends Misskey.Endpoints[E]['req'] = Misskey.Endpoints[E]['req'],
RE extends Misskey.Endpoints[E]['errors'] = Misskey.Endpoints[E]['errors'],
_ResT = ResT extends void ? Misskey.api.SwitchCaseResponseType<E, P> : ResT, _ResT = ResT extends void ? Misskey.api.SwitchCaseResponseType<E, P> : ResT,
>( >(
endpoint: E, endpoint: E,
data: P = {} as any, data: P = {} as any,
token?: string | null | undefined, token?: string | null | undefined,
signal?: AbortSignal, signal?: AbortSignal,
): Promise<_ResT> { ): ErrPromise<_ResT, RE> {
if (endpoint.includes('://')) throw new Error('invalid endpoint'); if (endpoint.includes('://')) throw new Error('invalid endpoint');
pendingApiRequestsCount.value++; pendingApiRequestsCount.value++;
@ -28,7 +30,7 @@ export function misskeyApi<
pendingApiRequestsCount.value--; pendingApiRequestsCount.value--;
}; };
const promise = new Promise<_ResT>((resolve, reject) => { const promise = new ErrPromise<_ResT, RE>((resolve, reject) => {
// Append a credential // Append a credential
if ($i) (data as any).i = $i.token; if ($i) (data as any).i = $i.token;
if (token !== undefined) (data as any).i = token; if (token !== undefined) (data as any).i = token;
@ -47,7 +49,7 @@ export function misskeyApi<
const body = res.status === 204 ? null : await res.json(); const body = res.status === 204 ? null : await res.json();
if (res.status === 200) { if (res.status === 200) {
resolve(body); resolve(body as _ResT);
} else if (res.status === 204) { } else if (res.status === 204) {
resolve(undefined as _ResT); // void -> undefined resolve(undefined as _ResT); // void -> undefined
} else { } else {
@ -66,11 +68,12 @@ export function misskeyApiGet<
ResT = void, ResT = void,
E extends keyof Misskey.Endpoints = keyof Misskey.Endpoints, E extends keyof Misskey.Endpoints = keyof Misskey.Endpoints,
P extends Misskey.Endpoints[E]['req'] = Misskey.Endpoints[E]['req'], P extends Misskey.Endpoints[E]['req'] = Misskey.Endpoints[E]['req'],
RE extends Misskey.Endpoints[E]['errors'] = Misskey.Endpoints[E]['errors'],
_ResT = ResT extends void ? Misskey.api.SwitchCaseResponseType<E, P> : ResT, _ResT = ResT extends void ? Misskey.api.SwitchCaseResponseType<E, P> : ResT,
>( >(
endpoint: E, endpoint: E,
data: P = {} as any, data: P = {} as any,
): Promise<_ResT> { ): ErrPromise<_ResT, RE> {
pendingApiRequestsCount.value++; pendingApiRequestsCount.value++;
const onFinally = () => { const onFinally = () => {
@ -79,7 +82,7 @@ export function misskeyApiGet<
const query = new URLSearchParams(data as any); const query = new URLSearchParams(data as any);
const promise = new Promise<_ResT>((resolve, reject) => { const promise = new ErrPromise<_ResT, RE>((resolve, reject) => {
// Send request // Send request
window.fetch(`${apiUrl}/${endpoint}?${query}`, { window.fetch(`${apiUrl}/${endpoint}?${query}`, {
method: 'GET', method: 'GET',

File diff suppressed because it is too large Load Diff

View File

@ -4,15 +4,16 @@ import { toPascal } from 'ts-case-convert';
import OpenAPIParser from '@readme/openapi-parser'; import OpenAPIParser from '@readme/openapi-parser';
import openapiTS from 'openapi-typescript'; import openapiTS from 'openapi-typescript';
const disabledLints = [
'@typescript-eslint/naming-convention',
'@typescript-eslint/no-explicit-any',
];
async function generateBaseTypes( async function generateBaseTypes(
openApiDocs: OpenAPIV3_1.Document, openApiDocs: OpenAPIV3_1.Document,
openApiJsonPath: string, openApiJsonPath: string,
typeFileName: string, typeFileName: string,
) { ) {
const disabledLints = [
'@typescript-eslint/naming-convention',
'@typescript-eslint/no-explicit-any',
];
const lines: string[] = []; const lines: string[] = [];
for (const lint of disabledLints) { for (const lint of disabledLints) {
@ -49,22 +50,96 @@ async function generateSchemaEntities(
await writeFile(outputPath, typeAliasLines.join('\n')); await writeFile(outputPath, typeAliasLines.join('\n'));
} }
async function generateEndpoints( function getEndpoints(openApiDocs: OpenAPIV3_1.Document) {
openApiDocs: OpenAPIV3_1.Document,
typeFileName: string,
entitiesOutputPath: string,
endpointOutputPath: string,
) {
const endpoints: Endpoint[] = [];
// misskey-jsはPOST固定で送っているので、こちらも決め打ちする。別メソッドに対応することがあればこちらも直す必要あり // misskey-jsはPOST固定で送っているので、こちらも決め打ちする。別メソッドに対応することがあればこちらも直す必要あり
const paths = openApiDocs.paths ?? {}; const paths = openApiDocs.paths ?? {};
const postPathItems = Object.keys(paths) return Object.keys(paths)
.map(it => ({ .map(it => ({
_path_: it.replace(/^\//, ''), _path_: it.replace(/^\//, ''),
...paths[it]?.post, ...paths[it]?.post,
})) }))
.filter(filterUndefined); .filter(filterUndefined);
}
async function generateEndpointErrors(
openApiDocs: OpenAPIV3_1.Document,
endpointErrorsOutputPath: string,
) {
const endpoints: Endpoint[] = [];
const postPathItems = getEndpoints(openApiDocs);
const endpointsErrorsOutputLine: string[] = [];
for (const lint of disabledLints) {
endpointsErrorsOutputLine.push(`/* eslint ${lint}: 0 */`);
}
endpointsErrorsOutputLine.push('');
endpointsErrorsOutputLine.push('export type EndpointsErrors = {');
for (const operation of postPathItems) {
const path = operation._path_;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const operationId = operation.operationId!;
const endpoint = new Endpoint(path);
endpoints.push(endpoint);
if (operation.responses) {
const okResponses = [
'200',
'201',
'202',
'204',
];
const errorResponseCodes = Object.keys(operation.responses).filter((key) => !okResponses.includes(key));
const errorTypes = new Map<string, OpenAPIV3_1.SchemaObject>();
errorResponseCodes.forEach((code) => {
const response = operation.responses![code];
if ('content' in response && response.content != null && 'application/json' in response.content) {
const errors = response.content['application/json'].examples;
if (errors != null) {
Object.keys(errors).forEach((key) => {
const error = errors[key];
if (error != null && 'value' in error && error.value != null) {
errorTypes.set(key, error.value);
}
});
}
}
});
if (errorTypes.size > 0) {
endpointsErrorsOutputLine.push(`\t'${operationId}': {`);
for (const [key, value] of errorTypes) {
if ('error' in value && value.error != null) {
let typeString = JSON.stringify(value.error);
typeString = typeString.substring(0, typeString.length - 1) + ', [x: string]: any ' + typeString.substring(typeString.length - 1);
endpointsErrorsOutputLine.push(`\t\t'${key}': ${typeString},`);
}
}
endpointsErrorsOutputLine.push('\t},');
}
}
}
endpointsErrorsOutputLine.push('};');
endpointsErrorsOutputLine.push('');
await writeFile(endpointErrorsOutputPath, endpointsErrorsOutputLine.join('\n'));
}
async function generateEndpoints(
openApiDocs: OpenAPIV3_1.Document,
typeFileName: string,
entitiesOutputPath: string,
endpointErrorsOutputPath: string,
endpointOutputPath: string,
) {
const endpoints: Endpoint[] = [];
const postPathItems = getEndpoints(openApiDocs);
for (const operation of postPathItems) { for (const operation of postPathItems) {
const path = operation._path_; const path = operation._path_;
@ -100,6 +175,18 @@ async function generateEndpoints(
); );
} }
} }
if (operation.responses) {
const errorResponseCodes = Object.keys(operation.responses).filter((key) => key !== '200');
if (errorResponseCodes.length > 0) {
endpoint.errors = new OperationTypeAlias(
operationId,
path,
'application/json',
OperationsAliasType.ERRORS,
);
}
}
} }
const entitiesOutputLine: string[] = []; const entitiesOutputLine: string[] = [];
@ -107,14 +194,16 @@ async function generateEndpoints(
entitiesOutputLine.push('/* eslint @typescript-eslint/naming-convention: 0 */'); entitiesOutputLine.push('/* eslint @typescript-eslint/naming-convention: 0 */');
entitiesOutputLine.push(`import { operations } from '${toImportPath(typeFileName)}';`); entitiesOutputLine.push(`import { operations } from '${toImportPath(typeFileName)}';`);
entitiesOutputLine.push(`import { EndpointsErrors as _Operations_EndpointsErrors } from '${toImportPath(endpointErrorsOutputPath)}';`);
entitiesOutputLine.push(''); entitiesOutputLine.push('');
entitiesOutputLine.push(new EmptyTypeAlias(OperationsAliasType.REQUEST).toLine()); entitiesOutputLine.push(new EmptyTypeAlias(OperationsAliasType.REQUEST).toLine());
entitiesOutputLine.push(new EmptyTypeAlias(OperationsAliasType.RESPONSE).toLine()); entitiesOutputLine.push(new EmptyTypeAlias(OperationsAliasType.RESPONSE).toLine());
entitiesOutputLine.push(new EmptyTypeAlias(OperationsAliasType.ERRORS).toLine());
entitiesOutputLine.push(''); entitiesOutputLine.push('');
const entities = endpoints const entities = endpoints
.flatMap(it => [it.request, it.response].filter(i => i)) .flatMap(it => [it.request, it.response, it.errors].filter(i => i))
.filter(filterUndefined); .filter(filterUndefined);
entitiesOutputLine.push(...entities.map(it => it.toLine())); entitiesOutputLine.push(...entities.map(it => it.toLine()));
entitiesOutputLine.push(''); entitiesOutputLine.push('');
@ -180,6 +269,21 @@ async function generateApiClientJSDoc(
endpointOutputLine.push(`import type { Endpoints } from '${toImportPath(endpointsFileName)}';`); endpointOutputLine.push(`import type { Endpoints } from '${toImportPath(endpointsFileName)}';`);
endpointOutputLine.push(''); endpointOutputLine.push('');
endpointOutputLine.push(
`interface IErrPromise<TSuccess, TError = unknown> {`,
` then<TResult1 = TSuccess, TResult2 = never>(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;`,
``,
` catch<TResult = never>(onrejected?: ((reason: TError) => TResult | PromiseLike<TResult>) | undefined | null): Promise<TSuccess | TResult>;`,
`}`,
``,
`class ErrPromise<TSuccess, TError> extends Promise<TSuccess> implements IErrPromise<TSuccess, TError> {`,
` constructor(executor: (resolve: (value: TSuccess | PromiseLike<TSuccess>) => void, reject: (reason: TError) => void) => void) {`,
` super(executor);`,
` }`,
`}`,
);
endpointOutputLine.push('');
endpointOutputLine.push(`declare module '${toImportPath(apiClientFileName)}' {`); endpointOutputLine.push(`declare module '${toImportPath(apiClientFileName)}' {`);
endpointOutputLine.push(' export interface APIClient {'); endpointOutputLine.push(' export interface APIClient {');
for (let i = 0; i < endpoints.length; i++) { for (let i = 0; i < endpoints.length; i++) {
@ -189,11 +293,11 @@ async function generateApiClientJSDoc(
' /**', ' /**',
` * ${endpoint.description.split('\n').join('\n * ')}`, ` * ${endpoint.description.split('\n').join('\n * ')}`,
' */', ' */',
` request<E extends '${endpoint.path}', P extends Endpoints[E][\'req\']>(`, ` request<E extends '${endpoint.path}', P extends Endpoints[E][\'req\'], RE extends Endpoints[E][\'errors\']>(`,
' endpoint: E,', ' endpoint: E,',
' params: P,', ' params: P,',
' credential?: string | null,', ' credential?: string | null,',
' ): Promise<SwitchCaseResponseType<E, P>>;', ' ): ErrPromise<SwitchCaseResponseType<E, P>, RE>;',
); );
if (i < endpoints.length - 1) { if (i < endpoints.length - 1) {
@ -235,7 +339,8 @@ function toImportPath(fileName: string, fromPath = '/built/autogen', toPath = ''
enum OperationsAliasType { enum OperationsAliasType {
REQUEST = 'Request', REQUEST = 'Request',
RESPONSE = 'Response' RESPONSE = 'Response',
ERRORS = 'Errors',
} }
interface IOperationTypeAlias { interface IOperationTypeAlias {
@ -271,9 +376,15 @@ class OperationTypeAlias implements IOperationTypeAlias {
toLine(): string { toLine(): string {
const name = this.generateName(); const name = this.generateName();
return (this.type === OperationsAliasType.REQUEST)
? `export type ${name} = operations['${this.operationId}']['requestBody']['content']['${this.mediaType}'];` switch (this.type) {
: `export type ${name} = operations['${this.operationId}']['responses']['200']['content']['${this.mediaType}'];`; case OperationsAliasType.REQUEST:
return `export type ${name} = operations['${this.operationId}']['requestBody']['content']['${this.mediaType}'];`;
case OperationsAliasType.RESPONSE:
return `export type ${name} = operations['${this.operationId}']['responses']['200']['content']['${this.mediaType}'];`;
case OperationsAliasType.ERRORS:
return `export type ${name} = _Operations_EndpointsErrors['${this.operationId}'][keyof _Operations_EndpointsErrors['${this.operationId}']];`;
}
} }
} }
@ -296,11 +407,13 @@ class EmptyTypeAlias implements IOperationTypeAlias {
const emptyRequest = new EmptyTypeAlias(OperationsAliasType.REQUEST); const emptyRequest = new EmptyTypeAlias(OperationsAliasType.REQUEST);
const emptyResponse = new EmptyTypeAlias(OperationsAliasType.RESPONSE); const emptyResponse = new EmptyTypeAlias(OperationsAliasType.RESPONSE);
const emptyErrors = new EmptyTypeAlias(OperationsAliasType.ERRORS);
class Endpoint { class Endpoint {
public readonly path: string; public readonly path: string;
public request?: IOperationTypeAlias; public request?: IOperationTypeAlias;
public response?: IOperationTypeAlias; public response?: IOperationTypeAlias;
public errors?: IOperationTypeAlias;
constructor(path: string) { constructor(path: string) {
this.path = path; this.path = path;
@ -309,8 +422,9 @@ class Endpoint {
toLine(): string { toLine(): string {
const reqName = this.request?.generateName() ?? emptyRequest.generateName(); const reqName = this.request?.generateName() ?? emptyRequest.generateName();
const resName = this.response?.generateName() ?? emptyResponse.generateName(); const resName = this.response?.generateName() ?? emptyResponse.generateName();
const errorsName = this.errors?.generateName() ?? emptyErrors.generateName();
return `'${this.path}': { req: ${reqName}; res: ${resName} };`; return `'${this.path}': { req: ${reqName}; res: ${resName}; errors: ${errorsName} };`;
} }
} }
@ -324,12 +438,15 @@ async function main() {
const typeFileName = './built/autogen/types.ts'; const typeFileName = './built/autogen/types.ts';
await generateBaseTypes(openApiDocs, openApiJsonPath, typeFileName); await generateBaseTypes(openApiDocs, openApiJsonPath, typeFileName);
const endpointErrorsFileName = `${generatePath}/endpointErrors.ts`;
await generateEndpointErrors(openApiDocs, endpointErrorsFileName);
const modelFileName = `${generatePath}/models.ts`; const modelFileName = `${generatePath}/models.ts`;
await generateSchemaEntities(openApiDocs, typeFileName, modelFileName); await generateSchemaEntities(openApiDocs, typeFileName, modelFileName);
const entitiesFileName = `${generatePath}/entities.ts`; const entitiesFileName = `${generatePath}/entities.ts`;
const endpointFileName = `${generatePath}/endpoint.ts`; const endpointFileName = `${generatePath}/endpoint.ts`;
await generateEndpoints(openApiDocs, typeFileName, entitiesFileName, endpointFileName); await generateEndpoints(openApiDocs, typeFileName, entitiesFileName, endpointErrorsFileName, endpointFileName);
const apiClientWarningFileName = `${generatePath}/apiClientJSDoc.ts`; const apiClientWarningFileName = `${generatePath}/apiClientJSDoc.ts`;
await generateApiClientJSDoc(openApiDocs, '../api.ts', endpointFileName, apiClientWarningFileName); await generateApiClientJSDoc(openApiDocs, '../api.ts', endpointFileName, apiClientWarningFileName);

View File

@ -3,6 +3,18 @@ import './autogen/apiClientJSDoc.js';
import { SwitchCaseResponseType } from './api.types.js'; import { SwitchCaseResponseType } from './api.types.js';
import type { Endpoints } from './api.types.js'; import type { Endpoints } from './api.types.js';
interface IErrPromise<TSuccess, TError = unknown> {
then<TResult1 = TSuccess, TResult2 = never>(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
catch<TResult = never>(onrejected?: ((reason: TError) => TResult | PromiseLike<TResult>) | undefined | null): Promise<TSuccess | TResult>;
}
class ErrPromise<TSuccess, TError> extends Promise<TSuccess> implements IErrPromise<TSuccess, TError> {
constructor(executor: (resolve: (value: TSuccess | PromiseLike<TSuccess>) => void, reject: (reason: TError) => void) => void) {
super(executor);
}
}
export type { export type {
SwitchCaseResponseType, SwitchCaseResponseType,
} from './api.types.js'; } from './api.types.js';
@ -49,11 +61,11 @@ export class APIClient {
this.fetch = opts.fetch ?? ((...args) => fetch(...args)); this.fetch = opts.fetch ?? ((...args) => fetch(...args));
} }
public request<E extends keyof Endpoints, P extends Endpoints[E]['req']>( public request<E extends keyof Endpoints, P extends Endpoints[E]['req'], RE extends Endpoints[E]['errors']>(
endpoint: E, endpoint: E,
params: P = {} as P, params: P = {} as P,
credential?: string | null, credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>> { ): ErrPromise<SwitchCaseResponseType<E, P>, RE> {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.fetch(`${this.origin}/api/${endpoint}`, { this.fetch(`${this.origin}/api/${endpoint}`, {
method: 'POST', method: 'POST',

View File

@ -1,13 +1,15 @@
import { Endpoints as Gen } from './autogen/endpoint.js'; import { Endpoints as Gen } from './autogen/endpoint.js';
import { UserDetailed } from './autogen/models.js'; import { UserDetailed } from './autogen/models.js';
import { UsersShowRequest } from './autogen/entities.js'; import { UsersShowRequest, UsersShowErrors } from './autogen/entities.js';
import { import {
SigninRequest, SigninRequest,
SigninResponse, SigninResponse,
SigninErrors,
SignupPendingRequest, SignupPendingRequest,
SignupPendingResponse, SignupPendingResponse,
SignupRequest, SignupRequest,
SignupResponse, SignupResponse,
SignupErrors,
} from './entities.js'; } from './entities.js';
type Overwrite<T, U extends { [Key in keyof T]?: unknown }> = Omit< type Overwrite<T, U extends { [Key in keyof T]?: unknown }> = Omit<
@ -63,21 +65,25 @@ export type Endpoints = Overwrite<
$default: UserDetailed; $default: UserDetailed;
}; };
}; };
errors: UsersShowErrors;
}, },
// api.jsonには載せないものなのでここで定義 // api.jsonには載せないものなのでここで定義
'signup': { 'signup': {
req: SignupRequest; req: SignupRequest;
res: SignupResponse; res: SignupResponse;
errors: SignupErrors;
}, },
// api.jsonには載せないものなのでここで定義 // api.jsonには載せないものなのでここで定義
'signup-pending': { 'signup-pending': {
req: SignupPendingRequest; req: SignupPendingRequest;
res: SignupPendingResponse; res: SignupPendingResponse;
errors: SignupErrors;
}, },
// api.jsonには載せないものなのでここで定義 // api.jsonには載せないものなのでここで定義
'signin': { 'signin': {
req: SigninRequest; req: SigninRequest;
res: SigninResponse; res: SigninResponse;
errors: SigninErrors;
}, },
} }
> >

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,576 +1,957 @@
/* eslint @typescript-eslint/naming-convention: 0 */ /* eslint @typescript-eslint/naming-convention: 0 */
import { operations } from './types.js'; import { operations } from './types.js';
import { EndpointsErrors as _Operations_EndpointsErrors } from './endpointErrors.js';
export type EmptyRequest = Record<string, unknown> | undefined; export type EmptyRequest = Record<string, unknown> | undefined;
export type EmptyResponse = Record<string, unknown> | undefined; export type EmptyResponse = Record<string, unknown> | undefined;
export type EmptyErrors = Record<string, unknown> | undefined;
export type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json']; export type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json'];
export type AdminMetaErrors = _Operations_EndpointsErrors['admin___meta'][keyof _Operations_EndpointsErrors['admin___meta']];
export type AdminAbuseUserReportsRequest = operations['admin___abuse-user-reports']['requestBody']['content']['application/json']; export type AdminAbuseUserReportsRequest = operations['admin___abuse-user-reports']['requestBody']['content']['application/json'];
export type AdminAbuseUserReportsResponse = operations['admin___abuse-user-reports']['responses']['200']['content']['application/json']; export type AdminAbuseUserReportsResponse = operations['admin___abuse-user-reports']['responses']['200']['content']['application/json'];
export type AdminAbuseUserReportsErrors = _Operations_EndpointsErrors['admin___abuse-user-reports'][keyof _Operations_EndpointsErrors['admin___abuse-user-reports']];
export type AdminAbuseReportNotificationRecipientListRequest = operations['admin___abuse-report___notification-recipient___list']['requestBody']['content']['application/json']; export type AdminAbuseReportNotificationRecipientListRequest = operations['admin___abuse-report___notification-recipient___list']['requestBody']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientListResponse = operations['admin___abuse-report___notification-recipient___list']['responses']['200']['content']['application/json']; export type AdminAbuseReportNotificationRecipientListResponse = operations['admin___abuse-report___notification-recipient___list']['responses']['200']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientListErrors = _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___list'][keyof _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___list']];
export type AdminAbuseReportNotificationRecipientShowRequest = operations['admin___abuse-report___notification-recipient___show']['requestBody']['content']['application/json']; export type AdminAbuseReportNotificationRecipientShowRequest = operations['admin___abuse-report___notification-recipient___show']['requestBody']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientShowResponse = operations['admin___abuse-report___notification-recipient___show']['responses']['200']['content']['application/json']; export type AdminAbuseReportNotificationRecipientShowResponse = operations['admin___abuse-report___notification-recipient___show']['responses']['200']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientShowErrors = _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___show'][keyof _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___show']];
export type AdminAbuseReportNotificationRecipientCreateRequest = operations['admin___abuse-report___notification-recipient___create']['requestBody']['content']['application/json']; export type AdminAbuseReportNotificationRecipientCreateRequest = operations['admin___abuse-report___notification-recipient___create']['requestBody']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientCreateResponse = operations['admin___abuse-report___notification-recipient___create']['responses']['200']['content']['application/json']; export type AdminAbuseReportNotificationRecipientCreateResponse = operations['admin___abuse-report___notification-recipient___create']['responses']['200']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientCreateErrors = _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___create'][keyof _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___create']];
export type AdminAbuseReportNotificationRecipientUpdateRequest = operations['admin___abuse-report___notification-recipient___update']['requestBody']['content']['application/json']; export type AdminAbuseReportNotificationRecipientUpdateRequest = operations['admin___abuse-report___notification-recipient___update']['requestBody']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientUpdateResponse = operations['admin___abuse-report___notification-recipient___update']['responses']['200']['content']['application/json']; export type AdminAbuseReportNotificationRecipientUpdateResponse = operations['admin___abuse-report___notification-recipient___update']['responses']['200']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientUpdateErrors = _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___update'][keyof _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___update']];
export type AdminAbuseReportNotificationRecipientDeleteRequest = operations['admin___abuse-report___notification-recipient___delete']['requestBody']['content']['application/json']; export type AdminAbuseReportNotificationRecipientDeleteRequest = operations['admin___abuse-report___notification-recipient___delete']['requestBody']['content']['application/json'];
export type AdminAbuseReportNotificationRecipientDeleteErrors = _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___delete'][keyof _Operations_EndpointsErrors['admin___abuse-report___notification-recipient___delete']];
export type AdminAccountsCreateRequest = operations['admin___accounts___create']['requestBody']['content']['application/json']; export type AdminAccountsCreateRequest = operations['admin___accounts___create']['requestBody']['content']['application/json'];
export type AdminAccountsCreateResponse = operations['admin___accounts___create']['responses']['200']['content']['application/json']; export type AdminAccountsCreateResponse = operations['admin___accounts___create']['responses']['200']['content']['application/json'];
export type AdminAccountsCreateErrors = _Operations_EndpointsErrors['admin___accounts___create'][keyof _Operations_EndpointsErrors['admin___accounts___create']];
export type AdminAccountsDeleteRequest = operations['admin___accounts___delete']['requestBody']['content']['application/json']; export type AdminAccountsDeleteRequest = operations['admin___accounts___delete']['requestBody']['content']['application/json'];
export type AdminAccountsDeleteErrors = _Operations_EndpointsErrors['admin___accounts___delete'][keyof _Operations_EndpointsErrors['admin___accounts___delete']];
export type AdminAccountsFindByEmailRequest = operations['admin___accounts___find-by-email']['requestBody']['content']['application/json']; export type AdminAccountsFindByEmailRequest = operations['admin___accounts___find-by-email']['requestBody']['content']['application/json'];
export type AdminAccountsFindByEmailResponse = operations['admin___accounts___find-by-email']['responses']['200']['content']['application/json']; export type AdminAccountsFindByEmailResponse = operations['admin___accounts___find-by-email']['responses']['200']['content']['application/json'];
export type AdminAccountsFindByEmailErrors = _Operations_EndpointsErrors['admin___accounts___find-by-email'][keyof _Operations_EndpointsErrors['admin___accounts___find-by-email']];
export type AdminAdCreateRequest = operations['admin___ad___create']['requestBody']['content']['application/json']; export type AdminAdCreateRequest = operations['admin___ad___create']['requestBody']['content']['application/json'];
export type AdminAdCreateResponse = operations['admin___ad___create']['responses']['200']['content']['application/json']; export type AdminAdCreateResponse = operations['admin___ad___create']['responses']['200']['content']['application/json'];
export type AdminAdCreateErrors = _Operations_EndpointsErrors['admin___ad___create'][keyof _Operations_EndpointsErrors['admin___ad___create']];
export type AdminAdDeleteRequest = operations['admin___ad___delete']['requestBody']['content']['application/json']; export type AdminAdDeleteRequest = operations['admin___ad___delete']['requestBody']['content']['application/json'];
export type AdminAdDeleteErrors = _Operations_EndpointsErrors['admin___ad___delete'][keyof _Operations_EndpointsErrors['admin___ad___delete']];
export type AdminAdListRequest = operations['admin___ad___list']['requestBody']['content']['application/json']; export type AdminAdListRequest = operations['admin___ad___list']['requestBody']['content']['application/json'];
export type AdminAdListResponse = operations['admin___ad___list']['responses']['200']['content']['application/json']; export type AdminAdListResponse = operations['admin___ad___list']['responses']['200']['content']['application/json'];
export type AdminAdListErrors = _Operations_EndpointsErrors['admin___ad___list'][keyof _Operations_EndpointsErrors['admin___ad___list']];
export type AdminAdUpdateRequest = operations['admin___ad___update']['requestBody']['content']['application/json']; export type AdminAdUpdateRequest = operations['admin___ad___update']['requestBody']['content']['application/json'];
export type AdminAdUpdateErrors = _Operations_EndpointsErrors['admin___ad___update'][keyof _Operations_EndpointsErrors['admin___ad___update']];
export type AdminAnnouncementsCreateRequest = operations['admin___announcements___create']['requestBody']['content']['application/json']; export type AdminAnnouncementsCreateRequest = operations['admin___announcements___create']['requestBody']['content']['application/json'];
export type AdminAnnouncementsCreateResponse = operations['admin___announcements___create']['responses']['200']['content']['application/json']; export type AdminAnnouncementsCreateResponse = operations['admin___announcements___create']['responses']['200']['content']['application/json'];
export type AdminAnnouncementsCreateErrors = _Operations_EndpointsErrors['admin___announcements___create'][keyof _Operations_EndpointsErrors['admin___announcements___create']];
export type AdminAnnouncementsDeleteRequest = operations['admin___announcements___delete']['requestBody']['content']['application/json']; export type AdminAnnouncementsDeleteRequest = operations['admin___announcements___delete']['requestBody']['content']['application/json'];
export type AdminAnnouncementsDeleteErrors = _Operations_EndpointsErrors['admin___announcements___delete'][keyof _Operations_EndpointsErrors['admin___announcements___delete']];
export type AdminAnnouncementsListRequest = operations['admin___announcements___list']['requestBody']['content']['application/json']; export type AdminAnnouncementsListRequest = operations['admin___announcements___list']['requestBody']['content']['application/json'];
export type AdminAnnouncementsListResponse = operations['admin___announcements___list']['responses']['200']['content']['application/json']; export type AdminAnnouncementsListResponse = operations['admin___announcements___list']['responses']['200']['content']['application/json'];
export type AdminAnnouncementsListErrors = _Operations_EndpointsErrors['admin___announcements___list'][keyof _Operations_EndpointsErrors['admin___announcements___list']];
export type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json']; export type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json'];
export type AdminAnnouncementsUpdateErrors = _Operations_EndpointsErrors['admin___announcements___update'][keyof _Operations_EndpointsErrors['admin___announcements___update']];
export type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json']; export type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json'];
export type AdminAvatarDecorationsCreateErrors = _Operations_EndpointsErrors['admin___avatar-decorations___create'][keyof _Operations_EndpointsErrors['admin___avatar-decorations___create']];
export type AdminAvatarDecorationsDeleteRequest = operations['admin___avatar-decorations___delete']['requestBody']['content']['application/json']; export type AdminAvatarDecorationsDeleteRequest = operations['admin___avatar-decorations___delete']['requestBody']['content']['application/json'];
export type AdminAvatarDecorationsDeleteErrors = _Operations_EndpointsErrors['admin___avatar-decorations___delete'][keyof _Operations_EndpointsErrors['admin___avatar-decorations___delete']];
export type AdminAvatarDecorationsListRequest = operations['admin___avatar-decorations___list']['requestBody']['content']['application/json']; export type AdminAvatarDecorationsListRequest = operations['admin___avatar-decorations___list']['requestBody']['content']['application/json'];
export type AdminAvatarDecorationsListResponse = operations['admin___avatar-decorations___list']['responses']['200']['content']['application/json']; export type AdminAvatarDecorationsListResponse = operations['admin___avatar-decorations___list']['responses']['200']['content']['application/json'];
export type AdminAvatarDecorationsListErrors = _Operations_EndpointsErrors['admin___avatar-decorations___list'][keyof _Operations_EndpointsErrors['admin___avatar-decorations___list']];
export type AdminAvatarDecorationsUpdateRequest = operations['admin___avatar-decorations___update']['requestBody']['content']['application/json']; export type AdminAvatarDecorationsUpdateRequest = operations['admin___avatar-decorations___update']['requestBody']['content']['application/json'];
export type AdminAvatarDecorationsUpdateErrors = _Operations_EndpointsErrors['admin___avatar-decorations___update'][keyof _Operations_EndpointsErrors['admin___avatar-decorations___update']];
export type AdminDeleteAllFilesOfAUserRequest = operations['admin___delete-all-files-of-a-user']['requestBody']['content']['application/json']; export type AdminDeleteAllFilesOfAUserRequest = operations['admin___delete-all-files-of-a-user']['requestBody']['content']['application/json'];
export type AdminDeleteAllFilesOfAUserErrors = _Operations_EndpointsErrors['admin___delete-all-files-of-a-user'][keyof _Operations_EndpointsErrors['admin___delete-all-files-of-a-user']];
export type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json']; export type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json'];
export type AdminUnsetUserAvatarErrors = _Operations_EndpointsErrors['admin___unset-user-avatar'][keyof _Operations_EndpointsErrors['admin___unset-user-avatar']];
export type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json']; export type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json'];
export type AdminUnsetUserBannerErrors = _Operations_EndpointsErrors['admin___unset-user-banner'][keyof _Operations_EndpointsErrors['admin___unset-user-banner']];
export type AdminDriveCleanRemoteFilesErrors = _Operations_EndpointsErrors['admin___drive___clean-remote-files'][keyof _Operations_EndpointsErrors['admin___drive___clean-remote-files']];
export type AdminDriveCleanupErrors = _Operations_EndpointsErrors['admin___drive___cleanup'][keyof _Operations_EndpointsErrors['admin___drive___cleanup']];
export type AdminDriveFilesRequest = operations['admin___drive___files']['requestBody']['content']['application/json']; export type AdminDriveFilesRequest = operations['admin___drive___files']['requestBody']['content']['application/json'];
export type AdminDriveFilesResponse = operations['admin___drive___files']['responses']['200']['content']['application/json']; export type AdminDriveFilesResponse = operations['admin___drive___files']['responses']['200']['content']['application/json'];
export type AdminDriveFilesErrors = _Operations_EndpointsErrors['admin___drive___files'][keyof _Operations_EndpointsErrors['admin___drive___files']];
export type AdminDriveShowFileRequest = operations['admin___drive___show-file']['requestBody']['content']['application/json']; export type AdminDriveShowFileRequest = operations['admin___drive___show-file']['requestBody']['content']['application/json'];
export type AdminDriveShowFileResponse = operations['admin___drive___show-file']['responses']['200']['content']['application/json']; export type AdminDriveShowFileResponse = operations['admin___drive___show-file']['responses']['200']['content']['application/json'];
export type AdminDriveShowFileErrors = _Operations_EndpointsErrors['admin___drive___show-file'][keyof _Operations_EndpointsErrors['admin___drive___show-file']];
export type AdminEmojiAddAliasesBulkRequest = operations['admin___emoji___add-aliases-bulk']['requestBody']['content']['application/json']; export type AdminEmojiAddAliasesBulkRequest = operations['admin___emoji___add-aliases-bulk']['requestBody']['content']['application/json'];
export type AdminEmojiAddAliasesBulkErrors = _Operations_EndpointsErrors['admin___emoji___add-aliases-bulk'][keyof _Operations_EndpointsErrors['admin___emoji___add-aliases-bulk']];
export type AdminEmojiAddRequest = operations['admin___emoji___add']['requestBody']['content']['application/json']; export type AdminEmojiAddRequest = operations['admin___emoji___add']['requestBody']['content']['application/json'];
export type AdminEmojiAddResponse = operations['admin___emoji___add']['responses']['200']['content']['application/json']; export type AdminEmojiAddResponse = operations['admin___emoji___add']['responses']['200']['content']['application/json'];
export type AdminEmojiAddErrors = _Operations_EndpointsErrors['admin___emoji___add'][keyof _Operations_EndpointsErrors['admin___emoji___add']];
export type AdminEmojiCopyRequest = operations['admin___emoji___copy']['requestBody']['content']['application/json']; export type AdminEmojiCopyRequest = operations['admin___emoji___copy']['requestBody']['content']['application/json'];
export type AdminEmojiCopyResponse = operations['admin___emoji___copy']['responses']['200']['content']['application/json']; export type AdminEmojiCopyResponse = operations['admin___emoji___copy']['responses']['200']['content']['application/json'];
export type AdminEmojiCopyErrors = _Operations_EndpointsErrors['admin___emoji___copy'][keyof _Operations_EndpointsErrors['admin___emoji___copy']];
export type AdminEmojiDeleteBulkRequest = operations['admin___emoji___delete-bulk']['requestBody']['content']['application/json']; export type AdminEmojiDeleteBulkRequest = operations['admin___emoji___delete-bulk']['requestBody']['content']['application/json'];
export type AdminEmojiDeleteBulkErrors = _Operations_EndpointsErrors['admin___emoji___delete-bulk'][keyof _Operations_EndpointsErrors['admin___emoji___delete-bulk']];
export type AdminEmojiDeleteRequest = operations['admin___emoji___delete']['requestBody']['content']['application/json']; export type AdminEmojiDeleteRequest = operations['admin___emoji___delete']['requestBody']['content']['application/json'];
export type AdminEmojiDeleteErrors = _Operations_EndpointsErrors['admin___emoji___delete'][keyof _Operations_EndpointsErrors['admin___emoji___delete']];
export type AdminEmojiImportZipRequest = operations['admin___emoji___import-zip']['requestBody']['content']['application/json']; export type AdminEmojiImportZipRequest = operations['admin___emoji___import-zip']['requestBody']['content']['application/json'];
export type AdminEmojiImportZipErrors = _Operations_EndpointsErrors['admin___emoji___import-zip'][keyof _Operations_EndpointsErrors['admin___emoji___import-zip']];
export type AdminEmojiListRemoteRequest = operations['admin___emoji___list-remote']['requestBody']['content']['application/json']; export type AdminEmojiListRemoteRequest = operations['admin___emoji___list-remote']['requestBody']['content']['application/json'];
export type AdminEmojiListRemoteResponse = operations['admin___emoji___list-remote']['responses']['200']['content']['application/json']; export type AdminEmojiListRemoteResponse = operations['admin___emoji___list-remote']['responses']['200']['content']['application/json'];
export type AdminEmojiListRemoteErrors = _Operations_EndpointsErrors['admin___emoji___list-remote'][keyof _Operations_EndpointsErrors['admin___emoji___list-remote']];
export type AdminEmojiListRequest = operations['admin___emoji___list']['requestBody']['content']['application/json']; export type AdminEmojiListRequest = operations['admin___emoji___list']['requestBody']['content']['application/json'];
export type AdminEmojiListResponse = operations['admin___emoji___list']['responses']['200']['content']['application/json']; export type AdminEmojiListResponse = operations['admin___emoji___list']['responses']['200']['content']['application/json'];
export type AdminEmojiListErrors = _Operations_EndpointsErrors['admin___emoji___list'][keyof _Operations_EndpointsErrors['admin___emoji___list']];
export type AdminEmojiRemoveAliasesBulkRequest = operations['admin___emoji___remove-aliases-bulk']['requestBody']['content']['application/json']; export type AdminEmojiRemoveAliasesBulkRequest = operations['admin___emoji___remove-aliases-bulk']['requestBody']['content']['application/json'];
export type AdminEmojiRemoveAliasesBulkErrors = _Operations_EndpointsErrors['admin___emoji___remove-aliases-bulk'][keyof _Operations_EndpointsErrors['admin___emoji___remove-aliases-bulk']];
export type AdminEmojiSetAliasesBulkRequest = operations['admin___emoji___set-aliases-bulk']['requestBody']['content']['application/json']; export type AdminEmojiSetAliasesBulkRequest = operations['admin___emoji___set-aliases-bulk']['requestBody']['content']['application/json'];
export type AdminEmojiSetAliasesBulkErrors = _Operations_EndpointsErrors['admin___emoji___set-aliases-bulk'][keyof _Operations_EndpointsErrors['admin___emoji___set-aliases-bulk']];
export type AdminEmojiSetCategoryBulkRequest = operations['admin___emoji___set-category-bulk']['requestBody']['content']['application/json']; export type AdminEmojiSetCategoryBulkRequest = operations['admin___emoji___set-category-bulk']['requestBody']['content']['application/json'];
export type AdminEmojiSetCategoryBulkErrors = _Operations_EndpointsErrors['admin___emoji___set-category-bulk'][keyof _Operations_EndpointsErrors['admin___emoji___set-category-bulk']];
export type AdminEmojiSetLicenseBulkRequest = operations['admin___emoji___set-license-bulk']['requestBody']['content']['application/json']; export type AdminEmojiSetLicenseBulkRequest = operations['admin___emoji___set-license-bulk']['requestBody']['content']['application/json'];
export type AdminEmojiSetLicenseBulkErrors = _Operations_EndpointsErrors['admin___emoji___set-license-bulk'][keyof _Operations_EndpointsErrors['admin___emoji___set-license-bulk']];
export type AdminEmojiUpdateRequest = operations['admin___emoji___update']['requestBody']['content']['application/json']; export type AdminEmojiUpdateRequest = operations['admin___emoji___update']['requestBody']['content']['application/json'];
export type AdminEmojiUpdateErrors = _Operations_EndpointsErrors['admin___emoji___update'][keyof _Operations_EndpointsErrors['admin___emoji___update']];
export type AdminFederationDeleteAllFilesRequest = operations['admin___federation___delete-all-files']['requestBody']['content']['application/json']; export type AdminFederationDeleteAllFilesRequest = operations['admin___federation___delete-all-files']['requestBody']['content']['application/json'];
export type AdminFederationDeleteAllFilesErrors = _Operations_EndpointsErrors['admin___federation___delete-all-files'][keyof _Operations_EndpointsErrors['admin___federation___delete-all-files']];
export type AdminFederationRefreshRemoteInstanceMetadataRequest = operations['admin___federation___refresh-remote-instance-metadata']['requestBody']['content']['application/json']; export type AdminFederationRefreshRemoteInstanceMetadataRequest = operations['admin___federation___refresh-remote-instance-metadata']['requestBody']['content']['application/json'];
export type AdminFederationRefreshRemoteInstanceMetadataErrors = _Operations_EndpointsErrors['admin___federation___refresh-remote-instance-metadata'][keyof _Operations_EndpointsErrors['admin___federation___refresh-remote-instance-metadata']];
export type AdminFederationRemoveAllFollowingRequest = operations['admin___federation___remove-all-following']['requestBody']['content']['application/json']; export type AdminFederationRemoveAllFollowingRequest = operations['admin___federation___remove-all-following']['requestBody']['content']['application/json'];
export type AdminFederationRemoveAllFollowingErrors = _Operations_EndpointsErrors['admin___federation___remove-all-following'][keyof _Operations_EndpointsErrors['admin___federation___remove-all-following']];
export type AdminFederationUpdateInstanceRequest = operations['admin___federation___update-instance']['requestBody']['content']['application/json']; export type AdminFederationUpdateInstanceRequest = operations['admin___federation___update-instance']['requestBody']['content']['application/json'];
export type AdminFederationUpdateInstanceErrors = _Operations_EndpointsErrors['admin___federation___update-instance'][keyof _Operations_EndpointsErrors['admin___federation___update-instance']];
export type AdminGetIndexStatsResponse = operations['admin___get-index-stats']['responses']['200']['content']['application/json']; export type AdminGetIndexStatsResponse = operations['admin___get-index-stats']['responses']['200']['content']['application/json'];
export type AdminGetIndexStatsErrors = _Operations_EndpointsErrors['admin___get-index-stats'][keyof _Operations_EndpointsErrors['admin___get-index-stats']];
export type AdminGetTableStatsResponse = operations['admin___get-table-stats']['responses']['200']['content']['application/json']; export type AdminGetTableStatsResponse = operations['admin___get-table-stats']['responses']['200']['content']['application/json'];
export type AdminGetTableStatsErrors = _Operations_EndpointsErrors['admin___get-table-stats'][keyof _Operations_EndpointsErrors['admin___get-table-stats']];
export type AdminGetUserIpsRequest = operations['admin___get-user-ips']['requestBody']['content']['application/json']; export type AdminGetUserIpsRequest = operations['admin___get-user-ips']['requestBody']['content']['application/json'];
export type AdminGetUserIpsResponse = operations['admin___get-user-ips']['responses']['200']['content']['application/json']; export type AdminGetUserIpsResponse = operations['admin___get-user-ips']['responses']['200']['content']['application/json'];
export type AdminGetUserIpsErrors = _Operations_EndpointsErrors['admin___get-user-ips'][keyof _Operations_EndpointsErrors['admin___get-user-ips']];
export type AdminInviteCreateRequest = operations['admin___invite___create']['requestBody']['content']['application/json']; export type AdminInviteCreateRequest = operations['admin___invite___create']['requestBody']['content']['application/json'];
export type AdminInviteCreateResponse = operations['admin___invite___create']['responses']['200']['content']['application/json']; export type AdminInviteCreateResponse = operations['admin___invite___create']['responses']['200']['content']['application/json'];
export type AdminInviteCreateErrors = _Operations_EndpointsErrors['admin___invite___create'][keyof _Operations_EndpointsErrors['admin___invite___create']];
export type AdminInviteListRequest = operations['admin___invite___list']['requestBody']['content']['application/json']; export type AdminInviteListRequest = operations['admin___invite___list']['requestBody']['content']['application/json'];
export type AdminInviteListResponse = operations['admin___invite___list']['responses']['200']['content']['application/json']; export type AdminInviteListResponse = operations['admin___invite___list']['responses']['200']['content']['application/json'];
export type AdminInviteListErrors = _Operations_EndpointsErrors['admin___invite___list'][keyof _Operations_EndpointsErrors['admin___invite___list']];
export type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json']; export type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json'];
export type AdminPromoCreateErrors = _Operations_EndpointsErrors['admin___promo___create'][keyof _Operations_EndpointsErrors['admin___promo___create']];
export type AdminQueueClearErrors = _Operations_EndpointsErrors['admin___queue___clear'][keyof _Operations_EndpointsErrors['admin___queue___clear']];
export type AdminQueueDeliverDelayedResponse = operations['admin___queue___deliver-delayed']['responses']['200']['content']['application/json']; export type AdminQueueDeliverDelayedResponse = operations['admin___queue___deliver-delayed']['responses']['200']['content']['application/json'];
export type AdminQueueDeliverDelayedErrors = _Operations_EndpointsErrors['admin___queue___deliver-delayed'][keyof _Operations_EndpointsErrors['admin___queue___deliver-delayed']];
export type AdminQueueInboxDelayedResponse = operations['admin___queue___inbox-delayed']['responses']['200']['content']['application/json']; export type AdminQueueInboxDelayedResponse = operations['admin___queue___inbox-delayed']['responses']['200']['content']['application/json'];
export type AdminQueueInboxDelayedErrors = _Operations_EndpointsErrors['admin___queue___inbox-delayed'][keyof _Operations_EndpointsErrors['admin___queue___inbox-delayed']];
export type AdminQueuePromoteRequest = operations['admin___queue___promote']['requestBody']['content']['application/json']; export type AdminQueuePromoteRequest = operations['admin___queue___promote']['requestBody']['content']['application/json'];
export type AdminQueuePromoteErrors = _Operations_EndpointsErrors['admin___queue___promote'][keyof _Operations_EndpointsErrors['admin___queue___promote']];
export type AdminQueueStatsResponse = operations['admin___queue___stats']['responses']['200']['content']['application/json']; export type AdminQueueStatsResponse = operations['admin___queue___stats']['responses']['200']['content']['application/json'];
export type AdminQueueStatsErrors = _Operations_EndpointsErrors['admin___queue___stats'][keyof _Operations_EndpointsErrors['admin___queue___stats']];
export type AdminRelaysAddRequest = operations['admin___relays___add']['requestBody']['content']['application/json']; export type AdminRelaysAddRequest = operations['admin___relays___add']['requestBody']['content']['application/json'];
export type AdminRelaysAddResponse = operations['admin___relays___add']['responses']['200']['content']['application/json']; export type AdminRelaysAddResponse = operations['admin___relays___add']['responses']['200']['content']['application/json'];
export type AdminRelaysAddErrors = _Operations_EndpointsErrors['admin___relays___add'][keyof _Operations_EndpointsErrors['admin___relays___add']];
export type AdminRelaysListResponse = operations['admin___relays___list']['responses']['200']['content']['application/json']; export type AdminRelaysListResponse = operations['admin___relays___list']['responses']['200']['content']['application/json'];
export type AdminRelaysListErrors = _Operations_EndpointsErrors['admin___relays___list'][keyof _Operations_EndpointsErrors['admin___relays___list']];
export type AdminRelaysRemoveRequest = operations['admin___relays___remove']['requestBody']['content']['application/json']; export type AdminRelaysRemoveRequest = operations['admin___relays___remove']['requestBody']['content']['application/json'];
export type AdminRelaysRemoveErrors = _Operations_EndpointsErrors['admin___relays___remove'][keyof _Operations_EndpointsErrors['admin___relays___remove']];
export type AdminResetPasswordRequest = operations['admin___reset-password']['requestBody']['content']['application/json']; export type AdminResetPasswordRequest = operations['admin___reset-password']['requestBody']['content']['application/json'];
export type AdminResetPasswordResponse = operations['admin___reset-password']['responses']['200']['content']['application/json']; export type AdminResetPasswordResponse = operations['admin___reset-password']['responses']['200']['content']['application/json'];
export type AdminResetPasswordErrors = _Operations_EndpointsErrors['admin___reset-password'][keyof _Operations_EndpointsErrors['admin___reset-password']];
export type AdminResolveAbuseUserReportRequest = operations['admin___resolve-abuse-user-report']['requestBody']['content']['application/json']; export type AdminResolveAbuseUserReportRequest = operations['admin___resolve-abuse-user-report']['requestBody']['content']['application/json'];
export type AdminResolveAbuseUserReportErrors = _Operations_EndpointsErrors['admin___resolve-abuse-user-report'][keyof _Operations_EndpointsErrors['admin___resolve-abuse-user-report']];
export type AdminSendEmailRequest = operations['admin___send-email']['requestBody']['content']['application/json']; export type AdminSendEmailRequest = operations['admin___send-email']['requestBody']['content']['application/json'];
export type AdminSendEmailErrors = _Operations_EndpointsErrors['admin___send-email'][keyof _Operations_EndpointsErrors['admin___send-email']];
export type AdminServerInfoResponse = operations['admin___server-info']['responses']['200']['content']['application/json']; export type AdminServerInfoResponse = operations['admin___server-info']['responses']['200']['content']['application/json'];
export type AdminServerInfoErrors = _Operations_EndpointsErrors['admin___server-info'][keyof _Operations_EndpointsErrors['admin___server-info']];
export type AdminShowModerationLogsRequest = operations['admin___show-moderation-logs']['requestBody']['content']['application/json']; export type AdminShowModerationLogsRequest = operations['admin___show-moderation-logs']['requestBody']['content']['application/json'];
export type AdminShowModerationLogsResponse = operations['admin___show-moderation-logs']['responses']['200']['content']['application/json']; export type AdminShowModerationLogsResponse = operations['admin___show-moderation-logs']['responses']['200']['content']['application/json'];
export type AdminShowModerationLogsErrors = _Operations_EndpointsErrors['admin___show-moderation-logs'][keyof _Operations_EndpointsErrors['admin___show-moderation-logs']];
export type AdminShowUserRequest = operations['admin___show-user']['requestBody']['content']['application/json']; export type AdminShowUserRequest = operations['admin___show-user']['requestBody']['content']['application/json'];
export type AdminShowUserResponse = operations['admin___show-user']['responses']['200']['content']['application/json']; export type AdminShowUserResponse = operations['admin___show-user']['responses']['200']['content']['application/json'];
export type AdminShowUserErrors = _Operations_EndpointsErrors['admin___show-user'][keyof _Operations_EndpointsErrors['admin___show-user']];
export type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['content']['application/json']; export type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['content']['application/json'];
export type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json']; export type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json'];
export type AdminShowUsersErrors = _Operations_EndpointsErrors['admin___show-users'][keyof _Operations_EndpointsErrors['admin___show-users']];
export type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json']; export type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json'];
export type AdminSuspendUserErrors = _Operations_EndpointsErrors['admin___suspend-user'][keyof _Operations_EndpointsErrors['admin___suspend-user']];
export type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json']; export type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json'];
export type AdminUnsuspendUserErrors = _Operations_EndpointsErrors['admin___unsuspend-user'][keyof _Operations_EndpointsErrors['admin___unsuspend-user']];
export type AdminUpdateMetaRequest = operations['admin___update-meta']['requestBody']['content']['application/json']; export type AdminUpdateMetaRequest = operations['admin___update-meta']['requestBody']['content']['application/json'];
export type AdminUpdateMetaErrors = _Operations_EndpointsErrors['admin___update-meta'][keyof _Operations_EndpointsErrors['admin___update-meta']];
export type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json']; export type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json'];
export type AdminDeleteAccountErrors = _Operations_EndpointsErrors['admin___delete-account'][keyof _Operations_EndpointsErrors['admin___delete-account']];
export type AdminUpdateUserNoteRequest = operations['admin___update-user-note']['requestBody']['content']['application/json']; export type AdminUpdateUserNoteRequest = operations['admin___update-user-note']['requestBody']['content']['application/json'];
export type AdminUpdateUserNoteErrors = _Operations_EndpointsErrors['admin___update-user-note'][keyof _Operations_EndpointsErrors['admin___update-user-note']];
export type AdminRolesCreateRequest = operations['admin___roles___create']['requestBody']['content']['application/json']; export type AdminRolesCreateRequest = operations['admin___roles___create']['requestBody']['content']['application/json'];
export type AdminRolesCreateResponse = operations['admin___roles___create']['responses']['200']['content']['application/json']; export type AdminRolesCreateResponse = operations['admin___roles___create']['responses']['200']['content']['application/json'];
export type AdminRolesCreateErrors = _Operations_EndpointsErrors['admin___roles___create'][keyof _Operations_EndpointsErrors['admin___roles___create']];
export type AdminRolesDeleteRequest = operations['admin___roles___delete']['requestBody']['content']['application/json']; export type AdminRolesDeleteRequest = operations['admin___roles___delete']['requestBody']['content']['application/json'];
export type AdminRolesDeleteErrors = _Operations_EndpointsErrors['admin___roles___delete'][keyof _Operations_EndpointsErrors['admin___roles___delete']];
export type AdminRolesListResponse = operations['admin___roles___list']['responses']['200']['content']['application/json']; export type AdminRolesListResponse = operations['admin___roles___list']['responses']['200']['content']['application/json'];
export type AdminRolesListErrors = _Operations_EndpointsErrors['admin___roles___list'][keyof _Operations_EndpointsErrors['admin___roles___list']];
export type AdminRolesShowRequest = operations['admin___roles___show']['requestBody']['content']['application/json']; export type AdminRolesShowRequest = operations['admin___roles___show']['requestBody']['content']['application/json'];
export type AdminRolesShowResponse = operations['admin___roles___show']['responses']['200']['content']['application/json']; export type AdminRolesShowResponse = operations['admin___roles___show']['responses']['200']['content']['application/json'];
export type AdminRolesShowErrors = _Operations_EndpointsErrors['admin___roles___show'][keyof _Operations_EndpointsErrors['admin___roles___show']];
export type AdminRolesUpdateRequest = operations['admin___roles___update']['requestBody']['content']['application/json']; export type AdminRolesUpdateRequest = operations['admin___roles___update']['requestBody']['content']['application/json'];
export type AdminRolesUpdateErrors = _Operations_EndpointsErrors['admin___roles___update'][keyof _Operations_EndpointsErrors['admin___roles___update']];
export type AdminRolesAssignRequest = operations['admin___roles___assign']['requestBody']['content']['application/json']; export type AdminRolesAssignRequest = operations['admin___roles___assign']['requestBody']['content']['application/json'];
export type AdminRolesAssignErrors = _Operations_EndpointsErrors['admin___roles___assign'][keyof _Operations_EndpointsErrors['admin___roles___assign']];
export type AdminRolesUnassignRequest = operations['admin___roles___unassign']['requestBody']['content']['application/json']; export type AdminRolesUnassignRequest = operations['admin___roles___unassign']['requestBody']['content']['application/json'];
export type AdminRolesUnassignErrors = _Operations_EndpointsErrors['admin___roles___unassign'][keyof _Operations_EndpointsErrors['admin___roles___unassign']];
export type AdminRolesUpdateDefaultPoliciesRequest = operations['admin___roles___update-default-policies']['requestBody']['content']['application/json']; export type AdminRolesUpdateDefaultPoliciesRequest = operations['admin___roles___update-default-policies']['requestBody']['content']['application/json'];
export type AdminRolesUpdateDefaultPoliciesErrors = _Operations_EndpointsErrors['admin___roles___update-default-policies'][keyof _Operations_EndpointsErrors['admin___roles___update-default-policies']];
export type AdminRolesUsersRequest = operations['admin___roles___users']['requestBody']['content']['application/json']; export type AdminRolesUsersRequest = operations['admin___roles___users']['requestBody']['content']['application/json'];
export type AdminRolesUsersResponse = operations['admin___roles___users']['responses']['200']['content']['application/json']; export type AdminRolesUsersResponse = operations['admin___roles___users']['responses']['200']['content']['application/json'];
export type AdminRolesUsersErrors = _Operations_EndpointsErrors['admin___roles___users'][keyof _Operations_EndpointsErrors['admin___roles___users']];
export type AdminSystemWebhookCreateRequest = operations['admin___system-webhook___create']['requestBody']['content']['application/json']; export type AdminSystemWebhookCreateRequest = operations['admin___system-webhook___create']['requestBody']['content']['application/json'];
export type AdminSystemWebhookCreateResponse = operations['admin___system-webhook___create']['responses']['200']['content']['application/json']; export type AdminSystemWebhookCreateResponse = operations['admin___system-webhook___create']['responses']['200']['content']['application/json'];
export type AdminSystemWebhookCreateErrors = _Operations_EndpointsErrors['admin___system-webhook___create'][keyof _Operations_EndpointsErrors['admin___system-webhook___create']];
export type AdminSystemWebhookDeleteRequest = operations['admin___system-webhook___delete']['requestBody']['content']['application/json']; export type AdminSystemWebhookDeleteRequest = operations['admin___system-webhook___delete']['requestBody']['content']['application/json'];
export type AdminSystemWebhookDeleteErrors = _Operations_EndpointsErrors['admin___system-webhook___delete'][keyof _Operations_EndpointsErrors['admin___system-webhook___delete']];
export type AdminSystemWebhookListRequest = operations['admin___system-webhook___list']['requestBody']['content']['application/json']; export type AdminSystemWebhookListRequest = operations['admin___system-webhook___list']['requestBody']['content']['application/json'];
export type AdminSystemWebhookListResponse = operations['admin___system-webhook___list']['responses']['200']['content']['application/json']; export type AdminSystemWebhookListResponse = operations['admin___system-webhook___list']['responses']['200']['content']['application/json'];
export type AdminSystemWebhookListErrors = _Operations_EndpointsErrors['admin___system-webhook___list'][keyof _Operations_EndpointsErrors['admin___system-webhook___list']];
export type AdminSystemWebhookShowRequest = operations['admin___system-webhook___show']['requestBody']['content']['application/json']; export type AdminSystemWebhookShowRequest = operations['admin___system-webhook___show']['requestBody']['content']['application/json'];
export type AdminSystemWebhookShowResponse = operations['admin___system-webhook___show']['responses']['200']['content']['application/json']; export type AdminSystemWebhookShowResponse = operations['admin___system-webhook___show']['responses']['200']['content']['application/json'];
export type AdminSystemWebhookShowErrors = _Operations_EndpointsErrors['admin___system-webhook___show'][keyof _Operations_EndpointsErrors['admin___system-webhook___show']];
export type AdminSystemWebhookUpdateRequest = operations['admin___system-webhook___update']['requestBody']['content']['application/json']; export type AdminSystemWebhookUpdateRequest = operations['admin___system-webhook___update']['requestBody']['content']['application/json'];
export type AdminSystemWebhookUpdateResponse = operations['admin___system-webhook___update']['responses']['200']['content']['application/json']; export type AdminSystemWebhookUpdateResponse = operations['admin___system-webhook___update']['responses']['200']['content']['application/json'];
export type AdminSystemWebhookUpdateErrors = _Operations_EndpointsErrors['admin___system-webhook___update'][keyof _Operations_EndpointsErrors['admin___system-webhook___update']];
export type AnnouncementsRequest = operations['announcements']['requestBody']['content']['application/json']; export type AnnouncementsRequest = operations['announcements']['requestBody']['content']['application/json'];
export type AnnouncementsResponse = operations['announcements']['responses']['200']['content']['application/json']; export type AnnouncementsResponse = operations['announcements']['responses']['200']['content']['application/json'];
export type AnnouncementsErrors = _Operations_EndpointsErrors['announcements'][keyof _Operations_EndpointsErrors['announcements']];
export type AnnouncementsShowRequest = operations['announcements___show']['requestBody']['content']['application/json']; export type AnnouncementsShowRequest = operations['announcements___show']['requestBody']['content']['application/json'];
export type AnnouncementsShowResponse = operations['announcements___show']['responses']['200']['content']['application/json']; export type AnnouncementsShowResponse = operations['announcements___show']['responses']['200']['content']['application/json'];
export type AnnouncementsShowErrors = _Operations_EndpointsErrors['announcements___show'][keyof _Operations_EndpointsErrors['announcements___show']];
export type AntennasCreateRequest = operations['antennas___create']['requestBody']['content']['application/json']; export type AntennasCreateRequest = operations['antennas___create']['requestBody']['content']['application/json'];
export type AntennasCreateResponse = operations['antennas___create']['responses']['200']['content']['application/json']; export type AntennasCreateResponse = operations['antennas___create']['responses']['200']['content']['application/json'];
export type AntennasCreateErrors = _Operations_EndpointsErrors['antennas___create'][keyof _Operations_EndpointsErrors['antennas___create']];
export type AntennasDeleteRequest = operations['antennas___delete']['requestBody']['content']['application/json']; export type AntennasDeleteRequest = operations['antennas___delete']['requestBody']['content']['application/json'];
export type AntennasDeleteErrors = _Operations_EndpointsErrors['antennas___delete'][keyof _Operations_EndpointsErrors['antennas___delete']];
export type AntennasListResponse = operations['antennas___list']['responses']['200']['content']['application/json']; export type AntennasListResponse = operations['antennas___list']['responses']['200']['content']['application/json'];
export type AntennasListErrors = _Operations_EndpointsErrors['antennas___list'][keyof _Operations_EndpointsErrors['antennas___list']];
export type AntennasNotesRequest = operations['antennas___notes']['requestBody']['content']['application/json']; export type AntennasNotesRequest = operations['antennas___notes']['requestBody']['content']['application/json'];
export type AntennasNotesResponse = operations['antennas___notes']['responses']['200']['content']['application/json']; export type AntennasNotesResponse = operations['antennas___notes']['responses']['200']['content']['application/json'];
export type AntennasNotesErrors = _Operations_EndpointsErrors['antennas___notes'][keyof _Operations_EndpointsErrors['antennas___notes']];
export type AntennasShowRequest = operations['antennas___show']['requestBody']['content']['application/json']; export type AntennasShowRequest = operations['antennas___show']['requestBody']['content']['application/json'];
export type AntennasShowResponse = operations['antennas___show']['responses']['200']['content']['application/json']; export type AntennasShowResponse = operations['antennas___show']['responses']['200']['content']['application/json'];
export type AntennasShowErrors = _Operations_EndpointsErrors['antennas___show'][keyof _Operations_EndpointsErrors['antennas___show']];
export type AntennasUpdateRequest = operations['antennas___update']['requestBody']['content']['application/json']; export type AntennasUpdateRequest = operations['antennas___update']['requestBody']['content']['application/json'];
export type AntennasUpdateResponse = operations['antennas___update']['responses']['200']['content']['application/json']; export type AntennasUpdateResponse = operations['antennas___update']['responses']['200']['content']['application/json'];
export type AntennasUpdateErrors = _Operations_EndpointsErrors['antennas___update'][keyof _Operations_EndpointsErrors['antennas___update']];
export type ApGetRequest = operations['ap___get']['requestBody']['content']['application/json']; export type ApGetRequest = operations['ap___get']['requestBody']['content']['application/json'];
export type ApGetResponse = operations['ap___get']['responses']['200']['content']['application/json']; export type ApGetResponse = operations['ap___get']['responses']['200']['content']['application/json'];
export type ApGetErrors = _Operations_EndpointsErrors['ap___get'][keyof _Operations_EndpointsErrors['ap___get']];
export type ApShowRequest = operations['ap___show']['requestBody']['content']['application/json']; export type ApShowRequest = operations['ap___show']['requestBody']['content']['application/json'];
export type ApShowResponse = operations['ap___show']['responses']['200']['content']['application/json']; export type ApShowResponse = operations['ap___show']['responses']['200']['content']['application/json'];
export type ApShowErrors = _Operations_EndpointsErrors['ap___show'][keyof _Operations_EndpointsErrors['ap___show']];
export type AppCreateRequest = operations['app___create']['requestBody']['content']['application/json']; export type AppCreateRequest = operations['app___create']['requestBody']['content']['application/json'];
export type AppCreateResponse = operations['app___create']['responses']['200']['content']['application/json']; export type AppCreateResponse = operations['app___create']['responses']['200']['content']['application/json'];
export type AppCreateErrors = _Operations_EndpointsErrors['app___create'][keyof _Operations_EndpointsErrors['app___create']];
export type AppShowRequest = operations['app___show']['requestBody']['content']['application/json']; export type AppShowRequest = operations['app___show']['requestBody']['content']['application/json'];
export type AppShowResponse = operations['app___show']['responses']['200']['content']['application/json']; export type AppShowResponse = operations['app___show']['responses']['200']['content']['application/json'];
export type AppShowErrors = _Operations_EndpointsErrors['app___show'][keyof _Operations_EndpointsErrors['app___show']];
export type AuthAcceptRequest = operations['auth___accept']['requestBody']['content']['application/json']; export type AuthAcceptRequest = operations['auth___accept']['requestBody']['content']['application/json'];
export type AuthAcceptErrors = _Operations_EndpointsErrors['auth___accept'][keyof _Operations_EndpointsErrors['auth___accept']];
export type AuthSessionGenerateRequest = operations['auth___session___generate']['requestBody']['content']['application/json']; export type AuthSessionGenerateRequest = operations['auth___session___generate']['requestBody']['content']['application/json'];
export type AuthSessionGenerateResponse = operations['auth___session___generate']['responses']['200']['content']['application/json']; export type AuthSessionGenerateResponse = operations['auth___session___generate']['responses']['200']['content']['application/json'];
export type AuthSessionGenerateErrors = _Operations_EndpointsErrors['auth___session___generate'][keyof _Operations_EndpointsErrors['auth___session___generate']];
export type AuthSessionShowRequest = operations['auth___session___show']['requestBody']['content']['application/json']; export type AuthSessionShowRequest = operations['auth___session___show']['requestBody']['content']['application/json'];
export type AuthSessionShowResponse = operations['auth___session___show']['responses']['200']['content']['application/json']; export type AuthSessionShowResponse = operations['auth___session___show']['responses']['200']['content']['application/json'];
export type AuthSessionShowErrors = _Operations_EndpointsErrors['auth___session___show'][keyof _Operations_EndpointsErrors['auth___session___show']];
export type AuthSessionUserkeyRequest = operations['auth___session___userkey']['requestBody']['content']['application/json']; export type AuthSessionUserkeyRequest = operations['auth___session___userkey']['requestBody']['content']['application/json'];
export type AuthSessionUserkeyResponse = operations['auth___session___userkey']['responses']['200']['content']['application/json']; export type AuthSessionUserkeyResponse = operations['auth___session___userkey']['responses']['200']['content']['application/json'];
export type AuthSessionUserkeyErrors = _Operations_EndpointsErrors['auth___session___userkey'][keyof _Operations_EndpointsErrors['auth___session___userkey']];
export type BlockingCreateRequest = operations['blocking___create']['requestBody']['content']['application/json']; export type BlockingCreateRequest = operations['blocking___create']['requestBody']['content']['application/json'];
export type BlockingCreateResponse = operations['blocking___create']['responses']['200']['content']['application/json']; export type BlockingCreateResponse = operations['blocking___create']['responses']['200']['content']['application/json'];
export type BlockingCreateErrors = _Operations_EndpointsErrors['blocking___create'][keyof _Operations_EndpointsErrors['blocking___create']];
export type BlockingDeleteRequest = operations['blocking___delete']['requestBody']['content']['application/json']; export type BlockingDeleteRequest = operations['blocking___delete']['requestBody']['content']['application/json'];
export type BlockingDeleteResponse = operations['blocking___delete']['responses']['200']['content']['application/json']; export type BlockingDeleteResponse = operations['blocking___delete']['responses']['200']['content']['application/json'];
export type BlockingDeleteErrors = _Operations_EndpointsErrors['blocking___delete'][keyof _Operations_EndpointsErrors['blocking___delete']];
export type BlockingListRequest = operations['blocking___list']['requestBody']['content']['application/json']; export type BlockingListRequest = operations['blocking___list']['requestBody']['content']['application/json'];
export type BlockingListResponse = operations['blocking___list']['responses']['200']['content']['application/json']; export type BlockingListResponse = operations['blocking___list']['responses']['200']['content']['application/json'];
export type BlockingListErrors = _Operations_EndpointsErrors['blocking___list'][keyof _Operations_EndpointsErrors['blocking___list']];
export type ChannelsCreateRequest = operations['channels___create']['requestBody']['content']['application/json']; export type ChannelsCreateRequest = operations['channels___create']['requestBody']['content']['application/json'];
export type ChannelsCreateResponse = operations['channels___create']['responses']['200']['content']['application/json']; export type ChannelsCreateResponse = operations['channels___create']['responses']['200']['content']['application/json'];
export type ChannelsCreateErrors = _Operations_EndpointsErrors['channels___create'][keyof _Operations_EndpointsErrors['channels___create']];
export type ChannelsFeaturedResponse = operations['channels___featured']['responses']['200']['content']['application/json']; export type ChannelsFeaturedResponse = operations['channels___featured']['responses']['200']['content']['application/json'];
export type ChannelsFeaturedErrors = _Operations_EndpointsErrors['channels___featured'][keyof _Operations_EndpointsErrors['channels___featured']];
export type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json']; export type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json'];
export type ChannelsFollowErrors = _Operations_EndpointsErrors['channels___follow'][keyof _Operations_EndpointsErrors['channels___follow']];
export type ChannelsFollowedRequest = operations['channels___followed']['requestBody']['content']['application/json']; export type ChannelsFollowedRequest = operations['channels___followed']['requestBody']['content']['application/json'];
export type ChannelsFollowedResponse = operations['channels___followed']['responses']['200']['content']['application/json']; export type ChannelsFollowedResponse = operations['channels___followed']['responses']['200']['content']['application/json'];
export type ChannelsFollowedErrors = _Operations_EndpointsErrors['channels___followed'][keyof _Operations_EndpointsErrors['channels___followed']];
export type ChannelsOwnedRequest = operations['channels___owned']['requestBody']['content']['application/json']; export type ChannelsOwnedRequest = operations['channels___owned']['requestBody']['content']['application/json'];
export type ChannelsOwnedResponse = operations['channels___owned']['responses']['200']['content']['application/json']; export type ChannelsOwnedResponse = operations['channels___owned']['responses']['200']['content']['application/json'];
export type ChannelsOwnedErrors = _Operations_EndpointsErrors['channels___owned'][keyof _Operations_EndpointsErrors['channels___owned']];
export type ChannelsShowRequest = operations['channels___show']['requestBody']['content']['application/json']; export type ChannelsShowRequest = operations['channels___show']['requestBody']['content']['application/json'];
export type ChannelsShowResponse = operations['channels___show']['responses']['200']['content']['application/json']; export type ChannelsShowResponse = operations['channels___show']['responses']['200']['content']['application/json'];
export type ChannelsShowErrors = _Operations_EndpointsErrors['channels___show'][keyof _Operations_EndpointsErrors['channels___show']];
export type ChannelsTimelineRequest = operations['channels___timeline']['requestBody']['content']['application/json']; export type ChannelsTimelineRequest = operations['channels___timeline']['requestBody']['content']['application/json'];
export type ChannelsTimelineResponse = operations['channels___timeline']['responses']['200']['content']['application/json']; export type ChannelsTimelineResponse = operations['channels___timeline']['responses']['200']['content']['application/json'];
export type ChannelsTimelineErrors = _Operations_EndpointsErrors['channels___timeline'][keyof _Operations_EndpointsErrors['channels___timeline']];
export type ChannelsUnfollowRequest = operations['channels___unfollow']['requestBody']['content']['application/json']; export type ChannelsUnfollowRequest = operations['channels___unfollow']['requestBody']['content']['application/json'];
export type ChannelsUnfollowErrors = _Operations_EndpointsErrors['channels___unfollow'][keyof _Operations_EndpointsErrors['channels___unfollow']];
export type ChannelsUpdateRequest = operations['channels___update']['requestBody']['content']['application/json']; export type ChannelsUpdateRequest = operations['channels___update']['requestBody']['content']['application/json'];
export type ChannelsUpdateResponse = operations['channels___update']['responses']['200']['content']['application/json']; export type ChannelsUpdateResponse = operations['channels___update']['responses']['200']['content']['application/json'];
export type ChannelsUpdateErrors = _Operations_EndpointsErrors['channels___update'][keyof _Operations_EndpointsErrors['channels___update']];
export type ChannelsFavoriteRequest = operations['channels___favorite']['requestBody']['content']['application/json']; export type ChannelsFavoriteRequest = operations['channels___favorite']['requestBody']['content']['application/json'];
export type ChannelsFavoriteErrors = _Operations_EndpointsErrors['channels___favorite'][keyof _Operations_EndpointsErrors['channels___favorite']];
export type ChannelsUnfavoriteRequest = operations['channels___unfavorite']['requestBody']['content']['application/json']; export type ChannelsUnfavoriteRequest = operations['channels___unfavorite']['requestBody']['content']['application/json'];
export type ChannelsUnfavoriteErrors = _Operations_EndpointsErrors['channels___unfavorite'][keyof _Operations_EndpointsErrors['channels___unfavorite']];
export type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json']; export type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json'];
export type ChannelsMyFavoritesErrors = _Operations_EndpointsErrors['channels___my-favorites'][keyof _Operations_EndpointsErrors['channels___my-favorites']];
export type ChannelsSearchRequest = operations['channels___search']['requestBody']['content']['application/json']; export type ChannelsSearchRequest = operations['channels___search']['requestBody']['content']['application/json'];
export type ChannelsSearchResponse = operations['channels___search']['responses']['200']['content']['application/json']; export type ChannelsSearchResponse = operations['channels___search']['responses']['200']['content']['application/json'];
export type ChannelsSearchErrors = _Operations_EndpointsErrors['channels___search'][keyof _Operations_EndpointsErrors['channels___search']];
export type ChartsActiveUsersRequest = operations['charts___active-users']['requestBody']['content']['application/json']; export type ChartsActiveUsersRequest = operations['charts___active-users']['requestBody']['content']['application/json'];
export type ChartsActiveUsersResponse = operations['charts___active-users']['responses']['200']['content']['application/json']; export type ChartsActiveUsersResponse = operations['charts___active-users']['responses']['200']['content']['application/json'];
export type ChartsActiveUsersErrors = _Operations_EndpointsErrors['charts___active-users'][keyof _Operations_EndpointsErrors['charts___active-users']];
export type ChartsApRequestRequest = operations['charts___ap-request']['requestBody']['content']['application/json']; export type ChartsApRequestRequest = operations['charts___ap-request']['requestBody']['content']['application/json'];
export type ChartsApRequestResponse = operations['charts___ap-request']['responses']['200']['content']['application/json']; export type ChartsApRequestResponse = operations['charts___ap-request']['responses']['200']['content']['application/json'];
export type ChartsApRequestErrors = _Operations_EndpointsErrors['charts___ap-request'][keyof _Operations_EndpointsErrors['charts___ap-request']];
export type ChartsDriveRequest = operations['charts___drive']['requestBody']['content']['application/json']; export type ChartsDriveRequest = operations['charts___drive']['requestBody']['content']['application/json'];
export type ChartsDriveResponse = operations['charts___drive']['responses']['200']['content']['application/json']; export type ChartsDriveResponse = operations['charts___drive']['responses']['200']['content']['application/json'];
export type ChartsDriveErrors = _Operations_EndpointsErrors['charts___drive'][keyof _Operations_EndpointsErrors['charts___drive']];
export type ChartsFederationRequest = operations['charts___federation']['requestBody']['content']['application/json']; export type ChartsFederationRequest = operations['charts___federation']['requestBody']['content']['application/json'];
export type ChartsFederationResponse = operations['charts___federation']['responses']['200']['content']['application/json']; export type ChartsFederationResponse = operations['charts___federation']['responses']['200']['content']['application/json'];
export type ChartsFederationErrors = _Operations_EndpointsErrors['charts___federation'][keyof _Operations_EndpointsErrors['charts___federation']];
export type ChartsInstanceRequest = operations['charts___instance']['requestBody']['content']['application/json']; export type ChartsInstanceRequest = operations['charts___instance']['requestBody']['content']['application/json'];
export type ChartsInstanceResponse = operations['charts___instance']['responses']['200']['content']['application/json']; export type ChartsInstanceResponse = operations['charts___instance']['responses']['200']['content']['application/json'];
export type ChartsInstanceErrors = _Operations_EndpointsErrors['charts___instance'][keyof _Operations_EndpointsErrors['charts___instance']];
export type ChartsNotesRequest = operations['charts___notes']['requestBody']['content']['application/json']; export type ChartsNotesRequest = operations['charts___notes']['requestBody']['content']['application/json'];
export type ChartsNotesResponse = operations['charts___notes']['responses']['200']['content']['application/json']; export type ChartsNotesResponse = operations['charts___notes']['responses']['200']['content']['application/json'];
export type ChartsNotesErrors = _Operations_EndpointsErrors['charts___notes'][keyof _Operations_EndpointsErrors['charts___notes']];
export type ChartsUserDriveRequest = operations['charts___user___drive']['requestBody']['content']['application/json']; export type ChartsUserDriveRequest = operations['charts___user___drive']['requestBody']['content']['application/json'];
export type ChartsUserDriveResponse = operations['charts___user___drive']['responses']['200']['content']['application/json']; export type ChartsUserDriveResponse = operations['charts___user___drive']['responses']['200']['content']['application/json'];
export type ChartsUserDriveErrors = _Operations_EndpointsErrors['charts___user___drive'][keyof _Operations_EndpointsErrors['charts___user___drive']];
export type ChartsUserFollowingRequest = operations['charts___user___following']['requestBody']['content']['application/json']; export type ChartsUserFollowingRequest = operations['charts___user___following']['requestBody']['content']['application/json'];
export type ChartsUserFollowingResponse = operations['charts___user___following']['responses']['200']['content']['application/json']; export type ChartsUserFollowingResponse = operations['charts___user___following']['responses']['200']['content']['application/json'];
export type ChartsUserFollowingErrors = _Operations_EndpointsErrors['charts___user___following'][keyof _Operations_EndpointsErrors['charts___user___following']];
export type ChartsUserNotesRequest = operations['charts___user___notes']['requestBody']['content']['application/json']; export type ChartsUserNotesRequest = operations['charts___user___notes']['requestBody']['content']['application/json'];
export type ChartsUserNotesResponse = operations['charts___user___notes']['responses']['200']['content']['application/json']; export type ChartsUserNotesResponse = operations['charts___user___notes']['responses']['200']['content']['application/json'];
export type ChartsUserNotesErrors = _Operations_EndpointsErrors['charts___user___notes'][keyof _Operations_EndpointsErrors['charts___user___notes']];
export type ChartsUserPvRequest = operations['charts___user___pv']['requestBody']['content']['application/json']; export type ChartsUserPvRequest = operations['charts___user___pv']['requestBody']['content']['application/json'];
export type ChartsUserPvResponse = operations['charts___user___pv']['responses']['200']['content']['application/json']; export type ChartsUserPvResponse = operations['charts___user___pv']['responses']['200']['content']['application/json'];
export type ChartsUserPvErrors = _Operations_EndpointsErrors['charts___user___pv'][keyof _Operations_EndpointsErrors['charts___user___pv']];
export type ChartsUserReactionsRequest = operations['charts___user___reactions']['requestBody']['content']['application/json']; export type ChartsUserReactionsRequest = operations['charts___user___reactions']['requestBody']['content']['application/json'];
export type ChartsUserReactionsResponse = operations['charts___user___reactions']['responses']['200']['content']['application/json']; export type ChartsUserReactionsResponse = operations['charts___user___reactions']['responses']['200']['content']['application/json'];
export type ChartsUserReactionsErrors = _Operations_EndpointsErrors['charts___user___reactions'][keyof _Operations_EndpointsErrors['charts___user___reactions']];
export type ChartsUsersRequest = operations['charts___users']['requestBody']['content']['application/json']; export type ChartsUsersRequest = operations['charts___users']['requestBody']['content']['application/json'];
export type ChartsUsersResponse = operations['charts___users']['responses']['200']['content']['application/json']; export type ChartsUsersResponse = operations['charts___users']['responses']['200']['content']['application/json'];
export type ChartsUsersErrors = _Operations_EndpointsErrors['charts___users'][keyof _Operations_EndpointsErrors['charts___users']];
export type ClipsAddNoteRequest = operations['clips___add-note']['requestBody']['content']['application/json']; export type ClipsAddNoteRequest = operations['clips___add-note']['requestBody']['content']['application/json'];
export type ClipsAddNoteErrors = _Operations_EndpointsErrors['clips___add-note'][keyof _Operations_EndpointsErrors['clips___add-note']];
export type ClipsRemoveNoteRequest = operations['clips___remove-note']['requestBody']['content']['application/json']; export type ClipsRemoveNoteRequest = operations['clips___remove-note']['requestBody']['content']['application/json'];
export type ClipsRemoveNoteErrors = _Operations_EndpointsErrors['clips___remove-note'][keyof _Operations_EndpointsErrors['clips___remove-note']];
export type ClipsCreateRequest = operations['clips___create']['requestBody']['content']['application/json']; export type ClipsCreateRequest = operations['clips___create']['requestBody']['content']['application/json'];
export type ClipsCreateResponse = operations['clips___create']['responses']['200']['content']['application/json']; export type ClipsCreateResponse = operations['clips___create']['responses']['200']['content']['application/json'];
export type ClipsCreateErrors = _Operations_EndpointsErrors['clips___create'][keyof _Operations_EndpointsErrors['clips___create']];
export type ClipsDeleteRequest = operations['clips___delete']['requestBody']['content']['application/json']; export type ClipsDeleteRequest = operations['clips___delete']['requestBody']['content']['application/json'];
export type ClipsDeleteErrors = _Operations_EndpointsErrors['clips___delete'][keyof _Operations_EndpointsErrors['clips___delete']];
export type ClipsListResponse = operations['clips___list']['responses']['200']['content']['application/json']; export type ClipsListResponse = operations['clips___list']['responses']['200']['content']['application/json'];
export type ClipsListErrors = _Operations_EndpointsErrors['clips___list'][keyof _Operations_EndpointsErrors['clips___list']];
export type ClipsNotesRequest = operations['clips___notes']['requestBody']['content']['application/json']; export type ClipsNotesRequest = operations['clips___notes']['requestBody']['content']['application/json'];
export type ClipsNotesResponse = operations['clips___notes']['responses']['200']['content']['application/json']; export type ClipsNotesResponse = operations['clips___notes']['responses']['200']['content']['application/json'];
export type ClipsNotesErrors = _Operations_EndpointsErrors['clips___notes'][keyof _Operations_EndpointsErrors['clips___notes']];
export type ClipsShowRequest = operations['clips___show']['requestBody']['content']['application/json']; export type ClipsShowRequest = operations['clips___show']['requestBody']['content']['application/json'];
export type ClipsShowResponse = operations['clips___show']['responses']['200']['content']['application/json']; export type ClipsShowResponse = operations['clips___show']['responses']['200']['content']['application/json'];
export type ClipsShowErrors = _Operations_EndpointsErrors['clips___show'][keyof _Operations_EndpointsErrors['clips___show']];
export type ClipsUpdateRequest = operations['clips___update']['requestBody']['content']['application/json']; export type ClipsUpdateRequest = operations['clips___update']['requestBody']['content']['application/json'];
export type ClipsUpdateResponse = operations['clips___update']['responses']['200']['content']['application/json']; export type ClipsUpdateResponse = operations['clips___update']['responses']['200']['content']['application/json'];
export type ClipsUpdateErrors = _Operations_EndpointsErrors['clips___update'][keyof _Operations_EndpointsErrors['clips___update']];
export type ClipsFavoriteRequest = operations['clips___favorite']['requestBody']['content']['application/json']; export type ClipsFavoriteRequest = operations['clips___favorite']['requestBody']['content']['application/json'];
export type ClipsFavoriteErrors = _Operations_EndpointsErrors['clips___favorite'][keyof _Operations_EndpointsErrors['clips___favorite']];
export type ClipsUnfavoriteRequest = operations['clips___unfavorite']['requestBody']['content']['application/json']; export type ClipsUnfavoriteRequest = operations['clips___unfavorite']['requestBody']['content']['application/json'];
export type ClipsUnfavoriteErrors = _Operations_EndpointsErrors['clips___unfavorite'][keyof _Operations_EndpointsErrors['clips___unfavorite']];
export type ClipsMyFavoritesResponse = operations['clips___my-favorites']['responses']['200']['content']['application/json']; export type ClipsMyFavoritesResponse = operations['clips___my-favorites']['responses']['200']['content']['application/json'];
export type ClipsMyFavoritesErrors = _Operations_EndpointsErrors['clips___my-favorites'][keyof _Operations_EndpointsErrors['clips___my-favorites']];
export type DriveResponse = operations['drive']['responses']['200']['content']['application/json']; export type DriveResponse = operations['drive']['responses']['200']['content']['application/json'];
export type DriveErrors = _Operations_EndpointsErrors['drive'][keyof _Operations_EndpointsErrors['drive']];
export type DriveFilesRequest = operations['drive___files']['requestBody']['content']['application/json']; export type DriveFilesRequest = operations['drive___files']['requestBody']['content']['application/json'];
export type DriveFilesResponse = operations['drive___files']['responses']['200']['content']['application/json']; export type DriveFilesResponse = operations['drive___files']['responses']['200']['content']['application/json'];
export type DriveFilesErrors = _Operations_EndpointsErrors['drive___files'][keyof _Operations_EndpointsErrors['drive___files']];
export type DriveFilesAttachedNotesRequest = operations['drive___files___attached-notes']['requestBody']['content']['application/json']; export type DriveFilesAttachedNotesRequest = operations['drive___files___attached-notes']['requestBody']['content']['application/json'];
export type DriveFilesAttachedNotesResponse = operations['drive___files___attached-notes']['responses']['200']['content']['application/json']; export type DriveFilesAttachedNotesResponse = operations['drive___files___attached-notes']['responses']['200']['content']['application/json'];
export type DriveFilesAttachedNotesErrors = _Operations_EndpointsErrors['drive___files___attached-notes'][keyof _Operations_EndpointsErrors['drive___files___attached-notes']];
export type DriveFilesCheckExistenceRequest = operations['drive___files___check-existence']['requestBody']['content']['application/json']; export type DriveFilesCheckExistenceRequest = operations['drive___files___check-existence']['requestBody']['content']['application/json'];
export type DriveFilesCheckExistenceResponse = operations['drive___files___check-existence']['responses']['200']['content']['application/json']; export type DriveFilesCheckExistenceResponse = operations['drive___files___check-existence']['responses']['200']['content']['application/json'];
export type DriveFilesCheckExistenceErrors = _Operations_EndpointsErrors['drive___files___check-existence'][keyof _Operations_EndpointsErrors['drive___files___check-existence']];
export type DriveFilesCreateRequest = operations['drive___files___create']['requestBody']['content']['multipart/form-data']; export type DriveFilesCreateRequest = operations['drive___files___create']['requestBody']['content']['multipart/form-data'];
export type DriveFilesCreateResponse = operations['drive___files___create']['responses']['200']['content']['application/json']; export type DriveFilesCreateResponse = operations['drive___files___create']['responses']['200']['content']['application/json'];
export type DriveFilesCreateErrors = _Operations_EndpointsErrors['drive___files___create'][keyof _Operations_EndpointsErrors['drive___files___create']];
export type DriveFilesDeleteRequest = operations['drive___files___delete']['requestBody']['content']['application/json']; export type DriveFilesDeleteRequest = operations['drive___files___delete']['requestBody']['content']['application/json'];
export type DriveFilesDeleteErrors = _Operations_EndpointsErrors['drive___files___delete'][keyof _Operations_EndpointsErrors['drive___files___delete']];
export type DriveFilesFindByHashRequest = operations['drive___files___find-by-hash']['requestBody']['content']['application/json']; export type DriveFilesFindByHashRequest = operations['drive___files___find-by-hash']['requestBody']['content']['application/json'];
export type DriveFilesFindByHashResponse = operations['drive___files___find-by-hash']['responses']['200']['content']['application/json']; export type DriveFilesFindByHashResponse = operations['drive___files___find-by-hash']['responses']['200']['content']['application/json'];
export type DriveFilesFindByHashErrors = _Operations_EndpointsErrors['drive___files___find-by-hash'][keyof _Operations_EndpointsErrors['drive___files___find-by-hash']];
export type DriveFilesFindRequest = operations['drive___files___find']['requestBody']['content']['application/json']; export type DriveFilesFindRequest = operations['drive___files___find']['requestBody']['content']['application/json'];
export type DriveFilesFindResponse = operations['drive___files___find']['responses']['200']['content']['application/json']; export type DriveFilesFindResponse = operations['drive___files___find']['responses']['200']['content']['application/json'];
export type DriveFilesFindErrors = _Operations_EndpointsErrors['drive___files___find'][keyof _Operations_EndpointsErrors['drive___files___find']];
export type DriveFilesShowRequest = operations['drive___files___show']['requestBody']['content']['application/json']; export type DriveFilesShowRequest = operations['drive___files___show']['requestBody']['content']['application/json'];
export type DriveFilesShowResponse = operations['drive___files___show']['responses']['200']['content']['application/json']; export type DriveFilesShowResponse = operations['drive___files___show']['responses']['200']['content']['application/json'];
export type DriveFilesShowErrors = _Operations_EndpointsErrors['drive___files___show'][keyof _Operations_EndpointsErrors['drive___files___show']];
export type DriveFilesUpdateRequest = operations['drive___files___update']['requestBody']['content']['application/json']; export type DriveFilesUpdateRequest = operations['drive___files___update']['requestBody']['content']['application/json'];
export type DriveFilesUpdateResponse = operations['drive___files___update']['responses']['200']['content']['application/json']; export type DriveFilesUpdateResponse = operations['drive___files___update']['responses']['200']['content']['application/json'];
export type DriveFilesUpdateErrors = _Operations_EndpointsErrors['drive___files___update'][keyof _Operations_EndpointsErrors['drive___files___update']];
export type DriveFilesUploadFromUrlRequest = operations['drive___files___upload-from-url']['requestBody']['content']['application/json']; export type DriveFilesUploadFromUrlRequest = operations['drive___files___upload-from-url']['requestBody']['content']['application/json'];
export type DriveFilesUploadFromUrlErrors = _Operations_EndpointsErrors['drive___files___upload-from-url'][keyof _Operations_EndpointsErrors['drive___files___upload-from-url']];
export type DriveFoldersRequest = operations['drive___folders']['requestBody']['content']['application/json']; export type DriveFoldersRequest = operations['drive___folders']['requestBody']['content']['application/json'];
export type DriveFoldersResponse = operations['drive___folders']['responses']['200']['content']['application/json']; export type DriveFoldersResponse = operations['drive___folders']['responses']['200']['content']['application/json'];
export type DriveFoldersErrors = _Operations_EndpointsErrors['drive___folders'][keyof _Operations_EndpointsErrors['drive___folders']];
export type DriveFoldersCreateRequest = operations['drive___folders___create']['requestBody']['content']['application/json']; export type DriveFoldersCreateRequest = operations['drive___folders___create']['requestBody']['content']['application/json'];
export type DriveFoldersCreateResponse = operations['drive___folders___create']['responses']['200']['content']['application/json']; export type DriveFoldersCreateResponse = operations['drive___folders___create']['responses']['200']['content']['application/json'];
export type DriveFoldersCreateErrors = _Operations_EndpointsErrors['drive___folders___create'][keyof _Operations_EndpointsErrors['drive___folders___create']];
export type DriveFoldersDeleteRequest = operations['drive___folders___delete']['requestBody']['content']['application/json']; export type DriveFoldersDeleteRequest = operations['drive___folders___delete']['requestBody']['content']['application/json'];
export type DriveFoldersDeleteErrors = _Operations_EndpointsErrors['drive___folders___delete'][keyof _Operations_EndpointsErrors['drive___folders___delete']];
export type DriveFoldersFindRequest = operations['drive___folders___find']['requestBody']['content']['application/json']; export type DriveFoldersFindRequest = operations['drive___folders___find']['requestBody']['content']['application/json'];
export type DriveFoldersFindResponse = operations['drive___folders___find']['responses']['200']['content']['application/json']; export type DriveFoldersFindResponse = operations['drive___folders___find']['responses']['200']['content']['application/json'];
export type DriveFoldersFindErrors = _Operations_EndpointsErrors['drive___folders___find'][keyof _Operations_EndpointsErrors['drive___folders___find']];
export type DriveFoldersShowRequest = operations['drive___folders___show']['requestBody']['content']['application/json']; export type DriveFoldersShowRequest = operations['drive___folders___show']['requestBody']['content']['application/json'];
export type DriveFoldersShowResponse = operations['drive___folders___show']['responses']['200']['content']['application/json']; export type DriveFoldersShowResponse = operations['drive___folders___show']['responses']['200']['content']['application/json'];
export type DriveFoldersShowErrors = _Operations_EndpointsErrors['drive___folders___show'][keyof _Operations_EndpointsErrors['drive___folders___show']];
export type DriveFoldersUpdateRequest = operations['drive___folders___update']['requestBody']['content']['application/json']; export type DriveFoldersUpdateRequest = operations['drive___folders___update']['requestBody']['content']['application/json'];
export type DriveFoldersUpdateResponse = operations['drive___folders___update']['responses']['200']['content']['application/json']; export type DriveFoldersUpdateResponse = operations['drive___folders___update']['responses']['200']['content']['application/json'];
export type DriveFoldersUpdateErrors = _Operations_EndpointsErrors['drive___folders___update'][keyof _Operations_EndpointsErrors['drive___folders___update']];
export type DriveStreamRequest = operations['drive___stream']['requestBody']['content']['application/json']; export type DriveStreamRequest = operations['drive___stream']['requestBody']['content']['application/json'];
export type DriveStreamResponse = operations['drive___stream']['responses']['200']['content']['application/json']; export type DriveStreamResponse = operations['drive___stream']['responses']['200']['content']['application/json'];
export type DriveStreamErrors = _Operations_EndpointsErrors['drive___stream'][keyof _Operations_EndpointsErrors['drive___stream']];
export type EmailAddressAvailableRequest = operations['email-address___available']['requestBody']['content']['application/json']; export type EmailAddressAvailableRequest = operations['email-address___available']['requestBody']['content']['application/json'];
export type EmailAddressAvailableResponse = operations['email-address___available']['responses']['200']['content']['application/json']; export type EmailAddressAvailableResponse = operations['email-address___available']['responses']['200']['content']['application/json'];
export type EmailAddressAvailableErrors = _Operations_EndpointsErrors['email-address___available'][keyof _Operations_EndpointsErrors['email-address___available']];
export type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json']; export type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json'];
export type EndpointResponse = operations['endpoint']['responses']['200']['content']['application/json']; export type EndpointResponse = operations['endpoint']['responses']['200']['content']['application/json'];
export type EndpointErrors = _Operations_EndpointsErrors['endpoint'][keyof _Operations_EndpointsErrors['endpoint']];
export type EndpointsResponse = operations['endpoints']['responses']['200']['content']['application/json']; export type EndpointsResponse = operations['endpoints']['responses']['200']['content']['application/json'];
export type EndpointsErrors = _Operations_EndpointsErrors['endpoints'][keyof _Operations_EndpointsErrors['endpoints']];
export type ExportCustomEmojisErrors = _Operations_EndpointsErrors['export-custom-emojis'][keyof _Operations_EndpointsErrors['export-custom-emojis']];
export type FederationFollowersRequest = operations['federation___followers']['requestBody']['content']['application/json']; export type FederationFollowersRequest = operations['federation___followers']['requestBody']['content']['application/json'];
export type FederationFollowersResponse = operations['federation___followers']['responses']['200']['content']['application/json']; export type FederationFollowersResponse = operations['federation___followers']['responses']['200']['content']['application/json'];
export type FederationFollowersErrors = _Operations_EndpointsErrors['federation___followers'][keyof _Operations_EndpointsErrors['federation___followers']];
export type FederationFollowingRequest = operations['federation___following']['requestBody']['content']['application/json']; export type FederationFollowingRequest = operations['federation___following']['requestBody']['content']['application/json'];
export type FederationFollowingResponse = operations['federation___following']['responses']['200']['content']['application/json']; export type FederationFollowingResponse = operations['federation___following']['responses']['200']['content']['application/json'];
export type FederationFollowingErrors = _Operations_EndpointsErrors['federation___following'][keyof _Operations_EndpointsErrors['federation___following']];
export type FederationInstancesRequest = operations['federation___instances']['requestBody']['content']['application/json']; export type FederationInstancesRequest = operations['federation___instances']['requestBody']['content']['application/json'];
export type FederationInstancesResponse = operations['federation___instances']['responses']['200']['content']['application/json']; export type FederationInstancesResponse = operations['federation___instances']['responses']['200']['content']['application/json'];
export type FederationInstancesErrors = _Operations_EndpointsErrors['federation___instances'][keyof _Operations_EndpointsErrors['federation___instances']];
export type FederationShowInstanceRequest = operations['federation___show-instance']['requestBody']['content']['application/json']; export type FederationShowInstanceRequest = operations['federation___show-instance']['requestBody']['content']['application/json'];
export type FederationShowInstanceResponse = operations['federation___show-instance']['responses']['200']['content']['application/json']; export type FederationShowInstanceResponse = operations['federation___show-instance']['responses']['200']['content']['application/json'];
export type FederationShowInstanceErrors = _Operations_EndpointsErrors['federation___show-instance'][keyof _Operations_EndpointsErrors['federation___show-instance']];
export type FederationUpdateRemoteUserRequest = operations['federation___update-remote-user']['requestBody']['content']['application/json']; export type FederationUpdateRemoteUserRequest = operations['federation___update-remote-user']['requestBody']['content']['application/json'];
export type FederationUpdateRemoteUserErrors = _Operations_EndpointsErrors['federation___update-remote-user'][keyof _Operations_EndpointsErrors['federation___update-remote-user']];
export type FederationUsersRequest = operations['federation___users']['requestBody']['content']['application/json']; export type FederationUsersRequest = operations['federation___users']['requestBody']['content']['application/json'];
export type FederationUsersResponse = operations['federation___users']['responses']['200']['content']['application/json']; export type FederationUsersResponse = operations['federation___users']['responses']['200']['content']['application/json'];
export type FederationUsersErrors = _Operations_EndpointsErrors['federation___users'][keyof _Operations_EndpointsErrors['federation___users']];
export type FederationStatsRequest = operations['federation___stats']['requestBody']['content']['application/json']; export type FederationStatsRequest = operations['federation___stats']['requestBody']['content']['application/json'];
export type FederationStatsResponse = operations['federation___stats']['responses']['200']['content']['application/json']; export type FederationStatsResponse = operations['federation___stats']['responses']['200']['content']['application/json'];
export type FederationStatsErrors = _Operations_EndpointsErrors['federation___stats'][keyof _Operations_EndpointsErrors['federation___stats']];
export type FollowingCreateRequest = operations['following___create']['requestBody']['content']['application/json']; export type FollowingCreateRequest = operations['following___create']['requestBody']['content']['application/json'];
export type FollowingCreateResponse = operations['following___create']['responses']['200']['content']['application/json']; export type FollowingCreateResponse = operations['following___create']['responses']['200']['content']['application/json'];
export type FollowingCreateErrors = _Operations_EndpointsErrors['following___create'][keyof _Operations_EndpointsErrors['following___create']];
export type FollowingDeleteRequest = operations['following___delete']['requestBody']['content']['application/json']; export type FollowingDeleteRequest = operations['following___delete']['requestBody']['content']['application/json'];
export type FollowingDeleteResponse = operations['following___delete']['responses']['200']['content']['application/json']; export type FollowingDeleteResponse = operations['following___delete']['responses']['200']['content']['application/json'];
export type FollowingDeleteErrors = _Operations_EndpointsErrors['following___delete'][keyof _Operations_EndpointsErrors['following___delete']];
export type FollowingUpdateRequest = operations['following___update']['requestBody']['content']['application/json']; export type FollowingUpdateRequest = operations['following___update']['requestBody']['content']['application/json'];
export type FollowingUpdateResponse = operations['following___update']['responses']['200']['content']['application/json']; export type FollowingUpdateResponse = operations['following___update']['responses']['200']['content']['application/json'];
export type FollowingUpdateErrors = _Operations_EndpointsErrors['following___update'][keyof _Operations_EndpointsErrors['following___update']];
export type FollowingUpdateAllRequest = operations['following___update-all']['requestBody']['content']['application/json']; export type FollowingUpdateAllRequest = operations['following___update-all']['requestBody']['content']['application/json'];
export type FollowingUpdateAllErrors = _Operations_EndpointsErrors['following___update-all'][keyof _Operations_EndpointsErrors['following___update-all']];
export type FollowingInvalidateRequest = operations['following___invalidate']['requestBody']['content']['application/json']; export type FollowingInvalidateRequest = operations['following___invalidate']['requestBody']['content']['application/json'];
export type FollowingInvalidateResponse = operations['following___invalidate']['responses']['200']['content']['application/json']; export type FollowingInvalidateResponse = operations['following___invalidate']['responses']['200']['content']['application/json'];
export type FollowingInvalidateErrors = _Operations_EndpointsErrors['following___invalidate'][keyof _Operations_EndpointsErrors['following___invalidate']];
export type FollowingRequestsAcceptRequest = operations['following___requests___accept']['requestBody']['content']['application/json']; export type FollowingRequestsAcceptRequest = operations['following___requests___accept']['requestBody']['content']['application/json'];
export type FollowingRequestsAcceptErrors = _Operations_EndpointsErrors['following___requests___accept'][keyof _Operations_EndpointsErrors['following___requests___accept']];
export type FollowingRequestsCancelRequest = operations['following___requests___cancel']['requestBody']['content']['application/json']; export type FollowingRequestsCancelRequest = operations['following___requests___cancel']['requestBody']['content']['application/json'];
export type FollowingRequestsCancelResponse = operations['following___requests___cancel']['responses']['200']['content']['application/json']; export type FollowingRequestsCancelResponse = operations['following___requests___cancel']['responses']['200']['content']['application/json'];
export type FollowingRequestsCancelErrors = _Operations_EndpointsErrors['following___requests___cancel'][keyof _Operations_EndpointsErrors['following___requests___cancel']];
export type FollowingRequestsListRequest = operations['following___requests___list']['requestBody']['content']['application/json']; export type FollowingRequestsListRequest = operations['following___requests___list']['requestBody']['content']['application/json'];
export type FollowingRequestsListResponse = operations['following___requests___list']['responses']['200']['content']['application/json']; export type FollowingRequestsListResponse = operations['following___requests___list']['responses']['200']['content']['application/json'];
export type FollowingRequestsListErrors = _Operations_EndpointsErrors['following___requests___list'][keyof _Operations_EndpointsErrors['following___requests___list']];
export type FollowingRequestsRejectRequest = operations['following___requests___reject']['requestBody']['content']['application/json']; export type FollowingRequestsRejectRequest = operations['following___requests___reject']['requestBody']['content']['application/json'];
export type FollowingRequestsRejectErrors = _Operations_EndpointsErrors['following___requests___reject'][keyof _Operations_EndpointsErrors['following___requests___reject']];
export type GalleryFeaturedRequest = operations['gallery___featured']['requestBody']['content']['application/json']; export type GalleryFeaturedRequest = operations['gallery___featured']['requestBody']['content']['application/json'];
export type GalleryFeaturedResponse = operations['gallery___featured']['responses']['200']['content']['application/json']; export type GalleryFeaturedResponse = operations['gallery___featured']['responses']['200']['content']['application/json'];
export type GalleryFeaturedErrors = _Operations_EndpointsErrors['gallery___featured'][keyof _Operations_EndpointsErrors['gallery___featured']];
export type GalleryPopularResponse = operations['gallery___popular']['responses']['200']['content']['application/json']; export type GalleryPopularResponse = operations['gallery___popular']['responses']['200']['content']['application/json'];
export type GalleryPopularErrors = _Operations_EndpointsErrors['gallery___popular'][keyof _Operations_EndpointsErrors['gallery___popular']];
export type GalleryPostsRequest = operations['gallery___posts']['requestBody']['content']['application/json']; export type GalleryPostsRequest = operations['gallery___posts']['requestBody']['content']['application/json'];
export type GalleryPostsResponse = operations['gallery___posts']['responses']['200']['content']['application/json']; export type GalleryPostsResponse = operations['gallery___posts']['responses']['200']['content']['application/json'];
export type GalleryPostsErrors = _Operations_EndpointsErrors['gallery___posts'][keyof _Operations_EndpointsErrors['gallery___posts']];
export type GalleryPostsCreateRequest = operations['gallery___posts___create']['requestBody']['content']['application/json']; export type GalleryPostsCreateRequest = operations['gallery___posts___create']['requestBody']['content']['application/json'];
export type GalleryPostsCreateResponse = operations['gallery___posts___create']['responses']['200']['content']['application/json']; export type GalleryPostsCreateResponse = operations['gallery___posts___create']['responses']['200']['content']['application/json'];
export type GalleryPostsCreateErrors = _Operations_EndpointsErrors['gallery___posts___create'][keyof _Operations_EndpointsErrors['gallery___posts___create']];
export type GalleryPostsDeleteRequest = operations['gallery___posts___delete']['requestBody']['content']['application/json']; export type GalleryPostsDeleteRequest = operations['gallery___posts___delete']['requestBody']['content']['application/json'];
export type GalleryPostsDeleteErrors = _Operations_EndpointsErrors['gallery___posts___delete'][keyof _Operations_EndpointsErrors['gallery___posts___delete']];
export type GalleryPostsLikeRequest = operations['gallery___posts___like']['requestBody']['content']['application/json']; export type GalleryPostsLikeRequest = operations['gallery___posts___like']['requestBody']['content']['application/json'];
export type GalleryPostsLikeErrors = _Operations_EndpointsErrors['gallery___posts___like'][keyof _Operations_EndpointsErrors['gallery___posts___like']];
export type GalleryPostsShowRequest = operations['gallery___posts___show']['requestBody']['content']['application/json']; export type GalleryPostsShowRequest = operations['gallery___posts___show']['requestBody']['content']['application/json'];
export type GalleryPostsShowResponse = operations['gallery___posts___show']['responses']['200']['content']['application/json']; export type GalleryPostsShowResponse = operations['gallery___posts___show']['responses']['200']['content']['application/json'];
export type GalleryPostsShowErrors = _Operations_EndpointsErrors['gallery___posts___show'][keyof _Operations_EndpointsErrors['gallery___posts___show']];
export type GalleryPostsUnlikeRequest = operations['gallery___posts___unlike']['requestBody']['content']['application/json']; export type GalleryPostsUnlikeRequest = operations['gallery___posts___unlike']['requestBody']['content']['application/json'];
export type GalleryPostsUnlikeErrors = _Operations_EndpointsErrors['gallery___posts___unlike'][keyof _Operations_EndpointsErrors['gallery___posts___unlike']];
export type GalleryPostsUpdateRequest = operations['gallery___posts___update']['requestBody']['content']['application/json']; export type GalleryPostsUpdateRequest = operations['gallery___posts___update']['requestBody']['content']['application/json'];
export type GalleryPostsUpdateResponse = operations['gallery___posts___update']['responses']['200']['content']['application/json']; export type GalleryPostsUpdateResponse = operations['gallery___posts___update']['responses']['200']['content']['application/json'];
export type GalleryPostsUpdateErrors = _Operations_EndpointsErrors['gallery___posts___update'][keyof _Operations_EndpointsErrors['gallery___posts___update']];
export type GetOnlineUsersCountResponse = operations['get-online-users-count']['responses']['200']['content']['application/json']; export type GetOnlineUsersCountResponse = operations['get-online-users-count']['responses']['200']['content']['application/json'];
export type GetOnlineUsersCountErrors = _Operations_EndpointsErrors['get-online-users-count'][keyof _Operations_EndpointsErrors['get-online-users-count']];
export type GetAvatarDecorationsResponse = operations['get-avatar-decorations']['responses']['200']['content']['application/json']; export type GetAvatarDecorationsResponse = operations['get-avatar-decorations']['responses']['200']['content']['application/json'];
export type GetAvatarDecorationsErrors = _Operations_EndpointsErrors['get-avatar-decorations'][keyof _Operations_EndpointsErrors['get-avatar-decorations']];
export type HashtagsListRequest = operations['hashtags___list']['requestBody']['content']['application/json']; export type HashtagsListRequest = operations['hashtags___list']['requestBody']['content']['application/json'];
export type HashtagsListResponse = operations['hashtags___list']['responses']['200']['content']['application/json']; export type HashtagsListResponse = operations['hashtags___list']['responses']['200']['content']['application/json'];
export type HashtagsListErrors = _Operations_EndpointsErrors['hashtags___list'][keyof _Operations_EndpointsErrors['hashtags___list']];
export type HashtagsSearchRequest = operations['hashtags___search']['requestBody']['content']['application/json']; export type HashtagsSearchRequest = operations['hashtags___search']['requestBody']['content']['application/json'];
export type HashtagsSearchResponse = operations['hashtags___search']['responses']['200']['content']['application/json']; export type HashtagsSearchResponse = operations['hashtags___search']['responses']['200']['content']['application/json'];
export type HashtagsSearchErrors = _Operations_EndpointsErrors['hashtags___search'][keyof _Operations_EndpointsErrors['hashtags___search']];
export type HashtagsShowRequest = operations['hashtags___show']['requestBody']['content']['application/json']; export type HashtagsShowRequest = operations['hashtags___show']['requestBody']['content']['application/json'];
export type HashtagsShowResponse = operations['hashtags___show']['responses']['200']['content']['application/json']; export type HashtagsShowResponse = operations['hashtags___show']['responses']['200']['content']['application/json'];
export type HashtagsShowErrors = _Operations_EndpointsErrors['hashtags___show'][keyof _Operations_EndpointsErrors['hashtags___show']];
export type HashtagsTrendResponse = operations['hashtags___trend']['responses']['200']['content']['application/json']; export type HashtagsTrendResponse = operations['hashtags___trend']['responses']['200']['content']['application/json'];
export type HashtagsTrendErrors = _Operations_EndpointsErrors['hashtags___trend'][keyof _Operations_EndpointsErrors['hashtags___trend']];
export type HashtagsUsersRequest = operations['hashtags___users']['requestBody']['content']['application/json']; export type HashtagsUsersRequest = operations['hashtags___users']['requestBody']['content']['application/json'];
export type HashtagsUsersResponse = operations['hashtags___users']['responses']['200']['content']['application/json']; export type HashtagsUsersResponse = operations['hashtags___users']['responses']['200']['content']['application/json'];
export type HashtagsUsersErrors = _Operations_EndpointsErrors['hashtags___users'][keyof _Operations_EndpointsErrors['hashtags___users']];
export type IResponse = operations['i']['responses']['200']['content']['application/json']; export type IResponse = operations['i']['responses']['200']['content']['application/json'];
export type IErrors = _Operations_EndpointsErrors['i'][keyof _Operations_EndpointsErrors['i']];
export type I2faDoneRequest = operations['i___2fa___done']['requestBody']['content']['application/json']; export type I2faDoneRequest = operations['i___2fa___done']['requestBody']['content']['application/json'];
export type I2faDoneResponse = operations['i___2fa___done']['responses']['200']['content']['application/json']; export type I2faDoneResponse = operations['i___2fa___done']['responses']['200']['content']['application/json'];
export type I2faDoneErrors = _Operations_EndpointsErrors['i___2fa___done'][keyof _Operations_EndpointsErrors['i___2fa___done']];
export type I2faKeyDoneRequest = operations['i___2fa___key-done']['requestBody']['content']['application/json']; export type I2faKeyDoneRequest = operations['i___2fa___key-done']['requestBody']['content']['application/json'];
export type I2faKeyDoneResponse = operations['i___2fa___key-done']['responses']['200']['content']['application/json']; export type I2faKeyDoneResponse = operations['i___2fa___key-done']['responses']['200']['content']['application/json'];
export type I2faKeyDoneErrors = _Operations_EndpointsErrors['i___2fa___key-done'][keyof _Operations_EndpointsErrors['i___2fa___key-done']];
export type I2faPasswordLessRequest = operations['i___2fa___password-less']['requestBody']['content']['application/json']; export type I2faPasswordLessRequest = operations['i___2fa___password-less']['requestBody']['content']['application/json'];
export type I2faPasswordLessErrors = _Operations_EndpointsErrors['i___2fa___password-less'][keyof _Operations_EndpointsErrors['i___2fa___password-less']];
export type I2faRegisterKeyRequest = operations['i___2fa___register-key']['requestBody']['content']['application/json']; export type I2faRegisterKeyRequest = operations['i___2fa___register-key']['requestBody']['content']['application/json'];
export type I2faRegisterKeyResponse = operations['i___2fa___register-key']['responses']['200']['content']['application/json']; export type I2faRegisterKeyResponse = operations['i___2fa___register-key']['responses']['200']['content']['application/json'];
export type I2faRegisterKeyErrors = _Operations_EndpointsErrors['i___2fa___register-key'][keyof _Operations_EndpointsErrors['i___2fa___register-key']];
export type I2faRegisterRequest = operations['i___2fa___register']['requestBody']['content']['application/json']; export type I2faRegisterRequest = operations['i___2fa___register']['requestBody']['content']['application/json'];
export type I2faRegisterResponse = operations['i___2fa___register']['responses']['200']['content']['application/json']; export type I2faRegisterResponse = operations['i___2fa___register']['responses']['200']['content']['application/json'];
export type I2faRegisterErrors = _Operations_EndpointsErrors['i___2fa___register'][keyof _Operations_EndpointsErrors['i___2fa___register']];
export type I2faUpdateKeyRequest = operations['i___2fa___update-key']['requestBody']['content']['application/json']; export type I2faUpdateKeyRequest = operations['i___2fa___update-key']['requestBody']['content']['application/json'];
export type I2faUpdateKeyErrors = _Operations_EndpointsErrors['i___2fa___update-key'][keyof _Operations_EndpointsErrors['i___2fa___update-key']];
export type I2faRemoveKeyRequest = operations['i___2fa___remove-key']['requestBody']['content']['application/json']; export type I2faRemoveKeyRequest = operations['i___2fa___remove-key']['requestBody']['content']['application/json'];
export type I2faRemoveKeyErrors = _Operations_EndpointsErrors['i___2fa___remove-key'][keyof _Operations_EndpointsErrors['i___2fa___remove-key']];
export type I2faUnregisterRequest = operations['i___2fa___unregister']['requestBody']['content']['application/json']; export type I2faUnregisterRequest = operations['i___2fa___unregister']['requestBody']['content']['application/json'];
export type I2faUnregisterErrors = _Operations_EndpointsErrors['i___2fa___unregister'][keyof _Operations_EndpointsErrors['i___2fa___unregister']];
export type IAppsRequest = operations['i___apps']['requestBody']['content']['application/json']; export type IAppsRequest = operations['i___apps']['requestBody']['content']['application/json'];
export type IAppsResponse = operations['i___apps']['responses']['200']['content']['application/json']; export type IAppsResponse = operations['i___apps']['responses']['200']['content']['application/json'];
export type IAppsErrors = _Operations_EndpointsErrors['i___apps'][keyof _Operations_EndpointsErrors['i___apps']];
export type IAuthorizedAppsRequest = operations['i___authorized-apps']['requestBody']['content']['application/json']; export type IAuthorizedAppsRequest = operations['i___authorized-apps']['requestBody']['content']['application/json'];
export type IAuthorizedAppsResponse = operations['i___authorized-apps']['responses']['200']['content']['application/json']; export type IAuthorizedAppsResponse = operations['i___authorized-apps']['responses']['200']['content']['application/json'];
export type IAuthorizedAppsErrors = _Operations_EndpointsErrors['i___authorized-apps'][keyof _Operations_EndpointsErrors['i___authorized-apps']];
export type IClaimAchievementRequest = operations['i___claim-achievement']['requestBody']['content']['application/json']; export type IClaimAchievementRequest = operations['i___claim-achievement']['requestBody']['content']['application/json'];
export type IClaimAchievementErrors = _Operations_EndpointsErrors['i___claim-achievement'][keyof _Operations_EndpointsErrors['i___claim-achievement']];
export type IChangePasswordRequest = operations['i___change-password']['requestBody']['content']['application/json']; export type IChangePasswordRequest = operations['i___change-password']['requestBody']['content']['application/json'];
export type IChangePasswordErrors = _Operations_EndpointsErrors['i___change-password'][keyof _Operations_EndpointsErrors['i___change-password']];
export type IDeleteAccountRequest = operations['i___delete-account']['requestBody']['content']['application/json']; export type IDeleteAccountRequest = operations['i___delete-account']['requestBody']['content']['application/json'];
export type IDeleteAccountErrors = _Operations_EndpointsErrors['i___delete-account'][keyof _Operations_EndpointsErrors['i___delete-account']];
export type IExportBlockingErrors = _Operations_EndpointsErrors['i___export-blocking'][keyof _Operations_EndpointsErrors['i___export-blocking']];
export type IExportFollowingRequest = operations['i___export-following']['requestBody']['content']['application/json']; export type IExportFollowingRequest = operations['i___export-following']['requestBody']['content']['application/json'];
export type IExportFollowingErrors = _Operations_EndpointsErrors['i___export-following'][keyof _Operations_EndpointsErrors['i___export-following']];
export type IExportMuteErrors = _Operations_EndpointsErrors['i___export-mute'][keyof _Operations_EndpointsErrors['i___export-mute']];
export type IExportNotesErrors = _Operations_EndpointsErrors['i___export-notes'][keyof _Operations_EndpointsErrors['i___export-notes']];
export type IExportClipsErrors = _Operations_EndpointsErrors['i___export-clips'][keyof _Operations_EndpointsErrors['i___export-clips']];
export type IExportFavoritesErrors = _Operations_EndpointsErrors['i___export-favorites'][keyof _Operations_EndpointsErrors['i___export-favorites']];
export type IExportUserListsErrors = _Operations_EndpointsErrors['i___export-user-lists'][keyof _Operations_EndpointsErrors['i___export-user-lists']];
export type IExportAntennasErrors = _Operations_EndpointsErrors['i___export-antennas'][keyof _Operations_EndpointsErrors['i___export-antennas']];
export type IFavoritesRequest = operations['i___favorites']['requestBody']['content']['application/json']; export type IFavoritesRequest = operations['i___favorites']['requestBody']['content']['application/json'];
export type IFavoritesResponse = operations['i___favorites']['responses']['200']['content']['application/json']; export type IFavoritesResponse = operations['i___favorites']['responses']['200']['content']['application/json'];
export type IFavoritesErrors = _Operations_EndpointsErrors['i___favorites'][keyof _Operations_EndpointsErrors['i___favorites']];
export type IGalleryLikesRequest = operations['i___gallery___likes']['requestBody']['content']['application/json']; export type IGalleryLikesRequest = operations['i___gallery___likes']['requestBody']['content']['application/json'];
export type IGalleryLikesResponse = operations['i___gallery___likes']['responses']['200']['content']['application/json']; export type IGalleryLikesResponse = operations['i___gallery___likes']['responses']['200']['content']['application/json'];
export type IGalleryLikesErrors = _Operations_EndpointsErrors['i___gallery___likes'][keyof _Operations_EndpointsErrors['i___gallery___likes']];
export type IGalleryPostsRequest = operations['i___gallery___posts']['requestBody']['content']['application/json']; export type IGalleryPostsRequest = operations['i___gallery___posts']['requestBody']['content']['application/json'];
export type IGalleryPostsResponse = operations['i___gallery___posts']['responses']['200']['content']['application/json']; export type IGalleryPostsResponse = operations['i___gallery___posts']['responses']['200']['content']['application/json'];
export type IGalleryPostsErrors = _Operations_EndpointsErrors['i___gallery___posts'][keyof _Operations_EndpointsErrors['i___gallery___posts']];
export type IImportBlockingRequest = operations['i___import-blocking']['requestBody']['content']['application/json']; export type IImportBlockingRequest = operations['i___import-blocking']['requestBody']['content']['application/json'];
export type IImportBlockingErrors = _Operations_EndpointsErrors['i___import-blocking'][keyof _Operations_EndpointsErrors['i___import-blocking']];
export type IImportFollowingRequest = operations['i___import-following']['requestBody']['content']['application/json']; export type IImportFollowingRequest = operations['i___import-following']['requestBody']['content']['application/json'];
export type IImportFollowingErrors = _Operations_EndpointsErrors['i___import-following'][keyof _Operations_EndpointsErrors['i___import-following']];
export type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json']; export type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json'];
export type IImportMutingErrors = _Operations_EndpointsErrors['i___import-muting'][keyof _Operations_EndpointsErrors['i___import-muting']];
export type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json']; export type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json'];
export type IImportUserListsErrors = _Operations_EndpointsErrors['i___import-user-lists'][keyof _Operations_EndpointsErrors['i___import-user-lists']];
export type IImportAntennasRequest = operations['i___import-antennas']['requestBody']['content']['application/json']; export type IImportAntennasRequest = operations['i___import-antennas']['requestBody']['content']['application/json'];
export type IImportAntennasErrors = _Operations_EndpointsErrors['i___import-antennas'][keyof _Operations_EndpointsErrors['i___import-antennas']];
export type INotificationsRequest = operations['i___notifications']['requestBody']['content']['application/json']; export type INotificationsRequest = operations['i___notifications']['requestBody']['content']['application/json'];
export type INotificationsResponse = operations['i___notifications']['responses']['200']['content']['application/json']; export type INotificationsResponse = operations['i___notifications']['responses']['200']['content']['application/json'];
export type INotificationsErrors = _Operations_EndpointsErrors['i___notifications'][keyof _Operations_EndpointsErrors['i___notifications']];
export type INotificationsGroupedRequest = operations['i___notifications-grouped']['requestBody']['content']['application/json']; export type INotificationsGroupedRequest = operations['i___notifications-grouped']['requestBody']['content']['application/json'];
export type INotificationsGroupedResponse = operations['i___notifications-grouped']['responses']['200']['content']['application/json']; export type INotificationsGroupedResponse = operations['i___notifications-grouped']['responses']['200']['content']['application/json'];
export type INotificationsGroupedErrors = _Operations_EndpointsErrors['i___notifications-grouped'][keyof _Operations_EndpointsErrors['i___notifications-grouped']];
export type IPageLikesRequest = operations['i___page-likes']['requestBody']['content']['application/json']; export type IPageLikesRequest = operations['i___page-likes']['requestBody']['content']['application/json'];
export type IPageLikesResponse = operations['i___page-likes']['responses']['200']['content']['application/json']; export type IPageLikesResponse = operations['i___page-likes']['responses']['200']['content']['application/json'];
export type IPageLikesErrors = _Operations_EndpointsErrors['i___page-likes'][keyof _Operations_EndpointsErrors['i___page-likes']];
export type IPagesRequest = operations['i___pages']['requestBody']['content']['application/json']; export type IPagesRequest = operations['i___pages']['requestBody']['content']['application/json'];
export type IPagesResponse = operations['i___pages']['responses']['200']['content']['application/json']; export type IPagesResponse = operations['i___pages']['responses']['200']['content']['application/json'];
export type IPagesErrors = _Operations_EndpointsErrors['i___pages'][keyof _Operations_EndpointsErrors['i___pages']];
export type IPinRequest = operations['i___pin']['requestBody']['content']['application/json']; export type IPinRequest = operations['i___pin']['requestBody']['content']['application/json'];
export type IPinResponse = operations['i___pin']['responses']['200']['content']['application/json']; export type IPinResponse = operations['i___pin']['responses']['200']['content']['application/json'];
export type IPinErrors = _Operations_EndpointsErrors['i___pin'][keyof _Operations_EndpointsErrors['i___pin']];
export type IReadAllUnreadNotesErrors = _Operations_EndpointsErrors['i___read-all-unread-notes'][keyof _Operations_EndpointsErrors['i___read-all-unread-notes']];
export type IReadAnnouncementRequest = operations['i___read-announcement']['requestBody']['content']['application/json']; export type IReadAnnouncementRequest = operations['i___read-announcement']['requestBody']['content']['application/json'];
export type IReadAnnouncementErrors = _Operations_EndpointsErrors['i___read-announcement'][keyof _Operations_EndpointsErrors['i___read-announcement']];
export type IRegenerateTokenRequest = operations['i___regenerate-token']['requestBody']['content']['application/json']; export type IRegenerateTokenRequest = operations['i___regenerate-token']['requestBody']['content']['application/json'];
export type IRegenerateTokenErrors = _Operations_EndpointsErrors['i___regenerate-token'][keyof _Operations_EndpointsErrors['i___regenerate-token']];
export type IRegistryGetAllRequest = operations['i___registry___get-all']['requestBody']['content']['application/json']; export type IRegistryGetAllRequest = operations['i___registry___get-all']['requestBody']['content']['application/json'];
export type IRegistryGetAllResponse = operations['i___registry___get-all']['responses']['200']['content']['application/json']; export type IRegistryGetAllResponse = operations['i___registry___get-all']['responses']['200']['content']['application/json'];
export type IRegistryGetAllErrors = _Operations_EndpointsErrors['i___registry___get-all'][keyof _Operations_EndpointsErrors['i___registry___get-all']];
export type IRegistryGetDetailRequest = operations['i___registry___get-detail']['requestBody']['content']['application/json']; export type IRegistryGetDetailRequest = operations['i___registry___get-detail']['requestBody']['content']['application/json'];
export type IRegistryGetDetailResponse = operations['i___registry___get-detail']['responses']['200']['content']['application/json']; export type IRegistryGetDetailResponse = operations['i___registry___get-detail']['responses']['200']['content']['application/json'];
export type IRegistryGetDetailErrors = _Operations_EndpointsErrors['i___registry___get-detail'][keyof _Operations_EndpointsErrors['i___registry___get-detail']];
export type IRegistryGetRequest = operations['i___registry___get']['requestBody']['content']['application/json']; export type IRegistryGetRequest = operations['i___registry___get']['requestBody']['content']['application/json'];
export type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json']; export type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json'];
export type IRegistryGetErrors = _Operations_EndpointsErrors['i___registry___get'][keyof _Operations_EndpointsErrors['i___registry___get']];
export type IRegistryKeysWithTypeRequest = operations['i___registry___keys-with-type']['requestBody']['content']['application/json']; export type IRegistryKeysWithTypeRequest = operations['i___registry___keys-with-type']['requestBody']['content']['application/json'];
export type IRegistryKeysWithTypeResponse = operations['i___registry___keys-with-type']['responses']['200']['content']['application/json']; export type IRegistryKeysWithTypeResponse = operations['i___registry___keys-with-type']['responses']['200']['content']['application/json'];
export type IRegistryKeysWithTypeErrors = _Operations_EndpointsErrors['i___registry___keys-with-type'][keyof _Operations_EndpointsErrors['i___registry___keys-with-type']];
export type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json']; export type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json'];
export type IRegistryKeysResponse = operations['i___registry___keys']['responses']['200']['content']['application/json']; export type IRegistryKeysResponse = operations['i___registry___keys']['responses']['200']['content']['application/json'];
export type IRegistryKeysErrors = _Operations_EndpointsErrors['i___registry___keys'][keyof _Operations_EndpointsErrors['i___registry___keys']];
export type IRegistryRemoveRequest = operations['i___registry___remove']['requestBody']['content']['application/json']; export type IRegistryRemoveRequest = operations['i___registry___remove']['requestBody']['content']['application/json'];
export type IRegistryRemoveErrors = _Operations_EndpointsErrors['i___registry___remove'][keyof _Operations_EndpointsErrors['i___registry___remove']];
export type IRegistryScopesWithDomainResponse = operations['i___registry___scopes-with-domain']['responses']['200']['content']['application/json']; export type IRegistryScopesWithDomainResponse = operations['i___registry___scopes-with-domain']['responses']['200']['content']['application/json'];
export type IRegistryScopesWithDomainErrors = _Operations_EndpointsErrors['i___registry___scopes-with-domain'][keyof _Operations_EndpointsErrors['i___registry___scopes-with-domain']];
export type IRegistrySetRequest = operations['i___registry___set']['requestBody']['content']['application/json']; export type IRegistrySetRequest = operations['i___registry___set']['requestBody']['content']['application/json'];
export type IRegistrySetErrors = _Operations_EndpointsErrors['i___registry___set'][keyof _Operations_EndpointsErrors['i___registry___set']];
export type IRevokeTokenRequest = operations['i___revoke-token']['requestBody']['content']['application/json']; export type IRevokeTokenRequest = operations['i___revoke-token']['requestBody']['content']['application/json'];
export type IRevokeTokenErrors = _Operations_EndpointsErrors['i___revoke-token'][keyof _Operations_EndpointsErrors['i___revoke-token']];
export type ISigninHistoryRequest = operations['i___signin-history']['requestBody']['content']['application/json']; export type ISigninHistoryRequest = operations['i___signin-history']['requestBody']['content']['application/json'];
export type ISigninHistoryResponse = operations['i___signin-history']['responses']['200']['content']['application/json']; export type ISigninHistoryResponse = operations['i___signin-history']['responses']['200']['content']['application/json'];
export type ISigninHistoryErrors = _Operations_EndpointsErrors['i___signin-history'][keyof _Operations_EndpointsErrors['i___signin-history']];
export type IUnpinRequest = operations['i___unpin']['requestBody']['content']['application/json']; export type IUnpinRequest = operations['i___unpin']['requestBody']['content']['application/json'];
export type IUnpinResponse = operations['i___unpin']['responses']['200']['content']['application/json']; export type IUnpinResponse = operations['i___unpin']['responses']['200']['content']['application/json'];
export type IUnpinErrors = _Operations_EndpointsErrors['i___unpin'][keyof _Operations_EndpointsErrors['i___unpin']];
export type IUpdateEmailRequest = operations['i___update-email']['requestBody']['content']['application/json']; export type IUpdateEmailRequest = operations['i___update-email']['requestBody']['content']['application/json'];
export type IUpdateEmailResponse = operations['i___update-email']['responses']['200']['content']['application/json']; export type IUpdateEmailResponse = operations['i___update-email']['responses']['200']['content']['application/json'];
export type IUpdateEmailErrors = _Operations_EndpointsErrors['i___update-email'][keyof _Operations_EndpointsErrors['i___update-email']];
export type IUpdateRequest = operations['i___update']['requestBody']['content']['application/json']; export type IUpdateRequest = operations['i___update']['requestBody']['content']['application/json'];
export type IUpdateResponse = operations['i___update']['responses']['200']['content']['application/json']; export type IUpdateResponse = operations['i___update']['responses']['200']['content']['application/json'];
export type IUpdateErrors = _Operations_EndpointsErrors['i___update'][keyof _Operations_EndpointsErrors['i___update']];
export type IMoveRequest = operations['i___move']['requestBody']['content']['application/json']; export type IMoveRequest = operations['i___move']['requestBody']['content']['application/json'];
export type IMoveResponse = operations['i___move']['responses']['200']['content']['application/json']; export type IMoveResponse = operations['i___move']['responses']['200']['content']['application/json'];
export type IMoveErrors = _Operations_EndpointsErrors['i___move'][keyof _Operations_EndpointsErrors['i___move']];
export type IWebhooksCreateRequest = operations['i___webhooks___create']['requestBody']['content']['application/json']; export type IWebhooksCreateRequest = operations['i___webhooks___create']['requestBody']['content']['application/json'];
export type IWebhooksCreateResponse = operations['i___webhooks___create']['responses']['200']['content']['application/json']; export type IWebhooksCreateResponse = operations['i___webhooks___create']['responses']['200']['content']['application/json'];
export type IWebhooksCreateErrors = _Operations_EndpointsErrors['i___webhooks___create'][keyof _Operations_EndpointsErrors['i___webhooks___create']];
export type IWebhooksListResponse = operations['i___webhooks___list']['responses']['200']['content']['application/json']; export type IWebhooksListResponse = operations['i___webhooks___list']['responses']['200']['content']['application/json'];
export type IWebhooksListErrors = _Operations_EndpointsErrors['i___webhooks___list'][keyof _Operations_EndpointsErrors['i___webhooks___list']];
export type IWebhooksShowRequest = operations['i___webhooks___show']['requestBody']['content']['application/json']; export type IWebhooksShowRequest = operations['i___webhooks___show']['requestBody']['content']['application/json'];
export type IWebhooksShowResponse = operations['i___webhooks___show']['responses']['200']['content']['application/json']; export type IWebhooksShowResponse = operations['i___webhooks___show']['responses']['200']['content']['application/json'];
export type IWebhooksShowErrors = _Operations_EndpointsErrors['i___webhooks___show'][keyof _Operations_EndpointsErrors['i___webhooks___show']];
export type IWebhooksUpdateRequest = operations['i___webhooks___update']['requestBody']['content']['application/json']; export type IWebhooksUpdateRequest = operations['i___webhooks___update']['requestBody']['content']['application/json'];
export type IWebhooksUpdateErrors = _Operations_EndpointsErrors['i___webhooks___update'][keyof _Operations_EndpointsErrors['i___webhooks___update']];
export type IWebhooksDeleteRequest = operations['i___webhooks___delete']['requestBody']['content']['application/json']; export type IWebhooksDeleteRequest = operations['i___webhooks___delete']['requestBody']['content']['application/json'];
export type IWebhooksDeleteErrors = _Operations_EndpointsErrors['i___webhooks___delete'][keyof _Operations_EndpointsErrors['i___webhooks___delete']];
export type InviteCreateResponse = operations['invite___create']['responses']['200']['content']['application/json']; export type InviteCreateResponse = operations['invite___create']['responses']['200']['content']['application/json'];
export type InviteCreateErrors = _Operations_EndpointsErrors['invite___create'][keyof _Operations_EndpointsErrors['invite___create']];
export type InviteDeleteRequest = operations['invite___delete']['requestBody']['content']['application/json']; export type InviteDeleteRequest = operations['invite___delete']['requestBody']['content']['application/json'];
export type InviteDeleteErrors = _Operations_EndpointsErrors['invite___delete'][keyof _Operations_EndpointsErrors['invite___delete']];
export type InviteListRequest = operations['invite___list']['requestBody']['content']['application/json']; export type InviteListRequest = operations['invite___list']['requestBody']['content']['application/json'];
export type InviteListResponse = operations['invite___list']['responses']['200']['content']['application/json']; export type InviteListResponse = operations['invite___list']['responses']['200']['content']['application/json'];
export type InviteListErrors = _Operations_EndpointsErrors['invite___list'][keyof _Operations_EndpointsErrors['invite___list']];
export type InviteLimitResponse = operations['invite___limit']['responses']['200']['content']['application/json']; export type InviteLimitResponse = operations['invite___limit']['responses']['200']['content']['application/json'];
export type InviteLimitErrors = _Operations_EndpointsErrors['invite___limit'][keyof _Operations_EndpointsErrors['invite___limit']];
export type MetaRequest = operations['meta']['requestBody']['content']['application/json']; export type MetaRequest = operations['meta']['requestBody']['content']['application/json'];
export type MetaResponse = operations['meta']['responses']['200']['content']['application/json']; export type MetaResponse = operations['meta']['responses']['200']['content']['application/json'];
export type MetaErrors = _Operations_EndpointsErrors['meta'][keyof _Operations_EndpointsErrors['meta']];
export type EmojisResponse = operations['emojis']['responses']['200']['content']['application/json']; export type EmojisResponse = operations['emojis']['responses']['200']['content']['application/json'];
export type EmojisErrors = _Operations_EndpointsErrors['emojis'][keyof _Operations_EndpointsErrors['emojis']];
export type EmojiRequest = operations['emoji']['requestBody']['content']['application/json']; export type EmojiRequest = operations['emoji']['requestBody']['content']['application/json'];
export type EmojiResponse = operations['emoji']['responses']['200']['content']['application/json']; export type EmojiResponse = operations['emoji']['responses']['200']['content']['application/json'];
export type EmojiErrors = _Operations_EndpointsErrors['emoji'][keyof _Operations_EndpointsErrors['emoji']];
export type MiauthGenTokenRequest = operations['miauth___gen-token']['requestBody']['content']['application/json']; export type MiauthGenTokenRequest = operations['miauth___gen-token']['requestBody']['content']['application/json'];
export type MiauthGenTokenResponse = operations['miauth___gen-token']['responses']['200']['content']['application/json']; export type MiauthGenTokenResponse = operations['miauth___gen-token']['responses']['200']['content']['application/json'];
export type MiauthGenTokenErrors = _Operations_EndpointsErrors['miauth___gen-token'][keyof _Operations_EndpointsErrors['miauth___gen-token']];
export type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json']; export type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
export type MuteCreateErrors = _Operations_EndpointsErrors['mute___create'][keyof _Operations_EndpointsErrors['mute___create']];
export type MuteDeleteRequest = operations['mute___delete']['requestBody']['content']['application/json']; export type MuteDeleteRequest = operations['mute___delete']['requestBody']['content']['application/json'];
export type MuteDeleteErrors = _Operations_EndpointsErrors['mute___delete'][keyof _Operations_EndpointsErrors['mute___delete']];
export type MuteListRequest = operations['mute___list']['requestBody']['content']['application/json']; export type MuteListRequest = operations['mute___list']['requestBody']['content']['application/json'];
export type MuteListResponse = operations['mute___list']['responses']['200']['content']['application/json']; export type MuteListResponse = operations['mute___list']['responses']['200']['content']['application/json'];
export type MuteListErrors = _Operations_EndpointsErrors['mute___list'][keyof _Operations_EndpointsErrors['mute___list']];
export type RenoteMuteCreateRequest = operations['renote-mute___create']['requestBody']['content']['application/json']; export type RenoteMuteCreateRequest = operations['renote-mute___create']['requestBody']['content']['application/json'];
export type RenoteMuteCreateErrors = _Operations_EndpointsErrors['renote-mute___create'][keyof _Operations_EndpointsErrors['renote-mute___create']];
export type RenoteMuteDeleteRequest = operations['renote-mute___delete']['requestBody']['content']['application/json']; export type RenoteMuteDeleteRequest = operations['renote-mute___delete']['requestBody']['content']['application/json'];
export type RenoteMuteDeleteErrors = _Operations_EndpointsErrors['renote-mute___delete'][keyof _Operations_EndpointsErrors['renote-mute___delete']];
export type RenoteMuteListRequest = operations['renote-mute___list']['requestBody']['content']['application/json']; export type RenoteMuteListRequest = operations['renote-mute___list']['requestBody']['content']['application/json'];
export type RenoteMuteListResponse = operations['renote-mute___list']['responses']['200']['content']['application/json']; export type RenoteMuteListResponse = operations['renote-mute___list']['responses']['200']['content']['application/json'];
export type RenoteMuteListErrors = _Operations_EndpointsErrors['renote-mute___list'][keyof _Operations_EndpointsErrors['renote-mute___list']];
export type MyAppsRequest = operations['my___apps']['requestBody']['content']['application/json']; export type MyAppsRequest = operations['my___apps']['requestBody']['content']['application/json'];
export type MyAppsResponse = operations['my___apps']['responses']['200']['content']['application/json']; export type MyAppsResponse = operations['my___apps']['responses']['200']['content']['application/json'];
export type MyAppsErrors = _Operations_EndpointsErrors['my___apps'][keyof _Operations_EndpointsErrors['my___apps']];
export type NotesRequest = operations['notes']['requestBody']['content']['application/json']; export type NotesRequest = operations['notes']['requestBody']['content']['application/json'];
export type NotesResponse = operations['notes']['responses']['200']['content']['application/json']; export type NotesResponse = operations['notes']['responses']['200']['content']['application/json'];
export type NotesErrors = _Operations_EndpointsErrors['notes'][keyof _Operations_EndpointsErrors['notes']];
export type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json']; export type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
export type NotesChildrenResponse = operations['notes___children']['responses']['200']['content']['application/json']; export type NotesChildrenResponse = operations['notes___children']['responses']['200']['content']['application/json'];
export type NotesChildrenErrors = _Operations_EndpointsErrors['notes___children'][keyof _Operations_EndpointsErrors['notes___children']];
export type NotesClipsRequest = operations['notes___clips']['requestBody']['content']['application/json']; export type NotesClipsRequest = operations['notes___clips']['requestBody']['content']['application/json'];
export type NotesClipsResponse = operations['notes___clips']['responses']['200']['content']['application/json']; export type NotesClipsResponse = operations['notes___clips']['responses']['200']['content']['application/json'];
export type NotesClipsErrors = _Operations_EndpointsErrors['notes___clips'][keyof _Operations_EndpointsErrors['notes___clips']];
export type NotesConversationRequest = operations['notes___conversation']['requestBody']['content']['application/json']; export type NotesConversationRequest = operations['notes___conversation']['requestBody']['content']['application/json'];
export type NotesConversationResponse = operations['notes___conversation']['responses']['200']['content']['application/json']; export type NotesConversationResponse = operations['notes___conversation']['responses']['200']['content']['application/json'];
export type NotesConversationErrors = _Operations_EndpointsErrors['notes___conversation'][keyof _Operations_EndpointsErrors['notes___conversation']];
export type NotesCreateRequest = operations['notes___create']['requestBody']['content']['application/json']; export type NotesCreateRequest = operations['notes___create']['requestBody']['content']['application/json'];
export type NotesCreateResponse = operations['notes___create']['responses']['200']['content']['application/json']; export type NotesCreateResponse = operations['notes___create']['responses']['200']['content']['application/json'];
export type NotesCreateErrors = _Operations_EndpointsErrors['notes___create'][keyof _Operations_EndpointsErrors['notes___create']];
export type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json']; export type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json'];
export type NotesDeleteErrors = _Operations_EndpointsErrors['notes___delete'][keyof _Operations_EndpointsErrors['notes___delete']];
export type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json']; export type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json'];
export type NotesFavoritesCreateErrors = _Operations_EndpointsErrors['notes___favorites___create'][keyof _Operations_EndpointsErrors['notes___favorites___create']];
export type NotesFavoritesDeleteRequest = operations['notes___favorites___delete']['requestBody']['content']['application/json']; export type NotesFavoritesDeleteRequest = operations['notes___favorites___delete']['requestBody']['content']['application/json'];
export type NotesFavoritesDeleteErrors = _Operations_EndpointsErrors['notes___favorites___delete'][keyof _Operations_EndpointsErrors['notes___favorites___delete']];
export type NotesFeaturedRequest = operations['notes___featured']['requestBody']['content']['application/json']; export type NotesFeaturedRequest = operations['notes___featured']['requestBody']['content']['application/json'];
export type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json']; export type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json'];
export type NotesFeaturedErrors = _Operations_EndpointsErrors['notes___featured'][keyof _Operations_EndpointsErrors['notes___featured']];
export type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json']; export type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json'];
export type NotesGlobalTimelineResponse = operations['notes___global-timeline']['responses']['200']['content']['application/json']; export type NotesGlobalTimelineResponse = operations['notes___global-timeline']['responses']['200']['content']['application/json'];
export type NotesGlobalTimelineErrors = _Operations_EndpointsErrors['notes___global-timeline'][keyof _Operations_EndpointsErrors['notes___global-timeline']];
export type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['requestBody']['content']['application/json']; export type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['requestBody']['content']['application/json'];
export type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json']; export type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json'];
export type NotesHybridTimelineErrors = _Operations_EndpointsErrors['notes___hybrid-timeline'][keyof _Operations_EndpointsErrors['notes___hybrid-timeline']];
export type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json']; export type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json'];
export type NotesLocalTimelineResponse = operations['notes___local-timeline']['responses']['200']['content']['application/json']; export type NotesLocalTimelineResponse = operations['notes___local-timeline']['responses']['200']['content']['application/json'];
export type NotesLocalTimelineErrors = _Operations_EndpointsErrors['notes___local-timeline'][keyof _Operations_EndpointsErrors['notes___local-timeline']];
export type NotesMentionsRequest = operations['notes___mentions']['requestBody']['content']['application/json']; export type NotesMentionsRequest = operations['notes___mentions']['requestBody']['content']['application/json'];
export type NotesMentionsResponse = operations['notes___mentions']['responses']['200']['content']['application/json']; export type NotesMentionsResponse = operations['notes___mentions']['responses']['200']['content']['application/json'];
export type NotesMentionsErrors = _Operations_EndpointsErrors['notes___mentions'][keyof _Operations_EndpointsErrors['notes___mentions']];
export type NotesPollsRecommendationRequest = operations['notes___polls___recommendation']['requestBody']['content']['application/json']; export type NotesPollsRecommendationRequest = operations['notes___polls___recommendation']['requestBody']['content']['application/json'];
export type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json']; export type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json'];
export type NotesPollsRecommendationErrors = _Operations_EndpointsErrors['notes___polls___recommendation'][keyof _Operations_EndpointsErrors['notes___polls___recommendation']];
export type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json']; export type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json'];
export type NotesPollsVoteErrors = _Operations_EndpointsErrors['notes___polls___vote'][keyof _Operations_EndpointsErrors['notes___polls___vote']];
export type NotesReactionsRequest = operations['notes___reactions']['requestBody']['content']['application/json']; export type NotesReactionsRequest = operations['notes___reactions']['requestBody']['content']['application/json'];
export type NotesReactionsResponse = operations['notes___reactions']['responses']['200']['content']['application/json']; export type NotesReactionsResponse = operations['notes___reactions']['responses']['200']['content']['application/json'];
export type NotesReactionsErrors = _Operations_EndpointsErrors['notes___reactions'][keyof _Operations_EndpointsErrors['notes___reactions']];
export type NotesReactionsCreateRequest = operations['notes___reactions___create']['requestBody']['content']['application/json']; export type NotesReactionsCreateRequest = operations['notes___reactions___create']['requestBody']['content']['application/json'];
export type NotesReactionsCreateErrors = _Operations_EndpointsErrors['notes___reactions___create'][keyof _Operations_EndpointsErrors['notes___reactions___create']];
export type NotesReactionsDeleteRequest = operations['notes___reactions___delete']['requestBody']['content']['application/json']; export type NotesReactionsDeleteRequest = operations['notes___reactions___delete']['requestBody']['content']['application/json'];
export type NotesReactionsDeleteErrors = _Operations_EndpointsErrors['notes___reactions___delete'][keyof _Operations_EndpointsErrors['notes___reactions___delete']];
export type NotesRenotesRequest = operations['notes___renotes']['requestBody']['content']['application/json']; export type NotesRenotesRequest = operations['notes___renotes']['requestBody']['content']['application/json'];
export type NotesRenotesResponse = operations['notes___renotes']['responses']['200']['content']['application/json']; export type NotesRenotesResponse = operations['notes___renotes']['responses']['200']['content']['application/json'];
export type NotesRenotesErrors = _Operations_EndpointsErrors['notes___renotes'][keyof _Operations_EndpointsErrors['notes___renotes']];
export type NotesRepliesRequest = operations['notes___replies']['requestBody']['content']['application/json']; export type NotesRepliesRequest = operations['notes___replies']['requestBody']['content']['application/json'];
export type NotesRepliesResponse = operations['notes___replies']['responses']['200']['content']['application/json']; export type NotesRepliesResponse = operations['notes___replies']['responses']['200']['content']['application/json'];
export type NotesRepliesErrors = _Operations_EndpointsErrors['notes___replies'][keyof _Operations_EndpointsErrors['notes___replies']];
export type NotesSearchByTagRequest = operations['notes___search-by-tag']['requestBody']['content']['application/json']; export type NotesSearchByTagRequest = operations['notes___search-by-tag']['requestBody']['content']['application/json'];
export type NotesSearchByTagResponse = operations['notes___search-by-tag']['responses']['200']['content']['application/json']; export type NotesSearchByTagResponse = operations['notes___search-by-tag']['responses']['200']['content']['application/json'];
export type NotesSearchByTagErrors = _Operations_EndpointsErrors['notes___search-by-tag'][keyof _Operations_EndpointsErrors['notes___search-by-tag']];
export type NotesSearchRequest = operations['notes___search']['requestBody']['content']['application/json']; export type NotesSearchRequest = operations['notes___search']['requestBody']['content']['application/json'];
export type NotesSearchResponse = operations['notes___search']['responses']['200']['content']['application/json']; export type NotesSearchResponse = operations['notes___search']['responses']['200']['content']['application/json'];
export type NotesSearchErrors = _Operations_EndpointsErrors['notes___search'][keyof _Operations_EndpointsErrors['notes___search']];
export type NotesShowRequest = operations['notes___show']['requestBody']['content']['application/json']; export type NotesShowRequest = operations['notes___show']['requestBody']['content']['application/json'];
export type NotesShowResponse = operations['notes___show']['responses']['200']['content']['application/json']; export type NotesShowResponse = operations['notes___show']['responses']['200']['content']['application/json'];
export type NotesShowErrors = _Operations_EndpointsErrors['notes___show'][keyof _Operations_EndpointsErrors['notes___show']];
export type NotesStateRequest = operations['notes___state']['requestBody']['content']['application/json']; export type NotesStateRequest = operations['notes___state']['requestBody']['content']['application/json'];
export type NotesStateResponse = operations['notes___state']['responses']['200']['content']['application/json']; export type NotesStateResponse = operations['notes___state']['responses']['200']['content']['application/json'];
export type NotesStateErrors = _Operations_EndpointsErrors['notes___state'][keyof _Operations_EndpointsErrors['notes___state']];
export type NotesThreadMutingCreateRequest = operations['notes___thread-muting___create']['requestBody']['content']['application/json']; export type NotesThreadMutingCreateRequest = operations['notes___thread-muting___create']['requestBody']['content']['application/json'];
export type NotesThreadMutingCreateErrors = _Operations_EndpointsErrors['notes___thread-muting___create'][keyof _Operations_EndpointsErrors['notes___thread-muting___create']];
export type NotesThreadMutingDeleteRequest = operations['notes___thread-muting___delete']['requestBody']['content']['application/json']; export type NotesThreadMutingDeleteRequest = operations['notes___thread-muting___delete']['requestBody']['content']['application/json'];
export type NotesThreadMutingDeleteErrors = _Operations_EndpointsErrors['notes___thread-muting___delete'][keyof _Operations_EndpointsErrors['notes___thread-muting___delete']];
export type NotesTimelineRequest = operations['notes___timeline']['requestBody']['content']['application/json']; export type NotesTimelineRequest = operations['notes___timeline']['requestBody']['content']['application/json'];
export type NotesTimelineResponse = operations['notes___timeline']['responses']['200']['content']['application/json']; export type NotesTimelineResponse = operations['notes___timeline']['responses']['200']['content']['application/json'];
export type NotesTimelineErrors = _Operations_EndpointsErrors['notes___timeline'][keyof _Operations_EndpointsErrors['notes___timeline']];
export type NotesTranslateRequest = operations['notes___translate']['requestBody']['content']['application/json']; export type NotesTranslateRequest = operations['notes___translate']['requestBody']['content']['application/json'];
export type NotesTranslateResponse = operations['notes___translate']['responses']['200']['content']['application/json']; export type NotesTranslateResponse = operations['notes___translate']['responses']['200']['content']['application/json'];
export type NotesTranslateErrors = _Operations_EndpointsErrors['notes___translate'][keyof _Operations_EndpointsErrors['notes___translate']];
export type NotesUnrenoteRequest = operations['notes___unrenote']['requestBody']['content']['application/json']; export type NotesUnrenoteRequest = operations['notes___unrenote']['requestBody']['content']['application/json'];
export type NotesUnrenoteErrors = _Operations_EndpointsErrors['notes___unrenote'][keyof _Operations_EndpointsErrors['notes___unrenote']];
export type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['requestBody']['content']['application/json']; export type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['requestBody']['content']['application/json'];
export type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json']; export type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json'];
export type NotesUserListTimelineErrors = _Operations_EndpointsErrors['notes___user-list-timeline'][keyof _Operations_EndpointsErrors['notes___user-list-timeline']];
export type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json']; export type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json'];
export type NotificationsCreateErrors = _Operations_EndpointsErrors['notifications___create'][keyof _Operations_EndpointsErrors['notifications___create']];
export type NotificationsFlushErrors = _Operations_EndpointsErrors['notifications___flush'][keyof _Operations_EndpointsErrors['notifications___flush']];
export type NotificationsMarkAllAsReadErrors = _Operations_EndpointsErrors['notifications___mark-all-as-read'][keyof _Operations_EndpointsErrors['notifications___mark-all-as-read']];
export type NotificationsTestNotificationErrors = _Operations_EndpointsErrors['notifications___test-notification'][keyof _Operations_EndpointsErrors['notifications___test-notification']];
export type PagePushRequest = operations['page-push']['requestBody']['content']['application/json']; export type PagePushRequest = operations['page-push']['requestBody']['content']['application/json'];
export type PagePushErrors = _Operations_EndpointsErrors['page-push'][keyof _Operations_EndpointsErrors['page-push']];
export type PagesCreateRequest = operations['pages___create']['requestBody']['content']['application/json']; export type PagesCreateRequest = operations['pages___create']['requestBody']['content']['application/json'];
export type PagesCreateResponse = operations['pages___create']['responses']['200']['content']['application/json']; export type PagesCreateResponse = operations['pages___create']['responses']['200']['content']['application/json'];
export type PagesCreateErrors = _Operations_EndpointsErrors['pages___create'][keyof _Operations_EndpointsErrors['pages___create']];
export type PagesDeleteRequest = operations['pages___delete']['requestBody']['content']['application/json']; export type PagesDeleteRequest = operations['pages___delete']['requestBody']['content']['application/json'];
export type PagesDeleteErrors = _Operations_EndpointsErrors['pages___delete'][keyof _Operations_EndpointsErrors['pages___delete']];
export type PagesFeaturedResponse = operations['pages___featured']['responses']['200']['content']['application/json']; export type PagesFeaturedResponse = operations['pages___featured']['responses']['200']['content']['application/json'];
export type PagesFeaturedErrors = _Operations_EndpointsErrors['pages___featured'][keyof _Operations_EndpointsErrors['pages___featured']];
export type PagesLikeRequest = operations['pages___like']['requestBody']['content']['application/json']; export type PagesLikeRequest = operations['pages___like']['requestBody']['content']['application/json'];
export type PagesLikeErrors = _Operations_EndpointsErrors['pages___like'][keyof _Operations_EndpointsErrors['pages___like']];
export type PagesShowRequest = operations['pages___show']['requestBody']['content']['application/json']; export type PagesShowRequest = operations['pages___show']['requestBody']['content']['application/json'];
export type PagesShowResponse = operations['pages___show']['responses']['200']['content']['application/json']; export type PagesShowResponse = operations['pages___show']['responses']['200']['content']['application/json'];
export type PagesShowErrors = _Operations_EndpointsErrors['pages___show'][keyof _Operations_EndpointsErrors['pages___show']];
export type PagesUnlikeRequest = operations['pages___unlike']['requestBody']['content']['application/json']; export type PagesUnlikeRequest = operations['pages___unlike']['requestBody']['content']['application/json'];
export type PagesUnlikeErrors = _Operations_EndpointsErrors['pages___unlike'][keyof _Operations_EndpointsErrors['pages___unlike']];
export type PagesUpdateRequest = operations['pages___update']['requestBody']['content']['application/json']; export type PagesUpdateRequest = operations['pages___update']['requestBody']['content']['application/json'];
export type PagesUpdateErrors = _Operations_EndpointsErrors['pages___update'][keyof _Operations_EndpointsErrors['pages___update']];
export type FlashCreateRequest = operations['flash___create']['requestBody']['content']['application/json']; export type FlashCreateRequest = operations['flash___create']['requestBody']['content']['application/json'];
export type FlashCreateResponse = operations['flash___create']['responses']['200']['content']['application/json']; export type FlashCreateResponse = operations['flash___create']['responses']['200']['content']['application/json'];
export type FlashCreateErrors = _Operations_EndpointsErrors['flash___create'][keyof _Operations_EndpointsErrors['flash___create']];
export type FlashDeleteRequest = operations['flash___delete']['requestBody']['content']['application/json']; export type FlashDeleteRequest = operations['flash___delete']['requestBody']['content']['application/json'];
export type FlashDeleteErrors = _Operations_EndpointsErrors['flash___delete'][keyof _Operations_EndpointsErrors['flash___delete']];
export type FlashFeaturedResponse = operations['flash___featured']['responses']['200']['content']['application/json']; export type FlashFeaturedResponse = operations['flash___featured']['responses']['200']['content']['application/json'];
export type FlashFeaturedErrors = _Operations_EndpointsErrors['flash___featured'][keyof _Operations_EndpointsErrors['flash___featured']];
export type FlashLikeRequest = operations['flash___like']['requestBody']['content']['application/json']; export type FlashLikeRequest = operations['flash___like']['requestBody']['content']['application/json'];
export type FlashLikeErrors = _Operations_EndpointsErrors['flash___like'][keyof _Operations_EndpointsErrors['flash___like']];
export type FlashShowRequest = operations['flash___show']['requestBody']['content']['application/json']; export type FlashShowRequest = operations['flash___show']['requestBody']['content']['application/json'];
export type FlashShowResponse = operations['flash___show']['responses']['200']['content']['application/json']; export type FlashShowResponse = operations['flash___show']['responses']['200']['content']['application/json'];
export type FlashShowErrors = _Operations_EndpointsErrors['flash___show'][keyof _Operations_EndpointsErrors['flash___show']];
export type FlashUnlikeRequest = operations['flash___unlike']['requestBody']['content']['application/json']; export type FlashUnlikeRequest = operations['flash___unlike']['requestBody']['content']['application/json'];
export type FlashUnlikeErrors = _Operations_EndpointsErrors['flash___unlike'][keyof _Operations_EndpointsErrors['flash___unlike']];
export type FlashUpdateRequest = operations['flash___update']['requestBody']['content']['application/json']; export type FlashUpdateRequest = operations['flash___update']['requestBody']['content']['application/json'];
export type FlashUpdateErrors = _Operations_EndpointsErrors['flash___update'][keyof _Operations_EndpointsErrors['flash___update']];
export type FlashMyRequest = operations['flash___my']['requestBody']['content']['application/json']; export type FlashMyRequest = operations['flash___my']['requestBody']['content']['application/json'];
export type FlashMyResponse = operations['flash___my']['responses']['200']['content']['application/json']; export type FlashMyResponse = operations['flash___my']['responses']['200']['content']['application/json'];
export type FlashMyErrors = _Operations_EndpointsErrors['flash___my'][keyof _Operations_EndpointsErrors['flash___my']];
export type FlashMyLikesRequest = operations['flash___my-likes']['requestBody']['content']['application/json']; export type FlashMyLikesRequest = operations['flash___my-likes']['requestBody']['content']['application/json'];
export type FlashMyLikesResponse = operations['flash___my-likes']['responses']['200']['content']['application/json']; export type FlashMyLikesResponse = operations['flash___my-likes']['responses']['200']['content']['application/json'];
export type FlashMyLikesErrors = _Operations_EndpointsErrors['flash___my-likes'][keyof _Operations_EndpointsErrors['flash___my-likes']];
export type PingResponse = operations['ping']['responses']['200']['content']['application/json']; export type PingResponse = operations['ping']['responses']['200']['content']['application/json'];
export type PingErrors = _Operations_EndpointsErrors['ping'][keyof _Operations_EndpointsErrors['ping']];
export type PinnedUsersResponse = operations['pinned-users']['responses']['200']['content']['application/json']; export type PinnedUsersResponse = operations['pinned-users']['responses']['200']['content']['application/json'];
export type PinnedUsersErrors = _Operations_EndpointsErrors['pinned-users'][keyof _Operations_EndpointsErrors['pinned-users']];
export type PromoReadRequest = operations['promo___read']['requestBody']['content']['application/json']; export type PromoReadRequest = operations['promo___read']['requestBody']['content']['application/json'];
export type PromoReadErrors = _Operations_EndpointsErrors['promo___read'][keyof _Operations_EndpointsErrors['promo___read']];
export type RolesListResponse = operations['roles___list']['responses']['200']['content']['application/json']; export type RolesListResponse = operations['roles___list']['responses']['200']['content']['application/json'];
export type RolesListErrors = _Operations_EndpointsErrors['roles___list'][keyof _Operations_EndpointsErrors['roles___list']];
export type RolesShowRequest = operations['roles___show']['requestBody']['content']['application/json']; export type RolesShowRequest = operations['roles___show']['requestBody']['content']['application/json'];
export type RolesShowResponse = operations['roles___show']['responses']['200']['content']['application/json']; export type RolesShowResponse = operations['roles___show']['responses']['200']['content']['application/json'];
export type RolesShowErrors = _Operations_EndpointsErrors['roles___show'][keyof _Operations_EndpointsErrors['roles___show']];
export type RolesUsersRequest = operations['roles___users']['requestBody']['content']['application/json']; export type RolesUsersRequest = operations['roles___users']['requestBody']['content']['application/json'];
export type RolesUsersResponse = operations['roles___users']['responses']['200']['content']['application/json']; export type RolesUsersResponse = operations['roles___users']['responses']['200']['content']['application/json'];
export type RolesUsersErrors = _Operations_EndpointsErrors['roles___users'][keyof _Operations_EndpointsErrors['roles___users']];
export type RolesNotesRequest = operations['roles___notes']['requestBody']['content']['application/json']; export type RolesNotesRequest = operations['roles___notes']['requestBody']['content']['application/json'];
export type RolesNotesResponse = operations['roles___notes']['responses']['200']['content']['application/json']; export type RolesNotesResponse = operations['roles___notes']['responses']['200']['content']['application/json'];
export type RolesNotesErrors = _Operations_EndpointsErrors['roles___notes'][keyof _Operations_EndpointsErrors['roles___notes']];
export type RequestResetPasswordRequest = operations['request-reset-password']['requestBody']['content']['application/json']; export type RequestResetPasswordRequest = operations['request-reset-password']['requestBody']['content']['application/json'];
export type RequestResetPasswordErrors = _Operations_EndpointsErrors['request-reset-password'][keyof _Operations_EndpointsErrors['request-reset-password']];
export type ResetDbErrors = _Operations_EndpointsErrors['reset-db'][keyof _Operations_EndpointsErrors['reset-db']];
export type ResetPasswordRequest = operations['reset-password']['requestBody']['content']['application/json']; export type ResetPasswordRequest = operations['reset-password']['requestBody']['content']['application/json'];
export type ResetPasswordErrors = _Operations_EndpointsErrors['reset-password'][keyof _Operations_EndpointsErrors['reset-password']];
export type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json']; export type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json'];
export type ServerInfoErrors = _Operations_EndpointsErrors['server-info'][keyof _Operations_EndpointsErrors['server-info']];
export type StatsResponse = operations['stats']['responses']['200']['content']['application/json']; export type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
export type StatsErrors = _Operations_EndpointsErrors['stats'][keyof _Operations_EndpointsErrors['stats']];
export type SwShowRegistrationRequest = operations['sw___show-registration']['requestBody']['content']['application/json']; export type SwShowRegistrationRequest = operations['sw___show-registration']['requestBody']['content']['application/json'];
export type SwShowRegistrationResponse = operations['sw___show-registration']['responses']['200']['content']['application/json']; export type SwShowRegistrationResponse = operations['sw___show-registration']['responses']['200']['content']['application/json'];
export type SwShowRegistrationErrors = _Operations_EndpointsErrors['sw___show-registration'][keyof _Operations_EndpointsErrors['sw___show-registration']];
export type SwUpdateRegistrationRequest = operations['sw___update-registration']['requestBody']['content']['application/json']; export type SwUpdateRegistrationRequest = operations['sw___update-registration']['requestBody']['content']['application/json'];
export type SwUpdateRegistrationResponse = operations['sw___update-registration']['responses']['200']['content']['application/json']; export type SwUpdateRegistrationResponse = operations['sw___update-registration']['responses']['200']['content']['application/json'];
export type SwUpdateRegistrationErrors = _Operations_EndpointsErrors['sw___update-registration'][keyof _Operations_EndpointsErrors['sw___update-registration']];
export type SwRegisterRequest = operations['sw___register']['requestBody']['content']['application/json']; export type SwRegisterRequest = operations['sw___register']['requestBody']['content']['application/json'];
export type SwRegisterResponse = operations['sw___register']['responses']['200']['content']['application/json']; export type SwRegisterResponse = operations['sw___register']['responses']['200']['content']['application/json'];
export type SwRegisterErrors = _Operations_EndpointsErrors['sw___register'][keyof _Operations_EndpointsErrors['sw___register']];
export type SwUnregisterRequest = operations['sw___unregister']['requestBody']['content']['application/json']; export type SwUnregisterRequest = operations['sw___unregister']['requestBody']['content']['application/json'];
export type SwUnregisterErrors = _Operations_EndpointsErrors['sw___unregister'][keyof _Operations_EndpointsErrors['sw___unregister']];
export type TestRequest = operations['test']['requestBody']['content']['application/json']; export type TestRequest = operations['test']['requestBody']['content']['application/json'];
export type TestResponse = operations['test']['responses']['200']['content']['application/json']; export type TestResponse = operations['test']['responses']['200']['content']['application/json'];
export type TestErrors = _Operations_EndpointsErrors['test'][keyof _Operations_EndpointsErrors['test']];
export type UsernameAvailableRequest = operations['username___available']['requestBody']['content']['application/json']; export type UsernameAvailableRequest = operations['username___available']['requestBody']['content']['application/json'];
export type UsernameAvailableResponse = operations['username___available']['responses']['200']['content']['application/json']; export type UsernameAvailableResponse = operations['username___available']['responses']['200']['content']['application/json'];
export type UsernameAvailableErrors = _Operations_EndpointsErrors['username___available'][keyof _Operations_EndpointsErrors['username___available']];
export type UsersRequest = operations['users']['requestBody']['content']['application/json']; export type UsersRequest = operations['users']['requestBody']['content']['application/json'];
export type UsersResponse = operations['users']['responses']['200']['content']['application/json']; export type UsersResponse = operations['users']['responses']['200']['content']['application/json'];
export type UsersErrors = _Operations_EndpointsErrors['users'][keyof _Operations_EndpointsErrors['users']];
export type UsersClipsRequest = operations['users___clips']['requestBody']['content']['application/json']; export type UsersClipsRequest = operations['users___clips']['requestBody']['content']['application/json'];
export type UsersClipsResponse = operations['users___clips']['responses']['200']['content']['application/json']; export type UsersClipsResponse = operations['users___clips']['responses']['200']['content']['application/json'];
export type UsersClipsErrors = _Operations_EndpointsErrors['users___clips'][keyof _Operations_EndpointsErrors['users___clips']];
export type UsersFollowersRequest = operations['users___followers']['requestBody']['content']['application/json']; export type UsersFollowersRequest = operations['users___followers']['requestBody']['content']['application/json'];
export type UsersFollowersResponse = operations['users___followers']['responses']['200']['content']['application/json']; export type UsersFollowersResponse = operations['users___followers']['responses']['200']['content']['application/json'];
export type UsersFollowersErrors = _Operations_EndpointsErrors['users___followers'][keyof _Operations_EndpointsErrors['users___followers']];
export type UsersFollowingRequest = operations['users___following']['requestBody']['content']['application/json']; export type UsersFollowingRequest = operations['users___following']['requestBody']['content']['application/json'];
export type UsersFollowingResponse = operations['users___following']['responses']['200']['content']['application/json']; export type UsersFollowingResponse = operations['users___following']['responses']['200']['content']['application/json'];
export type UsersFollowingErrors = _Operations_EndpointsErrors['users___following'][keyof _Operations_EndpointsErrors['users___following']];
export type UsersGalleryPostsRequest = operations['users___gallery___posts']['requestBody']['content']['application/json']; export type UsersGalleryPostsRequest = operations['users___gallery___posts']['requestBody']['content']['application/json'];
export type UsersGalleryPostsResponse = operations['users___gallery___posts']['responses']['200']['content']['application/json']; export type UsersGalleryPostsResponse = operations['users___gallery___posts']['responses']['200']['content']['application/json'];
export type UsersGalleryPostsErrors = _Operations_EndpointsErrors['users___gallery___posts'][keyof _Operations_EndpointsErrors['users___gallery___posts']];
export type UsersGetFrequentlyRepliedUsersRequest = operations['users___get-frequently-replied-users']['requestBody']['content']['application/json']; export type UsersGetFrequentlyRepliedUsersRequest = operations['users___get-frequently-replied-users']['requestBody']['content']['application/json'];
export type UsersGetFrequentlyRepliedUsersResponse = operations['users___get-frequently-replied-users']['responses']['200']['content']['application/json']; export type UsersGetFrequentlyRepliedUsersResponse = operations['users___get-frequently-replied-users']['responses']['200']['content']['application/json'];
export type UsersGetFrequentlyRepliedUsersErrors = _Operations_EndpointsErrors['users___get-frequently-replied-users'][keyof _Operations_EndpointsErrors['users___get-frequently-replied-users']];
export type UsersFeaturedNotesRequest = operations['users___featured-notes']['requestBody']['content']['application/json']; export type UsersFeaturedNotesRequest = operations['users___featured-notes']['requestBody']['content']['application/json'];
export type UsersFeaturedNotesResponse = operations['users___featured-notes']['responses']['200']['content']['application/json']; export type UsersFeaturedNotesResponse = operations['users___featured-notes']['responses']['200']['content']['application/json'];
export type UsersFeaturedNotesErrors = _Operations_EndpointsErrors['users___featured-notes'][keyof _Operations_EndpointsErrors['users___featured-notes']];
export type UsersListsCreateRequest = operations['users___lists___create']['requestBody']['content']['application/json']; export type UsersListsCreateRequest = operations['users___lists___create']['requestBody']['content']['application/json'];
export type UsersListsCreateResponse = operations['users___lists___create']['responses']['200']['content']['application/json']; export type UsersListsCreateResponse = operations['users___lists___create']['responses']['200']['content']['application/json'];
export type UsersListsCreateErrors = _Operations_EndpointsErrors['users___lists___create'][keyof _Operations_EndpointsErrors['users___lists___create']];
export type UsersListsDeleteRequest = operations['users___lists___delete']['requestBody']['content']['application/json']; export type UsersListsDeleteRequest = operations['users___lists___delete']['requestBody']['content']['application/json'];
export type UsersListsDeleteErrors = _Operations_EndpointsErrors['users___lists___delete'][keyof _Operations_EndpointsErrors['users___lists___delete']];
export type UsersListsListRequest = operations['users___lists___list']['requestBody']['content']['application/json']; export type UsersListsListRequest = operations['users___lists___list']['requestBody']['content']['application/json'];
export type UsersListsListResponse = operations['users___lists___list']['responses']['200']['content']['application/json']; export type UsersListsListResponse = operations['users___lists___list']['responses']['200']['content']['application/json'];
export type UsersListsListErrors = _Operations_EndpointsErrors['users___lists___list'][keyof _Operations_EndpointsErrors['users___lists___list']];
export type UsersListsPullRequest = operations['users___lists___pull']['requestBody']['content']['application/json']; export type UsersListsPullRequest = operations['users___lists___pull']['requestBody']['content']['application/json'];
export type UsersListsPullErrors = _Operations_EndpointsErrors['users___lists___pull'][keyof _Operations_EndpointsErrors['users___lists___pull']];
export type UsersListsPushRequest = operations['users___lists___push']['requestBody']['content']['application/json']; export type UsersListsPushRequest = operations['users___lists___push']['requestBody']['content']['application/json'];
export type UsersListsPushErrors = _Operations_EndpointsErrors['users___lists___push'][keyof _Operations_EndpointsErrors['users___lists___push']];
export type UsersListsShowRequest = operations['users___lists___show']['requestBody']['content']['application/json']; export type UsersListsShowRequest = operations['users___lists___show']['requestBody']['content']['application/json'];
export type UsersListsShowResponse = operations['users___lists___show']['responses']['200']['content']['application/json']; export type UsersListsShowResponse = operations['users___lists___show']['responses']['200']['content']['application/json'];
export type UsersListsShowErrors = _Operations_EndpointsErrors['users___lists___show'][keyof _Operations_EndpointsErrors['users___lists___show']];
export type UsersListsFavoriteRequest = operations['users___lists___favorite']['requestBody']['content']['application/json']; export type UsersListsFavoriteRequest = operations['users___lists___favorite']['requestBody']['content']['application/json'];
export type UsersListsFavoriteErrors = _Operations_EndpointsErrors['users___lists___favorite'][keyof _Operations_EndpointsErrors['users___lists___favorite']];
export type UsersListsUnfavoriteRequest = operations['users___lists___unfavorite']['requestBody']['content']['application/json']; export type UsersListsUnfavoriteRequest = operations['users___lists___unfavorite']['requestBody']['content']['application/json'];
export type UsersListsUnfavoriteErrors = _Operations_EndpointsErrors['users___lists___unfavorite'][keyof _Operations_EndpointsErrors['users___lists___unfavorite']];
export type UsersListsUpdateRequest = operations['users___lists___update']['requestBody']['content']['application/json']; export type UsersListsUpdateRequest = operations['users___lists___update']['requestBody']['content']['application/json'];
export type UsersListsUpdateResponse = operations['users___lists___update']['responses']['200']['content']['application/json']; export type UsersListsUpdateResponse = operations['users___lists___update']['responses']['200']['content']['application/json'];
export type UsersListsUpdateErrors = _Operations_EndpointsErrors['users___lists___update'][keyof _Operations_EndpointsErrors['users___lists___update']];
export type UsersListsCreateFromPublicRequest = operations['users___lists___create-from-public']['requestBody']['content']['application/json']; export type UsersListsCreateFromPublicRequest = operations['users___lists___create-from-public']['requestBody']['content']['application/json'];
export type UsersListsCreateFromPublicResponse = operations['users___lists___create-from-public']['responses']['200']['content']['application/json']; export type UsersListsCreateFromPublicResponse = operations['users___lists___create-from-public']['responses']['200']['content']['application/json'];
export type UsersListsCreateFromPublicErrors = _Operations_EndpointsErrors['users___lists___create-from-public'][keyof _Operations_EndpointsErrors['users___lists___create-from-public']];
export type UsersListsUpdateMembershipRequest = operations['users___lists___update-membership']['requestBody']['content']['application/json']; export type UsersListsUpdateMembershipRequest = operations['users___lists___update-membership']['requestBody']['content']['application/json'];
export type UsersListsUpdateMembershipErrors = _Operations_EndpointsErrors['users___lists___update-membership'][keyof _Operations_EndpointsErrors['users___lists___update-membership']];
export type UsersListsGetMembershipsRequest = operations['users___lists___get-memberships']['requestBody']['content']['application/json']; export type UsersListsGetMembershipsRequest = operations['users___lists___get-memberships']['requestBody']['content']['application/json'];
export type UsersListsGetMembershipsResponse = operations['users___lists___get-memberships']['responses']['200']['content']['application/json']; export type UsersListsGetMembershipsResponse = operations['users___lists___get-memberships']['responses']['200']['content']['application/json'];
export type UsersListsGetMembershipsErrors = _Operations_EndpointsErrors['users___lists___get-memberships'][keyof _Operations_EndpointsErrors['users___lists___get-memberships']];
export type UsersNotesRequest = operations['users___notes']['requestBody']['content']['application/json']; export type UsersNotesRequest = operations['users___notes']['requestBody']['content']['application/json'];
export type UsersNotesResponse = operations['users___notes']['responses']['200']['content']['application/json']; export type UsersNotesResponse = operations['users___notes']['responses']['200']['content']['application/json'];
export type UsersNotesErrors = _Operations_EndpointsErrors['users___notes'][keyof _Operations_EndpointsErrors['users___notes']];
export type UsersPagesRequest = operations['users___pages']['requestBody']['content']['application/json']; export type UsersPagesRequest = operations['users___pages']['requestBody']['content']['application/json'];
export type UsersPagesResponse = operations['users___pages']['responses']['200']['content']['application/json']; export type UsersPagesResponse = operations['users___pages']['responses']['200']['content']['application/json'];
export type UsersPagesErrors = _Operations_EndpointsErrors['users___pages'][keyof _Operations_EndpointsErrors['users___pages']];
export type UsersFlashsRequest = operations['users___flashs']['requestBody']['content']['application/json']; export type UsersFlashsRequest = operations['users___flashs']['requestBody']['content']['application/json'];
export type UsersFlashsResponse = operations['users___flashs']['responses']['200']['content']['application/json']; export type UsersFlashsResponse = operations['users___flashs']['responses']['200']['content']['application/json'];
export type UsersFlashsErrors = _Operations_EndpointsErrors['users___flashs'][keyof _Operations_EndpointsErrors['users___flashs']];
export type UsersReactionsRequest = operations['users___reactions']['requestBody']['content']['application/json']; export type UsersReactionsRequest = operations['users___reactions']['requestBody']['content']['application/json'];
export type UsersReactionsResponse = operations['users___reactions']['responses']['200']['content']['application/json']; export type UsersReactionsResponse = operations['users___reactions']['responses']['200']['content']['application/json'];
export type UsersReactionsErrors = _Operations_EndpointsErrors['users___reactions'][keyof _Operations_EndpointsErrors['users___reactions']];
export type UsersRecommendationRequest = operations['users___recommendation']['requestBody']['content']['application/json']; export type UsersRecommendationRequest = operations['users___recommendation']['requestBody']['content']['application/json'];
export type UsersRecommendationResponse = operations['users___recommendation']['responses']['200']['content']['application/json']; export type UsersRecommendationResponse = operations['users___recommendation']['responses']['200']['content']['application/json'];
export type UsersRecommendationErrors = _Operations_EndpointsErrors['users___recommendation'][keyof _Operations_EndpointsErrors['users___recommendation']];
export type UsersRelationRequest = operations['users___relation']['requestBody']['content']['application/json']; export type UsersRelationRequest = operations['users___relation']['requestBody']['content']['application/json'];
export type UsersRelationResponse = operations['users___relation']['responses']['200']['content']['application/json']; export type UsersRelationResponse = operations['users___relation']['responses']['200']['content']['application/json'];
export type UsersRelationErrors = _Operations_EndpointsErrors['users___relation'][keyof _Operations_EndpointsErrors['users___relation']];
export type UsersReportAbuseRequest = operations['users___report-abuse']['requestBody']['content']['application/json']; export type UsersReportAbuseRequest = operations['users___report-abuse']['requestBody']['content']['application/json'];
export type UsersReportAbuseErrors = _Operations_EndpointsErrors['users___report-abuse'][keyof _Operations_EndpointsErrors['users___report-abuse']];
export type UsersSearchByUsernameAndHostRequest = operations['users___search-by-username-and-host']['requestBody']['content']['application/json']; export type UsersSearchByUsernameAndHostRequest = operations['users___search-by-username-and-host']['requestBody']['content']['application/json'];
export type UsersSearchByUsernameAndHostResponse = operations['users___search-by-username-and-host']['responses']['200']['content']['application/json']; export type UsersSearchByUsernameAndHostResponse = operations['users___search-by-username-and-host']['responses']['200']['content']['application/json'];
export type UsersSearchByUsernameAndHostErrors = _Operations_EndpointsErrors['users___search-by-username-and-host'][keyof _Operations_EndpointsErrors['users___search-by-username-and-host']];
export type UsersSearchRequest = operations['users___search']['requestBody']['content']['application/json']; export type UsersSearchRequest = operations['users___search']['requestBody']['content']['application/json'];
export type UsersSearchResponse = operations['users___search']['responses']['200']['content']['application/json']; export type UsersSearchResponse = operations['users___search']['responses']['200']['content']['application/json'];
export type UsersSearchErrors = _Operations_EndpointsErrors['users___search'][keyof _Operations_EndpointsErrors['users___search']];
export type UsersShowRequest = operations['users___show']['requestBody']['content']['application/json']; export type UsersShowRequest = operations['users___show']['requestBody']['content']['application/json'];
export type UsersShowResponse = operations['users___show']['responses']['200']['content']['application/json']; export type UsersShowResponse = operations['users___show']['responses']['200']['content']['application/json'];
export type UsersShowErrors = _Operations_EndpointsErrors['users___show'][keyof _Operations_EndpointsErrors['users___show']];
export type UsersAchievementsRequest = operations['users___achievements']['requestBody']['content']['application/json']; export type UsersAchievementsRequest = operations['users___achievements']['requestBody']['content']['application/json'];
export type UsersAchievementsResponse = operations['users___achievements']['responses']['200']['content']['application/json']; export type UsersAchievementsResponse = operations['users___achievements']['responses']['200']['content']['application/json'];
export type UsersAchievementsErrors = _Operations_EndpointsErrors['users___achievements'][keyof _Operations_EndpointsErrors['users___achievements']];
export type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['content']['application/json']; export type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['content']['application/json'];
export type UsersUpdateMemoErrors = _Operations_EndpointsErrors['users___update-memo'][keyof _Operations_EndpointsErrors['users___update-memo']];
export type FetchRssRequest = operations['fetch-rss']['requestBody']['content']['application/json']; export type FetchRssRequest = operations['fetch-rss']['requestBody']['content']['application/json'];
export type FetchRssResponse = operations['fetch-rss']['responses']['200']['content']['application/json']; export type FetchRssResponse = operations['fetch-rss']['responses']['200']['content']['application/json'];
export type FetchRssErrors = _Operations_EndpointsErrors['fetch-rss'][keyof _Operations_EndpointsErrors['fetch-rss']];
export type FetchExternalResourcesRequest = operations['fetch-external-resources']['requestBody']['content']['application/json']; export type FetchExternalResourcesRequest = operations['fetch-external-resources']['requestBody']['content']['application/json'];
export type FetchExternalResourcesResponse = operations['fetch-external-resources']['responses']['200']['content']['application/json']; export type FetchExternalResourcesResponse = operations['fetch-external-resources']['responses']['200']['content']['application/json'];
export type FetchExternalResourcesErrors = _Operations_EndpointsErrors['fetch-external-resources'][keyof _Operations_EndpointsErrors['fetch-external-resources']];
export type RetentionResponse = operations['retention']['responses']['200']['content']['application/json']; export type RetentionResponse = operations['retention']['responses']['200']['content']['application/json'];
export type RetentionErrors = _Operations_EndpointsErrors['retention'][keyof _Operations_EndpointsErrors['retention']];
export type BubbleGameRegisterRequest = operations['bubble-game___register']['requestBody']['content']['application/json']; export type BubbleGameRegisterRequest = operations['bubble-game___register']['requestBody']['content']['application/json'];
export type BubbleGameRegisterErrors = _Operations_EndpointsErrors['bubble-game___register'][keyof _Operations_EndpointsErrors['bubble-game___register']];
export type BubbleGameRankingRequest = operations['bubble-game___ranking']['requestBody']['content']['application/json']; export type BubbleGameRankingRequest = operations['bubble-game___ranking']['requestBody']['content']['application/json'];
export type BubbleGameRankingResponse = operations['bubble-game___ranking']['responses']['200']['content']['application/json']; export type BubbleGameRankingResponse = operations['bubble-game___ranking']['responses']['200']['content']['application/json'];
export type BubbleGameRankingErrors = _Operations_EndpointsErrors['bubble-game___ranking'][keyof _Operations_EndpointsErrors['bubble-game___ranking']];
export type ReversiCancelMatchRequest = operations['reversi___cancel-match']['requestBody']['content']['application/json']; export type ReversiCancelMatchRequest = operations['reversi___cancel-match']['requestBody']['content']['application/json'];
export type ReversiCancelMatchErrors = _Operations_EndpointsErrors['reversi___cancel-match'][keyof _Operations_EndpointsErrors['reversi___cancel-match']];
export type ReversiGamesRequest = operations['reversi___games']['requestBody']['content']['application/json']; export type ReversiGamesRequest = operations['reversi___games']['requestBody']['content']['application/json'];
export type ReversiGamesResponse = operations['reversi___games']['responses']['200']['content']['application/json']; export type ReversiGamesResponse = operations['reversi___games']['responses']['200']['content']['application/json'];
export type ReversiGamesErrors = _Operations_EndpointsErrors['reversi___games'][keyof _Operations_EndpointsErrors['reversi___games']];
export type ReversiMatchRequest = operations['reversi___match']['requestBody']['content']['application/json']; export type ReversiMatchRequest = operations['reversi___match']['requestBody']['content']['application/json'];
export type ReversiMatchResponse = operations['reversi___match']['responses']['200']['content']['application/json']; export type ReversiMatchResponse = operations['reversi___match']['responses']['200']['content']['application/json'];
export type ReversiMatchErrors = _Operations_EndpointsErrors['reversi___match'][keyof _Operations_EndpointsErrors['reversi___match']];
export type ReversiInvitationsResponse = operations['reversi___invitations']['responses']['200']['content']['application/json']; export type ReversiInvitationsResponse = operations['reversi___invitations']['responses']['200']['content']['application/json'];
export type ReversiInvitationsErrors = _Operations_EndpointsErrors['reversi___invitations'][keyof _Operations_EndpointsErrors['reversi___invitations']];
export type ReversiShowGameRequest = operations['reversi___show-game']['requestBody']['content']['application/json']; export type ReversiShowGameRequest = operations['reversi___show-game']['requestBody']['content']['application/json'];
export type ReversiShowGameResponse = operations['reversi___show-game']['responses']['200']['content']['application/json']; export type ReversiShowGameResponse = operations['reversi___show-game']['responses']['200']['content']['application/json'];
export type ReversiShowGameErrors = _Operations_EndpointsErrors['reversi___show-game'][keyof _Operations_EndpointsErrors['reversi___show-game']];
export type ReversiSurrenderRequest = operations['reversi___surrender']['requestBody']['content']['application/json']; export type ReversiSurrenderRequest = operations['reversi___surrender']['requestBody']['content']['application/json'];
export type ReversiSurrenderErrors = _Operations_EndpointsErrors['reversi___surrender'][keyof _Operations_EndpointsErrors['reversi___surrender']];
export type ReversiVerifyRequest = operations['reversi___verify']['requestBody']['content']['application/json']; export type ReversiVerifyRequest = operations['reversi___verify']['requestBody']['content']['application/json'];
export type ReversiVerifyResponse = operations['reversi___verify']['responses']['200']['content']['application/json']; export type ReversiVerifyResponse = operations['reversi___verify']['responses']['200']['content']['application/json'];
export type ReversiVerifyErrors = _Operations_EndpointsErrors['reversi___verify'][keyof _Operations_EndpointsErrors['reversi___verify']];

View File

@ -226,6 +226,18 @@ export type SignupPendingResponse = {
i: string, i: string,
}; };
export type SignupErrors = {
message: 'DUPLICATED_USERNAME',
code: 400,
} | {
message: 'USED_USERNAME',
code: 400,
} | {
message: 'DENIED_USERNAME',
code: 400,
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
} | Record<string, any>;
export type SigninRequest = { export type SigninRequest = {
username: string; username: string;
password: string; password: string;
@ -236,3 +248,21 @@ export type SigninResponse = {
id: User['id'], id: User['id'],
i: string, i: string,
}; };
export type SigninErrors = {
message: 'Too many failed attempts to sign in. Try again later.',
code: 'TOO_MANY_AUTHENTICATION_FAILURES',
id: '22d05606-fbcf-421a-a2db-b32610dcfd1b',
} | {
id: '6cc579cc-885d-43d8-95c2-b8c7fc963280', // User not found
} | {
id: 'e03a5f46-d309-4865-9b69-56282d94e1eb', // User is suspended
} | {
id: '4e30e80c-e338-45a0-8c8f-44455efa3b76', // Internal server error
} | {
id: '932c904e-9460-45b7-9ce6-7ed33be7eb2c', // Invalid credentials
} | {
id: 'cdf1235b-ac71-46d4-a3a6-84ccce48df6f', // Invalid one-time password
} | {
id: '93b86c4b-72f9-40eb-9815-798928603d1e', // Invalid passkey credential
};