@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
|
@@ -18,12 +18,12 @@ type postBlockingCreateResponse = MisskeyIoComponentSchemas.UserDetailedNotMe.t
|
|
|
18
18
|
let postBlockingCreateResponseSchema = MisskeyIoComponentSchemas.UserDetailedNotMe.schema
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
blocking/create
|
|
22
|
+
|
|
23
|
+
No description provided.
|
|
24
|
+
|
|
25
|
+
**Credential required**: *Yes* / **Permission**: *write:blocks*
|
|
26
|
+
*/
|
|
27
27
|
let postBlockingCreate = (~body: postBlockingCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postBlockingCreateResponse> => {
|
|
28
28
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postBlockingCreateRequestSchema)
|
|
29
29
|
fetch(
|
|
@@ -50,12 +50,12 @@ type postBlockingDeleteResponse = MisskeyIoComponentSchemas.UserDetailedNotMe.t
|
|
|
50
50
|
let postBlockingDeleteResponseSchema = MisskeyIoComponentSchemas.UserDetailedNotMe.schema
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
blocking/delete
|
|
54
|
+
|
|
55
|
+
No description provided.
|
|
56
|
+
|
|
57
|
+
**Credential required**: *Yes* / **Permission**: *write:blocks*
|
|
58
|
+
*/
|
|
59
59
|
let postBlockingDelete = (~body: postBlockingDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postBlockingDeleteResponse> => {
|
|
60
60
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postBlockingDeleteRequestSchema)
|
|
61
61
|
fetch(
|
|
@@ -86,12 +86,12 @@ type postBlockingListResponse = array<MisskeyIoComponentSchemas.Blocking.t>
|
|
|
86
86
|
let postBlockingListResponseSchema = S.array(MisskeyIoComponentSchemas.Blocking.schema)
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
blocking/list
|
|
90
|
+
|
|
91
|
+
No description provided.
|
|
92
|
+
|
|
93
|
+
**Credential required**: *Yes* / **Permission**: *read:blocks*
|
|
94
|
+
*/
|
|
95
95
|
let postBlockingList = (~body: postBlockingListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postBlockingListResponse> => {
|
|
96
96
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postBlockingListRequestSchema)
|
|
97
97
|
fetch(
|
|
@@ -118,12 +118,12 @@ let postClipsAddNoteRequestSchema = S.object(s => {
|
|
|
118
118
|
type postClipsAddNoteResponse = unit
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
clips/add-note
|
|
122
|
+
|
|
123
|
+
No description provided.
|
|
124
|
+
|
|
125
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
126
|
+
*/
|
|
127
127
|
let postClipsAddNote = (~body: postClipsAddNoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsAddNoteResponse> => {
|
|
128
128
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsAddNoteRequestSchema)
|
|
129
129
|
fetch(
|
|
@@ -142,12 +142,12 @@ type postClipsMyFavoritesResponse = array<MisskeyIoComponentSchemas.Clip.t>
|
|
|
142
142
|
let postClipsMyFavoritesResponseSchema = S.array(MisskeyIoComponentSchemas.Clip.schema)
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
clips/my-favorites
|
|
146
|
+
|
|
147
|
+
No description provided.
|
|
148
|
+
|
|
149
|
+
**Credential required**: *Yes* / **Permission**: *read:clip-favorite*
|
|
150
|
+
*/
|
|
151
151
|
let postClipsMyFavorites = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsMyFavoritesResponse> => {
|
|
152
152
|
|
|
153
153
|
fetch(
|
|
@@ -180,12 +180,12 @@ type postClipsNotesResponse = array<MisskeyIoComponentSchemas.Note.t>
|
|
|
180
180
|
let postClipsNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema)
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
183
|
+
clips/notes
|
|
184
|
+
|
|
185
|
+
No description provided.
|
|
186
|
+
|
|
187
|
+
**Credential required**: *No* / **Permission**: *read:account*
|
|
188
|
+
*/
|
|
189
189
|
let postClipsNotes = (~body: postClipsNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsNotesResponse> => {
|
|
190
190
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsNotesRequestSchema)
|
|
191
191
|
fetch(
|
|
@@ -212,12 +212,12 @@ let postClipsRemoveNoteRequestSchema = S.object(s => {
|
|
|
212
212
|
type postClipsRemoveNoteResponse = unit
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
215
|
+
clips/remove-note
|
|
216
|
+
|
|
217
|
+
No description provided.
|
|
218
|
+
|
|
219
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
220
|
+
*/
|
|
221
221
|
let postClipsRemoveNote = (~body: postClipsRemoveNoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsRemoveNoteResponse> => {
|
|
222
222
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsRemoveNoteRequestSchema)
|
|
223
223
|
fetch(
|
|
@@ -248,12 +248,12 @@ type postFlashMyResponse = array<MisskeyIoComponentSchemas.Flash.t>
|
|
|
248
248
|
let postFlashMyResponseSchema = S.array(MisskeyIoComponentSchemas.Flash.schema)
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
251
|
+
flash/my
|
|
252
|
+
|
|
253
|
+
No description provided.
|
|
254
|
+
|
|
255
|
+
**Credential required**: *Yes* / **Permission**: *read:flash*
|
|
256
|
+
*/
|
|
257
257
|
let postFlashMy = (~body: postFlashMyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashMyResponse> => {
|
|
258
258
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashMyRequestSchema)
|
|
259
259
|
fetch(
|
|
@@ -294,12 +294,12 @@ let postFlashMyLikesResponse_1Schema = S.object(s => {
|
|
|
294
294
|
let postFlashMyLikesResponseSchema = S.array(postFlashMyLikesResponse_1Schema)
|
|
295
295
|
|
|
296
296
|
/**
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
297
|
+
flash/my-likes
|
|
298
|
+
|
|
299
|
+
No description provided.
|
|
300
|
+
|
|
301
|
+
**Credential required**: *Yes* / **Permission**: *read:flash-likes*
|
|
302
|
+
*/
|
|
303
303
|
let postFlashMyLikes = (~body: postFlashMyLikesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postFlashMyLikesResponse> => {
|
|
304
304
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postFlashMyLikesRequestSchema)
|
|
305
305
|
fetch(
|
|
@@ -318,12 +318,12 @@ type postIResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
|
318
318
|
let postIResponseSchema = MisskeyIoComponentSchemas.MeDetailed.schema
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
321
|
+
i
|
|
322
|
+
|
|
323
|
+
No description provided.
|
|
324
|
+
|
|
325
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
326
|
+
*/
|
|
327
327
|
let postI = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIResponse> => {
|
|
328
328
|
|
|
329
329
|
fetch(
|
|
@@ -354,12 +354,12 @@ type postIFavoritesResponse = array<MisskeyIoComponentSchemas.NoteFavorite.t>
|
|
|
354
354
|
let postIFavoritesResponseSchema = S.array(MisskeyIoComponentSchemas.NoteFavorite.schema)
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
357
|
+
i/favorites
|
|
358
|
+
|
|
359
|
+
No description provided.
|
|
360
|
+
|
|
361
|
+
**Credential required**: *Yes* / **Permission**: *read:favorites*
|
|
362
|
+
*/
|
|
363
363
|
let postIFavorites = (~body: postIFavoritesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIFavoritesResponse> => {
|
|
364
364
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIFavoritesRequestSchema)
|
|
365
365
|
fetch(
|
|
@@ -400,12 +400,12 @@ let postIGalleryLikesResponse_1Schema = S.object(s => {
|
|
|
400
400
|
let postIGalleryLikesResponseSchema = S.array(postIGalleryLikesResponse_1Schema)
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
403
|
+
i/gallery/likes
|
|
404
|
+
|
|
405
|
+
No description provided.
|
|
406
|
+
|
|
407
|
+
**Credential required**: *Yes* / **Permission**: *read:gallery-likes*
|
|
408
|
+
*/
|
|
409
409
|
let postIGalleryLikes = (~body: postIGalleryLikesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIGalleryLikesResponse> => {
|
|
410
410
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIGalleryLikesRequestSchema)
|
|
411
411
|
fetch(
|
|
@@ -436,12 +436,12 @@ type postIGalleryPostsResponse = array<MisskeyIoComponentSchemas.GalleryPost.t>
|
|
|
436
436
|
let postIGalleryPostsResponseSchema = S.array(MisskeyIoComponentSchemas.GalleryPost.schema)
|
|
437
437
|
|
|
438
438
|
/**
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
439
|
+
i/gallery/posts
|
|
440
|
+
|
|
441
|
+
No description provided.
|
|
442
|
+
|
|
443
|
+
**Credential required**: *Yes* / **Permission**: *read:gallery*
|
|
444
|
+
*/
|
|
445
445
|
let postIGalleryPosts = (~body: postIGalleryPostsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIGalleryPostsResponse> => {
|
|
446
446
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIGalleryPostsRequestSchema)
|
|
447
447
|
fetch(
|
|
@@ -478,12 +478,12 @@ type postINotificationsResponse = array<MisskeyIoComponentSchemas.Notification.t
|
|
|
478
478
|
let postINotificationsResponseSchema = S.array(MisskeyIoComponentSchemas.Notification.schema)
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
481
|
+
i/notifications
|
|
482
|
+
|
|
483
|
+
No description provided.
|
|
484
|
+
|
|
485
|
+
**Credential required**: *Yes* / **Permission**: *read:notifications*
|
|
486
|
+
*/
|
|
487
487
|
let postINotifications = (~body: postINotificationsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postINotificationsResponse> => {
|
|
488
488
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postINotificationsRequestSchema)
|
|
489
489
|
fetch(
|
|
@@ -520,12 +520,12 @@ type postINotificationsGroupedResponse = array<MisskeyIoComponentSchemas.Notific
|
|
|
520
520
|
let postINotificationsGroupedResponseSchema = S.array(MisskeyIoComponentSchemas.Notification.schema)
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
523
|
+
i/notifications-grouped
|
|
524
|
+
|
|
525
|
+
No description provided.
|
|
526
|
+
|
|
527
|
+
**Credential required**: *Yes* / **Permission**: *read:notifications*
|
|
528
|
+
*/
|
|
529
529
|
let postINotificationsGrouped = (~body: postINotificationsGroupedRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postINotificationsGroupedResponse> => {
|
|
530
530
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postINotificationsGroupedRequestSchema)
|
|
531
531
|
fetch(
|
|
@@ -566,12 +566,12 @@ let postIPageLikesResponse_1Schema = S.object(s => {
|
|
|
566
566
|
let postIPageLikesResponseSchema = S.array(postIPageLikesResponse_1Schema)
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
569
|
+
i/page-likes
|
|
570
|
+
|
|
571
|
+
No description provided.
|
|
572
|
+
|
|
573
|
+
**Credential required**: *Yes* / **Permission**: *read:page-likes*
|
|
574
|
+
*/
|
|
575
575
|
let postIPageLikes = (~body: postIPageLikesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIPageLikesResponse> => {
|
|
576
576
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIPageLikesRequestSchema)
|
|
577
577
|
fetch(
|
|
@@ -602,12 +602,12 @@ type postIPagesResponse = array<MisskeyIoComponentSchemas.Page.t>
|
|
|
602
602
|
let postIPagesResponseSchema = S.array(MisskeyIoComponentSchemas.Page.schema)
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
605
|
+
i/pages
|
|
606
|
+
|
|
607
|
+
No description provided.
|
|
608
|
+
|
|
609
|
+
**Credential required**: *Yes* / **Permission**: *read:pages*
|
|
610
|
+
*/
|
|
611
611
|
let postIPages = (~body: postIPagesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIPagesResponse> => {
|
|
612
612
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIPagesRequestSchema)
|
|
613
613
|
fetch(
|
|
@@ -634,12 +634,12 @@ type postIPinResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
|
634
634
|
let postIPinResponseSchema = MisskeyIoComponentSchemas.MeDetailed.schema
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
637
|
+
i/pin
|
|
638
|
+
|
|
639
|
+
No description provided.
|
|
640
|
+
|
|
641
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
642
|
+
*/
|
|
643
643
|
let postIPin = (~body: postIPinRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIPinResponse> => {
|
|
644
644
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIPinRequestSchema)
|
|
645
645
|
fetch(
|
|
@@ -668,12 +668,12 @@ let postIPurgeTimelineCacheRequestSchema = S.object(s => {
|
|
|
668
668
|
type postIPurgeTimelineCacheResponse = unit
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
671
|
+
i/purge-timeline-cache
|
|
672
|
+
|
|
673
|
+
No description provided.
|
|
674
|
+
|
|
675
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
676
|
+
*/
|
|
677
677
|
let postIPurgeTimelineCache = (~body: postIPurgeTimelineCacheRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIPurgeTimelineCacheResponse> => {
|
|
678
678
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIPurgeTimelineCacheRequestSchema)
|
|
679
679
|
fetch(
|
|
@@ -698,12 +698,12 @@ let postIReadAnnouncementRequestSchema = S.object(s => {
|
|
|
698
698
|
type postIReadAnnouncementResponse = unit
|
|
699
699
|
|
|
700
700
|
/**
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
701
|
+
i/read-announcement
|
|
702
|
+
|
|
703
|
+
No description provided.
|
|
704
|
+
|
|
705
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
706
|
+
*/
|
|
707
707
|
let postIReadAnnouncement = (~body: postIReadAnnouncementRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIReadAnnouncementResponse> => {
|
|
708
708
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIReadAnnouncementRequestSchema)
|
|
709
709
|
fetch(
|
|
@@ -730,12 +730,12 @@ type postIUnpinResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
|
730
730
|
let postIUnpinResponseSchema = MisskeyIoComponentSchemas.MeDetailed.schema
|
|
731
731
|
|
|
732
732
|
/**
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
733
|
+
i/unpin
|
|
734
|
+
|
|
735
|
+
No description provided.
|
|
736
|
+
|
|
737
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
738
|
+
*/
|
|
739
739
|
let postIUnpin = (~body: postIUnpinRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIUnpinResponse> => {
|
|
740
740
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIUnpinRequestSchema)
|
|
741
741
|
fetch(
|
|
@@ -926,12 +926,12 @@ type postIUpdateResponse = MisskeyIoComponentSchemas.MeDetailed.t
|
|
|
926
926
|
let postIUpdateResponseSchema = MisskeyIoComponentSchemas.MeDetailed.schema
|
|
927
927
|
|
|
928
928
|
/**
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
929
|
+
i/update
|
|
930
|
+
|
|
931
|
+
No description provided.
|
|
932
|
+
|
|
933
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
934
|
+
*/
|
|
935
935
|
let postIUpdate = (~body: postIUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postIUpdateResponse> => {
|
|
936
936
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postIUpdateRequestSchema)
|
|
937
937
|
fetch(
|
|
@@ -958,12 +958,12 @@ let postMuteCreateRequestSchema = S.object(s => {
|
|
|
958
958
|
type postMuteCreateResponse = unit
|
|
959
959
|
|
|
960
960
|
/**
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
961
|
+
mute/create
|
|
962
|
+
|
|
963
|
+
No description provided.
|
|
964
|
+
|
|
965
|
+
**Credential required**: *Yes* / **Permission**: *write:mutes*
|
|
966
|
+
*/
|
|
967
967
|
let postMuteCreate = (~body: postMuteCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postMuteCreateResponse> => {
|
|
968
968
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postMuteCreateRequestSchema)
|
|
969
969
|
fetch(
|
|
@@ -988,12 +988,12 @@ let postMuteDeleteRequestSchema = S.object(s => {
|
|
|
988
988
|
type postMuteDeleteResponse = unit
|
|
989
989
|
|
|
990
990
|
/**
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
991
|
+
mute/delete
|
|
992
|
+
|
|
993
|
+
No description provided.
|
|
994
|
+
|
|
995
|
+
**Credential required**: *Yes* / **Permission**: *write:mutes*
|
|
996
|
+
*/
|
|
997
997
|
let postMuteDelete = (~body: postMuteDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postMuteDeleteResponse> => {
|
|
998
998
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postMuteDeleteRequestSchema)
|
|
999
999
|
fetch(
|
|
@@ -1024,12 +1024,12 @@ type postMuteListResponse = array<MisskeyIoComponentSchemas.Muting.t>
|
|
|
1024
1024
|
let postMuteListResponseSchema = S.array(MisskeyIoComponentSchemas.Muting.schema)
|
|
1025
1025
|
|
|
1026
1026
|
/**
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1027
|
+
mute/list
|
|
1028
|
+
|
|
1029
|
+
No description provided.
|
|
1030
|
+
|
|
1031
|
+
**Credential required**: *Yes* / **Permission**: *read:mutes*
|
|
1032
|
+
*/
|
|
1033
1033
|
let postMuteList = (~body: postMuteListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postMuteListResponse> => {
|
|
1034
1034
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postMuteListRequestSchema)
|
|
1035
1035
|
fetch(
|
|
@@ -1058,12 +1058,12 @@ type postMyAppsResponse = array<MisskeyIoComponentSchemas.App.t>
|
|
|
1058
1058
|
let postMyAppsResponseSchema = S.array(MisskeyIoComponentSchemas.App.schema)
|
|
1059
1059
|
|
|
1060
1060
|
/**
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1061
|
+
my/apps
|
|
1062
|
+
|
|
1063
|
+
No description provided.
|
|
1064
|
+
|
|
1065
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
1066
|
+
*/
|
|
1067
1067
|
let postMyApps = (~body: postMyAppsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postMyAppsResponse> => {
|
|
1068
1068
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postMyAppsRequestSchema)
|
|
1069
1069
|
fetch(
|
|
@@ -1088,12 +1088,12 @@ let postRenoteMuteCreateRequestSchema = S.object(s => {
|
|
|
1088
1088
|
type postRenoteMuteCreateResponse = unit
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1091
|
+
renote-mute/create
|
|
1092
|
+
|
|
1093
|
+
No description provided.
|
|
1094
|
+
|
|
1095
|
+
**Credential required**: *Yes* / **Permission**: *write:mutes*
|
|
1096
|
+
*/
|
|
1097
1097
|
let postRenoteMuteCreate = (~body: postRenoteMuteCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postRenoteMuteCreateResponse> => {
|
|
1098
1098
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postRenoteMuteCreateRequestSchema)
|
|
1099
1099
|
fetch(
|
|
@@ -1118,12 +1118,12 @@ let postRenoteMuteDeleteRequestSchema = S.object(s => {
|
|
|
1118
1118
|
type postRenoteMuteDeleteResponse = unit
|
|
1119
1119
|
|
|
1120
1120
|
/**
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1121
|
+
renote-mute/delete
|
|
1122
|
+
|
|
1123
|
+
No description provided.
|
|
1124
|
+
|
|
1125
|
+
**Credential required**: *Yes* / **Permission**: *write:mutes*
|
|
1126
|
+
*/
|
|
1127
1127
|
let postRenoteMuteDelete = (~body: postRenoteMuteDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postRenoteMuteDeleteResponse> => {
|
|
1128
1128
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postRenoteMuteDeleteRequestSchema)
|
|
1129
1129
|
fetch(
|
|
@@ -1154,12 +1154,12 @@ type postRenoteMuteListResponse = array<MisskeyIoComponentSchemas.RenoteMuting.t
|
|
|
1154
1154
|
let postRenoteMuteListResponseSchema = S.array(MisskeyIoComponentSchemas.RenoteMuting.schema)
|
|
1155
1155
|
|
|
1156
1156
|
/**
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1157
|
+
renote-mute/list
|
|
1158
|
+
|
|
1159
|
+
No description provided.
|
|
1160
|
+
|
|
1161
|
+
**Credential required**: *Yes* / **Permission**: *read:mutes*
|
|
1162
|
+
*/
|
|
1163
1163
|
let postRenoteMuteList = (~body: postRenoteMuteListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postRenoteMuteListResponse> => {
|
|
1164
1164
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postRenoteMuteListRequestSchema)
|
|
1165
1165
|
fetch(
|
|
@@ -1204,13 +1204,13 @@ let postSwRegisterResponseSchema = S.object(s => {
|
|
|
1204
1204
|
})
|
|
1205
1205
|
|
|
1206
1206
|
/**
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1207
|
+
sw/register
|
|
1208
|
+
|
|
1209
|
+
Register to receive push notifications.
|
|
1210
|
+
|
|
1211
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1212
|
+
**Credential required**: *Yes*
|
|
1213
|
+
*/
|
|
1214
1214
|
let postSwRegister = (~body: postSwRegisterRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postSwRegisterResponse> => {
|
|
1215
1215
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postSwRegisterRequestSchema)
|
|
1216
1216
|
fetch(
|
|
@@ -1249,13 +1249,13 @@ let postSwShowRegistrationResponse_1Schema = S.object(s => {
|
|
|
1249
1249
|
let postSwShowRegistrationResponseSchema = S.nullableAsOption(postSwShowRegistrationResponse_1Schema)
|
|
1250
1250
|
|
|
1251
1251
|
/**
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1252
|
+
sw/show-registration
|
|
1253
|
+
|
|
1254
|
+
Check push notification registration exists.
|
|
1255
|
+
|
|
1256
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1257
|
+
**Credential required**: *Yes*
|
|
1258
|
+
*/
|
|
1259
1259
|
let postSwShowRegistration = (~body: postSwShowRegistrationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postSwShowRegistrationResponse> => {
|
|
1260
1260
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postSwShowRegistrationRequestSchema)
|
|
1261
1261
|
fetch(
|
|
@@ -1280,12 +1280,12 @@ let postSwUnregisterRequestSchema = S.object(s => {
|
|
|
1280
1280
|
type postSwUnregisterResponse = unit
|
|
1281
1281
|
|
|
1282
1282
|
/**
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1283
|
+
sw/unregister
|
|
1284
|
+
|
|
1285
|
+
Unregister from receiving push notifications.
|
|
1286
|
+
|
|
1287
|
+
**Credential required**: *No*
|
|
1288
|
+
*/
|
|
1289
1289
|
let postSwUnregister = (~body: postSwUnregisterRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postSwUnregisterResponse> => {
|
|
1290
1290
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postSwUnregisterRequestSchema)
|
|
1291
1291
|
fetch(
|
|
@@ -1322,13 +1322,13 @@ let postSwUpdateRegistrationResponseSchema = S.object(s => {
|
|
|
1322
1322
|
})
|
|
1323
1323
|
|
|
1324
1324
|
/**
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1325
|
+
sw/update-registration
|
|
1326
|
+
|
|
1327
|
+
Update push notification registration.
|
|
1328
|
+
|
|
1329
|
+
**Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
|
|
1330
|
+
**Credential required**: *Yes*
|
|
1331
|
+
*/
|
|
1332
1332
|
let postSwUpdateRegistration = (~body: postSwUpdateRegistrationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postSwUpdateRegistrationResponse> => {
|
|
1333
1333
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postSwUpdateRegistrationRequestSchema)
|
|
1334
1334
|
fetch(
|
|
@@ -1355,12 +1355,12 @@ let postUsersUpdateMemoRequestSchema = S.object(s => {
|
|
|
1355
1355
|
type postUsersUpdateMemoResponse = unit
|
|
1356
1356
|
|
|
1357
1357
|
/**
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1358
|
+
users/update-memo
|
|
1359
|
+
|
|
1360
|
+
No description provided.
|
|
1361
|
+
|
|
1362
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
1363
|
+
*/
|
|
1364
1364
|
let postUsersUpdateMemo = (~body: postUsersUpdateMemoRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postUsersUpdateMemoResponse> => {
|
|
1365
1365
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postUsersUpdateMemoRequestSchema)
|
|
1366
1366
|
fetch(
|