@brigadasos/nadeshiko-sdk 1.4.0-dev.c253525 → 1.4.3-dev.09dcbc3

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 +129 -8
  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 +470 -248
  16. package/dist/index.cjs.map +5 -5
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +466 -244
  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 +76 -47
  30. package/dist/nadeshiko.gen.d.ts.map +1 -1
  31. package/dist/sdk.gen.d.ts +369 -169
  32. package/dist/sdk.gen.d.ts.map +1 -1
  33. package/dist/types.gen.d.ts +2942 -1718
  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,22 @@ 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 autocompleteMedia = (options) => (options.client ?? client).get({
869
+ security: [{ scheme: "bearer", type: "http" }],
870
+ url: "/v1/media/autocomplete",
871
+ ...options
872
+ });
873
+ var deleteMedia = (options) => (options.client ?? client).delete({
896
874
  security: [{ scheme: "bearer", type: "http" }],
897
875
  url: "/v1/media/{id}",
898
876
  ...options
899
877
  });
900
- var mediaShow = (options) => (options.client ?? client).get({
878
+ var getMedia = (options) => (options.client ?? client).get({
901
879
  security: [{ scheme: "bearer", type: "http" }],
902
880
  url: "/v1/media/{id}",
903
881
  ...options
904
882
  });
905
- var mediaUpdate = (options) => (options.client ?? client).patch({
883
+ var updateMedia = (options) => (options.client ?? client).patch({
906
884
  security: [{ scheme: "bearer", type: "http" }],
907
885
  url: "/v1/media/{id}",
908
886
  ...options,
@@ -911,12 +889,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
911
889
  ...options.headers
912
890
  }
913
891
  });
914
- var episodeIndex = (options) => (options.client ?? client).get({
892
+ var listEpisodes = (options) => (options.client ?? client).get({
915
893
  security: [{ scheme: "bearer", type: "http" }],
916
894
  url: "/v1/media/{mediaId}/episodes",
917
895
  ...options
918
896
  });
919
- var episodeCreate = (options) => (options.client ?? client).post({
897
+ var createEpisode = (options) => (options.client ?? client).post({
920
898
  security: [{ scheme: "bearer", type: "http" }],
921
899
  url: "/v1/media/{mediaId}/episodes",
922
900
  ...options,
@@ -925,17 +903,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
925
903
  ...options.headers
926
904
  }
927
905
  });
928
- var episodeDestroy = (options) => (options.client ?? client).delete({
906
+ var deleteEpisode = (options) => (options.client ?? client).delete({
929
907
  security: [{ scheme: "bearer", type: "http" }],
930
908
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
931
909
  ...options
932
910
  });
933
- var episodeShow = (options) => (options.client ?? client).get({
911
+ var getEpisode = (options) => (options.client ?? client).get({
934
912
  security: [{ scheme: "bearer", type: "http" }],
935
913
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
936
914
  ...options
937
915
  });
938
- var episodeUpdate = (options) => (options.client ?? client).patch({
916
+ var updateEpisode = (options) => (options.client ?? client).patch({
939
917
  security: [{ scheme: "bearer", type: "http" }],
940
918
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
941
919
  ...options,
@@ -944,12 +922,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
944
922
  ...options.headers
945
923
  }
946
924
  });
947
- var segmentIndex = (options) => (options.client ?? client).get({
925
+ var listSegments = (options) => (options.client ?? client).get({
948
926
  security: [{ scheme: "bearer", type: "http" }],
949
927
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
950
928
  ...options
951
929
  });
952
- var segmentCreate = (options) => (options.client ?? client).post({
930
+ var createSegment = (options) => (options.client ?? client).post({
953
931
  security: [{ scheme: "bearer", type: "http" }],
954
932
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
955
933
  ...options,
@@ -958,17 +936,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
958
936
  ...options.headers
959
937
  }
960
938
  });
961
- var segmentDestroy = (options) => (options.client ?? client).delete({
939
+ var deleteSegment = (options) => (options.client ?? client).delete({
962
940
  security: [{ scheme: "bearer", type: "http" }],
963
941
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
964
942
  ...options
965
943
  });
966
- var segmentShow = (options) => (options.client ?? client).get({
944
+ var getSegment = (options) => (options.client ?? client).get({
967
945
  security: [{ scheme: "bearer", type: "http" }],
968
946
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
969
947
  ...options
970
948
  });
971
- var segmentUpdate = (options) => (options.client ?? client).patch({
949
+ var updateSegment = (options) => (options.client ?? client).patch({
972
950
  security: [{ scheme: "bearer", type: "http" }],
973
951
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
974
952
  ...options,
@@ -977,17 +955,86 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
977
955
  ...options.headers
978
956
  }
979
957
  });
980
- var segmentShowByUuid = (options) => (options.client ?? client).get({
958
+ var getSegmentByUuid = (options) => (options.client ?? client).get({
981
959
  security: [{ scheme: "bearer", type: "http" }],
982
960
  url: "/v1/media/segments/{uuid}",
983
961
  ...options
984
962
  });
985
- var characterShow = (options) => (options.client ?? client).get({
963
+ var getSegmentContext = (options) => (options.client ?? client).get({
964
+ security: [{ scheme: "bearer", type: "http" }],
965
+ url: "/v1/media/segments/{uuid}/context",
966
+ ...options
967
+ });
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",
975
+ ...options
976
+ });
977
+ var createSeries = (options) => (options.client ?? client).post({
978
+ security: [{ scheme: "bearer", type: "http" }],
979
+ url: "/v1/media/series",
980
+ ...options,
981
+ headers: {
982
+ "Content-Type": "application/json",
983
+ ...options.headers
984
+ }
985
+ });
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({
992
+ security: [{ scheme: "bearer", type: "http" }, {
993
+ in: "cookie",
994
+ name: "nadeshiko.session_token",
995
+ type: "apiKey"
996
+ }],
997
+ url: "/v1/media/series/{id}",
998
+ ...options
999
+ });
1000
+ var updateSeries = (options) => (options.client ?? client).patch({
1001
+ security: [{ scheme: "bearer", type: "http" }],
1002
+ url: "/v1/media/series/{id}",
1003
+ ...options,
1004
+ headers: {
1005
+ "Content-Type": "application/json",
1006
+ ...options.headers
1007
+ }
1008
+ });
1009
+ var addMediaToSeries = (options) => (options.client ?? client).post({
1010
+ security: [{ scheme: "bearer", type: "http" }],
1011
+ url: "/v1/media/series/{id}/media",
1012
+ ...options,
1013
+ headers: {
1014
+ "Content-Type": "application/json",
1015
+ ...options.headers
1016
+ }
1017
+ });
1018
+ var removeMediaFromSeries = (options) => (options.client ?? client).delete({
1019
+ security: [{ scheme: "bearer", type: "http" }],
1020
+ url: "/v1/media/series/{id}/media/{mediaId}",
1021
+ ...options
1022
+ });
1023
+ var updateSeriesMedia = (options) => (options.client ?? client).patch({
1024
+ security: [{ scheme: "bearer", type: "http" }],
1025
+ url: "/v1/media/series/{id}/media/{mediaId}",
1026
+ ...options,
1027
+ headers: {
1028
+ "Content-Type": "application/json",
1029
+ ...options.headers
1030
+ }
1031
+ });
1032
+ var getCharacter = (options) => (options.client ?? client).get({
986
1033
  security: [{ scheme: "bearer", type: "http" }],
987
1034
  url: "/v1/media/characters/{id}",
988
1035
  ...options
989
1036
  });
990
- var seiyuuShow = (options) => (options.client ?? client).get({
1037
+ var getSeiyuu = (options) => (options.client ?? client).get({
991
1038
  security: [{ scheme: "bearer", type: "http" }],
992
1039
  url: "/v1/media/seiyuu/{id}",
993
1040
  ...options
@@ -997,11 +1044,11 @@ var getUserQuota = (options) => (options?.client ?? client).get({
997
1044
  in: "cookie",
998
1045
  name: "nadeshiko.session_token",
999
1046
  type: "apiKey"
1000
- }],
1047
+ }, { scheme: "bearer", type: "http" }],
1001
1048
  url: "/v1/user/quota",
1002
1049
  ...options
1003
1050
  });
1004
- var getUserReports = (options) => (options?.client ?? client).get({
1051
+ var listUserReports = (options) => (options?.client ?? client).get({
1005
1052
  security: [{
1006
1053
  in: "cookie",
1007
1054
  name: "nadeshiko.session_token",
@@ -1010,7 +1057,7 @@ var getUserReports = (options) => (options?.client ?? client).get({
1010
1057
  url: "/v1/user/reports",
1011
1058
  ...options
1012
1059
  });
1013
- var createReport = (options) => (options.client ?? client).post({
1060
+ var createUserReport = (options) => (options.client ?? client).post({
1014
1061
  security: [{
1015
1062
  in: "cookie",
1016
1063
  name: "nadeshiko.session_token",
@@ -1023,107 +1070,181 @@ var createReport = (options) => (options.client ?? client).post({
1023
1070
  ...options.headers
1024
1071
  }
1025
1072
  });
1026
- var listIndex = (options) => (options?.client ?? client).get({
1027
- security: [{ scheme: "bearer", type: "http" }],
1028
- url: "/v1/lists",
1073
+ var getUserPreferences = (options) => (options?.client ?? client).get({
1074
+ security: [{
1075
+ in: "cookie",
1076
+ name: "nadeshiko.session_token",
1077
+ type: "apiKey"
1078
+ }],
1079
+ url: "/v1/user/preferences",
1029
1080
  ...options
1030
1081
  });
1031
- var listCreate = (options) => (options.client ?? client).post({
1032
- security: [{ scheme: "bearer", type: "http" }],
1033
- url: "/v1/lists",
1082
+ var updateUserPreferences = (options) => (options.client ?? client).patch({
1083
+ security: [{
1084
+ in: "cookie",
1085
+ name: "nadeshiko.session_token",
1086
+ type: "apiKey"
1087
+ }],
1088
+ url: "/v1/user/preferences",
1034
1089
  ...options,
1035
1090
  headers: {
1036
1091
  "Content-Type": "application/json",
1037
1092
  ...options.headers
1038
1093
  }
1039
1094
  });
1040
- var listDestroy = (options) => (options.client ?? client).delete({
1041
- security: [{ scheme: "bearer", type: "http" }],
1042
- url: "/v1/lists/{id}",
1095
+ var deleteUserActivity = (options) => (options?.client ?? client).delete({
1096
+ security: [{
1097
+ in: "cookie",
1098
+ name: "nadeshiko.session_token",
1099
+ type: "apiKey"
1100
+ }],
1101
+ url: "/v1/user/activity",
1043
1102
  ...options
1044
1103
  });
1045
- var listShow = (options) => (options.client ?? client).get({
1046
- security: [{ scheme: "bearer", type: "http" }],
1047
- url: "/v1/lists/{id}",
1104
+ var listUserActivity = (options) => (options?.client ?? client).get({
1105
+ security: [{
1106
+ in: "cookie",
1107
+ name: "nadeshiko.session_token",
1108
+ type: "apiKey"
1109
+ }],
1110
+ url: "/v1/user/activity",
1048
1111
  ...options
1049
1112
  });
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
- }
1113
+ var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1114
+ security: [{
1115
+ in: "cookie",
1116
+ name: "nadeshiko.session_token",
1117
+ type: "apiKey"
1118
+ }],
1119
+ url: "/v1/user/activity/heatmap",
1120
+ ...options
1058
1121
  });
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
- }
1122
+ var getUserActivityStats = (options) => (options?.client ?? client).get({
1123
+ security: [{
1124
+ in: "cookie",
1125
+ name: "nadeshiko.session_token",
1126
+ type: "apiKey"
1127
+ }],
1128
+ url: "/v1/user/activity/stats",
1129
+ ...options
1067
1130
  });
1068
- var listRemoveItem = (options) => (options.client ?? client).delete({
1069
- security: [{ scheme: "bearer", type: "http" }],
1070
- url: "/v1/lists/{id}/items/{mediaId}",
1131
+ var exportUserData = (options) => (options?.client ?? client).get({
1132
+ security: [{
1133
+ in: "cookie",
1134
+ name: "nadeshiko.session_token",
1135
+ type: "apiKey"
1136
+ }],
1137
+ url: "/v1/user/export",
1071
1138
  ...options
1072
1139
  });
1073
- var listUpdateItem = (options) => (options.client ?? client).patch({
1074
- security: [{ scheme: "bearer", type: "http" }],
1075
- url: "/v1/lists/{id}/items/{mediaId}",
1140
+ var listUserLabs = (options) => (options?.client ?? client).get({
1141
+ security: [{
1142
+ in: "cookie",
1143
+ name: "nadeshiko.session_token",
1144
+ type: "apiKey"
1145
+ }],
1146
+ url: "/v1/user/labs",
1147
+ ...options
1148
+ });
1149
+ var listCollections = (options) => (options?.client ?? client).get({
1150
+ security: [{
1151
+ in: "cookie",
1152
+ name: "nadeshiko.session_token",
1153
+ type: "apiKey"
1154
+ }],
1155
+ url: "/v1/collections",
1156
+ ...options
1157
+ });
1158
+ var createCollection = (options) => (options.client ?? client).post({
1159
+ security: [{
1160
+ in: "cookie",
1161
+ name: "nadeshiko.session_token",
1162
+ type: "apiKey"
1163
+ }],
1164
+ url: "/v1/collections",
1076
1165
  ...options,
1077
1166
  headers: {
1078
1167
  "Content-Type": "application/json",
1079
1168
  ...options.headers
1080
1169
  }
1081
1170
  });
1082
- var listGetSegments = (options) => (options.client ?? client).get({
1083
- security: [{ scheme: "bearer", type: "http" }, {
1171
+ var deleteCollection = (options) => (options.client ?? client).delete({
1172
+ security: [{
1084
1173
  in: "cookie",
1085
1174
  name: "nadeshiko.session_token",
1086
1175
  type: "apiKey"
1087
1176
  }],
1088
- url: "/v1/lists/{id}/segments",
1177
+ url: "/v1/collections/{id}",
1089
1178
  ...options
1090
1179
  });
1091
- var listAddSegment = (options) => (options.client ?? client).post({
1092
- security: [{ scheme: "bearer", type: "http" }, {
1180
+ var getCollection = (options) => (options.client ?? client).get({
1181
+ security: [{
1182
+ in: "cookie",
1183
+ name: "nadeshiko.session_token",
1184
+ type: "apiKey"
1185
+ }],
1186
+ url: "/v1/collections/{id}",
1187
+ ...options
1188
+ });
1189
+ var updateCollection = (options) => (options.client ?? client).patch({
1190
+ security: [{
1093
1191
  in: "cookie",
1094
1192
  name: "nadeshiko.session_token",
1095
1193
  type: "apiKey"
1096
1194
  }],
1097
- url: "/v1/lists/{id}/segments",
1195
+ url: "/v1/collections/{id}",
1098
1196
  ...options,
1099
1197
  headers: {
1100
1198
  "Content-Type": "application/json",
1101
1199
  ...options.headers
1102
1200
  }
1103
1201
  });
1104
- var listRemoveSegment = (options) => (options.client ?? client).delete({
1105
- security: [{ scheme: "bearer", type: "http" }, {
1202
+ var addSegmentToCollection = (options) => (options.client ?? client).post({
1203
+ security: [{
1204
+ in: "cookie",
1205
+ name: "nadeshiko.session_token",
1206
+ type: "apiKey"
1207
+ }],
1208
+ url: "/v1/collections/{id}/segments",
1209
+ ...options,
1210
+ headers: {
1211
+ "Content-Type": "application/json",
1212
+ ...options.headers
1213
+ }
1214
+ });
1215
+ var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
1216
+ security: [{
1106
1217
  in: "cookie",
1107
1218
  name: "nadeshiko.session_token",
1108
1219
  type: "apiKey"
1109
1220
  }],
1110
- url: "/v1/lists/{id}/segments/{uuid}",
1221
+ url: "/v1/collections/{id}/segments/{uuid}",
1111
1222
  ...options
1112
1223
  });
1113
- var listUpdateSegment = (options) => (options.client ?? client).patch({
1114
- security: [{ scheme: "bearer", type: "http" }, {
1224
+ var updateCollectionSegment = (options) => (options.client ?? client).patch({
1225
+ security: [{
1115
1226
  in: "cookie",
1116
1227
  name: "nadeshiko.session_token",
1117
1228
  type: "apiKey"
1118
1229
  }],
1119
- url: "/v1/lists/{id}/segments/{uuid}",
1230
+ url: "/v1/collections/{id}/segments/{uuid}",
1120
1231
  ...options,
1121
1232
  headers: {
1122
1233
  "Content-Type": "application/json",
1123
1234
  ...options.headers
1124
1235
  }
1125
1236
  });
1126
- var reindexElasticsearch = (options) => (options?.client ?? client).post({
1237
+ var getAdminDashboard = (options) => (options?.client ?? client).get({
1238
+ security: [{ scheme: "bearer", type: "http" }],
1239
+ url: "/v1/admin/dashboard",
1240
+ ...options
1241
+ });
1242
+ var getAdminHealth = (options) => (options?.client ?? client).get({
1243
+ security: [{ scheme: "bearer", type: "http" }],
1244
+ url: "/v1/admin/health",
1245
+ ...options
1246
+ });
1247
+ var triggerReindex = (options) => (options?.client ?? client).post({
1127
1248
  security: [{ scheme: "bearer", type: "http" }],
1128
1249
  url: "/v1/admin/reindex",
1129
1250
  ...options,
@@ -1132,46 +1253,37 @@ var reindexElasticsearch = (options) => (options?.client ?? client).post({
1132
1253
  ...options?.headers
1133
1254
  }
1134
1255
  });
1135
- var getQueueStats = (options) => (options?.client ?? client).get({
1256
+ var listAdminQueueStats = (options) => (options?.client ?? client).get({
1136
1257
  security: [{ scheme: "bearer", type: "http" }],
1137
1258
  url: "/v1/admin/queues/stats",
1138
1259
  ...options
1139
1260
  });
1140
- var getQueueDetails = (options) => (options.client ?? client).get({
1261
+ var getAdminQueue = (options) => (options.client ?? client).get({
1141
1262
  security: [{ scheme: "bearer", type: "http" }],
1142
1263
  url: "/v1/admin/queues/{queueName}",
1143
1264
  ...options
1144
1265
  });
1145
- var getFailedJobs = (options) => (options.client ?? client).get({
1266
+ var listAdminQueueFailed = (options) => (options.client ?? client).get({
1146
1267
  security: [{ scheme: "bearer", type: "http" }],
1147
1268
  url: "/v1/admin/queues/{queueName}/failed",
1148
1269
  ...options
1149
1270
  });
1150
- var retryQueueJobs = (options) => (options.client ?? client).post({
1271
+ var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1151
1272
  security: [{ scheme: "bearer", type: "http" }],
1152
1273
  url: "/v1/admin/queues/{queueName}/retry",
1153
1274
  ...options
1154
1275
  });
1155
- var purgeFailedJobs = (options) => (options.client ?? client).delete({
1276
+ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1156
1277
  security: [{ scheme: "bearer", type: "http" }],
1157
1278
  url: "/v1/admin/queues/{queueName}/purge",
1158
1279
  ...options
1159
1280
  });
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({
1281
+ var listAdminReports = (options) => (options?.client ?? client).get({
1170
1282
  security: [{ scheme: "bearer", type: "http" }],
1171
1283
  url: "/v1/admin/reports",
1172
1284
  ...options
1173
1285
  });
1174
- var updateReport = (options) => (options.client ?? client).patch({
1286
+ var updateAdminReport = (options) => (options.client ?? client).patch({
1175
1287
  security: [{ scheme: "bearer", type: "http" }],
1176
1288
  url: "/v1/admin/reports/{id}",
1177
1289
  ...options,
@@ -1180,156 +1292,266 @@ var updateReport = (options) => (options.client ?? client).patch({
1180
1292
  ...options.headers
1181
1293
  }
1182
1294
  });
1183
- // generated/internal/nadeshiko.gen.ts
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",
1303
+ ...options
1304
+ });
1305
+ var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
1306
+ security: [{ scheme: "bearer", type: "http" }],
1307
+ url: "/v1/admin/review/checks/{name}",
1308
+ ...options,
1309
+ headers: {
1310
+ "Content-Type": "application/json",
1311
+ ...options.headers
1312
+ }
1313
+ });
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}",
1322
+ ...options
1323
+ });
1324
+ var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
1325
+ security: [{ scheme: "bearer", type: "http" }],
1326
+ url: "/v1/admin/review/allowlist",
1327
+ ...options
1328
+ });
1329
+ var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
1330
+ security: [{ scheme: "bearer", type: "http" }],
1331
+ url: "/v1/admin/review/allowlist",
1332
+ ...options,
1333
+ headers: {
1334
+ "Content-Type": "application/json",
1335
+ ...options.headers
1336
+ }
1337
+ });
1338
+ var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
1339
+ security: [{ scheme: "bearer", type: "http" }],
1340
+ url: "/v1/admin/review/allowlist/{id}",
1341
+ ...options
1342
+ });
1343
+ // generated/dev/nadeshiko.gen.ts
1184
1344
  var environments = {
1185
1345
  LOCAL: "http://localhost:5000/api",
1186
1346
  DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
1187
1347
  PRODUCTION: "https://api.brigadasos.xyz/api"
1188
1348
  };
1349
+ var defaultSessionTokenGetter = () => {
1350
+ if (typeof document === "undefined")
1351
+ return;
1352
+ const match = document.cookie.match(/(?:^|;\s*)nadeshiko\.session_token=([^;]*)/);
1353
+ return match ? decodeURIComponent(match[1]) : undefined;
1354
+ };
1189
1355
  function createNadeshikoClient(config) {
1190
1356
  const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl : environments.PRODUCTION;
1357
+ const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
1191
1358
  const clientInstance = createClient(createConfig({
1192
1359
  baseUrl,
1193
- headers: { Authorization: `Bearer ${config.apiKey}` }
1360
+ auth: (auth) => {
1361
+ if (auth.in === "cookie") {
1362
+ return getSessionToken();
1363
+ }
1364
+ return config.apiKey;
1365
+ }
1194
1366
  }));
1195
1367
  return {
1196
1368
  client: clientInstance,
1197
- searchSegments: (options) => searchSegments({ ...options, client: clientInstance }),
1369
+ search: (options) => search({ ...options, client: clientInstance }),
1198
1370
  getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
1199
1371
  searchWords: (options) => searchWords({ ...options, client: clientInstance }),
1372
+ 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
+ getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
1200
1378
  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 }),
1379
+ listSeries: (options) => listSeries({ ...options, client: clientInstance }),
1380
+ getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1381
+ getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1382
+ getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1210
1383
  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 })
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 }),
1408
+ createMedia: (options) => createMedia({ ...options, client: clientInstance }),
1409
+ autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
1410
+ updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
1411
+ deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
1412
+ createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
1413
+ updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
1414
+ deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
1415
+ listSegments: (options) => listSegments({ ...options, client: clientInstance }),
1416
+ createSegment: (options) => createSegment({ ...options, client: clientInstance }),
1417
+ updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
1418
+ deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
1419
+ createSeries: (options) => createSeries({ ...options, client: clientInstance }),
1420
+ updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
1421
+ deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
1422
+ addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1423
+ updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1424
+ removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1425
+ createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
1426
+ listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
1427
+ getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
1428
+ updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
1429
+ listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
1430
+ deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
1431
+ getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
1432
+ getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
1433
+ exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
1434
+ listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
1435
+ getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1436
+ getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1245
1437
  };
1246
1438
  }
1247
- 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
1439
+ // generated/dev/internal/media.gen.ts
1254
1440
  var exports_media_gen = {};
1255
1441
  __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
1442
+ updateSeriesMedia: () => updateSeriesMedia,
1443
+ updateSeries: () => updateSeries,
1444
+ updateSegment: () => updateSegment,
1445
+ updateMedia: () => updateMedia,
1446
+ updateEpisode: () => updateEpisode,
1447
+ removeMediaFromSeries: () => removeMediaFromSeries,
1448
+ listSegments: () => listSegments,
1449
+ deleteSeries: () => deleteSeries,
1450
+ deleteSegment: () => deleteSegment,
1451
+ deleteMedia: () => deleteMedia,
1452
+ deleteEpisode: () => deleteEpisode,
1453
+ createSeries: () => createSeries,
1454
+ createSegment: () => createSegment,
1455
+ createMedia: () => createMedia,
1456
+ createEpisode: () => createEpisode,
1457
+ autocompleteMedia: () => autocompleteMedia,
1458
+ addMediaToSeries: () => addMediaToSeries
1459
+ });
1460
+ // generated/dev/internal/user.gen.ts
1461
+ var exports_user_gen = {};
1462
+ __export(exports_user_gen, {
1463
+ updateUserPreferences: () => updateUserPreferences,
1464
+ listUserReports: () => listUserReports,
1465
+ listUserLabs: () => listUserLabs,
1466
+ listUserActivity: () => listUserActivity,
1467
+ getUserPreferences: () => getUserPreferences,
1468
+ getUserActivityStats: () => getUserActivityStats,
1469
+ getUserActivityHeatmap: () => getUserActivityHeatmap,
1470
+ exportUserData: () => exportUserData,
1471
+ deleteUserActivity: () => deleteUserActivity,
1472
+ createUserReport: () => createUserReport
1473
+ });
1474
+ // generated/dev/internal/admin.gen.ts
1475
+ var exports_admin_gen = {};
1476
+ __export(exports_admin_gen, {
1477
+ getAdminHealth: () => getAdminHealth,
1478
+ getAdminDashboard: () => getAdminDashboard
1276
1479
  });
1277
1480
  export {
1278
- updateReport,
1279
- seiyuuShow,
1280
- segmentUpdate,
1281
- segmentShowByUuid,
1282
- segmentShow,
1283
- segmentIndex,
1284
- segmentDestroy,
1285
- segmentCreate,
1481
+ exports_user_gen as user,
1482
+ updateUserPreferences,
1483
+ updateSeriesMedia,
1484
+ updateSeries,
1485
+ updateSegment,
1486
+ updateMedia,
1487
+ updateEpisode,
1488
+ updateCollectionSegment,
1489
+ updateCollection,
1490
+ updateAdminReviewCheck,
1491
+ updateAdminReport,
1492
+ triggerReindex,
1286
1493
  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,
1494
+ search,
1495
+ runAdminReview,
1496
+ retryAdminQueueFailed,
1497
+ removeSegmentFromCollection,
1498
+ removeMediaFromSeries,
1499
+ purgeAdminQueueFailed,
1298
1500
  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,
1501
+ listUserReports,
1502
+ listUserLabs,
1503
+ listUserActivity,
1504
+ listSeries,
1505
+ listSegments,
1506
+ listMedia,
1507
+ listEpisodes,
1508
+ listCollections,
1509
+ listAdminReviewRuns,
1510
+ listAdminReviewChecks,
1511
+ listAdminReviewAllowlist,
1512
+ listAdminReports,
1513
+ listAdminQueueStats,
1514
+ listAdminQueueFailed,
1314
1515
  getUserQuota,
1516
+ getUserPreferences,
1517
+ getUserActivityStats,
1518
+ getUserActivityHeatmap,
1519
+ getSeries,
1520
+ getSeiyuu,
1315
1521
  getSegmentContext,
1522
+ getSegmentByUuid,
1523
+ getSegment,
1316
1524
  getSearchStats,
1317
- getQueueStats,
1318
- getQueueDetails,
1319
- getFailedJobs,
1320
- getAdminReports,
1321
- episodeUpdate,
1322
- episodeShow,
1323
- episodeIndex,
1324
- episodeDestroy,
1325
- episodeCreate,
1326
- createReport,
1525
+ getMedia,
1526
+ getEpisode,
1527
+ getCollection,
1528
+ getCharacter,
1529
+ getAdminReviewRun,
1530
+ getAdminQueue,
1531
+ getAdminHealth,
1532
+ getAdminDashboard,
1533
+ exportUserData,
1534
+ deleteUserActivity,
1535
+ deleteSeries,
1536
+ deleteSegment,
1537
+ deleteMedia,
1538
+ deleteEpisode,
1539
+ deleteCollection,
1540
+ deleteAdminReviewAllowlistEntry,
1541
+ createUserReport,
1542
+ createSeries,
1543
+ createSegment,
1327
1544
  createNadeshikoClient,
1328
- createClient2 as createClient,
1545
+ createMedia,
1546
+ createEpisode,
1547
+ createCollection,
1548
+ createAdminReviewAllowlistEntry,
1329
1549
  client,
1330
- characterShow,
1331
- browseMedia
1550
+ autocompleteMedia,
1551
+ exports_admin_gen as admin,
1552
+ addSegmentToCollection,
1553
+ addMediaToSeries
1332
1554
  };
1333
1555
 
1334
- //# debugId=8CBCA84DFC8042B964756E2164756E21
1556
+ //# debugId=AB5963794BD4F67864756E2164756E21
1335
1557
  //# sourceMappingURL=index.js.map