@brigadasos/nadeshiko-sdk 1.4.3-dev.09dcbc3 → 1.4.3-dev.2ba18e0

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,15 +813,11 @@ 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({
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,187 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
870
862
  url: "/v1/media/autocomplete",
871
863
  ...options
872
864
  });
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({
865
+ var getSegmentByUuid = (options) => (options.client ?? client).get({
879
866
  security: [{ scheme: "bearer", type: "http" }],
880
- url: "/v1/media/{id}",
867
+ url: "/v1/media/segments/{uuid}",
881
868
  ...options
882
869
  });
883
- var updateMedia = (options) => (options.client ?? client).patch({
884
- security: [{ scheme: "bearer", type: "http" }],
885
- url: "/v1/media/{id}",
870
+ var updateSegmentByUuid = (options) => (options.client ?? client).patch({
871
+ security: [{ scheme: "bearer", type: "http" }, {
872
+ in: "cookie",
873
+ name: "nadeshiko.session_token",
874
+ type: "apiKey"
875
+ }],
876
+ url: "/v1/media/segments/{uuid}",
886
877
  ...options,
887
878
  headers: {
888
879
  "Content-Type": "application/json",
889
880
  ...options.headers
890
881
  }
891
882
  });
892
- var listEpisodes = (options) => (options.client ?? client).get({
883
+ var getSegmentContext = (options) => (options.client ?? client).get({
893
884
  security: [{ scheme: "bearer", type: "http" }],
894
- url: "/v1/media/{mediaId}/episodes",
885
+ url: "/v1/media/segments/{uuid}/context",
895
886
  ...options
896
887
  });
897
- var createEpisode = (options) => (options.client ?? client).post({
888
+ var listSeries = (options) => (options?.client ?? client).get({
898
889
  security: [{ scheme: "bearer", type: "http" }],
899
- url: "/v1/media/{mediaId}/episodes",
890
+ url: "/v1/media/series",
891
+ ...options
892
+ });
893
+ var createSeries = (options) => (options.client ?? client).post({
894
+ security: [{ scheme: "bearer", type: "http" }],
895
+ url: "/v1/media/series",
900
896
  ...options,
901
897
  headers: {
902
898
  "Content-Type": "application/json",
903
899
  ...options.headers
904
900
  }
905
901
  });
906
- var deleteEpisode = (options) => (options.client ?? client).delete({
902
+ var deleteSeries = (options) => (options.client ?? client).delete({
907
903
  security: [{ scheme: "bearer", type: "http" }],
908
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
904
+ url: "/v1/media/series/{id}",
909
905
  ...options
910
906
  });
911
- var getEpisode = (options) => (options.client ?? client).get({
907
+ var getSeries = (options) => (options.client ?? client).get({
912
908
  security: [{ scheme: "bearer", type: "http" }],
913
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
909
+ url: "/v1/media/series/{id}",
914
910
  ...options
915
911
  });
916
- var updateEpisode = (options) => (options.client ?? client).patch({
912
+ var updateSeries = (options) => (options.client ?? client).patch({
917
913
  security: [{ scheme: "bearer", type: "http" }],
918
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
914
+ url: "/v1/media/series/{id}",
919
915
  ...options,
920
916
  headers: {
921
917
  "Content-Type": "application/json",
922
918
  ...options.headers
923
919
  }
924
920
  });
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({
921
+ var addMediaToSeries = (options) => (options.client ?? client).post({
931
922
  security: [{ scheme: "bearer", type: "http" }],
932
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
923
+ url: "/v1/media/series/{id}/media",
933
924
  ...options,
934
925
  headers: {
935
926
  "Content-Type": "application/json",
936
927
  ...options.headers
937
928
  }
938
929
  });
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({
930
+ var removeMediaFromSeries = (options) => (options.client ?? client).delete({
945
931
  security: [{ scheme: "bearer", type: "http" }],
946
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
932
+ url: "/v1/media/series/{id}/media/{mediaId}",
947
933
  ...options
948
934
  });
949
- var updateSegment = (options) => (options.client ?? client).patch({
935
+ var updateSeriesMedia = (options) => (options.client ?? client).patch({
950
936
  security: [{ scheme: "bearer", type: "http" }],
951
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
937
+ url: "/v1/media/series/{id}/media/{mediaId}",
952
938
  ...options,
953
939
  headers: {
954
940
  "Content-Type": "application/json",
955
941
  ...options.headers
956
942
  }
957
943
  });
958
- var getSegmentByUuid = (options) => (options.client ?? client).get({
944
+ var getCharacter = (options) => (options.client ?? client).get({
959
945
  security: [{ scheme: "bearer", type: "http" }],
960
- url: "/v1/media/segments/{uuid}",
946
+ url: "/v1/media/characters/{id}",
961
947
  ...options
962
948
  });
963
- var getSegmentContext = (options) => (options.client ?? client).get({
949
+ var getSeiyuu = (options) => (options.client ?? client).get({
964
950
  security: [{ scheme: "bearer", type: "http" }],
965
- url: "/v1/media/segments/{uuid}/context",
951
+ url: "/v1/media/seiyuu/{id}",
966
952
  ...options
967
953
  });
968
- var listSeries = (options) => (options?.client ?? client).get({
969
- security: [{ scheme: "bearer", type: "http" }, {
970
- in: "cookie",
971
- name: "nadeshiko.session_token",
972
- type: "apiKey"
973
- }],
974
- url: "/v1/media/series",
954
+ var deleteMedia = (options) => (options.client ?? client).delete({
955
+ security: [{ scheme: "bearer", type: "http" }],
956
+ url: "/v1/media/{id}",
975
957
  ...options
976
958
  });
977
- var createSeries = (options) => (options.client ?? client).post({
959
+ var getMedia = (options) => (options.client ?? client).get({
978
960
  security: [{ scheme: "bearer", type: "http" }],
979
- url: "/v1/media/series",
961
+ url: "/v1/media/{id}",
962
+ ...options
963
+ });
964
+ var updateMedia = (options) => (options.client ?? client).patch({
965
+ security: [{ scheme: "bearer", type: "http" }],
966
+ url: "/v1/media/{id}",
980
967
  ...options,
981
968
  headers: {
982
969
  "Content-Type": "application/json",
983
970
  ...options.headers
984
971
  }
985
972
  });
986
- var deleteSeries = (options) => (options.client ?? client).delete({
973
+ var listEpisodes = (options) => (options.client ?? client).get({
987
974
  security: [{ scheme: "bearer", type: "http" }],
988
- url: "/v1/media/series/{id}",
989
- ...options
990
- });
991
- var getSeries = (options) => (options.client ?? client).get({
992
- security: [{ scheme: "bearer", type: "http" }, {
993
- in: "cookie",
994
- name: "nadeshiko.session_token",
995
- type: "apiKey"
996
- }],
997
- url: "/v1/media/series/{id}",
975
+ url: "/v1/media/{mediaId}/episodes",
998
976
  ...options
999
977
  });
1000
- var updateSeries = (options) => (options.client ?? client).patch({
978
+ var createEpisode = (options) => (options.client ?? client).post({
1001
979
  security: [{ scheme: "bearer", type: "http" }],
1002
- url: "/v1/media/series/{id}",
980
+ url: "/v1/media/{mediaId}/episodes",
1003
981
  ...options,
1004
982
  headers: {
1005
983
  "Content-Type": "application/json",
1006
984
  ...options.headers
1007
985
  }
1008
986
  });
1009
- var addMediaToSeries = (options) => (options.client ?? client).post({
987
+ var deleteEpisode = (options) => (options.client ?? client).delete({
1010
988
  security: [{ scheme: "bearer", type: "http" }],
1011
- url: "/v1/media/series/{id}/media",
989
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
990
+ ...options
991
+ });
992
+ var getEpisode = (options) => (options.client ?? client).get({
993
+ security: [{ scheme: "bearer", type: "http" }],
994
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
995
+ ...options
996
+ });
997
+ var updateEpisode = (options) => (options.client ?? client).patch({
998
+ security: [{ scheme: "bearer", type: "http" }],
999
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1012
1000
  ...options,
1013
1001
  headers: {
1014
1002
  "Content-Type": "application/json",
1015
1003
  ...options.headers
1016
1004
  }
1017
1005
  });
1018
- var removeMediaFromSeries = (options) => (options.client ?? client).delete({
1006
+ var listSegments = (options) => (options.client ?? client).get({
1019
1007
  security: [{ scheme: "bearer", type: "http" }],
1020
- url: "/v1/media/series/{id}/media/{mediaId}",
1008
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1021
1009
  ...options
1022
1010
  });
1023
- var updateSeriesMedia = (options) => (options.client ?? client).patch({
1011
+ var createSegment = (options) => (options.client ?? client).post({
1024
1012
  security: [{ scheme: "bearer", type: "http" }],
1025
- url: "/v1/media/series/{id}/media/{mediaId}",
1013
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1026
1014
  ...options,
1027
1015
  headers: {
1028
1016
  "Content-Type": "application/json",
1029
1017
  ...options.headers
1030
1018
  }
1031
1019
  });
1032
- var getCharacter = (options) => (options.client ?? client).get({
1020
+ var deleteSegment = (options) => (options.client ?? client).delete({
1033
1021
  security: [{ scheme: "bearer", type: "http" }],
1034
- url: "/v1/media/characters/{id}",
1022
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1035
1023
  ...options
1036
1024
  });
1037
- var getSeiyuu = (options) => (options.client ?? client).get({
1025
+ var getSegment = (options) => (options.client ?? client).get({
1038
1026
  security: [{ scheme: "bearer", type: "http" }],
1039
- url: "/v1/media/seiyuu/{id}",
1027
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1040
1028
  ...options
1041
1029
  });
1042
- var getUserQuota = (options) => (options?.client ?? client).get({
1043
- security: [{
1044
- in: "cookie",
1045
- name: "nadeshiko.session_token",
1046
- type: "apiKey"
1047
- }, { scheme: "bearer", type: "http" }],
1048
- url: "/v1/user/quota",
1049
- ...options
1030
+ var updateSegment = (options) => (options.client ?? client).patch({
1031
+ security: [{ scheme: "bearer", type: "http" }],
1032
+ url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1033
+ ...options,
1034
+ headers: {
1035
+ "Content-Type": "application/json",
1036
+ ...options.headers
1037
+ }
1050
1038
  });
1051
- var listUserReports = (options) => (options?.client ?? client).get({
1039
+ var getUserQuota = (options) => (options?.client ?? client).get({
1052
1040
  security: [{
1053
1041
  in: "cookie",
1054
1042
  name: "nadeshiko.session_token",
1055
1043
  type: "apiKey"
1056
1044
  }],
1057
- url: "/v1/user/reports",
1045
+ url: "/v1/user/quota",
1058
1046
  ...options
1059
1047
  });
1060
1048
  var createUserReport = (options) => (options.client ?? client).post({
@@ -1110,6 +1098,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
1110
1098
  url: "/v1/user/activity",
1111
1099
  ...options
1112
1100
  });
1101
+ var trackUserActivity = (options) => (options.client ?? client).post({
1102
+ security: [{
1103
+ in: "cookie",
1104
+ name: "nadeshiko.session_token",
1105
+ type: "apiKey"
1106
+ }],
1107
+ url: "/v1/user/activity",
1108
+ ...options,
1109
+ headers: {
1110
+ "Content-Type": "application/json",
1111
+ ...options.headers
1112
+ }
1113
+ });
1113
1114
  var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1114
1115
  security: [{
1115
1116
  in: "cookie",
@@ -1128,6 +1129,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
1128
1129
  url: "/v1/user/activity/stats",
1129
1130
  ...options
1130
1131
  });
1132
+ var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
1133
+ security: [{
1134
+ in: "cookie",
1135
+ name: "nadeshiko.session_token",
1136
+ type: "apiKey"
1137
+ }],
1138
+ url: "/v1/user/activity/date/{date}",
1139
+ ...options
1140
+ });
1141
+ var deleteUserActivityById = (options) => (options.client ?? client).delete({
1142
+ security: [{
1143
+ in: "cookie",
1144
+ name: "nadeshiko.session_token",
1145
+ type: "apiKey"
1146
+ }],
1147
+ url: "/v1/user/activity/{id}",
1148
+ ...options
1149
+ });
1131
1150
  var exportUserData = (options) => (options?.client ?? client).get({
1132
1151
  security: [{
1133
1152
  in: "cookie",
@@ -1146,6 +1165,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
1146
1165
  url: "/v1/user/labs",
1147
1166
  ...options
1148
1167
  });
1168
+ var unenrollUserLab = (options) => (options.client ?? client).delete({
1169
+ security: [{
1170
+ in: "cookie",
1171
+ name: "nadeshiko.session_token",
1172
+ type: "apiKey"
1173
+ }],
1174
+ url: "/v1/user/labs/{key}",
1175
+ ...options
1176
+ });
1177
+ var enrollUserLab = (options) => (options.client ?? client).post({
1178
+ security: [{
1179
+ in: "cookie",
1180
+ name: "nadeshiko.session_token",
1181
+ type: "apiKey"
1182
+ }],
1183
+ url: "/v1/user/labs/{key}",
1184
+ ...options
1185
+ });
1149
1186
  var listCollections = (options) => (options?.client ?? client).get({
1150
1187
  security: [{
1151
1188
  in: "cookie",
@@ -1234,6 +1271,24 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
1234
1271
  ...options.headers
1235
1272
  }
1236
1273
  });
1274
+ var searchCollectionSegments = (options) => (options.client ?? client).get({
1275
+ security: [{
1276
+ in: "cookie",
1277
+ name: "nadeshiko.session_token",
1278
+ type: "apiKey"
1279
+ }],
1280
+ url: "/v1/collections/{id}/search",
1281
+ ...options
1282
+ });
1283
+ var getCollectionStats = (options) => (options.client ?? client).get({
1284
+ security: [{
1285
+ in: "cookie",
1286
+ name: "nadeshiko.session_token",
1287
+ type: "apiKey"
1288
+ }],
1289
+ url: "/v1/collections/{id}/stats",
1290
+ ...options
1291
+ });
1237
1292
  var getAdminDashboard = (options) => (options?.client ?? client).get({
1238
1293
  security: [{ scheme: "bearer", type: "http" }],
1239
1294
  url: "/v1/admin/dashboard",
@@ -1278,6 +1333,28 @@ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1278
1333
  url: "/v1/admin/queues/{queueName}/purge",
1279
1334
  ...options
1280
1335
  });
1336
+ var clearAdminImpersonation = (options) => (options?.client ?? client).delete({
1337
+ security: [{
1338
+ in: "cookie",
1339
+ name: "nadeshiko.session_token",
1340
+ type: "apiKey"
1341
+ }],
1342
+ url: "/v1/admin/impersonation",
1343
+ ...options
1344
+ });
1345
+ var impersonateAdminUser = (options) => (options.client ?? client).post({
1346
+ security: [{
1347
+ in: "cookie",
1348
+ name: "nadeshiko.session_token",
1349
+ type: "apiKey"
1350
+ }],
1351
+ url: "/v1/admin/impersonation",
1352
+ ...options,
1353
+ headers: {
1354
+ "Content-Type": "application/json",
1355
+ ...options.headers
1356
+ }
1357
+ });
1281
1358
  var listAdminReports = (options) => (options?.client ?? client).get({
1282
1359
  security: [{ scheme: "bearer", type: "http" }],
1283
1360
  url: "/v1/admin/reports",
@@ -1292,52 +1369,33 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
1292
1369
  ...options.headers
1293
1370
  }
1294
1371
  });
1295
- var runAdminReview = (options) => (options?.client ?? client).post({
1372
+ var listAdminMediaAudits = (options) => (options?.client ?? client).get({
1296
1373
  security: [{ scheme: "bearer", type: "http" }],
1297
- url: "/v1/admin/review/run",
1374
+ url: "/v1/admin/media/audits",
1298
1375
  ...options
1299
1376
  });
1300
- var listAdminReviewChecks = (options) => (options?.client ?? client).get({
1377
+ var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1301
1378
  security: [{ scheme: "bearer", type: "http" }],
1302
- url: "/v1/admin/review/checks",
1303
- ...options
1304
- });
1305
- var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
1306
- security: [{ scheme: "bearer", type: "http" }],
1307
- url: "/v1/admin/review/checks/{name}",
1379
+ url: "/v1/admin/media/audits/{name}",
1308
1380
  ...options,
1309
1381
  headers: {
1310
1382
  "Content-Type": "application/json",
1311
1383
  ...options.headers
1312
1384
  }
1313
1385
  });
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({
1386
+ var runAdminMediaAudit = (options) => (options.client ?? client).post({
1320
1387
  security: [{ scheme: "bearer", type: "http" }],
1321
- url: "/v1/admin/review/runs/{id}",
1388
+ url: "/v1/admin/media/audits/{name}/run",
1322
1389
  ...options
1323
1390
  });
1324
- var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
1391
+ var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
1325
1392
  security: [{ scheme: "bearer", type: "http" }],
1326
- url: "/v1/admin/review/allowlist",
1393
+ url: "/v1/admin/media/audits/runs",
1327
1394
  ...options
1328
1395
  });
1329
- var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
1396
+ var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
1330
1397
  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}",
1398
+ url: "/v1/admin/media/audits/runs/{id}",
1341
1399
  ...options
1342
1400
  });
1343
1401
  // generated/dev/nadeshiko.gen.ts
@@ -1370,17 +1428,16 @@ function createNadeshikoClient(config) {
1370
1428
  getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
1371
1429
  searchWords: (options) => searchWords({ ...options, client: clientInstance }),
1372
1430
  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
1431
  getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
1378
1432
  getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
1379
1433
  listSeries: (options) => listSeries({ ...options, client: clientInstance }),
1380
1434
  getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1381
1435
  getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1382
1436
  getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1383
- getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
1437
+ getMedia: (options) => getMedia({ ...options, client: clientInstance }),
1438
+ listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
1439
+ getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
1440
+ getSegment: (options) => getSegment({ ...options, client: clientInstance }),
1384
1441
  listCollections: (options) => listCollections({ ...options, client: clientInstance }),
1385
1442
  createCollection: (options) => createCollection({ ...options, client: clientInstance }),
1386
1443
  getCollection: (options) => getCollection({ ...options, client: clientInstance }),
@@ -1389,24 +1446,17 @@ function createNadeshikoClient(config) {
1389
1446
  addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
1390
1447
  updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
1391
1448
  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 }),
1449
+ searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
1450
+ getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
1408
1451
  createMedia: (options) => createMedia({ ...options, client: clientInstance }),
1409
1452
  autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
1453
+ updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
1454
+ createSeries: (options) => createSeries({ ...options, client: clientInstance }),
1455
+ updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
1456
+ deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
1457
+ addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1458
+ updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1459
+ removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1410
1460
  updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
1411
1461
  deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
1412
1462
  createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
@@ -1416,24 +1466,38 @@ function createNadeshikoClient(config) {
1416
1466
  createSegment: (options) => createSegment({ ...options, client: clientInstance }),
1417
1467
  updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
1418
1468
  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 }),
1469
+ getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
1425
1470
  createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
1426
- listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
1427
1471
  getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
1428
1472
  updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
1429
1473
  listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
1474
+ trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
1430
1475
  deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
1431
1476
  getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
1432
1477
  getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
1478
+ deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
1479
+ deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
1433
1480
  exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
1434
1481
  listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
1482
+ enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
1483
+ unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
1435
1484
  getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1436
- getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1485
+ getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
1486
+ triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
1487
+ listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
1488
+ getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
1489
+ listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
1490
+ retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
1491
+ purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
1492
+ impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
1493
+ clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
1494
+ listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
1495
+ updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
1496
+ listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
1497
+ updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
1498
+ runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
1499
+ listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
1500
+ getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance })
1437
1501
  };
1438
1502
  }
1439
1503
  // generated/dev/internal/media.gen.ts
@@ -1441,6 +1505,7 @@ var exports_media_gen = {};
1441
1505
  __export(exports_media_gen, {
1442
1506
  updateSeriesMedia: () => updateSeriesMedia,
1443
1507
  updateSeries: () => updateSeries,
1508
+ updateSegmentByUuid: () => updateSegmentByUuid,
1444
1509
  updateSegment: () => updateSegment,
1445
1510
  updateMedia: () => updateMedia,
1446
1511
  updateEpisode: () => updateEpisode,
@@ -1461,44 +1526,67 @@ __export(exports_media_gen, {
1461
1526
  var exports_user_gen = {};
1462
1527
  __export(exports_user_gen, {
1463
1528
  updateUserPreferences: () => updateUserPreferences,
1464
- listUserReports: () => listUserReports,
1529
+ unenrollUserLab: () => unenrollUserLab,
1530
+ trackUserActivity: () => trackUserActivity,
1465
1531
  listUserLabs: () => listUserLabs,
1466
1532
  listUserActivity: () => listUserActivity,
1533
+ getUserQuota: () => getUserQuota,
1467
1534
  getUserPreferences: () => getUserPreferences,
1468
1535
  getUserActivityStats: () => getUserActivityStats,
1469
1536
  getUserActivityHeatmap: () => getUserActivityHeatmap,
1470
1537
  exportUserData: () => exportUserData,
1538
+ enrollUserLab: () => enrollUserLab,
1539
+ deleteUserActivityById: () => deleteUserActivityById,
1540
+ deleteUserActivityByDate: () => deleteUserActivityByDate,
1471
1541
  deleteUserActivity: () => deleteUserActivity,
1472
1542
  createUserReport: () => createUserReport
1473
1543
  });
1474
1544
  // generated/dev/internal/admin.gen.ts
1475
1545
  var exports_admin_gen = {};
1476
1546
  __export(exports_admin_gen, {
1547
+ updateAdminReport: () => updateAdminReport,
1548
+ updateAdminMediaAudit: () => updateAdminMediaAudit,
1549
+ triggerReindex: () => triggerReindex,
1550
+ runAdminMediaAudit: () => runAdminMediaAudit,
1551
+ retryAdminQueueFailed: () => retryAdminQueueFailed,
1552
+ purgeAdminQueueFailed: () => purgeAdminQueueFailed,
1553
+ listAdminReports: () => listAdminReports,
1554
+ listAdminQueueStats: () => listAdminQueueStats,
1555
+ listAdminQueueFailed: () => listAdminQueueFailed,
1556
+ listAdminMediaAudits: () => listAdminMediaAudits,
1557
+ listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
1558
+ impersonateAdminUser: () => impersonateAdminUser,
1559
+ getAdminQueue: () => getAdminQueue,
1560
+ getAdminMediaAuditRun: () => getAdminMediaAuditRun,
1477
1561
  getAdminHealth: () => getAdminHealth,
1478
- getAdminDashboard: () => getAdminDashboard
1562
+ getAdminDashboard: () => getAdminDashboard,
1563
+ clearAdminImpersonation: () => clearAdminImpersonation
1479
1564
  });
1480
1565
  export {
1481
1566
  exports_user_gen as user,
1482
1567
  updateUserPreferences,
1483
1568
  updateSeriesMedia,
1484
1569
  updateSeries,
1570
+ updateSegmentByUuid,
1485
1571
  updateSegment,
1486
1572
  updateMedia,
1487
1573
  updateEpisode,
1488
1574
  updateCollectionSegment,
1489
1575
  updateCollection,
1490
- updateAdminReviewCheck,
1491
1576
  updateAdminReport,
1577
+ updateAdminMediaAudit,
1578
+ unenrollUserLab,
1492
1579
  triggerReindex,
1580
+ trackUserActivity,
1493
1581
  searchWords,
1582
+ searchCollectionSegments,
1494
1583
  search,
1495
- runAdminReview,
1584
+ runAdminMediaAudit,
1496
1585
  retryAdminQueueFailed,
1497
1586
  removeSegmentFromCollection,
1498
1587
  removeMediaFromSeries,
1499
1588
  purgeAdminQueueFailed,
1500
1589
  exports_media_gen as media,
1501
- listUserReports,
1502
1590
  listUserLabs,
1503
1591
  listUserActivity,
1504
1592
  listSeries,
@@ -1506,12 +1594,12 @@ export {
1506
1594
  listMedia,
1507
1595
  listEpisodes,
1508
1596
  listCollections,
1509
- listAdminReviewRuns,
1510
- listAdminReviewChecks,
1511
- listAdminReviewAllowlist,
1512
1597
  listAdminReports,
1513
1598
  listAdminQueueStats,
1514
1599
  listAdminQueueFailed,
1600
+ listAdminMediaAudits,
1601
+ listAdminMediaAuditRuns,
1602
+ impersonateAdminUser,
1515
1603
  getUserQuota,
1516
1604
  getUserPreferences,
1517
1605
  getUserActivityStats,
@@ -1524,20 +1612,23 @@ export {
1524
1612
  getSearchStats,
1525
1613
  getMedia,
1526
1614
  getEpisode,
1615
+ getCollectionStats,
1527
1616
  getCollection,
1528
1617
  getCharacter,
1529
- getAdminReviewRun,
1530
1618
  getAdminQueue,
1619
+ getAdminMediaAuditRun,
1531
1620
  getAdminHealth,
1532
1621
  getAdminDashboard,
1533
1622
  exportUserData,
1623
+ enrollUserLab,
1624
+ deleteUserActivityById,
1625
+ deleteUserActivityByDate,
1534
1626
  deleteUserActivity,
1535
1627
  deleteSeries,
1536
1628
  deleteSegment,
1537
1629
  deleteMedia,
1538
1630
  deleteEpisode,
1539
1631
  deleteCollection,
1540
- deleteAdminReviewAllowlistEntry,
1541
1632
  createUserReport,
1542
1633
  createSeries,
1543
1634
  createSegment,
@@ -1545,13 +1636,13 @@ export {
1545
1636
  createMedia,
1546
1637
  createEpisode,
1547
1638
  createCollection,
1548
- createAdminReviewAllowlistEntry,
1549
1639
  client,
1640
+ clearAdminImpersonation,
1550
1641
  autocompleteMedia,
1551
1642
  exports_admin_gen as admin,
1552
1643
  addSegmentToCollection,
1553
1644
  addMediaToSeries
1554
1645
  };
1555
1646
 
1556
- //# debugId=AB5963794BD4F67864756E2164756E21
1647
+ //# debugId=B3130B9CEE1BCB7964756E2164756E21
1557
1648
  //# sourceMappingURL=index.js.map