@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
|
@@ -20,12 +20,12 @@ type postChatHistoryResponse = array<KokonectLinkComponentSchemas.ChatMessage.t>
|
|
|
20
20
|
let postChatHistoryResponseSchema = S.array(KokonectLinkComponentSchemas.ChatMessage.schema)
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
chat/history
|
|
24
|
+
|
|
25
|
+
No description provided.
|
|
26
|
+
|
|
27
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
28
|
+
*/
|
|
29
29
|
let postChatHistory = (~body: postChatHistoryRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatHistoryResponse> => {
|
|
30
30
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatHistoryRequestSchema)
|
|
31
31
|
fetch(
|
|
@@ -56,12 +56,12 @@ type postChatMessagesCreateToRoomResponse = KokonectLinkComponentSchemas.ChatMes
|
|
|
56
56
|
let postChatMessagesCreateToRoomResponseSchema = KokonectLinkComponentSchemas.ChatMessageLiteForRoom.schema
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
chat/messages/create-to-room
|
|
60
|
+
|
|
61
|
+
No description provided.
|
|
62
|
+
|
|
63
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
64
|
+
*/
|
|
65
65
|
let postChatMessagesCreateToRoom = (~body: postChatMessagesCreateToRoomRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesCreateToRoomResponse> => {
|
|
66
66
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesCreateToRoomRequestSchema)
|
|
67
67
|
fetch(
|
|
@@ -92,12 +92,12 @@ type postChatMessagesCreateToUserResponse = KokonectLinkComponentSchemas.ChatMes
|
|
|
92
92
|
let postChatMessagesCreateToUserResponseSchema = KokonectLinkComponentSchemas.ChatMessageLiteFor1on1.schema
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
chat/messages/create-to-user
|
|
96
|
+
|
|
97
|
+
No description provided.
|
|
98
|
+
|
|
99
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
100
|
+
*/
|
|
101
101
|
let postChatMessagesCreateToUser = (~body: postChatMessagesCreateToUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesCreateToUserResponse> => {
|
|
102
102
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesCreateToUserRequestSchema)
|
|
103
103
|
fetch(
|
|
@@ -122,12 +122,12 @@ let postChatMessagesDeleteRequestSchema = S.object(s => {
|
|
|
122
122
|
type postChatMessagesDeleteResponse = unit
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
chat/messages/delete
|
|
126
|
+
|
|
127
|
+
No description provided.
|
|
128
|
+
|
|
129
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
130
|
+
*/
|
|
131
131
|
let postChatMessagesDelete = (~body: postChatMessagesDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesDeleteResponse> => {
|
|
132
132
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesDeleteRequestSchema)
|
|
133
133
|
fetch(
|
|
@@ -154,12 +154,12 @@ let postChatMessagesReactRequestSchema = S.object(s => {
|
|
|
154
154
|
type postChatMessagesReactResponse = unit
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
157
|
+
chat/messages/react
|
|
158
|
+
|
|
159
|
+
No description provided.
|
|
160
|
+
|
|
161
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
162
|
+
*/
|
|
163
163
|
let postChatMessagesReact = (~body: postChatMessagesReactRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesReactResponse> => {
|
|
164
164
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesReactRequestSchema)
|
|
165
165
|
fetch(
|
|
@@ -196,12 +196,12 @@ type postChatMessagesRoomTimelineResponse = array<KokonectLinkComponentSchemas.C
|
|
|
196
196
|
let postChatMessagesRoomTimelineResponseSchema = S.array(KokonectLinkComponentSchemas.ChatMessageLiteForRoom.schema)
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
chat/messages/room-timeline
|
|
200
|
+
|
|
201
|
+
No description provided.
|
|
202
|
+
|
|
203
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
204
|
+
*/
|
|
205
205
|
let postChatMessagesRoomTimeline = (~body: postChatMessagesRoomTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesRoomTimelineResponse> => {
|
|
206
206
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesRoomTimelineRequestSchema)
|
|
207
207
|
fetch(
|
|
@@ -234,12 +234,12 @@ type postChatMessagesSearchResponse = array<KokonectLinkComponentSchemas.ChatMes
|
|
|
234
234
|
let postChatMessagesSearchResponseSchema = S.array(KokonectLinkComponentSchemas.ChatMessage.schema)
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
237
|
+
chat/messages/search
|
|
238
|
+
|
|
239
|
+
No description provided.
|
|
240
|
+
|
|
241
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
242
|
+
*/
|
|
243
243
|
let postChatMessagesSearch = (~body: postChatMessagesSearchRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesSearchResponse> => {
|
|
244
244
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesSearchRequestSchema)
|
|
245
245
|
fetch(
|
|
@@ -266,12 +266,12 @@ type postChatMessagesShowResponse = KokonectLinkComponentSchemas.ChatMessage.t
|
|
|
266
266
|
let postChatMessagesShowResponseSchema = KokonectLinkComponentSchemas.ChatMessage.schema
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
269
|
+
chat/messages/show
|
|
270
|
+
|
|
271
|
+
No description provided.
|
|
272
|
+
|
|
273
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
274
|
+
*/
|
|
275
275
|
let postChatMessagesShow = (~body: postChatMessagesShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesShowResponse> => {
|
|
276
276
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesShowRequestSchema)
|
|
277
277
|
fetch(
|
|
@@ -298,12 +298,12 @@ let postChatMessagesUnreactRequestSchema = S.object(s => {
|
|
|
298
298
|
type postChatMessagesUnreactResponse = unit
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
301
|
+
chat/messages/unreact
|
|
302
|
+
|
|
303
|
+
No description provided.
|
|
304
|
+
|
|
305
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
306
|
+
*/
|
|
307
307
|
let postChatMessagesUnreact = (~body: postChatMessagesUnreactRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesUnreactResponse> => {
|
|
308
308
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesUnreactRequestSchema)
|
|
309
309
|
fetch(
|
|
@@ -340,12 +340,12 @@ type postChatMessagesUserTimelineResponse = array<KokonectLinkComponentSchemas.C
|
|
|
340
340
|
let postChatMessagesUserTimelineResponseSchema = S.array(KokonectLinkComponentSchemas.ChatMessageLiteFor1on1.schema)
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
343
|
+
chat/messages/user-timeline
|
|
344
|
+
|
|
345
|
+
No description provided.
|
|
346
|
+
|
|
347
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
348
|
+
*/
|
|
349
349
|
let postChatMessagesUserTimeline = (~body: postChatMessagesUserTimelineRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatMessagesUserTimelineResponse> => {
|
|
350
350
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatMessagesUserTimelineRequestSchema)
|
|
351
351
|
fetch(
|
|
@@ -362,12 +362,12 @@ let postChatMessagesUserTimeline = (~body: postChatMessagesUserTimelineRequest,
|
|
|
362
362
|
type postChatReadAllResponse = unit
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
365
|
+
chat/read-all
|
|
366
|
+
|
|
367
|
+
No description provided.
|
|
368
|
+
|
|
369
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
370
|
+
*/
|
|
371
371
|
let postChatReadAll = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatReadAllResponse> => {
|
|
372
372
|
|
|
373
373
|
fetch(
|
|
@@ -396,12 +396,12 @@ type postChatRoomsCreateResponse = KokonectLinkComponentSchemas.ChatRoom.t
|
|
|
396
396
|
let postChatRoomsCreateResponseSchema = KokonectLinkComponentSchemas.ChatRoom.schema
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
399
|
+
chat/rooms/create
|
|
400
|
+
|
|
401
|
+
No description provided.
|
|
402
|
+
|
|
403
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
404
|
+
*/
|
|
405
405
|
let postChatRoomsCreate = (~body: postChatRoomsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsCreateResponse> => {
|
|
406
406
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsCreateRequestSchema)
|
|
407
407
|
fetch(
|
|
@@ -426,12 +426,12 @@ let postChatRoomsDeleteRequestSchema = S.object(s => {
|
|
|
426
426
|
type postChatRoomsDeleteResponse = unit
|
|
427
427
|
|
|
428
428
|
/**
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
429
|
+
chat/rooms/delete
|
|
430
|
+
|
|
431
|
+
No description provided.
|
|
432
|
+
|
|
433
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
434
|
+
*/
|
|
435
435
|
let postChatRoomsDelete = (~body: postChatRoomsDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsDeleteResponse> => {
|
|
436
436
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsDeleteRequestSchema)
|
|
437
437
|
fetch(
|
|
@@ -456,12 +456,12 @@ let postChatRoomsInvitationsCancelRequestSchema = S.object(s => {
|
|
|
456
456
|
type postChatRoomsInvitationsCancelResponse = unit
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
459
|
+
chat/rooms/invitations/cancel
|
|
460
|
+
|
|
461
|
+
No description provided.
|
|
462
|
+
|
|
463
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
464
|
+
*/
|
|
465
465
|
let postChatRoomsInvitationsCancel = (~body: postChatRoomsInvitationsCancelRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsInvitationsCancelResponse> => {
|
|
466
466
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsInvitationsCancelRequestSchema)
|
|
467
467
|
fetch(
|
|
@@ -490,12 +490,12 @@ type postChatRoomsInvitationsCreateResponse = KokonectLinkComponentSchemas.ChatR
|
|
|
490
490
|
let postChatRoomsInvitationsCreateResponseSchema = KokonectLinkComponentSchemas.ChatRoomInvitation.schema
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
493
|
+
chat/rooms/invitations/create
|
|
494
|
+
|
|
495
|
+
No description provided.
|
|
496
|
+
|
|
497
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
498
|
+
*/
|
|
499
499
|
let postChatRoomsInvitationsCreate = (~body: postChatRoomsInvitationsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsInvitationsCreateResponse> => {
|
|
500
500
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsInvitationsCreateRequestSchema)
|
|
501
501
|
fetch(
|
|
@@ -520,12 +520,12 @@ let postChatRoomsInvitationsIgnoreRequestSchema = S.object(s => {
|
|
|
520
520
|
type postChatRoomsInvitationsIgnoreResponse = unit
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
523
|
+
chat/rooms/invitations/ignore
|
|
524
|
+
|
|
525
|
+
No description provided.
|
|
526
|
+
|
|
527
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
528
|
+
*/
|
|
529
529
|
let postChatRoomsInvitationsIgnore = (~body: postChatRoomsInvitationsIgnoreRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsInvitationsIgnoreResponse> => {
|
|
530
530
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsInvitationsIgnoreRequestSchema)
|
|
531
531
|
fetch(
|
|
@@ -560,12 +560,12 @@ type postChatRoomsInvitationsInboxResponse = array<KokonectLinkComponentSchemas.
|
|
|
560
560
|
let postChatRoomsInvitationsInboxResponseSchema = S.array(KokonectLinkComponentSchemas.ChatRoomInvitation.schema)
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
563
|
+
chat/rooms/invitations/inbox
|
|
564
|
+
|
|
565
|
+
No description provided.
|
|
566
|
+
|
|
567
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
568
|
+
*/
|
|
569
569
|
let postChatRoomsInvitationsInbox = (~body: postChatRoomsInvitationsInboxRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsInvitationsInboxResponse> => {
|
|
570
570
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsInvitationsInboxRequestSchema)
|
|
571
571
|
fetch(
|
|
@@ -602,12 +602,12 @@ type postChatRoomsInvitationsOutboxResponse = array<KokonectLinkComponentSchemas
|
|
|
602
602
|
let postChatRoomsInvitationsOutboxResponseSchema = S.array(KokonectLinkComponentSchemas.ChatRoomInvitation.schema)
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
605
|
+
chat/rooms/invitations/outbox
|
|
606
|
+
|
|
607
|
+
No description provided.
|
|
608
|
+
|
|
609
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
610
|
+
*/
|
|
611
611
|
let postChatRoomsInvitationsOutbox = (~body: postChatRoomsInvitationsOutboxRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsInvitationsOutboxResponse> => {
|
|
612
612
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsInvitationsOutboxRequestSchema)
|
|
613
613
|
fetch(
|
|
@@ -632,12 +632,12 @@ let postChatRoomsInvitationsRejectRequestSchema = S.object(s => {
|
|
|
632
632
|
type postChatRoomsInvitationsRejectResponse = unit
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
635
|
+
chat/rooms/invitations/reject
|
|
636
|
+
|
|
637
|
+
No description provided.
|
|
638
|
+
|
|
639
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
640
|
+
*/
|
|
641
641
|
let postChatRoomsInvitationsReject = (~body: postChatRoomsInvitationsRejectRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsInvitationsRejectResponse> => {
|
|
642
642
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsInvitationsRejectRequestSchema)
|
|
643
643
|
fetch(
|
|
@@ -662,12 +662,12 @@ let postChatRoomsJoinRequestSchema = S.object(s => {
|
|
|
662
662
|
type postChatRoomsJoinResponse = unit
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
665
|
+
chat/rooms/join
|
|
666
|
+
|
|
667
|
+
No description provided.
|
|
668
|
+
|
|
669
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
670
|
+
*/
|
|
671
671
|
let postChatRoomsJoin = (~body: postChatRoomsJoinRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsJoinResponse> => {
|
|
672
672
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsJoinRequestSchema)
|
|
673
673
|
fetch(
|
|
@@ -702,12 +702,12 @@ type postChatRoomsJoiningResponse = array<KokonectLinkComponentSchemas.ChatRoomM
|
|
|
702
702
|
let postChatRoomsJoiningResponseSchema = S.array(KokonectLinkComponentSchemas.ChatRoomMembership.schema)
|
|
703
703
|
|
|
704
704
|
/**
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
705
|
+
chat/rooms/joining
|
|
706
|
+
|
|
707
|
+
No description provided.
|
|
708
|
+
|
|
709
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
710
|
+
*/
|
|
711
711
|
let postChatRoomsJoining = (~body: postChatRoomsJoiningRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsJoiningResponse> => {
|
|
712
712
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsJoiningRequestSchema)
|
|
713
713
|
fetch(
|
|
@@ -732,12 +732,12 @@ let postChatRoomsLeaveRequestSchema = S.object(s => {
|
|
|
732
732
|
type postChatRoomsLeaveResponse = unit
|
|
733
733
|
|
|
734
734
|
/**
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
735
|
+
chat/rooms/leave
|
|
736
|
+
|
|
737
|
+
No description provided.
|
|
738
|
+
|
|
739
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
740
|
+
*/
|
|
741
741
|
let postChatRoomsLeave = (~body: postChatRoomsLeaveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsLeaveResponse> => {
|
|
742
742
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsLeaveRequestSchema)
|
|
743
743
|
fetch(
|
|
@@ -774,12 +774,12 @@ type postChatRoomsMembersResponse = array<KokonectLinkComponentSchemas.ChatRoomM
|
|
|
774
774
|
let postChatRoomsMembersResponseSchema = S.array(KokonectLinkComponentSchemas.ChatRoomMembership.schema)
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
777
|
+
chat/rooms/members
|
|
778
|
+
|
|
779
|
+
No description provided.
|
|
780
|
+
|
|
781
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
782
|
+
*/
|
|
783
783
|
let postChatRoomsMembers = (~body: postChatRoomsMembersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsMembersResponse> => {
|
|
784
784
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsMembersRequestSchema)
|
|
785
785
|
fetch(
|
|
@@ -806,12 +806,12 @@ let postChatRoomsMuteRequestSchema = S.object(s => {
|
|
|
806
806
|
type postChatRoomsMuteResponse = unit
|
|
807
807
|
|
|
808
808
|
/**
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
809
|
+
chat/rooms/mute
|
|
810
|
+
|
|
811
|
+
No description provided.
|
|
812
|
+
|
|
813
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
814
|
+
*/
|
|
815
815
|
let postChatRoomsMute = (~body: postChatRoomsMuteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsMuteResponse> => {
|
|
816
816
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsMuteRequestSchema)
|
|
817
817
|
fetch(
|
|
@@ -846,12 +846,12 @@ type postChatRoomsOwnedResponse = array<KokonectLinkComponentSchemas.ChatRoom.t>
|
|
|
846
846
|
let postChatRoomsOwnedResponseSchema = S.array(KokonectLinkComponentSchemas.ChatRoom.schema)
|
|
847
847
|
|
|
848
848
|
/**
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
849
|
+
chat/rooms/owned
|
|
850
|
+
|
|
851
|
+
No description provided.
|
|
852
|
+
|
|
853
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
854
|
+
*/
|
|
855
855
|
let postChatRoomsOwned = (~body: postChatRoomsOwnedRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsOwnedResponse> => {
|
|
856
856
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsOwnedRequestSchema)
|
|
857
857
|
fetch(
|
|
@@ -878,12 +878,12 @@ type postChatRoomsShowResponse = KokonectLinkComponentSchemas.ChatRoom.t
|
|
|
878
878
|
let postChatRoomsShowResponseSchema = KokonectLinkComponentSchemas.ChatRoom.schema
|
|
879
879
|
|
|
880
880
|
/**
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
881
|
+
chat/rooms/show
|
|
882
|
+
|
|
883
|
+
No description provided.
|
|
884
|
+
|
|
885
|
+
**Credential required**: *Yes* / **Permission**: *read:chat*
|
|
886
|
+
*/
|
|
887
887
|
let postChatRoomsShow = (~body: postChatRoomsShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsShowResponse> => {
|
|
888
888
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsShowRequestSchema)
|
|
889
889
|
fetch(
|
|
@@ -914,12 +914,12 @@ type postChatRoomsUpdateResponse = KokonectLinkComponentSchemas.ChatRoom.t
|
|
|
914
914
|
let postChatRoomsUpdateResponseSchema = KokonectLinkComponentSchemas.ChatRoom.schema
|
|
915
915
|
|
|
916
916
|
/**
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
917
|
+
chat/rooms/update
|
|
918
|
+
|
|
919
|
+
No description provided.
|
|
920
|
+
|
|
921
|
+
**Credential required**: *Yes* / **Permission**: *write:chat*
|
|
922
|
+
*/
|
|
923
923
|
let postChatRoomsUpdate = (~body: postChatRoomsUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postChatRoomsUpdateResponse> => {
|
|
924
924
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChatRoomsUpdateRequestSchema)
|
|
925
925
|
fetch(
|
|
@@ -22,12 +22,12 @@ type postClipsCreateResponse = KokonectLinkComponentSchemas.Clip.t
|
|
|
22
22
|
let postClipsCreateResponseSchema = KokonectLinkComponentSchemas.Clip.schema
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
clips/create
|
|
26
|
+
|
|
27
|
+
No description provided.
|
|
28
|
+
|
|
29
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
30
|
+
*/
|
|
31
31
|
let postClipsCreate = (~body: postClipsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsCreateResponse> => {
|
|
32
32
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsCreateRequestSchema)
|
|
33
33
|
fetch(
|
|
@@ -62,12 +62,12 @@ type postClipsListResponse = array<KokonectLinkComponentSchemas.Clip.t>
|
|
|
62
62
|
let postClipsListResponseSchema = S.array(KokonectLinkComponentSchemas.Clip.schema)
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
clips/list
|
|
66
|
+
|
|
67
|
+
No description provided.
|
|
68
|
+
|
|
69
|
+
**Credential required**: *Yes* / **Permission**: *read:account*
|
|
70
|
+
*/
|
|
71
71
|
let postClipsList = (~body: postClipsListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsListResponse> => {
|
|
72
72
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsListRequestSchema)
|
|
73
73
|
fetch(
|
|
@@ -94,12 +94,12 @@ type postClipsShowResponse = KokonectLinkComponentSchemas.Clip.t
|
|
|
94
94
|
let postClipsShowResponseSchema = KokonectLinkComponentSchemas.Clip.schema
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
clips/show
|
|
98
|
+
|
|
99
|
+
No description provided.
|
|
100
|
+
|
|
101
|
+
**Credential required**: *No* / **Permission**: *read:account*
|
|
102
|
+
*/
|
|
103
103
|
let postClipsShow = (~body: postClipsShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsShowResponse> => {
|
|
104
104
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsShowRequestSchema)
|
|
105
105
|
fetch(
|
|
@@ -132,12 +132,12 @@ type postClipsUpdateResponse = KokonectLinkComponentSchemas.Clip.t
|
|
|
132
132
|
let postClipsUpdateResponseSchema = KokonectLinkComponentSchemas.Clip.schema
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
clips/update
|
|
136
|
+
|
|
137
|
+
No description provided.
|
|
138
|
+
|
|
139
|
+
**Credential required**: *Yes* / **Permission**: *write:account*
|
|
140
|
+
*/
|
|
141
141
|
let postClipsUpdate = (~body: postClipsUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postClipsUpdateResponse> => {
|
|
142
142
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postClipsUpdateRequestSchema)
|
|
143
143
|
fetch(
|