@brigadasos/nadeshiko-sdk 1.4.0-dev.c253525 → 1.4.3-dev.0ffbf39
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 +455 -246
- 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 +451 -242
- 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 +75 -46
- 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 +2905 -1742
- 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.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,22 +808,17 @@ 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/
|
|
815
|
-
var
|
|
816
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
817
|
-
url: "/v1/health",
|
|
818
|
-
...options
|
|
819
|
-
});
|
|
820
|
-
var searchSegments = (options) => (options?.client ?? client).post({
|
|
814
|
+
// generated/dev/sdk.gen.ts
|
|
815
|
+
var search = (options) => (options?.client ?? client).post({
|
|
821
816
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
822
817
|
in: "cookie",
|
|
823
818
|
name: "nadeshiko.session_token",
|
|
824
819
|
type: "apiKey"
|
|
825
820
|
}],
|
|
826
|
-
url: "/v1/search
|
|
821
|
+
url: "/v1/search",
|
|
827
822
|
...options,
|
|
828
823
|
headers: {
|
|
829
824
|
"Content-Type": "application/json",
|
|
@@ -856,34 +851,12 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
856
851
|
...options.headers
|
|
857
852
|
}
|
|
858
853
|
});
|
|
859
|
-
var
|
|
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
|
-
var mediaIndex = (options) => (options?.client ?? client).get({
|
|
854
|
+
var listMedia = (options) => (options?.client ?? client).get({
|
|
882
855
|
security: [{ scheme: "bearer", type: "http" }],
|
|
883
856
|
url: "/v1/media",
|
|
884
857
|
...options
|
|
885
858
|
});
|
|
886
|
-
var
|
|
859
|
+
var createMedia = (options) => (options.client ?? client).post({
|
|
887
860
|
security: [{ scheme: "bearer", type: "http" }],
|
|
888
861
|
url: "/v1/media",
|
|
889
862
|
...options,
|
|
@@ -892,17 +865,17 @@ var mediaCreate = (options) => (options.client ?? client).post({
|
|
|
892
865
|
...options.headers
|
|
893
866
|
}
|
|
894
867
|
});
|
|
895
|
-
var
|
|
868
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
896
869
|
security: [{ scheme: "bearer", type: "http" }],
|
|
897
870
|
url: "/v1/media/{id}",
|
|
898
871
|
...options
|
|
899
872
|
});
|
|
900
|
-
var
|
|
873
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
901
874
|
security: [{ scheme: "bearer", type: "http" }],
|
|
902
875
|
url: "/v1/media/{id}",
|
|
903
876
|
...options
|
|
904
877
|
});
|
|
905
|
-
var
|
|
878
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
906
879
|
security: [{ scheme: "bearer", type: "http" }],
|
|
907
880
|
url: "/v1/media/{id}",
|
|
908
881
|
...options,
|
|
@@ -911,12 +884,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
|
|
|
911
884
|
...options.headers
|
|
912
885
|
}
|
|
913
886
|
});
|
|
914
|
-
var
|
|
887
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
915
888
|
security: [{ scheme: "bearer", type: "http" }],
|
|
916
889
|
url: "/v1/media/{mediaId}/episodes",
|
|
917
890
|
...options
|
|
918
891
|
});
|
|
919
|
-
var
|
|
892
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
920
893
|
security: [{ scheme: "bearer", type: "http" }],
|
|
921
894
|
url: "/v1/media/{mediaId}/episodes",
|
|
922
895
|
...options,
|
|
@@ -925,17 +898,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
|
|
|
925
898
|
...options.headers
|
|
926
899
|
}
|
|
927
900
|
});
|
|
928
|
-
var
|
|
901
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
929
902
|
security: [{ scheme: "bearer", type: "http" }],
|
|
930
903
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
931
904
|
...options
|
|
932
905
|
});
|
|
933
|
-
var
|
|
906
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
934
907
|
security: [{ scheme: "bearer", type: "http" }],
|
|
935
908
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
936
909
|
...options
|
|
937
910
|
});
|
|
938
|
-
var
|
|
911
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
939
912
|
security: [{ scheme: "bearer", type: "http" }],
|
|
940
913
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
941
914
|
...options,
|
|
@@ -944,12 +917,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
|
|
|
944
917
|
...options.headers
|
|
945
918
|
}
|
|
946
919
|
});
|
|
947
|
-
var
|
|
920
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
948
921
|
security: [{ scheme: "bearer", type: "http" }],
|
|
949
922
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
950
923
|
...options
|
|
951
924
|
});
|
|
952
|
-
var
|
|
925
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
953
926
|
security: [{ scheme: "bearer", type: "http" }],
|
|
954
927
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
955
928
|
...options,
|
|
@@ -958,17 +931,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
|
|
|
958
931
|
...options.headers
|
|
959
932
|
}
|
|
960
933
|
});
|
|
961
|
-
var
|
|
934
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
962
935
|
security: [{ scheme: "bearer", type: "http" }],
|
|
963
936
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
964
937
|
...options
|
|
965
938
|
});
|
|
966
|
-
var
|
|
939
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
967
940
|
security: [{ scheme: "bearer", type: "http" }],
|
|
968
941
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
969
942
|
...options
|
|
970
943
|
});
|
|
971
|
-
var
|
|
944
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
972
945
|
security: [{ scheme: "bearer", type: "http" }],
|
|
973
946
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
974
947
|
...options,
|
|
@@ -977,17 +950,86 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
|
|
|
977
950
|
...options.headers
|
|
978
951
|
}
|
|
979
952
|
});
|
|
980
|
-
var
|
|
953
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
981
954
|
security: [{ scheme: "bearer", type: "http" }],
|
|
982
955
|
url: "/v1/media/segments/{uuid}",
|
|
983
956
|
...options
|
|
984
957
|
});
|
|
985
|
-
var
|
|
958
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
959
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
960
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
961
|
+
...options
|
|
962
|
+
});
|
|
963
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
964
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
965
|
+
in: "cookie",
|
|
966
|
+
name: "nadeshiko.session_token",
|
|
967
|
+
type: "apiKey"
|
|
968
|
+
}],
|
|
969
|
+
url: "/v1/media/series",
|
|
970
|
+
...options
|
|
971
|
+
});
|
|
972
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
973
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
974
|
+
url: "/v1/media/series",
|
|
975
|
+
...options,
|
|
976
|
+
headers: {
|
|
977
|
+
"Content-Type": "application/json",
|
|
978
|
+
...options.headers
|
|
979
|
+
}
|
|
980
|
+
});
|
|
981
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
982
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
983
|
+
url: "/v1/media/series/{id}",
|
|
984
|
+
...options
|
|
985
|
+
});
|
|
986
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
987
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
988
|
+
in: "cookie",
|
|
989
|
+
name: "nadeshiko.session_token",
|
|
990
|
+
type: "apiKey"
|
|
991
|
+
}],
|
|
992
|
+
url: "/v1/media/series/{id}",
|
|
993
|
+
...options
|
|
994
|
+
});
|
|
995
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
996
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
997
|
+
url: "/v1/media/series/{id}",
|
|
998
|
+
...options,
|
|
999
|
+
headers: {
|
|
1000
|
+
"Content-Type": "application/json",
|
|
1001
|
+
...options.headers
|
|
1002
|
+
}
|
|
1003
|
+
});
|
|
1004
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
1005
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1006
|
+
url: "/v1/media/series/{id}/media",
|
|
1007
|
+
...options,
|
|
1008
|
+
headers: {
|
|
1009
|
+
"Content-Type": "application/json",
|
|
1010
|
+
...options.headers
|
|
1011
|
+
}
|
|
1012
|
+
});
|
|
1013
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
1014
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1015
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1016
|
+
...options
|
|
1017
|
+
});
|
|
1018
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
1019
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1020
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1021
|
+
...options,
|
|
1022
|
+
headers: {
|
|
1023
|
+
"Content-Type": "application/json",
|
|
1024
|
+
...options.headers
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
1027
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
986
1028
|
security: [{ scheme: "bearer", type: "http" }],
|
|
987
1029
|
url: "/v1/media/characters/{id}",
|
|
988
1030
|
...options
|
|
989
1031
|
});
|
|
990
|
-
var
|
|
1032
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
991
1033
|
security: [{ scheme: "bearer", type: "http" }],
|
|
992
1034
|
url: "/v1/media/seiyuu/{id}",
|
|
993
1035
|
...options
|
|
@@ -997,11 +1039,11 @@ var getUserQuota = (options) => (options?.client ?? client).get({
|
|
|
997
1039
|
in: "cookie",
|
|
998
1040
|
name: "nadeshiko.session_token",
|
|
999
1041
|
type: "apiKey"
|
|
1000
|
-
}],
|
|
1042
|
+
}, { scheme: "bearer", type: "http" }],
|
|
1001
1043
|
url: "/v1/user/quota",
|
|
1002
1044
|
...options
|
|
1003
1045
|
});
|
|
1004
|
-
var
|
|
1046
|
+
var listUserReports = (options) => (options?.client ?? client).get({
|
|
1005
1047
|
security: [{
|
|
1006
1048
|
in: "cookie",
|
|
1007
1049
|
name: "nadeshiko.session_token",
|
|
@@ -1010,7 +1052,7 @@ var getUserReports = (options) => (options?.client ?? client).get({
|
|
|
1010
1052
|
url: "/v1/user/reports",
|
|
1011
1053
|
...options
|
|
1012
1054
|
});
|
|
1013
|
-
var
|
|
1055
|
+
var createUserReport = (options) => (options.client ?? client).post({
|
|
1014
1056
|
security: [{
|
|
1015
1057
|
in: "cookie",
|
|
1016
1058
|
name: "nadeshiko.session_token",
|
|
@@ -1023,107 +1065,181 @@ var createReport = (options) => (options.client ?? client).post({
|
|
|
1023
1065
|
...options.headers
|
|
1024
1066
|
}
|
|
1025
1067
|
});
|
|
1026
|
-
var
|
|
1027
|
-
security: [{
|
|
1028
|
-
|
|
1068
|
+
var getUserPreferences = (options) => (options?.client ?? client).get({
|
|
1069
|
+
security: [{
|
|
1070
|
+
in: "cookie",
|
|
1071
|
+
name: "nadeshiko.session_token",
|
|
1072
|
+
type: "apiKey"
|
|
1073
|
+
}],
|
|
1074
|
+
url: "/v1/user/preferences",
|
|
1029
1075
|
...options
|
|
1030
1076
|
});
|
|
1031
|
-
var
|
|
1032
|
-
security: [{
|
|
1033
|
-
|
|
1077
|
+
var updateUserPreferences = (options) => (options.client ?? client).patch({
|
|
1078
|
+
security: [{
|
|
1079
|
+
in: "cookie",
|
|
1080
|
+
name: "nadeshiko.session_token",
|
|
1081
|
+
type: "apiKey"
|
|
1082
|
+
}],
|
|
1083
|
+
url: "/v1/user/preferences",
|
|
1034
1084
|
...options,
|
|
1035
1085
|
headers: {
|
|
1036
1086
|
"Content-Type": "application/json",
|
|
1037
1087
|
...options.headers
|
|
1038
1088
|
}
|
|
1039
1089
|
});
|
|
1040
|
-
var
|
|
1041
|
-
security: [{
|
|
1042
|
-
|
|
1090
|
+
var deleteUserActivity = (options) => (options?.client ?? client).delete({
|
|
1091
|
+
security: [{
|
|
1092
|
+
in: "cookie",
|
|
1093
|
+
name: "nadeshiko.session_token",
|
|
1094
|
+
type: "apiKey"
|
|
1095
|
+
}],
|
|
1096
|
+
url: "/v1/user/activity",
|
|
1043
1097
|
...options
|
|
1044
1098
|
});
|
|
1045
|
-
var
|
|
1046
|
-
security: [{
|
|
1047
|
-
|
|
1099
|
+
var listUserActivity = (options) => (options?.client ?? client).get({
|
|
1100
|
+
security: [{
|
|
1101
|
+
in: "cookie",
|
|
1102
|
+
name: "nadeshiko.session_token",
|
|
1103
|
+
type: "apiKey"
|
|
1104
|
+
}],
|
|
1105
|
+
url: "/v1/user/activity",
|
|
1048
1106
|
...options
|
|
1049
1107
|
});
|
|
1050
|
-
var
|
|
1051
|
-
security: [{
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1108
|
+
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1109
|
+
security: [{
|
|
1110
|
+
in: "cookie",
|
|
1111
|
+
name: "nadeshiko.session_token",
|
|
1112
|
+
type: "apiKey"
|
|
1113
|
+
}],
|
|
1114
|
+
url: "/v1/user/activity/heatmap",
|
|
1115
|
+
...options
|
|
1058
1116
|
});
|
|
1059
|
-
var
|
|
1060
|
-
security: [{
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1117
|
+
var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
1118
|
+
security: [{
|
|
1119
|
+
in: "cookie",
|
|
1120
|
+
name: "nadeshiko.session_token",
|
|
1121
|
+
type: "apiKey"
|
|
1122
|
+
}],
|
|
1123
|
+
url: "/v1/user/activity/stats",
|
|
1124
|
+
...options
|
|
1067
1125
|
});
|
|
1068
|
-
var
|
|
1069
|
-
security: [{
|
|
1070
|
-
|
|
1126
|
+
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1127
|
+
security: [{
|
|
1128
|
+
in: "cookie",
|
|
1129
|
+
name: "nadeshiko.session_token",
|
|
1130
|
+
type: "apiKey"
|
|
1131
|
+
}],
|
|
1132
|
+
url: "/v1/user/export",
|
|
1071
1133
|
...options
|
|
1072
1134
|
});
|
|
1073
|
-
var
|
|
1074
|
-
security: [{
|
|
1075
|
-
|
|
1135
|
+
var listUserLabs = (options) => (options?.client ?? client).get({
|
|
1136
|
+
security: [{
|
|
1137
|
+
in: "cookie",
|
|
1138
|
+
name: "nadeshiko.session_token",
|
|
1139
|
+
type: "apiKey"
|
|
1140
|
+
}],
|
|
1141
|
+
url: "/v1/user/labs",
|
|
1142
|
+
...options
|
|
1143
|
+
});
|
|
1144
|
+
var listCollections = (options) => (options?.client ?? client).get({
|
|
1145
|
+
security: [{
|
|
1146
|
+
in: "cookie",
|
|
1147
|
+
name: "nadeshiko.session_token",
|
|
1148
|
+
type: "apiKey"
|
|
1149
|
+
}],
|
|
1150
|
+
url: "/v1/collections",
|
|
1151
|
+
...options
|
|
1152
|
+
});
|
|
1153
|
+
var createCollection = (options) => (options.client ?? client).post({
|
|
1154
|
+
security: [{
|
|
1155
|
+
in: "cookie",
|
|
1156
|
+
name: "nadeshiko.session_token",
|
|
1157
|
+
type: "apiKey"
|
|
1158
|
+
}],
|
|
1159
|
+
url: "/v1/collections",
|
|
1076
1160
|
...options,
|
|
1077
1161
|
headers: {
|
|
1078
1162
|
"Content-Type": "application/json",
|
|
1079
1163
|
...options.headers
|
|
1080
1164
|
}
|
|
1081
1165
|
});
|
|
1082
|
-
var
|
|
1083
|
-
security: [{
|
|
1166
|
+
var deleteCollection = (options) => (options.client ?? client).delete({
|
|
1167
|
+
security: [{
|
|
1084
1168
|
in: "cookie",
|
|
1085
1169
|
name: "nadeshiko.session_token",
|
|
1086
1170
|
type: "apiKey"
|
|
1087
1171
|
}],
|
|
1088
|
-
url: "/v1/
|
|
1172
|
+
url: "/v1/collections/{id}",
|
|
1089
1173
|
...options
|
|
1090
1174
|
});
|
|
1091
|
-
var
|
|
1092
|
-
security: [{
|
|
1175
|
+
var getCollection = (options) => (options.client ?? client).get({
|
|
1176
|
+
security: [{
|
|
1177
|
+
in: "cookie",
|
|
1178
|
+
name: "nadeshiko.session_token",
|
|
1179
|
+
type: "apiKey"
|
|
1180
|
+
}],
|
|
1181
|
+
url: "/v1/collections/{id}",
|
|
1182
|
+
...options
|
|
1183
|
+
});
|
|
1184
|
+
var updateCollection = (options) => (options.client ?? client).patch({
|
|
1185
|
+
security: [{
|
|
1093
1186
|
in: "cookie",
|
|
1094
1187
|
name: "nadeshiko.session_token",
|
|
1095
1188
|
type: "apiKey"
|
|
1096
1189
|
}],
|
|
1097
|
-
url: "/v1/
|
|
1190
|
+
url: "/v1/collections/{id}",
|
|
1098
1191
|
...options,
|
|
1099
1192
|
headers: {
|
|
1100
1193
|
"Content-Type": "application/json",
|
|
1101
1194
|
...options.headers
|
|
1102
1195
|
}
|
|
1103
1196
|
});
|
|
1104
|
-
var
|
|
1105
|
-
security: [{
|
|
1197
|
+
var addSegmentToCollection = (options) => (options.client ?? client).post({
|
|
1198
|
+
security: [{
|
|
1106
1199
|
in: "cookie",
|
|
1107
1200
|
name: "nadeshiko.session_token",
|
|
1108
1201
|
type: "apiKey"
|
|
1109
1202
|
}],
|
|
1110
|
-
url: "/v1/
|
|
1203
|
+
url: "/v1/collections/{id}/segments",
|
|
1204
|
+
...options,
|
|
1205
|
+
headers: {
|
|
1206
|
+
"Content-Type": "application/json",
|
|
1207
|
+
...options.headers
|
|
1208
|
+
}
|
|
1209
|
+
});
|
|
1210
|
+
var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
|
|
1211
|
+
security: [{
|
|
1212
|
+
in: "cookie",
|
|
1213
|
+
name: "nadeshiko.session_token",
|
|
1214
|
+
type: "apiKey"
|
|
1215
|
+
}],
|
|
1216
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1111
1217
|
...options
|
|
1112
1218
|
});
|
|
1113
|
-
var
|
|
1114
|
-
security: [{
|
|
1219
|
+
var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
1220
|
+
security: [{
|
|
1115
1221
|
in: "cookie",
|
|
1116
1222
|
name: "nadeshiko.session_token",
|
|
1117
1223
|
type: "apiKey"
|
|
1118
1224
|
}],
|
|
1119
|
-
url: "/v1/
|
|
1225
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1120
1226
|
...options,
|
|
1121
1227
|
headers: {
|
|
1122
1228
|
"Content-Type": "application/json",
|
|
1123
1229
|
...options.headers
|
|
1124
1230
|
}
|
|
1125
1231
|
});
|
|
1126
|
-
var
|
|
1232
|
+
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1233
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1234
|
+
url: "/v1/admin/dashboard",
|
|
1235
|
+
...options
|
|
1236
|
+
});
|
|
1237
|
+
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1238
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1239
|
+
url: "/v1/admin/health",
|
|
1240
|
+
...options
|
|
1241
|
+
});
|
|
1242
|
+
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1127
1243
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1128
1244
|
url: "/v1/admin/reindex",
|
|
1129
1245
|
...options,
|
|
@@ -1132,46 +1248,37 @@ var reindexElasticsearch = (options) => (options?.client ?? client).post({
|
|
|
1132
1248
|
...options?.headers
|
|
1133
1249
|
}
|
|
1134
1250
|
});
|
|
1135
|
-
var
|
|
1251
|
+
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1136
1252
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1137
1253
|
url: "/v1/admin/queues/stats",
|
|
1138
1254
|
...options
|
|
1139
1255
|
});
|
|
1140
|
-
var
|
|
1256
|
+
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1141
1257
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1142
1258
|
url: "/v1/admin/queues/{queueName}",
|
|
1143
1259
|
...options
|
|
1144
1260
|
});
|
|
1145
|
-
var
|
|
1261
|
+
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1146
1262
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1147
1263
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1148
1264
|
...options
|
|
1149
1265
|
});
|
|
1150
|
-
var
|
|
1266
|
+
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1151
1267
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1152
1268
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1153
1269
|
...options
|
|
1154
1270
|
});
|
|
1155
|
-
var
|
|
1271
|
+
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1156
1272
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1157
1273
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1158
1274
|
...options
|
|
1159
1275
|
});
|
|
1160
|
-
var
|
|
1161
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
1162
|
-
in: "cookie",
|
|
1163
|
-
name: "nadeshiko.session_token",
|
|
1164
|
-
type: "apiKey"
|
|
1165
|
-
}],
|
|
1166
|
-
url: "/v1/admin/morpheme-backfill",
|
|
1167
|
-
...options
|
|
1168
|
-
});
|
|
1169
|
-
var getAdminReports = (options) => (options?.client ?? client).get({
|
|
1276
|
+
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1170
1277
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1171
1278
|
url: "/v1/admin/reports",
|
|
1172
1279
|
...options
|
|
1173
1280
|
});
|
|
1174
|
-
var
|
|
1281
|
+
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1175
1282
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1176
1283
|
url: "/v1/admin/reports/{id}",
|
|
1177
1284
|
...options,
|
|
@@ -1180,7 +1287,55 @@ var updateReport = (options) => (options.client ?? client).patch({
|
|
|
1180
1287
|
...options.headers
|
|
1181
1288
|
}
|
|
1182
1289
|
});
|
|
1183
|
-
|
|
1290
|
+
var runAdminReview = (options) => (options?.client ?? client).post({
|
|
1291
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1292
|
+
url: "/v1/admin/review/run",
|
|
1293
|
+
...options
|
|
1294
|
+
});
|
|
1295
|
+
var listAdminReviewChecks = (options) => (options?.client ?? client).get({
|
|
1296
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1297
|
+
url: "/v1/admin/review/checks",
|
|
1298
|
+
...options
|
|
1299
|
+
});
|
|
1300
|
+
var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
|
|
1301
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1302
|
+
url: "/v1/admin/review/checks/{name}",
|
|
1303
|
+
...options,
|
|
1304
|
+
headers: {
|
|
1305
|
+
"Content-Type": "application/json",
|
|
1306
|
+
...options.headers
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1309
|
+
var listAdminReviewRuns = (options) => (options?.client ?? client).get({
|
|
1310
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1311
|
+
url: "/v1/admin/review/runs",
|
|
1312
|
+
...options
|
|
1313
|
+
});
|
|
1314
|
+
var getAdminReviewRun = (options) => (options.client ?? client).get({
|
|
1315
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1316
|
+
url: "/v1/admin/review/runs/{id}",
|
|
1317
|
+
...options
|
|
1318
|
+
});
|
|
1319
|
+
var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
|
|
1320
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1321
|
+
url: "/v1/admin/review/allowlist",
|
|
1322
|
+
...options
|
|
1323
|
+
});
|
|
1324
|
+
var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
|
|
1325
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1326
|
+
url: "/v1/admin/review/allowlist",
|
|
1327
|
+
...options,
|
|
1328
|
+
headers: {
|
|
1329
|
+
"Content-Type": "application/json",
|
|
1330
|
+
...options.headers
|
|
1331
|
+
}
|
|
1332
|
+
});
|
|
1333
|
+
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1334
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1335
|
+
url: "/v1/admin/review/allowlist/{id}",
|
|
1336
|
+
...options
|
|
1337
|
+
});
|
|
1338
|
+
// generated/dev/nadeshiko.gen.ts
|
|
1184
1339
|
var environments = {
|
|
1185
1340
|
LOCAL: "http://localhost:5000/api",
|
|
1186
1341
|
DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
|
|
@@ -1190,146 +1345,200 @@ function createNadeshikoClient(config) {
|
|
|
1190
1345
|
const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl : environments.PRODUCTION;
|
|
1191
1346
|
const clientInstance = createClient(createConfig({
|
|
1192
1347
|
baseUrl,
|
|
1193
|
-
|
|
1348
|
+
auth: (auth) => {
|
|
1349
|
+
if (auth.in === "cookie") {
|
|
1350
|
+
return config.sessionToken;
|
|
1351
|
+
}
|
|
1352
|
+
return config.apiKey;
|
|
1353
|
+
}
|
|
1194
1354
|
}));
|
|
1195
1355
|
return {
|
|
1196
1356
|
client: clientInstance,
|
|
1197
|
-
|
|
1357
|
+
search: (options) => search({ ...options, client: clientInstance }),
|
|
1198
1358
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1199
1359
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1360
|
+
listMedia: (options) => listMedia({ ...options, client: clientInstance }),
|
|
1361
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1362
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1363
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1364
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1365
|
+
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1200
1366
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
episodeShow: (options) => episodeShow({ ...options, client: clientInstance }),
|
|
1206
|
-
segmentShow: (options) => segmentShow({ ...options, client: clientInstance }),
|
|
1207
|
-
segmentShowByUuid: (options) => segmentShowByUuid({ ...options, client: clientInstance }),
|
|
1208
|
-
characterShow: (options) => characterShow({ ...options, client: clientInstance }),
|
|
1209
|
-
seiyuuShow: (options) => seiyuuShow({ ...options, client: clientInstance }),
|
|
1367
|
+
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1368
|
+
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1369
|
+
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1370
|
+
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1210
1371
|
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1372
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1373
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1374
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1375
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1376
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1377
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1378
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1379
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1380
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1381
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1382
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1383
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1384
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1385
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1386
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1387
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1388
|
+
runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
|
|
1389
|
+
listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
|
|
1390
|
+
updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
|
|
1391
|
+
listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
|
|
1392
|
+
getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
|
|
1393
|
+
listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
|
|
1394
|
+
createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1395
|
+
deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1396
|
+
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1397
|
+
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1398
|
+
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1399
|
+
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
1400
|
+
updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
|
|
1401
|
+
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1402
|
+
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1403
|
+
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1404
|
+
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1405
|
+
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1406
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1407
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1408
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1409
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1410
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1411
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1412
|
+
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1413
|
+
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1414
|
+
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1415
|
+
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1416
|
+
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1417
|
+
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1418
|
+
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1419
|
+
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1420
|
+
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1421
|
+
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1422
|
+
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1423
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1245
1424
|
};
|
|
1246
1425
|
}
|
|
1247
1426
|
var createClient2 = createNadeshikoClient;
|
|
1248
|
-
// generated/
|
|
1249
|
-
var exports_search_gen = {};
|
|
1250
|
-
__export(exports_search_gen, {
|
|
1251
|
-
healthCheck: () => healthCheck
|
|
1252
|
-
});
|
|
1253
|
-
// generated/internal/internal/media.gen.ts
|
|
1427
|
+
// generated/dev/internal/media.gen.ts
|
|
1254
1428
|
var exports_media_gen = {};
|
|
1255
1429
|
__export(exports_media_gen, {
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1430
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
1431
|
+
updateSeries: () => updateSeries,
|
|
1432
|
+
updateSegment: () => updateSegment,
|
|
1433
|
+
updateMedia: () => updateMedia,
|
|
1434
|
+
updateEpisode: () => updateEpisode,
|
|
1435
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
1436
|
+
listSegments: () => listSegments,
|
|
1437
|
+
deleteSeries: () => deleteSeries,
|
|
1438
|
+
deleteSegment: () => deleteSegment,
|
|
1439
|
+
deleteMedia: () => deleteMedia,
|
|
1440
|
+
deleteEpisode: () => deleteEpisode,
|
|
1441
|
+
createSeries: () => createSeries,
|
|
1442
|
+
createSegment: () => createSegment,
|
|
1443
|
+
createMedia: () => createMedia,
|
|
1444
|
+
createEpisode: () => createEpisode,
|
|
1445
|
+
addMediaToSeries: () => addMediaToSeries
|
|
1446
|
+
});
|
|
1447
|
+
// generated/dev/internal/user.gen.ts
|
|
1448
|
+
var exports_user_gen = {};
|
|
1449
|
+
__export(exports_user_gen, {
|
|
1450
|
+
updateUserPreferences: () => updateUserPreferences,
|
|
1451
|
+
listUserReports: () => listUserReports,
|
|
1452
|
+
listUserLabs: () => listUserLabs,
|
|
1453
|
+
listUserActivity: () => listUserActivity,
|
|
1454
|
+
getUserPreferences: () => getUserPreferences,
|
|
1455
|
+
getUserActivityStats: () => getUserActivityStats,
|
|
1456
|
+
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1457
|
+
exportUserData: () => exportUserData,
|
|
1458
|
+
deleteUserActivity: () => deleteUserActivity,
|
|
1459
|
+
createUserReport: () => createUserReport
|
|
1460
|
+
});
|
|
1461
|
+
// generated/dev/internal/admin.gen.ts
|
|
1462
|
+
var exports_admin_gen = {};
|
|
1463
|
+
__export(exports_admin_gen, {
|
|
1464
|
+
getAdminHealth: () => getAdminHealth,
|
|
1465
|
+
getAdminDashboard: () => getAdminDashboard
|
|
1276
1466
|
});
|
|
1277
1467
|
export {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1468
|
+
exports_user_gen as user,
|
|
1469
|
+
updateUserPreferences,
|
|
1470
|
+
updateSeriesMedia,
|
|
1471
|
+
updateSeries,
|
|
1472
|
+
updateSegment,
|
|
1473
|
+
updateMedia,
|
|
1474
|
+
updateEpisode,
|
|
1475
|
+
updateCollectionSegment,
|
|
1476
|
+
updateCollection,
|
|
1477
|
+
updateAdminReviewCheck,
|
|
1478
|
+
updateAdminReport,
|
|
1479
|
+
triggerReindex,
|
|
1286
1480
|
searchWords,
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
mediaUpdate,
|
|
1294
|
-
mediaShow,
|
|
1295
|
-
mediaIndex,
|
|
1296
|
-
mediaDestroy,
|
|
1297
|
-
mediaCreate,
|
|
1481
|
+
search,
|
|
1482
|
+
runAdminReview,
|
|
1483
|
+
retryAdminQueueFailed,
|
|
1484
|
+
removeSegmentFromCollection,
|
|
1485
|
+
removeMediaFromSeries,
|
|
1486
|
+
purgeAdminQueueFailed,
|
|
1298
1487
|
exports_media_gen as media,
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
getUserReports,
|
|
1488
|
+
listUserReports,
|
|
1489
|
+
listUserLabs,
|
|
1490
|
+
listUserActivity,
|
|
1491
|
+
listSeries,
|
|
1492
|
+
listSegments,
|
|
1493
|
+
listMedia,
|
|
1494
|
+
listEpisodes,
|
|
1495
|
+
listCollections,
|
|
1496
|
+
listAdminReviewRuns,
|
|
1497
|
+
listAdminReviewChecks,
|
|
1498
|
+
listAdminReviewAllowlist,
|
|
1499
|
+
listAdminReports,
|
|
1500
|
+
listAdminQueueStats,
|
|
1501
|
+
listAdminQueueFailed,
|
|
1314
1502
|
getUserQuota,
|
|
1503
|
+
getUserPreferences,
|
|
1504
|
+
getUserActivityStats,
|
|
1505
|
+
getUserActivityHeatmap,
|
|
1506
|
+
getSeries,
|
|
1507
|
+
getSeiyuu,
|
|
1315
1508
|
getSegmentContext,
|
|
1509
|
+
getSegmentByUuid,
|
|
1510
|
+
getSegment,
|
|
1316
1511
|
getSearchStats,
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1512
|
+
getMedia,
|
|
1513
|
+
getEpisode,
|
|
1514
|
+
getCollection,
|
|
1515
|
+
getCharacter,
|
|
1516
|
+
getAdminReviewRun,
|
|
1517
|
+
getAdminQueue,
|
|
1518
|
+
getAdminHealth,
|
|
1519
|
+
getAdminDashboard,
|
|
1520
|
+
exportUserData,
|
|
1521
|
+
deleteUserActivity,
|
|
1522
|
+
deleteSeries,
|
|
1523
|
+
deleteSegment,
|
|
1524
|
+
deleteMedia,
|
|
1525
|
+
deleteEpisode,
|
|
1526
|
+
deleteCollection,
|
|
1527
|
+
deleteAdminReviewAllowlistEntry,
|
|
1528
|
+
createUserReport,
|
|
1529
|
+
createSeries,
|
|
1530
|
+
createSegment,
|
|
1327
1531
|
createNadeshikoClient,
|
|
1532
|
+
createMedia,
|
|
1533
|
+
createEpisode,
|
|
1534
|
+
createCollection,
|
|
1328
1535
|
createClient2 as createClient,
|
|
1536
|
+
createAdminReviewAllowlistEntry,
|
|
1329
1537
|
client,
|
|
1330
|
-
|
|
1331
|
-
|
|
1538
|
+
exports_admin_gen as admin,
|
|
1539
|
+
addSegmentToCollection,
|
|
1540
|
+
addMediaToSeries
|
|
1332
1541
|
};
|
|
1333
1542
|
|
|
1334
|
-
//# debugId=
|
|
1543
|
+
//# debugId=263E667AD4EF730B64756E2164756E21
|
|
1335
1544
|
//# sourceMappingURL=index.js.map
|