@brigadasos/nadeshiko-sdk 2.0.4-internal → 2.0.4

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 (37) hide show
  1. package/dist/client/client.gen.d.ts.map +1 -1
  2. package/dist/client/index.d.ts.map +1 -1
  3. package/dist/client/types.gen.d.ts.map +1 -1
  4. package/dist/client/utils.gen.d.ts.map +1 -1
  5. package/dist/client.gen.d.ts.map +1 -1
  6. package/dist/core/auth.gen.d.ts.map +1 -1
  7. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  8. package/dist/core/params.gen.d.ts.map +1 -1
  9. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  10. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  11. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  12. package/dist/core/types.gen.d.ts.map +1 -1
  13. package/dist/core/utils.gen.d.ts.map +1 -1
  14. package/dist/errors.d.ts.map +1 -1
  15. package/dist/index.cjs +21 -920
  16. package/dist/index.cjs.map +4 -4
  17. package/dist/index.d.ts +3 -3
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +17 -931
  20. package/dist/index.js.map +4 -4
  21. package/dist/nadeshiko.gen.d.ts +1 -1321
  22. package/dist/nadeshiko.gen.d.ts.map +1 -1
  23. package/dist/paginate.d.ts.map +1 -1
  24. package/dist/retry.d.ts.map +1 -1
  25. package/dist/sdk.gen.d.ts.map +1 -1
  26. package/dist/types.gen.d.ts.map +1 -1
  27. package/package.json +3 -4
  28. package/dist/internal/admin.gen.d.ts +0 -2
  29. package/dist/internal/admin.gen.d.ts.map +0 -1
  30. package/dist/internal/collections.gen.d.ts +0 -2
  31. package/dist/internal/collections.gen.d.ts.map +0 -1
  32. package/dist/internal/media.gen.d.ts +0 -2
  33. package/dist/internal/media.gen.d.ts.map +0 -1
  34. package/dist/internal/user.gen.d.ts +0 -2
  35. package/dist/internal/user.gen.d.ts.map +0 -1
  36. package/dist/internal.gen.d.ts +0 -5
  37. package/dist/internal.gen.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1,23 +1,8 @@
1
- var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true,
11
- configurable: true,
12
- set: __exportSetter.bind(all, name)
13
- });
14
- };
15
-
16
- // generated/internal/core/bodySerializer.gen.ts
1
+ // generated/public/core/bodySerializer.gen.ts
17
2
  var jsonBodySerializer = {
18
3
  bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
19
4
  };
