@brigadasos/nadeshiko-sdk 1.4.3-dev.e5c01f0 → 1.5.0-dev.66d279f
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 +17 -14
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/index.cjs +387 -202
- 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 +374 -195
- package/dist/index.js.map +5 -5
- package/dist/internal/admin.gen.d.ts +1 -1
- package/dist/internal/admin.gen.d.ts.map +1 -1
- package/dist/internal/collections.gen.d.ts +2 -0
- package/dist/internal/collections.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 +1 -1
- package/dist/internal/user.gen.d.ts.map +1 -1
- package/dist/internal.gen.d.ts +1 -0
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +49 -40
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +223 -143
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1548 -1306
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __returnValue = (v) => v;
|
|
3
|
+
function __exportSetter(name, newValue) {
|
|
4
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
5
|
+
}
|
|
2
6
|
var __export = (target, all) => {
|
|
3
7
|
for (var name in all)
|
|
4
8
|
__defProp(target, name, {
|
|
5
9
|
get: all[name],
|
|
6
10
|
enumerable: true,
|
|
7
11
|
configurable: true,
|
|
8
|
-
set: (
|
|
12
|
+
set: __exportSetter.bind(all, name)
|
|
9
13
|
});
|
|
10
14
|
};
|
|
11
15
|
|
|
@@ -809,15 +813,11 @@ var createClient = (config = {}) => {
|
|
|
809
813
|
};
|
|
810
814
|
};
|
|
811
815
|
// generated/dev/client.gen.ts
|
|
812
|
-
var client = createClient(createConfig({ baseUrl: "
|
|
816
|
+
var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }));
|
|
813
817
|
|
|
814
818
|
// generated/dev/sdk.gen.ts
|
|
815
819
|
var search = (options) => (options?.client ?? client).post({
|
|
816
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
817
|
-
in: "cookie",
|
|
818
|
-
name: "nadeshiko.session_token",
|
|
819
|
-
type: "apiKey"
|
|
820
|
-
}],
|
|
820
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
821
821
|
url: "/v1/search",
|
|
822
822
|
...options,
|
|
823
823
|
headers: {
|
|
@@ -826,11 +826,7 @@ var search = (options) => (options?.client ?? client).post({
|
|
|
826
826
|
}
|
|
827
827
|
});
|
|
828
828
|
var getSearchStats = (options) => (options?.client ?? client).post({
|
|
829
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
830
|
-
in: "cookie",
|
|
831
|
-
name: "nadeshiko.session_token",
|
|
832
|
-
type: "apiKey"
|
|
833
|
-
}],
|
|
829
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
834
830
|
url: "/v1/search/stats",
|
|
835
831
|
...options,
|
|
836
832
|
headers: {
|
|
@@ -839,11 +835,7 @@ var getSearchStats = (options) => (options?.client ?? client).post({
|
|
|
839
835
|
}
|
|
840
836
|
});
|
|
841
837
|
var searchWords = (options) => (options.client ?? client).post({
|
|
842
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
843
|
-
in: "cookie",
|
|
844
|
-
name: "nadeshiko.session_token",
|
|
845
|
-
type: "apiKey"
|
|
846
|
-
}],
|
|
838
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
847
839
|
url: "/v1/search/words",
|
|
848
840
|
...options,
|
|
849
841
|
headers: {
|
|
@@ -870,191 +862,204 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
|
870
862
|
url: "/v1/media/autocomplete",
|
|
871
863
|
...options
|
|
872
864
|
});
|
|
873
|
-
var
|
|
874
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
url: "/v1/media/{id}",
|
|
865
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
866
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
867
|
+
in: "cookie",
|
|
868
|
+
name: "nadeshiko.session_token",
|
|
869
|
+
type: "apiKey"
|
|
870
|
+
}],
|
|
871
|
+
url: "/v1/media/segments/{uuid}",
|
|
881
872
|
...options
|
|
882
873
|
});
|
|
883
|
-
var
|
|
884
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
885
|
-
|
|
874
|
+
var updateSegmentByUuid = (options) => (options.client ?? client).patch({
|
|
875
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
876
|
+
in: "cookie",
|
|
877
|
+
name: "nadeshiko.session_token",
|
|
878
|
+
type: "apiKey"
|
|
879
|
+
}],
|
|
880
|
+
url: "/v1/media/segments/{uuid}",
|
|
886
881
|
...options,
|
|
887
882
|
headers: {
|
|
888
883
|
"Content-Type": "application/json",
|
|
889
884
|
...options.headers
|
|
890
885
|
}
|
|
891
886
|
});
|
|
892
|
-
var
|
|
887
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
888
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
889
|
+
in: "cookie",
|
|
890
|
+
name: "nadeshiko.session_token",
|
|
891
|
+
type: "apiKey"
|
|
892
|
+
}],
|
|
893
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
894
|
+
...options
|
|
895
|
+
});
|
|
896
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
893
897
|
security: [{ scheme: "bearer", type: "http" }],
|
|
894
|
-
url: "/v1/media/
|
|
898
|
+
url: "/v1/media/series",
|
|
895
899
|
...options
|
|
896
900
|
});
|
|
897
|
-
var
|
|
901
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
898
902
|
security: [{ scheme: "bearer", type: "http" }],
|
|
899
|
-
url: "/v1/media/
|
|
903
|
+
url: "/v1/media/series",
|
|
900
904
|
...options,
|
|
901
905
|
headers: {
|
|
902
906
|
"Content-Type": "application/json",
|
|
903
907
|
...options.headers
|
|
904
908
|
}
|
|
905
909
|
});
|
|
906
|
-
var
|
|
910
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
907
911
|
security: [{ scheme: "bearer", type: "http" }],
|
|
908
|
-
url: "/v1/media/
|
|
912
|
+
url: "/v1/media/series/{id}",
|
|
909
913
|
...options
|
|
910
914
|
});
|
|
911
|
-
var
|
|
915
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
912
916
|
security: [{ scheme: "bearer", type: "http" }],
|
|
913
|
-
url: "/v1/media/
|
|
917
|
+
url: "/v1/media/series/{id}",
|
|
914
918
|
...options
|
|
915
919
|
});
|
|
916
|
-
var
|
|
920
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
917
921
|
security: [{ scheme: "bearer", type: "http" }],
|
|
918
|
-
url: "/v1/media/
|
|
922
|
+
url: "/v1/media/series/{id}",
|
|
919
923
|
...options,
|
|
920
924
|
headers: {
|
|
921
925
|
"Content-Type": "application/json",
|
|
922
926
|
...options.headers
|
|
923
927
|
}
|
|
924
928
|
});
|
|
925
|
-
var
|
|
926
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
927
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
928
|
-
...options
|
|
929
|
-
});
|
|
930
|
-
var createSegment = (options) => (options.client ?? client).post({
|
|
929
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
931
930
|
security: [{ scheme: "bearer", type: "http" }],
|
|
932
|
-
url: "/v1/media/
|
|
931
|
+
url: "/v1/media/series/{id}/media",
|
|
933
932
|
...options,
|
|
934
933
|
headers: {
|
|
935
934
|
"Content-Type": "application/json",
|
|
936
935
|
...options.headers
|
|
937
936
|
}
|
|
938
937
|
});
|
|
939
|
-
var
|
|
940
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
941
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
942
|
-
...options
|
|
943
|
-
});
|
|
944
|
-
var getSegment = (options) => (options.client ?? client).get({
|
|
938
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
945
939
|
security: [{ scheme: "bearer", type: "http" }],
|
|
946
|
-
url: "/v1/media/
|
|
940
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
947
941
|
...options
|
|
948
942
|
});
|
|
949
|
-
var
|
|
943
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
950
944
|
security: [{ scheme: "bearer", type: "http" }],
|
|
951
|
-
url: "/v1/media/
|
|
945
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
952
946
|
...options,
|
|
953
947
|
headers: {
|
|
954
948
|
"Content-Type": "application/json",
|
|
955
949
|
...options.headers
|
|
956
950
|
}
|
|
957
951
|
});
|
|
958
|
-
var
|
|
952
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
959
953
|
security: [{ scheme: "bearer", type: "http" }],
|
|
960
|
-
url: "/v1/media/
|
|
954
|
+
url: "/v1/media/characters/{id}",
|
|
961
955
|
...options
|
|
962
956
|
});
|
|
963
|
-
var
|
|
957
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
964
958
|
security: [{ scheme: "bearer", type: "http" }],
|
|
965
|
-
url: "/v1/media/
|
|
959
|
+
url: "/v1/media/seiyuu/{id}",
|
|
966
960
|
...options
|
|
967
961
|
});
|
|
968
|
-
var
|
|
969
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
970
|
-
|
|
971
|
-
name: "nadeshiko.session_token",
|
|
972
|
-
type: "apiKey"
|
|
973
|
-
}],
|
|
974
|
-
url: "/v1/media/series",
|
|
962
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
963
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
964
|
+
url: "/v1/media/{id}",
|
|
975
965
|
...options
|
|
976
966
|
});
|
|
977
|
-
var
|
|
967
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
978
968
|
security: [{ scheme: "bearer", type: "http" }],
|
|
979
|
-
url: "/v1/media/
|
|
969
|
+
url: "/v1/media/{id}",
|
|
970
|
+
...options
|
|
971
|
+
});
|
|
972
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
973
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
974
|
+
url: "/v1/media/{id}",
|
|
980
975
|
...options,
|
|
981
976
|
headers: {
|
|
982
977
|
"Content-Type": "application/json",
|
|
983
978
|
...options.headers
|
|
984
979
|
}
|
|
985
980
|
});
|
|
986
|
-
var
|
|
981
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
987
982
|
security: [{ scheme: "bearer", type: "http" }],
|
|
988
|
-
url: "/v1/media/
|
|
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}",
|
|
983
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
998
984
|
...options
|
|
999
985
|
});
|
|
1000
|
-
var
|
|
986
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
1001
987
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
|
-
url: "/v1/media/
|
|
988
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
1003
989
|
...options,
|
|
1004
990
|
headers: {
|
|
1005
991
|
"Content-Type": "application/json",
|
|
1006
992
|
...options.headers
|
|
1007
993
|
}
|
|
1008
994
|
});
|
|
1009
|
-
var
|
|
995
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
1010
996
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1011
|
-
url: "/v1/media/
|
|
997
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
998
|
+
...options
|
|
999
|
+
});
|
|
1000
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1001
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1003
|
+
...options
|
|
1004
|
+
});
|
|
1005
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1006
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1007
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1012
1008
|
...options,
|
|
1013
1009
|
headers: {
|
|
1014
1010
|
"Content-Type": "application/json",
|
|
1015
1011
|
...options.headers
|
|
1016
1012
|
}
|
|
1017
1013
|
});
|
|
1018
|
-
var
|
|
1014
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1019
1015
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1020
|
-
url: "/v1/media/
|
|
1016
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1021
1017
|
...options
|
|
1022
1018
|
});
|
|
1023
|
-
var
|
|
1019
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1024
1020
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1025
|
-
url: "/v1/media/
|
|
1021
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1026
1022
|
...options,
|
|
1027
1023
|
headers: {
|
|
1028
1024
|
"Content-Type": "application/json",
|
|
1029
1025
|
...options.headers
|
|
1030
1026
|
}
|
|
1031
1027
|
});
|
|
1032
|
-
var
|
|
1028
|
+
var createSegmentsBatch = (options) => (options.client ?? client).post({
|
|
1033
1029
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1034
|
-
url: "/v1/media/
|
|
1035
|
-
...options
|
|
1030
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/batch",
|
|
1031
|
+
...options,
|
|
1032
|
+
headers: {
|
|
1033
|
+
"Content-Type": "application/json",
|
|
1034
|
+
...options.headers
|
|
1035
|
+
}
|
|
1036
1036
|
});
|
|
1037
|
-
var
|
|
1037
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1038
1038
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1039
|
-
url: "/v1/media/
|
|
1039
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1040
1040
|
...options
|
|
1041
1041
|
});
|
|
1042
|
-
var
|
|
1043
|
-
security: [{
|
|
1044
|
-
|
|
1045
|
-
name: "nadeshiko.session_token",
|
|
1046
|
-
type: "apiKey"
|
|
1047
|
-
}, { scheme: "bearer", type: "http" }],
|
|
1048
|
-
url: "/v1/user/quota",
|
|
1042
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1043
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1044
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1049
1045
|
...options
|
|
1050
1046
|
});
|
|
1051
|
-
var
|
|
1047
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1048
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1049
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1050
|
+
...options,
|
|
1051
|
+
headers: {
|
|
1052
|
+
"Content-Type": "application/json",
|
|
1053
|
+
...options.headers
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1056
|
+
var getUserQuota = (options) => (options?.client ?? client).get({
|
|
1052
1057
|
security: [{
|
|
1053
1058
|
in: "cookie",
|
|
1054
1059
|
name: "nadeshiko.session_token",
|
|
1055
1060
|
type: "apiKey"
|
|
1056
1061
|
}],
|
|
1057
|
-
url: "/v1/user/
|
|
1062
|
+
url: "/v1/user/quota",
|
|
1058
1063
|
...options
|
|
1059
1064
|
});
|
|
1060
1065
|
var createUserReport = (options) => (options.client ?? client).post({
|
|
@@ -1110,6 +1115,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
|
|
|
1110
1115
|
url: "/v1/user/activity",
|
|
1111
1116
|
...options
|
|
1112
1117
|
});
|
|
1118
|
+
var trackUserActivity = (options) => (options.client ?? client).post({
|
|
1119
|
+
security: [{
|
|
1120
|
+
in: "cookie",
|
|
1121
|
+
name: "nadeshiko.session_token",
|
|
1122
|
+
type: "apiKey"
|
|
1123
|
+
}],
|
|
1124
|
+
url: "/v1/user/activity",
|
|
1125
|
+
...options,
|
|
1126
|
+
headers: {
|
|
1127
|
+
"Content-Type": "application/json",
|
|
1128
|
+
...options.headers
|
|
1129
|
+
}
|
|
1130
|
+
});
|
|
1113
1131
|
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1114
1132
|
security: [{
|
|
1115
1133
|
in: "cookie",
|
|
@@ -1128,6 +1146,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
|
1128
1146
|
url: "/v1/user/activity/stats",
|
|
1129
1147
|
...options
|
|
1130
1148
|
});
|
|
1149
|
+
var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
|
|
1150
|
+
security: [{
|
|
1151
|
+
in: "cookie",
|
|
1152
|
+
name: "nadeshiko.session_token",
|
|
1153
|
+
type: "apiKey"
|
|
1154
|
+
}],
|
|
1155
|
+
url: "/v1/user/activity/date/{date}",
|
|
1156
|
+
...options
|
|
1157
|
+
});
|
|
1158
|
+
var deleteUserActivityById = (options) => (options.client ?? client).delete({
|
|
1159
|
+
security: [{
|
|
1160
|
+
in: "cookie",
|
|
1161
|
+
name: "nadeshiko.session_token",
|
|
1162
|
+
type: "apiKey"
|
|
1163
|
+
}],
|
|
1164
|
+
url: "/v1/user/activity/{id}",
|
|
1165
|
+
...options
|
|
1166
|
+
});
|
|
1131
1167
|
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1132
1168
|
security: [{
|
|
1133
1169
|
in: "cookie",
|
|
@@ -1146,6 +1182,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
|
|
|
1146
1182
|
url: "/v1/user/labs",
|
|
1147
1183
|
...options
|
|
1148
1184
|
});
|
|
1185
|
+
var unenrollUserLab = (options) => (options.client ?? client).delete({
|
|
1186
|
+
security: [{
|
|
1187
|
+
in: "cookie",
|
|
1188
|
+
name: "nadeshiko.session_token",
|
|
1189
|
+
type: "apiKey"
|
|
1190
|
+
}],
|
|
1191
|
+
url: "/v1/user/labs/{key}",
|
|
1192
|
+
...options
|
|
1193
|
+
});
|
|
1194
|
+
var enrollUserLab = (options) => (options.client ?? client).post({
|
|
1195
|
+
security: [{
|
|
1196
|
+
in: "cookie",
|
|
1197
|
+
name: "nadeshiko.session_token",
|
|
1198
|
+
type: "apiKey"
|
|
1199
|
+
}],
|
|
1200
|
+
url: "/v1/user/labs/{key}",
|
|
1201
|
+
...options
|
|
1202
|
+
});
|
|
1149
1203
|
var listCollections = (options) => (options?.client ?? client).get({
|
|
1150
1204
|
security: [{
|
|
1151
1205
|
in: "cookie",
|
|
@@ -1234,18 +1288,48 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
|
1234
1288
|
...options.headers
|
|
1235
1289
|
}
|
|
1236
1290
|
});
|
|
1291
|
+
var searchCollectionSegments = (options) => (options.client ?? client).get({
|
|
1292
|
+
security: [{
|
|
1293
|
+
in: "cookie",
|
|
1294
|
+
name: "nadeshiko.session_token",
|
|
1295
|
+
type: "apiKey"
|
|
1296
|
+
}],
|
|
1297
|
+
url: "/v1/collections/{id}/search",
|
|
1298
|
+
...options
|
|
1299
|
+
});
|
|
1300
|
+
var getCollectionStats = (options) => (options.client ?? client).get({
|
|
1301
|
+
security: [{
|
|
1302
|
+
in: "cookie",
|
|
1303
|
+
name: "nadeshiko.session_token",
|
|
1304
|
+
type: "apiKey"
|
|
1305
|
+
}],
|
|
1306
|
+
url: "/v1/collections/{id}/stats",
|
|
1307
|
+
...options
|
|
1308
|
+
});
|
|
1237
1309
|
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1238
|
-
security: [{
|
|
1310
|
+
security: [{
|
|
1311
|
+
in: "cookie",
|
|
1312
|
+
name: "nadeshiko.session_token",
|
|
1313
|
+
type: "apiKey"
|
|
1314
|
+
}],
|
|
1239
1315
|
url: "/v1/admin/dashboard",
|
|
1240
1316
|
...options
|
|
1241
1317
|
});
|
|
1242
1318
|
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1243
|
-
security: [{
|
|
1319
|
+
security: [{
|
|
1320
|
+
in: "cookie",
|
|
1321
|
+
name: "nadeshiko.session_token",
|
|
1322
|
+
type: "apiKey"
|
|
1323
|
+
}],
|
|
1244
1324
|
url: "/v1/admin/health",
|
|
1245
1325
|
...options
|
|
1246
1326
|
});
|
|
1247
1327
|
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1248
|
-
security: [{
|
|
1328
|
+
security: [{
|
|
1329
|
+
in: "cookie",
|
|
1330
|
+
name: "nadeshiko.session_token",
|
|
1331
|
+
type: "apiKey"
|
|
1332
|
+
}],
|
|
1249
1333
|
url: "/v1/admin/reindex",
|
|
1250
1334
|
...options,
|
|
1251
1335
|
headers: {
|
|
@@ -1254,37 +1338,74 @@ var triggerReindex = (options) => (options?.client ?? client).post({
|
|
|
1254
1338
|
}
|
|
1255
1339
|
});
|
|
1256
1340
|
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1257
|
-
security: [{
|
|
1341
|
+
security: [{
|
|
1342
|
+
in: "cookie",
|
|
1343
|
+
name: "nadeshiko.session_token",
|
|
1344
|
+
type: "apiKey"
|
|
1345
|
+
}],
|
|
1258
1346
|
url: "/v1/admin/queues/stats",
|
|
1259
1347
|
...options
|
|
1260
1348
|
});
|
|
1261
1349
|
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1262
|
-
security: [{
|
|
1350
|
+
security: [{
|
|
1351
|
+
in: "cookie",
|
|
1352
|
+
name: "nadeshiko.session_token",
|
|
1353
|
+
type: "apiKey"
|
|
1354
|
+
}],
|
|
1263
1355
|
url: "/v1/admin/queues/{queueName}",
|
|
1264
1356
|
...options
|
|
1265
1357
|
});
|
|
1266
1358
|
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1267
|
-
security: [{
|
|
1359
|
+
security: [{
|
|
1360
|
+
in: "cookie",
|
|
1361
|
+
name: "nadeshiko.session_token",
|
|
1362
|
+
type: "apiKey"
|
|
1363
|
+
}],
|
|
1268
1364
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1269
1365
|
...options
|
|
1270
1366
|
});
|
|
1271
1367
|
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1272
|
-
security: [{
|
|
1368
|
+
security: [{
|
|
1369
|
+
in: "cookie",
|
|
1370
|
+
name: "nadeshiko.session_token",
|
|
1371
|
+
type: "apiKey"
|
|
1372
|
+
}],
|
|
1273
1373
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1274
1374
|
...options
|
|
1275
1375
|
});
|
|
1276
1376
|
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1277
|
-
security: [{
|
|
1377
|
+
security: [{
|
|
1378
|
+
in: "cookie",
|
|
1379
|
+
name: "nadeshiko.session_token",
|
|
1380
|
+
type: "apiKey"
|
|
1381
|
+
}],
|
|
1278
1382
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1279
1383
|
...options
|
|
1280
1384
|
});
|
|
1385
|
+
var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
|
|
1386
|
+
var impersonateAdminUser = (options) => (options.client ?? client).post({
|
|
1387
|
+
url: "/v1/admin/impersonation",
|
|
1388
|
+
...options,
|
|
1389
|
+
headers: {
|
|
1390
|
+
"Content-Type": "application/json",
|
|
1391
|
+
...options.headers
|
|
1392
|
+
}
|
|
1393
|
+
});
|
|
1281
1394
|
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1282
|
-
security: [{
|
|
1395
|
+
security: [{
|
|
1396
|
+
in: "cookie",
|
|
1397
|
+
name: "nadeshiko.session_token",
|
|
1398
|
+
type: "apiKey"
|
|
1399
|
+
}],
|
|
1283
1400
|
url: "/v1/admin/reports",
|
|
1284
1401
|
...options
|
|
1285
1402
|
});
|
|
1286
1403
|
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1287
|
-
security: [{
|
|
1404
|
+
security: [{
|
|
1405
|
+
in: "cookie",
|
|
1406
|
+
name: "nadeshiko.session_token",
|
|
1407
|
+
type: "apiKey"
|
|
1408
|
+
}],
|
|
1288
1409
|
url: "/v1/admin/reports/{id}",
|
|
1289
1410
|
...options,
|
|
1290
1411
|
headers: {
|
|
@@ -1292,52 +1413,53 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
|
1292
1413
|
...options.headers
|
|
1293
1414
|
}
|
|
1294
1415
|
});
|
|
1295
|
-
var
|
|
1296
|
-
security: [{
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
url: "/v1/admin/review/checks",
|
|
1416
|
+
var listAdminMediaAudits = (options) => (options?.client ?? client).get({
|
|
1417
|
+
security: [{
|
|
1418
|
+
in: "cookie",
|
|
1419
|
+
name: "nadeshiko.session_token",
|
|
1420
|
+
type: "apiKey"
|
|
1421
|
+
}],
|
|
1422
|
+
url: "/v1/admin/media/audits",
|
|
1303
1423
|
...options
|
|
1304
1424
|
});
|
|
1305
|
-
var
|
|
1306
|
-
security: [{
|
|
1307
|
-
|
|
1425
|
+
var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
|
|
1426
|
+
security: [{
|
|
1427
|
+
in: "cookie",
|
|
1428
|
+
name: "nadeshiko.session_token",
|
|
1429
|
+
type: "apiKey"
|
|
1430
|
+
}],
|
|
1431
|
+
url: "/v1/admin/media/audits/{name}",
|
|
1308
1432
|
...options,
|
|
1309
1433
|
headers: {
|
|
1310
1434
|
"Content-Type": "application/json",
|
|
1311
1435
|
...options.headers
|
|
1312
1436
|
}
|
|
1313
1437
|
});
|
|
1314
|
-
var
|
|
1315
|
-
security: [{
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
url: "/v1/admin/review/runs/{id}",
|
|
1438
|
+
var runAdminMediaAudit = (options) => (options.client ?? client).post({
|
|
1439
|
+
security: [{
|
|
1440
|
+
in: "cookie",
|
|
1441
|
+
name: "nadeshiko.session_token",
|
|
1442
|
+
type: "apiKey"
|
|
1443
|
+
}],
|
|
1444
|
+
url: "/v1/admin/media/audits/{name}/run",
|
|
1322
1445
|
...options
|
|
1323
1446
|
});
|
|
1324
|
-
var
|
|
1325
|
-
security: [{
|
|
1326
|
-
|
|
1447
|
+
var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
|
|
1448
|
+
security: [{
|
|
1449
|
+
in: "cookie",
|
|
1450
|
+
name: "nadeshiko.session_token",
|
|
1451
|
+
type: "apiKey"
|
|
1452
|
+
}],
|
|
1453
|
+
url: "/v1/admin/media/audits/runs",
|
|
1327
1454
|
...options
|
|
1328
1455
|
});
|
|
1329
|
-
var
|
|
1330
|
-
security: [{
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
}
|
|
1337
|
-
});
|
|
1338
|
-
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1339
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1340
|
-
url: "/v1/admin/review/allowlist/{id}",
|
|
1456
|
+
var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
|
|
1457
|
+
security: [{
|
|
1458
|
+
in: "cookie",
|
|
1459
|
+
name: "nadeshiko.session_token",
|
|
1460
|
+
type: "apiKey"
|
|
1461
|
+
}],
|
|
1462
|
+
url: "/v1/admin/media/audits/runs/{id}",
|
|
1341
1463
|
...options
|
|
1342
1464
|
});
|
|
1343
1465
|
// generated/dev/nadeshiko.gen.ts
|
|
@@ -1353,7 +1475,13 @@ var defaultSessionTokenGetter = () => {
|
|
|
1353
1475
|
return match ? decodeURIComponent(match[1]) : undefined;
|
|
1354
1476
|
};
|
|
1355
1477
|
function createNadeshikoClient(config) {
|
|
1356
|
-
const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl
|
|
1478
|
+
const baseUrl = config.baseUrl === undefined ? environments.PRODUCTION : (config.baseUrl in environments) ? environments[config.baseUrl] : config.baseUrl;
|
|
1479
|
+
const getApiKey = async () => {
|
|
1480
|
+
if (typeof config.apiKey === "function") {
|
|
1481
|
+
return await config.apiKey();
|
|
1482
|
+
}
|
|
1483
|
+
return config.apiKey;
|
|
1484
|
+
};
|
|
1357
1485
|
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1358
1486
|
const clientInstance = createClient(createConfig({
|
|
1359
1487
|
baseUrl,
|
|
@@ -1361,7 +1489,7 @@ function createNadeshikoClient(config) {
|
|
|
1361
1489
|
if (auth.in === "cookie") {
|
|
1362
1490
|
return getSessionToken();
|
|
1363
1491
|
}
|
|
1364
|
-
return
|
|
1492
|
+
return getApiKey();
|
|
1365
1493
|
}
|
|
1366
1494
|
}));
|
|
1367
1495
|
return {
|
|
@@ -1370,43 +1498,25 @@ function createNadeshikoClient(config) {
|
|
|
1370
1498
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1371
1499
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1372
1500
|
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
1501
|
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1378
1502
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1379
1503
|
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1380
1504
|
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1381
1505
|
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1382
1506
|
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
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 }),
|
|
1507
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1508
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1509
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1510
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1408
1511
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1409
1512
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1513
|
+
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
1514
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1515
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1516
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1517
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1518
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1519
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1410
1520
|
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1411
1521
|
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1412
1522
|
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
@@ -1414,26 +1524,51 @@ function createNadeshikoClient(config) {
|
|
|
1414
1524
|
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1415
1525
|
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1416
1526
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1527
|
+
createSegmentsBatch: (options) => createSegmentsBatch({ ...options, client: clientInstance }),
|
|
1417
1528
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1418
1529
|
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1419
|
-
|
|
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 }),
|
|
1530
|
+
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1425
1531
|
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1426
|
-
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1427
1532
|
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1428
1533
|
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1429
1534
|
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1535
|
+
trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
|
|
1430
1536
|
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1431
1537
|
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1432
1538
|
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1539
|
+
deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
|
|
1540
|
+
deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
|
|
1433
1541
|
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1434
1542
|
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1543
|
+
enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
|
|
1544
|
+
unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
|
|
1545
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1546
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1547
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1548
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1549
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1550
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1551
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1552
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1553
|
+
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1554
|
+
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1435
1555
|
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1436
|
-
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1556
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
|
|
1557
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1558
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1559
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1560
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1561
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1562
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1563
|
+
impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
|
|
1564
|
+
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
|
|
1565
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1566
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1567
|
+
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1568
|
+
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1569
|
+
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1570
|
+
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1571
|
+
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance })
|
|
1437
1572
|
};
|
|
1438
1573
|
}
|
|
1439
1574
|
// generated/dev/internal/media.gen.ts
|
|
@@ -1441,6 +1576,7 @@ var exports_media_gen = {};
|
|
|
1441
1576
|
__export(exports_media_gen, {
|
|
1442
1577
|
updateSeriesMedia: () => updateSeriesMedia,
|
|
1443
1578
|
updateSeries: () => updateSeries,
|
|
1579
|
+
updateSegmentByUuid: () => updateSegmentByUuid,
|
|
1444
1580
|
updateSegment: () => updateSegment,
|
|
1445
1581
|
updateMedia: () => updateMedia,
|
|
1446
1582
|
updateEpisode: () => updateEpisode,
|
|
@@ -1451,6 +1587,7 @@ __export(exports_media_gen, {
|
|
|
1451
1587
|
deleteMedia: () => deleteMedia,
|
|
1452
1588
|
deleteEpisode: () => deleteEpisode,
|
|
1453
1589
|
createSeries: () => createSeries,
|
|
1590
|
+
createSegmentsBatch: () => createSegmentsBatch,
|
|
1454
1591
|
createSegment: () => createSegment,
|
|
1455
1592
|
createMedia: () => createMedia,
|
|
1456
1593
|
createEpisode: () => createEpisode,
|
|
@@ -1461,44 +1598,81 @@ __export(exports_media_gen, {
|
|
|
1461
1598
|
var exports_user_gen = {};
|
|
1462
1599
|
__export(exports_user_gen, {
|
|
1463
1600
|
updateUserPreferences: () => updateUserPreferences,
|
|
1464
|
-
|
|
1601
|
+
unenrollUserLab: () => unenrollUserLab,
|
|
1602
|
+
trackUserActivity: () => trackUserActivity,
|
|
1465
1603
|
listUserLabs: () => listUserLabs,
|
|
1466
1604
|
listUserActivity: () => listUserActivity,
|
|
1605
|
+
getUserQuota: () => getUserQuota,
|
|
1467
1606
|
getUserPreferences: () => getUserPreferences,
|
|
1468
1607
|
getUserActivityStats: () => getUserActivityStats,
|
|
1469
1608
|
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1470
1609
|
exportUserData: () => exportUserData,
|
|
1610
|
+
enrollUserLab: () => enrollUserLab,
|
|
1611
|
+
deleteUserActivityById: () => deleteUserActivityById,
|
|
1612
|
+
deleteUserActivityByDate: () => deleteUserActivityByDate,
|
|
1471
1613
|
deleteUserActivity: () => deleteUserActivity,
|
|
1472
1614
|
createUserReport: () => createUserReport
|
|
1473
1615
|
});
|
|
1616
|
+
// generated/dev/internal/collections.gen.ts
|
|
1617
|
+
var exports_collections_gen = {};
|
|
1618
|
+
__export(exports_collections_gen, {
|
|
1619
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
1620
|
+
updateCollection: () => updateCollection,
|
|
1621
|
+
searchCollectionSegments: () => searchCollectionSegments,
|
|
1622
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
1623
|
+
listCollections: () => listCollections,
|
|
1624
|
+
getCollectionStats: () => getCollectionStats,
|
|
1625
|
+
getCollection: () => getCollection,
|
|
1626
|
+
deleteCollection: () => deleteCollection,
|
|
1627
|
+
createCollection: () => createCollection,
|
|
1628
|
+
addSegmentToCollection: () => addSegmentToCollection
|
|
1629
|
+
});
|
|
1474
1630
|
// generated/dev/internal/admin.gen.ts
|
|
1475
1631
|
var exports_admin_gen = {};
|
|
1476
1632
|
__export(exports_admin_gen, {
|
|
1633
|
+
updateAdminReport: () => updateAdminReport,
|
|
1634
|
+
updateAdminMediaAudit: () => updateAdminMediaAudit,
|
|
1635
|
+
triggerReindex: () => triggerReindex,
|
|
1636
|
+
runAdminMediaAudit: () => runAdminMediaAudit,
|
|
1637
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
1638
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
1639
|
+
listAdminReports: () => listAdminReports,
|
|
1640
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
1641
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
1642
|
+
listAdminMediaAudits: () => listAdminMediaAudits,
|
|
1643
|
+
listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
|
|
1644
|
+
impersonateAdminUser: () => impersonateAdminUser,
|
|
1645
|
+
getAdminQueue: () => getAdminQueue,
|
|
1646
|
+
getAdminMediaAuditRun: () => getAdminMediaAuditRun,
|
|
1477
1647
|
getAdminHealth: () => getAdminHealth,
|
|
1478
|
-
getAdminDashboard: () => getAdminDashboard
|
|
1648
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
1649
|
+
clearAdminImpersonation: () => clearAdminImpersonation
|
|
1479
1650
|
});
|
|
1480
1651
|
export {
|
|
1481
1652
|
exports_user_gen as user,
|
|
1482
1653
|
updateUserPreferences,
|
|
1483
1654
|
updateSeriesMedia,
|
|
1484
1655
|
updateSeries,
|
|
1656
|
+
updateSegmentByUuid,
|
|
1485
1657
|
updateSegment,
|
|
1486
1658
|
updateMedia,
|
|
1487
1659
|
updateEpisode,
|
|
1488
1660
|
updateCollectionSegment,
|
|
1489
1661
|
updateCollection,
|
|
1490
|
-
updateAdminReviewCheck,
|
|
1491
1662
|
updateAdminReport,
|
|
1663
|
+
updateAdminMediaAudit,
|
|
1664
|
+
unenrollUserLab,
|
|
1492
1665
|
triggerReindex,
|
|
1666
|
+
trackUserActivity,
|
|
1493
1667
|
searchWords,
|
|
1668
|
+
searchCollectionSegments,
|
|
1494
1669
|
search,
|
|
1495
|
-
|
|
1670
|
+
runAdminMediaAudit,
|
|
1496
1671
|
retryAdminQueueFailed,
|
|
1497
1672
|
removeSegmentFromCollection,
|
|
1498
1673
|
removeMediaFromSeries,
|
|
1499
1674
|
purgeAdminQueueFailed,
|
|
1500
1675
|
exports_media_gen as media,
|
|
1501
|
-
listUserReports,
|
|
1502
1676
|
listUserLabs,
|
|
1503
1677
|
listUserActivity,
|
|
1504
1678
|
listSeries,
|
|
@@ -1506,12 +1680,12 @@ export {
|
|
|
1506
1680
|
listMedia,
|
|
1507
1681
|
listEpisodes,
|
|
1508
1682
|
listCollections,
|
|
1509
|
-
listAdminReviewRuns,
|
|
1510
|
-
listAdminReviewChecks,
|
|
1511
|
-
listAdminReviewAllowlist,
|
|
1512
1683
|
listAdminReports,
|
|
1513
1684
|
listAdminQueueStats,
|
|
1514
1685
|
listAdminQueueFailed,
|
|
1686
|
+
listAdminMediaAudits,
|
|
1687
|
+
listAdminMediaAuditRuns,
|
|
1688
|
+
impersonateAdminUser,
|
|
1515
1689
|
getUserQuota,
|
|
1516
1690
|
getUserPreferences,
|
|
1517
1691
|
getUserActivityStats,
|
|
@@ -1524,34 +1698,39 @@ export {
|
|
|
1524
1698
|
getSearchStats,
|
|
1525
1699
|
getMedia,
|
|
1526
1700
|
getEpisode,
|
|
1701
|
+
getCollectionStats,
|
|
1527
1702
|
getCollection,
|
|
1528
1703
|
getCharacter,
|
|
1529
|
-
getAdminReviewRun,
|
|
1530
1704
|
getAdminQueue,
|
|
1705
|
+
getAdminMediaAuditRun,
|
|
1531
1706
|
getAdminHealth,
|
|
1532
1707
|
getAdminDashboard,
|
|
1533
1708
|
exportUserData,
|
|
1709
|
+
enrollUserLab,
|
|
1710
|
+
deleteUserActivityById,
|
|
1711
|
+
deleteUserActivityByDate,
|
|
1534
1712
|
deleteUserActivity,
|
|
1535
1713
|
deleteSeries,
|
|
1536
1714
|
deleteSegment,
|
|
1537
1715
|
deleteMedia,
|
|
1538
1716
|
deleteEpisode,
|
|
1539
1717
|
deleteCollection,
|
|
1540
|
-
deleteAdminReviewAllowlistEntry,
|
|
1541
1718
|
createUserReport,
|
|
1542
1719
|
createSeries,
|
|
1720
|
+
createSegmentsBatch,
|
|
1543
1721
|
createSegment,
|
|
1544
1722
|
createNadeshikoClient,
|
|
1545
1723
|
createMedia,
|
|
1546
1724
|
createEpisode,
|
|
1547
1725
|
createCollection,
|
|
1548
|
-
|
|
1726
|
+
exports_collections_gen as collections,
|
|
1549
1727
|
client,
|
|
1728
|
+
clearAdminImpersonation,
|
|
1550
1729
|
autocompleteMedia,
|
|
1551
1730
|
exports_admin_gen as admin,
|
|
1552
1731
|
addSegmentToCollection,
|
|
1553
1732
|
addMediaToSeries
|
|
1554
1733
|
};
|
|
1555
1734
|
|
|
1556
|
-
//# debugId=
|
|
1735
|
+
//# debugId=26A79B747987A43564756E2164756E21
|
|
1557
1736
|
//# sourceMappingURL=index.js.map
|