@brigadasos/nadeshiko-sdk 1.4.3-dev.e5c01f0 → 1.5.0-dev.411cb7c

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.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: (newValue) => all[name] = () => newValue
12
+ set: __exportSetter.bind(all, name)
9
13
  });
10
14
  };
11
15
 
@@ -809,7 +813,7 @@ var createClient = (config = {}) => {
809
813
  };
810
814
  };
811
815
  // generated/dev/client.gen.ts
812
- var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
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({
@@ -852,12 +856,20 @@ var searchWords = (options) => (options.client ?? client).post({
852
856
  }
853
857
  });
854
858
  var listMedia = (options) => (options?.client ?? client).get({
855
- security: [{ scheme: "bearer", type: "http" }],
859
+ security: [{ scheme: "bearer", type: "http" }, {
860
+ in: "cookie",
861
+ name: "nadeshiko.session_token",
862
+ type: "apiKey"
863
+ }],
856
864
  url: "/v1/media",
857
865
  ...options
858
866
  });
859
867
  var createMedia = (options) => (options.client ?? client).post({
860
- security: [{ scheme: "bearer", type: "http" }],
868
+ security: [{ scheme: "bearer", type: "http" }, {
869
+ in: "cookie",
870
+ name: "nadeshiko.session_token",
871
+ type: "apiKey"
872
+ }],
861
873
  url: "/v1/media",
862
874
  ...options,
863
875
  headers: {
@@ -866,195 +878,317 @@ var createMedia = (options) => (options.client ?? client).post({
866
878
  }
867
879
  });
868
880
  var autocompleteMedia = (options) => (options.client ?? client).get({
869
- security: [{ scheme: "bearer", type: "http" }],
881
+ security: [{ scheme: "bearer", type: "http" }, {
882
+ in: "cookie",
883
+ name: "nadeshiko.session_token",
884
+ type: "apiKey"
885
+ }],
870
886
  url: "/v1/media/autocomplete",
871
887
  ...options
872
888
  });
873
- var deleteMedia = (options) => (options.client ?? client).delete({
874
- security: [{ scheme: "bearer", type: "http" }],
875
- url: "/v1/media/{id}",
876
- ...options
877
- });
878
- var getMedia = (options) => (options.client ?? client).get({
879
- security: [{ scheme: "bearer", type: "http" }],
880
- url: "/v1/media/{id}",
889
+ var getSegmentByUuid = (options) => (options.client ?? client).get({
890
+ security: [{ scheme: "bearer", type: "http" }, {
891
+ in: "cookie",
892
+ name: "nadeshiko.session_token",
893
+ type: "apiKey"
894
+ }],
895
+ url: "/v1/media/segments/{uuid}",
881
896
  ...options
882
897
  });
883
- var updateMedia = (options) => (options.client ?? client).patch({
884
- security: [{ scheme: "bearer", type: "http" }],
885
- url: "/v1/media/{id}",
898
+ var updateSegmentByUuid = (options) => (options.client ?? client).patch({
899
+ security: [{ scheme: "bearer", type: "http" }, {
900
+ in: "cookie",
901
+ name: "nadeshiko.session_token",
902
+ type: "apiKey"
903
+ }],
904
+ url: "/v1/media/segments/{uuid}",
886
905
  ...options,
887
906
  headers: {
888
907
  "Content-Type": "application/json",
889
908
  ...options.headers
890
909
  }
891
910
  });
892
- var listEpisodes = (options) => (options.client ?? client).get({
893
- security: [{ scheme: "bearer", type: "http" }],
894
- url: "/v1/media/{mediaId}/episodes",
911
+ var getSegmentContext = (options) => (options.client ?? client).get({
912
+ security: [{ scheme: "bearer", type: "http" }, {
913
+ in: "cookie",
914
+ name: "nadeshiko.session_token",
915
+ type: "apiKey"
916
+ }],
917
+ url: "/v1/media/segments/{uuid}/context",
895
918
  ...options
896
919
  });
897
- var createEpisode = (options) => (options.client ?? client).post({
898
- security: [{ scheme: "bearer", type: "http" }],
899
- url: "/v1/media/{mediaId}/episodes",
920
+ var listSegmentRevisions = (options) => (options.client ?? client).get({
921
+ security: [{ scheme: "bearer", type: "http" }, {
922
+ in: "cookie",
923
+ name: "nadeshiko.session_token",
924
+ type: "apiKey"
925
+ }],
926
+ url: "/v1/media/segments/{uuid}/revisions",
927
+ ...options
928
+ });
929
+ var listSeries = (options) => (options?.client ?? client).get({
930
+ security: [{ scheme: "bearer", type: "http" }, {
931
+ in: "cookie",
932
+ name: "nadeshiko.session_token",
933
+ type: "apiKey"
934
+ }],
935
+ url: "/v1/media/series",
936
+ ...options
937
+ });
938
+ var createSeries = (options) => (options.client ?? client).post({
939
+ security: [{ scheme: "bearer", type: "http" }, {
940
+ in: "cookie",
941
+ name: "nadeshiko.session_token",
942
+ type: "apiKey"
943
+ }],
944
+ url: "/v1/media/series",
900
945
  ...options,
901
946
  headers: {
902
947
  "Content-Type": "application/json",
903
948
  ...options.headers
904
949
  }
905
950
  });
906
- var deleteEpisode = (options) => (options.client ?? client).delete({
907
- security: [{ scheme: "bearer", type: "http" }],
908
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
951
+ var deleteSeries = (options) => (options.client ?? client).delete({
952
+ security: [{ scheme: "bearer", type: "http" }, {
953
+ in: "cookie",
954
+ name: "nadeshiko.session_token",
955
+ type: "apiKey"
956
+ }],
957
+ url: "/v1/media/series/{id}",
909
958
  ...options
910
959
  });
911
- var getEpisode = (options) => (options.client ?? client).get({
912
- security: [{ scheme: "bearer", type: "http" }],
913
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
960
+ var getSeries = (options) => (options.client ?? client).get({
961
+ security: [{ scheme: "bearer", type: "http" }, {
962
+ in: "cookie",
963
+ name: "nadeshiko.session_token",
964
+ type: "apiKey"
965
+ }],
966
+ url: "/v1/media/series/{id}",
914
967
  ...options
915
968
  });
916
- var updateEpisode = (options) => (options.client ?? client).patch({
917
- security: [{ scheme: "bearer", type: "http" }],
918
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
969
+ var updateSeries = (options) => (options.client ?? client).patch({
970
+ security: [{ scheme: "bearer", type: "http" }, {
971
+ in: "cookie",
972
+ name: "nadeshiko.session_token",
973
+ type: "apiKey"
974
+ }],
975
+ url: "/v1/media/series/{id}",
919
976
  ...options,
920
977
  headers: {
921
978
  "Content-Type": "application/json",
922
979
  ...options.headers
923
980
  }
924
981
  });
925
- var listSegments = (options) => (options.client ?? client).get({
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({
931
- security: [{ scheme: "bearer", type: "http" }],
932
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
982
+ var addMediaToSeries = (options) => (options.client ?? client).post({
983
+ security: [{ scheme: "bearer", type: "http" }, {
984
+ in: "cookie",
985
+ name: "nadeshiko.session_token",
986
+ type: "apiKey"
987
+ }],
988
+ url: "/v1/media/series/{id}/media",
933
989
  ...options,
934
990
  headers: {
935
991
  "Content-Type": "application/json",
936
992
  ...options.headers
937
993
  }
938
994
  });
939
- var deleteSegment = (options) => (options.client ?? client).delete({
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({
945
- security: [{ scheme: "bearer", type: "http" }],
946
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
995
+ var removeMediaFromSeries = (options) => (options.client ?? client).delete({
996
+ security: [{ scheme: "bearer", type: "http" }, {
997
+ in: "cookie",
998
+ name: "nadeshiko.session_token",
999
+ type: "apiKey"
1000
+ }],
1001
+ url: "/v1/media/series/{id}/media/{mediaId}",
947
1002
  ...options
948
1003
  });
949
- var updateSegment = (options) => (options.client ?? client).patch({
950
- security: [{ scheme: "bearer", type: "http" }],
951
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1004
+ var updateSeriesMedia = (options) => (options.client ?? client).patch({
1005
+ security: [{ scheme: "bearer", type: "http" }, {
1006
+ in: "cookie",
1007
+ name: "nadeshiko.session_token",
1008
+ type: "apiKey"
1009
+ }],
1010
+ url: "/v1/media/series/{id}/media/{mediaId}",
952
1011
  ...options,
953
1012
  headers: {
954
1013
  "Content-Type": "application/json",
955
1014
  ...options.headers
956
1015
  }
957
1016
  });
958
- var getSegmentByUuid = (options) => (options.client ?? client).get({
959
- security: [{ scheme: "bearer", type: "http" }],
960
- url: "/v1/media/segments/{uuid}",
1017
+ var getCharacter = (options) => (options.client ?? client).get({
1018
+ security: [{ scheme: "bearer", type: "http" }, {
1019
+ in: "cookie",
1020
+ name: "nadeshiko.session_token",
1021
+ type: "apiKey"
1022
+ }],
1023
+ url: "/v1/media/characters/{id}",
961
1024
  ...options
962
1025
  });
963
- var getSegmentContext = (options) => (options.client ?? client).get({
964
- security: [{ scheme: "bearer", type: "http" }],
965
- url: "/v1/media/segments/{uuid}/context",
1026
+ var getSeiyuu = (options) => (options.client ?? client).get({
1027
+ security: [{ scheme: "bearer", type: "http" }, {
1028
+ in: "cookie",
1029
+ name: "nadeshiko.session_token",
1030
+ type: "apiKey"
1031
+ }],
1032
+ url: "/v1/media/seiyuu/{id}",
966
1033
  ...options
967
1034
  });
968
- var listSeries = (options) => (options?.client ?? client).get({
1035
+ var deleteMedia = (options) => (options.client ?? client).delete({
969
1036
  security: [{ scheme: "bearer", type: "http" }, {
970
1037
  in: "cookie",
971
1038
  name: "nadeshiko.session_token",
972
1039
  type: "apiKey"
973
1040
  }],
974
- url: "/v1/media/series",
1041
+ url: "/v1/media/{id}",
975
1042
  ...options
976
1043
  });
977
- var createSeries = (options) => (options.client ?? client).post({
978
- security: [{ scheme: "bearer", type: "http" }],
979
- url: "/v1/media/series",
1044
+ var getMedia = (options) => (options.client ?? client).get({
1045
+ security: [{ scheme: "bearer", type: "http" }, {
1046
+ in: "cookie",
1047
+ name: "nadeshiko.session_token",
1048
+ type: "apiKey"
1049
+ }],
1050
+ url: "/v1/media/{id}",
1051
+ ...options
1052
+ });
1053
+ var updateMedia = (options) => (options.client ?? client).patch({
1054
+ security: [{ scheme: "bearer", type: "http" }, {
1055
+ in: "cookie",
1056
+ name: "nadeshiko.session_token",
1057
+ type: "apiKey"
1058
+ }],
1059
+ url: "/v1/media/{id}",
980
1060
  ...options,
981
1061
  headers: {
982
1062
  "Content-Type": "application/json",
983
1063
  ...options.headers
984
1064
  }
985
1065
  });
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({
1066
+ var listEpisodes = (options) => (options.client ?? client).get({
992
1067
  security: [{ scheme: "bearer", type: "http" }, {
993
1068
  in: "cookie",
994
1069
  name: "nadeshiko.session_token",
995
1070
  type: "apiKey"
996
1071
  }],
997
- url: "/v1/media/series/{id}",
1072
+ url: "/v1/media/{mediaId}/episodes",
998
1073
  ...options
999
1074
  });
1000
- var updateSeries = (options) => (options.client ?? client).patch({
1001
- security: [{ scheme: "bearer", type: "http" }],
1002
- url: "/v1/media/series/{id}",
1075
+ var createEpisode = (options) => (options.client ?? client).post({
1076
+ security: [{ scheme: "bearer", type: "http" }, {
1077
+ in: "cookie",
1078
+ name: "nadeshiko.session_token",
1079
+ type: "apiKey"
1080
+ }],
1081
+ url: "/v1/media/{mediaId}/episodes",
1003
1082
  ...options,
1004
1083
  headers: {
1005
1084
  "Content-Type": "application/json",
1006
1085
  ...options.headers
1007
1086
  }
1008
1087
  });
1009
- var addMediaToSeries = (options) => (options.client ?? client).post({
1010
- security: [{ scheme: "bearer", type: "http" }],
1011
- url: "/v1/media/series/{id}/media",
1088
+ var deleteEpisode = (options) => (options.client ?? client).delete({
1089
+ security: [{ scheme: "bearer", type: "http" }, {
1090
+ in: "cookie",
1091
+ name: "nadeshiko.session_token",
1092
+ type: "apiKey"
1093
+ }],
1094
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1095
+ ...options
1096
+ });
1097
+ var getEpisode = (options) => (options.client ?? client).get({
1098
+ security: [{ scheme: "bearer", type: "http" }, {
1099
+ in: "cookie",
1100
+ name: "nadeshiko.session_token",
1101
+ type: "apiKey"
1102
+ }],
1103
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1104
+ ...options
1105
+ });
1106
+ var updateEpisode = (options) => (options.client ?? client).patch({
1107
+ security: [{ scheme: "bearer", type: "http" }, {
1108
+ in: "cookie",
1109
+ name: "nadeshiko.session_token",
1110
+ type: "apiKey"
1111
+ }],
1112
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1012
1113
  ...options,
1013
1114
  headers: {
1014
1115
  "Content-Type": "application/json",
1015
1116
  ...options.headers
1016
1117
  }
1017
1118
  });
1018
- var removeMediaFromSeries = (options) => (options.client ?? client).delete({
1019
- security: [{ scheme: "bearer", type: "http" }],
1020
- url: "/v1/media/series/{id}/media/{mediaId}",
1119
+ var listSegments = (options) => (options.client ?? client).get({
1120
+ security: [{ scheme: "bearer", type: "http" }, {
1121
+ in: "cookie",
1122
+ name: "nadeshiko.session_token",
1123
+ type: "apiKey"
1124
+ }],
1125
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1021
1126
  ...options
1022
1127
  });
1023
- var updateSeriesMedia = (options) => (options.client ?? client).patch({
1024
- security: [{ scheme: "bearer", type: "http" }],
1025
- url: "/v1/media/series/{id}/media/{mediaId}",
1128
+ var createSegment = (options) => (options.client ?? client).post({
1129
+ security: [{ scheme: "bearer", type: "http" }, {
1130
+ in: "cookie",
1131
+ name: "nadeshiko.session_token",
1132
+ type: "apiKey"
1133
+ }],
1134
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1026
1135
  ...options,
1027
1136
  headers: {
1028
1137
  "Content-Type": "application/json",
1029
1138
  ...options.headers
1030
1139
  }
1031
1140
  });
1032
- var getCharacter = (options) => (options.client ?? client).get({
1033
- security: [{ scheme: "bearer", type: "http" }],
1034
- url: "/v1/media/characters/{id}",
1035
- ...options
1141
+ var createSegmentsBatch = (options) => (options.client ?? client).post({
1142
+ security: [{ scheme: "bearer", type: "http" }, {
1143
+ in: "cookie",
1144
+ name: "nadeshiko.session_token",
1145
+ type: "apiKey"
1146
+ }],
1147
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/batch",
1148
+ ...options,
1149
+ headers: {
1150
+ "Content-Type": "application/json",
1151
+ ...options.headers
1152
+ }
1036
1153
  });
1037
- var getSeiyuu = (options) => (options.client ?? client).get({
1038
- security: [{ scheme: "bearer", type: "http" }],
1039
- url: "/v1/media/seiyuu/{id}",
1154
+ var deleteSegment = (options) => (options.client ?? client).delete({
1155
+ security: [{ scheme: "bearer", type: "http" }, {
1156
+ in: "cookie",
1157
+ name: "nadeshiko.session_token",
1158
+ type: "apiKey"
1159
+ }],
1160
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1040
1161
  ...options
1041
1162
  });
1042
- var getUserQuota = (options) => (options?.client ?? client).get({
1043
- security: [{
1163
+ var getSegment = (options) => (options.client ?? client).get({
1164
+ security: [{ scheme: "bearer", type: "http" }, {
1044
1165
  in: "cookie",
1045
1166
  name: "nadeshiko.session_token",
1046
1167
  type: "apiKey"
1047
- }, { scheme: "bearer", type: "http" }],
1048
- url: "/v1/user/quota",
1168
+ }],
1169
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1049
1170
  ...options
1050
1171
  });
1051
- var listUserReports = (options) => (options?.client ?? client).get({
1172
+ var updateSegment = (options) => (options.client ?? client).patch({
1173
+ security: [{ scheme: "bearer", type: "http" }, {
1174
+ in: "cookie",
1175
+ name: "nadeshiko.session_token",
1176
+ type: "apiKey"
1177
+ }],
1178
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1179
+ ...options,
1180
+ headers: {
1181
+ "Content-Type": "application/json",
1182
+ ...options.headers
1183
+ }
1184
+ });
1185
+ var getUserQuota = (options) => (options?.client ?? client).get({
1052
1186
  security: [{
1053
1187
  in: "cookie",
1054
1188
  name: "nadeshiko.session_token",
1055
1189
  type: "apiKey"
1056
1190
  }],
1057
- url: "/v1/user/reports",
1191
+ url: "/v1/user/quota",
1058
1192
  ...options
1059
1193
  });
1060
1194
  var createUserReport = (options) => (options.client ?? client).post({
@@ -1110,6 +1244,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
1110
1244
  url: "/v1/user/activity",
1111
1245
  ...options
1112
1246
  });
1247
+ var trackUserActivity = (options) => (options.client ?? client).post({
1248
+ security: [{
1249
+ in: "cookie",
1250
+ name: "nadeshiko.session_token",
1251
+ type: "apiKey"
1252
+ }],
1253
+ url: "/v1/user/activity",
1254
+ ...options,
1255
+ headers: {
1256
+ "Content-Type": "application/json",
1257
+ ...options.headers
1258
+ }
1259
+ });
1113
1260
  var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1114
1261
  security: [{
1115
1262
  in: "cookie",
@@ -1128,6 +1275,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
1128
1275
  url: "/v1/user/activity/stats",
1129
1276
  ...options
1130
1277
  });
1278
+ var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
1279
+ security: [{
1280
+ in: "cookie",
1281
+ name: "nadeshiko.session_token",
1282
+ type: "apiKey"
1283
+ }],
1284
+ url: "/v1/user/activity/date/{date}",
1285
+ ...options
1286
+ });
1287
+ var deleteUserActivityById = (options) => (options.client ?? client).delete({
1288
+ security: [{
1289
+ in: "cookie",
1290
+ name: "nadeshiko.session_token",
1291
+ type: "apiKey"
1292
+ }],
1293
+ url: "/v1/user/activity/{id}",
1294
+ ...options
1295
+ });
1131
1296
  var exportUserData = (options) => (options?.client ?? client).get({
1132
1297
  security: [{
1133
1298
  in: "cookie",
@@ -1146,6 +1311,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
1146
1311
  url: "/v1/user/labs",
1147
1312
  ...options
1148
1313
  });
1314
+ var unenrollUserLab = (options) => (options.client ?? client).delete({
1315
+ security: [{
1316
+ in: "cookie",
1317
+ name: "nadeshiko.session_token",
1318
+ type: "apiKey"
1319
+ }],
1320
+ url: "/v1/user/labs/{key}",
1321
+ ...options
1322
+ });
1323
+ var enrollUserLab = (options) => (options.client ?? client).post({
1324
+ security: [{
1325
+ in: "cookie",
1326
+ name: "nadeshiko.session_token",
1327
+ type: "apiKey"
1328
+ }],
1329
+ url: "/v1/user/labs/{key}",
1330
+ ...options
1331
+ });
1149
1332
  var listCollections = (options) => (options?.client ?? client).get({
1150
1333
  security: [{
1151
1334
  in: "cookie",
@@ -1234,18 +1417,48 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
1234
1417
  ...options.headers
1235
1418
  }
1236
1419
  });
1420
+ var searchCollectionSegments = (options) => (options.client ?? client).get({
1421
+ security: [{
1422
+ in: "cookie",
1423
+ name: "nadeshiko.session_token",
1424
+ type: "apiKey"
1425
+ }],
1426
+ url: "/v1/collections/{id}/search",
1427
+ ...options
1428
+ });
1429
+ var getCollectionStats = (options) => (options.client ?? client).get({
1430
+ security: [{
1431
+ in: "cookie",
1432
+ name: "nadeshiko.session_token",
1433
+ type: "apiKey"
1434
+ }],
1435
+ url: "/v1/collections/{id}/stats",
1436
+ ...options
1437
+ });
1237
1438
  var getAdminDashboard = (options) => (options?.client ?? client).get({
1238
- security: [{ scheme: "bearer", type: "http" }],
1439
+ security: [{
1440
+ in: "cookie",
1441
+ name: "nadeshiko.session_token",
1442
+ type: "apiKey"
1443
+ }],
1239
1444
  url: "/v1/admin/dashboard",
1240
1445
  ...options
1241
1446
  });
1242
1447
  var getAdminHealth = (options) => (options?.client ?? client).get({
1243
- security: [{ scheme: "bearer", type: "http" }],
1448
+ security: [{
1449
+ in: "cookie",
1450
+ name: "nadeshiko.session_token",
1451
+ type: "apiKey"
1452
+ }],
1244
1453
  url: "/v1/admin/health",
1245
1454
  ...options
1246
1455
  });
1247
1456
  var triggerReindex = (options) => (options?.client ?? client).post({
1248
- security: [{ scheme: "bearer", type: "http" }],
1457
+ security: [{
1458
+ in: "cookie",
1459
+ name: "nadeshiko.session_token",
1460
+ type: "apiKey"
1461
+ }],
1249
1462
  url: "/v1/admin/reindex",
1250
1463
  ...options,
1251
1464
  headers: {
@@ -1254,37 +1467,74 @@ var triggerReindex = (options) => (options?.client ?? client).post({
1254
1467
  }
1255
1468
  });
1256
1469
  var listAdminQueueStats = (options) => (options?.client ?? client).get({
1257
- security: [{ scheme: "bearer", type: "http" }],
1470
+ security: [{
1471
+ in: "cookie",
1472
+ name: "nadeshiko.session_token",
1473
+ type: "apiKey"
1474
+ }],
1258
1475
  url: "/v1/admin/queues/stats",
1259
1476
  ...options
1260
1477
  });
1261
1478
  var getAdminQueue = (options) => (options.client ?? client).get({
1262
- security: [{ scheme: "bearer", type: "http" }],
1479
+ security: [{
1480
+ in: "cookie",
1481
+ name: "nadeshiko.session_token",
1482
+ type: "apiKey"
1483
+ }],
1263
1484
  url: "/v1/admin/queues/{queueName}",
1264
1485
  ...options
1265
1486
  });
1266
1487
  var listAdminQueueFailed = (options) => (options.client ?? client).get({
1267
- security: [{ scheme: "bearer", type: "http" }],
1488
+ security: [{
1489
+ in: "cookie",
1490
+ name: "nadeshiko.session_token",
1491
+ type: "apiKey"
1492
+ }],
1268
1493
  url: "/v1/admin/queues/{queueName}/failed",
1269
1494
  ...options
1270
1495
  });
1271
1496
  var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1272
- security: [{ scheme: "bearer", type: "http" }],
1497
+ security: [{
1498
+ in: "cookie",
1499
+ name: "nadeshiko.session_token",
1500
+ type: "apiKey"
1501
+ }],
1273
1502
  url: "/v1/admin/queues/{queueName}/retry",
1274
1503
  ...options
1275
1504
  });
1276
1505
  var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1277
- security: [{ scheme: "bearer", type: "http" }],
1506
+ security: [{
1507
+ in: "cookie",
1508
+ name: "nadeshiko.session_token",
1509
+ type: "apiKey"
1510
+ }],
1278
1511
  url: "/v1/admin/queues/{queueName}/purge",
1279
1512
  ...options
1280
1513
  });
1514
+ var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
1515
+ var impersonateAdminUser = (options) => (options.client ?? client).post({
1516
+ url: "/v1/admin/impersonation",
1517
+ ...options,
1518
+ headers: {
1519
+ "Content-Type": "application/json",
1520
+ ...options.headers
1521
+ }
1522
+ });
1281
1523
  var listAdminReports = (options) => (options?.client ?? client).get({
1282
- security: [{ scheme: "bearer", type: "http" }],
1524
+ security: [{
1525
+ in: "cookie",
1526
+ name: "nadeshiko.session_token",
1527
+ type: "apiKey"
1528
+ }],
1283
1529
  url: "/v1/admin/reports",
1284
1530
  ...options
1285
1531
  });
1286
1532
  var updateAdminReport = (options) => (options.client ?? client).patch({
1287
- security: [{ scheme: "bearer", type: "http" }],
1533
+ security: [{
1534
+ in: "cookie",
1535
+ name: "nadeshiko.session_token",
1536
+ type: "apiKey"
1537
+ }],
1288
1538
  url: "/v1/admin/reports/{id}",
1289
1539
  ...options,
1290
1540
  headers: {
@@ -1292,52 +1542,53 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
1292
1542
  ...options.headers
1293
1543
  }
1294
1544
  });
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",
1545
+ var listAdminMediaAudits = (options) => (options?.client ?? client).get({
1546
+ security: [{
1547
+ in: "cookie",
1548
+ name: "nadeshiko.session_token",
1549
+ type: "apiKey"
1550
+ }],
1551
+ url: "/v1/admin/media/audits",
1303
1552
  ...options
1304
1553
  });
1305
- var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
1306
- security: [{ scheme: "bearer", type: "http" }],
1307
- url: "/v1/admin/review/checks/{name}",
1554
+ var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1555
+ security: [{
1556
+ in: "cookie",
1557
+ name: "nadeshiko.session_token",
1558
+ type: "apiKey"
1559
+ }],
1560
+ url: "/v1/admin/media/audits/{name}",
1308
1561
  ...options,
1309
1562
  headers: {
1310
1563
  "Content-Type": "application/json",
1311
1564
  ...options.headers
1312
1565
  }
1313
1566
  });
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}",
1567
+ var runAdminMediaAudit = (options) => (options.client ?? client).post({
1568
+ security: [{
1569
+ in: "cookie",
1570
+ name: "nadeshiko.session_token",
1571
+ type: "apiKey"
1572
+ }],
1573
+ url: "/v1/admin/media/audits/{name}/run",
1322
1574
  ...options
1323
1575
  });
1324
- var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
1325
- security: [{ scheme: "bearer", type: "http" }],
1326
- url: "/v1/admin/review/allowlist",
1576
+ var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
1577
+ security: [{
1578
+ in: "cookie",
1579
+ name: "nadeshiko.session_token",
1580
+ type: "apiKey"
1581
+ }],
1582
+ url: "/v1/admin/media/audits/runs",
1327
1583
  ...options
1328
1584
  });
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}",
1585
+ var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
1586
+ security: [{
1587
+ in: "cookie",
1588
+ name: "nadeshiko.session_token",
1589
+ type: "apiKey"
1590
+ }],
1591
+ url: "/v1/admin/media/audits/runs/{id}",
1341
1592
  ...options
1342
1593
  });
1343
1594
  // generated/dev/nadeshiko.gen.ts
@@ -1353,7 +1604,13 @@ var defaultSessionTokenGetter = () => {
1353
1604
  return match ? decodeURIComponent(match[1]) : undefined;
1354
1605
  };
1355
1606
  function createNadeshikoClient(config) {
1356
- const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl : environments.PRODUCTION;
1607
+ const baseUrl = config.baseUrl === undefined ? environments.PRODUCTION : (config.baseUrl in environments) ? environments[config.baseUrl] : config.baseUrl;
1608
+ const getApiKey = async () => {
1609
+ if (typeof config.apiKey === "function") {
1610
+ return await config.apiKey();
1611
+ }
1612
+ return config.apiKey;
1613
+ };
1357
1614
  const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
1358
1615
  const clientInstance = createClient(createConfig({
1359
1616
  baseUrl,
@@ -1361,7 +1618,7 @@ function createNadeshikoClient(config) {
1361
1618
  if (auth.in === "cookie") {
1362
1619
  return getSessionToken();
1363
1620
  }
1364
- return config.apiKey;
1621
+ return getApiKey();
1365
1622
  }
1366
1623
  }));
1367
1624
  return {
@@ -1370,43 +1627,26 @@ function createNadeshikoClient(config) {
1370
1627
  getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
1371
1628
  searchWords: (options) => searchWords({ ...options, client: clientInstance }),
1372
1629
  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
1630
  getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
1378
1631
  getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
1379
1632
  listSeries: (options) => listSeries({ ...options, client: clientInstance }),
1380
1633
  getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1381
1634
  getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1382
1635
  getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1383
- getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
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 }),
1636
+ getMedia: (options) => getMedia({ ...options, client: clientInstance }),
1637
+ listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
1638
+ getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
1639
+ getSegment: (options) => getSegment({ ...options, client: clientInstance }),
1408
1640
  createMedia: (options) => createMedia({ ...options, client: clientInstance }),
1409
1641
  autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
1642
+ updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
1643
+ listSegmentRevisions: (options) => listSegmentRevisions({ ...options, client: clientInstance }),
1644
+ createSeries: (options) => createSeries({ ...options, client: clientInstance }),
1645
+ updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
1646
+ deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
1647
+ addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1648
+ updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1649
+ removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1410
1650
  updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
1411
1651
  deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
1412
1652
  createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
@@ -1414,26 +1654,51 @@ function createNadeshikoClient(config) {
1414
1654
  deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
1415
1655
  listSegments: (options) => listSegments({ ...options, client: clientInstance }),
1416
1656
  createSegment: (options) => createSegment({ ...options, client: clientInstance }),
1657
+ createSegmentsBatch: (options) => createSegmentsBatch({ ...options, client: clientInstance }),
1417
1658
  updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
1418
1659
  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 }),
1660
+ getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
1425
1661
  createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
1426
- listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
1427
1662
  getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
1428
1663
  updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
1429
1664
  listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
1665
+ trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
1430
1666
  deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
1431
1667
  getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
1432
1668
  getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
1669
+ deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
1670
+ deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
1433
1671
  exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
1434
1672
  listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
1673
+ enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
1674
+ unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
1675
+ listCollections: (options) => listCollections({ ...options, client: clientInstance }),
1676
+ createCollection: (options) => createCollection({ ...options, client: clientInstance }),
1677
+ getCollection: (options) => getCollection({ ...options, client: clientInstance }),
1678
+ updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
1679
+ deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
1680
+ addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
1681
+ updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
1682
+ removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
1683
+ searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
1684
+ getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
1435
1685
  getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1436
- getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1686
+ getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
1687
+ triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
1688
+ listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
1689
+ getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
1690
+ listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
1691
+ retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
1692
+ purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
1693
+ impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
1694
+ clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
1695
+ listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
1696
+ updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
1697
+ listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
1698
+ updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
1699
+ runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
1700
+ listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
1701
+ getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance })
1437
1702
  };
1438
1703
  }
1439
1704
  // generated/dev/internal/media.gen.ts
@@ -1441,16 +1706,19 @@ var exports_media_gen = {};
1441
1706
  __export(exports_media_gen, {
1442
1707
  updateSeriesMedia: () => updateSeriesMedia,
1443
1708
  updateSeries: () => updateSeries,
1709
+ updateSegmentByUuid: () => updateSegmentByUuid,
1444
1710
  updateSegment: () => updateSegment,
1445
1711
  updateMedia: () => updateMedia,
1446
1712
  updateEpisode: () => updateEpisode,
1447
1713
  removeMediaFromSeries: () => removeMediaFromSeries,
1448
1714
  listSegments: () => listSegments,
1715
+ listSegmentRevisions: () => listSegmentRevisions,
1449
1716
  deleteSeries: () => deleteSeries,
1450
1717
  deleteSegment: () => deleteSegment,
1451
1718
  deleteMedia: () => deleteMedia,
1452
1719
  deleteEpisode: () => deleteEpisode,
1453
1720
  createSeries: () => createSeries,
1721
+ createSegmentsBatch: () => createSegmentsBatch,
1454
1722
  createSegment: () => createSegment,
1455
1723
  createMedia: () => createMedia,
1456
1724
  createEpisode: () => createEpisode,
@@ -1461,57 +1729,95 @@ __export(exports_media_gen, {
1461
1729
  var exports_user_gen = {};
1462
1730
  __export(exports_user_gen, {
1463
1731
  updateUserPreferences: () => updateUserPreferences,
1464
- listUserReports: () => listUserReports,
1732
+ unenrollUserLab: () => unenrollUserLab,
1733
+ trackUserActivity: () => trackUserActivity,
1465
1734
  listUserLabs: () => listUserLabs,
1466
1735
  listUserActivity: () => listUserActivity,
1736
+ getUserQuota: () => getUserQuota,
1467
1737
  getUserPreferences: () => getUserPreferences,
1468
1738
  getUserActivityStats: () => getUserActivityStats,
1469
1739
  getUserActivityHeatmap: () => getUserActivityHeatmap,
1470
1740
  exportUserData: () => exportUserData,
1741
+ enrollUserLab: () => enrollUserLab,
1742
+ deleteUserActivityById: () => deleteUserActivityById,
1743
+ deleteUserActivityByDate: () => deleteUserActivityByDate,
1471
1744
  deleteUserActivity: () => deleteUserActivity,
1472
1745
  createUserReport: () => createUserReport
1473
1746
  });
1747
+ // generated/dev/internal/collections.gen.ts
1748
+ var exports_collections_gen = {};
1749
+ __export(exports_collections_gen, {
1750
+ updateCollectionSegment: () => updateCollectionSegment,
1751
+ updateCollection: () => updateCollection,
1752
+ searchCollectionSegments: () => searchCollectionSegments,
1753
+ removeSegmentFromCollection: () => removeSegmentFromCollection,
1754
+ listCollections: () => listCollections,
1755
+ getCollectionStats: () => getCollectionStats,
1756
+ getCollection: () => getCollection,
1757
+ deleteCollection: () => deleteCollection,
1758
+ createCollection: () => createCollection,
1759
+ addSegmentToCollection: () => addSegmentToCollection
1760
+ });
1474
1761
  // generated/dev/internal/admin.gen.ts
1475
1762
  var exports_admin_gen = {};
1476
1763
  __export(exports_admin_gen, {
1764
+ updateAdminReport: () => updateAdminReport,
1765
+ updateAdminMediaAudit: () => updateAdminMediaAudit,
1766
+ triggerReindex: () => triggerReindex,
1767
+ runAdminMediaAudit: () => runAdminMediaAudit,
1768
+ retryAdminQueueFailed: () => retryAdminQueueFailed,
1769
+ purgeAdminQueueFailed: () => purgeAdminQueueFailed,
1770
+ listAdminReports: () => listAdminReports,
1771
+ listAdminQueueStats: () => listAdminQueueStats,
1772
+ listAdminQueueFailed: () => listAdminQueueFailed,
1773
+ listAdminMediaAudits: () => listAdminMediaAudits,
1774
+ listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
1775
+ impersonateAdminUser: () => impersonateAdminUser,
1776
+ getAdminQueue: () => getAdminQueue,
1777
+ getAdminMediaAuditRun: () => getAdminMediaAuditRun,
1477
1778
  getAdminHealth: () => getAdminHealth,
1478
- getAdminDashboard: () => getAdminDashboard
1779
+ getAdminDashboard: () => getAdminDashboard,
1780
+ clearAdminImpersonation: () => clearAdminImpersonation
1479
1781
  });
1480
1782
  export {
1481
1783
  exports_user_gen as user,
1482
1784
  updateUserPreferences,
1483
1785
  updateSeriesMedia,
1484
1786
  updateSeries,
1787
+ updateSegmentByUuid,
1485
1788
  updateSegment,
1486
1789
  updateMedia,
1487
1790
  updateEpisode,
1488
1791
  updateCollectionSegment,
1489
1792
  updateCollection,
1490
- updateAdminReviewCheck,
1491
1793
  updateAdminReport,
1794
+ updateAdminMediaAudit,
1795
+ unenrollUserLab,
1492
1796
  triggerReindex,
1797
+ trackUserActivity,
1493
1798
  searchWords,
1799
+ searchCollectionSegments,
1494
1800
  search,
1495
- runAdminReview,
1801
+ runAdminMediaAudit,
1496
1802
  retryAdminQueueFailed,
1497
1803
  removeSegmentFromCollection,
1498
1804
  removeMediaFromSeries,
1499
1805
  purgeAdminQueueFailed,
1500
1806
  exports_media_gen as media,
1501
- listUserReports,
1502
1807
  listUserLabs,
1503
1808
  listUserActivity,
1504
1809
  listSeries,
1505
1810
  listSegments,
1811
+ listSegmentRevisions,
1506
1812
  listMedia,
1507
1813
  listEpisodes,
1508
1814
  listCollections,
1509
- listAdminReviewRuns,
1510
- listAdminReviewChecks,
1511
- listAdminReviewAllowlist,
1512
1815
  listAdminReports,
1513
1816
  listAdminQueueStats,
1514
1817
  listAdminQueueFailed,
1818
+ listAdminMediaAudits,
1819
+ listAdminMediaAuditRuns,
1820
+ impersonateAdminUser,
1515
1821
  getUserQuota,
1516
1822
  getUserPreferences,
1517
1823
  getUserActivityStats,
@@ -1524,34 +1830,39 @@ export {
1524
1830
  getSearchStats,
1525
1831
  getMedia,
1526
1832
  getEpisode,
1833
+ getCollectionStats,
1527
1834
  getCollection,
1528
1835
  getCharacter,
1529
- getAdminReviewRun,
1530
1836
  getAdminQueue,
1837
+ getAdminMediaAuditRun,
1531
1838
  getAdminHealth,
1532
1839
  getAdminDashboard,
1533
1840
  exportUserData,
1841
+ enrollUserLab,
1842
+ deleteUserActivityById,
1843
+ deleteUserActivityByDate,
1534
1844
  deleteUserActivity,
1535
1845
  deleteSeries,
1536
1846
  deleteSegment,
1537
1847
  deleteMedia,
1538
1848
  deleteEpisode,
1539
1849
  deleteCollection,
1540
- deleteAdminReviewAllowlistEntry,
1541
1850
  createUserReport,
1542
1851
  createSeries,
1852
+ createSegmentsBatch,
1543
1853
  createSegment,
1544
1854
  createNadeshikoClient,
1545
1855
  createMedia,
1546
1856
  createEpisode,
1547
1857
  createCollection,
1548
- createAdminReviewAllowlistEntry,
1858
+ exports_collections_gen as collections,
1549
1859
  client,
1860
+ clearAdminImpersonation,
1550
1861
  autocompleteMedia,
1551
1862
  exports_admin_gen as admin,
1552
1863
  addSegmentToCollection,
1553
1864
  addMediaToSeries
1554
1865
  };
1555
1866
 
1556
- //# debugId=AB5963794BD4F67864756E2164756E21
1867
+ //# debugId=3C323EE41F11A1D664756E2164756E21
1557
1868
  //# sourceMappingURL=index.js.map