@f3liz/rescript-misskey-api 0.6.7 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/es6/src/stream/StreamClient.mjs +2 -2
- package/package.json +2 -2
- package/src/bindings/{WebSocket.res → MisskeyWebSocket.res} +1 -1
- package/src/generated/kokonect-link/api/KokonectLinkAccount.res +144 -144
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +300 -300
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkAuth.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +36 -36
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +162 -162
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +24 -24
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +64 -64
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +72 -72
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +36 -36
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +19 -19
- package/src/generated/kokonect-link/api/KokonectLinkFlashs.res +6 -6
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +42 -42
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +24 -24
- package/src/generated/kokonect-link/api/KokonectLinkGroups.res +72 -72
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +12 -12
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +54 -54
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +174 -174
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +6 -6
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +18 -18
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +72 -72
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +20 -20
- package/src/generated/kokonect-link/types/Account.d.ts +235 -177
- package/src/generated/kokonect-link/types/Admin.d.ts +640 -484
- package/src/generated/kokonect-link/types/Antennas.d.ts +36 -27
- package/src/generated/kokonect-link/types/App.d.ts +16 -12
- package/src/generated/kokonect-link/types/Auth.d.ts +30 -23
- package/src/generated/kokonect-link/types/Channels.d.ts +76 -57
- package/src/generated/kokonect-link/types/Charts.d.ts +104 -78
- package/src/generated/kokonect-link/types/Chat.d.ts +108 -81
- package/src/generated/kokonect-link/types/Clip.d.ts +8 -6
- package/src/generated/kokonect-link/types/Clips.d.ts +40 -30
- package/src/generated/kokonect-link/types/Default.d.ts +297 -232
- package/src/generated/kokonect-link/types/Drive.d.ts +120 -90
- package/src/generated/kokonect-link/types/Federation.d.ts +68 -51
- package/src/generated/kokonect-link/types/Flash.d.ts +33 -25
- package/src/generated/kokonect-link/types/Flashs.d.ts +12 -9
- package/src/generated/kokonect-link/types/Following.d.ts +68 -51
- package/src/generated/kokonect-link/types/Gallery.d.ts +52 -39
- package/src/generated/kokonect-link/types/Groups.d.ts +48 -36
- package/src/generated/kokonect-link/types/Hashtags.d.ts +32 -24
- package/src/generated/kokonect-link/types/Lists.d.ts +48 -36
- package/src/generated/kokonect-link/types/Meta.d.ts +133 -100
- package/src/generated/kokonect-link/types/NonProductive.d.ts +8 -6
- package/src/generated/kokonect-link/types/Notes.d.ts +256 -192
- package/src/generated/kokonect-link/types/Notifications.d.ts +20 -15
- package/src/generated/kokonect-link/types/Pages.d.ts +40 -30
- package/src/generated/kokonect-link/types/Reactions.d.ts +8 -6
- package/src/generated/kokonect-link/types/ResetPassword.d.ts +8 -6
- package/src/generated/kokonect-link/types/Role.d.ts +28 -21
- package/src/generated/kokonect-link/types/Users.d.ts +161 -121
- package/src/generated/kokonect-link/types/Webhooks.d.ts +44 -34
- package/src/generated/kokonect-link/types/index.d.ts +1 -2
- package/src/generated/kokonect-link/wrapper/index.d.ts +4813 -2131
- package/src/generated/kokonect-link/wrapper/index.mjs +2 -710
- package/src/generated/misskey-io/api/MisskeyIoAccount.res +207 -207
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +652 -652
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +36 -36
- package/src/generated/misskey-io/api/MisskeyIoApp.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +32 -32
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +78 -78
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +144 -144
- package/src/generated/misskey-io/api/MisskeyIoClip.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoClips.res +36 -36
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +363 -363
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +108 -108
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +66 -66
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +30 -30
- package/src/generated/misskey-io/api/MisskeyIoFlashs.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +60 -60
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +54 -54
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +36 -36
- package/src/generated/misskey-io/api/MisskeyIoLists.res +54 -54
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +145 -145
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +210 -210
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +24 -24
- package/src/generated/misskey-io/api/MisskeyIoPages.res +42 -42
- package/src/generated/misskey-io/api/MisskeyIoReactions.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoResetPassword.res +12 -12
- package/src/generated/misskey-io/api/MisskeyIoRole.res +24 -24
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +169 -169
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +44 -44
- package/src/generated/misskey-io/types/Account.d.ts +139 -105
- package/src/generated/misskey-io/types/Admin.d.ts +438 -331
- package/src/generated/misskey-io/types/Antennas.d.ts +24 -18
- package/src/generated/misskey-io/types/App.d.ts +8 -6
- package/src/generated/misskey-io/types/Auth.d.ts +22 -17
- package/src/generated/misskey-io/types/Channels.d.ts +52 -39
- package/src/generated/misskey-io/types/Charts.d.ts +96 -72
- package/src/generated/misskey-io/types/Clip.d.ts +8 -6
- package/src/generated/misskey-io/types/Clips.d.ts +24 -18
- package/src/generated/misskey-io/types/Default.d.ts +253 -198
- package/src/generated/misskey-io/types/Drive.d.ts +72 -54
- package/src/generated/misskey-io/types/Federation.d.ts +44 -33
- package/src/generated/misskey-io/types/Flash.d.ts +20 -15
- package/src/generated/misskey-io/types/Flashs.d.ts +8 -6
- package/src/generated/misskey-io/types/Following.d.ts +40 -30
- package/src/generated/misskey-io/types/Gallery.d.ts +36 -27
- package/src/generated/misskey-io/types/Hashtags.d.ts +24 -18
- package/src/generated/misskey-io/types/Lists.d.ts +36 -27
- package/src/generated/misskey-io/types/Meta.d.ts +97 -73
- package/src/generated/misskey-io/types/NonProductive.d.ts +8 -6
- package/src/generated/misskey-io/types/Notes.d.ts +140 -105
- package/src/generated/misskey-io/types/Notifications.d.ts +16 -12
- package/src/generated/misskey-io/types/Pages.d.ts +28 -21
- package/src/generated/misskey-io/types/Reactions.d.ts +8 -6
- package/src/generated/misskey-io/types/ResetPassword.d.ts +8 -6
- package/src/generated/misskey-io/types/Role.d.ts +16 -12
- package/src/generated/misskey-io/types/Users.d.ts +113 -85
- package/src/generated/misskey-io/types/Webhooks.d.ts +30 -23
- package/src/generated/misskey-io/types/index.d.ts +1 -2
- package/src/generated/misskey-io/wrapper/index.d.ts +3127 -1399
- package/src/generated/misskey-io/wrapper/index.mjs +2 -469
- package/src/stream/NativeStreamBindings.res +2 -2
- package/src/stream/StreamClient.res +1 -1
- /package/lib/es6/src/bindings/{WebSocket.mjs → MisskeyWebSocket.mjs} +0 -0
|
@@ -32,12 +32,12 @@ type postChannelsTimelineResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
32
32
|
let postChannelsTimelineResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
channels/timeline
|
|
36
|
+
|
|
37
|
+
No description provided.
|
|
38
|
+
|
|
39
|
+
**Credential required**: *No*
|
|
40
|
+
*/
|
|
41
41
|
let postChannelsTimeline = (~body: postChannelsTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChannelsTimelineResponse> => {
|
|
42
42
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChannelsTimelineRequestSchema)
|
|
43
43
|
fetch(
|
|
@@ -78,12 +78,12 @@ type postNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
78
78
|
let postNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
notes
|
|
82
|
+
|
|
83
|
+
No description provided.
|
|
84
|
+
|
|
85
|
+
**Credential required**: *No*
|
|
86
|
+
*/
|
|
87
87
|
let postNotes = (~body: postNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesResponse> => {
|
|
88
88
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesRequestSchema)
|
|
89
89
|
fetch(
|
|
@@ -116,12 +116,12 @@ type postNotesChildrenResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
116
116
|
let postNotesChildrenResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
119
|
+
notes/children
|
|
120
|
+
|
|
121
|
+
No description provided.
|
|
122
|
+
|
|
123
|
+
**Credential required**: *No*
|
|
124
|
+
*/
|
|
125
125
|
let postNotesChildren = (~body: postNotesChildrenRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesChildrenResponse> => {
|
|
126
126
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesChildrenRequestSchema)
|
|
127
127
|
fetch(
|
|
@@ -152,12 +152,12 @@ type postNotesConversationResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
152
152
|
let postNotesConversationResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
notes/conversation
|
|
156
|
+
|
|
157
|
+
No description provided.
|
|
158
|
+
|
|
159
|
+
**Credential required**: *No*
|
|
160
|
+
*/
|
|
161
161
|
let postNotesConversation = (~body: postNotesConversationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesConversationResponse> => {
|
|
162
162
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesConversationRequestSchema)
|
|
163
163
|
fetch(
|
|
@@ -238,12 +238,12 @@ let postNotesCreateResponseSchema = S.object(s => {
|
|
|
238
238
|
})
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
241
|
+
notes/create
|
|
242
|
+
|
|
243
|
+
No description provided.
|
|
244
|
+
|
|
245
|
+
**Credential required**: *Yes* / **Permission**: *write:notes*
|
|
246
|
+
*/
|
|
247
247
|
let postNotesCreate = (~body: postNotesCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesCreateResponse> => {
|
|
248
248
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesCreateRequestSchema)
|
|
249
249
|
fetch(
|
|
@@ -268,12 +268,12 @@ let postNotesDeleteRequestSchema = S.object(s => {
|
|
|
268
268
|
type postNotesDeleteResponse = unit
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
271
|
+
notes/delete
|
|
272
|
+
|
|
273
|
+
No description provided.
|
|
274
|
+
|
|
275
|
+
**Credential required**: *Yes* / **Permission**: *write:notes*
|
|
276
|
+
*/
|
|
277
277
|
let postNotesDelete = (~body: postNotesDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesDeleteResponse> => {
|
|
278
278
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesDeleteRequestSchema)
|
|
279
279
|
fetch(
|
|
@@ -298,12 +298,12 @@ let postNotesFavoritesCreateRequestSchema = S.object(s => {
|
|
|
298
298
|
type postNotesFavoritesCreateResponse = unit
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
301
|
+
notes/favorites/create
|
|
302
|
+
|
|
303
|
+
No description provided.
|
|
304
|
+
|
|
305
|
+
**Credential required**: *Yes* / **Permission**: *write:favorites*
|
|
306
|
+
*/
|
|
307
307
|
let postNotesFavoritesCreate = (~body: postNotesFavoritesCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesFavoritesCreateResponse> => {
|
|
308
308
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesFavoritesCreateRequestSchema)
|
|
309
309
|
fetch(
|
|
@@ -328,12 +328,12 @@ let postNotesFavoritesDeleteRequestSchema = S.object(s => {
|
|
|
328
328
|
type postNotesFavoritesDeleteResponse = unit
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
331
|
+
notes/favorites/delete
|
|
332
|
+
|
|
333
|
+
No description provided.
|
|
334
|
+
|
|
335
|
+
**Credential required**: *Yes* / **Permission**: *write:favorites*
|
|
336
|
+
*/
|
|
337
337
|
let postNotesFavoritesDelete = (~body: postNotesFavoritesDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesFavoritesDeleteResponse> => {
|
|
338
338
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesFavoritesDeleteRequestSchema)
|
|
339
339
|
fetch(
|
|
@@ -364,12 +364,12 @@ type getNotesFeaturedResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
364
364
|
let getNotesFeaturedResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
365
365
|
|
|
366
366
|
/**
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
367
|
+
notes/featured
|
|
368
|
+
|
|
369
|
+
No description provided.
|
|
370
|
+
|
|
371
|
+
**Credential required**: *No*
|
|
372
|
+
*/
|
|
373
373
|
let getNotesFeatured = (~body: getNotesFeaturedRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getNotesFeaturedResponse> => {
|
|
374
374
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getNotesFeaturedRequestSchema)
|
|
375
375
|
fetch(
|
|
@@ -400,12 +400,12 @@ type postNotesFeaturedResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
400
400
|
let postNotesFeaturedResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
403
|
+
notes/featured
|
|
404
|
+
|
|
405
|
+
No description provided.
|
|
406
|
+
|
|
407
|
+
**Credential required**: *No*
|
|
408
|
+
*/
|
|
409
409
|
let postNotesFeatured = (~body: postNotesFeaturedRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesFeaturedResponse> => {
|
|
410
410
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesFeaturedRequestSchema)
|
|
411
411
|
fetch(
|
|
@@ -446,12 +446,12 @@ type postNotesGlobalTimelineResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
446
446
|
let postNotesGlobalTimelineResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
449
|
+
notes/global-timeline
|
|
450
|
+
|
|
451
|
+
No description provided.
|
|
452
|
+
|
|
453
|
+
**Credential required**: *No*
|
|
454
|
+
*/
|
|
455
455
|
let postNotesGlobalTimeline = (~body: postNotesGlobalTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesGlobalTimelineResponse> => {
|
|
456
456
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesGlobalTimelineRequestSchema)
|
|
457
457
|
fetch(
|
|
@@ -502,12 +502,12 @@ type postNotesHybridTimelineResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
502
502
|
let postNotesHybridTimelineResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
505
|
+
notes/hybrid-timeline
|
|
506
|
+
|
|
507
|
+
No description provided.
|
|
508
|
+
|
|
509
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
510
|
+
*/
|
|
511
511
|
let postNotesHybridTimeline = (~body: postNotesHybridTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesHybridTimelineResponse> => {
|
|
512
512
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesHybridTimelineRequestSchema)
|
|
513
513
|
fetch(
|
|
@@ -552,12 +552,12 @@ type postNotesLocalTimelineResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
552
552
|
let postNotesLocalTimelineResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
555
|
+
notes/local-timeline
|
|
556
|
+
|
|
557
|
+
No description provided.
|
|
558
|
+
|
|
559
|
+
**Credential required**: *No*
|
|
560
|
+
*/
|
|
561
561
|
let postNotesLocalTimeline = (~body: postNotesLocalTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesLocalTimelineResponse> => {
|
|
562
562
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesLocalTimelineRequestSchema)
|
|
563
563
|
fetch(
|
|
@@ -592,12 +592,12 @@ type postNotesMentionsResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
592
592
|
let postNotesMentionsResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
593
593
|
|
|
594
594
|
/**
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
595
|
+
notes/mentions
|
|
596
|
+
|
|
597
|
+
No description provided.
|
|
598
|
+
|
|
599
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
600
|
+
*/
|
|
601
601
|
let postNotesMentions = (~body: postNotesMentionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesMentionsResponse> => {
|
|
602
602
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesMentionsRequestSchema)
|
|
603
603
|
fetch(
|
|
@@ -628,12 +628,12 @@ type postNotesPollsRecommendationResponse = array<MisskeyIoComponentSchemas.Note
|
|
|
628
628
|
let postNotesPollsRecommendationResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
631
|
+
notes/polls/recommendation
|
|
632
|
+
|
|
633
|
+
No description provided.
|
|
634
|
+
|
|
635
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
636
|
+
*/
|
|
637
637
|
let postNotesPollsRecommendation = (~body: postNotesPollsRecommendationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesPollsRecommendationResponse> => {
|
|
638
638
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesPollsRecommendationRequestSchema)
|
|
639
639
|
fetch(
|
|
@@ -660,12 +660,12 @@ let postNotesPollsVoteRequestSchema = S.object(s => {
|
|
|
660
660
|
type postNotesPollsVoteResponse = unit
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
663
|
+
notes/polls/vote
|
|
664
|
+
|
|
665
|
+
No description provided.
|
|
666
|
+
|
|
667
|
+
**Credential required**: *Yes* / **Permission**: *write:votes*
|
|
668
|
+
*/
|
|
669
669
|
let postNotesPollsVote = (~body: postNotesPollsVoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesPollsVoteResponse> => {
|
|
670
670
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesPollsVoteRequestSchema)
|
|
671
671
|
fetch(
|
|
@@ -700,12 +700,12 @@ type getNotesReactionsResponse = array<MisskeyIoComponentSchemas.NoteReaction.t>
|
|
|
700
700
|
let getNotesReactionsResponseSchema = S.array(MisskeyIoComponentSchemas.NoteReaction.schema)
|
|
701
701
|
|
|
702
702
|
/**
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
703
|
+
notes/reactions
|
|
704
|
+
|
|
705
|
+
No description provided.
|
|
706
|
+
|
|
707
|
+
**Credential required**: *No*
|
|
708
|
+
*/
|
|
709
709
|
let getNotesReactions = (~body: getNotesReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getNotesReactionsResponse> => {
|
|
710
710
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getNotesReactionsRequestSchema)
|
|
711
711
|
fetch(
|
|
@@ -740,12 +740,12 @@ type postNotesReactionsResponse = array<MisskeyIoComponentSchemas.NoteReaction.t
|
|
|
740
740
|
let postNotesReactionsResponseSchema = S.array(MisskeyIoComponentSchemas.NoteReaction.schema)
|
|
741
741
|
|
|
742
742
|
/**
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
743
|
+
notes/reactions
|
|
744
|
+
|
|
745
|
+
No description provided.
|
|
746
|
+
|
|
747
|
+
**Credential required**: *No*
|
|
748
|
+
*/
|
|
749
749
|
let postNotesReactions = (~body: postNotesReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesReactionsResponse> => {
|
|
750
750
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesReactionsRequestSchema)
|
|
751
751
|
fetch(
|
|
@@ -778,12 +778,12 @@ type postNotesRenotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
778
778
|
let postNotesRenotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
779
779
|
|
|
780
780
|
/**
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
781
|
+
notes/renotes
|
|
782
|
+
|
|
783
|
+
No description provided.
|
|
784
|
+
|
|
785
|
+
**Credential required**: *No*
|
|
786
|
+
*/
|
|
787
787
|
let postNotesRenotes = (~body: postNotesRenotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesRenotesResponse> => {
|
|
788
788
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesRenotesRequestSchema)
|
|
789
789
|
fetch(
|
|
@@ -816,12 +816,12 @@ type postNotesRepliesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
816
816
|
let postNotesRepliesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
817
817
|
|
|
818
818
|
/**
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
819
|
+
notes/replies
|
|
820
|
+
|
|
821
|
+
No description provided.
|
|
822
|
+
|
|
823
|
+
**Credential required**: *No*
|
|
824
|
+
*/
|
|
825
825
|
let postNotesReplies = (~body: postNotesRepliesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesRepliesResponse> => {
|
|
826
826
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesRepliesRequestSchema)
|
|
827
827
|
fetch(
|
|
@@ -846,12 +846,12 @@ let postNotesScheduledCancelRequestSchema = S.object(s => {
|
|
|
846
846
|
type postNotesScheduledCancelResponse = unit
|
|
847
847
|
|
|
848
848
|
/**
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
849
|
+
notes/scheduled/cancel
|
|
850
|
+
|
|
851
|
+
No description provided.
|
|
852
|
+
|
|
853
|
+
**Credential required**: *Yes* / **Permission**: *write:notes*
|
|
854
|
+
*/
|
|
855
855
|
let postNotesScheduledCancel = (~body: postNotesScheduledCancelRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesScheduledCancelResponse> => {
|
|
856
856
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesScheduledCancelRequestSchema)
|
|
857
857
|
fetch(
|
|
@@ -880,12 +880,12 @@ type postNotesScheduledListResponse = array<MisskeyIoComponentSchemas.NoteDraft.
|
|
|
880
880
|
let postNotesScheduledListResponseSchema = S.array(MisskeyIoComponentSchemas.NoteDraft.schema)
|
|
881
881
|
|
|
882
882
|
/**
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
883
|
+
notes/scheduled/list
|
|
884
|
+
|
|
885
|
+
No description provided.
|
|
886
|
+
|
|
887
|
+
**Credential required**: *Yes* / **Permission**: *write:notes*
|
|
888
|
+
*/
|
|
889
889
|
let postNotesScheduledList = (~body: postNotesScheduledListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesScheduledListResponse> => {
|
|
890
890
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesScheduledListRequestSchema)
|
|
891
891
|
fetch(
|
|
@@ -926,12 +926,12 @@ type postNotesSearchResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
926
926
|
let postNotesSearchResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
927
927
|
|
|
928
928
|
/**
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
929
|
+
notes/search
|
|
930
|
+
|
|
931
|
+
No description provided.
|
|
932
|
+
|
|
933
|
+
**Credential required**: *No*
|
|
934
|
+
*/
|
|
935
935
|
let postNotesSearch = (~body: postNotesSearchRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesSearchResponse> => {
|
|
936
936
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesSearchRequestSchema)
|
|
937
937
|
fetch(
|
|
@@ -976,12 +976,12 @@ type postNotesSearchByTagResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
976
976
|
let postNotesSearchByTagResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
977
977
|
|
|
978
978
|
/**
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
979
|
+
notes/search-by-tag
|
|
980
|
+
|
|
981
|
+
No description provided.
|
|
982
|
+
|
|
983
|
+
**Credential required**: *No*
|
|
984
|
+
*/
|
|
985
985
|
let postNotesSearchByTag = (~body: postNotesSearchByTagRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesSearchByTagResponse> => {
|
|
986
986
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesSearchByTagRequestSchema)
|
|
987
987
|
fetch(
|
|
@@ -1008,12 +1008,12 @@ type postNotesShowResponse = MisskeyIoComponentSchemas.Note.t
|
|
|
1008
1008
|
let postNotesShowResponseSchema = MisskeyIoComponentSchemas.Note.schema
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1011
|
+
notes/show
|
|
1012
|
+
|
|
1013
|
+
No description provided.
|
|
1014
|
+
|
|
1015
|
+
**Credential required**: *No*
|
|
1016
|
+
*/
|
|
1017
1017
|
let postNotesShow = (~body: postNotesShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesShowResponse> => {
|
|
1018
1018
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesShowRequestSchema)
|
|
1019
1019
|
fetch(
|
|
@@ -1046,12 +1046,12 @@ let postNotesStateResponseSchema = S.object(s => {
|
|
|
1046
1046
|
})
|
|
1047
1047
|
|
|
1048
1048
|
/**
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1049
|
+
notes/state
|
|
1050
|
+
|
|
1051
|
+
No description provided.
|
|
1052
|
+
|
|
1053
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1054
|
+
*/
|
|
1055
1055
|
let postNotesState = (~body: postNotesStateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesStateResponse> => {
|
|
1056
1056
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesStateRequestSchema)
|
|
1057
1057
|
fetch(
|
|
@@ -1076,12 +1076,12 @@ let postNotesThreadMutingCreateRequestSchema = S.object(s => {
|
|
|
1076
1076
|
type postNotesThreadMutingCreateResponse = unit
|
|
1077
1077
|
|
|
1078
1078
|
/**
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1079
|
+
notes/thread-muting/create
|
|
1080
|
+
|
|
1081
|
+
No description provided.
|
|
1082
|
+
|
|
1083
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1084
|
+
*/
|
|
1085
1085
|
let postNotesThreadMutingCreate = (~body: postNotesThreadMutingCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesThreadMutingCreateResponse> => {
|
|
1086
1086
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesThreadMutingCreateRequestSchema)
|
|
1087
1087
|
fetch(
|
|
@@ -1106,12 +1106,12 @@ let postNotesThreadMutingDeleteRequestSchema = S.object(s => {
|
|
|
1106
1106
|
type postNotesThreadMutingDeleteResponse = unit
|
|
1107
1107
|
|
|
1108
1108
|
/**
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1109
|
+
notes/thread-muting/delete
|
|
1110
|
+
|
|
1111
|
+
No description provided.
|
|
1112
|
+
|
|
1113
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1114
|
+
*/
|
|
1115
1115
|
let postNotesThreadMutingDelete = (~body: postNotesThreadMutingDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesThreadMutingDeleteResponse> => {
|
|
1116
1116
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesThreadMutingDeleteRequestSchema)
|
|
1117
1117
|
fetch(
|
|
@@ -1160,12 +1160,12 @@ type postNotesTimelineResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
1160
1160
|
let postNotesTimelineResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
1161
1161
|
|
|
1162
1162
|
/**
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1163
|
+
notes/timeline
|
|
1164
|
+
|
|
1165
|
+
No description provided.
|
|
1166
|
+
|
|
1167
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1168
|
+
*/
|
|
1169
1169
|
let postNotesTimeline = (~body: postNotesTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesTimelineResponse> => {
|
|
1170
1170
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesTimelineRequestSchema)
|
|
1171
1171
|
fetch(
|
|
@@ -1200,12 +1200,12 @@ let postNotesTranslateResponseSchema = S.object(s => {
|
|
|
1200
1200
|
})
|
|
1201
1201
|
|
|
1202
1202
|
/**
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1203
|
+
notes/translate
|
|
1204
|
+
|
|
1205
|
+
No description provided.
|
|
1206
|
+
|
|
1207
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1208
|
+
*/
|
|
1209
1209
|
let postNotesTranslate = (~body: postNotesTranslateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesTranslateResponse> => {
|
|
1210
1210
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesTranslateRequestSchema)
|
|
1211
1211
|
fetch(
|
|
@@ -1230,12 +1230,12 @@ let postNotesUnrenoteRequestSchema = S.object(s => {
|
|
|
1230
1230
|
type postNotesUnrenoteResponse = unit
|
|
1231
1231
|
|
|
1232
1232
|
/**
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1233
|
+
notes/unrenote
|
|
1234
|
+
|
|
1235
|
+
No description provided.
|
|
1236
|
+
|
|
1237
|
+
**Credential required**: *Yes* / **Permission**: *write:notes*
|
|
1238
|
+
*/
|
|
1239
1239
|
let postNotesUnrenote = (~body: postNotesUnrenoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesUnrenoteResponse> => {
|
|
1240
1240
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesUnrenoteRequestSchema)
|
|
1241
1241
|
fetch(
|
|
@@ -1284,12 +1284,12 @@ type postNotesUserListTimelineResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
1284
1284
|
let postNotesUserListTimelineResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
1285
1285
|
|
|
1286
1286
|
/**
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1287
|
+
notes/user-list-timeline
|
|
1288
|
+
|
|
1289
|
+
No description provided.
|
|
1290
|
+
|
|
1291
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1292
|
+
*/
|
|
1293
1293
|
let postNotesUserListTimeline = (~body: postNotesUserListTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postNotesUserListTimelineResponse> => {
|
|
1294
1294
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postNotesUserListTimelineRequestSchema)
|
|
1295
1295
|
fetch(
|
|
@@ -1314,12 +1314,12 @@ let postPromoReadRequestSchema = S.object(s => {
|
|
|
1314
1314
|
type postPromoReadResponse = unit
|
|
1315
1315
|
|
|
1316
1316
|
/**
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1317
|
+
promo/read
|
|
1318
|
+
|
|
1319
|
+
No description provided.
|
|
1320
|
+
|
|
1321
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1322
|
+
*/
|
|
1323
1323
|
let postPromoRead = (~body: postPromoReadRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postPromoReadResponse> => {
|
|
1324
1324
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postPromoReadRequestSchema)
|
|
1325
1325
|
fetch(
|
|
@@ -1350,12 +1350,12 @@ type getUsersFeaturedNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
1350
1350
|
let getUsersFeaturedNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
1351
1351
|
|
|
1352
1352
|
/**
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1353
|
+
users/featured-notes
|
|
1354
|
+
|
|
1355
|
+
No description provided.
|
|
1356
|
+
|
|
1357
|
+
**Credential required**: *No*
|
|
1358
|
+
*/
|
|
1359
1359
|
let getUsersFeaturedNotes = (~body: getUsersFeaturedNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<getUsersFeaturedNotesResponse> => {
|
|
1360
1360
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getUsersFeaturedNotesRequestSchema)
|
|
1361
1361
|
fetch(
|
|
@@ -1386,12 +1386,12 @@ type postUsersFeaturedNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
1386
1386
|
let postUsersFeaturedNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
1387
1387
|
|
|
1388
1388
|
/**
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1389
|
+
users/featured-notes
|
|
1390
|
+
|
|
1391
|
+
No description provided.
|
|
1392
|
+
|
|
1393
|
+
**Credential required**: *No*
|
|
1394
|
+
*/
|
|
1395
1395
|
let postUsersFeaturedNotes = (~body: postUsersFeaturedNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersFeaturedNotesResponse> => {
|
|
1396
1396
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersFeaturedNotesRequestSchema)
|
|
1397
1397
|
fetch(
|