@brigadasos/nadeshiko-sdk 1.4.0-dev.c253525 → 1.4.3-dev.2dd948a
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 +449 -245
- 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 +445 -241
- package/dist/index.js.map +5 -5
- package/dist/internal/admin.gen.d.ts +2 -0
- package/dist/internal/admin.gen.d.ts.map +1 -0
- package/dist/internal/media.gen.d.ts +1 -1
- package/dist/internal/media.gen.d.ts.map +1 -1
- package/dist/internal/user.gen.d.ts +2 -0
- package/dist/internal/user.gen.d.ts.map +1 -0
- package/dist/internal.gen.d.ts +2 -2
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +64 -45
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +361 -172
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +2895 -1746
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/internal/lists.gen.d.ts +0 -2
- package/dist/internal/lists.gen.d.ts.map +0 -1
- package/dist/internal/search.gen.d.ts +0 -2
- package/dist/internal/search.gen.d.ts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -26,71 +26,90 @@ var __export = (target, all) => {
|
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
// generated/
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
// generated/dev/index.ts
|
|
30
|
+
var exports_dev = {};
|
|
31
|
+
__export(exports_dev, {
|
|
32
|
+
user: () => exports_user_gen,
|
|
33
|
+
updateUserPreferences: () => updateUserPreferences,
|
|
34
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
35
|
+
updateSeries: () => updateSeries,
|
|
36
|
+
updateSegment: () => updateSegment,
|
|
37
|
+
updateMedia: () => updateMedia,
|
|
38
|
+
updateEpisode: () => updateEpisode,
|
|
39
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
40
|
+
updateCollection: () => updateCollection,
|
|
41
|
+
updateAdminReviewCheck: () => updateAdminReviewCheck,
|
|
42
|
+
updateAdminReport: () => updateAdminReport,
|
|
43
|
+
triggerReindex: () => triggerReindex,
|
|
40
44
|
searchWords: () => searchWords,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
mediaUpdate: () => mediaUpdate,
|
|
48
|
-
mediaShow: () => mediaShow,
|
|
49
|
-
mediaIndex: () => mediaIndex,
|
|
50
|
-
mediaDestroy: () => mediaDestroy,
|
|
51
|
-
mediaCreate: () => mediaCreate,
|
|
45
|
+
search: () => search,
|
|
46
|
+
runAdminReview: () => runAdminReview,
|
|
47
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
48
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
49
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
50
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
52
51
|
media: () => exports_media_gen,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
getUserReports: () => getUserReports,
|
|
52
|
+
listUserReports: () => listUserReports,
|
|
53
|
+
listUserLabs: () => listUserLabs,
|
|
54
|
+
listUserActivity: () => listUserActivity,
|
|
55
|
+
listSeries: () => listSeries,
|
|
56
|
+
listSegments: () => listSegments,
|
|
57
|
+
listMedia: () => listMedia,
|
|
58
|
+
listEpisodes: () => listEpisodes,
|
|
59
|
+
listCollections: () => listCollections,
|
|
60
|
+
listAdminReviewRuns: () => listAdminReviewRuns,
|
|
61
|
+
listAdminReviewChecks: () => listAdminReviewChecks,
|
|
62
|
+
listAdminReviewAllowlist: () => listAdminReviewAllowlist,
|
|
63
|
+
listAdminReports: () => listAdminReports,
|
|
64
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
65
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
68
66
|
getUserQuota: () => getUserQuota,
|
|
67
|
+
getUserPreferences: () => getUserPreferences,
|
|
68
|
+
getUserActivityStats: () => getUserActivityStats,
|
|
69
|
+
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
70
|
+
getSeries: () => getSeries,
|
|
71
|
+
getSeiyuu: () => getSeiyuu,
|
|
69
72
|
getSegmentContext: () => getSegmentContext,
|
|
73
|
+
getSegmentByUuid: () => getSegmentByUuid,
|
|
74
|
+
getSegment: () => getSegment,
|
|
70
75
|
getSearchStats: () => getSearchStats,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
getMedia: () => getMedia,
|
|
77
|
+
getEpisode: () => getEpisode,
|
|
78
|
+
getCollection: () => getCollection,
|
|
79
|
+
getCharacter: () => getCharacter,
|
|
80
|
+
getAdminReviewRun: () => getAdminReviewRun,
|
|
81
|
+
getAdminQueue: () => getAdminQueue,
|
|
82
|
+
getAdminHealth: () => getAdminHealth,
|
|
83
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
84
|
+
exportUserData: () => exportUserData,
|
|
85
|
+
deleteUserActivity: () => deleteUserActivity,
|
|
86
|
+
deleteSeries: () => deleteSeries,
|
|
87
|
+
deleteSegment: () => deleteSegment,
|
|
88
|
+
deleteMedia: () => deleteMedia,
|
|
89
|
+
deleteEpisode: () => deleteEpisode,
|
|
90
|
+
deleteCollection: () => deleteCollection,
|
|
91
|
+
deleteAdminReviewAllowlistEntry: () => deleteAdminReviewAllowlistEntry,
|
|
92
|
+
createUserReport: () => createUserReport,
|
|
93
|
+
createSeries: () => createSeries,
|
|
94
|
+
createSegment: () => createSegment,
|
|
81
95
|
createNadeshikoClient: () => createNadeshikoClient,
|
|
96
|
+
createMedia: () => createMedia,
|
|
97
|
+
createEpisode: () => createEpisode,
|
|
98
|
+
createCollection: () => createCollection,
|
|
82
99
|
createClient: () => createClient2,
|
|
100
|
+
createAdminReviewAllowlistEntry: () => createAdminReviewAllowlistEntry,
|
|
83
101
|
client: () => client,
|
|
84
|
-
|
|
85
|
-
|
|
102
|
+
admin: () => exports_admin_gen,
|
|
103
|
+
addSegmentToCollection: () => addSegmentToCollection,
|
|
104
|
+
addMediaToSeries: () => addMediaToSeries
|
|
86
105
|
});
|
|
87
|
-
module.exports = __toCommonJS(
|
|
106
|
+
module.exports = __toCommonJS(exports_dev);
|
|
88
107
|
|
|
89
|
-
// generated/
|
|
108
|
+
// generated/dev/core/bodySerializer.gen.ts
|
|
90
109
|
var jsonBodySerializer = {
|
|
91
110
|
bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
|
|
92
111
|
};
|
|
93
|
-
// generated/
|
|
112
|
+
// generated/dev/core/params.gen.ts
|
|
94
113
|
var extraPrefixesMap = {
|
|
95
114
|
$body_: "body",
|
|
96
115
|
$headers_: "headers",
|
|
@@ -98,7 +117,7 @@ var extraPrefixesMap = {
|
|
|
98
117
|
$query_: "query"
|
|
99
118
|
};
|
|
100
119
|
var extraPrefixes = Object.entries(extraPrefixesMap);
|
|
101
|
-
// generated/
|
|
120
|
+
// generated/dev/core/serverSentEvents.gen.ts
|
|
102
121
|
var createSseClient = ({
|
|
103
122
|
onRequest,
|
|
104
123
|
onSseError,
|
|
@@ -234,7 +253,7 @@ var createSseClient = ({
|
|
|
234
253
|
return { stream };
|
|
235
254
|
};
|
|
236
255
|
|
|
237
|
-
// generated/
|
|
256
|
+
// generated/dev/core/pathSerializer.gen.ts
|
|
238
257
|
var separatorArrayExplode = (style) => {
|
|
239
258
|
switch (style) {
|
|
240
259
|
case "label":
|
|
@@ -358,7 +377,7 @@ var serializeObjectParam = ({
|
|
|
358
377
|
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
359
378
|
};
|
|
360
379
|
|
|
361
|
-
// generated/
|
|
380
|
+
// generated/dev/core/utils.gen.ts
|
|
362
381
|
var PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
363
382
|
var defaultPathSerializer = ({ path, url: _url }) => {
|
|
364
383
|
let url = _url;
|
|
@@ -447,7 +466,7 @@ function getValidRequestBody(options) {
|
|
|
447
466
|
return;
|
|
448
467
|
}
|
|
449
468
|
|
|
450
|
-
// generated/
|
|
469
|
+
// generated/dev/core/auth.gen.ts
|
|
451
470
|
var getAuthToken = async (auth, callback) => {
|
|
452
471
|
const token = typeof callback === "function" ? await callback(auth) : callback;
|
|
453
472
|
if (!token) {
|
|
@@ -462,7 +481,7 @@ var getAuthToken = async (auth, callback) => {
|
|
|
462
481
|
return token;
|
|
463
482
|
};
|
|
464
483
|
|
|
465
|
-
// generated/
|
|
484
|
+
// generated/dev/client/utils.gen.ts
|
|
466
485
|
var createQuerySerializer = ({
|
|
467
486
|
parameters = {},
|
|
468
487
|
...args
|
|
@@ -679,7 +698,7 @@ var createConfig = (override = {}) => ({
|
|
|
679
698
|
...override
|
|
680
699
|
});
|
|
681
700
|
|
|
682
|
-
// generated/
|
|
701
|
+
// generated/dev/client/client.gen.ts
|
|
683
702
|
var createClient = (config = {}) => {
|
|
684
703
|
let _config = mergeConfigs(createConfig(), config);
|
|
685
704
|
const getConfig = () => ({ ..._config });
|
|
@@ -885,22 +904,17 @@ var createClient = (config = {}) => {
|
|
|
885
904
|
trace: makeMethodFn("TRACE")
|
|
886
905
|
};
|
|
887
906
|
};
|
|
888
|
-
// generated/
|
|
907
|
+
// generated/dev/client.gen.ts
|
|
889
908
|
var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
|
|
890
909
|
|
|
891
|
-
// generated/
|
|
892
|
-
var
|
|
893
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
894
|
-
url: "/v1/health",
|
|
895
|
-
...options
|
|
896
|
-
});
|
|
897
|
-
var searchSegments = (options) => (options?.client ?? client).post({
|
|
910
|
+
// generated/dev/sdk.gen.ts
|
|
911
|
+
var search = (options) => (options?.client ?? client).post({
|
|
898
912
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
899
913
|
in: "cookie",
|
|
900
914
|
name: "nadeshiko.session_token",
|
|
901
915
|
type: "apiKey"
|
|
902
916
|
}],
|
|
903
|
-
url: "/v1/search
|
|
917
|
+
url: "/v1/search",
|
|
904
918
|
...options,
|
|
905
919
|
headers: {
|
|
906
920
|
"Content-Type": "application/json",
|
|
@@ -933,34 +947,12 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
933
947
|
...options.headers
|
|
934
948
|
}
|
|
935
949
|
});
|
|
936
|
-
var
|
|
937
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
938
|
-
in: "cookie",
|
|
939
|
-
name: "nadeshiko.session_token",
|
|
940
|
-
type: "apiKey"
|
|
941
|
-
}],
|
|
942
|
-
url: "/v1/search/context",
|
|
943
|
-
...options,
|
|
944
|
-
headers: {
|
|
945
|
-
"Content-Type": "application/json",
|
|
946
|
-
...options.headers
|
|
947
|
-
}
|
|
948
|
-
});
|
|
949
|
-
var browseMedia = (options) => (options?.client ?? client).get({
|
|
950
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
951
|
-
in: "cookie",
|
|
952
|
-
name: "nadeshiko.session_token",
|
|
953
|
-
type: "apiKey"
|
|
954
|
-
}],
|
|
955
|
-
url: "/v1/media/browse",
|
|
956
|
-
...options
|
|
957
|
-
});
|
|
958
|
-
var mediaIndex = (options) => (options?.client ?? client).get({
|
|
950
|
+
var listMedia = (options) => (options?.client ?? client).get({
|
|
959
951
|
security: [{ scheme: "bearer", type: "http" }],
|
|
960
952
|
url: "/v1/media",
|
|
961
953
|
...options
|
|
962
954
|
});
|
|
963
|
-
var
|
|
955
|
+
var createMedia = (options) => (options.client ?? client).post({
|
|
964
956
|
security: [{ scheme: "bearer", type: "http" }],
|
|
965
957
|
url: "/v1/media",
|
|
966
958
|
...options,
|
|
@@ -969,17 +961,17 @@ var mediaCreate = (options) => (options.client ?? client).post({
|
|
|
969
961
|
...options.headers
|
|
970
962
|
}
|
|
971
963
|
});
|
|
972
|
-
var
|
|
964
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
973
965
|
security: [{ scheme: "bearer", type: "http" }],
|
|
974
966
|
url: "/v1/media/{id}",
|
|
975
967
|
...options
|
|
976
968
|
});
|
|
977
|
-
var
|
|
969
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
978
970
|
security: [{ scheme: "bearer", type: "http" }],
|
|
979
971
|
url: "/v1/media/{id}",
|
|
980
972
|
...options
|
|
981
973
|
});
|
|
982
|
-
var
|
|
974
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
983
975
|
security: [{ scheme: "bearer", type: "http" }],
|
|
984
976
|
url: "/v1/media/{id}",
|
|
985
977
|
...options,
|
|
@@ -988,12 +980,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
|
|
|
988
980
|
...options.headers
|
|
989
981
|
}
|
|
990
982
|
});
|
|
991
|
-
var
|
|
983
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
992
984
|
security: [{ scheme: "bearer", type: "http" }],
|
|
993
985
|
url: "/v1/media/{mediaId}/episodes",
|
|
994
986
|
...options
|
|
995
987
|
});
|
|
996
|
-
var
|
|
988
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
997
989
|
security: [{ scheme: "bearer", type: "http" }],
|
|
998
990
|
url: "/v1/media/{mediaId}/episodes",
|
|
999
991
|
...options,
|
|
@@ -1002,17 +994,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
|
|
|
1002
994
|
...options.headers
|
|
1003
995
|
}
|
|
1004
996
|
});
|
|
1005
|
-
var
|
|
997
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
1006
998
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1007
999
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1008
1000
|
...options
|
|
1009
1001
|
});
|
|
1010
|
-
var
|
|
1002
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1011
1003
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1012
1004
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1013
1005
|
...options
|
|
1014
1006
|
});
|
|
1015
|
-
var
|
|
1007
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1016
1008
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1017
1009
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1018
1010
|
...options,
|
|
@@ -1021,12 +1013,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
|
|
|
1021
1013
|
...options.headers
|
|
1022
1014
|
}
|
|
1023
1015
|
});
|
|
1024
|
-
var
|
|
1016
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1025
1017
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1026
1018
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1027
1019
|
...options
|
|
1028
1020
|
});
|
|
1029
|
-
var
|
|
1021
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1030
1022
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1031
1023
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1032
1024
|
...options,
|
|
@@ -1035,17 +1027,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
|
|
|
1035
1027
|
...options.headers
|
|
1036
1028
|
}
|
|
1037
1029
|
});
|
|
1038
|
-
var
|
|
1030
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1039
1031
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1040
1032
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1041
1033
|
...options
|
|
1042
1034
|
});
|
|
1043
|
-
var
|
|
1035
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1044
1036
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1045
1037
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1046
1038
|
...options
|
|
1047
1039
|
});
|
|
1048
|
-
var
|
|
1040
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1049
1041
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1050
1042
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1051
1043
|
...options,
|
|
@@ -1054,17 +1046,86 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
|
|
|
1054
1046
|
...options.headers
|
|
1055
1047
|
}
|
|
1056
1048
|
});
|
|
1057
|
-
var
|
|
1049
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
1058
1050
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1059
1051
|
url: "/v1/media/segments/{uuid}",
|
|
1060
1052
|
...options
|
|
1061
1053
|
});
|
|
1062
|
-
var
|
|
1054
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
1055
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1056
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
1057
|
+
...options
|
|
1058
|
+
});
|
|
1059
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
1060
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1061
|
+
in: "cookie",
|
|
1062
|
+
name: "nadeshiko.session_token",
|
|
1063
|
+
type: "apiKey"
|
|
1064
|
+
}],
|
|
1065
|
+
url: "/v1/media/series",
|
|
1066
|
+
...options
|
|
1067
|
+
});
|
|
1068
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
1069
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1070
|
+
url: "/v1/media/series",
|
|
1071
|
+
...options,
|
|
1072
|
+
headers: {
|
|
1073
|
+
"Content-Type": "application/json",
|
|
1074
|
+
...options.headers
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
1078
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1079
|
+
url: "/v1/media/series/{id}",
|
|
1080
|
+
...options
|
|
1081
|
+
});
|
|
1082
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
1083
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1084
|
+
in: "cookie",
|
|
1085
|
+
name: "nadeshiko.session_token",
|
|
1086
|
+
type: "apiKey"
|
|
1087
|
+
}],
|
|
1088
|
+
url: "/v1/media/series/{id}",
|
|
1089
|
+
...options
|
|
1090
|
+
});
|
|
1091
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
1092
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1093
|
+
url: "/v1/media/series/{id}",
|
|
1094
|
+
...options,
|
|
1095
|
+
headers: {
|
|
1096
|
+
"Content-Type": "application/json",
|
|
1097
|
+
...options.headers
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
1101
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1102
|
+
url: "/v1/media/series/{id}/media",
|
|
1103
|
+
...options,
|
|
1104
|
+
headers: {
|
|
1105
|
+
"Content-Type": "application/json",
|
|
1106
|
+
...options.headers
|
|
1107
|
+
}
|
|
1108
|
+
});
|
|
1109
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
1110
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1111
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1112
|
+
...options
|
|
1113
|
+
});
|
|
1114
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
1115
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1116
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1117
|
+
...options,
|
|
1118
|
+
headers: {
|
|
1119
|
+
"Content-Type": "application/json",
|
|
1120
|
+
...options.headers
|
|
1121
|
+
}
|
|
1122
|
+
});
|
|
1123
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
1063
1124
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1064
1125
|
url: "/v1/media/characters/{id}",
|
|
1065
1126
|
...options
|
|
1066
1127
|
});
|
|
1067
|
-
var
|
|
1128
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
1068
1129
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1069
1130
|
url: "/v1/media/seiyuu/{id}",
|
|
1070
1131
|
...options
|
|
@@ -1074,11 +1135,11 @@ var getUserQuota = (options) => (options?.client ?? client).get({
|
|
|
1074
1135
|
in: "cookie",
|
|
1075
1136
|
name: "nadeshiko.session_token",
|
|
1076
1137
|
type: "apiKey"
|
|
1077
|
-
}],
|
|
1138
|
+
}, { scheme: "bearer", type: "http" }],
|
|
1078
1139
|
url: "/v1/user/quota",
|
|
1079
1140
|
...options
|
|
1080
1141
|
});
|
|
1081
|
-
var
|
|
1142
|
+
var listUserReports = (options) => (options?.client ?? client).get({
|
|
1082
1143
|
security: [{
|
|
1083
1144
|
in: "cookie",
|
|
1084
1145
|
name: "nadeshiko.session_token",
|
|
@@ -1087,7 +1148,7 @@ var getUserReports = (options) => (options?.client ?? client).get({
|
|
|
1087
1148
|
url: "/v1/user/reports",
|
|
1088
1149
|
...options
|
|
1089
1150
|
});
|
|
1090
|
-
var
|
|
1151
|
+
var createUserReport = (options) => (options.client ?? client).post({
|
|
1091
1152
|
security: [{
|
|
1092
1153
|
in: "cookie",
|
|
1093
1154
|
name: "nadeshiko.session_token",
|
|
@@ -1100,107 +1161,181 @@ var createReport = (options) => (options.client ?? client).post({
|
|
|
1100
1161
|
...options.headers
|
|
1101
1162
|
}
|
|
1102
1163
|
});
|
|
1103
|
-
var
|
|
1104
|
-
security: [{
|
|
1105
|
-
|
|
1164
|
+
var getUserPreferences = (options) => (options?.client ?? client).get({
|
|
1165
|
+
security: [{
|
|
1166
|
+
in: "cookie",
|
|
1167
|
+
name: "nadeshiko.session_token",
|
|
1168
|
+
type: "apiKey"
|
|
1169
|
+
}],
|
|
1170
|
+
url: "/v1/user/preferences",
|
|
1106
1171
|
...options
|
|
1107
1172
|
});
|
|
1108
|
-
var
|
|
1109
|
-
security: [{
|
|
1110
|
-
|
|
1173
|
+
var updateUserPreferences = (options) => (options.client ?? client).patch({
|
|
1174
|
+
security: [{
|
|
1175
|
+
in: "cookie",
|
|
1176
|
+
name: "nadeshiko.session_token",
|
|
1177
|
+
type: "apiKey"
|
|
1178
|
+
}],
|
|
1179
|
+
url: "/v1/user/preferences",
|
|
1111
1180
|
...options,
|
|
1112
1181
|
headers: {
|
|
1113
1182
|
"Content-Type": "application/json",
|
|
1114
1183
|
...options.headers
|
|
1115
1184
|
}
|
|
1116
1185
|
});
|
|
1117
|
-
var
|
|
1118
|
-
security: [{
|
|
1119
|
-
|
|
1186
|
+
var deleteUserActivity = (options) => (options?.client ?? client).delete({
|
|
1187
|
+
security: [{
|
|
1188
|
+
in: "cookie",
|
|
1189
|
+
name: "nadeshiko.session_token",
|
|
1190
|
+
type: "apiKey"
|
|
1191
|
+
}],
|
|
1192
|
+
url: "/v1/user/activity",
|
|
1120
1193
|
...options
|
|
1121
1194
|
});
|
|
1122
|
-
var
|
|
1123
|
-
security: [{
|
|
1124
|
-
|
|
1195
|
+
var listUserActivity = (options) => (options?.client ?? client).get({
|
|
1196
|
+
security: [{
|
|
1197
|
+
in: "cookie",
|
|
1198
|
+
name: "nadeshiko.session_token",
|
|
1199
|
+
type: "apiKey"
|
|
1200
|
+
}],
|
|
1201
|
+
url: "/v1/user/activity",
|
|
1125
1202
|
...options
|
|
1126
1203
|
});
|
|
1127
|
-
var
|
|
1128
|
-
security: [{
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1204
|
+
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1205
|
+
security: [{
|
|
1206
|
+
in: "cookie",
|
|
1207
|
+
name: "nadeshiko.session_token",
|
|
1208
|
+
type: "apiKey"
|
|
1209
|
+
}],
|
|
1210
|
+
url: "/v1/user/activity/heatmap",
|
|
1211
|
+
...options
|
|
1135
1212
|
});
|
|
1136
|
-
var
|
|
1137
|
-
security: [{
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1213
|
+
var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
1214
|
+
security: [{
|
|
1215
|
+
in: "cookie",
|
|
1216
|
+
name: "nadeshiko.session_token",
|
|
1217
|
+
type: "apiKey"
|
|
1218
|
+
}],
|
|
1219
|
+
url: "/v1/user/activity/stats",
|
|
1220
|
+
...options
|
|
1144
1221
|
});
|
|
1145
|
-
var
|
|
1146
|
-
security: [{
|
|
1147
|
-
|
|
1222
|
+
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1223
|
+
security: [{
|
|
1224
|
+
in: "cookie",
|
|
1225
|
+
name: "nadeshiko.session_token",
|
|
1226
|
+
type: "apiKey"
|
|
1227
|
+
}],
|
|
1228
|
+
url: "/v1/user/export",
|
|
1148
1229
|
...options
|
|
1149
1230
|
});
|
|
1150
|
-
var
|
|
1151
|
-
security: [{
|
|
1152
|
-
|
|
1231
|
+
var listUserLabs = (options) => (options?.client ?? client).get({
|
|
1232
|
+
security: [{
|
|
1233
|
+
in: "cookie",
|
|
1234
|
+
name: "nadeshiko.session_token",
|
|
1235
|
+
type: "apiKey"
|
|
1236
|
+
}],
|
|
1237
|
+
url: "/v1/user/labs",
|
|
1238
|
+
...options
|
|
1239
|
+
});
|
|
1240
|
+
var listCollections = (options) => (options?.client ?? client).get({
|
|
1241
|
+
security: [{
|
|
1242
|
+
in: "cookie",
|
|
1243
|
+
name: "nadeshiko.session_token",
|
|
1244
|
+
type: "apiKey"
|
|
1245
|
+
}],
|
|
1246
|
+
url: "/v1/collections",
|
|
1247
|
+
...options
|
|
1248
|
+
});
|
|
1249
|
+
var createCollection = (options) => (options.client ?? client).post({
|
|
1250
|
+
security: [{
|
|
1251
|
+
in: "cookie",
|
|
1252
|
+
name: "nadeshiko.session_token",
|
|
1253
|
+
type: "apiKey"
|
|
1254
|
+
}],
|
|
1255
|
+
url: "/v1/collections",
|
|
1153
1256
|
...options,
|
|
1154
1257
|
headers: {
|
|
1155
1258
|
"Content-Type": "application/json",
|
|
1156
1259
|
...options.headers
|
|
1157
1260
|
}
|
|
1158
1261
|
});
|
|
1159
|
-
var
|
|
1160
|
-
security: [{
|
|
1262
|
+
var deleteCollection = (options) => (options.client ?? client).delete({
|
|
1263
|
+
security: [{
|
|
1161
1264
|
in: "cookie",
|
|
1162
1265
|
name: "nadeshiko.session_token",
|
|
1163
1266
|
type: "apiKey"
|
|
1164
1267
|
}],
|
|
1165
|
-
url: "/v1/
|
|
1268
|
+
url: "/v1/collections/{id}",
|
|
1166
1269
|
...options
|
|
1167
1270
|
});
|
|
1168
|
-
var
|
|
1169
|
-
security: [{
|
|
1271
|
+
var getCollection = (options) => (options.client ?? client).get({
|
|
1272
|
+
security: [{
|
|
1170
1273
|
in: "cookie",
|
|
1171
1274
|
name: "nadeshiko.session_token",
|
|
1172
1275
|
type: "apiKey"
|
|
1173
1276
|
}],
|
|
1174
|
-
url: "/v1/
|
|
1277
|
+
url: "/v1/collections/{id}",
|
|
1278
|
+
...options
|
|
1279
|
+
});
|
|
1280
|
+
var updateCollection = (options) => (options.client ?? client).patch({
|
|
1281
|
+
security: [{
|
|
1282
|
+
in: "cookie",
|
|
1283
|
+
name: "nadeshiko.session_token",
|
|
1284
|
+
type: "apiKey"
|
|
1285
|
+
}],
|
|
1286
|
+
url: "/v1/collections/{id}",
|
|
1175
1287
|
...options,
|
|
1176
1288
|
headers: {
|
|
1177
1289
|
"Content-Type": "application/json",
|
|
1178
1290
|
...options.headers
|
|
1179
1291
|
}
|
|
1180
1292
|
});
|
|
1181
|
-
var
|
|
1182
|
-
security: [{
|
|
1293
|
+
var addSegmentToCollection = (options) => (options.client ?? client).post({
|
|
1294
|
+
security: [{
|
|
1295
|
+
in: "cookie",
|
|
1296
|
+
name: "nadeshiko.session_token",
|
|
1297
|
+
type: "apiKey"
|
|
1298
|
+
}],
|
|
1299
|
+
url: "/v1/collections/{id}/segments",
|
|
1300
|
+
...options,
|
|
1301
|
+
headers: {
|
|
1302
|
+
"Content-Type": "application/json",
|
|
1303
|
+
...options.headers
|
|
1304
|
+
}
|
|
1305
|
+
});
|
|
1306
|
+
var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
|
|
1307
|
+
security: [{
|
|
1183
1308
|
in: "cookie",
|
|
1184
1309
|
name: "nadeshiko.session_token",
|
|
1185
1310
|
type: "apiKey"
|
|
1186
1311
|
}],
|
|
1187
|
-
url: "/v1/
|
|
1312
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1188
1313
|
...options
|
|
1189
1314
|
});
|
|
1190
|
-
var
|
|
1191
|
-
security: [{
|
|
1315
|
+
var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
1316
|
+
security: [{
|
|
1192
1317
|
in: "cookie",
|
|
1193
1318
|
name: "nadeshiko.session_token",
|
|
1194
1319
|
type: "apiKey"
|
|
1195
1320
|
}],
|
|
1196
|
-
url: "/v1/
|
|
1321
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1197
1322
|
...options,
|
|
1198
1323
|
headers: {
|
|
1199
1324
|
"Content-Type": "application/json",
|
|
1200
1325
|
...options.headers
|
|
1201
1326
|
}
|
|
1202
1327
|
});
|
|
1203
|
-
var
|
|
1328
|
+
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1329
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1330
|
+
url: "/v1/admin/dashboard",
|
|
1331
|
+
...options
|
|
1332
|
+
});
|
|
1333
|
+
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1334
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1335
|
+
url: "/v1/admin/health",
|
|
1336
|
+
...options
|
|
1337
|
+
});
|
|
1338
|
+
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1204
1339
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1205
1340
|
url: "/v1/admin/reindex",
|
|
1206
1341
|
...options,
|
|
@@ -1209,46 +1344,37 @@ var reindexElasticsearch = (options) => (options?.client ?? client).post({
|
|
|
1209
1344
|
...options?.headers
|
|
1210
1345
|
}
|
|
1211
1346
|
});
|
|
1212
|
-
var
|
|
1347
|
+
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1213
1348
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1214
1349
|
url: "/v1/admin/queues/stats",
|
|
1215
1350
|
...options
|
|
1216
1351
|
});
|
|
1217
|
-
var
|
|
1352
|
+
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1218
1353
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1219
1354
|
url: "/v1/admin/queues/{queueName}",
|
|
1220
1355
|
...options
|
|
1221
1356
|
});
|
|
1222
|
-
var
|
|
1357
|
+
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1223
1358
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1224
1359
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1225
1360
|
...options
|
|
1226
1361
|
});
|
|
1227
|
-
var
|
|
1362
|
+
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1228
1363
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1229
1364
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1230
1365
|
...options
|
|
1231
1366
|
});
|
|
1232
|
-
var
|
|
1367
|
+
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1233
1368
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1234
1369
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1235
1370
|
...options
|
|
1236
1371
|
});
|
|
1237
|
-
var
|
|
1238
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
1239
|
-
in: "cookie",
|
|
1240
|
-
name: "nadeshiko.session_token",
|
|
1241
|
-
type: "apiKey"
|
|
1242
|
-
}],
|
|
1243
|
-
url: "/v1/admin/morpheme-backfill",
|
|
1244
|
-
...options
|
|
1245
|
-
});
|
|
1246
|
-
var getAdminReports = (options) => (options?.client ?? client).get({
|
|
1372
|
+
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1247
1373
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1248
1374
|
url: "/v1/admin/reports",
|
|
1249
1375
|
...options
|
|
1250
1376
|
});
|
|
1251
|
-
var
|
|
1377
|
+
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1252
1378
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1253
1379
|
url: "/v1/admin/reports/{id}",
|
|
1254
1380
|
...options,
|
|
@@ -1257,7 +1383,55 @@ var updateReport = (options) => (options.client ?? client).patch({
|
|
|
1257
1383
|
...options.headers
|
|
1258
1384
|
}
|
|
1259
1385
|
});
|
|
1260
|
-
|
|
1386
|
+
var runAdminReview = (options) => (options?.client ?? client).post({
|
|
1387
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1388
|
+
url: "/v1/admin/review/run",
|
|
1389
|
+
...options
|
|
1390
|
+
});
|
|
1391
|
+
var listAdminReviewChecks = (options) => (options?.client ?? client).get({
|
|
1392
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1393
|
+
url: "/v1/admin/review/checks",
|
|
1394
|
+
...options
|
|
1395
|
+
});
|
|
1396
|
+
var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
|
|
1397
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1398
|
+
url: "/v1/admin/review/checks/{name}",
|
|
1399
|
+
...options,
|
|
1400
|
+
headers: {
|
|
1401
|
+
"Content-Type": "application/json",
|
|
1402
|
+
...options.headers
|
|
1403
|
+
}
|
|
1404
|
+
});
|
|
1405
|
+
var listAdminReviewRuns = (options) => (options?.client ?? client).get({
|
|
1406
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1407
|
+
url: "/v1/admin/review/runs",
|
|
1408
|
+
...options
|
|
1409
|
+
});
|
|
1410
|
+
var getAdminReviewRun = (options) => (options.client ?? client).get({
|
|
1411
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1412
|
+
url: "/v1/admin/review/runs/{id}",
|
|
1413
|
+
...options
|
|
1414
|
+
});
|
|
1415
|
+
var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
|
|
1416
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1417
|
+
url: "/v1/admin/review/allowlist",
|
|
1418
|
+
...options
|
|
1419
|
+
});
|
|
1420
|
+
var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
|
|
1421
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1422
|
+
url: "/v1/admin/review/allowlist",
|
|
1423
|
+
...options,
|
|
1424
|
+
headers: {
|
|
1425
|
+
"Content-Type": "application/json",
|
|
1426
|
+
...options.headers
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1430
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1431
|
+
url: "/v1/admin/review/allowlist/{id}",
|
|
1432
|
+
...options
|
|
1433
|
+
});
|
|
1434
|
+
// generated/dev/nadeshiko.gen.ts
|
|
1261
1435
|
var environments = {
|
|
1262
1436
|
LOCAL: "http://localhost:5000/api",
|
|
1263
1437
|
DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
|
|
@@ -1271,86 +1445,116 @@ function createNadeshikoClient(config) {
|
|
|
1271
1445
|
}));
|
|
1272
1446
|
return {
|
|
1273
1447
|
client: clientInstance,
|
|
1274
|
-
|
|
1448
|
+
search: (options) => search({ ...options, client: clientInstance }),
|
|
1275
1449
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1276
1450
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1451
|
+
listMedia: (options) => listMedia({ ...options, client: clientInstance }),
|
|
1452
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1453
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1454
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1455
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1456
|
+
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1277
1457
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
episodeShow: (options) => episodeShow({ ...options, client: clientInstance }),
|
|
1283
|
-
segmentShow: (options) => segmentShow({ ...options, client: clientInstance }),
|
|
1284
|
-
segmentShowByUuid: (options) => segmentShowByUuid({ ...options, client: clientInstance }),
|
|
1285
|
-
characterShow: (options) => characterShow({ ...options, client: clientInstance }),
|
|
1286
|
-
seiyuuShow: (options) => seiyuuShow({ ...options, client: clientInstance }),
|
|
1458
|
+
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1459
|
+
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1460
|
+
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1461
|
+
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1287
1462
|
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1463
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1464
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1465
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1466
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1467
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1468
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1469
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1470
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1471
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1472
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1473
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1474
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1475
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1476
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1477
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1478
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1479
|
+
runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
|
|
1480
|
+
listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
|
|
1481
|
+
updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
|
|
1482
|
+
listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
|
|
1483
|
+
getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
|
|
1484
|
+
listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
|
|
1485
|
+
createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1486
|
+
deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1487
|
+
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1488
|
+
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1489
|
+
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1490
|
+
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
1491
|
+
updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
|
|
1492
|
+
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1493
|
+
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1494
|
+
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1495
|
+
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1496
|
+
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1497
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1498
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1499
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1500
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1501
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1502
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1503
|
+
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1504
|
+
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1505
|
+
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1506
|
+
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1507
|
+
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1508
|
+
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1509
|
+
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1510
|
+
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1511
|
+
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1512
|
+
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1513
|
+
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1514
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1322
1515
|
};
|
|
1323
1516
|
}
|
|
1324
1517
|
var createClient2 = createNadeshikoClient;
|
|
1325
|
-
// generated/
|
|
1326
|
-
var exports_search_gen = {};
|
|
1327
|
-
__export(exports_search_gen, {
|
|
1328
|
-
healthCheck: () => healthCheck
|
|
1329
|
-
});
|
|
1330
|
-
// generated/internal/internal/media.gen.ts
|
|
1518
|
+
// generated/dev/internal/media.gen.ts
|
|
1331
1519
|
var exports_media_gen = {};
|
|
1332
1520
|
__export(exports_media_gen, {
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1521
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
1522
|
+
updateSeries: () => updateSeries,
|
|
1523
|
+
updateSegment: () => updateSegment,
|
|
1524
|
+
updateMedia: () => updateMedia,
|
|
1525
|
+
updateEpisode: () => updateEpisode,
|
|
1526
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
1527
|
+
listSegments: () => listSegments,
|
|
1528
|
+
deleteSeries: () => deleteSeries,
|
|
1529
|
+
deleteSegment: () => deleteSegment,
|
|
1530
|
+
deleteMedia: () => deleteMedia,
|
|
1531
|
+
deleteEpisode: () => deleteEpisode,
|
|
1532
|
+
createSeries: () => createSeries,
|
|
1533
|
+
createSegment: () => createSegment,
|
|
1534
|
+
createMedia: () => createMedia,
|
|
1535
|
+
createEpisode: () => createEpisode,
|
|
1536
|
+
addMediaToSeries: () => addMediaToSeries
|
|
1537
|
+
});
|
|
1538
|
+
// generated/dev/internal/user.gen.ts
|
|
1539
|
+
var exports_user_gen = {};
|
|
1540
|
+
__export(exports_user_gen, {
|
|
1541
|
+
updateUserPreferences: () => updateUserPreferences,
|
|
1542
|
+
listUserReports: () => listUserReports,
|
|
1543
|
+
listUserLabs: () => listUserLabs,
|
|
1544
|
+
listUserActivity: () => listUserActivity,
|
|
1545
|
+
getUserPreferences: () => getUserPreferences,
|
|
1546
|
+
getUserActivityStats: () => getUserActivityStats,
|
|
1547
|
+
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1548
|
+
exportUserData: () => exportUserData,
|
|
1549
|
+
deleteUserActivity: () => deleteUserActivity,
|
|
1550
|
+
createUserReport: () => createUserReport
|
|
1551
|
+
});
|
|
1552
|
+
// generated/dev/internal/admin.gen.ts
|
|
1553
|
+
var exports_admin_gen = {};
|
|
1554
|
+
__export(exports_admin_gen, {
|
|
1555
|
+
getAdminHealth: () => getAdminHealth,
|
|
1556
|
+
getAdminDashboard: () => getAdminDashboard
|
|
1353
1557
|
});
|
|
1354
1558
|
|
|
1355
|
-
//# debugId=
|
|
1559
|
+
//# debugId=885F26339D4C354164756E2164756E21
|
|
1356
1560
|
//# sourceMappingURL=index.js.map
|