Created
October 17, 2023 19:06
-
-
Save undrcrxwn/4acb4b0d5c6f999617cb73062860a583 to your computer and use it in GitHub Desktop.
index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type RequestResult<Data> = Promise<{ response: Response; data: Data; }>; | |
type ApiV1UsersRegisterPostParams0 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams0 = { "header"?: { "accept": "application/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersRegisterPostResult0 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
/** | |
* Creates a user. | |
*/ | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams0 & ApiV1UsersRegisterPostAddedParams0): ApiV1UsersRegisterPostResult0; | |
type ApiV1UsersRegisterPostParams1 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams1 = { "header"?: { "accept": "application/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1UsersRegisterPostResult1 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams1 & ApiV1UsersRegisterPostAddedParams1): ApiV1UsersRegisterPostResult1; | |
type ApiV1UsersRegisterPostParams2 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams2 = { "header"?: { "accept": "application/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1UsersRegisterPostResult2 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams2 & ApiV1UsersRegisterPostAddedParams2): ApiV1UsersRegisterPostResult2; | |
type ApiV1UsersRegisterPostParams3 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams3 = { "header"?: { "accept": "text/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersRegisterPostResult3 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams3 & ApiV1UsersRegisterPostAddedParams3): ApiV1UsersRegisterPostResult3; | |
type ApiV1UsersRegisterPostParams4 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams4 = { "header"?: { "accept": "text/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1UsersRegisterPostResult4 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams4 & ApiV1UsersRegisterPostAddedParams4): ApiV1UsersRegisterPostResult4; | |
type ApiV1UsersRegisterPostParams5 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams5 = { "header"?: { "accept": "text/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1UsersRegisterPostResult5 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams5 & ApiV1UsersRegisterPostAddedParams5): ApiV1UsersRegisterPostResult5; | |
type ApiV1UsersRegisterPostParams6 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams6 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersRegisterPostResult6 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams6 & ApiV1UsersRegisterPostAddedParams6): ApiV1UsersRegisterPostResult6; | |
type ApiV1UsersRegisterPostParams7 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams7 = { "header"?: { "accept": "application/*+json"; "Content-Type": "application/json"; }; }; | |
type ApiV1UsersRegisterPostResult7 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams7 & ApiV1UsersRegisterPostAddedParams7): ApiV1UsersRegisterPostResult7; | |
type ApiV1UsersRegisterPostParams8 = { "body"?: { "username"?: string; "display_name"?: string; "password"?: string; "avatar_url"?: string; }; }; | |
type ApiV1UsersRegisterPostAddedParams8 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/json"; }; }; | |
type ApiV1UsersRegisterPostResult8 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersRegisterPost(params: ApiV1UsersRegisterPostParams8 & ApiV1UsersRegisterPostAddedParams8): ApiV1UsersRegisterPostResult8; | |
type ApiV1UsersUserIdGetParams0 = { "path": { "userId": string; }; }; | |
type ApiV1UsersUserIdGetAddedParams0 = { "header"?: { "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersUserIdGetResult0 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
/** | |
* Returns user with the specified ID. | |
*/ | |
export function apiV1UsersUserIdGet(params: ApiV1UsersUserIdGetParams0 & ApiV1UsersUserIdGetAddedParams0): ApiV1UsersUserIdGetResult0; | |
type ApiV1UsersUserIdGetParams1 = { "path": { "userId": string; }; }; | |
type ApiV1UsersUserIdGetAddedParams1 = { "header"?: { "Content-Type": "application/json"; }; }; | |
type ApiV1UsersUserIdGetResult1 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdGet(params: ApiV1UsersUserIdGetParams1 & ApiV1UsersUserIdGetAddedParams1): ApiV1UsersUserIdGetResult1; | |
type ApiV1UsersUserIdGetParams2 = { "path": { "userId": string; }; }; | |
type ApiV1UsersUserIdGetAddedParams2 = { "header"?: { "Content-Type": "text/json"; }; }; | |
type ApiV1UsersUserIdGetResult2 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdGet(params: ApiV1UsersUserIdGetParams2 & ApiV1UsersUserIdGetAddedParams2): ApiV1UsersUserIdGetResult2; | |
type ApiV1UsersUserIdPutParams0 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams0 = { "header"?: { "accept": "application/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersUserIdPutResult0 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
/** | |
* Updates user with the specified ID. | |
*/ | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams0 & ApiV1UsersUserIdPutAddedParams0): ApiV1UsersUserIdPutResult0; | |
type ApiV1UsersUserIdPutParams1 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams1 = { "header"?: { "accept": "application/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1UsersUserIdPutResult1 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams1 & ApiV1UsersUserIdPutAddedParams1): ApiV1UsersUserIdPutResult1; | |
type ApiV1UsersUserIdPutParams2 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams2 = { "header"?: { "accept": "application/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1UsersUserIdPutResult2 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams2 & ApiV1UsersUserIdPutAddedParams2): ApiV1UsersUserIdPutResult2; | |
type ApiV1UsersUserIdPutParams3 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams3 = { "header"?: { "accept": "text/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersUserIdPutResult3 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams3 & ApiV1UsersUserIdPutAddedParams3): ApiV1UsersUserIdPutResult3; | |
type ApiV1UsersUserIdPutParams4 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams4 = { "header"?: { "accept": "text/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1UsersUserIdPutResult4 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams4 & ApiV1UsersUserIdPutAddedParams4): ApiV1UsersUserIdPutResult4; | |
type ApiV1UsersUserIdPutParams5 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams5 = { "header"?: { "accept": "text/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1UsersUserIdPutResult5 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams5 & ApiV1UsersUserIdPutAddedParams5): ApiV1UsersUserIdPutResult5; | |
type ApiV1UsersUserIdPutParams6 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams6 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersUserIdPutResult6 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams6 & ApiV1UsersUserIdPutAddedParams6): ApiV1UsersUserIdPutResult6; | |
type ApiV1UsersUserIdPutParams7 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams7 = { "header"?: { "accept": "application/*+json"; "Content-Type": "application/json"; }; }; | |
type ApiV1UsersUserIdPutResult7 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams7 & ApiV1UsersUserIdPutAddedParams7): ApiV1UsersUserIdPutResult7; | |
type ApiV1UsersUserIdPutParams8 = { "path": { "userId": string; }; "body"?: { "username"?: string; "display_name"?: string; "avatar_url"?: string; "old_password"?: string; "new_password"?: string; }; }; | |
type ApiV1UsersUserIdPutAddedParams8 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/json"; }; }; | |
type ApiV1UsersUserIdPutResult8 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersUserIdPut(params: ApiV1UsersUserIdPutParams8 & ApiV1UsersUserIdPutAddedParams8): ApiV1UsersUserIdPutResult8; | |
type ApiV1UsersUserIdDeleteParams0 = { "path": { "userId": string; }; }; | |
type ApiV1UsersUserIdDeleteResult0 = RequestResult<null>; | |
/** | |
* Deletes user with the specified ID. | |
*/ | |
export function apiV1UsersUserIdDelete(params: ApiV1UsersUserIdDeleteParams0): ApiV1UsersUserIdDeleteResult0; | |
type ApiV1UsersResolveGetParams0 = { "query"?: { "username"?: string; }; }; | |
type ApiV1UsersResolveGetAddedParams0 = { "header"?: { "Content-Type": "text/plain"; }; }; | |
type ApiV1UsersResolveGetResult0 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
/** | |
* Returns user with the specified username. | |
*/ | |
export function apiV1UsersResolveGet(params: ApiV1UsersResolveGetParams0 & ApiV1UsersResolveGetAddedParams0): ApiV1UsersResolveGetResult0; | |
type ApiV1UsersResolveGetParams1 = { "query"?: { "username"?: string; }; }; | |
type ApiV1UsersResolveGetAddedParams1 = { "header"?: { "Content-Type": "application/json"; }; }; | |
type ApiV1UsersResolveGetResult1 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersResolveGet(params: ApiV1UsersResolveGetParams1 & ApiV1UsersResolveGetAddedParams1): ApiV1UsersResolveGetResult1; | |
type ApiV1UsersResolveGetParams2 = { "query"?: { "username"?: string; }; }; | |
type ApiV1UsersResolveGetAddedParams2 = { "header"?: { "Content-Type": "text/json"; }; }; | |
type ApiV1UsersResolveGetResult2 = RequestResult<{ "id"?: string; "username"?: string; "display_name"?: string; "avatar_url"?: string; }>; | |
export function apiV1UsersResolveGet(params: ApiV1UsersResolveGetParams2 & ApiV1UsersResolveGetAddedParams2): ApiV1UsersResolveGetResult2; | |
type ApiV1AuthorsAuthorIdGetParams0 = { "path": { "authorId": string; }; }; | |
type ApiV1AuthorsAuthorIdGetAddedParams0 = { "header"?: { "Content-Type": "text/plain"; }; }; | |
type ApiV1AuthorsAuthorIdGetResult0 = RequestResult<{ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }>; | |
/** | |
* Returns author with the specified ID. | |
*/ | |
export function apiV1AuthorsAuthorIdGet(params: ApiV1AuthorsAuthorIdGetParams0 & ApiV1AuthorsAuthorIdGetAddedParams0): ApiV1AuthorsAuthorIdGetResult0; | |
type ApiV1AuthorsAuthorIdGetParams1 = { "path": { "authorId": string; }; }; | |
type ApiV1AuthorsAuthorIdGetAddedParams1 = { "header"?: { "Content-Type": "application/json"; }; }; | |
type ApiV1AuthorsAuthorIdGetResult1 = RequestResult<{ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }>; | |
export function apiV1AuthorsAuthorIdGet(params: ApiV1AuthorsAuthorIdGetParams1 & ApiV1AuthorsAuthorIdGetAddedParams1): ApiV1AuthorsAuthorIdGetResult1; | |
type ApiV1AuthorsAuthorIdGetParams2 = { "path": { "authorId": string; }; }; | |
type ApiV1AuthorsAuthorIdGetAddedParams2 = { "header"?: { "Content-Type": "text/json"; }; }; | |
type ApiV1AuthorsAuthorIdGetResult2 = RequestResult<{ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }>; | |
export function apiV1AuthorsAuthorIdGet(params: ApiV1AuthorsAuthorIdGetParams2 & ApiV1AuthorsAuthorIdGetAddedParams2): ApiV1AuthorsAuthorIdGetResult2; | |
type ApiV1CommentsCommentIdGetParams0 = { "path": { "commentId": string; }; }; | |
type ApiV1CommentsCommentIdGetAddedParams0 = { "header"?: { "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsCommentIdGetResult0 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
/** | |
* Returns comment with the specified ID. | |
*/ | |
export function apiV1CommentsCommentIdGet(params: ApiV1CommentsCommentIdGetParams0 & ApiV1CommentsCommentIdGetAddedParams0): ApiV1CommentsCommentIdGetResult0; | |
type ApiV1CommentsCommentIdGetParams1 = { "path": { "commentId": string; }; }; | |
type ApiV1CommentsCommentIdGetAddedParams1 = { "header"?: { "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsCommentIdGetResult1 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsCommentIdGet(params: ApiV1CommentsCommentIdGetParams1 & ApiV1CommentsCommentIdGetAddedParams1): ApiV1CommentsCommentIdGetResult1; | |
type ApiV1CommentsCommentIdGetParams2 = { "path": { "commentId": string; }; }; | |
type ApiV1CommentsCommentIdGetAddedParams2 = { "header"?: { "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsCommentIdGetResult2 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsCommentIdGet(params: ApiV1CommentsCommentIdGetParams2 & ApiV1CommentsCommentIdGetAddedParams2): ApiV1CommentsCommentIdGetResult2; | |
type ApiV1CommentsGetParams0 = { "query"?: { "authorId"?: string; }; }; | |
type ApiV1CommentsGetAddedParams0 = { "header"?: { "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsGetResult0 = RequestResult<({ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; })[]>; | |
/** | |
* Returns all comments created by author with the specified ID. | |
*/ | |
export function apiV1CommentsGet(params: ApiV1CommentsGetParams0 & ApiV1CommentsGetAddedParams0): ApiV1CommentsGetResult0; | |
type ApiV1CommentsGetParams1 = { "query"?: { "authorId"?: string; }; }; | |
type ApiV1CommentsGetAddedParams1 = { "header"?: { "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsGetResult1 = RequestResult<({ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; })[]>; | |
export function apiV1CommentsGet(params: ApiV1CommentsGetParams1 & ApiV1CommentsGetAddedParams1): ApiV1CommentsGetResult1; | |
type ApiV1CommentsGetParams2 = { "query"?: { "authorId"?: string; }; }; | |
type ApiV1CommentsGetAddedParams2 = { "header"?: { "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsGetResult2 = RequestResult<({ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; })[]>; | |
export function apiV1CommentsGet(params: ApiV1CommentsGetParams2 & ApiV1CommentsGetAddedParams2): ApiV1CommentsGetResult2; | |
type ApiV1CommentsPostParams0 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams0 = { "header"?: { "accept": "application/json-patch+json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsPostResult0 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
/** | |
* Creates a comment. | |
*/ | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams0 & ApiV1CommentsPostAddedParams0): ApiV1CommentsPostResult0; | |
type ApiV1CommentsPostParams1 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams1 = { "header"?: { "accept": "application/json-patch+json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsPostResult1 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams1 & ApiV1CommentsPostAddedParams1): ApiV1CommentsPostResult1; | |
type ApiV1CommentsPostParams2 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams2 = { "header"?: { "accept": "application/json-patch+json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsPostResult2 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams2 & ApiV1CommentsPostAddedParams2): ApiV1CommentsPostResult2; | |
type ApiV1CommentsPostParams3 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams3 = { "header"?: { "accept": "application/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsPostResult3 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams3 & ApiV1CommentsPostAddedParams3): ApiV1CommentsPostResult3; | |
type ApiV1CommentsPostParams4 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams4 = { "header"?: { "accept": "application/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsPostResult4 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams4 & ApiV1CommentsPostAddedParams4): ApiV1CommentsPostResult4; | |
type ApiV1CommentsPostParams5 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams5 = { "header"?: { "accept": "application/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsPostResult5 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams5 & ApiV1CommentsPostAddedParams5): ApiV1CommentsPostResult5; | |
type ApiV1CommentsPostParams6 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams6 = { "header"?: { "accept": "text/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsPostResult6 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams6 & ApiV1CommentsPostAddedParams6): ApiV1CommentsPostResult6; | |
type ApiV1CommentsPostParams7 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams7 = { "header"?: { "accept": "text/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsPostResult7 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams7 & ApiV1CommentsPostAddedParams7): ApiV1CommentsPostResult7; | |
type ApiV1CommentsPostParams8 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams8 = { "header"?: { "accept": "text/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsPostResult8 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams8 & ApiV1CommentsPostAddedParams8): ApiV1CommentsPostResult8; | |
type ApiV1CommentsPostParams9 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams9 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsPostResult9 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams9 & ApiV1CommentsPostAddedParams9): ApiV1CommentsPostResult9; | |
type ApiV1CommentsPostParams10 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams10 = { "header"?: { "accept": "application/*+json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsPostResult10 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams10 & ApiV1CommentsPostAddedParams10): ApiV1CommentsPostResult10; | |
type ApiV1CommentsPostParams11 = { "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsPostAddedParams11 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsPostResult11 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsPost(params: ApiV1CommentsPostParams11 & ApiV1CommentsPostAddedParams11): ApiV1CommentsPostResult11; | |
type ApiV1CommentsTargetCommentIdReplyPostParams0 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams0 = { "header"?: { "accept": "application/json-patch+json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult0 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
/** | |
* Creates a reply to comment with the specified ID. | |
*/ | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams0 & ApiV1CommentsTargetCommentIdReplyPostAddedParams0): ApiV1CommentsTargetCommentIdReplyPostResult0; | |
type ApiV1CommentsTargetCommentIdReplyPostParams1 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams1 = { "header"?: { "accept": "application/json-patch+json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult1 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams1 & ApiV1CommentsTargetCommentIdReplyPostAddedParams1): ApiV1CommentsTargetCommentIdReplyPostResult1; | |
type ApiV1CommentsTargetCommentIdReplyPostParams2 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams2 = { "header"?: { "accept": "application/json-patch+json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult2 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams2 & ApiV1CommentsTargetCommentIdReplyPostAddedParams2): ApiV1CommentsTargetCommentIdReplyPostResult2; | |
type ApiV1CommentsTargetCommentIdReplyPostParams3 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams3 = { "header"?: { "accept": "application/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult3 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams3 & ApiV1CommentsTargetCommentIdReplyPostAddedParams3): ApiV1CommentsTargetCommentIdReplyPostResult3; | |
type ApiV1CommentsTargetCommentIdReplyPostParams4 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams4 = { "header"?: { "accept": "application/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult4 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams4 & ApiV1CommentsTargetCommentIdReplyPostAddedParams4): ApiV1CommentsTargetCommentIdReplyPostResult4; | |
type ApiV1CommentsTargetCommentIdReplyPostParams5 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams5 = { "header"?: { "accept": "application/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult5 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams5 & ApiV1CommentsTargetCommentIdReplyPostAddedParams5): ApiV1CommentsTargetCommentIdReplyPostResult5; | |
type ApiV1CommentsTargetCommentIdReplyPostParams6 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams6 = { "header"?: { "accept": "text/json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult6 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams6 & ApiV1CommentsTargetCommentIdReplyPostAddedParams6): ApiV1CommentsTargetCommentIdReplyPostResult6; | |
type ApiV1CommentsTargetCommentIdReplyPostParams7 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams7 = { "header"?: { "accept": "text/json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult7 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams7 & ApiV1CommentsTargetCommentIdReplyPostAddedParams7): ApiV1CommentsTargetCommentIdReplyPostResult7; | |
type ApiV1CommentsTargetCommentIdReplyPostParams8 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams8 = { "header"?: { "accept": "text/json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult8 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams8 & ApiV1CommentsTargetCommentIdReplyPostAddedParams8): ApiV1CommentsTargetCommentIdReplyPostResult8; | |
type ApiV1CommentsTargetCommentIdReplyPostParams9 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams9 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/plain"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult9 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams9 & ApiV1CommentsTargetCommentIdReplyPostAddedParams9): ApiV1CommentsTargetCommentIdReplyPostResult9; | |
type ApiV1CommentsTargetCommentIdReplyPostParams10 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams10 = { "header"?: { "accept": "application/*+json"; "Content-Type": "application/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult10 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams10 & ApiV1CommentsTargetCommentIdReplyPostAddedParams10): ApiV1CommentsTargetCommentIdReplyPostResult10; | |
type ApiV1CommentsTargetCommentIdReplyPostParams11 = { "path": { "targetCommentId": string; }; "body"?: { "content"?: string; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostAddedParams11 = { "header"?: { "accept": "application/*+json"; "Content-Type": "text/json"; }; }; | |
type ApiV1CommentsTargetCommentIdReplyPostResult11 = RequestResult<{ "id"?: string; "content"?: string; "author"?: { "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; }; "createdAt"?: string; "replyCount"?: number; "firstRepliesAuthors"?: ({ "id"?: string; "username"?: string; "displayName"?: string; "avatarUrl"?: string; })[]; }>; | |
export function apiV1CommentsTargetCommentIdReplyPost(params: ApiV1CommentsTargetCommentIdReplyPostParams11 & ApiV1CommentsTargetCommentIdReplyPostAddedParams11): ApiV1CommentsTargetCommentIdReplyPostResult11; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment