@brigadasos/nadeshiko-sdk 1.4.0-dev.c253525 → 1.4.3-dev.0ffbf39

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.
Files changed (39) hide show
  1. package/README.md +99 -2
  2. package/dist/client/client.gen.d.ts.map +1 -1
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/types.gen.d.ts.map +1 -1
  5. package/dist/client/utils.gen.d.ts.map +1 -1
  6. package/dist/client.gen.d.ts.map +1 -1
  7. package/dist/core/auth.gen.d.ts.map +1 -1
  8. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  9. package/dist/core/params.gen.d.ts.map +1 -1
  10. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  11. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  12. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  13. package/dist/core/types.gen.d.ts.map +1 -1
  14. package/dist/core/utils.gen.d.ts.map +1 -1
  15. package/dist/index.cjs +455 -246
  16. package/dist/index.cjs.map +5 -5
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +451 -242
  20. package/dist/index.js.map +5 -5
  21. package/dist/internal/admin.gen.d.ts +2 -0
  22. package/dist/internal/admin.gen.d.ts.map +1 -0
  23. package/dist/internal/media.gen.d.ts +1 -1
  24. package/dist/internal/media.gen.d.ts.map +1 -1
  25. package/dist/internal/user.gen.d.ts +2 -0
  26. package/dist/internal/user.gen.d.ts.map +1 -0
  27. package/dist/internal.gen.d.ts +2 -2
  28. package/dist/internal.gen.d.ts.map +1 -1
  29. package/dist/nadeshiko.gen.d.ts +75 -46
  30. package/dist/nadeshiko.gen.d.ts.map +1 -1
  31. package/dist/sdk.gen.d.ts +361 -172
  32. package/dist/sdk.gen.d.ts.map +1 -1
  33. package/dist/types.gen.d.ts +2905 -1742
  34. package/dist/types.gen.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/internal/lists.gen.d.ts +0 -2
  37. package/dist/internal/lists.gen.d.ts.map +0 -1
  38. package/dist/internal/search.gen.d.ts +0 -2
  39. package/dist/internal/search.gen.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -9,11 +9,11 @@ var __export = (target, all) => {
9
9
  });
10
10
  };
11
11
 
12
- // generated/internal/core/bodySerializer.gen.ts
12
+ // generated/dev/core/bodySerializer.gen.ts
13
13
  var jsonBodySerializer = {
14
14
  bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
15
15
  };
