@brigadasos/nadeshiko-sdk 1.4.0-dev.6f733b8 → 1.4.0-dev.7a7fd76
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/README.md +99 -2
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/index.cjs +214 -88
- package/dist/index.cjs.map +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +210 -84
- package/dist/index.js.map +5 -5
- package/dist/internal/lists.gen.d.ts.map +1 -1
- package/dist/internal/media.gen.d.ts.map +1 -1
- package/dist/internal/search.gen.d.ts.map +1 -1
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +31 -17
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +286 -116
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1434 -617
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,11 +9,11 @@ var __export = (target, all) => {
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
// generated/
|
|
12
|
+
// generated/dev/core/bodySerializer.gen.ts
|
|
13
13
|
var jsonBodySerializer = {
|
|
14
14
|
bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
|
|
15
15
|
};
|
|
16
|
-
// generated/
|
|
16
|
+
// generated/dev/core/params.gen.ts
|
|
17
17
|
var extraPrefixesMap = {
|
|
18
18
|
$body_: "body",
|
|
19
19
|
$headers_: "headers",
|
|
@@ -21,7 +21,7 @@ var extraPrefixesMap = {
|
|
|
21
21
|
$query_: "query"
|
|
22
22
|
};
|
|
23
23
|
var extraPrefixes = Object.entries(extraPrefixesMap);
|
|
24
|
-
// generated/
|
|
24
|
+
// generated/dev/core/serverSentEvents.gen.ts
|
|
25
25
|
var createSseClient = ({
|
|
26
26
|
onRequest,
|
|
27
27
|
onSseError,
|
|
@@ -157,7 +157,7 @@ var createSseClient = ({
|
|
|
157
157
|
return { stream };
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
// generated/
|
|
160
|
+
// generated/dev/core/pathSerializer.gen.ts
|
|
161
161
|
var separatorArrayExplode = (style) => {
|
|
162
162
|
switch (style) {
|
|
163
163
|
case "label":
|
|
@@ -281,7 +281,7 @@ var serializeObjectParam = ({
|
|
|
281
281
|
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
// generated/
|
|
284
|
+
// generated/dev/core/utils.gen.ts
|
|
285
285
|
var PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
286
286
|
var defaultPathSerializer = ({ path, url: _url }) => {
|
|
287
287
|
let url = _url;
|
|
@@ -370,7 +370,7 @@ function getValidRequestBody(options) {
|
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
// generated/
|
|
373
|
+
// generated/dev/core/auth.gen.ts
|
|
374
374
|
var getAuthToken = async (auth, callback) => {
|
|
375
375
|
const token = typeof callback === "function" ? await callback(auth) : callback;
|
|
376
376
|
if (!token) {
|
|
@@ -385,7 +385,7 @@ var getAuthToken = async (auth, callback) => {
|
|
|
385
385
|
return token;
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
-
// generated/
|
|
388
|
+
// generated/dev/client/utils.gen.ts
|
|
389
389
|
var createQuerySerializer = ({
|
|
390
390
|
parameters = {},
|
|
391
391
|
...args
|
|
@@ -602,7 +602,7 @@ var createConfig = (override = {}) => ({
|
|
|
602
602
|
...override
|
|
603
603
|
});
|
|
604
604
|
|
|
605
|
-
// generated/
|
|
605
|
+
// generated/dev/client/client.gen.ts
|
|
606
606
|
var createClient = (config = {}) => {
|
|
607
607
|
let _config = mergeConfigs(createConfig(), config);
|
|
608
608
|
const getConfig = () => ({ ..._config });
|
|
@@ -808,29 +808,29 @@ var createClient = (config = {}) => {
|
|
|
808
808
|
trace: makeMethodFn("TRACE")
|
|
809
809
|
};
|
|
810
810
|
};
|
|
811
|
-
// generated/
|
|
811
|
+
// generated/dev/client.gen.ts
|
|
812
812
|
var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
|
|
813
813
|
|
|
814
|
-
// generated/
|
|
814
|
+
// generated/dev/sdk.gen.ts
|
|
815
815
|
var healthCheck = (options) => (options?.client ?? client).get({
|
|
816
816
|
security: [{ scheme: "bearer", type: "http" }],
|
|
817
817
|
url: "/v1/health",
|
|
818
818
|
...options
|
|
819
819
|
});
|
|
820
|
-
var
|
|
820
|
+
var searchIndex = (options) => (options?.client ?? client).post({
|
|
821
821
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
822
822
|
in: "cookie",
|
|
823
823
|
name: "nadeshiko.session_token",
|
|
824
824
|
type: "apiKey"
|
|
825
825
|
}],
|
|
826
|
-
url: "/v1/search
|
|
826
|
+
url: "/v1/search",
|
|
827
827
|
...options,
|
|
828
828
|
headers: {
|
|
829
829
|
"Content-Type": "application/json",
|
|
830
830
|
...options?.headers
|
|
831
831
|
}
|
|
832
832
|
});
|
|
833
|
-
var
|
|
833
|
+
var searchStats = (options) => (options?.client ?? client).post({
|
|
834
834
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
835
835
|
in: "cookie",
|
|
836
836
|
name: "nadeshiko.session_token",
|
|
@@ -856,28 +856,6 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
856
856
|
...options.headers
|
|
857
857
|
}
|
|
858
858
|
});
|
|
859
|
-
var getSegmentContext = (options) => (options.client ?? client).post({
|
|
860
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
861
|
-
in: "cookie",
|
|
862
|
-
name: "nadeshiko.session_token",
|
|
863
|
-
type: "apiKey"
|
|
864
|
-
}],
|
|
865
|
-
url: "/v1/search/context",
|
|
866
|
-
...options,
|
|
867
|
-
headers: {
|
|
868
|
-
"Content-Type": "application/json",
|
|
869
|
-
...options.headers
|
|
870
|
-
}
|
|
871
|
-
});
|
|
872
|
-
var browseMedia = (options) => (options?.client ?? client).get({
|
|
873
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
874
|
-
in: "cookie",
|
|
875
|
-
name: "nadeshiko.session_token",
|
|
876
|
-
type: "apiKey"
|
|
877
|
-
}],
|
|
878
|
-
url: "/v1/media/browse",
|
|
879
|
-
...options
|
|
880
|
-
});
|
|
881
859
|
var mediaIndex = (options) => (options?.client ?? client).get({
|
|
882
860
|
security: [{ scheme: "bearer", type: "http" }],
|
|
883
861
|
url: "/v1/media",
|
|
@@ -982,6 +960,11 @@ var segmentShowByUuid = (options) => (options.client ?? client).get({
|
|
|
982
960
|
url: "/v1/media/segments/{uuid}",
|
|
983
961
|
...options
|
|
984
962
|
});
|
|
963
|
+
var segmentContextShow = (options) => (options.client ?? client).get({
|
|
964
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
965
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
966
|
+
...options
|
|
967
|
+
});
|
|
985
968
|
var characterShow = (options) => (options.client ?? client).get({
|
|
986
969
|
security: [{ scheme: "bearer", type: "http" }],
|
|
987
970
|
url: "/v1/media/characters/{id}",
|
|
@@ -992,7 +975,7 @@ var seiyuuShow = (options) => (options.client ?? client).get({
|
|
|
992
975
|
url: "/v1/media/seiyuu/{id}",
|
|
993
976
|
...options
|
|
994
977
|
});
|
|
995
|
-
var
|
|
978
|
+
var userQuotaShow = (options) => (options?.client ?? client).get({
|
|
996
979
|
security: [{
|
|
997
980
|
in: "cookie",
|
|
998
981
|
name: "nadeshiko.session_token",
|
|
@@ -1001,7 +984,7 @@ var getUserQuota = (options) => (options?.client ?? client).get({
|
|
|
1001
984
|
url: "/v1/user/quota",
|
|
1002
985
|
...options
|
|
1003
986
|
});
|
|
1004
|
-
var
|
|
987
|
+
var userReportIndex = (options) => (options?.client ?? client).get({
|
|
1005
988
|
security: [{
|
|
1006
989
|
in: "cookie",
|
|
1007
990
|
name: "nadeshiko.session_token",
|
|
@@ -1010,7 +993,7 @@ var getUserReports = (options) => (options?.client ?? client).get({
|
|
|
1010
993
|
url: "/v1/user/reports",
|
|
1011
994
|
...options
|
|
1012
995
|
});
|
|
1013
|
-
var
|
|
996
|
+
var userReportCreate = (options) => (options.client ?? client).post({
|
|
1014
997
|
security: [{
|
|
1015
998
|
in: "cookie",
|
|
1016
999
|
name: "nadeshiko.session_token",
|
|
@@ -1023,6 +1006,73 @@ var createReport = (options) => (options.client ?? client).post({
|
|
|
1023
1006
|
...options.headers
|
|
1024
1007
|
}
|
|
1025
1008
|
});
|
|
1009
|
+
var userPreferencesShow = (options) => (options?.client ?? client).get({
|
|
1010
|
+
security: [{
|
|
1011
|
+
in: "cookie",
|
|
1012
|
+
name: "nadeshiko.session_token",
|
|
1013
|
+
type: "apiKey"
|
|
1014
|
+
}],
|
|
1015
|
+
url: "/v1/user/preferences",
|
|
1016
|
+
...options
|
|
1017
|
+
});
|
|
1018
|
+
var userPreferencesUpdate = (options) => (options.client ?? client).patch({
|
|
1019
|
+
security: [{
|
|
1020
|
+
in: "cookie",
|
|
1021
|
+
name: "nadeshiko.session_token",
|
|
1022
|
+
type: "apiKey"
|
|
1023
|
+
}],
|
|
1024
|
+
url: "/v1/user/preferences",
|
|
1025
|
+
...options,
|
|
1026
|
+
headers: {
|
|
1027
|
+
"Content-Type": "application/json",
|
|
1028
|
+
...options.headers
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
var userActivityDestroy = (options) => (options?.client ?? client).delete({
|
|
1032
|
+
security: [{
|
|
1033
|
+
in: "cookie",
|
|
1034
|
+
name: "nadeshiko.session_token",
|
|
1035
|
+
type: "apiKey"
|
|
1036
|
+
}],
|
|
1037
|
+
url: "/v1/user/activity",
|
|
1038
|
+
...options
|
|
1039
|
+
});
|
|
1040
|
+
var userActivityIndex = (options) => (options?.client ?? client).get({
|
|
1041
|
+
security: [{
|
|
1042
|
+
in: "cookie",
|
|
1043
|
+
name: "nadeshiko.session_token",
|
|
1044
|
+
type: "apiKey"
|
|
1045
|
+
}],
|
|
1046
|
+
url: "/v1/user/activity",
|
|
1047
|
+
...options
|
|
1048
|
+
});
|
|
1049
|
+
var userActivityStatsShow = (options) => (options?.client ?? client).get({
|
|
1050
|
+
security: [{
|
|
1051
|
+
in: "cookie",
|
|
1052
|
+
name: "nadeshiko.session_token",
|
|
1053
|
+
type: "apiKey"
|
|
1054
|
+
}],
|
|
1055
|
+
url: "/v1/user/activity/stats",
|
|
1056
|
+
...options
|
|
1057
|
+
});
|
|
1058
|
+
var userExportShow = (options) => (options?.client ?? client).get({
|
|
1059
|
+
security: [{
|
|
1060
|
+
in: "cookie",
|
|
1061
|
+
name: "nadeshiko.session_token",
|
|
1062
|
+
type: "apiKey"
|
|
1063
|
+
}],
|
|
1064
|
+
url: "/v1/user/export",
|
|
1065
|
+
...options
|
|
1066
|
+
});
|
|
1067
|
+
var labIndex = (options) => (options?.client ?? client).get({
|
|
1068
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1069
|
+
in: "cookie",
|
|
1070
|
+
name: "nadeshiko.session_token",
|
|
1071
|
+
type: "apiKey"
|
|
1072
|
+
}],
|
|
1073
|
+
url: "/v1/labs",
|
|
1074
|
+
...options
|
|
1075
|
+
});
|
|
1026
1076
|
var listIndex = (options) => (options?.client ?? client).get({
|
|
1027
1077
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1028
1078
|
url: "/v1/lists",
|
|
@@ -1123,7 +1173,7 @@ var listUpdateSegment = (options) => (options.client ?? client).patch({
|
|
|
1123
1173
|
...options.headers
|
|
1124
1174
|
}
|
|
1125
1175
|
});
|
|
1126
|
-
var
|
|
1176
|
+
var adminReindexCreate = (options) => (options?.client ?? client).post({
|
|
1127
1177
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1128
1178
|
url: "/v1/admin/reindex",
|
|
1129
1179
|
...options,
|
|
@@ -1132,32 +1182,32 @@ var reindexElasticsearch = (options) => (options?.client ?? client).post({
|
|
|
1132
1182
|
...options?.headers
|
|
1133
1183
|
}
|
|
1134
1184
|
});
|
|
1135
|
-
var
|
|
1185
|
+
var adminQueueStatsIndex = (options) => (options?.client ?? client).get({
|
|
1136
1186
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1137
1187
|
url: "/v1/admin/queues/stats",
|
|
1138
1188
|
...options
|
|
1139
1189
|
});
|
|
1140
|
-
var
|
|
1190
|
+
var adminQueueShow = (options) => (options.client ?? client).get({
|
|
1141
1191
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1142
1192
|
url: "/v1/admin/queues/{queueName}",
|
|
1143
1193
|
...options
|
|
1144
1194
|
});
|
|
1145
|
-
var
|
|
1195
|
+
var adminQueueFailedIndex = (options) => (options.client ?? client).get({
|
|
1146
1196
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1147
1197
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1148
1198
|
...options
|
|
1149
1199
|
});
|
|
1150
|
-
var
|
|
1200
|
+
var adminQueueRetryCreate = (options) => (options.client ?? client).post({
|
|
1151
1201
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1152
1202
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1153
1203
|
...options
|
|
1154
1204
|
});
|
|
1155
|
-
var
|
|
1205
|
+
var adminQueueFailedDestroy = (options) => (options.client ?? client).delete({
|
|
1156
1206
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1157
1207
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1158
1208
|
...options
|
|
1159
1209
|
});
|
|
1160
|
-
var
|
|
1210
|
+
var adminMorphemeBackfillCreate = (options) => (options?.client ?? client).post({
|
|
1161
1211
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
1162
1212
|
in: "cookie",
|
|
1163
1213
|
name: "nadeshiko.session_token",
|
|
@@ -1166,12 +1216,12 @@ var morphemeBackfill = (options) => (options?.client ?? client).post({
|
|
|
1166
1216
|
url: "/v1/admin/morpheme-backfill",
|
|
1167
1217
|
...options
|
|
1168
1218
|
});
|
|
1169
|
-
var
|
|
1219
|
+
var adminReportIndex = (options) => (options?.client ?? client).get({
|
|
1170
1220
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1171
1221
|
url: "/v1/admin/reports",
|
|
1172
1222
|
...options
|
|
1173
1223
|
});
|
|
1174
|
-
var
|
|
1224
|
+
var adminReportUpdate = (options) => (options.client ?? client).patch({
|
|
1175
1225
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1176
1226
|
url: "/v1/admin/reports/{id}",
|
|
1177
1227
|
...options,
|
|
@@ -1180,7 +1230,55 @@ var updateReport = (options) => (options.client ?? client).patch({
|
|
|
1180
1230
|
...options.headers
|
|
1181
1231
|
}
|
|
1182
1232
|
});
|
|
1183
|
-
|
|
1233
|
+
var adminReviewRunCreate = (options) => (options?.client ?? client).post({
|
|
1234
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1235
|
+
url: "/v1/admin/review/run",
|
|
1236
|
+
...options
|
|
1237
|
+
});
|
|
1238
|
+
var adminReviewCheckIndex = (options) => (options?.client ?? client).get({
|
|
1239
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1240
|
+
url: "/v1/admin/review/checks",
|
|
1241
|
+
...options
|
|
1242
|
+
});
|
|
1243
|
+
var adminReviewCheckUpdate = (options) => (options.client ?? client).patch({
|
|
1244
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1245
|
+
url: "/v1/admin/review/checks/{name}",
|
|
1246
|
+
...options,
|
|
1247
|
+
headers: {
|
|
1248
|
+
"Content-Type": "application/json",
|
|
1249
|
+
...options.headers
|
|
1250
|
+
}
|
|
1251
|
+
});
|
|
1252
|
+
var adminReviewRunIndex = (options) => (options?.client ?? client).get({
|
|
1253
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1254
|
+
url: "/v1/admin/review/runs",
|
|
1255
|
+
...options
|
|
1256
|
+
});
|
|
1257
|
+
var adminReviewRunShow = (options) => (options.client ?? client).get({
|
|
1258
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1259
|
+
url: "/v1/admin/review/runs/{id}",
|
|
1260
|
+
...options
|
|
1261
|
+
});
|
|
1262
|
+
var adminReviewAllowlistIndex = (options) => (options?.client ?? client).get({
|
|
1263
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1264
|
+
url: "/v1/admin/review/allowlist",
|
|
1265
|
+
...options
|
|
1266
|
+
});
|
|
1267
|
+
var adminReviewAllowlistCreate = (options) => (options.client ?? client).post({
|
|
1268
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1269
|
+
url: "/v1/admin/review/allowlist",
|
|
1270
|
+
...options,
|
|
1271
|
+
headers: {
|
|
1272
|
+
"Content-Type": "application/json",
|
|
1273
|
+
...options.headers
|
|
1274
|
+
}
|
|
1275
|
+
});
|
|
1276
|
+
var adminReviewAllowlistDestroy = (options) => (options.client ?? client).delete({
|
|
1277
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1278
|
+
url: "/v1/admin/review/allowlist/{id}",
|
|
1279
|
+
...options
|
|
1280
|
+
});
|
|
1281
|
+
// generated/dev/nadeshiko.gen.ts
|
|
1184
1282
|
var environments = {
|
|
1185
1283
|
LOCAL: "http://localhost:5000/api",
|
|
1186
1284
|
DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
|
|
@@ -1194,37 +1292,51 @@ function createNadeshikoClient(config) {
|
|
|
1194
1292
|
}));
|
|
1195
1293
|
return {
|
|
1196
1294
|
client: clientInstance,
|
|
1197
|
-
|
|
1198
|
-
|
|
1295
|
+
searchIndex: (options) => searchIndex({ ...options, client: clientInstance }),
|
|
1296
|
+
searchStats: (options) => searchStats({ ...options, client: clientInstance }),
|
|
1199
1297
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1200
|
-
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1201
|
-
browseMedia: (options) => browseMedia({ ...options, client: clientInstance }),
|
|
1202
1298
|
mediaIndex: (options) => mediaIndex({ ...options, client: clientInstance }),
|
|
1203
1299
|
mediaShow: (options) => mediaShow({ ...options, client: clientInstance }),
|
|
1204
1300
|
episodeIndex: (options) => episodeIndex({ ...options, client: clientInstance }),
|
|
1205
1301
|
episodeShow: (options) => episodeShow({ ...options, client: clientInstance }),
|
|
1206
1302
|
segmentShow: (options) => segmentShow({ ...options, client: clientInstance }),
|
|
1207
1303
|
segmentShowByUuid: (options) => segmentShowByUuid({ ...options, client: clientInstance }),
|
|
1304
|
+
segmentContextShow: (options) => segmentContextShow({ ...options, client: clientInstance }),
|
|
1208
1305
|
characterShow: (options) => characterShow({ ...options, client: clientInstance }),
|
|
1209
1306
|
seiyuuShow: (options) => seiyuuShow({ ...options, client: clientInstance }),
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1307
|
+
userQuotaShow: (options) => userQuotaShow({ ...options, client: clientInstance }),
|
|
1308
|
+
userReportCreate: (options) => userReportCreate({ ...options, client: clientInstance }),
|
|
1309
|
+
userReportIndex: (options) => userReportIndex({ ...options, client: clientInstance }),
|
|
1310
|
+
userPreferencesShow: (options) => userPreferencesShow({ ...options, client: clientInstance }),
|
|
1311
|
+
userPreferencesUpdate: (options) => userPreferencesUpdate({ ...options, client: clientInstance }),
|
|
1312
|
+
userActivityIndex: (options) => userActivityIndex({ ...options, client: clientInstance }),
|
|
1313
|
+
userActivityDestroy: (options) => userActivityDestroy({ ...options, client: clientInstance }),
|
|
1314
|
+
userActivityStatsShow: (options) => userActivityStatsShow({ ...options, client: clientInstance }),
|
|
1315
|
+
userExportShow: (options) => userExportShow({ ...options, client: clientInstance }),
|
|
1316
|
+
labIndex: (options) => labIndex({ ...options, client: clientInstance }),
|
|
1213
1317
|
listIndex: (options) => listIndex({ ...options, client: clientInstance }),
|
|
1214
1318
|
listShow: (options) => listShow({ ...options, client: clientInstance }),
|
|
1215
1319
|
listGetSegments: (options) => listGetSegments({ ...options, client: clientInstance }),
|
|
1216
1320
|
listAddSegment: (options) => listAddSegment({ ...options, client: clientInstance }),
|
|
1217
1321
|
listUpdateSegment: (options) => listUpdateSegment({ ...options, client: clientInstance }),
|
|
1218
1322
|
listRemoveSegment: (options) => listRemoveSegment({ ...options, client: clientInstance }),
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1323
|
+
adminReindexCreate: (options) => adminReindexCreate({ ...options, client: clientInstance }),
|
|
1324
|
+
adminQueueStatsIndex: (options) => adminQueueStatsIndex({ ...options, client: clientInstance }),
|
|
1325
|
+
adminQueueShow: (options) => adminQueueShow({ ...options, client: clientInstance }),
|
|
1326
|
+
adminQueueFailedIndex: (options) => adminQueueFailedIndex({ ...options, client: clientInstance }),
|
|
1327
|
+
adminQueueRetryCreate: (options) => adminQueueRetryCreate({ ...options, client: clientInstance }),
|
|
1328
|
+
adminQueueFailedDestroy: (options) => adminQueueFailedDestroy({ ...options, client: clientInstance }),
|
|
1329
|
+
adminMorphemeBackfillCreate: (options) => adminMorphemeBackfillCreate({ ...options, client: clientInstance }),
|
|
1330
|
+
adminReportIndex: (options) => adminReportIndex({ ...options, client: clientInstance }),
|
|
1331
|
+
adminReportUpdate: (options) => adminReportUpdate({ ...options, client: clientInstance }),
|
|
1332
|
+
adminReviewRunCreate: (options) => adminReviewRunCreate({ ...options, client: clientInstance }),
|
|
1333
|
+
adminReviewCheckIndex: (options) => adminReviewCheckIndex({ ...options, client: clientInstance }),
|
|
1334
|
+
adminReviewCheckUpdate: (options) => adminReviewCheckUpdate({ ...options, client: clientInstance }),
|
|
1335
|
+
adminReviewRunIndex: (options) => adminReviewRunIndex({ ...options, client: clientInstance }),
|
|
1336
|
+
adminReviewRunShow: (options) => adminReviewRunShow({ ...options, client: clientInstance }),
|
|
1337
|
+
adminReviewAllowlistIndex: (options) => adminReviewAllowlistIndex({ ...options, client: clientInstance }),
|
|
1338
|
+
adminReviewAllowlistCreate: (options) => adminReviewAllowlistCreate({ ...options, client: clientInstance }),
|
|
1339
|
+
adminReviewAllowlistDestroy: (options) => adminReviewAllowlistDestroy({ ...options, client: clientInstance }),
|
|
1228
1340
|
healthCheck: (options) => healthCheck({ ...options, client: clientInstance }),
|
|
1229
1341
|
mediaCreate: (options) => mediaCreate({ ...options, client: clientInstance }),
|
|
1230
1342
|
mediaUpdate: (options) => mediaUpdate({ ...options, client: clientInstance }),
|
|
@@ -1245,12 +1357,12 @@ function createNadeshikoClient(config) {
|
|
|
1245
1357
|
};
|
|
1246
1358
|
}
|
|
1247
1359
|
var createClient2 = createNadeshikoClient;
|
|
1248
|
-
// generated/
|
|
1360
|
+
// generated/dev/internal/search.gen.ts
|
|
1249
1361
|
var exports_search_gen = {};
|
|
1250
1362
|
__export(exports_search_gen, {
|
|
1251
1363
|
healthCheck: () => healthCheck
|
|
1252
1364
|
});
|
|
1253
|
-
// generated/
|
|
1365
|
+
// generated/dev/internal/media.gen.ts
|
|
1254
1366
|
var exports_media_gen = {};
|
|
1255
1367
|
__export(exports_media_gen, {
|
|
1256
1368
|
segmentUpdate: () => segmentUpdate,
|
|
@@ -1264,7 +1376,7 @@ __export(exports_media_gen, {
|
|
|
1264
1376
|
episodeDestroy: () => episodeDestroy,
|
|
1265
1377
|
episodeCreate: () => episodeCreate
|
|
1266
1378
|
});
|
|
1267
|
-
// generated/
|
|
1379
|
+
// generated/dev/internal/lists.gen.ts
|
|
1268
1380
|
var exports_lists_gen = {};
|
|
1269
1381
|
__export(exports_lists_gen, {
|
|
1270
1382
|
listUpdateItem: () => listUpdateItem,
|
|
@@ -1275,7 +1387,15 @@ __export(exports_lists_gen, {
|
|
|
1275
1387
|
listAddItem: () => listAddItem
|
|
1276
1388
|
});
|
|
1277
1389
|
export {
|
|
1278
|
-
|
|
1390
|
+
userReportIndex,
|
|
1391
|
+
userReportCreate,
|
|
1392
|
+
userQuotaShow,
|
|
1393
|
+
userPreferencesUpdate,
|
|
1394
|
+
userPreferencesShow,
|
|
1395
|
+
userExportShow,
|
|
1396
|
+
userActivityStatsShow,
|
|
1397
|
+
userActivityIndex,
|
|
1398
|
+
userActivityDestroy,
|
|
1279
1399
|
seiyuuShow,
|
|
1280
1400
|
segmentUpdate,
|
|
1281
1401
|
segmentShowByUuid,
|
|
@@ -1283,13 +1403,11 @@ export {
|
|
|
1283
1403
|
segmentIndex,
|
|
1284
1404
|
segmentDestroy,
|
|
1285
1405
|
segmentCreate,
|
|
1406
|
+
segmentContextShow,
|
|
1286
1407
|
searchWords,
|
|
1287
|
-
|
|
1408
|
+
searchStats,
|
|
1409
|
+
searchIndex,
|
|
1288
1410
|
exports_search_gen as search,
|
|
1289
|
-
retryQueueJobs,
|
|
1290
|
-
reindexElasticsearch,
|
|
1291
|
-
purgeFailedJobs,
|
|
1292
|
-
morphemeBackfill,
|
|
1293
1411
|
mediaUpdate,
|
|
1294
1412
|
mediaShow,
|
|
1295
1413
|
mediaIndex,
|
|
@@ -1309,27 +1427,35 @@ export {
|
|
|
1309
1427
|
listCreate,
|
|
1310
1428
|
listAddSegment,
|
|
1311
1429
|
listAddItem,
|
|
1430
|
+
labIndex,
|
|
1312
1431
|
healthCheck,
|
|
1313
|
-
getUserReports,
|
|
1314
|
-
getUserQuota,
|
|
1315
|
-
getSegmentContext,
|
|
1316
|
-
getSearchStats,
|
|
1317
|
-
getQueueStats,
|
|
1318
|
-
getQueueDetails,
|
|
1319
|
-
getFailedJobs,
|
|
1320
|
-
getAdminReports,
|
|
1321
1432
|
episodeUpdate,
|
|
1322
1433
|
episodeShow,
|
|
1323
1434
|
episodeIndex,
|
|
1324
1435
|
episodeDestroy,
|
|
1325
1436
|
episodeCreate,
|
|
1326
|
-
createReport,
|
|
1327
1437
|
createNadeshikoClient,
|
|
1328
1438
|
createClient2 as createClient,
|
|
1329
1439
|
client,
|
|
1330
1440
|
characterShow,
|
|
1331
|
-
|
|
1441
|
+
adminReviewRunShow,
|
|
1442
|
+
adminReviewRunIndex,
|
|
1443
|
+
adminReviewRunCreate,
|
|
1444
|
+
adminReviewCheckUpdate,
|
|
1445
|
+
adminReviewCheckIndex,
|
|
1446
|
+
adminReviewAllowlistIndex,
|
|
1447
|
+
adminReviewAllowlistDestroy,
|
|
1448
|
+
adminReviewAllowlistCreate,
|
|
1449
|
+
adminReportUpdate,
|
|
1450
|
+
adminReportIndex,
|
|
1451
|
+
adminReindexCreate,
|
|
1452
|
+
adminQueueStatsIndex,
|
|
1453
|
+
adminQueueShow,
|
|
1454
|
+
adminQueueRetryCreate,
|
|
1455
|
+
adminQueueFailedIndex,
|
|
1456
|
+
adminQueueFailedDestroy,
|
|
1457
|
+
adminMorphemeBackfillCreate
|
|
1332
1458
|
};
|
|
1333
1459
|
|
|
1334
|
-
//# debugId=
|
|
1460
|
+
//# debugId=E295AF37E6B3026564756E2164756E21
|
|
1335
1461
|
//# sourceMappingURL=index.js.map
|