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