16
- // generated/internal/core/params.gen.ts
16
+ // generated/dev/core/params.gen.ts
17
17
  var extraPrefixesMap = {
18
18
  $body_: "body",
19
19
  $headers_: "headers",
@@ -21,7 +21,7 @@ var extraPrefixesMap = {
21
21
  $query_: "query"
22
22
  };
23
23
  var extraPrefixes = Object.entries(extraPrefixesMap);
24
- // generated/internal/core/serverSentEvents.gen.ts
24
+ // generated/dev/core/serverSentEvents.gen.ts
25
25
  var createSseClient = ({
26
26
  onRequest,
27
27
  onSseError,
@@ -157,7 +157,7 @@ var createSseClient = ({
157
157
  return { stream };
158
158
  };
159
159
 
160
- // generated/internal/core/pathSerializer.gen.ts
160
+ // generated/dev/core/pathSerializer.gen.ts
161
161
  var separatorArrayExplode = (style) => {
162
162
  switch (style) {
163
163
  case "label":
@@ -281,7 +281,7 @@ var serializeObjectParam = ({
281
281
  return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
282
282
  };
283
283
 
284
- // generated/internal/core/utils.gen.ts
284
+ // generated/dev/core/utils.gen.ts
285
285
  var PATH_PARAM_RE = /\{[^{}]+\}/g;
286
286
  var defaultPathSerializer = ({ path, url: _url }) => {
287
287
  let url = _url;
@@ -370,7 +370,7 @@ function getValidRequestBody(options) {
370
370
  return;
371
371
  }
372
372
 
373
- // generated/internal/core/auth.gen.ts
373
+ // generated/dev/core/auth.gen.ts
374
374
  var getAuthToken = async (auth, callback) => {
375
375
  const token = typeof callback === "function" ? await callback(auth) : callback;
376
376
  if (!token) {
@@ -385,7 +385,7 @@ var getAuthToken = async (auth, callback) => {
385
385
  return token;
386
386
  };
387
387
 
388
- // generated/internal/client/utils.gen.ts
388
+ // generated/dev/client/utils.gen.ts
389
389
  var createQuerySerializer = ({
390
390
  parameters = {},
391
391
  ...args
@@ -602,7 +602,7 @@ var createConfig = (override = {}) => ({
602
602
  ...override
603
603
  });
604
604
 
605
- // generated/internal/client/client.gen.ts
605
+ // generated/dev/client/client.gen.ts
606
606
  var createClient = (config = {}) => {
607
607
  let _config = mergeConfigs(createConfig(), config);
608
608
  const getConfig = () => ({ ..._config });
@@ -808,22 +808,17 @@ var createClient = (config = {}) => {
808
808
  trace: makeMethodFn("TRACE")
809
809
  };
810
810
  };
811
- // generated/internal/client.gen.ts
811
+ // generated/dev/client.gen.ts
812
812
  var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
813
813
 
814
- // generated/internal/sdk.gen.ts
815
- var healthCheck = (options) => (options?.client ?? client).get({
816
- security: [{ scheme: "bearer", type: "http" }],
817
- url: "/v1/health",
818
- ...options
819
- });
820
- var searchSegments = (options) => (options?.client ?? client).post({
814
+ // generated/dev/sdk.gen.ts
815
+ var search = (options) => (options?.client ?? client).post({
821
816
  security: [{ scheme: "bearer", type: "http" }, {
822
817
  in: "cookie",
823
818
  name: "nadeshiko.session_token",
824
819
  type: "apiKey"
825
820
  }],
826
- url: "/v1/search/segments",
821
+ url: "/v1/search",
827
822
  ...options,
828
823
  headers: {
829
824
  "Content-Type": "application/json",
@@ -856,34 +851,12 @@ var searchWords = (options) => (options.client ?? client).post({
856
851
  ...options.headers
857
852
  }
858
853
  });
859
- var getSegmentContext = (options) => (options.client ?? client).post({
860
- security: [{ scheme: "bearer", type: "http" }, {
861
- in: "cookie",
862
- name: "nadeshiko.session_token",
863
- type: "apiKey"
864
- }],
865
- url: "/v1/search/context",
866
- ...options,
867
- headers: {
868
- "Content-Type": "application/json",
869
- ...options.headers
870
- }
871
- });
872
- var browseMedia = (options) => (options?.client ?? client).get({
873
- security: [{ scheme: "bearer", type: "http" }, {
874
- in: "cookie",
875
- name: "nadeshiko.session_token",
876
- type: "apiKey"
877
- }],
878
- url: "/v1/media/browse",
879
- ...options
880
- });
881
- var mediaIndex = (options) => (options?.client ?? client).get({
854
+ var listMedia = (options) => (options?.client ?? client).get({
882
855
  security: [{ scheme: "bearer", type: "http" }],
883
856
  url: "/v1/media",
884
857
  ...options
885
858
  });
886
- var mediaCreate = (options) => (options.client ?? client).post({
859
+ var createMedia = (options) => (options.client ?? client).post({
887
860
  security: [{ scheme: "bearer", type: "http" }],
888
861
  url: "/v1/media",
889
862
  ...options,
@@ -892,17 +865,17 @@ var mediaCreate = (options) => (options.client ?? client).post({
892
865
  ...options.headers
893
866
  }
894
867
  });
895
- var mediaDestroy = (options) => (options.client ?? client).delete({
868
+ var deleteMedia = (options) => (options.client ?? client).delete({
896
869
  security: [{ scheme: "bearer", type: "http" }],
897
870
  url: "/v1/media/{id}",
898
871
  ...options
899
872
  });
900
- var mediaShow = (options) => (options.client ?? client).get({
873
+ var getMedia = (options) => (options.client ?? client).get({
901
874
  security: [{ scheme: "bearer", type: "http" }],
902
875
  url: "/v1/media/{id}",
903
876
  ...options
904
877
  });
905
- var mediaUpdate = (options) => (options.client ?? client).patch({
878
+ var updateMedia = (options) => (options.client ?? client).patch({
906
879
  security: [{ scheme: "bearer", type: "http" }],
907
880
  url: "/v1/media/{id}",
908
881
  ...options,
@@ -911,12 +884,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
911
884
  ...options.headers
912
885
  }
913
886
  });
914
- var episodeIndex = (options) => (options.client ?? client).get({
887
+ var listEpisodes = (options) => (options.client ?? client).get({
915
888
  security: [{ scheme: "bearer", type: "http" }],
916
889
  url: "/v1/media/{mediaId}/episodes",
917
890
  ...options
918
891
  });
919
- var episodeCreate = (options) => (options.client ?? client).post({
892
+ var createEpisode = (options) => (options.client ?? client).post({
920
893
  security: [{ scheme: "bearer", type: "http" }],
921
894
  url: "/v1/media/{mediaId}/episodes",
922
895
  ...options,
@@ -925,17 +898,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
925
898
  ...options.headers
926
899
  }
927
900
  });
928
- var episodeDestroy = (options) => (options.client ?? client).delete({
901
+ var deleteEpisode = (options) => (options.client ?? client).delete({
929
902
  security: [{ scheme: "bearer", type: "http" }],
930
903
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
931
904
  ...options
932
905
  });
933
- var episodeShow = (options) => (options.client ?? client).get({
906
+ var getEpisode = (options) => (options.client ?? client).get({
934
907
  security: [{ scheme: "bearer", type: "http" }],
935
908
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
936
909
  ...options
937
910
  });
938
- var episodeUpdate = (options) => (options.client ?? client).patch({
911
+ var updateEpisode = (options) => (options.client ?? client).patch({
939
912
  security: [{ scheme: "bearer", type: "http" }],
940
913
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
941
914
  ...options,
@@ -944,12 +917,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
944
917
  ...options.headers
945
918
  }
946
919
  });
947
- var segmentIndex = (options) => (options.client ?? client).get({
920
+ var listSegments = (options) => (options.client ?? client).get({
948
921
  security: [{ scheme: "bearer", type: "http" }],
949
922
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
950
923
  ...options
951
924
  });
952
- var segmentCreate = (options) => (options.client ?? client).post({
925
+ var createSegment = (options) => (options.client ?? client).post({
953
926
  security: [{ scheme: "bearer", type: "http" }],
954
927
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
955
928
  ...options,
@@ -958,17 +931,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
958
931
  ...options.headers
959
932
  }
960
933
  });
961
- var segmentDestroy = (options) => (options.client ?? client).delete({
934
+ var deleteSegment = (options) => (options.client ?? client).delete({
962
935
  security: [{ scheme: "bearer", type: "http" }],
963
936
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
964
937
  ...options
965
938
  });
966
- var segmentShow = (options) => (options.client ?? client).get({
939
+ var getSegment = (options) => (options.client ?? client).get({
967
940
  security: [{ scheme: "bearer", type: "http" }],
968
941
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
969
942
  ...options
970
943
  });
971
- var segmentUpdate = (options) => (options.client ?? client).patch({
944
+ var updateSegment = (options) => (options.client ?? client).patch({
972
945
  security: [{ scheme: "bearer", type: "http" }],
973
946
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
974
947
  ...options,
@@ -977,17 +950,86 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
977
950
  ...options.headers
978
951
  }
979
952
  });
980
- var segmentShowByUuid = (options) => (options.client ?? client).get({
953
+ var getSegmentByUuid = (options) => (options.client ?? client).get({
981
954
  security: [{ scheme: "bearer", type: "http" }],
982
955
  url: "/v1/media/segments/{uuid}",
983
956
  ...options
984
957
  });
985
- var characterShow = (options) => (options.client ?? client).get({
958
+ var getSegmentContext = (options) => (options.client ?? client).get({
959
+ security: [{ scheme: "bearer", type: "http" }],
960
+ url: "/v1/media/segments/{uuid}/context",
961
+ ...options
962
+ });
963
+ var listSeries = (options) => (options?.client ?? client).get({
964
+ security: [{ scheme: "bearer", type: "http" }, {
965
+ in: "cookie",
966
+ name: "nadeshiko.session_token",
967
+ type: "apiKey"
968
+ }],
969
+ url: "/v1/media/series",
970
+ ...options
971
+ });
972
+ var createSeries = (options) => (options.client ?? client).post({
973
+ security: [{ scheme: "bearer", type: "http" }],
974
+ url: "/v1/media/series",
975
+ ...options,
976
+ headers: {
977
+ "Content-Type": "application/json",
978
+ ...options.headers
979
+ }
980
+ });
981
+ var deleteSeries = (options) => (options.client ?? client).delete({
982
+ security: [{ scheme: "bearer", type: "http" }],
983
+ url: "/v1/media/series/{id}",
984
+ ...options
985
+ });
986
+ var getSeries = (options) => (options.client ?? client).get({
987
+ security: [{ scheme: "bearer", type: "http" }, {
988
+ in: "cookie",
989
+ name: "nadeshiko.session_token",
990
+ type: "apiKey"
991
+ }],
992
+ url: "/v1/media/series/{id}",
993
+ ...options
994
+ });
995
+ var updateSeries = (options) => (options.client ?? client).patch({
996
+ security: [{ scheme: "bearer", type: "http" }],
997
+ url: "/v1/media/series/{id}",
998
+ ...options,
999
+ headers: {
1000
+ "Content-Type": "application/json",
1001
+ ...options.headers
1002
+ }
1003
+ });
1004
+ var addMediaToSeries = (options) => (options.client ?? client).post({
1005
+ security: [{ scheme: "bearer", type: "http" }],
1006
+ url: "/v1/media/series/{id}/media",
1007
+ ...options,
1008
+ headers: {
1009
+ "Content-Type": "application/json",
1010
+ ...options.headers
1011
+ }
1012
+ });
1013
+ var removeMediaFromSeries = (options) => (options.client ?? client).delete({
1014
+ security: [{ scheme: "bearer", type: "http" }],
1015
+ url: "/v1/media/series/{id}/media/{mediaId}",
1016
+ ...options
1017
+ });
1018
+ var updateSeriesMedia = (options) => (options.client ?? client).patch({
1019
+ security: [{ scheme: "bearer", type: "http" }],
1020
+ url: "/v1/media/series/{id}/media/{mediaId}",
1021
+ ...options,
1022
+ headers: {
1023
+ "Content-Type": "application/json",
1024
+ ...options.headers
1025
+ }
1026
+ });
1027
+ var getCharacter = (options) => (options.client ?? client).get({
986
1028
  security: [{ scheme: "bearer", type: "http" }],
987
1029
  url: "/v1/media/characters/{id}",
988
1030
  ...options
989
1031
  });
990
- var seiyuuShow = (options) => (options.client ?? client).get({
1032
+ var getSeiyuu = (options) => (options.client ?? client).get({
991
1033
  security: [{ scheme: "bearer", type: "http" }],
992
1034
  url: "/v1/media/seiyuu/{id}",
993
1035
  ...options
@@ -997,11 +1039,11 @@ var getUserQuota = (options) => (options?.client ?? client).get({
997
1039
  in: "cookie",
998
1040
  name: "nadeshiko.session_token",
999
1041
  type: "apiKey"
1000
- }],
1042
+ }, { scheme: "bearer", type: "http" }],
1001
1043
  url: "/v1/user/quota",
1002
1044
  ...options
1003
1045
  });
1004
- var getUserReports = (options) => (options?.client ?? client).get({
1046
+ var listUserReports = (options) => (options?.client ?? client).get({
1005
1047
  security: [{
1006
1048
  in: "cookie",
1007
1049
  name: "nadeshiko.session_token",
@@ -1010,7 +1052,7 @@ var getUserReports = (options) => (options?.client ?? client).get({
1010
1052
  url: "/v1/user/reports",
1011
1053
  ...options
1012
1054
  });
1013
- var createReport = (options) => (options.client ?? client).post({
1055
+ var createUserReport = (options) => (options.client ?? client).post({
1014
1056
  security: [{
1015
1057
  in: "cookie",
1016
1058
  name: "nadeshiko.session_token",
@@ -1023,107 +1065,181 @@ var createReport = (options) => (options.client ?? client).post({
1023
1065
  ...options.headers
1024
1066
  }
1025
1067
  });
1026
- var listIndex = (options) => (options?.client ?? client).get({
1027
- security: [{ scheme: "bearer", type: "http" }],
1028
- url: "/v1/lists",
1068
+ var getUserPreferences = (options) => (options?.client ?? client).get({
1069
+ security: [{
1070
+ in: "cookie",
1071
+ name: "nadeshiko.session_token",
1072
+ type: "apiKey"
1073
+ }],
1074
+ url: "/v1/user/preferences",
1029
1075
  ...options
1030
1076
  });
1031
- var listCreate = (options) => (options.client ?? client).post({
1032
- security: [{ scheme: "bearer", type: "http" }],
1033
- url: "/v1/lists",
1077
+ var updateUserPreferences = (options) => (options.client ?? client).patch({
1078
+ security: [{
1079
+ in: "cookie",
1080
+ name: "nadeshiko.session_token",
1081
+ type: "apiKey"
1082
+ }],
1083
+ url: "/v1/user/preferences",
1034
1084
  ...options,
1035
1085
  headers: {
1036
1086
  "Content-Type": "application/json",
1037
1087
  ...options.headers
1038
1088
  }
1039
1089
  });
1040
- var listDestroy = (options) => (options.client ?? client).delete({
1041
- security: [{ scheme: "bearer", type: "http" }],
1042
- url: "/v1/lists/{id}",
1090
+ var deleteUserActivity = (options) => (options?.client ?? client).delete({
1091
+ security: [{
1092
+ in: "cookie",
1093
+ name: "nadeshiko.session_token",
1094
+ type: "apiKey"
1095
+ }],
1096
+ url: "/v1/user/activity",
1043
1097
  ...options
1044
1098
  });
1045
- var listShow = (options) => (options.client ?? client).get({
1046
- security: [{ scheme: "bearer", type: "http" }],
1047
- url: "/v1/lists/{id}",
1099
+ var listUserActivity = (options) => (options?.client ?? client).get({
1100
+ security: [{
1101
+ in: "cookie",
1102
+ name: "nadeshiko.session_token",
1103
+ type: "apiKey"
1104
+ }],
1105
+ url: "/v1/user/activity",
1048
1106
  ...options
1049
1107
  });
1050
- var listUpdate = (options) => (options.client ?? client).patch({
1051
- security: [{ scheme: "bearer", type: "http" }],
1052
- url: "/v1/lists/{id}",
1053
- ...options,
1054
- headers: {
1055
- "Content-Type": "application/json",
1056
- ...options.headers
1057
- }
1108
+ var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1109
+ security: [{
1110
+ in: "cookie",
1111
+ name: "nadeshiko.session_token",
1112
+ type: "apiKey"
1113
+ }],
1114
+ url: "/v1/user/activity/heatmap",
1115
+ ...options
1058
1116
  });
1059
- var listAddItem = (options) => (options.client ?? client).post({
1060
- security: [{ scheme: "bearer", type: "http" }],
1061
- url: "/v1/lists/{id}/items",
1062
- ...options,
1063
- headers: {
1064
- "Content-Type": "application/json",
1065
- ...options.headers
1066
- }
1117
+ var getUserActivityStats = (options) => (options?.client ?? client).get({
1118
+ security: [{
1119
+ in: "cookie",
1120
+ name: "nadeshiko.session_token",
1121
+ type: "apiKey"
1122
+ }],
1123
+ url: "/v1/user/activity/stats",
1124
+ ...options
1067
1125
  });
1068
- var listRemoveItem = (options) => (options.client ?? client).delete({
1069
- security: [{ scheme: "bearer", type: "http" }],
1070
- url: "/v1/lists/{id}/items/{mediaId}",
1126
+ var exportUserData = (options) => (options?.client ?? client).get({
1127
+ security: [{
1128
+ in: "cookie",
1129
+ name: "nadeshiko.session_token",
1130
+ type: "apiKey"
1131
+ }],
1132
+ url: "/v1/user/export",
1071
1133
  ...options
1072
1134
  });
1073
- var listUpdateItem = (options) => (options.client ?? client).patch({
1074
- security: [{ scheme: "bearer", type: "http" }],
1075
- url: "/v1/lists/{id}/items/{mediaId}",
1135
+ var listUserLabs = (options) => (options?.client ?? client).get({
1136
+ security: [{
1137
+ in: "cookie",
1138
+ name: "nadeshiko.session_token",
1139
+ type: "apiKey"
1140
+ }],
1141
+ url: "/v1/user/labs",
1142
+ ...options
1143
+ });
1144
+ var listCollections = (options) => (options?.client ?? client).get({
1145
+ security: [{
1146
+ in: "cookie",
1147
+ name: "nadeshiko.session_token",
1148
+ type: "apiKey"
1149
+ }],
1150
+ url: "/v1/collections",
1151
+ ...options
1152
+ });
1153
+ var createCollection = (options) => (options.client ?? client).post({
1154
+ security: [{
1155
+ in: "cookie",
1156
+ name: "nadeshiko.session_token",
1157
+ type: "apiKey"
1158
+ }],
1159
+ url: "/v1/collections",
1076
1160
  ...options,
1077
1161
  headers: {
1078
1162
  "Content-Type": "application/json",
1079
1163
  ...options.headers
1080
1164
  }
1081
1165
  });
1082
- var listGetSegments = (options) => (options.client ?? client).get({
1083
- security: [{ scheme: "bearer", type: "http" }, {
1166
+ var deleteCollection = (options) => (options.client ?? client).delete({
1167
+ security: [{
1084
1168
  in: "cookie",
1085
1169
  name: "nadeshiko.session_token",
1086
1170
  type: "apiKey"
1087
1171
  }],
1088
- url: "/v1/lists/{id}/segments",
1172
+ url: "/v1/collections/{id}",
1089
1173
  ...options
1090
1174
  });
1091
- var listAddSegment = (options) => (options.client ?? client).post({
1092
- security: [{ scheme: "bearer", type: "http" }, {
1175
+ var getCollection = (options) => (options.client ?? client).get({
1176
+ security: [{
1177
+ in: "cookie",
1178
+ name: "nadeshiko.session_token",
1179
+ type: "apiKey"
1180
+ }],
1181
+ url: "/v1/collections/{id}",
1182
+ ...options
1183
+ });
1184
+ var updateCollection = (options) => (options.client ?? client).patch({
1185
+ security: [{
1093
1186
  in: "cookie",
1094
1187
  name: "nadeshiko.session_token",
1095
1188
  type: "apiKey"
1096
1189
  }],
1097
- url: "/v1/lists/{id}/segments",
1190
+ url: "/v1/collections/{id}",
1098
1191
  ...options,
1099
1192
  headers: {
1100
1193
  "Content-Type": "application/json",
1101
1194
  ...options.headers
1102
1195
  }
1103
1196
  });
1104
- var listRemoveSegment = (options) => (options.client ?? client).delete({
1105
- security: [{ scheme: "bearer", type: "http" }, {
1197
+ var addSegmentToCollection = (options) => (options.client ?? client).post({
1198
+ security: [{
1106
1199
  in: "cookie",
1107
1200
  name: "nadeshiko.session_token",
1108
1201
  type: "apiKey"
1109
1202
  }],
1110
- url: "/v1/lists/{id}/segments/{uuid}",
1203
+ url: "/v1/collections/{id}/segments",
1204
+ ...options,
1205
+ headers: {
1206
+ "Content-Type": "application/json",
1207
+ ...options.headers
1208
+ }
1209
+ });
1210
+ var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
1211
+ security: [{
1212
+ in: "cookie",
1213
+ name: "nadeshiko.session_token",
1214
+ type: "apiKey"
1215
+ }],
1216
+ url: "/v1/collections/{id}/segments/{uuid}",
1111
1217
  ...options
1112
1218
  });
1113
- var listUpdateSegment = (options) => (options.client ?? client).patch({
1114
- security: [{ scheme: "bearer", type: "http" }, {
1219
+ var updateCollectionSegment = (options) => (options.client ?? client).patch({
1220
+ security: [{
1115
1221
  in: "cookie",
1116
1222
  name: "nadeshiko.session_token",
1117
1223
  type: "apiKey"
1118
1224
  }],
1119
- url: "/v1/lists/{id}/segments/{uuid}",
1225
+ url: "/v1/collections/{id}/segments/{uuid}",
1120
1226
  ...options,
1121
1227
  headers: {
1122
1228
  "Content-Type": "application/json",
1123
1229
  ...options.headers
1124
1230
  }
1125
1231
  });
1126
- var reindexElasticsearch = (options) => (options?.client ?? client).post({
1232
+ var getAdminDashboard = (options) => (options?.client ?? client).get({
1233
+ security: [{ scheme: "bearer", type: "http" }],
1234
+ url: "/v1/admin/dashboard",
1235
+ ...options
1236
+ });
1237
+ var getAdminHealth = (options) => (options?.client ?? client).get({
1238
+ security: [{ scheme: "bearer", type: "http" }],
1239
+ url: "/v1/admin/health",
1240
+ ...options
1241
+ });
1242
+ var triggerReindex = (options) => (options?.client ?? client).post({
1127
1243
  security: [{ scheme: "bearer", type: "http" }],
1128
1244
  url: "/v1/admin/reindex",
1129
1245
  ...options,
@@ -1132,46 +1248,37 @@ var reindexElasticsearch = (options) => (options?.client ?? client).post({
1132
1248
  ...options?.headers
1133
1249
  }
1134
1250
  });
1135
- var getQueueStats = (options) => (options?.client ?? client).get({
1251
+ var listAdminQueueStats = (options) => (options?.client ?? client).get({
1136
1252
  security: [{ scheme: "bearer", type: "http" }],
1137
1253
  url: "/v1/admin/queues/stats",
1138
1254
  ...options
1139
1255
  });
1140
- var getQueueDetails = (options) => (options.client ?? client).get({
1256
+ var getAdminQueue = (options) => (options.client ?? client).get({
1141
1257
  security: [{ scheme: "bearer", type: "http" }],
1142
1258
  url: "/v1/admin/queues/{queueName}",
1143
1259
  ...options
1144
1260
  });
1145
- var getFailedJobs = (options) => (options.client ?? client).get({
1261
+ var listAdminQueueFailed = (options) => (options.client ?? client).get({
1146
1262
  security: [{ scheme: "bearer", type: "http" }],
1147
1263
  url: "/v1/admin/queues/{queueName}/failed",
1148
1264
  ...options
1149
1265
  });
1150
- var retryQueueJobs = (options) => (options.client ?? client).post({
1266
+ var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1151
1267
  security: [{ scheme: "bearer", type: "http" }],
1152
1268
  url: "/v1/admin/queues/{queueName}/retry",
1153
1269
  ...options
1154
1270
  });
1155
- var purgeFailedJobs = (options) => (options.client ?? client).delete({
1271
+ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1156
1272
  security: [{ scheme: "bearer", type: "http" }],
1157
1273
  url: "/v1/admin/queues/{queueName}/purge",
1158
1274
  ...options
1159
1275
  });
1160
- var morphemeBackfill = (options) => (options?.client ?? client).post({
1161
- security: [{ scheme: "bearer", type: "http" }, {
1162
- in: "cookie",
1163
- name: "nadeshiko.session_token",
1164
- type: "apiKey"
1165
- }],
1166
- url: "/v1/admin/morpheme-backfill",
1167
- ...options
1168
- });
1169
- var getAdminReports = (options) => (options?.client ?? client).get({
1276
+ var listAdminReports = (options) => (options?.client ?? client).get({
1170
1277
  security: [{ scheme: "bearer", type: "http" }],
1171
1278
  url: "/v1/admin/reports",
1172
1279
  ...options
1173
1280
  });
1174
- var updateReport = (options) => (options.client ?? client).patch({
1281
+ var updateAdminReport = (options) => (options.client ?? client).patch({
1175
1282
  security: [{ scheme: "bearer", type: "http" }],
1176
1283
  url: "/v1/admin/reports/{id}",
1177
1284
  ...options,
@@ -1180,7 +1287,55 @@ var updateReport = (options) => (options.client ?? client).patch({
1180
1287
  ...options.headers
1181
1288
  }
1182
1289
  });
1183
- // generated/internal/nadeshiko.gen.ts
1290
+ var runAdminReview = (options) => (options?.client ?? client).post({
1291
+ security: [{ scheme: "bearer", type: "http" }],
1292
+ url: "/v1/admin/review/run",
1293
+ ...options
1294
+ });
1295
+ var listAdminReviewChecks = (options) => (options?.client ?? client).get({
1296
+ security: [{ scheme: "bearer", type: "http" }],
1297
+ url: "/v1/admin/review/checks",
1298
+ ...options
1299
+ });
1300
+ var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
1301
+ security: [{ scheme: "bearer", type: "http" }],
1302
+ url: "/v1/admin/review/checks/{name}",
1303
+ ...options,
1304
+ headers: {
1305
+ "Content-Type": "application/json",
1306
+ ...options.headers
1307
+ }
1308
+ });
1309
+ var listAdminReviewRuns = (options) => (options?.client ?? client).get({
1310
+ security: [{ scheme: "bearer", type: "http" }],
1311
+ url: "/v1/admin/review/runs",
1312
+ ...options
1313
+ });
1314
+ var getAdminReviewRun = (options) => (options.client ?? client).get({
1315
+ security: [{ scheme: "bearer", type: "http" }],
1316
+ url: "/v1/admin/review/runs/{id}",
1317
+ ...options
1318
+ });
1319
+ var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
1320
+ security: [{ scheme: "bearer", type: "http" }],
1321
+ url: "/v1/admin/review/allowlist",
1322
+ ...options
1323
+ });
1324
+ var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
1325
+ security: [{ scheme: "bearer", type: "http" }],
1326
+ url: "/v1/admin/review/allowlist",
1327
+ ...options,
1328
+ headers: {
1329
+ "Content-Type": "application/json",
1330
+ ...options.headers
1331
+ }
1332
+ });
1333
+ var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
1334
+ security: [{ scheme: "bearer", type: "http" }],
1335
+ url: "/v1/admin/review/allowlist/{id}",
1336
+ ...options
1337
+ });
1338
+ // generated/dev/nadeshiko.gen.ts
1184
1339
  var environments = {
1185
1340
  LOCAL: "http://localhost:5000/api",
1186
1341
  DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
@@ -1190,146 +1345,200 @@ function createNadeshikoClient(config) {
1190
1345
  const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl : environments.PRODUCTION;
1191
1346
  const clientInstance = createClient(createConfig({
1192
1347
  baseUrl,
1193
- headers: { Authorization: `Bearer ${config.apiKey}` }
1348
+ auth: (auth) => {
1349
+ if (auth.in === "cookie") {
1350
+ return config.sessionToken;
1351
+ }
1352
+ return config.apiKey;
1353
+ }
1194
1354
  }));
1195
1355
  return {
1196
1356
  client: clientInstance,
1197
- searchSegments: (options) => searchSegments({ ...options, client: clientInstance }),
1357
+ search: (options) => search({ ...options, client: clientInstance }),
1198
1358
  getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
1199
1359
  searchWords: (options) => searchWords({ ...options, client: clientInstance }),
1360
+ listMedia: (options) => listMedia({ ...options, client: clientInstance }),
1361
+ getMedia: (options) => getMedia({ ...options, client: clientInstance }),
1362
+ listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
1363
+ getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
1364
+ getSegment: (options) => getSegment({ ...options, client: clientInstance }),
1365
+ getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
1200
1366
  getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
1201
- browseMedia: (options) => browseMedia({ ...options, client: clientInstance }),
1202
- mediaIndex: (options) => mediaIndex({ ...options, client: clientInstance }),
1203
- mediaShow: (options) => mediaShow({ ...options, client: clientInstance }),
1204
- episodeIndex: (options) => episodeIndex({ ...options, client: clientInstance }),
1205
- episodeShow: (options) => episodeShow({ ...options, client: clientInstance }),
1206
- segmentShow: (options) => segmentShow({ ...options, client: clientInstance }),
1207
- segmentShowByUuid: (options) => segmentShowByUuid({ ...options, client: clientInstance }),
1208
- characterShow: (options) => characterShow({ ...options, client: clientInstance }),
1209
- seiyuuShow: (options) => seiyuuShow({ ...options, client: clientInstance }),
1367
+ listSeries: (options) => listSeries({ ...options, client: clientInstance }),
1368
+ getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1369
+ getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1370
+ getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1210
1371
  getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
1211
- createReport: (options) => createReport({ ...options, client: clientInstance }),
1212
- getUserReports: (options) => getUserReports({ ...options, client: clientInstance }),
1213
- listIndex: (options) => listIndex({ ...options, client: clientInstance }),
1214
- listShow: (options) => listShow({ ...options, client: clientInstance }),
1215
- listGetSegments: (options) => listGetSegments({ ...options, client: clientInstance }),
1216
- listAddSegment: (options) => listAddSegment({ ...options, client: clientInstance }),
1217
- listUpdateSegment: (options) => listUpdateSegment({ ...options, client: clientInstance }),
1218
- listRemoveSegment: (options) => listRemoveSegment({ ...options, client: clientInstance }),
1219
- reindexElasticsearch: (options) => reindexElasticsearch({ ...options, client: clientInstance }),
1220
- getQueueStats: (options) => getQueueStats({ ...options, client: clientInstance }),
1221
- getQueueDetails: (options) => getQueueDetails({ ...options, client: clientInstance }),
1222
- getFailedJobs: (options) => getFailedJobs({ ...options, client: clientInstance }),
1223
- retryQueueJobs: (options) => retryQueueJobs({ ...options, client: clientInstance }),
1224
- purgeFailedJobs: (options) => purgeFailedJobs({ ...options, client: clientInstance }),
1225
- morphemeBackfill: (options) => morphemeBackfill({ ...options, client: clientInstance }),
1226
- getAdminReports: (options) => getAdminReports({ ...options, client: clientInstance }),
1227
- updateReport: (options) => updateReport({ ...options, client: clientInstance }),
1228
- healthCheck: (options) => healthCheck({ ...options, client: clientInstance }),
1229
- mediaCreate: (options) => mediaCreate({ ...options, client: clientInstance }),
1230
- mediaUpdate: (options) => mediaUpdate({ ...options, client: clientInstance }),
1231
- mediaDestroy: (options) => mediaDestroy({ ...options, client: clientInstance }),
1232
- episodeCreate: (options) => episodeCreate({ ...options, client: clientInstance }),
1233
- episodeUpdate: (options) => episodeUpdate({ ...options, client: clientInstance }),
1234
- episodeDestroy: (options) => episodeDestroy({ ...options, client: clientInstance }),
1235
- segmentIndex: (options) => segmentIndex({ ...options, client: clientInstance }),
1236
- segmentCreate: (options) => segmentCreate({ ...options, client: clientInstance }),
1237
- segmentUpdate: (options) => segmentUpdate({ ...options, client: clientInstance }),
1238
- segmentDestroy: (options) => segmentDestroy({ ...options, client: clientInstance }),
1239
- listCreate: (options) => listCreate({ ...options, client: clientInstance }),
1240
- listUpdate: (options) => listUpdate({ ...options, client: clientInstance }),
1241
- listDestroy: (options) => listDestroy({ ...options, client: clientInstance }),
1242
- listAddItem: (options) => listAddItem({ ...options, client: clientInstance }),
1243
- listUpdateItem: (options) => listUpdateItem({ ...options, client: clientInstance }),
1244
- listRemoveItem: (options) => listRemoveItem({ ...options, client: clientInstance })
1372
+ listCollections: (options) => listCollections({ ...options, client: clientInstance }),
1373
+ createCollection: (options) => createCollection({ ...options, client: clientInstance }),
1374
+ getCollection: (options) => getCollection({ ...options, client: clientInstance }),
1375
+ updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
1376
+ deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
1377
+ addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
1378
+ updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
1379
+ removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
1380
+ triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
1381
+ listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
1382
+ getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
1383
+ listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
1384
+ retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
1385
+ purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
1386
+ listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
1387
+ updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
1388
+ runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
1389
+ listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
1390
+ updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
1391
+ listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
1392
+ getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
1393
+ listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
1394
+ createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
1395
+ deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
1396
+ createMedia: (options) => createMedia({ ...options, client: clientInstance }),
1397
+ updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
1398
+ deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
1399
+ createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
1400
+ updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
1401
+ deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
1402
+ listSegments: (options) => listSegments({ ...options, client: clientInstance }),
1403
+ createSegment: (options) => createSegment({ ...options, client: clientInstance }),
1404
+ updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
1405
+ deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
1406
+ createSeries: (options) => createSeries({ ...options, client: clientInstance }),
1407
+ updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
1408
+ deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
1409
+ addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1410
+ updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1411
+ removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1412
+ createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
1413
+ listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
1414
+ getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
1415
+ updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
1416
+ listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
1417
+ deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
1418
+ getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
1419
+ getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
1420
+ exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
1421
+ listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
1422
+ getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1423
+ getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1245
1424
  };
1246
1425
  }
1247
1426
  var createClient2 = createNadeshikoClient;
1248
- // generated/internal/internal/search.gen.ts
1249
- var exports_search_gen = {};
1250
- __export(exports_search_gen, {
1251
- healthCheck: () => healthCheck
1252
- });
1253
- // generated/internal/internal/media.gen.ts
1427
+ // generated/dev/internal/media.gen.ts
1254
1428
  var exports_media_gen = {};
1255
1429
  __export(exports_media_gen, {
1256
- segmentUpdate: () => segmentUpdate,
1257
- segmentIndex: () => segmentIndex,
1258
- segmentDestroy: () => segmentDestroy,
1259
- segmentCreate: () => segmentCreate,
1260
- mediaUpdate: () => mediaUpdate,
1261
- mediaDestroy: () => mediaDestroy,
1262
- mediaCreate: () => mediaCreate,
1263
- episodeUpdate: () => episodeUpdate,
1264
- episodeDestroy: () => episodeDestroy,
1265
- episodeCreate: () => episodeCreate
1266
- });
1267
- // generated/internal/internal/lists.gen.ts
1268
- var exports_lists_gen = {};
1269
- __export(exports_lists_gen, {
1270
- listUpdateItem: () => listUpdateItem,
1271
- listUpdate: () => listUpdate,
1272
- listRemoveItem: () => listRemoveItem,
1273
- listDestroy: () => listDestroy,
1274
- listCreate: () => listCreate,
1275
- listAddItem: () => listAddItem
1430
+ updateSeriesMedia: () => updateSeriesMedia,
1431
+ updateSeries: () => updateSeries,
1432
+ updateSegment: () => updateSegment,
1433
+ updateMedia: () => updateMedia,
1434
+ updateEpisode: () => updateEpisode,
1435
+ removeMediaFromSeries: () => removeMediaFromSeries,
1436
+ listSegments: () => listSegments,
1437
+ deleteSeries: () => deleteSeries,
1438
+ deleteSegment: () => deleteSegment,
1439
+ deleteMedia: () => deleteMedia,
1440
+ deleteEpisode: () => deleteEpisode,
1441
+ createSeries: () => createSeries,
1442
+ createSegment: () => createSegment,
1443
+ createMedia: () => createMedia,
1444
+ createEpisode: () => createEpisode,
1445
+ addMediaToSeries: () => addMediaToSeries
1446
+ });
1447
+ // generated/dev/internal/user.gen.ts
1448
+ var exports_user_gen = {};
1449
+ __export(exports_user_gen, {
1450
+ updateUserPreferences: () => updateUserPreferences,
1451
+ listUserReports: () => listUserReports,
1452
+ listUserLabs: () => listUserLabs,
1453
+ listUserActivity: () => listUserActivity,
1454
+ getUserPreferences: () => getUserPreferences,
1455
+ getUserActivityStats: () => getUserActivityStats,
1456
+ getUserActivityHeatmap: () => getUserActivityHeatmap,
1457
+ exportUserData: () => exportUserData,
1458
+ deleteUserActivity: () => deleteUserActivity,
1459
+ createUserReport: () => createUserReport
1460
+ });
1461
+ // generated/dev/internal/admin.gen.ts
1462
+ var exports_admin_gen = {};
1463
+ __export(exports_admin_gen, {
1464
+ getAdminHealth: () => getAdminHealth,
1465
+ getAdminDashboard: () => getAdminDashboard
1276
1466
  });
1277
1467
  export {
1278
- updateReport,
1279
- seiyuuShow,
1280
- segmentUpdate,
1281
- segmentShowByUuid,
1282
- segmentShow,
1283
- segmentIndex,
1284
- segmentDestroy,
1285
- segmentCreate,
1468
+ exports_user_gen as user,
1469
+ updateUserPreferences,
1470
+ updateSeriesMedia,
1471
+ updateSeries,
1472
+ updateSegment,
1473
+ updateMedia,
1474
+ updateEpisode,
1475
+ updateCollectionSegment,
1476
+ updateCollection,
1477
+ updateAdminReviewCheck,
1478
+ updateAdminReport,
1479
+ triggerReindex,
1286
1480
  searchWords,
1287
- searchSegments,
1288
- exports_search_gen as search,
1289
- retryQueueJobs,
1290
- reindexElasticsearch,
1291
- purgeFailedJobs,
1292
- morphemeBackfill,
1293
- mediaUpdate,
1294
- mediaShow,
1295
- mediaIndex,
1296
- mediaDestroy,
1297
- mediaCreate,
1481
+ search,
1482
+ runAdminReview,
1483
+ retryAdminQueueFailed,
1484
+ removeSegmentFromCollection,
1485
+ removeMediaFromSeries,
1486
+ purgeAdminQueueFailed,
1298
1487
  exports_media_gen as media,
1299
- exports_lists_gen as lists,
1300
- listUpdateSegment,
1301
- listUpdateItem,
1302
- listUpdate,
1303
- listShow,
1304
- listRemoveSegment,
1305
- listRemoveItem,
1306
- listIndex,
1307
- listGetSegments,
1308
- listDestroy,
1309
- listCreate,
1310
- listAddSegment,
1311
- listAddItem,
1312
- healthCheck,
1313
- getUserReports,
1488
+ listUserReports,
1489
+ listUserLabs,
1490
+ listUserActivity,
1491
+ listSeries,
1492
+ listSegments,
1493
+ listMedia,
1494
+ listEpisodes,
1495
+ listCollections,
1496
+ listAdminReviewRuns,
1497
+ listAdminReviewChecks,
1498
+ listAdminReviewAllowlist,
1499
+ listAdminReports,
1500
+ listAdminQueueStats,
1501
+ listAdminQueueFailed,
1314
1502
  getUserQuota,
1503
+ getUserPreferences,
1504
+ getUserActivityStats,
1505
+ getUserActivityHeatmap,
1506
+ getSeries,
1507
+ getSeiyuu,
1315
1508
  getSegmentContext,
1509
+ getSegmentByUuid,
1510
+ getSegment,
1316
1511
  getSearchStats,
1317
- getQueueStats,
1318
- getQueueDetails,
1319
- getFailedJobs,
1320
- getAdminReports,
1321
- episodeUpdate,
1322
- episodeShow,
1323
- episodeIndex,
1324
- episodeDestroy,
1325
- episodeCreate,
1326
- createReport,
1512
+ getMedia,
1513
+ getEpisode,
1514
+ getCollection,
1515
+ getCharacter,
1516
+ getAdminReviewRun,
1517
+ getAdminQueue,
1518
+ getAdminHealth,
1519
+ getAdminDashboard,
1520
+ exportUserData,
1521
+ deleteUserActivity,
1522
+ deleteSeries,
1523
+ deleteSegment,
1524
+ deleteMedia,
1525
+ deleteEpisode,
1526
+ deleteCollection,
1527
+ deleteAdminReviewAllowlistEntry,
1528
+ createUserReport,
1529
+ createSeries,
1530
+ createSegment,
1327
1531
  createNadeshikoClient,
1532
+ createMedia,
1533
+ createEpisode,
1534
+ createCollection,
1328
1535
  createClient2 as createClient,
1536
+ createAdminReviewAllowlistEntry,
1329
1537
  client,
1330
- characterShow,
1331
- browseMedia
1538
+ exports_admin_gen as admin,
1539
+ addSegmentToCollection,
1540
+ addMediaToSeries
1332
1541
  };
1333
1542
 
1334
- //# debugId=8CBCA84DFC8042B964756E2164756E21
1543
+ //# debugId=263E667AD4EF730B64756E2164756E21
1335
1544
  //# sourceMappingURL=index.js.map