@f3liz/rescript-misskey-api 0.6.8 → 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/package.json +2 -2
- 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
|
@@ -26,13 +26,13 @@ type postAdminAbuseReportNotificationRecipientCreateResponse = KokonectLinkCompo
|
|
|
26
26
|
let postAdminAbuseReportNotificationRecipientCreateResponseSchema = KokonectLinkComponentSchemas.AbuseReportNotificationRecipient.schema
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
admin/abuse-report/notification-recipient/create
|
|
30
|
+
|
|
31
|
+
No description provided.
|
|
32
|
+
|
|
33
|
+
**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.
|
|
34
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
|
|
35
|
+
*/
|
|
36
36
|
let postAdminAbuseReportNotificationRecipientCreate = (~body: postAdminAbuseReportNotificationRecipientCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientCreateResponse> => {
|
|
37
37
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientCreateRequestSchema)
|
|
38
38
|
fetch(
|
|
@@ -59,13 +59,13 @@ type postAdminAbuseReportNotificationRecipientShowResponse = KokonectLinkCompone
|
|
|
59
59
|
let postAdminAbuseReportNotificationRecipientShowResponseSchema = KokonectLinkComponentSchemas.AbuseReportNotificationRecipient.schema
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
admin/abuse-report/notification-recipient/show
|
|
63
|
+
|
|
64
|
+
No description provided.
|
|
65
|
+
|
|
66
|
+
**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.
|
|
67
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
|
|
68
|
+
*/
|
|
69
69
|
let postAdminAbuseReportNotificationRecipientShow = (~body: postAdminAbuseReportNotificationRecipientShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientShowResponse> => {
|
|
70
70
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientShowRequestSchema)
|
|
71
71
|
fetch(
|
|
@@ -102,13 +102,13 @@ type postAdminAbuseReportNotificationRecipientUpdateResponse = KokonectLinkCompo
|
|
|
102
102
|
let postAdminAbuseReportNotificationRecipientUpdateResponseSchema = KokonectLinkComponentSchemas.AbuseReportNotificationRecipient.schema
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
admin/abuse-report/notification-recipient/update
|
|
106
|
+
|
|
107
|
+
No description provided.
|
|
108
|
+
|
|
109
|
+
**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.
|
|
110
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:abuse-report:notification-recipient*
|
|
111
|
+
*/
|
|
112
112
|
let postAdminAbuseReportNotificationRecipientUpdate = (~body: postAdminAbuseReportNotificationRecipientUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseReportNotificationRecipientUpdateResponse> => {
|
|
113
113
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseReportNotificationRecipientUpdateRequestSchema)
|
|
114
114
|
fetch(
|
|
@@ -181,12 +181,12 @@ let postAdminAbuseUserReportsResponse_1Schema = S.object(s => {
|
|
|
181
181
|
let postAdminAbuseUserReportsResponseSchema = S.array(postAdminAbuseUserReportsResponse_1Schema)
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
184
|
+
admin/abuse-user-reports
|
|
185
|
+
|
|
186
|
+
No description provided.
|
|
187
|
+
|
|
188
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:abuse-user-reports*
|
|
189
|
+
*/
|
|
190
190
|
let postAdminAbuseUserReports = (~body: postAdminAbuseUserReportsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAbuseUserReportsResponse> => {
|
|
191
191
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAbuseUserReportsRequestSchema)
|
|
192
192
|
fetch(
|
|
@@ -221,12 +221,12 @@ let postAdminAccountsCreateResponseSchema = S.object(s => {
|
|
|
221
221
|
})
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
224
|
+
admin/accounts/create
|
|
225
|
+
|
|
226
|
+
No description provided.
|
|
227
|
+
|
|
228
|
+
**Credential required**: *No*
|
|
229
|
+
*/
|
|
230
230
|
let postAdminAccountsCreate = (~body: postAdminAccountsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsCreateResponse> => {
|
|
231
231
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsCreateRequestSchema)
|
|
232
232
|
fetch(
|
|
@@ -251,12 +251,12 @@ let postAdminAccountsDeleteRequestSchema = S.object(s => {
|
|
|
251
251
|
type postAdminAccountsDeleteResponse = unit
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
254
|
+
admin/accounts/delete
|
|
255
|
+
|
|
256
|
+
No description provided.
|
|
257
|
+
|
|
258
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:account*
|
|
259
|
+
*/
|
|
260
260
|
let postAdminAccountsDelete = (~body: postAdminAccountsDeleteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsDeleteResponse> => {
|
|
261
261
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsDeleteRequestSchema)
|
|
262
262
|
fetch(
|
|
@@ -283,12 +283,12 @@ type postAdminAccountsFindByEmailResponse = KokonectLinkComponentSchemas.UserDet
|
|
|
283
283
|
let postAdminAccountsFindByEmailResponseSchema = KokonectLinkComponentSchemas.UserDetailedNotMe.schema
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
286
|
+
admin/accounts/find-by-email
|
|
287
|
+
|
|
288
|
+
No description provided.
|
|
289
|
+
|
|
290
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:account*
|
|
291
|
+
*/
|
|
292
292
|
let postAdminAccountsFindByEmail = (~body: postAdminAccountsFindByEmailRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAccountsFindByEmailResponse> => {
|
|
293
293
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAccountsFindByEmailRequestSchema)
|
|
294
294
|
fetch(
|
|
@@ -333,12 +333,12 @@ type postAdminAdCreateResponse = KokonectLinkComponentSchemas.Ad.t
|
|
|
333
333
|
let postAdminAdCreateResponseSchema = KokonectLinkComponentSchemas.Ad.schema
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
336
|
+
admin/ad/create
|
|
337
|
+
|
|
338
|
+
No description provided.
|
|
339
|
+
|
|
340
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:ad*
|
|
341
|
+
*/
|
|
342
342
|
let postAdminAdCreate = (~body: postAdminAdCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAdCreateResponse> => {
|
|
343
343
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAdCreateRequestSchema)
|
|
344
344
|
fetch(
|
|
@@ -375,12 +375,12 @@ type postAdminAdListResponse = array<KokonectLinkComponentSchemas.Ad.t>
|
|
|
375
375
|
let postAdminAdListResponseSchema = S.array(KokonectLinkComponentSchemas.Ad.schema)
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
378
|
+
admin/ad/list
|
|
379
|
+
|
|
380
|
+
No description provided.
|
|
381
|
+
|
|
382
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:ad*
|
|
383
|
+
*/
|
|
384
384
|
let postAdminAdList = (~body: postAdminAdListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAdListResponse> => {
|
|
385
385
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAdListRequestSchema)
|
|
386
386
|
fetch(
|
|
@@ -437,12 +437,12 @@ let postAdminAnnouncementsCreateResponseSchema = S.object(s => {
|
|
|
437
437
|
})
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
440
|
+
admin/announcements/create
|
|
441
|
+
|
|
442
|
+
No description provided.
|
|
443
|
+
|
|
444
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:announcements*
|
|
445
|
+
*/
|
|
446
446
|
let postAdminAnnouncementsCreate = (~body: postAdminAnnouncementsCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsCreateResponse> => {
|
|
447
447
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsCreateRequestSchema)
|
|
448
448
|
fetch(
|
|
@@ -515,12 +515,12 @@ let postAdminAnnouncementsListResponse_1Schema = S.object(s => {
|
|
|
515
515
|
let postAdminAnnouncementsListResponseSchema = S.array(postAdminAnnouncementsListResponse_1Schema)
|
|
516
516
|
|
|
517
517
|
/**
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
518
|
+
admin/announcements/list
|
|
519
|
+
|
|
520
|
+
No description provided.
|
|
521
|
+
|
|
522
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:announcements*
|
|
523
|
+
*/
|
|
524
524
|
let postAdminAnnouncementsList = (~body: postAdminAnnouncementsListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsListResponse> => {
|
|
525
525
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsListRequestSchema)
|
|
526
526
|
fetch(
|
|
@@ -563,12 +563,12 @@ let postAdminAnnouncementsUpdateRequestSchema = S.object(s => {
|
|
|
563
563
|
type postAdminAnnouncementsUpdateResponse = unit
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
566
|
+
admin/announcements/update
|
|
567
|
+
|
|
568
|
+
No description provided.
|
|
569
|
+
|
|
570
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:announcements*
|
|
571
|
+
*/
|
|
572
572
|
let postAdminAnnouncementsUpdate = (~body: postAdminAnnouncementsUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAnnouncementsUpdateResponse> => {
|
|
573
573
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAnnouncementsUpdateRequestSchema)
|
|
574
574
|
fetch(
|
|
@@ -599,12 +599,12 @@ let postAdminAvatarDecorationsCopyResponseSchema = S.object(s => {
|
|
|
599
599
|
})
|
|
600
600
|
|
|
601
601
|
/**
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
602
|
+
admin/avatar-decorations/copy
|
|
603
|
+
|
|
604
|
+
No description provided.
|
|
605
|
+
|
|
606
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:avatar-decorations*
|
|
607
|
+
*/
|
|
608
608
|
let postAdminAvatarDecorationsCopy = (~body: postAdminAvatarDecorationsCopyRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsCopyResponse> => {
|
|
609
609
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsCopyRequestSchema)
|
|
610
610
|
fetch(
|
|
@@ -661,12 +661,12 @@ let postAdminAvatarDecorationsListResponse_1Schema = S.object(s => {
|
|
|
661
661
|
let postAdminAvatarDecorationsListResponseSchema = S.array(postAdminAvatarDecorationsListResponse_1Schema)
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
664
|
+
admin/avatar-decorations/list
|
|
665
|
+
|
|
666
|
+
No description provided.
|
|
667
|
+
|
|
668
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:avatar-decorations*
|
|
669
|
+
*/
|
|
670
670
|
let postAdminAvatarDecorationsList = (~body: postAdminAvatarDecorationsListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsListResponse> => {
|
|
671
671
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsListRequestSchema)
|
|
672
672
|
fetch(
|
|
@@ -719,12 +719,12 @@ let postAdminAvatarDecorationsListRemoteResponse_1Schema = S.object(s => {
|
|
|
719
719
|
let postAdminAvatarDecorationsListRemoteResponseSchema = S.array(postAdminAvatarDecorationsListRemoteResponse_1Schema)
|
|
720
720
|
|
|
721
721
|
/**
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
722
|
+
admin/avatar-decorations/list-remote
|
|
723
|
+
|
|
724
|
+
No description provided.
|
|
725
|
+
|
|
726
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:avatar-decorations*
|
|
727
|
+
*/
|
|
728
728
|
let postAdminAvatarDecorationsListRemote = (~body: postAdminAvatarDecorationsListRemoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminAvatarDecorationsListRemoteResponse> => {
|
|
729
729
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminAvatarDecorationsListRemoteRequestSchema)
|
|
730
730
|
fetch(
|
|
@@ -749,12 +749,12 @@ let postAdminDeleteAccountRequestSchema = S.object(s => {
|
|
|
749
749
|
type postAdminDeleteAccountResponse = unit
|
|
750
750
|
|
|
751
751
|
/**
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
752
|
+
admin/delete-account
|
|
753
|
+
|
|
754
|
+
No description provided.
|
|
755
|
+
|
|
756
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:delete-account*
|
|
757
|
+
*/
|
|
758
758
|
let postAdminDeleteAccount = (~body: postAdminDeleteAccountRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDeleteAccountResponse> => {
|
|
759
759
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDeleteAccountRequestSchema)
|
|
760
760
|
fetch(
|
|
@@ -779,12 +779,12 @@ let postAdminDeleteAllFilesOfAUserRequestSchema = S.object(s => {
|
|
|
779
779
|
type postAdminDeleteAllFilesOfAUserResponse = unit
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
782
|
+
admin/delete-all-files-of-a-user
|
|
783
|
+
|
|
784
|
+
No description provided.
|
|
785
|
+
|
|
786
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:delete-all-files-of-a-user*
|
|
787
|
+
*/
|
|
788
788
|
let postAdminDeleteAllFilesOfAUser = (~body: postAdminDeleteAllFilesOfAUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDeleteAllFilesOfAUserResponse> => {
|
|
789
789
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDeleteAllFilesOfAUserRequestSchema)
|
|
790
790
|
fetch(
|
|
@@ -827,12 +827,12 @@ type postAdminDriveFilesResponse = array<KokonectLinkComponentSchemas.DriveFile.
|
|
|
827
827
|
let postAdminDriveFilesResponseSchema = S.array(KokonectLinkComponentSchemas.DriveFile.schema)
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
830
|
+
admin/drive/files
|
|
831
|
+
|
|
832
|
+
No description provided.
|
|
833
|
+
|
|
834
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:drive*
|
|
835
|
+
*/
|
|
836
836
|
let postAdminDriveFiles = (~body: postAdminDriveFilesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveFilesResponse> => {
|
|
837
837
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDriveFilesRequestSchema)
|
|
838
838
|
fetch(
|
|
@@ -933,12 +933,12 @@ let postAdminDriveShowFileResponseSchema = S.object(s => {
|
|
|
933
933
|
})
|
|
934
934
|
|
|
935
935
|
/**
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
936
|
+
admin/drive/show-file
|
|
937
|
+
|
|
938
|
+
No description provided.
|
|
939
|
+
|
|
940
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:drive*
|
|
941
|
+
*/
|
|
942
942
|
let postAdminDriveShowFile = (~body: postAdminDriveShowFileRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminDriveShowFileResponse> => {
|
|
943
943
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminDriveShowFileRequestSchema)
|
|
944
944
|
fetch(
|
|
@@ -979,12 +979,12 @@ type postAdminEmojiAddResponse = KokonectLinkComponentSchemas.EmojiDetailed.t
|
|
|
979
979
|
let postAdminEmojiAddResponseSchema = KokonectLinkComponentSchemas.EmojiDetailed.schema
|
|
980
980
|
|
|
981
981
|
/**
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
982
|
+
admin/emoji/add
|
|
983
|
+
|
|
984
|
+
No description provided.
|
|
985
|
+
|
|
986
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
987
|
+
*/
|
|
988
988
|
let postAdminEmojiAdd = (~body: postAdminEmojiAddRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiAddResponse> => {
|
|
989
989
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiAddRequestSchema)
|
|
990
990
|
fetch(
|
|
@@ -1039,12 +1039,12 @@ let postAdminEmojiListResponse_1Schema = S.object(s => {
|
|
|
1039
1039
|
let postAdminEmojiListResponseSchema = S.array(postAdminEmojiListResponse_1Schema)
|
|
1040
1040
|
|
|
1041
1041
|
/**
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1042
|
+
admin/emoji/list
|
|
1043
|
+
|
|
1044
|
+
No description provided.
|
|
1045
|
+
|
|
1046
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
1047
|
+
*/
|
|
1048
1048
|
let postAdminEmojiList = (~body: postAdminEmojiListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiListResponse> => {
|
|
1049
1049
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiListRequestSchema)
|
|
1050
1050
|
fetch(
|
|
@@ -1101,12 +1101,12 @@ let postAdminEmojiListRemoteResponse_1Schema = S.object(s => {
|
|
|
1101
1101
|
let postAdminEmojiListRemoteResponseSchema = S.array(postAdminEmojiListRemoteResponse_1Schema)
|
|
1102
1102
|
|
|
1103
1103
|
/**
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1104
|
+
admin/emoji/list-remote
|
|
1105
|
+
|
|
1106
|
+
No description provided.
|
|
1107
|
+
|
|
1108
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
1109
|
+
*/
|
|
1110
1110
|
let postAdminEmojiListRemote = (~body: postAdminEmojiListRemoteRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiListRemoteResponse> => {
|
|
1111
1111
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiListRemoteRequestSchema)
|
|
1112
1112
|
fetch(
|
|
@@ -1139,12 +1139,12 @@ let postAdminEmojiStealResponseSchema = S.object(s => {
|
|
|
1139
1139
|
})
|
|
1140
1140
|
|
|
1141
1141
|
/**
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1142
|
+
admin/emoji/steal
|
|
1143
|
+
|
|
1144
|
+
No description provided.
|
|
1145
|
+
|
|
1146
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1147
|
+
*/
|
|
1148
1148
|
let postAdminEmojiSteal = (~body: postAdminEmojiStealRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiStealResponse> => {
|
|
1149
1149
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiStealRequestSchema)
|
|
1150
1150
|
fetch(
|
|
@@ -1181,12 +1181,12 @@ let postAdminEmojiUpdateRequestSchema = S.object(s => {
|
|
|
1181
1181
|
type postAdminEmojiUpdateResponse = unit
|
|
1182
1182
|
|
|
1183
1183
|
/**
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1184
|
+
admin/emoji/update
|
|
1185
|
+
|
|
1186
|
+
No description provided.
|
|
1187
|
+
|
|
1188
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:emoji*
|
|
1189
|
+
*/
|
|
1190
1190
|
let postAdminEmojiUpdate = (~body: postAdminEmojiUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminEmojiUpdateResponse> => {
|
|
1191
1191
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminEmojiUpdateRequestSchema)
|
|
1192
1192
|
fetch(
|
|
@@ -1203,12 +1203,12 @@ let postAdminEmojiUpdate = (~body: postAdminEmojiUpdateRequest, ~fetch: (~url: s
|
|
|
1203
1203
|
type postAdminInviteRevokeResponse = unit
|
|
1204
1204
|
|
|
1205
1205
|
/**
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1206
|
+
admin/invite/revoke
|
|
1207
|
+
|
|
1208
|
+
No description provided.
|
|
1209
|
+
|
|
1210
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:invite-codes*
|
|
1211
|
+
*/
|
|
1212
1212
|
let postAdminInviteRevoke = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminInviteRevokeResponse> => {
|
|
1213
1213
|
|
|
1214
1214
|
fetch(
|
|
@@ -1235,12 +1235,12 @@ let postAdminQueueClearRequestSchema = S.object(s => {
|
|
|
1235
1235
|
type postAdminQueueClearResponse = unit
|
|
1236
1236
|
|
|
1237
1237
|
/**
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1238
|
+
admin/queue/clear
|
|
1239
|
+
|
|
1240
|
+
No description provided.
|
|
1241
|
+
|
|
1242
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:queue*
|
|
1243
|
+
*/
|
|
1244
1244
|
let postAdminQueueClear = (~body: postAdminQueueClearRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueClearResponse> => {
|
|
1245
1245
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueClearRequestSchema)
|
|
1246
1246
|
fetch(
|
|
@@ -1271,12 +1271,12 @@ type postAdminQueueJobsResponse = array<KokonectLinkComponentSchemas.QueueJob.t>
|
|
|
1271
1271
|
let postAdminQueueJobsResponseSchema = S.array(KokonectLinkComponentSchemas.QueueJob.schema)
|
|
1272
1272
|
|
|
1273
1273
|
/**
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1274
|
+
admin/queue/jobs
|
|
1275
|
+
|
|
1276
|
+
No description provided.
|
|
1277
|
+
|
|
1278
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
1279
|
+
*/
|
|
1280
1280
|
let postAdminQueueJobs = (~body: postAdminQueueJobsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueJobsResponse> => {
|
|
1281
1281
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueJobsRequestSchema)
|
|
1282
1282
|
fetch(
|
|
@@ -1301,12 +1301,12 @@ let postAdminQueuePromoteJobsRequestSchema = S.object(s => {
|
|
|
1301
1301
|
type postAdminQueuePromoteJobsResponse = unit
|
|
1302
1302
|
|
|
1303
1303
|
/**
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1304
|
+
admin/queue/promote-jobs
|
|
1305
|
+
|
|
1306
|
+
No description provided.
|
|
1307
|
+
|
|
1308
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:queue*
|
|
1309
|
+
*/
|
|
1310
1310
|
let postAdminQueuePromoteJobs = (~body: postAdminQueuePromoteJobsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueuePromoteJobsResponse> => {
|
|
1311
1311
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueuePromoteJobsRequestSchema)
|
|
1312
1312
|
fetch(
|
|
@@ -1405,12 +1405,12 @@ let postAdminQueueQueueStatsResponseSchema = S.object(s => {
|
|
|
1405
1405
|
})
|
|
1406
1406
|
|
|
1407
1407
|
/**
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1408
|
+
admin/queue/queue-stats
|
|
1409
|
+
|
|
1410
|
+
No description provided.
|
|
1411
|
+
|
|
1412
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
1413
|
+
*/
|
|
1414
1414
|
let postAdminQueueQueueStats = (~body: postAdminQueueQueueStatsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueQueueStatsResponse> => {
|
|
1415
1415
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueQueueStatsRequestSchema)
|
|
1416
1416
|
fetch(
|
|
@@ -1453,12 +1453,12 @@ let postAdminQueueQueuesResponse_1Schema = S.object(s => {
|
|
|
1453
1453
|
let postAdminQueueQueuesResponseSchema = S.array(postAdminQueueQueuesResponse_1Schema)
|
|
1454
1454
|
|
|
1455
1455
|
/**
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1456
|
+
admin/queue/queues
|
|
1457
|
+
|
|
1458
|
+
No description provided.
|
|
1459
|
+
|
|
1460
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
1461
|
+
*/
|
|
1462
1462
|
let postAdminQueueQueues = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueQueuesResponse> => {
|
|
1463
1463
|
|
|
1464
1464
|
fetch(
|
|
@@ -1485,12 +1485,12 @@ let postAdminQueueRemoveJobRequestSchema = S.object(s => {
|
|
|
1485
1485
|
type postAdminQueueRemoveJobResponse = unit
|
|
1486
1486
|
|
|
1487
1487
|
/**
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1488
|
+
admin/queue/remove-job
|
|
1489
|
+
|
|
1490
|
+
No description provided.
|
|
1491
|
+
|
|
1492
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:queue*
|
|
1493
|
+
*/
|
|
1494
1494
|
let postAdminQueueRemoveJob = (~body: postAdminQueueRemoveJobRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueRemoveJobResponse> => {
|
|
1495
1495
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueRemoveJobRequestSchema)
|
|
1496
1496
|
fetch(
|
|
@@ -1517,12 +1517,12 @@ let postAdminQueueRetryJobRequestSchema = S.object(s => {
|
|
|
1517
1517
|
type postAdminQueueRetryJobResponse = unit
|
|
1518
1518
|
|
|
1519
1519
|
/**
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1520
|
+
admin/queue/retry-job
|
|
1521
|
+
|
|
1522
|
+
No description provided.
|
|
1523
|
+
|
|
1524
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:queue*
|
|
1525
|
+
*/
|
|
1526
1526
|
let postAdminQueueRetryJob = (~body: postAdminQueueRetryJobRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueRetryJobResponse> => {
|
|
1527
1527
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueRetryJobRequestSchema)
|
|
1528
1528
|
fetch(
|
|
@@ -1551,12 +1551,12 @@ type postAdminQueueShowJobResponse = KokonectLinkComponentSchemas.QueueJob.t
|
|
|
1551
1551
|
let postAdminQueueShowJobResponseSchema = KokonectLinkComponentSchemas.QueueJob.schema
|
|
1552
1552
|
|
|
1553
1553
|
/**
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1554
|
+
admin/queue/show-job
|
|
1555
|
+
|
|
1556
|
+
No description provided.
|
|
1557
|
+
|
|
1558
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
1559
|
+
*/
|
|
1560
1560
|
let postAdminQueueShowJob = (~body: postAdminQueueShowJobRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueShowJobResponse> => {
|
|
1561
1561
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueShowJobRequestSchema)
|
|
1562
1562
|
fetch(
|
|
@@ -1585,12 +1585,12 @@ type postAdminQueueShowJobLogsResponse = array<string>
|
|
|
1585
1585
|
let postAdminQueueShowJobLogsResponseSchema = S.array(S.string)
|
|
1586
1586
|
|
|
1587
1587
|
/**
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1588
|
+
admin/queue/show-job-logs
|
|
1589
|
+
|
|
1590
|
+
No description provided.
|
|
1591
|
+
|
|
1592
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:queue*
|
|
1593
|
+
*/
|
|
1594
1594
|
let postAdminQueueShowJobLogs = (~body: postAdminQueueShowJobLogsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminQueueShowJobLogsResponse> => {
|
|
1595
1595
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminQueueShowJobLogsRequestSchema)
|
|
1596
1596
|
fetch(
|
|
@@ -1617,12 +1617,12 @@ let postAdminResolveAbuseUserReportRequestSchema = S.object(s => {
|
|
|
1617
1617
|
type postAdminResolveAbuseUserReportResponse = unit
|
|
1618
1618
|
|
|
1619
1619
|
/**
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1620
|
+
admin/resolve-abuse-user-report
|
|
1621
|
+
|
|
1622
|
+
No description provided.
|
|
1623
|
+
|
|
1624
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*
|
|
1625
|
+
*/
|
|
1626
1626
|
let postAdminResolveAbuseUserReport = (~body: postAdminResolveAbuseUserReportRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminResolveAbuseUserReportResponse> => {
|
|
1627
1627
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminResolveAbuseUserReportRequestSchema)
|
|
1628
1628
|
fetch(
|
|
@@ -1651,12 +1651,12 @@ let postAdminRolesAssignRequestSchema = S.object(s => {
|
|
|
1651
1651
|
type postAdminRolesAssignResponse = unit
|
|
1652
1652
|
|
|
1653
1653
|
/**
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1654
|
+
admin/roles/assign
|
|
1655
|
+
|
|
1656
|
+
No description provided.
|
|
1657
|
+
|
|
1658
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
1659
|
+
*/
|
|
1660
1660
|
let postAdminRolesAssign = (~body: postAdminRolesAssignRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesAssignResponse> => {
|
|
1661
1661
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesAssignRequestSchema)
|
|
1662
1662
|
fetch(
|
|
@@ -1711,12 +1711,12 @@ type postAdminRolesCreateResponse = KokonectLinkComponentSchemas.Role.t
|
|
|
1711
1711
|
let postAdminRolesCreateResponseSchema = KokonectLinkComponentSchemas.Role.schema
|
|
1712
1712
|
|
|
1713
1713
|
/**
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1714
|
+
admin/roles/create
|
|
1715
|
+
|
|
1716
|
+
No description provided.
|
|
1717
|
+
|
|
1718
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
1719
|
+
*/
|
|
1720
1720
|
let postAdminRolesCreate = (~body: postAdminRolesCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesCreateResponse> => {
|
|
1721
1721
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesCreateRequestSchema)
|
|
1722
1722
|
fetch(
|
|
@@ -1743,12 +1743,12 @@ type postAdminRolesShowResponse = KokonectLinkComponentSchemas.Role.t
|
|
|
1743
1743
|
let postAdminRolesShowResponseSchema = KokonectLinkComponentSchemas.Role.schema
|
|
1744
1744
|
|
|
1745
1745
|
/**
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1746
|
+
admin/roles/show
|
|
1747
|
+
|
|
1748
|
+
No description provided.
|
|
1749
|
+
|
|
1750
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:roles*
|
|
1751
|
+
*/
|
|
1752
1752
|
let postAdminRolesShow = (~body: postAdminRolesShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesShowResponse> => {
|
|
1753
1753
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesShowRequestSchema)
|
|
1754
1754
|
fetch(
|
|
@@ -1803,12 +1803,12 @@ let postAdminRolesUpdateRequestSchema = S.object(s => {
|
|
|
1803
1803
|
type postAdminRolesUpdateResponse = unit
|
|
1804
1804
|
|
|
1805
1805
|
/**
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1806
|
+
admin/roles/update
|
|
1807
|
+
|
|
1808
|
+
No description provided.
|
|
1809
|
+
|
|
1810
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:roles*
|
|
1811
|
+
*/
|
|
1812
1812
|
let postAdminRolesUpdate = (~body: postAdminRolesUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUpdateResponse> => {
|
|
1813
1813
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUpdateRequestSchema)
|
|
1814
1814
|
fetch(
|
|
@@ -1859,12 +1859,12 @@ let postAdminRolesUsersResponse_1Schema = S.object(s => {
|
|
|
1859
1859
|
let postAdminRolesUsersResponseSchema = S.array(postAdminRolesUsersResponse_1Schema)
|
|
1860
1860
|
|
|
1861
1861
|
/**
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1862
|
+
admin/roles/users
|
|
1863
|
+
|
|
1864
|
+
No description provided.
|
|
1865
|
+
|
|
1866
|
+
**Credential required**: *No* / **Permission**: *read:admin:roles*
|
|
1867
|
+
*/
|
|
1868
1868
|
let postAdminRolesUsers = (~body: postAdminRolesUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminRolesUsersResponse> => {
|
|
1869
1869
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminRolesUsersRequestSchema)
|
|
1870
1870
|
fetch(
|
|
@@ -1937,12 +1937,12 @@ let postAdminServerInfoResponseSchema = S.object(s => {
|
|
|
1937
1937
|
})
|
|
1938
1938
|
|
|
1939
1939
|
/**
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1940
|
+
admin/server-info
|
|
1941
|
+
|
|
1942
|
+
No description provided.
|
|
1943
|
+
|
|
1944
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:server-info*
|
|
1945
|
+
*/
|
|
1946
1946
|
let postAdminServerInfo = (~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminServerInfoResponse> => {
|
|
1947
1947
|
|
|
1948
1948
|
fetch(
|
|
@@ -2001,12 +2001,12 @@ let postAdminShowModerationLogsResponse_1Schema = S.object(s => {
|
|
|
2001
2001
|
let postAdminShowModerationLogsResponseSchema = S.array(postAdminShowModerationLogsResponse_1Schema)
|
|
2002
2002
|
|
|
2003
2003
|
/**
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2004
|
+
admin/show-moderation-logs
|
|
2005
|
+
|
|
2006
|
+
No description provided.
|
|
2007
|
+
|
|
2008
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:show-moderation-log*
|
|
2009
|
+
*/
|
|
2010
2010
|
let postAdminShowModerationLogs = (~body: postAdminShowModerationLogsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminShowModerationLogsResponse> => {
|
|
2011
2011
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminShowModerationLogsRequestSchema)
|
|
2012
2012
|
fetch(
|
|
@@ -2141,12 +2141,12 @@ let postAdminShowUserResponseSchema = S.object(s => {
|
|
|
2141
2141
|
})
|
|
2142
2142
|
|
|
2143
2143
|
/**
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2144
|
+
admin/show-user
|
|
2145
|
+
|
|
2146
|
+
No description provided.
|
|
2147
|
+
|
|
2148
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:show-user*
|
|
2149
|
+
*/
|
|
2150
2150
|
let postAdminShowUser = (~body: postAdminShowUserRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminShowUserResponse> => {
|
|
2151
2151
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminShowUserRequestSchema)
|
|
2152
2152
|
fetch(
|
|
@@ -2181,13 +2181,13 @@ type postAdminSystemWebhookCreateResponse = KokonectLinkComponentSchemas.SystemW
|
|
|
2181
2181
|
let postAdminSystemWebhookCreateResponseSchema = KokonectLinkComponentSchemas.SystemWebhook.schema
|
|
2182
2182
|
|
|
2183
2183
|
/**
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2184
|
+
admin/system-webhook/create
|
|
2185
|
+
|
|
2186
|
+
No description provided.
|
|
2187
|
+
|
|
2188
|
+
**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.
|
|
2189
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
2190
|
+
*/
|
|
2191
2191
|
let postAdminSystemWebhookCreate = (~body: postAdminSystemWebhookCreateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookCreateResponse> => {
|
|
2192
2192
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookCreateRequestSchema)
|
|
2193
2193
|
fetch(
|
|
@@ -2214,13 +2214,13 @@ type postAdminSystemWebhookShowResponse = KokonectLinkComponentSchemas.SystemWeb
|
|
|
2214
2214
|
let postAdminSystemWebhookShowResponseSchema = KokonectLinkComponentSchemas.SystemWebhook.schema
|
|
2215
2215
|
|
|
2216
2216
|
/**
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2217
|
+
admin/system-webhook/show
|
|
2218
|
+
|
|
2219
|
+
No description provided.
|
|
2220
|
+
|
|
2221
|
+
**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.
|
|
2222
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
2223
|
+
*/
|
|
2224
2224
|
let postAdminSystemWebhookShow = (~body: postAdminSystemWebhookShowRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookShowResponse> => {
|
|
2225
2225
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookShowRequestSchema)
|
|
2226
2226
|
fetch(
|
|
@@ -2257,13 +2257,13 @@ type postAdminSystemWebhookUpdateResponse = KokonectLinkComponentSchemas.SystemW
|
|
|
2257
2257
|
let postAdminSystemWebhookUpdateResponseSchema = KokonectLinkComponentSchemas.SystemWebhook.schema
|
|
2258
2258
|
|
|
2259
2259
|
/**
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2260
|
+
admin/system-webhook/update
|
|
2261
|
+
|
|
2262
|
+
No description provided.
|
|
2263
|
+
|
|
2264
|
+
**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.
|
|
2265
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
|
|
2266
|
+
*/
|
|
2267
2267
|
let postAdminSystemWebhookUpdate = (~body: postAdminSystemWebhookUpdateRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminSystemWebhookUpdateResponse> => {
|
|
2268
2268
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminSystemWebhookUpdateRequestSchema)
|
|
2269
2269
|
fetch(
|
|
@@ -2616,12 +2616,12 @@ let postAdminUpdateMetaRequestSchema = S.object(s => {
|
|
|
2616
2616
|
type postAdminUpdateMetaResponse = unit
|
|
2617
2617
|
|
|
2618
2618
|
/**
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2619
|
+
admin/update-meta
|
|
2620
|
+
|
|
2621
|
+
No description provided.
|
|
2622
|
+
|
|
2623
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:meta*
|
|
2624
|
+
*/
|
|
2625
2625
|
let postAdminUpdateMeta = (~body: postAdminUpdateMetaRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateMetaResponse> => {
|
|
2626
2626
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateMetaRequestSchema)
|
|
2627
2627
|
fetch(
|
|
@@ -2648,12 +2648,12 @@ type postAdminUpdateProxyAccountResponse = KokonectLinkComponentSchemas.UserDeta
|
|
|
2648
2648
|
let postAdminUpdateProxyAccountResponseSchema = KokonectLinkComponentSchemas.UserDetailed.schema
|
|
2649
2649
|
|
|
2650
2650
|
/**
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2651
|
+
admin/update-proxy-account
|
|
2652
|
+
|
|
2653
|
+
No description provided.
|
|
2654
|
+
|
|
2655
|
+
**Credential required**: *Yes* / **Permission**: *write:admin:account*
|
|
2656
|
+
*/
|
|
2657
2657
|
let postAdminUpdateProxyAccount = (~body: postAdminUpdateProxyAccountRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postAdminUpdateProxyAccountResponse> => {
|
|
2658
2658
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postAdminUpdateProxyAccountRequestSchema)
|
|
2659
2659
|
fetch(
|
|
@@ -2740,12 +2740,12 @@ let postV2AdminEmojiListResponseSchema = S.object(s => {
|
|
|
2740
2740
|
})
|
|
2741
2741
|
|
|
2742
2742
|
/**
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2743
|
+
v2/admin/emoji/list
|
|
2744
|
+
|
|
2745
|
+
No description provided.
|
|
2746
|
+
|
|
2747
|
+
**Credential required**: *Yes* / **Permission**: *read:admin:emoji*
|
|
2748
|
+
*/
|
|
2749
2749
|
let postV2AdminEmojiList = (~body: postV2AdminEmojiListRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): promise<postV2AdminEmojiListResponse> => {
|
|
2750
2750
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postV2AdminEmojiListRequestSchema)
|
|
2751
2751
|
fetch(
|