20
- // generated/internal/core/params.gen.ts
5
+ // generated/public/core/params.gen.ts
21
6
  var extraPrefixesMap = {
22
7
  $body_: "body",
23
8
  $headers_: "headers",
@@ -25,7 +10,7 @@ var extraPrefixesMap = {
25
10
  $query_: "query"
26
11
  };
27
12
  var extraPrefixes = Object.entries(extraPrefixesMap);
28
- // generated/internal/core/serverSentEvents.gen.ts
13
+ // generated/public/core/serverSentEvents.gen.ts
29
14
  var createSseClient = ({
30
15
  onRequest,
31
16
  onSseError,
@@ -161,7 +146,7 @@ var createSseClient = ({
161
146
  return { stream };
162
147
  };
163
148
 
164
- // generated/internal/core/pathSerializer.gen.ts
149
+ // generated/public/core/pathSerializer.gen.ts
165
150
  var separatorArrayExplode = (style) => {
166
151
  switch (style) {
167
152
  case "label":
@@ -285,7 +270,7 @@ var serializeObjectParam = ({
285
270
  return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
286
271
  };
287
272
 
288
- // generated/internal/core/utils.gen.ts
273
+ // generated/public/core/utils.gen.ts
289
274
  var PATH_PARAM_RE = /\{[^{}]+\}/g;
290
275
  var defaultPathSerializer = ({ path, url: _url }) => {
291
276
  let url = _url;
@@ -374,7 +359,7 @@ function getValidRequestBody(options) {
374
359
  return;
375
360
  }
376
361
 
377
- // generated/internal/core/auth.gen.ts
362
+ // generated/public/core/auth.gen.ts
378
363
  var getAuthToken = async (auth, callback) => {
379
364
  const token = typeof callback === "function" ? await callback(auth) : callback;
380
365
  if (!token) {
@@ -389,7 +374,7 @@ var getAuthToken = async (auth, callback) => {
389
374
  return token;
390
375
  };
391
376
 
392
- // generated/internal/client/utils.gen.ts
377
+ // generated/public/client/utils.gen.ts
393
378
  var createQuerySerializer = ({
394
379
  parameters = {},
395
380
  ...args
@@ -606,7 +591,7 @@ var createConfig = (override = {}) => ({
606
591
  ...override
607
592
  });
608
593
 
609
- // generated/internal/client/client.gen.ts
594
+ // generated/public/client/client.gen.ts
610
595
  var createClient = (config = {}) => {
611
596
  let _config = mergeConfigs(createConfig(), config);
612
597
  const getConfig = () => ({ ..._config });
@@ -812,10 +797,10 @@ var createClient = (config = {}) => {
812
797
  trace: makeMethodFn("TRACE")
813
798
  };
814
799
  };
815
- // generated/internal/client.gen.ts
800
+ // generated/public/client.gen.ts
816
801
  var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }));
817
802
 
818
- // generated/internal/sdk.gen.ts
803
+ // generated/public/sdk.gen.ts
819
804
  var search = (options) => (options?.client ?? client).post({
820
805
  security: [{ scheme: "bearer", type: "http" }],
821
806
  url: "/v1/search",
@@ -848,695 +833,47 @@ var listMedia = (options) => (options?.client ?? client).get({
848
833
  url: "/v1/media",
849
834
  ...options
850
835
  });
851
- var createMedia = (options) => (options.client ?? client).post({
852
- security: [{ scheme: "bearer", type: "http" }],
853
- url: "/v1/media",
854
- ...options,
855
- headers: {
856
- "Content-Type": "application/json",
857
- ...options.headers
858
- }
859
- });
860
- var autocompleteMedia = (options) => (options.client ?? client).get({
861
- security: [{ scheme: "bearer", type: "http" }],
862
- url: "/v1/media/autocomplete",
863
- ...options
864
- });
865
836
  var getSegmentByUuid = (options) => (options.client ?? client).get({
866
837
  security: [{ scheme: "bearer", type: "http" }],
867
838
  url: "/v1/media/segments/{uuid}",
868
839
  ...options
869
840
  });
870
- var updateSegmentByUuid = (options) => (options.client ?? client).patch({
871
- security: [{ scheme: "bearer", type: "http" }],
872
- url: "/v1/media/segments/{uuid}",
873
- ...options,
874
- headers: {
875
- "Content-Type": "application/json",
876
- ...options.headers
877
- }
878
- });
879
841
  var getSegmentContext = (options) => (options.client ?? client).get({
880
842
  security: [{ scheme: "bearer", type: "http" }],
881
843
  url: "/v1/media/segments/{uuid}/context",
882
844
  ...options
883
845
  });
884
- var listSegmentRevisions = (options) => (options.client ?? client).get({
885
- security: [{ scheme: "bearer", type: "http" }],
886
- url: "/v1/media/segments/{uuid}/revisions",
887
- ...options
888
- });
889
846
  var listSeries = (options) => (options?.client ?? client).get({
890
847
  security: [{ scheme: "bearer", type: "http" }],
891
848
  url: "/v1/media/series",
892
849
  ...options
893
850
  });
894
- var createSeries = (options) => (options.client ?? client).post({
895
- security: [{ scheme: "bearer", type: "http" }],
896
- url: "/v1/media/series",
897
- ...options,
898
- headers: {
899
- "Content-Type": "application/json",
900
- ...options.headers
901
- }
902
- });
903
- var deleteSeries = (options) => (options.client ?? client).delete({
904
- security: [{ scheme: "bearer", type: "http" }],
905
- url: "/v1/media/series/{id}",
906
- ...options
907
- });
908
851
  var getSeries = (options) => (options.client ?? client).get({
909
852
  security: [{ scheme: "bearer", type: "http" }],
910
853
  url: "/v1/media/series/{id}",
911
854
  ...options
912
855
  });
913
- var updateSeries = (options) => (options.client ?? client).patch({
914
- security: [{ scheme: "bearer", type: "http" }],
915
- url: "/v1/media/series/{id}",
916
- ...options,
917
- headers: {
918
- "Content-Type": "application/json",
919
- ...options.headers
920
- }
921
- });
922
- var addMediaToSeries = (options) => (options.client ?? client).post({
923
- security: [{ scheme: "bearer", type: "http" }],
924
- url: "/v1/media/series/{id}/media",
925
- ...options,
926
- headers: {
927
- "Content-Type": "application/json",
928
- ...options.headers
929
- }
930
- });
931
- var removeMediaFromSeries = (options) => (options.client ?? client).delete({
932
- security: [{ scheme: "bearer", type: "http" }],
933
- url: "/v1/media/series/{id}/media/{mediaId}",
934
- ...options
935
- });
936
- var updateSeriesMedia = (options) => (options.client ?? client).patch({
937
- security: [{ scheme: "bearer", type: "http" }],
938
- url: "/v1/media/series/{id}/media/{mediaId}",
939
- ...options,
940
- headers: {
941
- "Content-Type": "application/json",
942
- ...options.headers
943
- }
944
- });
945
- var getCharacter = (options) => (options.client ?? client).get({
946
- security: [{ scheme: "bearer", type: "http" }],
947
- url: "/v1/media/characters/{id}",
948
- ...options
949
- });
950
- var getSeiyuu = (options) => (options.client ?? client).get({
951
- security: [{ scheme: "bearer", type: "http" }],
952
- url: "/v1/media/seiyuu/{id}",
953
- ...options
954
- });
955
- var deleteMedia = (options) => (options.client ?? client).delete({
956
- security: [{ scheme: "bearer", type: "http" }],
957
- url: "/v1/media/{id}",
958
- ...options
959
- });
960
856
  var getMedia = (options) => (options.client ?? client).get({
961
857
  security: [{ scheme: "bearer", type: "http" }],
962
858
  url: "/v1/media/{id}",
963
859
  ...options
964
860
  });
965
- var updateMedia = (options) => (options.client ?? client).patch({
966
- security: [{ scheme: "bearer", type: "http" }],
967
- url: "/v1/media/{id}",
968
- ...options,
969
- headers: {
970
- "Content-Type": "application/json",
971
- ...options.headers
972
- }
973
- });
974
861
  var listEpisodes = (options) => (options.client ?? client).get({
975
862
  security: [{ scheme: "bearer", type: "http" }],
976
863
  url: "/v1/media/{mediaId}/episodes",
977
864
  ...options
978
865
  });
979
- var createEpisode = (options) => (options.client ?? client).post({
980
- security: [{ scheme: "bearer", type: "http" }],
981
- url: "/v1/media/{mediaId}/episodes",
982
- ...options,
983
- headers: {
984
- "Content-Type": "application/json",
985
- ...options.headers
986
- }
987
- });
988
- var deleteEpisode = (options) => (options.client ?? client).delete({
989
- security: [{ scheme: "bearer", type: "http" }],
990
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
991
- ...options
992
- });
993
866
  var getEpisode = (options) => (options.client ?? client).get({
994
867
  security: [{ scheme: "bearer", type: "http" }],
995
868
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
996
869
  ...options
997
870
  });
998
- var updateEpisode = (options) => (options.client ?? client).patch({
999
- security: [{ scheme: "bearer", type: "http" }],
1000
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1001
- ...options,
1002
- headers: {
1003
- "Content-Type": "application/json",
1004
- ...options.headers
1005
- }
1006
- });
1007
- var listSegments = (options) => (options.client ?? client).get({
1008
- security: [{ scheme: "bearer", type: "http" }],
1009
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1010
- ...options
1011
- });
1012
- var createSegment = (options) => (options.client ?? client).post({
1013
- security: [{ scheme: "bearer", type: "http" }],
1014
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1015
- ...options,
1016
- headers: {
1017
- "Content-Type": "application/json",
1018
- ...options.headers
1019
- }
1020
- });
1021
- var createSegmentsBatch = (options) => (options.client ?? client).post({
1022
- security: [{ scheme: "bearer", type: "http" }],
1023
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/batch",
1024
- ...options,
1025
- headers: {
1026
- "Content-Type": "application/json",
1027
- ...options.headers
1028
- }
1029
- });
1030
- var deleteSegment = (options) => (options.client ?? client).delete({
1031
- security: [{ scheme: "bearer", type: "http" }],
1032
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1033
- ...options
1034
- });
1035
871
  var getSegment = (options) => (options.client ?? client).get({
1036
872
  security: [{ scheme: "bearer", type: "http" }],
1037
873
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1038
874
  ...options
1039
875
  });
1040
- var updateSegment = (options) => (options.client ?? client).patch({
1041
- security: [{ scheme: "bearer", type: "http" }],
1042
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1043
- ...options,
1044
- headers: {
1045
- "Content-Type": "application/json",
1046
- ...options.headers
1047
- }
1048
- });
1049
- var getUserQuota = (options) => (options?.client ?? client).get({
1050
- security: [{
1051
- in: "cookie",
1052
- name: "nadeshiko.session_token",
1053
- type: "apiKey"
1054
- }],
1055
- url: "/v1/user/quota",
1056
- ...options
1057
- });
1058
- var createUserReport = (options) => (options.client ?? client).post({
1059
- security: [{
1060
- in: "cookie",
1061
- name: "nadeshiko.session_token",
1062
- type: "apiKey"
1063
- }],
1064
- url: "/v1/user/reports",
1065
- ...options,
1066
- headers: {
1067
- "Content-Type": "application/json",
1068
- ...options.headers
1069
- }
1070
- });
1071
- var getUserPreferences = (options) => (options?.client ?? client).get({
1072
- security: [{
1073
- in: "cookie",
1074
- name: "nadeshiko.session_token",
1075
- type: "apiKey"
1076
- }],
1077
- url: "/v1/user/preferences",
1078
- ...options
1079
- });
1080
- var updateUserPreferences = (options) => (options.client ?? client).patch({
1081
- security: [{
1082
- in: "cookie",
1083
- name: "nadeshiko.session_token",
1084
- type: "apiKey"
1085
- }],
1086
- url: "/v1/user/preferences",
1087
- ...options,
1088
- headers: {
1089
- "Content-Type": "application/json",
1090
- ...options.headers
1091
- }
1092
- });
1093
- var deleteUserActivity = (options) => (options?.client ?? client).delete({
1094
- security: [{
1095
- in: "cookie",
1096
- name: "nadeshiko.session_token",
1097
- type: "apiKey"
1098
- }],
1099
- url: "/v1/user/activity",
1100
- ...options
1101
- });
1102
- var listUserActivity = (options) => (options?.client ?? client).get({
1103
- security: [{
1104
- in: "cookie",
1105
- name: "nadeshiko.session_token",
1106
- type: "apiKey"
1107
- }],
1108
- url: "/v1/user/activity",
1109
- ...options
1110
- });
1111
- var trackUserActivity = (options) => (options.client ?? client).post({
1112
- security: [{
1113
- in: "cookie",
1114
- name: "nadeshiko.session_token",
1115
- type: "apiKey"
1116
- }],
1117
- url: "/v1/user/activity",
1118
- ...options,
1119
- headers: {
1120
- "Content-Type": "application/json",
1121
- ...options.headers
1122
- }
1123
- });
1124
- var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1125
- security: [{
1126
- in: "cookie",
1127
- name: "nadeshiko.session_token",
1128
- type: "apiKey"
1129
- }],
1130
- url: "/v1/user/activity/heatmap",
1131
- ...options
1132
- });
1133
- var getUserActivityStats = (options) => (options?.client ?? client).get({
1134
- security: [{
1135
- in: "cookie",
1136
- name: "nadeshiko.session_token",
1137
- type: "apiKey"
1138
- }],
1139
- url: "/v1/user/activity/stats",
1140
- ...options
1141
- });
1142
- var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
1143
- security: [{
1144
- in: "cookie",
1145
- name: "nadeshiko.session_token",
1146
- type: "apiKey"
1147
- }],
1148
- url: "/v1/user/activity/date/{date}",
1149
- ...options
1150
- });
1151
- var deleteUserActivityById = (options) => (options.client ?? client).delete({
1152
- security: [{
1153
- in: "cookie",
1154
- name: "nadeshiko.session_token",
1155
- type: "apiKey"
1156
- }],
1157
- url: "/v1/user/activity/{id}",
1158
- ...options
1159
- });
1160
- var exportUserData = (options) => (options?.client ?? client).get({
1161
- security: [{
1162
- in: "cookie",
1163
- name: "nadeshiko.session_token",
1164
- type: "apiKey"
1165
- }],
1166
- url: "/v1/user/export",
1167
- ...options
1168
- });
1169
- var listUserLabs = (options) => (options?.client ?? client).get({
1170
- security: [{
1171
- in: "cookie",
1172
- name: "nadeshiko.session_token",
1173
- type: "apiKey"
1174
- }],
1175
- url: "/v1/user/labs",
1176
- ...options
1177
- });
1178
- var unenrollUserLab = (options) => (options.client ?? client).delete({
1179
- security: [{
1180
- in: "cookie",
1181
- name: "nadeshiko.session_token",
1182
- type: "apiKey"
1183
- }],
1184
- url: "/v1/user/labs/{key}",
1185
- ...options
1186
- });
1187
- var enrollUserLab = (options) => (options.client ?? client).post({
1188
- security: [{
1189
- in: "cookie",
1190
- name: "nadeshiko.session_token",
1191
- type: "apiKey"
1192
- }],
1193
- url: "/v1/user/labs/{key}",
1194
- ...options
1195
- });
1196
- var listCollections = (options) => (options?.client ?? client).get({
1197
- security: [{
1198
- in: "cookie",
1199
- name: "nadeshiko.session_token",
1200
- type: "apiKey"
1201
- }],
1202
- url: "/v1/collections",
1203
- ...options
1204
- });
1205
- var createCollection = (options) => (options.client ?? client).post({
1206
- security: [{
1207
- in: "cookie",
1208
- name: "nadeshiko.session_token",
1209
- type: "apiKey"
1210
- }],
1211
- url: "/v1/collections",
1212
- ...options,
1213
- headers: {
1214
- "Content-Type": "application/json",
1215
- ...options.headers
1216
- }
1217
- });
1218
- var deleteCollection = (options) => (options.client ?? client).delete({
1219
- security: [{
1220
- in: "cookie",
1221
- name: "nadeshiko.session_token",
1222
- type: "apiKey"
1223
- }],
1224
- url: "/v1/collections/{id}",
1225
- ...options
1226
- });
1227
- var getCollection = (options) => (options.client ?? client).get({
1228
- security: [{
1229
- in: "cookie",
1230
- name: "nadeshiko.session_token",
1231
- type: "apiKey"
1232
- }],
1233
- url: "/v1/collections/{id}",
1234
- ...options
1235
- });
1236
- var updateCollection = (options) => (options.client ?? client).patch({
1237
- security: [{
1238
- in: "cookie",
1239
- name: "nadeshiko.session_token",
1240
- type: "apiKey"
1241
- }],
1242
- url: "/v1/collections/{id}",
1243
- ...options,
1244
- headers: {
1245
- "Content-Type": "application/json",
1246
- ...options.headers
1247
- }
1248
- });
1249
- var addSegmentToCollection = (options) => (options.client ?? client).post({
1250
- security: [{
1251
- in: "cookie",
1252
- name: "nadeshiko.session_token",
1253
- type: "apiKey"
1254
- }],
1255
- url: "/v1/collections/{id}/segments",
1256
- ...options,
1257
- headers: {
1258
- "Content-Type": "application/json",
1259
- ...options.headers
1260
- }
1261
- });
1262
- var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
1263
- security: [{
1264
- in: "cookie",
1265
- name: "nadeshiko.session_token",
1266
- type: "apiKey"
1267
- }],
1268
- url: "/v1/collections/{id}/segments/{segmentId}",
1269
- ...options
1270
- });
1271
- var updateCollectionSegment = (options) => (options.client ?? client).patch({
1272
- security: [{
1273
- in: "cookie",
1274
- name: "nadeshiko.session_token",
1275
- type: "apiKey"
1276
- }],
1277
- url: "/v1/collections/{id}/segments/{segmentId}",
1278
- ...options,
1279
- headers: {
1280
- "Content-Type": "application/json",
1281
- ...options.headers
1282
- }
1283
- });
1284
- var searchCollectionSegments = (options) => (options.client ?? client).get({
1285
- security: [{
1286
- in: "cookie",
1287
- name: "nadeshiko.session_token",
1288
- type: "apiKey"
1289
- }],
1290
- url: "/v1/collections/{id}/search",
1291
- ...options
1292
- });
1293
- var getCollectionStats = (options) => (options.client ?? client).get({
1294
- security: [{
1295
- in: "cookie",
1296
- name: "nadeshiko.session_token",
1297
- type: "apiKey"
1298
- }],
1299
- url: "/v1/collections/{id}/stats",
1300
- ...options
1301
- });
1302
- var getAdminDashboard = (options) => (options?.client ?? client).get({
1303
- security: [{
1304
- in: "cookie",
1305
- name: "nadeshiko.session_token",
1306
- type: "apiKey"
1307
- }],
1308
- url: "/v1/admin/dashboard",
1309
- ...options
1310
- });
1311
- var getAdminDashboardOverview = (options) => (options?.client ?? client).get({
1312
- security: [{
1313
- in: "cookie",
1314
- name: "nadeshiko.session_token",
1315
- type: "apiKey"
1316
- }],
1317
- url: "/v1/admin/dashboard/overview",
1318
- ...options
1319
- });
1320
- var getAdminDashboardMedia = (options) => (options?.client ?? client).get({
1321
- security: [{
1322
- in: "cookie",
1323
- name: "nadeshiko.session_token",
1324
- type: "apiKey"
1325
- }],
1326
- url: "/v1/admin/dashboard/media",
1327
- ...options
1328
- });
1329
- var getAdminDashboardActivity = (options) => (options?.client ?? client).get({
1330
- security: [{
1331
- in: "cookie",
1332
- name: "nadeshiko.session_token",
1333
- type: "apiKey"
1334
- }],
1335
- url: "/v1/admin/dashboard/activity",
1336
- ...options
1337
- });
1338
- var getAdminDashboardCollections = (options) => (options?.client ?? client).get({
1339
- security: [{
1340
- in: "cookie",
1341
- name: "nadeshiko.session_token",
1342
- type: "apiKey"
1343
- }],
1344
- url: "/v1/admin/dashboard/collections",
1345
- ...options
1346
- });
1347
- var getAdminDashboardApiKeys = (options) => (options?.client ?? client).get({
1348
- security: [{
1349
- in: "cookie",
1350
- name: "nadeshiko.session_token",
1351
- type: "apiKey"
1352
- }],
1353
- url: "/v1/admin/dashboard/api-keys",
1354
- ...options
1355
- });
1356
- var getAdminDashboardSystem = (options) => (options?.client ?? client).get({
1357
- security: [{
1358
- in: "cookie",
1359
- name: "nadeshiko.session_token",
1360
- type: "apiKey"
1361
- }],
1362
- url: "/v1/admin/dashboard/system",
1363
- ...options
1364
- });
1365
- var getAdminHealth = (options) => (options?.client ?? client).get({
1366
- security: [{
1367
- in: "cookie",
1368
- name: "nadeshiko.session_token",
1369
- type: "apiKey"
1370
- }],
1371
- url: "/v1/admin/health",
1372
- ...options
1373
- });
1374
- var triggerReindex = (options) => (options?.client ?? client).post({
1375
- security: [{
1376
- in: "cookie",
1377
- name: "nadeshiko.session_token",
1378
- type: "apiKey"
1379
- }],
1380
- url: "/v1/admin/reindex",
1381
- ...options,
1382
- headers: {
1383
- "Content-Type": "application/json",
1384
- ...options?.headers
1385
- }
1386
- });
1387
- var listAdminQueueStats = (options) => (options?.client ?? client).get({
1388
- security: [{
1389
- in: "cookie",
1390
- name: "nadeshiko.session_token",
1391
- type: "apiKey"
1392
- }],
1393
- url: "/v1/admin/queues/stats",
1394
- ...options
1395
- });
1396
- var getAdminQueue = (options) => (options.client ?? client).get({
1397
- security: [{
1398
- in: "cookie",
1399
- name: "nadeshiko.session_token",
1400
- type: "apiKey"
1401
- }],
1402
- url: "/v1/admin/queues/{queueName}",
1403
- ...options
1404
- });
1405
- var listAdminQueueFailed = (options) => (options.client ?? client).get({
1406
- security: [{
1407
- in: "cookie",
1408
- name: "nadeshiko.session_token",
1409
- type: "apiKey"
1410
- }],
1411
- url: "/v1/admin/queues/{queueName}/failed",
1412
- ...options
1413
- });
1414
- var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1415
- security: [{
1416
- in: "cookie",
1417
- name: "nadeshiko.session_token",
1418
- type: "apiKey"
1419
- }],
1420
- url: "/v1/admin/queues/{queueName}/retry",
1421
- ...options
1422
- });
1423
- var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1424
- security: [{
1425
- in: "cookie",
1426
- name: "nadeshiko.session_token",
1427
- type: "apiKey"
1428
- }],
1429
- url: "/v1/admin/queues/{queueName}/purge",
1430
- ...options
1431
- });
1432
- var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
1433
- var impersonateAdminUser = (options) => (options.client ?? client).post({
1434
- url: "/v1/admin/impersonation",
1435
- ...options,
1436
- headers: {
1437
- "Content-Type": "application/json",
1438
- ...options.headers
1439
- }
1440
- });
1441
- var listAdminReports = (options) => (options?.client ?? client).get({
1442
- security: [{
1443
- in: "cookie",
1444
- name: "nadeshiko.session_token",
1445
- type: "apiKey"
1446
- }],
1447
- url: "/v1/admin/reports",
1448
- ...options
1449
- });
1450
- var batchUpdateAdminReports = (options) => (options.client ?? client).patch({
1451
- security: [{
1452
- in: "cookie",
1453
- name: "nadeshiko.session_token",
1454
- type: "apiKey"
1455
- }],
1456
- url: "/v1/admin/reports/batch",
1457
- ...options,
1458
- headers: {
1459
- "Content-Type": "application/json",
1460
- ...options.headers
1461
- }
1462
- });
1463
- var updateAdminReport = (options) => (options.client ?? client).patch({
1464
- security: [{
1465
- in: "cookie",
1466
- name: "nadeshiko.session_token",
1467
- type: "apiKey"
1468
- }],
1469
- url: "/v1/admin/reports/{id}",
1470
- ...options,
1471
- headers: {
1472
- "Content-Type": "application/json",
1473
- ...options.headers
1474
- }
1475
- });
1476
- var listAdminMediaAudits = (options) => (options?.client ?? client).get({
1477
- security: [{
1478
- in: "cookie",
1479
- name: "nadeshiko.session_token",
1480
- type: "apiKey"
1481
- }],
1482
- url: "/v1/admin/media/audits",
1483
- ...options
1484
- });
1485
- var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1486
- security: [{
1487
- in: "cookie",
1488
- name: "nadeshiko.session_token",
1489
- type: "apiKey"
1490
- }],
1491
- url: "/v1/admin/media/audits/{name}",
1492
- ...options,
1493
- headers: {
1494
- "Content-Type": "application/json",
1495
- ...options.headers
1496
- }
1497
- });
1498
- var runAdminMediaAudit = (options) => (options.client ?? client).post({
1499
- security: [{
1500
- in: "cookie",
1501
- name: "nadeshiko.session_token",
1502
- type: "apiKey"
1503
- }],
1504
- url: "/v1/admin/media/audits/{name}/run",
1505
- ...options
1506
- });
1507
- var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
1508
- security: [{
1509
- in: "cookie",
1510
- name: "nadeshiko.session_token",
1511
- type: "apiKey"
1512
- }],
1513
- url: "/v1/admin/media/audits/runs",
1514
- ...options
1515
- });
1516
- var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
1517
- security: [{
1518
- in: "cookie",
1519
- name: "nadeshiko.session_token",
1520
- type: "apiKey"
1521
- }],
1522
- url: "/v1/admin/media/audits/runs/{id}",
1523
- ...options
1524
- });
1525
- var getAnnouncement = (options) => (options?.client ?? client).get({ url: "/v1/admin/announcement", ...options });
1526
- var updateAnnouncement = (options) => (options.client ?? client).put({
1527
- security: [{
1528
- in: "cookie",
1529
- name: "nadeshiko.session_token",
1530
- type: "apiKey"
1531
- }],
1532
- url: "/v1/admin/announcement",
1533
- ...options,
1534
- headers: {
1535
- "Content-Type": "application/json",
1536
- ...options.headers
1537
- }
1538
- });
1539
- // generated/internal/retry.ts
876
+ // generated/public/retry.ts
1540
877
  var RETRYABLE_STATUS = new Set([408, 429, 500, 502, 503, 504]);
