@f3liz/rescript-misskey-api 0.6.9 → 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 +94 -166
- package/src/generated/kokonect-link/api/KokonectLinkAdmin.res +182 -329
- package/src/generated/kokonect-link/api/KokonectLinkAntennas.res +12 -21
- package/src/generated/kokonect-link/api/KokonectLinkApp.res +8 -14
- package/src/generated/kokonect-link/api/KokonectLinkAuth.res +8 -14
- package/src/generated/kokonect-link/api/KokonectLinkChannels.res +24 -42
- package/src/generated/kokonect-link/api/KokonectLinkCharts.res +8 -14
- package/src/generated/kokonect-link/api/KokonectLinkChat.res +97 -178
- package/src/generated/kokonect-link/api/KokonectLinkClips.res +16 -28
- package/src/generated/kokonect-link/api/KokonectLinkDefault.res +37 -67
- package/src/generated/kokonect-link/api/KokonectLinkDrive.res +47 -83
- package/src/generated/kokonect-link/api/KokonectLinkFederation.res +24 -42
- package/src/generated/kokonect-link/api/KokonectLinkFlash.res +12 -21
- package/src/generated/kokonect-link/api/KokonectLinkFlashs.res +4 -7
- package/src/generated/kokonect-link/api/KokonectLinkFollowing.res +28 -49
- package/src/generated/kokonect-link/api/KokonectLinkGallery.res +16 -28
- package/src/generated/kokonect-link/api/KokonectLinkGroups.res +42 -78
- package/src/generated/kokonect-link/api/KokonectLinkHashtags.res +8 -14
- package/src/generated/kokonect-link/api/KokonectLinkLists.res +12 -21
- package/src/generated/kokonect-link/api/KokonectLinkMeta.res +36 -63
- package/src/generated/kokonect-link/api/KokonectLinkNotes.res +114 -201
- package/src/generated/kokonect-link/api/KokonectLinkNotifications.res +3 -6
- package/src/generated/kokonect-link/api/KokonectLinkPages.res +11 -20
- package/src/generated/kokonect-link/api/KokonectLinkRole.res +12 -21
- package/src/generated/kokonect-link/api/KokonectLinkUsers.res +47 -83
- package/src/generated/kokonect-link/api/KokonectLinkWebhooks.res +10 -19
- package/src/generated/misskey-io/api/MisskeyIoAccount.res +126 -228
- package/src/generated/misskey-io/api/MisskeyIoAdmin.res +373 -694
- package/src/generated/misskey-io/api/MisskeyIoAntennas.res +23 -41
- package/src/generated/misskey-io/api/MisskeyIoApp.res +8 -14
- package/src/generated/misskey-io/api/MisskeyIoAuth.res +19 -34
- package/src/generated/misskey-io/api/MisskeyIoChannels.res +48 -87
- package/src/generated/misskey-io/api/MisskeyIoCharts.res +96 -168
- package/src/generated/misskey-io/api/MisskeyIoClip.res +6 -12
- package/src/generated/misskey-io/api/MisskeyIoClips.res +23 -41
- package/src/generated/misskey-io/api/MisskeyIoDefault.res +188 -353
- package/src/generated/misskey-io/api/MisskeyIoDrive.res +69 -123
- package/src/generated/misskey-io/api/MisskeyIoFederation.res +43 -76
- package/src/generated/misskey-io/api/MisskeyIoFlash.res +17 -32
- package/src/generated/misskey-io/api/MisskeyIoFlashs.res +7 -13
- package/src/generated/misskey-io/api/MisskeyIoFollowing.res +37 -67
- package/src/generated/misskey-io/api/MisskeyIoGallery.res +33 -60
- package/src/generated/misskey-io/api/MisskeyIoHashtags.res +24 -42
- package/src/generated/misskey-io/api/MisskeyIoLists.res +32 -59
- package/src/generated/misskey-io/api/MisskeyIoMeta.res +95 -167
- package/src/generated/misskey-io/api/MisskeyIoNonProductive.res +7 -13
- package/src/generated/misskey-io/api/MisskeyIoNotes.res +131 -236
- package/src/generated/misskey-io/api/MisskeyIoNotifications.res +12 -24
- package/src/generated/misskey-io/api/MisskeyIoPages.res +24 -45
- package/src/generated/misskey-io/api/MisskeyIoReactions.res +6 -12
- package/src/generated/misskey-io/api/MisskeyIoResetPassword.res +6 -12
- package/src/generated/misskey-io/api/MisskeyIoRole.res +16 -28
- package/src/generated/misskey-io/api/MisskeyIoUsers.res +111 -195
- package/src/generated/misskey-io/api/MisskeyIoWebhooks.res +24 -45
|
@@ -10,8 +10,9 @@ let postDriveResponseSchema = S.object(s => ({
|
|
|
10
10
|
usage: s.f("usage", S.float)
|
|
11
11
|
}));
|
|
12
12
|
|
|
13
|
-
function postDrive(fetch) {
|
|
14
|
-
|
|
13
|
+
async function postDrive(fetch) {
|
|
14
|
+
let response = await fetch("/drive", "POST", undefined);
|
|
15
|
+
return S.parseOrThrow(response, postDriveResponseSchema);
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
let postDriveFilesRequestSchema = S.object(s => ({
|
|
@@ -25,9 +26,10 @@ let postDriveFilesRequestSchema = S.object(s => ({
|
|
|
25
26
|
|
|
26
27
|
let postDriveFilesResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema);
|
|
27
28
|
|
|
28
|
-
function postDriveFiles(body, fetch) {
|
|
29
|
+
async function postDriveFiles(body, fetch) {
|
|
29
30
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesRequestSchema);
|
|
30
|
-
|
|
31
|
+
let response = await fetch("/drive/files", "POST", jsonBody);
|
|
32
|
+
return S.parseOrThrow(response, postDriveFilesResponseSchema);
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
let postDriveFilesAttachedNotesRequestSchema = S.object(s => ({
|
|
@@ -39,18 +41,20 @@ let postDriveFilesAttachedNotesRequestSchema = S.object(s => ({
|
|
|
39
41
|
|
|
40
42
|
let postDriveFilesAttachedNotesResponseSchema = S.array(MisskeyIoComponentSchemas.Note.schema);
|
|
41
43
|
|
|
42
|
-
function postDriveFilesAttachedNotes(body, fetch) {
|
|
44
|
+
async function postDriveFilesAttachedNotes(body, fetch) {
|
|
43
45
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesAttachedNotesRequestSchema);
|
|
44
|
-
|
|
46
|
+
let response = await fetch("/drive/files/attached-notes", "POST", jsonBody);
|
|
47
|
+
return S.parseOrThrow(response, postDriveFilesAttachedNotesResponseSchema);
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
let postDriveFilesCheckExistenceRequestSchema = S.object(s => ({
|
|
48
51
|
md5: s.f("md5", S.string)
|
|
49
52
|
}));
|
|
50
53
|
|
|
51
|
-
function postDriveFilesCheckExistence(body, fetch) {
|
|
54
|
+
async function postDriveFilesCheckExistence(body, fetch) {
|
|
52
55
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesCheckExistenceRequestSchema);
|
|
53
|
-
|
|
56
|
+
let response = await fetch("/drive/files/check-existence", "POST", jsonBody);
|
|
57
|
+
return S.parseOrThrow(response, S.bool);
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
let postDriveFilesCreateRequestSchema = S.object(s => ({
|
|
@@ -64,18 +68,19 @@ let postDriveFilesCreateRequestSchema = S.object(s => ({
|
|
|
64
68
|
|
|
65
69
|
let postDriveFilesCreateResponseSchema = MisskeyIoComponentSchemas.DriveFile.schema;
|
|
66
70
|
|
|
67
|
-
function postDriveFilesCreate(body, fetch) {
|
|
71
|
+
async function postDriveFilesCreate(body, fetch) {
|
|
68
72
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesCreateRequestSchema);
|
|
69
|
-
|
|
73
|
+
let response = await fetch("/drive/files/create", "POST", jsonBody);
|
|
74
|
+
return S.parseOrThrow(response, postDriveFilesCreateResponseSchema);
|
|
70
75
|
}
|
|
71
76
|
|
|
72
77
|
let postDriveFilesDeleteRequestSchema = S.object(s => ({
|
|
73
78
|
fileId: s.f("fileId", S.string)
|
|
74
79
|
}));
|
|
75
80
|
|
|
76
|
-
function postDriveFilesDelete(body, fetch) {
|
|
81
|
+
async function postDriveFilesDelete(body, fetch) {
|
|
77
82
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesDeleteRequestSchema);
|
|
78
|
-
|
|
83
|
+
await fetch("/drive/files/delete", "POST", jsonBody);
|
|
79
84
|
}
|
|
80
85
|
|
|
81
86
|
let postDriveFilesFindRequestSchema = S.object(s => ({
|
|
@@ -85,9 +90,10 @@ let postDriveFilesFindRequestSchema = S.object(s => ({
|
|
|
85
90
|
|
|
86
91
|
let postDriveFilesFindResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema);
|
|
87
92
|
|
|
88
|
-
function postDriveFilesFind(body, fetch) {
|
|
93
|
+
async function postDriveFilesFind(body, fetch) {
|
|
89
94
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesFindRequestSchema);
|
|
90
|
-
|
|
95
|
+
let response = await fetch("/drive/files/find", "POST", jsonBody);
|
|
96
|
+
return S.parseOrThrow(response, postDriveFilesFindResponseSchema);
|
|
91
97
|
}
|
|
92
98
|
|
|
93
99
|
let postDriveFilesFindByHashRequestSchema = S.object(s => ({
|
|
@@ -96,9 +102,10 @@ let postDriveFilesFindByHashRequestSchema = S.object(s => ({
|
|
|
96
102
|
|
|
97
103
|
let postDriveFilesFindByHashResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema);
|
|
98
104
|
|
|
99
|
-
function postDriveFilesFindByHash(body, fetch) {
|
|
105
|
+
async function postDriveFilesFindByHash(body, fetch) {
|
|
100
106
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesFindByHashRequestSchema);
|
|
101
|
-
|
|
107
|
+
let response = await fetch("/drive/files/find-by-hash", "POST", jsonBody);
|
|
108
|
+
return S.parseOrThrow(response, postDriveFilesFindByHashResponseSchema);
|
|
102
109
|
}
|
|
103
110
|
|
|
104
111
|
let postDriveFilesShowRequestSchema = S.object(s => ({
|
|
@@ -108,9 +115,10 @@ let postDriveFilesShowRequestSchema = S.object(s => ({
|
|
|
108
115
|
|
|
109
116
|
let postDriveFilesShowResponseSchema = MisskeyIoComponentSchemas.DriveFile.schema;
|
|
110
117
|
|
|
111
|
-
function postDriveFilesShow(body, fetch) {
|
|
118
|
+
async function postDriveFilesShow(body, fetch) {
|
|
112
119
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesShowRequestSchema);
|
|
113
|
-
|
|
120
|
+
let response = await fetch("/drive/files/show", "POST", jsonBody);
|
|
121
|
+
return S.parseOrThrow(response, postDriveFilesShowResponseSchema);
|
|
114
122
|
}
|
|
115
123
|
|
|
116
124
|
let postDriveFilesUpdateRequestSchema = S.object(s => ({
|
|
@@ -123,9 +131,10 @@ let postDriveFilesUpdateRequestSchema = S.object(s => ({
|
|
|
123
131
|
|
|
124
132
|
let postDriveFilesUpdateResponseSchema = MisskeyIoComponentSchemas.DriveFile.schema;
|
|
125
133
|
|
|
126
|
-
function postDriveFilesUpdate(body, fetch) {
|
|
134
|
+
async function postDriveFilesUpdate(body, fetch) {
|
|
127
135
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesUpdateRequestSchema);
|
|
128
|
-
|
|
136
|
+
let response = await fetch("/drive/files/update", "POST", jsonBody);
|
|
137
|
+
return S.parseOrThrow(response, postDriveFilesUpdateResponseSchema);
|
|
129
138
|
}
|
|
130
139
|
|
|
131
140
|
let postDriveFilesUploadFromUrlRequestSchema = S.object(s => ({
|
|
@@ -137,9 +146,9 @@ let postDriveFilesUploadFromUrlRequestSchema = S.object(s => ({
|
|
|
137
146
|
force: s.f("force", S.option(S.bool))
|
|
138
147
|
}));
|
|
139
148
|
|
|
140
|
-
function postDriveFilesUploadFromUrl(body, fetch) {
|
|
149
|
+
async function postDriveFilesUploadFromUrl(body, fetch) {
|
|
141
150
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFilesUploadFromUrlRequestSchema);
|
|
142
|
-
|
|
151
|
+
await fetch("/drive/files/upload-from-url", "POST", jsonBody);
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
let postDriveFoldersRequestSchema = S.object(s => ({
|
|
@@ -151,9 +160,10 @@ let postDriveFoldersRequestSchema = S.object(s => ({
|
|
|
151
160
|
|
|
152
161
|
let postDriveFoldersResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFolder.schema);
|
|
153
162
|
|
|
154
|
-
function postDriveFolders(body, fetch) {
|
|
163
|
+
async function postDriveFolders(body, fetch) {
|
|
155
164
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFoldersRequestSchema);
|
|
156
|
-
|
|
165
|
+
let response = await fetch("/drive/folders", "POST", jsonBody);
|
|
166
|
+
return S.parseOrThrow(response, postDriveFoldersResponseSchema);
|
|
157
167
|
}
|
|
158
168
|
|
|
159
169
|
let postDriveFoldersCreateRequestSchema = S.object(s => ({
|
|
@@ -163,18 +173,19 @@ let postDriveFoldersCreateRequestSchema = S.object(s => ({
|
|
|
163
173
|
|
|
164
174
|
let postDriveFoldersCreateResponseSchema = MisskeyIoComponentSchemas.DriveFolder.schema;
|
|
165
175
|
|
|
166
|
-
function postDriveFoldersCreate(body, fetch) {
|
|
176
|
+
async function postDriveFoldersCreate(body, fetch) {
|
|
167
177
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFoldersCreateRequestSchema);
|
|
168
|
-
|
|
178
|
+
let response = await fetch("/drive/folders/create", "POST", jsonBody);
|
|
179
|
+
return S.parseOrThrow(response, postDriveFoldersCreateResponseSchema);
|
|
169
180
|
}
|
|
170
181
|
|
|
171
182
|
let postDriveFoldersDeleteRequestSchema = S.object(s => ({
|
|
172
183
|
folderId: s.f("folderId", S.string)
|
|
173
184
|
}));
|
|
174
185
|
|
|
175
|
-
function postDriveFoldersDelete(body, fetch) {
|
|
186
|
+
async function postDriveFoldersDelete(body, fetch) {
|
|
176
187
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFoldersDeleteRequestSchema);
|
|
177
|
-
|
|
188
|
+
await fetch("/drive/folders/delete", "POST", jsonBody);
|
|
178
189
|
}
|
|
179
190
|
|
|
180
191
|
let postDriveFoldersFindRequestSchema = S.object(s => ({
|
|
@@ -184,9 +195,10 @@ let postDriveFoldersFindRequestSchema = S.object(s => ({
|
|
|
184
195
|
|
|
185
196
|
let postDriveFoldersFindResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFolder.schema);
|
|
186
197
|
|
|
187
|
-
function postDriveFoldersFind(body, fetch) {
|
|
198
|
+
async function postDriveFoldersFind(body, fetch) {
|
|
188
199
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFoldersFindRequestSchema);
|
|
189
|
-
|
|
200
|
+
let response = await fetch("/drive/folders/find", "POST", jsonBody);
|
|
201
|
+
return S.parseOrThrow(response, postDriveFoldersFindResponseSchema);
|
|
190
202
|
}
|
|
191
203
|
|
|
192
204
|
let postDriveFoldersShowRequestSchema = S.object(s => ({
|
|
@@ -195,9 +207,10 @@ let postDriveFoldersShowRequestSchema = S.object(s => ({
|
|
|
195
207
|
|
|
196
208
|
let postDriveFoldersShowResponseSchema = MisskeyIoComponentSchemas.DriveFolder.schema;
|
|
197
209
|
|
|
198
|
-
function postDriveFoldersShow(body, fetch) {
|
|
210
|
+
async function postDriveFoldersShow(body, fetch) {
|
|
199
211
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFoldersShowRequestSchema);
|
|
200
|
-
|
|
212
|
+
let response = await fetch("/drive/folders/show", "POST", jsonBody);
|
|
213
|
+
return S.parseOrThrow(response, postDriveFoldersShowResponseSchema);
|
|
201
214
|
}
|
|
202
215
|
|
|
203
216
|
let postDriveFoldersUpdateRequestSchema = S.object(s => ({
|
|
@@ -208,9 +221,10 @@ let postDriveFoldersUpdateRequestSchema = S.object(s => ({
|
|
|
208
221
|
|
|
209
222
|
let postDriveFoldersUpdateResponseSchema = MisskeyIoComponentSchemas.DriveFolder.schema;
|
|
210
223
|
|
|
211
|
-
function postDriveFoldersUpdate(body, fetch) {
|
|
224
|
+
async function postDriveFoldersUpdate(body, fetch) {
|
|
212
225
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveFoldersUpdateRequestSchema);
|
|
213
|
-
|
|
226
|
+
let response = await fetch("/drive/folders/update", "POST", jsonBody);
|
|
227
|
+
return S.parseOrThrow(response, postDriveFoldersUpdateResponseSchema);
|
|
214
228
|
}
|
|
215
229
|
|
|
216
230
|
let postDriveStreamRequestSchema = S.object(s => ({
|
|
@@ -222,9 +236,10 @@ let postDriveStreamRequestSchema = S.object(s => ({
|
|
|
222
236
|
|
|
223
237
|
let postDriveStreamResponseSchema = S.array(MisskeyIoComponentSchemas.DriveFile.schema);
|
|
224
238
|
|
|
225
|
-
function postDriveStream(body, fetch) {
|
|
239
|
+
async function postDriveStream(body, fetch) {
|
|
226
240
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postDriveStreamRequestSchema);
|
|
227
|
-
|
|
241
|
+
let response = await fetch("/drive/stream", "POST", jsonBody);
|
|
242
|
+
return S.parseOrThrow(response, postDriveStreamResponseSchema);
|
|
228
243
|
}
|
|
229
244
|
|
|
230
245
|
let postDriveFilesCheckExistenceResponseSchema = S.bool;
|
|
@@ -11,9 +11,10 @@ let postApGetRequestSchema = S.object(s => ({
|
|
|
11
11
|
|
|
12
12
|
let postApGetResponseSchema = S.dict(S.json);
|
|
13
13
|
|
|
14
|
-
function postApGet(body, fetch) {
|
|
14
|
+
async function postApGet(body, fetch) {
|
|
15
15
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postApGetRequestSchema);
|
|
16
|
-
|
|
16
|
+
let response = await fetch("/ap/get", "POST", jsonBody);
|
|
17
|
+
return S.parseOrThrow(response, postApGetResponseSchema);
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
let postApShowRequestSchema = S.object(s => ({
|
|
@@ -25,9 +26,10 @@ let postApShowResponse_1Schema = S.object(s => ({
|
|
|
25
26
|
object: s.f("object", MisskeyIoComponentSchemas.Note.schema)
|
|
26
27
|
}));
|
|
27
28
|
|
|
28
|
-
function postApShow(body, fetch) {
|
|
29
|
+
async function postApShow(body, fetch) {
|
|
29
30
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postApShowRequestSchema);
|
|
30
|
-
|
|
31
|
+
let response = await fetch("/ap/show", "POST", jsonBody);
|
|
32
|
+
return S.parseOrThrow(response, postApShowResponse_1Schema);
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
let postFederationFollowersRequestSchema = S.object(s => ({
|
|
@@ -39,9 +41,10 @@ let postFederationFollowersRequestSchema = S.object(s => ({
|
|
|
39
41
|
|
|
40
42
|
let postFederationFollowersResponseSchema = S.array(MisskeyIoComponentSchemas.Following.schema);
|
|
41
43
|
|
|
42
|
-
function postFederationFollowers(body, fetch) {
|
|
44
|
+
async function postFederationFollowers(body, fetch) {
|
|
43
45
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationFollowersRequestSchema);
|
|
44
|
-
|
|
46
|
+
let response = await fetch("/federation/followers", "POST", jsonBody);
|
|
47
|
+
return S.parseOrThrow(response, postFederationFollowersResponseSchema);
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
let postFederationFollowingRequestSchema = S.object(s => ({
|
|
@@ -53,9 +56,10 @@ let postFederationFollowingRequestSchema = S.object(s => ({
|
|
|
53
56
|
|
|
54
57
|
let postFederationFollowingResponseSchema = S.array(MisskeyIoComponentSchemas.Following.schema);
|
|
55
58
|
|
|
56
|
-
function postFederationFollowing(body, fetch) {
|
|
59
|
+
async function postFederationFollowing(body, fetch) {
|
|
57
60
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationFollowingRequestSchema);
|
|
58
|
-
|
|
61
|
+
let response = await fetch("/federation/following", "POST", jsonBody);
|
|
62
|
+
return S.parseOrThrow(response, postFederationFollowingResponseSchema);
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
let getFederationInstancesRequestSchema = S.object(s => ({
|
|
@@ -74,9 +78,10 @@ let getFederationInstancesRequestSchema = S.object(s => ({
|
|
|
74
78
|
|
|
75
79
|
let getFederationInstancesResponseSchema = S.array(MisskeyIoComponentSchemas.FederationInstance.schema);
|
|
76
80
|
|
|
77
|
-
function getFederationInstances(body, fetch) {
|
|
81
|
+
async function getFederationInstances(body, fetch) {
|
|
78
82
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, getFederationInstancesRequestSchema);
|
|
79
|
-
|
|
83
|
+
let response = await fetch("/federation/instances", "GET", jsonBody);
|
|
84
|
+
return S.parseOrThrow(response, getFederationInstancesResponseSchema);
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
let postFederationInstancesRequestSchema = S.object(s => ({
|
|
@@ -95,9 +100,10 @@ let postFederationInstancesRequestSchema = S.object(s => ({
|
|
|
95
100
|
|
|
96
101
|
let postFederationInstancesResponseSchema = S.array(MisskeyIoComponentSchemas.FederationInstance.schema);
|
|
97
102
|
|
|
98
|
-
function postFederationInstances(body, fetch) {
|
|
103
|
+
async function postFederationInstances(body, fetch) {
|
|
99
104
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationInstancesRequestSchema);
|
|
100
|
-
|
|
105
|
+
let response = await fetch("/federation/instances", "POST", jsonBody);
|
|
106
|
+
return S.parseOrThrow(response, postFederationInstancesResponseSchema);
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
let postFederationShowInstanceRequestSchema = S.object(s => ({
|
|
@@ -106,9 +112,10 @@ let postFederationShowInstanceRequestSchema = S.object(s => ({
|
|
|
106
112
|
|
|
107
113
|
let postFederationShowInstanceResponseSchema = S.nullableAsOption(MisskeyIoComponentSchemas.FederationInstance.schema);
|
|
108
114
|
|
|
109
|
-
function postFederationShowInstance(body, fetch) {
|
|
115
|
+
async function postFederationShowInstance(body, fetch) {
|
|
110
116
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationShowInstanceRequestSchema);
|
|
111
|
-
|
|
117
|
+
let response = await fetch("/federation/show-instance", "POST", jsonBody);
|
|
118
|
+
return S.parseOrThrow(response, postFederationShowInstanceResponseSchema);
|
|
112
119
|
}
|
|
113
120
|
|
|
114
121
|
let getFederationStatsRequestSchema = S.object(s => ({
|
|
@@ -122,9 +129,10 @@ let getFederationStatsResponseSchema = S.object(s => ({
|
|
|
122
129
|
otherFollowingCount: s.f("otherFollowingCount", S.float)
|
|
123
130
|
}));
|
|
124
131
|
|
|
125
|
-
function getFederationStats(body, fetch) {
|
|
132
|
+
async function getFederationStats(body, fetch) {
|
|
126
133
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, getFederationStatsRequestSchema);
|
|
127
|
-
|
|
134
|
+
let response = await fetch("/federation/stats", "GET", jsonBody);
|
|
135
|
+
return S.parseOrThrow(response, getFederationStatsResponseSchema);
|
|
128
136
|
}
|
|
129
137
|
|
|
130
138
|
let postFederationStatsRequestSchema = S.object(s => ({
|
|
@@ -138,18 +146,19 @@ let postFederationStatsResponseSchema = S.object(s => ({
|
|
|
138
146
|
otherFollowingCount: s.f("otherFollowingCount", S.float)
|
|
139
147
|
}));
|
|
140
148
|
|
|
141
|
-
function postFederationStats(body, fetch) {
|
|
149
|
+
async function postFederationStats(body, fetch) {
|
|
142
150
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationStatsRequestSchema);
|
|
143
|
-
|
|
151
|
+
let response = await fetch("/federation/stats", "POST", jsonBody);
|
|
152
|
+
return S.parseOrThrow(response, postFederationStatsResponseSchema);
|
|
144
153
|
}
|
|
145
154
|
|
|
146
155
|
let postFederationUpdateRemoteUserRequestSchema = S.object(s => ({
|
|
147
156
|
userId: s.f("userId", S.string)
|
|
148
157
|
}));
|
|
149
158
|
|
|
150
|
-
function postFederationUpdateRemoteUser(body, fetch) {
|
|
159
|
+
async function postFederationUpdateRemoteUser(body, fetch) {
|
|
151
160
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationUpdateRemoteUserRequestSchema);
|
|
152
|
-
|
|
161
|
+
await fetch("/federation/update-remote-user", "POST", jsonBody);
|
|
153
162
|
}
|
|
154
163
|
|
|
155
164
|
let postFederationUsersRequestSchema = S.object(s => ({
|
|
@@ -161,9 +170,10 @@ let postFederationUsersRequestSchema = S.object(s => ({
|
|
|
161
170
|
|
|
162
171
|
let postFederationUsersResponseSchema = S.array(MisskeyIoComponentSchemas.UserDetailedNotMe.schema);
|
|
163
172
|
|
|
164
|
-
function postFederationUsers(body, fetch) {
|
|
173
|
+
async function postFederationUsers(body, fetch) {
|
|
165
174
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFederationUsersRequestSchema);
|
|
166
|
-
|
|
175
|
+
let response = await fetch("/federation/users", "POST", jsonBody);
|
|
176
|
+
return S.parseOrThrow(response, postFederationUsersResponseSchema);
|
|
167
177
|
}
|
|
168
178
|
|
|
169
179
|
let postApShowResponseSchema = postApShowResponse_1Schema;
|
|
@@ -15,9 +15,10 @@ let postFlashCreateRequestSchema = S.object(s => ({
|
|
|
15
15
|
|
|
16
16
|
let postFlashCreateResponseSchema = MisskeyIoComponentSchemas.Flash.schema;
|
|
17
17
|
|
|
18
|
-
function postFlashCreate(body, fetch) {
|
|
18
|
+
async function postFlashCreate(body, fetch) {
|
|
19
19
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashCreateRequestSchema);
|
|
20
|
-
|
|
20
|
+
let response = await fetch("/flash/create", "POST", jsonBody);
|
|
21
|
+
return S.parseOrThrow(response, postFlashCreateResponseSchema);
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
let postFlashFeaturedRequestSchema = S.object(s => ({
|
|
@@ -27,27 +28,28 @@ let postFlashFeaturedRequestSchema = S.object(s => ({
|
|
|
27
28
|
|
|
28
29
|
let postFlashFeaturedResponseSchema = S.array(MisskeyIoComponentSchemas.Flash.schema);
|
|
29
30
|
|
|
30
|
-
function postFlashFeatured(body, fetch) {
|
|
31
|
+
async function postFlashFeatured(body, fetch) {
|
|
31
32
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashFeaturedRequestSchema);
|
|
32
|
-
|
|
33
|
+
let response = await fetch("/flash/featured", "POST", jsonBody);
|
|
34
|
+
return S.parseOrThrow(response, postFlashFeaturedResponseSchema);
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
let postFlashLikeRequestSchema = S.object(s => ({
|
|
36
38
|
flashId: s.f("flashId", S.string)
|
|
37
39
|
}));
|
|
38
40
|
|
|
39
|
-
function postFlashLike(body, fetch) {
|
|
41
|
+
async function postFlashLike(body, fetch) {
|
|
40
42
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashLikeRequestSchema);
|
|
41
|
-
|
|
43
|
+
await fetch("/flash/like", "POST", jsonBody);
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
let postFlashUnlikeRequestSchema = S.object(s => ({
|
|
45
47
|
flashId: s.f("flashId", S.string)
|
|
46
48
|
}));
|
|
47
49
|
|
|
48
|
-
function postFlashUnlike(body, fetch) {
|
|
50
|
+
async function postFlashUnlike(body, fetch) {
|
|
49
51
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashUnlikeRequestSchema);
|
|
50
|
-
|
|
52
|
+
await fetch("/flash/unlike", "POST", jsonBody);
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
let postFlashUpdateRequestSchema = S.object(s => ({
|
|
@@ -59,9 +61,9 @@ let postFlashUpdateRequestSchema = S.object(s => ({
|
|
|
59
61
|
visibility: s.f("visibility", S.option(S.string))
|
|
60
62
|
}));
|
|
61
63
|
|
|
62
|
-
function postFlashUpdate(body, fetch) {
|
|
64
|
+
async function postFlashUpdate(body, fetch) {
|
|
63
65
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashUpdateRequestSchema);
|
|
64
|
-
|
|
66
|
+
await fetch("/flash/update", "POST", jsonBody);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
export {
|
|
@@ -9,9 +9,9 @@ let postFlashDeleteRequestSchema = S.object(s => ({
|
|
|
9
9
|
flashId: s.f("flashId", S.string)
|
|
10
10
|
}));
|
|
11
11
|
|
|
12
|
-
function postFlashDelete(body, fetch) {
|
|
12
|
+
async function postFlashDelete(body, fetch) {
|
|
13
13
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashDeleteRequestSchema);
|
|
14
|
-
|
|
14
|
+
await fetch("/flash/delete", "POST", jsonBody);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
let postFlashShowRequestSchema = S.object(s => ({
|
|
@@ -20,9 +20,10 @@ let postFlashShowRequestSchema = S.object(s => ({
|
|
|
20
20
|
|
|
21
21
|
let postFlashShowResponseSchema = MisskeyIoComponentSchemas.Flash.schema;
|
|
22
22
|
|
|
23
|
-
function postFlashShow(body, fetch) {
|
|
23
|
+
async function postFlashShow(body, fetch) {
|
|
24
24
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFlashShowRequestSchema);
|
|
25
|
-
|
|
25
|
+
let response = await fetch("/flash/show", "POST", jsonBody);
|
|
26
|
+
return S.parseOrThrow(response, postFlashShowResponseSchema);
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
export {
|
|
@@ -12,9 +12,10 @@ let postFollowingCreateRequestSchema = S.object(s => ({
|
|
|
12
12
|
|
|
13
13
|
let postFollowingCreateResponseSchema = MisskeyIoComponentSchemas.UserLite.schema;
|
|
14
14
|
|
|
15
|
-
function postFollowingCreate(body, fetch) {
|
|
15
|
+
async function postFollowingCreate(body, fetch) {
|
|
16
16
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingCreateRequestSchema);
|
|
17
|
-
|
|
17
|
+
let response = await fetch("/following/create", "POST", jsonBody);
|
|
18
|
+
return S.parseOrThrow(response, postFollowingCreateResponseSchema);
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
let postFollowingDeleteRequestSchema = S.object(s => ({
|
|
@@ -23,9 +24,10 @@ let postFollowingDeleteRequestSchema = S.object(s => ({
|
|
|
23
24
|
|
|
24
25
|
let postFollowingDeleteResponseSchema = MisskeyIoComponentSchemas.UserLite.schema;
|
|
25
26
|
|
|
26
|
-
function postFollowingDelete(body, fetch) {
|
|
27
|
+
async function postFollowingDelete(body, fetch) {
|
|
27
28
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingDeleteRequestSchema);
|
|
28
|
-
|
|
29
|
+
let response = await fetch("/following/delete", "POST", jsonBody);
|
|
30
|
+
return S.parseOrThrow(response, postFollowingDeleteResponseSchema);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
let postFollowingInvalidateRequestSchema = S.object(s => ({
|
|
@@ -34,18 +36,19 @@ let postFollowingInvalidateRequestSchema = S.object(s => ({
|
|
|
34
36
|
|
|
35
37
|
let postFollowingInvalidateResponseSchema = MisskeyIoComponentSchemas.UserLite.schema;
|
|
36
38
|
|
|
37
|
-
function postFollowingInvalidate(body, fetch) {
|
|
39
|
+
async function postFollowingInvalidate(body, fetch) {
|
|
38
40
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingInvalidateRequestSchema);
|
|
39
|
-
|
|
41
|
+
let response = await fetch("/following/invalidate", "POST", jsonBody);
|
|
42
|
+
return S.parseOrThrow(response, postFollowingInvalidateResponseSchema);
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
let postFollowingRequestsAcceptRequestSchema = S.object(s => ({
|
|
43
46
|
userId: s.f("userId", S.string)
|
|
44
47
|
}));
|
|
45
48
|
|
|
46
|
-
function postFollowingRequestsAccept(body, fetch) {
|
|
49
|
+
async function postFollowingRequestsAccept(body, fetch) {
|
|
47
50
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingRequestsAcceptRequestSchema);
|
|
48
|
-
|
|
51
|
+
await fetch("/following/requests/accept", "POST", jsonBody);
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
let postFollowingRequestsCancelRequestSchema = S.object(s => ({
|
|
@@ -54,9 +57,10 @@ let postFollowingRequestsCancelRequestSchema = S.object(s => ({
|
|
|
54
57
|
|
|
55
58
|
let postFollowingRequestsCancelResponseSchema = MisskeyIoComponentSchemas.UserLite.schema;
|
|
56
59
|
|
|
57
|
-
function postFollowingRequestsCancel(body, fetch) {
|
|
60
|
+
async function postFollowingRequestsCancel(body, fetch) {
|
|
58
61
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingRequestsCancelRequestSchema);
|
|
59
|
-
|
|
62
|
+
let response = await fetch("/following/requests/cancel", "POST", jsonBody);
|
|
63
|
+
return S.parseOrThrow(response, postFollowingRequestsCancelResponseSchema);
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
let postFollowingRequestsListRequestSchema = S.object(s => ({
|
|
@@ -73,18 +77,19 @@ let postFollowingRequestsListResponse_1Schema = S.object(s => ({
|
|
|
73
77
|
|
|
74
78
|
let postFollowingRequestsListResponseSchema = S.array(postFollowingRequestsListResponse_1Schema);
|
|
75
79
|
|
|
76
|
-
function postFollowingRequestsList(body, fetch) {
|
|
80
|
+
async function postFollowingRequestsList(body, fetch) {
|
|
77
81
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingRequestsListRequestSchema);
|
|
78
|
-
|
|
82
|
+
let response = await fetch("/following/requests/list", "POST", jsonBody);
|
|
83
|
+
return S.parseOrThrow(response, postFollowingRequestsListResponseSchema);
|
|
79
84
|
}
|
|
80
85
|
|
|
81
86
|
let postFollowingRequestsRejectRequestSchema = S.object(s => ({
|
|
82
87
|
userId: s.f("userId", S.string)
|
|
83
88
|
}));
|
|
84
89
|
|
|
85
|
-
function postFollowingRequestsReject(body, fetch) {
|
|
90
|
+
async function postFollowingRequestsReject(body, fetch) {
|
|
86
91
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingRequestsRejectRequestSchema);
|
|
87
|
-
|
|
92
|
+
await fetch("/following/requests/reject", "POST", jsonBody);
|
|
88
93
|
}
|
|
89
94
|
|
|
90
95
|
let postFollowingRequestsSentRequestSchema = S.object(s => ({
|
|
@@ -101,9 +106,10 @@ let postFollowingRequestsSentResponse_1Schema = S.object(s => ({
|
|
|
101
106
|
|
|
102
107
|
let postFollowingRequestsSentResponseSchema = S.array(postFollowingRequestsSentResponse_1Schema);
|
|
103
108
|
|
|
104
|
-
function postFollowingRequestsSent(body, fetch) {
|
|
109
|
+
async function postFollowingRequestsSent(body, fetch) {
|
|
105
110
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingRequestsSentRequestSchema);
|
|
106
|
-
|
|
111
|
+
let response = await fetch("/following/requests/sent", "POST", jsonBody);
|
|
112
|
+
return S.parseOrThrow(response, postFollowingRequestsSentResponseSchema);
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
let postFollowingUpdateRequestSchema = S.object(s => ({
|
|
@@ -114,9 +120,10 @@ let postFollowingUpdateRequestSchema = S.object(s => ({
|
|
|
114
120
|
|
|
115
121
|
let postFollowingUpdateResponseSchema = MisskeyIoComponentSchemas.UserLite.schema;
|
|
116
122
|
|
|
117
|
-
function postFollowingUpdate(body, fetch) {
|
|
123
|
+
async function postFollowingUpdate(body, fetch) {
|
|
118
124
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingUpdateRequestSchema);
|
|
119
|
-
|
|
125
|
+
let response = await fetch("/following/update", "POST", jsonBody);
|
|
126
|
+
return S.parseOrThrow(response, postFollowingUpdateResponseSchema);
|
|
120
127
|
}
|
|
121
128
|
|
|
122
129
|
let postFollowingUpdateAllRequestSchema = S.object(s => ({
|
|
@@ -124,9 +131,9 @@ let postFollowingUpdateAllRequestSchema = S.object(s => ({
|
|
|
124
131
|
withReplies: s.f("withReplies", S.option(S.bool))
|
|
125
132
|
}));
|
|
126
133
|
|
|
127
|
-
function postFollowingUpdateAll(body, fetch) {
|
|
134
|
+
async function postFollowingUpdateAll(body, fetch) {
|
|
128
135
|
let jsonBody = S.reverseConvertToJsonOrThrow(body, postFollowingUpdateAllRequestSchema);
|
|
129
|
-
|
|
136
|
+
await fetch("/following/update-all", "POST", jsonBody);
|
|
130
137
|
}
|
|
131
138
|
|
|
132
139
|
export {
|