wip
This commit is contained in:
parent
668fd7b4cd
commit
6c45aeec32
|
@ -1956,6 +1956,8 @@ declare namespace entities {
|
||||||
NotesSearchByTagResponse,
|
NotesSearchByTagResponse,
|
||||||
NotesShowRequest,
|
NotesShowRequest,
|
||||||
NotesShowResponse,
|
NotesShowResponse,
|
||||||
|
NotesShowPartialBulkRequest,
|
||||||
|
NotesShowPartialBulkResponse,
|
||||||
NotesStateRequest,
|
NotesStateRequest,
|
||||||
NotesStateResponse,
|
NotesStateResponse,
|
||||||
NotesThreadMutingCreateRequest,
|
NotesThreadMutingCreateRequest,
|
||||||
|
@ -3050,6 +3052,12 @@ type NotesSearchRequest = operations['notes___search']['requestBody']['content']
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type NotesSearchResponse = operations['notes___search']['responses']['200']['content']['application/json'];
|
type NotesSearchResponse = operations['notes___search']['responses']['200']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
type NotesShowPartialBulkRequest = operations['notes___show-partial-bulk']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
// @public (undocumented)
|
||||||
|
type NotesShowPartialBulkResponse = operations['notes___show-partial-bulk']['responses']['200']['content']['application/json'];
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
type NotesShowRequest = operations['notes___show']['requestBody']['content']['application/json'];
|
type NotesShowRequest = operations['notes___show']['requestBody']['content']['application/json'];
|
||||||
|
|
||||||
|
|
|
@ -3758,6 +3758,17 @@ declare module '../api.js' {
|
||||||
credential?: string | null,
|
credential?: string | null,
|
||||||
): Promise<SwitchCaseResponseType<E, P>>;
|
): Promise<SwitchCaseResponseType<E, P>>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *No*
|
||||||
|
*/
|
||||||
|
request<E extends 'notes/show-partial-bulk', P extends Endpoints[E]['req']>(
|
||||||
|
endpoint: E,
|
||||||
|
params: P,
|
||||||
|
credential?: string | null,
|
||||||
|
): Promise<SwitchCaseResponseType<E, P>>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* No description provided.
|
* No description provided.
|
||||||
*
|
*
|
||||||
|
|
|
@ -512,6 +512,8 @@ import type {
|
||||||
NotesSearchByTagResponse,
|
NotesSearchByTagResponse,
|
||||||
NotesShowRequest,
|
NotesShowRequest,
|
||||||
NotesShowResponse,
|
NotesShowResponse,
|
||||||
|
NotesShowPartialBulkRequest,
|
||||||
|
NotesShowPartialBulkResponse,
|
||||||
NotesStateRequest,
|
NotesStateRequest,
|
||||||
NotesStateResponse,
|
NotesStateResponse,
|
||||||
NotesThreadMutingCreateRequest,
|
NotesThreadMutingCreateRequest,
|
||||||
|
@ -971,6 +973,7 @@ export type Endpoints = {
|
||||||
'notes/search': { req: NotesSearchRequest; res: NotesSearchResponse };
|
'notes/search': { req: NotesSearchRequest; res: NotesSearchResponse };
|
||||||
'notes/search-by-tag': { req: NotesSearchByTagRequest; res: NotesSearchByTagResponse };
|
'notes/search-by-tag': { req: NotesSearchByTagRequest; res: NotesSearchByTagResponse };
|
||||||
'notes/show': { req: NotesShowRequest; res: NotesShowResponse };
|
'notes/show': { req: NotesShowRequest; res: NotesShowResponse };
|
||||||
|
'notes/show-partial-bulk': { req: NotesShowPartialBulkRequest; res: NotesShowPartialBulkResponse };
|
||||||
'notes/state': { req: NotesStateRequest; res: NotesStateResponse };
|
'notes/state': { req: NotesStateRequest; res: NotesStateResponse };
|
||||||
'notes/thread-muting/create': { req: NotesThreadMutingCreateRequest; res: EmptyResponse };
|
'notes/thread-muting/create': { req: NotesThreadMutingCreateRequest; res: EmptyResponse };
|
||||||
'notes/thread-muting/delete': { req: NotesThreadMutingDeleteRequest; res: EmptyResponse };
|
'notes/thread-muting/delete': { req: NotesThreadMutingDeleteRequest; res: EmptyResponse };
|
||||||
|
|
|
@ -515,6 +515,8 @@ export type NotesSearchByTagRequest = operations['notes___search-by-tag']['reque
|
||||||
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 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 NotesShowPartialBulkRequest = operations['notes___show-partial-bulk']['requestBody']['content']['application/json'];
|
||||||
|
export type NotesShowPartialBulkResponse = operations['notes___show-partial-bulk']['responses']['200']['content']['application/json'];
|
||||||
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 NotesThreadMutingCreateRequest = operations['notes___thread-muting___create']['requestBody']['content']['application/json'];
|
export type NotesThreadMutingCreateRequest = operations['notes___thread-muting___create']['requestBody']['content']['application/json'];
|
||||||
|
|
|
@ -3247,6 +3247,15 @@ export type paths = {
|
||||||
*/
|
*/
|
||||||
post: operations['notes___show'];
|
post: operations['notes___show'];
|
||||||
};
|
};
|
||||||
|
'/notes/show-partial-bulk': {
|
||||||
|
/**
|
||||||
|
* notes/show-partial-bulk
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *No*
|
||||||
|
*/
|
||||||
|
post: operations['notes___show-partial-bulk'];
|
||||||
|
};
|
||||||
'/notes/state': {
|
'/notes/state': {
|
||||||
/**
|
/**
|
||||||
* notes/state
|
* notes/state
|
||||||
|
@ -25736,6 +25745,59 @@ export type operations = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
/**
|
||||||
|
* notes/show-partial-bulk
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *No*
|
||||||
|
*/
|
||||||
|
'notes___show-partial-bulk': {
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
noteIds: string[];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description OK (with results) */
|
||||||
|
200: {
|
||||||
|
content: {
|
||||||
|
'application/json': Record<string, never>[];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
/**
|
/**
|
||||||
* notes/state
|
* notes/state
|
||||||
* @description No description provided.
|
* @description No description provided.
|
||||||
|
|
Loading…
Reference in New Issue