1541
878
  function parseRetryAfter(value) {
1542
879
  const seconds = Number(value);
@@ -1606,7 +943,7 @@ function withRetry(fetchImpl = globalThis.fetch, options = {}) {
1606
943
  };
1607
944
  }
1608
945
 
1609
- // generated/internal/errors.ts
946
+ // generated/public/errors.ts
1610
947
  class NadeshikoError extends Error {
1611
948
  code;
1612
949
  title;
@@ -1628,19 +965,13 @@ class NadeshikoError extends Error {
1628
965
  }
1629
966
  }
1630
967
 
1631
- // generated/internal/nadeshiko.gen.ts
968
+ // generated/public/nadeshiko.gen.ts
1632
969
  var environments = {
1633
970
  LOCAL: "http://localhost:5000/api",
1634
971
  DEVELOPMENT: "https://api-dev.nadeshiko.co",
1635
972
  PRODUCTION: "https://api.nadeshiko.co",
1636
973
  PROXY: ""
1637
974
  };
1638
- var defaultSessionTokenGetter = () => {
1639
- if (typeof document === "undefined")
1640
- return;
1641
- const match = document.cookie.match(/(?:^|;\s*)nadeshiko\.session_token=([^;]*)/);
1642
- return match ? decodeURIComponent(match[1]) : undefined;
1643
- };
1644
975
  function createNadeshikoClient(config) {
1645
976
  const rawBaseUrl = config.baseURL ?? config.baseUrl;
1646
977
  const baseUrl = rawBaseUrl === undefined ? environments.PRODUCTION : (rawBaseUrl in environments) ? environments[rawBaseUrl] : rawBaseUrl;
@@ -1650,16 +981,10 @@ function createNadeshikoClient(config) {
1650
981
  }
1651
982
  return config.apiKey;
1652
983
  };
