@f3liz/rescript-misskey-api 0.6.8 → 0.7.0
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/Misskey.mjs +133 -156
- package/lib/es6/src/bindings/Ofetch.mjs +2 -0
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAccount.mjs +70 -48
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAdmin.mjs +133 -98
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAntennas.mjs +9 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkApp.mjs +6 -4
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkAuth.mjs +6 -4
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChannels.mjs +18 -12
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkCharts.mjs +6 -4
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkChat.mjs +70 -54
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkClips.mjs +12 -8
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDefault.mjs +27 -20
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkDrive.mjs +35 -24
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFederation.mjs +18 -12
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFlash.mjs +9 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFlashs.mjs +3 -2
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkFollowing.mjs +21 -14
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkGallery.mjs +12 -8
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkGroups.mjs +30 -24
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkHashtags.mjs +6 -4
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkLists.mjs +9 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkMeta.mjs +27 -18
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotes.mjs +85 -58
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkNotifications.mjs +2 -2
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkPages.mjs +8 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkRole.mjs +9 -6
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkUsers.mjs +35 -24
- package/lib/es6/src/generated/kokonect-link/api/KokonectLinkWebhooks.mjs +7 -6
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAccount.mjs +92 -68
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAdmin.mjs +266 -214
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAntennas.mjs +17 -12
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoApp.mjs +6 -4
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoAuth.mjs +14 -10
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoChannels.mjs +35 -26
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoCharts.mjs +72 -48
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoClip.mjs +4 -4
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoClips.mjs +17 -12
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDefault.mjs +133 -110
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoDrive.mjs +51 -36
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFederation.mjs +32 -22
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFlash.mjs +12 -10
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFlashs.mjs +5 -4
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoFollowing.mjs +27 -20
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoGallery.mjs +24 -18
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoHashtags.mjs +18 -12
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoLists.mjs +23 -18
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoMeta.mjs +71 -48
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNonProductive.mjs +5 -4
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotes.mjs +96 -70
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoNotifications.mjs +8 -8
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoPages.mjs +17 -14
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoReactions.mjs +4 -4
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoResetPassword.mjs +4 -4
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoRole.mjs +12 -8
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoUsers.mjs +83 -56
- package/lib/es6/src/generated/misskey-io/api/MisskeyIoWebhooks.mjs +17 -14
- package/package.json +3 -2
- package/src/Misskey.res +92 -149
- package/src/bindings/Ofetch.res +14 -0
- package/src/generated/kokonect-link/api/KokonectLinkAccount.res +241 -313
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +485 -632
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +30 -39
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +20 -26
- package/src/generated/kokonect-link/api/KokonectLinkAuth.res +20 -26
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +60 -78
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +20 -26
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +260 -341
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +40 -52
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +101 -131
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +119 -155
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +60 -78
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +31 -40
- package/src/generated/kokonect-link/api/KokonectLinkFlashs.res +10 -13
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +70 -91
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +40 -52
- package/src/generated/kokonect-link/api/KokonectLinkGroups.res +116 -152
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +20 -26
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +30 -39
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +94 -121
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +289 -376
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +9 -12
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +29 -38
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +30 -39
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +119 -155
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +30 -39
- 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 +335 -437
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +1035 -1356
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +60 -78
- package/src/generated/misskey-io/api/MisskeyIoApp.res +20 -26
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +51 -66
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +129 -168
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +240 -312
- package/src/generated/misskey-io/api/MisskeyIoClip.res +18 -24
- package/src/generated/misskey-io/api/MisskeyIoClips.res +60 -78
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +561 -726
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +178 -232
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +109 -142
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +47 -62
- package/src/generated/misskey-io/api/MisskeyIoFlashs.res +19 -25
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +97 -127
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +88 -115
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +62 -80
- package/src/generated/misskey-io/api/MisskeyIoLists.res +86 -113
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +251 -323
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +19 -25
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +341 -446
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +39 -51
- package/src/generated/misskey-io/api/MisskeyIoPages.res +67 -88
- package/src/generated/misskey-io/api/MisskeyIoReactions.res +18 -24
- package/src/generated/misskey-io/api/MisskeyIoResetPassword.res +18 -24
- package/src/generated/misskey-io/api/MisskeyIoRole.res +41 -53
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +284 -368
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +69 -90
- 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
|
@@ -42,23 +42,20 @@ let getChartsActiveUsersResponseSchema = S.object(s => {
|
|
|
42
42
|
})
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
let getChartsActiveUsers = (~body: getChartsActiveUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
45
|
+
charts/active-users
|
|
46
|
+
|
|
47
|
+
No description provided.
|
|
48
|
+
|
|
49
|
+
**Credential required**: *No*
|
|
50
|
+
*/
|
|
51
|
+
let getChartsActiveUsers = async (~body: getChartsActiveUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsActiveUsersResponse => {
|
|
52
52
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsActiveUsersRequestSchema)
|
|
53
|
-
fetch(
|
|
53
|
+
let response = await fetch(
|
|
54
54
|
~url="/charts/active-users",
|
|
55
55
|
~method_="GET",
|
|
56
56
|
~body=Some(jsonBody),
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
value
|
|
60
|
-
->Promise.resolve
|
|
61
|
-
})
|
|
57
|
+
)
|
|
58
|
+
response->S.parseOrThrow(getChartsActiveUsersResponseSchema)
|
|
62
59
|
}
|
|
63
60
|
|
|
64
61
|
type postChartsActiveUsersRequest = {
|
|
@@ -98,23 +95,20 @@ let postChartsActiveUsersResponseSchema = S.object(s => {
|
|
|
98
95
|
})
|
|
99
96
|
|
|
100
97
|
/**
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
let postChartsActiveUsers = (~body: postChartsActiveUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
98
|
+
charts/active-users
|
|
99
|
+
|
|
100
|
+
No description provided.
|
|
101
|
+
|
|
102
|
+
**Credential required**: *No*
|
|
103
|
+
*/
|
|
104
|
+
let postChartsActiveUsers = async (~body: postChartsActiveUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsActiveUsersResponse => {
|
|
108
105
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsActiveUsersRequestSchema)
|
|
109
|
-
fetch(
|
|
106
|
+
let response = await fetch(
|
|
110
107
|
~url="/charts/active-users",
|
|
111
108
|
~method_="POST",
|
|
112
109
|
~body=Some(jsonBody),
|
|
113
|
-
)
|
|
114
|
-
|
|
115
|
-
value
|
|
116
|
-
->Promise.resolve
|
|
117
|
-
})
|
|
110
|
+
)
|
|
111
|
+
response->S.parseOrThrow(postChartsActiveUsersResponseSchema)
|
|
118
112
|
}
|
|
119
113
|
|
|
120
114
|
type getChartsApRequestRequest = {
|
|
@@ -142,23 +136,20 @@ let getChartsApRequestResponseSchema = S.object(s => {
|
|
|
142
136
|
})
|
|
143
137
|
|
|
144
138
|
/**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
let getChartsApRequest = (~body: getChartsApRequestRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
139
|
+
charts/ap-request
|
|
140
|
+
|
|
141
|
+
No description provided.
|
|
142
|
+
|
|
143
|
+
**Credential required**: *No*
|
|
144
|
+
*/
|
|
145
|
+
let getChartsApRequest = async (~body: getChartsApRequestRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsApRequestResponse => {
|
|
152
146
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsApRequestRequestSchema)
|
|
153
|
-
fetch(
|
|
147
|
+
let response = await fetch(
|
|
154
148
|
~url="/charts/ap-request",
|
|
155
149
|
~method_="GET",
|
|
156
150
|
~body=Some(jsonBody),
|
|
157
|
-
)
|
|
158
|
-
|
|
159
|
-
value
|
|
160
|
-
->Promise.resolve
|
|
161
|
-
})
|
|
151
|
+
)
|
|
152
|
+
response->S.parseOrThrow(getChartsApRequestResponseSchema)
|
|
162
153
|
}
|
|
163
154
|
|
|
164
155
|
type postChartsApRequestRequest = {
|
|
@@ -186,23 +177,20 @@ let postChartsApRequestResponseSchema = S.object(s => {
|
|
|
186
177
|
})
|
|
187
178
|
|
|
188
179
|
/**
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
let postChartsApRequest = (~body: postChartsApRequestRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
180
|
+
charts/ap-request
|
|
181
|
+
|
|
182
|
+
No description provided.
|
|
183
|
+
|
|
184
|
+
**Credential required**: *No*
|
|
185
|
+
*/
|
|
186
|
+
let postChartsApRequest = async (~body: postChartsApRequestRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsApRequestResponse => {
|
|
196
187
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsApRequestRequestSchema)
|
|
197
|
-
fetch(
|
|
188
|
+
let response = await fetch(
|
|
198
189
|
~url="/charts/ap-request",
|
|
199
190
|
~method_="POST",
|
|
200
191
|
~body=Some(jsonBody),
|
|
201
|
-
)
|
|
202
|
-
|
|
203
|
-
value
|
|
204
|
-
->Promise.resolve
|
|
205
|
-
})
|
|
192
|
+
)
|
|
193
|
+
response->S.parseOrThrow(postChartsApRequestResponseSchema)
|
|
206
194
|
}
|
|
207
195
|
|
|
208
196
|
type getChartsDriveRequest = {
|
|
@@ -242,23 +230,20 @@ let getChartsDriveResponseSchema = S.object(s => {
|
|
|
242
230
|
})
|
|
243
231
|
|
|
244
232
|
/**
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
let getChartsDrive = (~body: getChartsDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
233
|
+
charts/drive
|
|
234
|
+
|
|
235
|
+
No description provided.
|
|
236
|
+
|
|
237
|
+
**Credential required**: *No*
|
|
238
|
+
*/
|
|
239
|
+
let getChartsDrive = async (~body: getChartsDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsDriveResponse => {
|
|
252
240
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsDriveRequestSchema)
|
|
253
|
-
fetch(
|
|
241
|
+
let response = await fetch(
|
|
254
242
|
~url="/charts/drive",
|
|
255
243
|
~method_="GET",
|
|
256
244
|
~body=Some(jsonBody),
|
|
257
|
-
)
|
|
258
|
-
|
|
259
|
-
value
|
|
260
|
-
->Promise.resolve
|
|
261
|
-
})
|
|
245
|
+
)
|
|
246
|
+
response->S.parseOrThrow(getChartsDriveResponseSchema)
|
|
262
247
|
}
|
|
263
248
|
|
|
264
249
|
type postChartsDriveRequest = {
|
|
@@ -298,23 +283,20 @@ let postChartsDriveResponseSchema = S.object(s => {
|
|
|
298
283
|
})
|
|
299
284
|
|
|
300
285
|
/**
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
let postChartsDrive = (~body: postChartsDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
286
|
+
charts/drive
|
|
287
|
+
|
|
288
|
+
No description provided.
|
|
289
|
+
|
|
290
|
+
**Credential required**: *No*
|
|
291
|
+
*/
|
|
292
|
+
let postChartsDrive = async (~body: postChartsDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsDriveResponse => {
|
|
308
293
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsDriveRequestSchema)
|
|
309
|
-
fetch(
|
|
294
|
+
let response = await fetch(
|
|
310
295
|
~url="/charts/drive",
|
|
311
296
|
~method_="POST",
|
|
312
297
|
~body=Some(jsonBody),
|
|
313
|
-
)
|
|
314
|
-
|
|
315
|
-
value
|
|
316
|
-
->Promise.resolve
|
|
317
|
-
})
|
|
298
|
+
)
|
|
299
|
+
response->S.parseOrThrow(postChartsDriveResponseSchema)
|
|
318
300
|
}
|
|
319
301
|
|
|
320
302
|
type getChartsFederationRequest = {
|
|
@@ -352,23 +334,20 @@ let getChartsFederationResponseSchema = S.object(s => {
|
|
|
352
334
|
})
|
|
353
335
|
|
|
354
336
|
/**
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
let getChartsFederation = (~body: getChartsFederationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
337
|
+
charts/federation
|
|
338
|
+
|
|
339
|
+
No description provided.
|
|
340
|
+
|
|
341
|
+
**Credential required**: *No*
|
|
342
|
+
*/
|
|
343
|
+
let getChartsFederation = async (~body: getChartsFederationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsFederationResponse => {
|
|
362
344
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsFederationRequestSchema)
|
|
363
|
-
fetch(
|
|
345
|
+
let response = await fetch(
|
|
364
346
|
~url="/charts/federation",
|
|
365
347
|
~method_="GET",
|
|
366
348
|
~body=Some(jsonBody),
|
|
367
|
-
)
|
|
368
|
-
|
|
369
|
-
value
|
|
370
|
-
->Promise.resolve
|
|
371
|
-
})
|
|
349
|
+
)
|
|
350
|
+
response->S.parseOrThrow(getChartsFederationResponseSchema)
|
|
372
351
|
}
|
|
373
352
|
|
|
374
353
|
type postChartsFederationRequest = {
|
|
@@ -406,23 +385,20 @@ let postChartsFederationResponseSchema = S.object(s => {
|
|
|
406
385
|
})
|
|
407
386
|
|
|
408
387
|
/**
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
let postChartsFederation = (~body: postChartsFederationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
388
|
+
charts/federation
|
|
389
|
+
|
|
390
|
+
No description provided.
|
|
391
|
+
|
|
392
|
+
**Credential required**: *No*
|
|
393
|
+
*/
|
|
394
|
+
let postChartsFederation = async (~body: postChartsFederationRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsFederationResponse => {
|
|
416
395
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsFederationRequestSchema)
|
|
417
|
-
fetch(
|
|
396
|
+
let response = await fetch(
|
|
418
397
|
~url="/charts/federation",
|
|
419
398
|
~method_="POST",
|
|
420
399
|
~body=Some(jsonBody),
|
|
421
|
-
)
|
|
422
|
-
|
|
423
|
-
value
|
|
424
|
-
->Promise.resolve
|
|
425
|
-
})
|
|
400
|
+
)
|
|
401
|
+
response->S.parseOrThrow(postChartsFederationResponseSchema)
|
|
426
402
|
}
|
|
427
403
|
|
|
428
404
|
type getChartsInstanceRequest = {
|
|
@@ -526,23 +502,20 @@ let getChartsInstanceResponseSchema = S.object(s => {
|
|
|
526
502
|
})
|
|
527
503
|
|
|
528
504
|
/**
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
let getChartsInstance = (~body: getChartsInstanceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
505
|
+
charts/instance
|
|
506
|
+
|
|
507
|
+
No description provided.
|
|
508
|
+
|
|
509
|
+
**Credential required**: *No*
|
|
510
|
+
*/
|
|
511
|
+
let getChartsInstance = async (~body: getChartsInstanceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsInstanceResponse => {
|
|
536
512
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsInstanceRequestSchema)
|
|
537
|
-
fetch(
|
|
513
|
+
let response = await fetch(
|
|
538
514
|
~url="/charts/instance",
|
|
539
515
|
~method_="GET",
|
|
540
516
|
~body=Some(jsonBody),
|
|
541
|
-
)
|
|
542
|
-
|
|
543
|
-
value
|
|
544
|
-
->Promise.resolve
|
|
545
|
-
})
|
|
517
|
+
)
|
|
518
|
+
response->S.parseOrThrow(getChartsInstanceResponseSchema)
|
|
546
519
|
}
|
|
547
520
|
|
|
548
521
|
type postChartsInstanceRequest = {
|
|
@@ -646,23 +619,20 @@ let postChartsInstanceResponseSchema = S.object(s => {
|
|
|
646
619
|
})
|
|
647
620
|
|
|
648
621
|
/**
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
let postChartsInstance = (~body: postChartsInstanceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
622
|
+
charts/instance
|
|
623
|
+
|
|
624
|
+
No description provided.
|
|
625
|
+
|
|
626
|
+
**Credential required**: *No*
|
|
627
|
+
*/
|
|
628
|
+
let postChartsInstance = async (~body: postChartsInstanceRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsInstanceResponse => {
|
|
656
629
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsInstanceRequestSchema)
|
|
657
|
-
fetch(
|
|
630
|
+
let response = await fetch(
|
|
658
631
|
~url="/charts/instance",
|
|
659
632
|
~method_="POST",
|
|
660
633
|
~body=Some(jsonBody),
|
|
661
|
-
)
|
|
662
|
-
|
|
663
|
-
value
|
|
664
|
-
->Promise.resolve
|
|
665
|
-
})
|
|
634
|
+
)
|
|
635
|
+
response->S.parseOrThrow(postChartsInstanceResponseSchema)
|
|
666
636
|
}
|
|
667
637
|
|
|
668
638
|
type getChartsNotesRequest = {
|
|
@@ -716,23 +686,20 @@ let getChartsNotesResponseSchema = S.object(s => {
|
|
|
716
686
|
})
|
|
717
687
|
|
|
718
688
|
/**
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
let getChartsNotes = (~body: getChartsNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
689
|
+
charts/notes
|
|
690
|
+
|
|
691
|
+
No description provided.
|
|
692
|
+
|
|
693
|
+
**Credential required**: *No*
|
|
694
|
+
*/
|
|
695
|
+
let getChartsNotes = async (~body: getChartsNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsNotesResponse => {
|
|
726
696
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsNotesRequestSchema)
|
|
727
|
-
fetch(
|
|
697
|
+
let response = await fetch(
|
|
728
698
|
~url="/charts/notes",
|
|
729
699
|
~method_="GET",
|
|
730
700
|
~body=Some(jsonBody),
|
|
731
|
-
)
|
|
732
|
-
|
|
733
|
-
value
|
|
734
|
-
->Promise.resolve
|
|
735
|
-
})
|
|
701
|
+
)
|
|
702
|
+
response->S.parseOrThrow(getChartsNotesResponseSchema)
|
|
736
703
|
}
|
|
737
704
|
|
|
738
705
|
type postChartsNotesRequest = {
|
|
@@ -786,23 +753,20 @@ let postChartsNotesResponseSchema = S.object(s => {
|
|
|
786
753
|
})
|
|
787
754
|
|
|
788
755
|
/**
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
let postChartsNotes = (~body: postChartsNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
756
|
+
charts/notes
|
|
757
|
+
|
|
758
|
+
No description provided.
|
|
759
|
+
|
|
760
|
+
**Credential required**: *No*
|
|
761
|
+
*/
|
|
762
|
+
let postChartsNotes = async (~body: postChartsNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsNotesResponse => {
|
|
796
763
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsNotesRequestSchema)
|
|
797
|
-
fetch(
|
|
764
|
+
let response = await fetch(
|
|
798
765
|
~url="/charts/notes",
|
|
799
766
|
~method_="POST",
|
|
800
767
|
~body=Some(jsonBody),
|
|
801
|
-
)
|
|
802
|
-
|
|
803
|
-
value
|
|
804
|
-
->Promise.resolve
|
|
805
|
-
})
|
|
768
|
+
)
|
|
769
|
+
response->S.parseOrThrow(postChartsNotesResponseSchema)
|
|
806
770
|
}
|
|
807
771
|
|
|
808
772
|
type getChartsUserDriveRequest = {
|
|
@@ -838,23 +802,20 @@ let getChartsUserDriveResponseSchema = S.object(s => {
|
|
|
838
802
|
})
|
|
839
803
|
|
|
840
804
|
/**
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
let getChartsUserDrive = (~body: getChartsUserDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
805
|
+
charts/user/drive
|
|
806
|
+
|
|
807
|
+
No description provided.
|
|
808
|
+
|
|
809
|
+
**Credential required**: *No*
|
|
810
|
+
*/
|
|
811
|
+
let getChartsUserDrive = async (~body: getChartsUserDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsUserDriveResponse => {
|
|
848
812
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsUserDriveRequestSchema)
|
|
849
|
-
fetch(
|
|
813
|
+
let response = await fetch(
|
|
850
814
|
~url="/charts/user/drive",
|
|
851
815
|
~method_="GET",
|
|
852
816
|
~body=Some(jsonBody),
|
|
853
|
-
)
|
|
854
|
-
|
|
855
|
-
value
|
|
856
|
-
->Promise.resolve
|
|
857
|
-
})
|
|
817
|
+
)
|
|
818
|
+
response->S.parseOrThrow(getChartsUserDriveResponseSchema)
|
|
858
819
|
}
|
|
859
820
|
|
|
860
821
|
type postChartsUserDriveRequest = {
|
|
@@ -890,23 +851,20 @@ let postChartsUserDriveResponseSchema = S.object(s => {
|
|
|
890
851
|
})
|
|
891
852
|
|
|
892
853
|
/**
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
let postChartsUserDrive = (~body: postChartsUserDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
854
|
+
charts/user/drive
|
|
855
|
+
|
|
856
|
+
No description provided.
|
|
857
|
+
|
|
858
|
+
**Credential required**: *No*
|
|
859
|
+
*/
|
|
860
|
+
let postChartsUserDrive = async (~body: postChartsUserDriveRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsUserDriveResponse => {
|
|
900
861
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsUserDriveRequestSchema)
|
|
901
|
-
fetch(
|
|
862
|
+
let response = await fetch(
|
|
902
863
|
~url="/charts/user/drive",
|
|
903
864
|
~method_="POST",
|
|
904
865
|
~body=Some(jsonBody),
|
|
905
|
-
)
|
|
906
|
-
|
|
907
|
-
value
|
|
908
|
-
->Promise.resolve
|
|
909
|
-
})
|
|
866
|
+
)
|
|
867
|
+
response->S.parseOrThrow(postChartsUserDriveResponseSchema)
|
|
910
868
|
}
|
|
911
869
|
|
|
912
870
|
type getChartsUserFollowingRequest = {
|
|
@@ -956,23 +914,20 @@ let getChartsUserFollowingResponseSchema = S.object(s => {
|
|
|
956
914
|
})
|
|
957
915
|
|
|
958
916
|
/**
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
let getChartsUserFollowing = (~body: getChartsUserFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
917
|
+
charts/user/following
|
|
918
|
+
|
|
919
|
+
No description provided.
|
|
920
|
+
|
|
921
|
+
**Credential required**: *No*
|
|
922
|
+
*/
|
|
923
|
+
let getChartsUserFollowing = async (~body: getChartsUserFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsUserFollowingResponse => {
|
|
966
924
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsUserFollowingRequestSchema)
|
|
967
|
-
fetch(
|
|
925
|
+
let response = await fetch(
|
|
968
926
|
~url="/charts/user/following",
|
|
969
927
|
~method_="GET",
|
|
970
928
|
~body=Some(jsonBody),
|
|
971
|
-
)
|
|
972
|
-
|
|
973
|
-
value
|
|
974
|
-
->Promise.resolve
|
|
975
|
-
})
|
|
929
|
+
)
|
|
930
|
+
response->S.parseOrThrow(getChartsUserFollowingResponseSchema)
|
|
976
931
|
}
|
|
977
932
|
|
|
978
933
|
type postChartsUserFollowingRequest = {
|
|
@@ -1022,23 +977,20 @@ let postChartsUserFollowingResponseSchema = S.object(s => {
|
|
|
1022
977
|
})
|
|
1023
978
|
|
|
1024
979
|
/**
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
let postChartsUserFollowing = (~body: postChartsUserFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
980
|
+
charts/user/following
|
|
981
|
+
|
|
982
|
+
No description provided.
|
|
983
|
+
|
|
984
|
+
**Credential required**: *No*
|
|
985
|
+
*/
|
|
986
|
+
let postChartsUserFollowing = async (~body: postChartsUserFollowingRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsUserFollowingResponse => {
|
|
1032
987
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsUserFollowingRequestSchema)
|
|
1033
|
-
fetch(
|
|
988
|
+
let response = await fetch(
|
|
1034
989
|
~url="/charts/user/following",
|
|
1035
990
|
~method_="POST",
|
|
1036
991
|
~body=Some(jsonBody),
|
|
1037
|
-
)
|
|
1038
|
-
|
|
1039
|
-
value
|
|
1040
|
-
->Promise.resolve
|
|
1041
|
-
})
|
|
992
|
+
)
|
|
993
|
+
response->S.parseOrThrow(postChartsUserFollowingResponseSchema)
|
|
1042
994
|
}
|
|
1043
995
|
|
|
1044
996
|
type getChartsUserNotesRequest = {
|
|
@@ -1084,23 +1036,20 @@ let getChartsUserNotesResponseSchema = S.object(s => {
|
|
|
1084
1036
|
})
|
|
1085
1037
|
|
|
1086
1038
|
/**
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
let getChartsUserNotes = (~body: getChartsUserNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1039
|
+
charts/user/notes
|
|
1040
|
+
|
|
1041
|
+
No description provided.
|
|
1042
|
+
|
|
1043
|
+
**Credential required**: *No*
|
|
1044
|
+
*/
|
|
1045
|
+
let getChartsUserNotes = async (~body: getChartsUserNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsUserNotesResponse => {
|
|
1094
1046
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsUserNotesRequestSchema)
|
|
1095
|
-
fetch(
|
|
1047
|
+
let response = await fetch(
|
|
1096
1048
|
~url="/charts/user/notes",
|
|
1097
1049
|
~method_="GET",
|
|
1098
1050
|
~body=Some(jsonBody),
|
|
1099
|
-
)
|
|
1100
|
-
|
|
1101
|
-
value
|
|
1102
|
-
->Promise.resolve
|
|
1103
|
-
})
|
|
1051
|
+
)
|
|
1052
|
+
response->S.parseOrThrow(getChartsUserNotesResponseSchema)
|
|
1104
1053
|
}
|
|
1105
1054
|
|
|
1106
1055
|
type postChartsUserNotesRequest = {
|
|
@@ -1146,23 +1095,20 @@ let postChartsUserNotesResponseSchema = S.object(s => {
|
|
|
1146
1095
|
})
|
|
1147
1096
|
|
|
1148
1097
|
/**
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
let postChartsUserNotes = (~body: postChartsUserNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1098
|
+
charts/user/notes
|
|
1099
|
+
|
|
1100
|
+
No description provided.
|
|
1101
|
+
|
|
1102
|
+
**Credential required**: *No*
|
|
1103
|
+
*/
|
|
1104
|
+
let postChartsUserNotes = async (~body: postChartsUserNotesRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsUserNotesResponse => {
|
|
1156
1105
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsUserNotesRequestSchema)
|
|
1157
|
-
fetch(
|
|
1106
|
+
let response = await fetch(
|
|
1158
1107
|
~url="/charts/user/notes",
|
|
1159
1108
|
~method_="POST",
|
|
1160
1109
|
~body=Some(jsonBody),
|
|
1161
|
-
)
|
|
1162
|
-
|
|
1163
|
-
value
|
|
1164
|
-
->Promise.resolve
|
|
1165
|
-
})
|
|
1110
|
+
)
|
|
1111
|
+
response->S.parseOrThrow(postChartsUserNotesResponseSchema)
|
|
1166
1112
|
}
|
|
1167
1113
|
|
|
1168
1114
|
type getChartsUserPvRequest = {
|
|
@@ -1200,23 +1146,20 @@ let getChartsUserPvResponseSchema = S.object(s => {
|
|
|
1200
1146
|
})
|
|
1201
1147
|
|
|
1202
1148
|
/**
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
let getChartsUserPv = (~body: getChartsUserPvRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1149
|
+
charts/user/pv
|
|
1150
|
+
|
|
1151
|
+
No description provided.
|
|
1152
|
+
|
|
1153
|
+
**Credential required**: *No*
|
|
1154
|
+
*/
|
|
1155
|
+
let getChartsUserPv = async (~body: getChartsUserPvRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsUserPvResponse => {
|
|
1210
1156
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsUserPvRequestSchema)
|
|
1211
|
-
fetch(
|
|
1157
|
+
let response = await fetch(
|
|
1212
1158
|
~url="/charts/user/pv",
|
|
1213
1159
|
~method_="GET",
|
|
1214
1160
|
~body=Some(jsonBody),
|
|
1215
|
-
)
|
|
1216
|
-
|
|
1217
|
-
value
|
|
1218
|
-
->Promise.resolve
|
|
1219
|
-
})
|
|
1161
|
+
)
|
|
1162
|
+
response->S.parseOrThrow(getChartsUserPvResponseSchema)
|
|
1220
1163
|
}
|
|
1221
1164
|
|
|
1222
1165
|
type postChartsUserPvRequest = {
|
|
@@ -1254,23 +1197,20 @@ let postChartsUserPvResponseSchema = S.object(s => {
|
|
|
1254
1197
|
})
|
|
1255
1198
|
|
|
1256
1199
|
/**
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
let postChartsUserPv = (~body: postChartsUserPvRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1200
|
+
charts/user/pv
|
|
1201
|
+
|
|
1202
|
+
No description provided.
|
|
1203
|
+
|
|
1204
|
+
**Credential required**: *No*
|
|
1205
|
+
*/
|
|
1206
|
+
let postChartsUserPv = async (~body: postChartsUserPvRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsUserPvResponse => {
|
|
1264
1207
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsUserPvRequestSchema)
|
|
1265
|
-
fetch(
|
|
1208
|
+
let response = await fetch(
|
|
1266
1209
|
~url="/charts/user/pv",
|
|
1267
1210
|
~method_="POST",
|
|
1268
1211
|
~body=Some(jsonBody),
|
|
1269
|
-
)
|
|
1270
|
-
|
|
1271
|
-
value
|
|
1272
|
-
->Promise.resolve
|
|
1273
|
-
})
|
|
1212
|
+
)
|
|
1213
|
+
response->S.parseOrThrow(postChartsUserPvResponseSchema)
|
|
1274
1214
|
}
|
|
1275
1215
|
|
|
1276
1216
|
type getChartsUserReactionsRequest = {
|
|
@@ -1306,23 +1246,20 @@ let getChartsUserReactionsResponseSchema = S.object(s => {
|
|
|
1306
1246
|
})
|
|
1307
1247
|
|
|
1308
1248
|
/**
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
let getChartsUserReactions = (~body: getChartsUserReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1249
|
+
charts/user/reactions
|
|
1250
|
+
|
|
1251
|
+
No description provided.
|
|
1252
|
+
|
|
1253
|
+
**Credential required**: *No*
|
|
1254
|
+
*/
|
|
1255
|
+
let getChartsUserReactions = async (~body: getChartsUserReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsUserReactionsResponse => {
|
|
1316
1256
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsUserReactionsRequestSchema)
|
|
1317
|
-
fetch(
|
|
1257
|
+
let response = await fetch(
|
|
1318
1258
|
~url="/charts/user/reactions",
|
|
1319
1259
|
~method_="GET",
|
|
1320
1260
|
~body=Some(jsonBody),
|
|
1321
|
-
)
|
|
1322
|
-
|
|
1323
|
-
value
|
|
1324
|
-
->Promise.resolve
|
|
1325
|
-
})
|
|
1261
|
+
)
|
|
1262
|
+
response->S.parseOrThrow(getChartsUserReactionsResponseSchema)
|
|
1326
1263
|
}
|
|
1327
1264
|
|
|
1328
1265
|
type postChartsUserReactionsRequest = {
|
|
@@ -1358,23 +1295,20 @@ let postChartsUserReactionsResponseSchema = S.object(s => {
|
|
|
1358
1295
|
})
|
|
1359
1296
|
|
|
1360
1297
|
/**
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
let postChartsUserReactions = (~body: postChartsUserReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1298
|
+
charts/user/reactions
|
|
1299
|
+
|
|
1300
|
+
No description provided.
|
|
1301
|
+
|
|
1302
|
+
**Credential required**: *No*
|
|
1303
|
+
*/
|
|
1304
|
+
let postChartsUserReactions = async (~body: postChartsUserReactionsRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsUserReactionsResponse => {
|
|
1368
1305
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsUserReactionsRequestSchema)
|
|
1369
|
-
fetch(
|
|
1306
|
+
let response = await fetch(
|
|
1370
1307
|
~url="/charts/user/reactions",
|
|
1371
1308
|
~method_="POST",
|
|
1372
1309
|
~body=Some(jsonBody),
|
|
1373
|
-
)
|
|
1374
|
-
|
|
1375
|
-
value
|
|
1376
|
-
->Promise.resolve
|
|
1377
|
-
})
|
|
1310
|
+
)
|
|
1311
|
+
response->S.parseOrThrow(postChartsUserReactionsResponseSchema)
|
|
1378
1312
|
}
|
|
1379
1313
|
|
|
1380
1314
|
type getChartsUsersRequest = {
|
|
@@ -1412,23 +1346,20 @@ let getChartsUsersResponseSchema = S.object(s => {
|
|
|
1412
1346
|
})
|
|
1413
1347
|
|
|
1414
1348
|
/**
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
let getChartsUsers = (~body: getChartsUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1349
|
+
charts/users
|
|
1350
|
+
|
|
1351
|
+
No description provided.
|
|
1352
|
+
|
|
1353
|
+
**Credential required**: *No*
|
|
1354
|
+
*/
|
|
1355
|
+
let getChartsUsers = async (~body: getChartsUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): getChartsUsersResponse => {
|
|
1422
1356
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(getChartsUsersRequestSchema)
|
|
1423
|
-
fetch(
|
|
1357
|
+
let response = await fetch(
|
|
1424
1358
|
~url="/charts/users",
|
|
1425
1359
|
~method_="GET",
|
|
1426
1360
|
~body=Some(jsonBody),
|
|
1427
|
-
)
|
|
1428
|
-
|
|
1429
|
-
value
|
|
1430
|
-
->Promise.resolve
|
|
1431
|
-
})
|
|
1361
|
+
)
|
|
1362
|
+
response->S.parseOrThrow(getChartsUsersResponseSchema)
|
|
1432
1363
|
}
|
|
1433
1364
|
|
|
1434
1365
|
type postChartsUsersRequest = {
|
|
@@ -1466,21 +1397,18 @@ let postChartsUsersResponseSchema = S.object(s => {
|
|
|
1466
1397
|
})
|
|
1467
1398
|
|
|
1468
1399
|
/**
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
let postChartsUsers = (~body: postChartsUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>):
|
|
1400
|
+
charts/users
|
|
1401
|
+
|
|
1402
|
+
No description provided.
|
|
1403
|
+
|
|
1404
|
+
**Credential required**: *No*
|
|
1405
|
+
*/
|
|
1406
|
+
let postChartsUsers = async (~body: postChartsUsersRequest, ~fetch: (~url: string, ~method_: string, ~body: option<JSON.t>) => Promise.t<JSON.t>): postChartsUsersResponse => {
|
|
1476
1407
|
let jsonBody = body->S.reverseConvertToJsonOrThrow(postChartsUsersRequestSchema)
|
|
1477
|
-
fetch(
|
|
1408
|
+
let response = await fetch(
|
|
1478
1409
|
~url="/charts/users",
|
|
1479
1410
|
~method_="POST",
|
|
1480
1411
|
~body=Some(jsonBody),
|
|
1481
|
-
)
|
|
1482
|
-
|
|
1483
|
-
value
|
|
1484
|
-
->Promise.resolve
|
|
1485
|
-
})
|
|
1412
|
+
)
|
|
1413
|
+
response->S.parseOrThrow(postChartsUsersResponseSchema)
|
|
1486
1414
|
}
|