diff --git a/packages/misskey-js/src/autogen/apiClientJSDoc.ts b/packages/misskey-js/src/autogen/apiClientJSDoc.ts index d72547f67b15..884ec52d36fe 100644 --- a/packages/misskey-js/src/autogen/apiClientJSDoc.ts +++ b/packages/misskey-js/src/autogen/apiClientJSDoc.ts @@ -1,6 +1,6 @@ /* * version: 2023.12.1 - * generatedAt: 2023-12-27T14:48:28.593Z + * generatedAt: 2023-12-27T16:11:06.180Z */ import type { SwitchCaseResponseType } from '../api.js'; diff --git a/packages/misskey-js/src/autogen/endpoint.ts b/packages/misskey-js/src/autogen/endpoint.ts index f43079b59463..d7afb5a1fb6d 100644 --- a/packages/misskey-js/src/autogen/endpoint.ts +++ b/packages/misskey-js/src/autogen/endpoint.ts @@ -1,6 +1,6 @@ /* * version: 2023.12.1 - * generatedAt: 2023-12-27T14:48:28.587Z + * generatedAt: 2023-12-27T16:11:06.175Z */ import type { @@ -393,6 +393,7 @@ import type { NotesCreateResponse, NotesDeleteRequest, NotesUpdateRequest, + NotesUpdateResponse, NotesFavoritesCreateRequest, NotesFavoritesDeleteRequest, NotesFeaturedRequest, @@ -805,7 +806,7 @@ export type Endpoints = { 'notes/conversation': { req: NotesConversationRequest; res: NotesConversationResponse }; 'notes/create': { req: NotesCreateRequest; res: NotesCreateResponse }; 'notes/delete': { req: NotesDeleteRequest; res: EmptyResponse }; - 'notes/update': { req: NotesUpdateRequest; res: EmptyResponse }; + 'notes/update': { req: NotesUpdateRequest; res: NotesUpdateResponse }; 'notes/favorites/create': { req: NotesFavoritesCreateRequest; res: EmptyResponse }; 'notes/favorites/delete': { req: NotesFavoritesDeleteRequest; res: EmptyResponse }; 'notes/featured': { req: NotesFeaturedRequest; res: NotesFeaturedResponse }; diff --git a/packages/misskey-js/src/autogen/entities.ts b/packages/misskey-js/src/autogen/entities.ts index bb5bffbf49f7..5d1a8e94e931 100644 --- a/packages/misskey-js/src/autogen/entities.ts +++ b/packages/misskey-js/src/autogen/entities.ts @@ -1,6 +1,6 @@ /* * version: 2023.12.1 - * generatedAt: 2023-12-27T14:48:28.581Z + * generatedAt: 2023-12-27T16:11:06.172Z */ import { operations } from './types.js'; @@ -395,6 +395,7 @@ export type NotesCreateRequest = operations['notes/create']['requestBody']['cont export type NotesCreateResponse = operations['notes/create']['responses']['200']['content']['application/json']; export type NotesDeleteRequest = operations['notes/delete']['requestBody']['content']['application/json']; export type NotesUpdateRequest = operations['notes/update']['requestBody']['content']['application/json']; +export type NotesUpdateResponse = operations['notes/update']['responses']['200']['content']['application/json']; export type NotesFavoritesCreateRequest = operations['notes/favorites/create']['requestBody']['content']['application/json']; export type NotesFavoritesDeleteRequest = operations['notes/favorites/delete']['requestBody']['content']['application/json']; export type NotesFeaturedRequest = operations['notes/featured']['requestBody']['content']['application/json']; diff --git a/packages/misskey-js/src/autogen/models.ts b/packages/misskey-js/src/autogen/models.ts index e2831b26be3f..bce77a7ea206 100644 --- a/packages/misskey-js/src/autogen/models.ts +++ b/packages/misskey-js/src/autogen/models.ts @@ -1,6 +1,6 @@ /* * version: 2023.12.1 - * generatedAt: 2023-12-27T14:48:28.579Z + * generatedAt: 2023-12-27T16:11:06.170Z */ import { components } from './types.js'; diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index 9315e7b4d301..975ae05db0a4 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -3,7 +3,7 @@ /* * version: 2023.12.1 - * generatedAt: 2023-12-27T14:48:28.425Z + * generatedAt: 2023-12-27T16:11:06.000Z */ /** @@ -3766,6 +3766,8 @@ export type components = { createdAt: string; /** Format: date-time */ updatedAt?: string | null; + updatedAtHistory?: string[] | null; + noteEditHistory?: unknown[]; /** Format: date-time */ deletedAt?: string | null; text: string | null; @@ -19753,14 +19755,28 @@ export type operations = { /** Format: misskey:id */ noteId: string; text: string; + fileIds?: string[]; + mediaIds?: string[]; + poll?: ({ + choices: string[]; + multiple?: boolean; + expiresAt?: number | null; + expiredAfter?: number | null; + }) | null; cw: string | null; + /** @default false */ + disableRightClick?: boolean; }; }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + updatedNote: components['schemas']['Note']; + }; + }; }; /** @description Client error */ 400: {