1653
- const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
1654
984
  const clientInstance = createClient(createConfig({
1655
985
  baseUrl,
1656
986
  fetch: withRetry(globalThis.fetch, config.retryOptions),
1657
- auth: (auth) => {
1658
- if (auth.in === "cookie") {
1659
- return getSessionToken();
1660
- }
1661
- return getApiKey();
1662
- }
987
+ auth: () => getApiKey()
1663
988
  }));
1664
989
  clientInstance.interceptors.error.use((error) => {
1665
990
  if (error && typeof error === "object" && "code" in error && typeof error.code === "string") {
@@ -1680,172 +1005,10 @@ function createNadeshikoClient(config) {
1680
1005
  getMedia: (options) => getMedia({ throwOnError: true, ...options, client: clientInstance }),
1681
1006
  listEpisodes: (options) => listEpisodes({ throwOnError: true, ...options, client: clientInstance }),
1682
1007
  getEpisode: (options) => getEpisode({ throwOnError: true, ...options, client: clientInstance }),
1683
- getSegment: (options) => getSegment({ throwOnError: true, ...options, client: clientInstance }),
1684
- createMedia: (options) => createMedia({ throwOnError: true, ...options, client: clientInstance }),
1685
- autocompleteMedia: (options) => autocompleteMedia({ throwOnError: true, ...options, client: clientInstance }),
1686
- updateSegmentByUuid: (options) => updateSegmentByUuid({ throwOnError: true, ...options, client: clientInstance }),
1687
- listSegmentRevisions: (options) => listSegmentRevisions({ throwOnError: true, ...options, client: clientInstance }),
1688
- createSeries: (options) => createSeries({ throwOnError: true, ...options, client: clientInstance }),
1689
- updateSeries: (options) => updateSeries({ throwOnError: true, ...options, client: clientInstance }),
1690
- deleteSeries: (options) => deleteSeries({ throwOnError: true, ...options, client: clientInstance }),
1691
- addMediaToSeries: (options) => addMediaToSeries({ throwOnError: true, ...options, client: clientInstance }),
1692
- updateSeriesMedia: (options) => updateSeriesMedia({ throwOnError: true, ...options, client: clientInstance }),
1693
- removeMediaFromSeries: (options) => removeMediaFromSeries({ throwOnError: true, ...options, client: clientInstance }),
1694
- getCharacter: (options) => getCharacter({ throwOnError: true, ...options, client: clientInstance }),
1695
- getSeiyuu: (options) => getSeiyuu({ throwOnError: true, ...options, client: clientInstance }),
1696
- updateMedia: (options) => updateMedia({ throwOnError: true, ...options, client: clientInstance }),
1697
- deleteMedia: (options) => deleteMedia({ throwOnError: true, ...options, client: clientInstance }),
1698
- createEpisode: (options) => createEpisode({ throwOnError: true, ...options, client: clientInstance }),
1699
- updateEpisode: (options) => updateEpisode({ throwOnError: true, ...options, client: clientInstance }),
1700
- deleteEpisode: (options) => deleteEpisode({ throwOnError: true, ...options, client: clientInstance }),
1701
- listSegments: (options) => listSegments({ throwOnError: true, ...options, client: clientInstance }),
1702
- createSegment: (options) => createSegment({ throwOnError: true, ...options, client: clientInstance }),
1703
- createSegmentsBatch: (options) => createSegmentsBatch({ throwOnError: true, ...options, client: clientInstance }),
1704
- updateSegment: (options) => updateSegment({ throwOnError: true, ...options, client: clientInstance }),
1705
- deleteSegment: (options) => deleteSegment({ throwOnError: true, ...options, client: clientInstance }),
1706
- getUserQuota: (options) => getUserQuota({ throwOnError: true, ...options, client: clientInstance }),
1707
- createUserReport: (options) => createUserReport({ throwOnError: true, ...options, client: clientInstance }),
1708
- getUserPreferences: (options) => getUserPreferences({ throwOnError: true, ...options, client: clientInstance }),
1709
- updateUserPreferences: (options) => updateUserPreferences({ throwOnError: true, ...options, client: clientInstance }),
1710
- listUserActivity: (options) => listUserActivity({ throwOnError: true, ...options, client: clientInstance }),
1711
- trackUserActivity: (options) => trackUserActivity({ throwOnError: true, ...options, client: clientInstance }),
1712
- deleteUserActivity: (options) => deleteUserActivity({ throwOnError: true, ...options, client: clientInstance }),
1713
- getUserActivityHeatmap: (options) => getUserActivityHeatmap({ throwOnError: true, ...options, client: clientInstance }),
1714
- getUserActivityStats: (options) => getUserActivityStats({ throwOnError: true, ...options, client: clientInstance }),
1715
- deleteUserActivityByDate: (options) => deleteUserActivityByDate({ throwOnError: true, ...options, client: clientInstance }),
1716
- deleteUserActivityById: (options) => deleteUserActivityById({ throwOnError: true, ...options, client: clientInstance }),
1717
- exportUserData: (options) => exportUserData({ throwOnError: true, ...options, client: clientInstance }),
1718
- listUserLabs: (options) => listUserLabs({ throwOnError: true, ...options, client: clientInstance }),
1719
- enrollUserLab: (options) => enrollUserLab({ throwOnError: true, ...options, client: clientInstance }),
1720
- unenrollUserLab: (options) => unenrollUserLab({ throwOnError: true, ...options, client: clientInstance }),
1721
- listCollections: (options) => listCollections({ throwOnError: true, ...options, client: clientInstance }),
1722
- createCollection: (options) => createCollection({ throwOnError: true, ...options, client: clientInstance }),
1723
- getCollection: (options) => getCollection({ throwOnError: true, ...options, client: clientInstance }),
1724
- updateCollection: (options) => updateCollection({ throwOnError: true, ...options, client: clientInstance }),
1725
- deleteCollection: (options) => deleteCollection({ throwOnError: true, ...options, client: clientInstance }),
1726
- addSegmentToCollection: (options) => addSegmentToCollection({ throwOnError: true, ...options, client: clientInstance }),
1727
- updateCollectionSegment: (options) => updateCollectionSegment({ throwOnError: true, ...options, client: clientInstance }),
1728
- removeSegmentFromCollection: (options) => removeSegmentFromCollection({ throwOnError: true, ...options, client: clientInstance }),
1729
- searchCollectionSegments: (options) => searchCollectionSegments({ throwOnError: true, ...options, client: clientInstance }),
1730
- getCollectionStats: (options) => getCollectionStats({ throwOnError: true, ...options, client: clientInstance }),
1731
- getAdminDashboard: (options) => getAdminDashboard({ throwOnError: true, ...options, client: clientInstance }),
1732
- getAdminDashboardOverview: (options) => getAdminDashboardOverview({ throwOnError: true, ...options, client: clientInstance }),
1733
- getAdminDashboardMedia: (options) => getAdminDashboardMedia({ throwOnError: true, ...options, client: clientInstance }),
1734
- getAdminDashboardActivity: (options) => getAdminDashboardActivity({ throwOnError: true, ...options, client: clientInstance }),
1735
- getAdminDashboardCollections: (options) => getAdminDashboardCollections({ throwOnError: true, ...options, client: clientInstance }),
1736
- getAdminDashboardApiKeys: (options) => getAdminDashboardApiKeys({ throwOnError: true, ...options, client: clientInstance }),
1737
- getAdminDashboardSystem: (options) => getAdminDashboardSystem({ throwOnError: true, ...options, client: clientInstance }),
1738
- getAdminHealth: (options) => getAdminHealth({ throwOnError: true, ...options, client: clientInstance }),
1739
- triggerReindex: (options) => triggerReindex({ throwOnError: true, ...options, client: clientInstance }),
1740
- listAdminQueueStats: (options) => listAdminQueueStats({ throwOnError: true, ...options, client: clientInstance }),
1741
- getAdminQueue: (options) => getAdminQueue({ throwOnError: true, ...options, client: clientInstance }),
1742
- listAdminQueueFailed: (options) => listAdminQueueFailed({ throwOnError: true, ...options, client: clientInstance }),
1743
- retryAdminQueueFailed: (options) => retryAdminQueueFailed({ throwOnError: true, ...options, client: clientInstance }),
1744
- purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ throwOnError: true, ...options, client: clientInstance }),
1745
- impersonateAdminUser: (options) => impersonateAdminUser({ throwOnError: true, ...options, client: clientInstance }),
1746
- clearAdminImpersonation: (options) => clearAdminImpersonation({ throwOnError: true, ...options, client: clientInstance }),
1747
- listAdminReports: (options) => listAdminReports({ throwOnError: true, ...options, client: clientInstance }),
1748
- batchUpdateAdminReports: (options) => batchUpdateAdminReports({ throwOnError: true, ...options, client: clientInstance }),
1749
- updateAdminReport: (options) => updateAdminReport({ throwOnError: true, ...options, client: clientInstance }),
1750
- listAdminMediaAudits: (options) => listAdminMediaAudits({ throwOnError: true, ...options, client: clientInstance }),
1751
- updateAdminMediaAudit: (options) => updateAdminMediaAudit({ throwOnError: true, ...options, client: clientInstance }),
1752
- runAdminMediaAudit: (options) => runAdminMediaAudit({ throwOnError: true, ...options, client: clientInstance }),
1753
- listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ throwOnError: true, ...options, client: clientInstance }),
1754
- getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ throwOnError: true, ...options, client: clientInstance }),
1755
- getAnnouncement: (options) => getAnnouncement({ throwOnError: true, ...options, client: clientInstance }),
1756
- updateAnnouncement: (options) => updateAnnouncement({ throwOnError: true, ...options, client: clientInstance })
1008
+ getSegment: (options) => getSegment({ throwOnError: true, ...options, client: clientInstance })
1757
1009
  };
