@brigadasos/nadeshiko-sdk 1.4.3-dev.9520494 → 1.4.3-dev.d3424ba
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/dist/index.cjs +254 -151
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +241 -144
- package/dist/index.js.map +4 -4
- package/dist/internal/admin.gen.d.ts +1 -1
- package/dist/internal/admin.gen.d.ts.map +1 -1
- 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/nadeshiko.gen.d.ts +26 -20
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +199 -147
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1312 -1127
- 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
|
|
|
@@ -870,175 +874,188 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
|
870
874
|
url: "/v1/media/autocomplete",
|
|
871
875
|
...options
|
|
872
876
|
});
|
|
873
|
-
var
|
|
874
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
875
|
-
url: "/v1/media/{id}",
|
|
876
|
-
...options
|
|
877
|
-
});
|
|
878
|
-
var getMedia = (options) => (options.client ?? client).get({
|
|
877
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
879
878
|
security: [{ scheme: "bearer", type: "http" }],
|
|
880
|
-
url: "/v1/media/{
|
|
879
|
+
url: "/v1/media/segments/{uuid}",
|
|
881
880
|
...options
|
|
882
881
|
});
|
|
883
|
-
var
|
|
884
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
885
|
-
|
|
882
|
+
var updateSegmentByUuid = (options) => (options.client ?? client).patch({
|
|
883
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
884
|
+
in: "cookie",
|
|
885
|
+
name: "nadeshiko.session_token",
|
|
886
|
+
type: "apiKey"
|
|
887
|
+
}],
|
|
888
|
+
url: "/v1/media/segments/{uuid}",
|
|
886
889
|
...options,
|
|
887
890
|
headers: {
|
|
888
891
|
"Content-Type": "application/json",
|
|
889
892
|
...options.headers
|
|
890
893
|
}
|
|
891
894
|
});
|
|
892
|
-
var
|
|
895
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
893
896
|
security: [{ scheme: "bearer", type: "http" }],
|
|
894
|
-
url: "/v1/media/{
|
|
897
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
895
898
|
...options
|
|
896
899
|
});
|
|
897
|
-
var
|
|
900
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
901
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
902
|
+
in: "cookie",
|
|
903
|
+
name: "nadeshiko.session_token",
|
|
904
|
+
type: "apiKey"
|
|
905
|
+
}],
|
|
906
|
+
url: "/v1/media/series",
|
|
907
|
+
...options
|
|
908
|
+
});
|
|
909
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
898
910
|
security: [{ scheme: "bearer", type: "http" }],
|
|
899
|
-
url: "/v1/media/
|
|
911
|
+
url: "/v1/media/series",
|
|
900
912
|
...options,
|
|
901
913
|
headers: {
|
|
902
914
|
"Content-Type": "application/json",
|
|
903
915
|
...options.headers
|
|
904
916
|
}
|
|
905
917
|
});
|
|
906
|
-
var
|
|
918
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
907
919
|
security: [{ scheme: "bearer", type: "http" }],
|
|
908
|
-
url: "/v1/media/
|
|
920
|
+
url: "/v1/media/series/{id}",
|
|
909
921
|
...options
|
|
910
922
|
});
|
|
911
|
-
var
|
|
912
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
913
|
-
|
|
923
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
924
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
925
|
+
in: "cookie",
|
|
926
|
+
name: "nadeshiko.session_token",
|
|
927
|
+
type: "apiKey"
|
|
928
|
+
}],
|
|
929
|
+
url: "/v1/media/series/{id}",
|
|
914
930
|
...options
|
|
915
931
|
});
|
|
916
|
-
var
|
|
932
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
917
933
|
security: [{ scheme: "bearer", type: "http" }],
|
|
918
|
-
url: "/v1/media/
|
|
934
|
+
url: "/v1/media/series/{id}",
|
|
919
935
|
...options,
|
|
920
936
|
headers: {
|
|
921
937
|
"Content-Type": "application/json",
|
|
922
938
|
...options.headers
|
|
923
939
|
}
|
|
924
940
|
});
|
|
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({
|
|
941
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
931
942
|
security: [{ scheme: "bearer", type: "http" }],
|
|
932
|
-
url: "/v1/media/
|
|
943
|
+
url: "/v1/media/series/{id}/media",
|
|
933
944
|
...options,
|
|
934
945
|
headers: {
|
|
935
946
|
"Content-Type": "application/json",
|
|
936
947
|
...options.headers
|
|
937
948
|
}
|
|
938
949
|
});
|
|
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({
|
|
950
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
945
951
|
security: [{ scheme: "bearer", type: "http" }],
|
|
946
|
-
url: "/v1/media/
|
|
952
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
947
953
|
...options
|
|
948
954
|
});
|
|
949
|
-
var
|
|
955
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
950
956
|
security: [{ scheme: "bearer", type: "http" }],
|
|
951
|
-
url: "/v1/media/
|
|
957
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
952
958
|
...options,
|
|
953
959
|
headers: {
|
|
954
960
|
"Content-Type": "application/json",
|
|
955
961
|
...options.headers
|
|
956
962
|
}
|
|
957
963
|
});
|
|
958
|
-
var
|
|
964
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
959
965
|
security: [{ scheme: "bearer", type: "http" }],
|
|
960
|
-
url: "/v1/media/
|
|
966
|
+
url: "/v1/media/characters/{id}",
|
|
961
967
|
...options
|
|
962
968
|
});
|
|
963
|
-
var
|
|
969
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
964
970
|
security: [{ scheme: "bearer", type: "http" }],
|
|
965
|
-
url: "/v1/media/
|
|
971
|
+
url: "/v1/media/seiyuu/{id}",
|
|
966
972
|
...options
|
|
967
973
|
});
|
|
968
|
-
var
|
|
969
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
970
|
-
|
|
971
|
-
name: "nadeshiko.session_token",
|
|
972
|
-
type: "apiKey"
|
|
973
|
-
}],
|
|
974
|
-
url: "/v1/media/series",
|
|
974
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
975
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
976
|
+
url: "/v1/media/{id}",
|
|
975
977
|
...options
|
|
976
978
|
});
|
|
977
|
-
var
|
|
979
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
978
980
|
security: [{ scheme: "bearer", type: "http" }],
|
|
979
|
-
url: "/v1/media/
|
|
981
|
+
url: "/v1/media/{id}",
|
|
982
|
+
...options
|
|
983
|
+
});
|
|
984
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
985
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
986
|
+
url: "/v1/media/{id}",
|
|
980
987
|
...options,
|
|
981
988
|
headers: {
|
|
982
989
|
"Content-Type": "application/json",
|
|
983
990
|
...options.headers
|
|
984
991
|
}
|
|
985
992
|
});
|
|
986
|
-
var
|
|
993
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
987
994
|
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}",
|
|
995
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
998
996
|
...options
|
|
999
997
|
});
|
|
1000
|
-
var
|
|
998
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
1001
999
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
|
-
url: "/v1/media/
|
|
1000
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
1003
1001
|
...options,
|
|
1004
1002
|
headers: {
|
|
1005
1003
|
"Content-Type": "application/json",
|
|
1006
1004
|
...options.headers
|
|
1007
1005
|
}
|
|
1008
1006
|
});
|
|
1009
|
-
var
|
|
1007
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
1010
1008
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1011
|
-
url: "/v1/media/
|
|
1009
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1010
|
+
...options
|
|
1011
|
+
});
|
|
1012
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1013
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1014
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1015
|
+
...options
|
|
1016
|
+
});
|
|
1017
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1018
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1019
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1012
1020
|
...options,
|
|
1013
1021
|
headers: {
|
|
1014
1022
|
"Content-Type": "application/json",
|
|
1015
1023
|
...options.headers
|
|
1016
1024
|
}
|
|
1017
1025
|
});
|
|
1018
|
-
var
|
|
1026
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1019
1027
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1020
|
-
url: "/v1/media/
|
|
1028
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1021
1029
|
...options
|
|
1022
1030
|
});
|
|
1023
|
-
var
|
|
1031
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1024
1032
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1025
|
-
url: "/v1/media/
|
|
1033
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1026
1034
|
...options,
|
|
1027
1035
|
headers: {
|
|
1028
1036
|
"Content-Type": "application/json",
|
|
1029
1037
|
...options.headers
|
|
1030
1038
|
}
|
|
1031
1039
|
});
|
|
1032
|
-
var
|
|
1040
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1033
1041
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1034
|
-
url: "/v1/media/
|
|
1042
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1035
1043
|
...options
|
|
1036
1044
|
});
|
|
1037
|
-
var
|
|
1045
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1038
1046
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1039
|
-
url: "/v1/media/
|
|
1047
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1040
1048
|
...options
|
|
1041
1049
|
});
|
|
1050
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1051
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1052
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1053
|
+
...options,
|
|
1054
|
+
headers: {
|
|
1055
|
+
"Content-Type": "application/json",
|
|
1056
|
+
...options.headers
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1042
1059
|
var getUserQuota = (options) => (options?.client ?? client).get({
|
|
1043
1060
|
security: [{
|
|
1044
1061
|
in: "cookie",
|
|
@@ -1048,15 +1065,6 @@ var getUserQuota = (options) => (options?.client ?? client).get({
|
|
|
1048
1065
|
url: "/v1/user/quota",
|
|
1049
1066
|
...options
|
|
1050
1067
|
});
|
|
1051
|
-
var listUserReports = (options) => (options?.client ?? client).get({
|
|
1052
|
-
security: [{
|
|
1053
|
-
in: "cookie",
|
|
1054
|
-
name: "nadeshiko.session_token",
|
|
1055
|
-
type: "apiKey"
|
|
1056
|
-
}],
|
|
1057
|
-
url: "/v1/user/reports",
|
|
1058
|
-
...options
|
|
1059
|
-
});
|
|
1060
1068
|
var createUserReport = (options) => (options.client ?? client).post({
|
|
1061
1069
|
security: [{
|
|
1062
1070
|
in: "cookie",
|
|
@@ -1110,6 +1118,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
|
|
|
1110
1118
|
url: "/v1/user/activity",
|
|
1111
1119
|
...options
|
|
1112
1120
|
});
|
|
1121
|
+
var trackUserActivity = (options) => (options.client ?? client).post({
|
|
1122
|
+
security: [{
|
|
1123
|
+
in: "cookie",
|
|
1124
|
+
name: "nadeshiko.session_token",
|
|
1125
|
+
type: "apiKey"
|
|
1126
|
+
}],
|
|
1127
|
+
url: "/v1/user/activity",
|
|
1128
|
+
...options,
|
|
1129
|
+
headers: {
|
|
1130
|
+
"Content-Type": "application/json",
|
|
1131
|
+
...options.headers
|
|
1132
|
+
}
|
|
1133
|
+
});
|
|
1113
1134
|
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1114
1135
|
security: [{
|
|
1115
1136
|
in: "cookie",
|
|
@@ -1128,6 +1149,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
|
1128
1149
|
url: "/v1/user/activity/stats",
|
|
1129
1150
|
...options
|
|
1130
1151
|
});
|
|
1152
|
+
var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
|
|
1153
|
+
security: [{
|
|
1154
|
+
in: "cookie",
|
|
1155
|
+
name: "nadeshiko.session_token",
|
|
1156
|
+
type: "apiKey"
|
|
1157
|
+
}],
|
|
1158
|
+
url: "/v1/user/activity/date/{date}",
|
|
1159
|
+
...options
|
|
1160
|
+
});
|
|
1161
|
+
var deleteUserActivityById = (options) => (options.client ?? client).delete({
|
|
1162
|
+
security: [{
|
|
1163
|
+
in: "cookie",
|
|
1164
|
+
name: "nadeshiko.session_token",
|
|
1165
|
+
type: "apiKey"
|
|
1166
|
+
}],
|
|
1167
|
+
url: "/v1/user/activity/{id}",
|
|
1168
|
+
...options
|
|
1169
|
+
});
|
|
1131
1170
|
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1132
1171
|
security: [{
|
|
1133
1172
|
in: "cookie",
|
|
@@ -1146,6 +1185,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
|
|
|
1146
1185
|
url: "/v1/user/labs",
|
|
1147
1186
|
...options
|
|
1148
1187
|
});
|
|
1188
|
+
var unenrollUserLab = (options) => (options.client ?? client).delete({
|
|
1189
|
+
security: [{
|
|
1190
|
+
in: "cookie",
|
|
1191
|
+
name: "nadeshiko.session_token",
|
|
1192
|
+
type: "apiKey"
|
|
1193
|
+
}],
|
|
1194
|
+
url: "/v1/user/labs/{key}",
|
|
1195
|
+
...options
|
|
1196
|
+
});
|
|
1197
|
+
var enrollUserLab = (options) => (options.client ?? client).post({
|
|
1198
|
+
security: [{
|
|
1199
|
+
in: "cookie",
|
|
1200
|
+
name: "nadeshiko.session_token",
|
|
1201
|
+
type: "apiKey"
|
|
1202
|
+
}],
|
|
1203
|
+
url: "/v1/user/labs/{key}",
|
|
1204
|
+
...options
|
|
1205
|
+
});
|
|
1149
1206
|
var listCollections = (options) => (options?.client ?? client).get({
|
|
1150
1207
|
security: [{
|
|
1151
1208
|
in: "cookie",
|
|
@@ -1234,6 +1291,24 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
|
1234
1291
|
...options.headers
|
|
1235
1292
|
}
|
|
1236
1293
|
});
|
|
1294
|
+
var searchCollectionSegments = (options) => (options.client ?? client).get({
|
|
1295
|
+
security: [{
|
|
1296
|
+
in: "cookie",
|
|
1297
|
+
name: "nadeshiko.session_token",
|
|
1298
|
+
type: "apiKey"
|
|
1299
|
+
}],
|
|
1300
|
+
url: "/v1/collections/{id}/search",
|
|
1301
|
+
...options
|
|
1302
|
+
});
|
|
1303
|
+
var getCollectionStats = (options) => (options.client ?? client).get({
|
|
1304
|
+
security: [{
|
|
1305
|
+
in: "cookie",
|
|
1306
|
+
name: "nadeshiko.session_token",
|
|
1307
|
+
type: "apiKey"
|
|
1308
|
+
}],
|
|
1309
|
+
url: "/v1/collections/{id}/stats",
|
|
1310
|
+
...options
|
|
1311
|
+
});
|
|
1237
1312
|
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1238
1313
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1239
1314
|
url: "/v1/admin/dashboard",
|
|
@@ -1278,6 +1353,28 @@ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
|
1278
1353
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1279
1354
|
...options
|
|
1280
1355
|
});
|
|
1356
|
+
var clearAdminImpersonation = (options) => (options?.client ?? client).delete({
|
|
1357
|
+
security: [{
|
|
1358
|
+
in: "cookie",
|
|
1359
|
+
name: "nadeshiko.session_token",
|
|
1360
|
+
type: "apiKey"
|
|
1361
|
+
}],
|
|
1362
|
+
url: "/v1/admin/impersonation",
|
|
1363
|
+
...options
|
|
1364
|
+
});
|
|
1365
|
+
var impersonateAdminUser = (options) => (options.client ?? client).post({
|
|
1366
|
+
security: [{
|
|
1367
|
+
in: "cookie",
|
|
1368
|
+
name: "nadeshiko.session_token",
|
|
1369
|
+
type: "apiKey"
|
|
1370
|
+
}],
|
|
1371
|
+
url: "/v1/admin/impersonation",
|
|
1372
|
+
...options,
|
|
1373
|
+
headers: {
|
|
1374
|
+
"Content-Type": "application/json",
|
|
1375
|
+
...options.headers
|
|
1376
|
+
}
|
|
1377
|
+
});
|
|
1281
1378
|
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1282
1379
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1283
1380
|
url: "/v1/admin/reports",
|
|
@@ -1292,52 +1389,33 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
|
1292
1389
|
...options.headers
|
|
1293
1390
|
}
|
|
1294
1391
|
});
|
|
1295
|
-
var
|
|
1392
|
+
var listAdminMediaAudits = (options) => (options?.client ?? client).get({
|
|
1296
1393
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1297
|
-
url: "/v1/admin/
|
|
1394
|
+
url: "/v1/admin/media/audits",
|
|
1298
1395
|
...options
|
|
1299
1396
|
});
|
|
1300
|
-
var
|
|
1397
|
+
var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
|
|
1301
1398
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1302
|
-
url: "/v1/admin/
|
|
1303
|
-
...options
|
|
1304
|
-
});
|
|
1305
|
-
var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
|
|
1306
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1307
|
-
url: "/v1/admin/review/checks/{name}",
|
|
1399
|
+
url: "/v1/admin/media/audits/{name}",
|
|
1308
1400
|
...options,
|
|
1309
1401
|
headers: {
|
|
1310
1402
|
"Content-Type": "application/json",
|
|
1311
1403
|
...options.headers
|
|
1312
1404
|
}
|
|
1313
1405
|
});
|
|
1314
|
-
var
|
|
1406
|
+
var runAdminMediaAudit = (options) => (options.client ?? client).post({
|
|
1315
1407
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1316
|
-
url: "/v1/admin/
|
|
1408
|
+
url: "/v1/admin/media/audits/{name}/run",
|
|
1317
1409
|
...options
|
|
1318
1410
|
});
|
|
1319
|
-
var
|
|
1411
|
+
var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
|
|
1320
1412
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1321
|
-
url: "/v1/admin/
|
|
1413
|
+
url: "/v1/admin/media/audits/runs",
|
|
1322
1414
|
...options
|
|
1323
1415
|
});
|
|
1324
|
-
var
|
|
1416
|
+
var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
|
|
1325
1417
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1326
|
-
url: "/v1/admin/
|
|
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}",
|
|
1418
|
+
url: "/v1/admin/media/audits/runs/{id}",
|
|
1341
1419
|
...options
|
|
1342
1420
|
});
|
|
1343
1421
|
// generated/dev/nadeshiko.gen.ts
|
|
@@ -1370,16 +1448,16 @@ function createNadeshikoClient(config) {
|
|
|
1370
1448
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1371
1449
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1372
1450
|
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
1451
|
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1378
1452
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1379
1453
|
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1380
1454
|
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1381
1455
|
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1382
1456
|
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1457
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1458
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1459
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1460
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1383
1461
|
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1384
1462
|
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1385
1463
|
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
@@ -1389,6 +1467,8 @@ function createNadeshikoClient(config) {
|
|
|
1389
1467
|
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1390
1468
|
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1391
1469
|
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1470
|
+
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1471
|
+
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1392
1472
|
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1393
1473
|
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1394
1474
|
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
@@ -1397,16 +1477,20 @@ function createNadeshikoClient(config) {
|
|
|
1397
1477
|
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1398
1478
|
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1399
1479
|
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
|
|
1406
|
-
createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1407
|
-
deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1480
|
+
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1481
|
+
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1482
|
+
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1483
|
+
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1484
|
+
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance }),
|
|
1408
1485
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1409
1486
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1487
|
+
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
1488
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1489
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1490
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1491
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1492
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1493
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1410
1494
|
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1411
1495
|
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1412
1496
|
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
@@ -1416,24 +1500,24 @@ function createNadeshikoClient(config) {
|
|
|
1416
1500
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1417
1501
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1418
1502
|
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
1503
|
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1426
|
-
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1427
1504
|
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1428
1505
|
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1429
1506
|
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1507
|
+
trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
|
|
1430
1508
|
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1431
1509
|
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1432
1510
|
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1511
|
+
deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
|
|
1512
|
+
deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
|
|
1433
1513
|
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1434
1514
|
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1515
|
+
enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
|
|
1516
|
+
unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
|
|
1435
1517
|
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1436
|
-
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1518
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
|
|
1519
|
+
impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
|
|
1520
|
+
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance })
|
|
1437
1521
|
};
|
|
1438
1522
|
}
|
|
1439
1523
|
// generated/dev/internal/media.gen.ts
|
|
@@ -1441,6 +1525,7 @@ var exports_media_gen = {};
|
|
|
1441
1525
|
__export(exports_media_gen, {
|
|
1442
1526
|
updateSeriesMedia: () => updateSeriesMedia,
|
|
1443
1527
|
updateSeries: () => updateSeries,
|
|
1528
|
+
updateSegmentByUuid: () => updateSegmentByUuid,
|
|
1444
1529
|
updateSegment: () => updateSegment,
|
|
1445
1530
|
updateMedia: () => updateMedia,
|
|
1446
1531
|
updateEpisode: () => updateEpisode,
|
|
@@ -1461,44 +1546,53 @@ __export(exports_media_gen, {
|
|
|
1461
1546
|
var exports_user_gen = {};
|
|
1462
1547
|
__export(exports_user_gen, {
|
|
1463
1548
|
updateUserPreferences: () => updateUserPreferences,
|
|
1464
|
-
|
|
1549
|
+
unenrollUserLab: () => unenrollUserLab,
|
|
1550
|
+
trackUserActivity: () => trackUserActivity,
|
|
1465
1551
|
listUserLabs: () => listUserLabs,
|
|
1466
1552
|
listUserActivity: () => listUserActivity,
|
|
1467
1553
|
getUserPreferences: () => getUserPreferences,
|
|
1468
1554
|
getUserActivityStats: () => getUserActivityStats,
|
|
1469
1555
|
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1470
1556
|
exportUserData: () => exportUserData,
|
|
1557
|
+
enrollUserLab: () => enrollUserLab,
|
|
1558
|
+
deleteUserActivityById: () => deleteUserActivityById,
|
|
1559
|
+
deleteUserActivityByDate: () => deleteUserActivityByDate,
|
|
1471
1560
|
deleteUserActivity: () => deleteUserActivity,
|
|
1472
1561
|
createUserReport: () => createUserReport
|
|
1473
1562
|
});
|
|
1474
1563
|
// generated/dev/internal/admin.gen.ts
|
|
1475
1564
|
var exports_admin_gen = {};
|
|
1476
1565
|
__export(exports_admin_gen, {
|
|
1566
|
+
impersonateAdminUser: () => impersonateAdminUser,
|
|
1477
1567
|
getAdminHealth: () => getAdminHealth,
|
|
1478
|
-
getAdminDashboard: () => getAdminDashboard
|
|
1568
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
1569
|
+
clearAdminImpersonation: () => clearAdminImpersonation
|
|
1479
1570
|
});
|
|
1480
1571
|
export {
|
|
1481
1572
|
exports_user_gen as user,
|
|
1482
1573
|
updateUserPreferences,
|
|
1483
1574
|
updateSeriesMedia,
|
|
1484
1575
|
updateSeries,
|
|
1576
|
+
updateSegmentByUuid,
|
|
1485
1577
|
updateSegment,
|
|
1486
1578
|
updateMedia,
|
|
1487
1579
|
updateEpisode,
|
|
1488
1580
|
updateCollectionSegment,
|
|
1489
1581
|
updateCollection,
|
|
1490
|
-
updateAdminReviewCheck,
|
|
1491
1582
|
updateAdminReport,
|
|
1583
|
+
updateAdminMediaAudit,
|
|
1584
|
+
unenrollUserLab,
|
|
1492
1585
|
triggerReindex,
|
|
1586
|
+
trackUserActivity,
|
|
1493
1587
|
searchWords,
|
|
1588
|
+
searchCollectionSegments,
|
|
1494
1589
|
search,
|
|
1495
|
-
|
|
1590
|
+
runAdminMediaAudit,
|
|
1496
1591
|
retryAdminQueueFailed,
|
|
1497
1592
|
removeSegmentFromCollection,
|
|
1498
1593
|
removeMediaFromSeries,
|
|
1499
1594
|
purgeAdminQueueFailed,
|
|
1500
1595
|
exports_media_gen as media,
|
|
1501
|
-
listUserReports,
|
|
1502
1596
|
listUserLabs,
|
|
1503
1597
|
listUserActivity,
|
|
1504
1598
|
listSeries,
|
|
@@ -1506,12 +1600,12 @@ export {
|
|
|
1506
1600
|
listMedia,
|
|
1507
1601
|
listEpisodes,
|
|
1508
1602
|
listCollections,
|
|
1509
|
-
listAdminReviewRuns,
|
|
1510
|
-
listAdminReviewChecks,
|
|
1511
|
-
listAdminReviewAllowlist,
|
|
1512
1603
|
listAdminReports,
|
|
1513
1604
|
listAdminQueueStats,
|
|
1514
1605
|
listAdminQueueFailed,
|
|
1606
|
+
listAdminMediaAudits,
|
|
1607
|
+
listAdminMediaAuditRuns,
|
|
1608
|
+
impersonateAdminUser,
|
|
1515
1609
|
getUserQuota,
|
|
1516
1610
|
getUserPreferences,
|
|
1517
1611
|
getUserActivityStats,
|
|
@@ -1524,20 +1618,23 @@ export {
|
|
|
1524
1618
|
getSearchStats,
|
|
1525
1619
|
getMedia,
|
|
1526
1620
|
getEpisode,
|
|
1621
|
+
getCollectionStats,
|
|
1527
1622
|
getCollection,
|
|
1528
1623
|
getCharacter,
|
|
1529
|
-
getAdminReviewRun,
|
|
1530
1624
|
getAdminQueue,
|
|
1625
|
+
getAdminMediaAuditRun,
|
|
1531
1626
|
getAdminHealth,
|
|
1532
1627
|
getAdminDashboard,
|
|
1533
1628
|
exportUserData,
|
|
1629
|
+
enrollUserLab,
|
|
1630
|
+
deleteUserActivityById,
|
|
1631
|
+
deleteUserActivityByDate,
|
|
1534
1632
|
deleteUserActivity,
|
|
1535
1633
|
deleteSeries,
|
|
1536
1634
|
deleteSegment,
|
|
1537
1635
|
deleteMedia,
|
|
1538
1636
|
deleteEpisode,
|
|
1539
1637
|
deleteCollection,
|
|
1540
|
-
deleteAdminReviewAllowlistEntry,
|
|
1541
1638
|
createUserReport,
|
|
1542
1639
|
createSeries,
|
|
1543
1640
|
createSegment,
|
|
@@ -1545,13 +1642,13 @@ export {
|
|
|
1545
1642
|
createMedia,
|
|
1546
1643
|
createEpisode,
|
|
1547
1644
|
createCollection,
|
|
1548
|
-
createAdminReviewAllowlistEntry,
|
|
1549
1645
|
client,
|
|
1646
|
+
clearAdminImpersonation,
|
|
1550
1647
|
autocompleteMedia,
|
|
1551
1648
|
exports_admin_gen as admin,
|
|
1552
1649
|
addSegmentToCollection,
|
|
1553
1650
|
addMediaToSeries
|
|
1554
1651
|
};
|
|
1555
1652
|
|
|
1556
|
-
//# debugId=
|
|
1653
|
+
//# debugId=6E2270D68B68807564756E2164756E21
|
|
1557
1654
|
//# sourceMappingURL=index.js.map
|