1758
1010
  }
1759
- // generated/internal/internal/media.gen.ts
1760
- var exports_media_gen = {};
1761
- __export(exports_media_gen, {
1762
- updateSeriesMedia: () => updateSeriesMedia,
1763
- updateSeries: () => updateSeries,
1764
- updateSegmentByUuid: () => updateSegmentByUuid,
1765
- updateSegment: () => updateSegment,
1766
- updateMedia: () => updateMedia,
1767
- updateEpisode: () => updateEpisode,
1768
- removeMediaFromSeries: () => removeMediaFromSeries,
1769
- listSegments: () => listSegments,
1770
- listSegmentRevisions: () => listSegmentRevisions,
1771
- getSeiyuu: () => getSeiyuu,
1772
- getCharacter: () => getCharacter,
1773
- deleteSeries: () => deleteSeries,
1774
- deleteSegment: () => deleteSegment,
1775
- deleteMedia: () => deleteMedia,
1776
- deleteEpisode: () => deleteEpisode,
1777
- createSeries: () => createSeries,
1778
- createSegmentsBatch: () => createSegmentsBatch,
1779
- createSegment: () => createSegment,
1780
- createMedia: () => createMedia,
1781
- createEpisode: () => createEpisode,
1782
- autocompleteMedia: () => autocompleteMedia,
1783
- addMediaToSeries: () => addMediaToSeries
1784
- });
1785
- // generated/internal/internal/user.gen.ts
1786
- var exports_user_gen = {};
1787
- __export(exports_user_gen, {
1788
- updateUserPreferences: () => updateUserPreferences,
1789
- unenrollUserLab: () => unenrollUserLab,
1790
- trackUserActivity: () => trackUserActivity,
1791
- listUserLabs: () => listUserLabs,
1792
- listUserActivity: () => listUserActivity,
1793
- getUserQuota: () => getUserQuota,
1794
- getUserPreferences: () => getUserPreferences,
1795
- getUserActivityStats: () => getUserActivityStats,
1796
- getUserActivityHeatmap: () => getUserActivityHeatmap,
1797
- exportUserData: () => exportUserData,
1798
- enrollUserLab: () => enrollUserLab,
1799
- deleteUserActivityById: () => deleteUserActivityById,
1800
- deleteUserActivityByDate: () => deleteUserActivityByDate,
1801
- deleteUserActivity: () => deleteUserActivity,
1802
- createUserReport: () => createUserReport
1803
- });
1804
- // generated/internal/internal/collections.gen.ts
1805
- var exports_collections_gen = {};
1806
- __export(exports_collections_gen, {
1807
- updateCollectionSegment: () => updateCollectionSegment,
1808
- updateCollection: () => updateCollection,
1809
- searchCollectionSegments: () => searchCollectionSegments,
1810
- removeSegmentFromCollection: () => removeSegmentFromCollection,
1811
- listCollections: () => listCollections,
1812
- getCollectionStats: () => getCollectionStats,
1813
- getCollection: () => getCollection,
1814
- deleteCollection: () => deleteCollection,
1815
- createCollection: () => createCollection,
1816
- addSegmentToCollection: () => addSegmentToCollection
1817
- });
1818
- // generated/internal/internal/admin.gen.ts
1819
- var exports_admin_gen = {};
1820
- __export(exports_admin_gen, {
1821
- updateAnnouncement: () => updateAnnouncement,
1822
- updateAdminReport: () => updateAdminReport,
1823
- updateAdminMediaAudit: () => updateAdminMediaAudit,
1824
- triggerReindex: () => triggerReindex,
1825
- runAdminMediaAudit: () => runAdminMediaAudit,
1826
- retryAdminQueueFailed: () => retryAdminQueueFailed,
1827
- purgeAdminQueueFailed: () => purgeAdminQueueFailed,
1828
- listAdminReports: () => listAdminReports,
1829
- listAdminQueueStats: () => listAdminQueueStats,
1830
- listAdminQueueFailed: () => listAdminQueueFailed,
1831
- listAdminMediaAudits: () => listAdminMediaAudits,
1832
- listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
1833
- impersonateAdminUser: () => impersonateAdminUser,
1834
- getAnnouncement: () => getAnnouncement,
1835
- getAdminQueue: () => getAdminQueue,
1836
- getAdminMediaAuditRun: () => getAdminMediaAuditRun,
1837
- getAdminHealth: () => getAdminHealth,
1838
- getAdminDashboardSystem: () => getAdminDashboardSystem,
1839
- getAdminDashboardOverview: () => getAdminDashboardOverview,
1840
- getAdminDashboardMedia: () => getAdminDashboardMedia,
1841
- getAdminDashboardCollections: () => getAdminDashboardCollections,
1842
- getAdminDashboardApiKeys: () => getAdminDashboardApiKeys,
1843
- getAdminDashboardActivity: () => getAdminDashboardActivity,
1844
- getAdminDashboard: () => getAdminDashboard,
1845
- clearAdminImpersonation: () => clearAdminImpersonation,
1846
- batchUpdateAdminReports: () => batchUpdateAdminReports
1847
- });
1848
- // generated/internal/paginate.ts
1011
+ // generated/public/paginate.ts
1849
1012
  async function* paginate(fn, options, extract) {
1850
1013
  let cursor = null;
1851
1014
  let first = true;
@@ -1876,100 +1039,23 @@ function patchCursor(options, cursor) {
1876
1039
  }
1877
1040
  export {
1878
1041
  withRetry,
1879
- exports_user_gen as user,
1880
- updateUserPreferences,
1881
- updateSeriesMedia,
1882
- updateSeries,
1883
- updateSegmentByUuid,
1884
- updateSegment,
1885
- updateMedia,
1886
- updateEpisode,
1887
- updateCollectionSegment,
1888
- updateCollection,
1889
- updateAnnouncement,
1890
- updateAdminReport,
1891
- updateAdminMediaAudit,
1892
- unenrollUserLab,
1893
- triggerReindex,
1894
- trackUserActivity,
1895
1042
  searchWords,
1896
- searchCollectionSegments,
1897
1043
  search,
1898
- runAdminMediaAudit,
1899
- retryAdminQueueFailed,
1900
- removeSegmentFromCollection,
1901
- removeMediaFromSeries,
1902
- purgeAdminQueueFailed,
1903
1044
  paginate,
1904
- exports_media_gen as media,
1905
- listUserLabs,
1906
- listUserActivity,
1907
1045
  listSeries,
1908
- listSegments,
1909
- listSegmentRevisions,
1910
1046
  listMedia,
1911
1047
  listEpisodes,
1912
- listCollections,
1913
- listAdminReports,
1914
- listAdminQueueStats,
1915
- listAdminQueueFailed,
1916
- listAdminMediaAudits,
1917
- listAdminMediaAuditRuns,
1918
- impersonateAdminUser,
1919
- getUserQuota,
1920
- getUserPreferences,
1921
- getUserActivityStats,
1922
- getUserActivityHeatmap,
1923
1048
  getSeries,
1924
- getSeiyuu,
1925
1049
  getSegmentContext,
1926
1050
  getSegmentByUuid,
1927
1051
  getSegment,
1928
1052
  getSearchStats,
1929
1053
  getMedia,
1930
1054
  getEpisode,
1931
- getCollectionStats,
1932
- getCollection,
1933
- getCharacter,
1934
- getAnnouncement,
1935
- getAdminQueue,
1936
- getAdminMediaAuditRun,
1937
- getAdminHealth,
1938
- getAdminDashboardSystem,
1939
- getAdminDashboardOverview,
1940
- getAdminDashboardMedia,
1941
- getAdminDashboardCollections,
1942
- getAdminDashboardApiKeys,
1943
- getAdminDashboardActivity,
1944
- getAdminDashboard,
1945
- exportUserData,
1946
- enrollUserLab,
1947
- deleteUserActivityById,
1948
- deleteUserActivityByDate,
1949
- deleteUserActivity,
1950
- deleteSeries,
1951
- deleteSegment,
1952
- deleteMedia,
1953
- deleteEpisode,
1954
- deleteCollection,
1955
- createUserReport,
1956
- createSeries,
1957
- createSegmentsBatch,
1958
- createSegment,
1959
1055
  createNadeshikoClient,
1960
- createMedia,
1961
- createEpisode,
1962
- createCollection,
1963
- exports_collections_gen as collections,
1964
1056
  client,
1965
- clearAdminImpersonation,
1966
- batchUpdateAdminReports,
1967
- autocompleteMedia,
1968
- exports_admin_gen as admin,
1969
- addSegmentToCollection,
1970
- addMediaToSeries,
1971
1057
  NadeshikoError
1972
1058
  };
1973
1059
 
1974
- //# debugId=19356F5ADF60862164756E2164756E21
1060
+ //# debugId=FD62861FCF89329B64756E2164756E21
1975
1061
  //# sourceMappingURL=index.js.map