@brigadasos/nadeshiko-sdk 2.0.0-dev.dd1d7b0 → 2.0.0

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 +51 -942
  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 -923
  20. package/dist/index.js.map +4 -4
  21. package/dist/nadeshiko.gen.d.ts +1 -1177
  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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/client.gen.ts
800
+ // generated/public/client.gen.ts
816
801
  var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }));
817
802
 
818
- // generated/dev/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
  in: "cookie",
@@ -864,28 +849,6 @@ var listMedia = (options) => (options?.client ?? client).get({
864
849
  url: "/v1/media",
865
850
  ...options
866
851
  });
867
- var createMedia = (options) => (options.client ?? client).post({
868
- security: [{ scheme: "bearer", type: "http" }, {
869
- in: "cookie",
870
- name: "nadeshiko.session_token",
871
- type: "apiKey"
872
- }],
873
- url: "/v1/media",
874
- ...options,
875
- headers: {
876
- "Content-Type": "application/json",
877
- ...options.headers
878
- }
879
- });
880
- var autocompleteMedia = (options) => (options.client ?? client).get({
881
- security: [{ scheme: "bearer", type: "http" }, {
882
- in: "cookie",
883
- name: "nadeshiko.session_token",
884
- type: "apiKey"
885
- }],
886
- url: "/v1/media/autocomplete",
887
- ...options
888
- });
889
852
  var getSegmentByUuid = (options) => (options.client ?? client).get({
890
853
  security: [{ scheme: "bearer", type: "http" }, {
891
854
  in: "cookie",
@@ -895,19 +858,6 @@ var getSegmentByUuid = (options) => (options.client ?? client).get({
895
858
  url: "/v1/media/segments/{uuid}",
896
859
  ...options
897
860
  });
898
- var updateSegmentByUuid = (options) => (options.client ?? client).patch({
899
- security: [{ scheme: "bearer", type: "http" }, {
900
- in: "cookie",
901
- name: "nadeshiko.session_token",
902
- type: "apiKey"
903
- }],
904
- url: "/v1/media/segments/{uuid}",
905
- ...options,
906
- headers: {
907
- "Content-Type": "application/json",
908
- ...options.headers
909
- }
910
- });
911
861
  var getSegmentContext = (options) => (options.client ?? client).get({
912
862
  security: [{ scheme: "bearer", type: "http" }, {
913
863
  in: "cookie",
@@ -917,15 +867,6 @@ var getSegmentContext = (options) => (options.client ?? client).get({
917
867
  url: "/v1/media/segments/{uuid}/context",
918
868
  ...options
919
869
  });
920
- var listSegmentRevisions = (options) => (options.client ?? client).get({
921
- security: [{ scheme: "bearer", type: "http" }, {
922
- in: "cookie",
923
- name: "nadeshiko.session_token",
924
- type: "apiKey"
925
- }],
926
- url: "/v1/media/segments/{uuid}/revisions",
927
- ...options
928
- });
929
870
  var listSeries = (options) => (options?.client ?? client).get({
930
871
  security: [{ scheme: "bearer", type: "http" }, {
931
872
  in: "cookie",
@@ -935,28 +876,6 @@ var listSeries = (options) => (options?.client ?? client).get({
935
876
  url: "/v1/media/series",
936
877
  ...options
937
878
  });
938
- var createSeries = (options) => (options.client ?? client).post({
939
- security: [{ scheme: "bearer", type: "http" }, {
940
- in: "cookie",
941
- name: "nadeshiko.session_token",
942
- type: "apiKey"
943
- }],
944
- url: "/v1/media/series",
945
- ...options,
946
- headers: {
947
- "Content-Type": "application/json",
948
- ...options.headers
949
- }
950
- });
951
- var deleteSeries = (options) => (options.client ?? client).delete({
952
- security: [{ scheme: "bearer", type: "http" }, {
953
- in: "cookie",
954
- name: "nadeshiko.session_token",
955
- type: "apiKey"
956
- }],
957
- url: "/v1/media/series/{id}",
958
- ...options
959
- });
960
879
  var getSeries = (options) => (options.client ?? client).get({
961
880
  security: [{ scheme: "bearer", type: "http" }, {
962
881
  in: "cookie",
@@ -966,54 +885,6 @@ var getSeries = (options) => (options.client ?? client).get({
966
885
  url: "/v1/media/series/{id}",
967
886
  ...options
968
887
  });
969
- var updateSeries = (options) => (options.client ?? client).patch({
970
- security: [{ scheme: "bearer", type: "http" }, {
971
- in: "cookie",
972
- name: "nadeshiko.session_token",
973
- type: "apiKey"
974
- }],
975
- url: "/v1/media/series/{id}",
976
- ...options,
977
- headers: {
978
- "Content-Type": "application/json",
979
- ...options.headers
980
- }
981
- });
982
- var addMediaToSeries = (options) => (options.client ?? client).post({
983
- security: [{ scheme: "bearer", type: "http" }, {
984
- in: "cookie",
985
- name: "nadeshiko.session_token",
986
- type: "apiKey"
987
- }],
988
- url: "/v1/media/series/{id}/media",
989
- ...options,
990
- headers: {
991
- "Content-Type": "application/json",
992
- ...options.headers
993
- }
994
- });
995
- var removeMediaFromSeries = (options) => (options.client ?? client).delete({
996
- security: [{ scheme: "bearer", type: "http" }, {
997
- in: "cookie",
998
- name: "nadeshiko.session_token",
999
- type: "apiKey"
1000
- }],
1001
- url: "/v1/media/series/{id}/media/{mediaId}",
1002
- ...options
1003
- });
1004
- var updateSeriesMedia = (options) => (options.client ?? client).patch({
1005
- security: [{ scheme: "bearer", type: "http" }, {
1006
- in: "cookie",
1007
- name: "nadeshiko.session_token",
1008
- type: "apiKey"
1009
- }],
1010
- url: "/v1/media/series/{id}/media/{mediaId}",
1011
- ...options,
1012
- headers: {
1013
- "Content-Type": "application/json",
1014
- ...options.headers
1015
- }
1016
- });
1017
888
  var getCharacter = (options) => (options.client ?? client).get({
1018
889
  security: [{ scheme: "bearer", type: "http" }, {
1019
890
  in: "cookie",
@@ -1032,15 +903,6 @@ var getSeiyuu = (options) => (options.client ?? client).get({
1032
903
  url: "/v1/media/seiyuu/{id}",
1033
904
  ...options
1034
905
  });
1035
- var deleteMedia = (options) => (options.client ?? client).delete({
1036
- security: [{ scheme: "bearer", type: "http" }, {
1037
- in: "cookie",
1038
- name: "nadeshiko.session_token",
1039
- type: "apiKey"
1040
- }],
1041
- url: "/v1/media/{id}",
1042
- ...options
1043
- });
1044
906
  var getMedia = (options) => (options.client ?? client).get({
1045
907
  security: [{ scheme: "bearer", type: "http" }, {
1046
908
  in: "cookie",
@@ -1050,19 +912,6 @@ var getMedia = (options) => (options.client ?? client).get({
1050
912
  url: "/v1/media/{id}",
1051
913
  ...options
1052
914
  });
1053
- var updateMedia = (options) => (options.client ?? client).patch({
1054
- security: [{ scheme: "bearer", type: "http" }, {
1055
- in: "cookie",
1056
- name: "nadeshiko.session_token",
1057
- type: "apiKey"
1058
- }],
1059
- url: "/v1/media/{id}",
1060
- ...options,
1061
- headers: {
1062
- "Content-Type": "application/json",
1063
- ...options.headers
1064
- }
1065
- });
1066
915
  var listEpisodes = (options) => (options.client ?? client).get({
1067
916
  security: [{ scheme: "bearer", type: "http" }, {
1068
917
  in: "cookie",
@@ -1072,28 +921,6 @@ var listEpisodes = (options) => (options.client ?? client).get({
1072
921
  url: "/v1/media/{mediaId}/episodes",
1073
922
  ...options
1074
923
  });
1075
- var createEpisode = (options) => (options.client ?? client).post({
1076
- security: [{ scheme: "bearer", type: "http" }, {
1077
- in: "cookie",
1078
- name: "nadeshiko.session_token",
1079
- type: "apiKey"
1080
- }],
1081
- url: "/v1/media/{mediaId}/episodes",
1082
- ...options,
1083
- headers: {
1084
- "Content-Type": "application/json",
1085
- ...options.headers
1086
- }
1087
- });
1088
- var deleteEpisode = (options) => (options.client ?? client).delete({
1089
- security: [{ scheme: "bearer", type: "http" }, {
1090
- in: "cookie",
1091
- name: "nadeshiko.session_token",
1092
- type: "apiKey"
1093
- }],
1094
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1095
- ...options
1096
- });
1097
924
  var getEpisode = (options) => (options.client ?? client).get({
1098
925
  security: [{ scheme: "bearer", type: "http" }, {
1099
926
  in: "cookie",
@@ -1103,63 +930,6 @@ var getEpisode = (options) => (options.client ?? client).get({
1103
930
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1104
931
  ...options
1105
932
  });
1106
- var updateEpisode = (options) => (options.client ?? client).patch({
1107
- security: [{ scheme: "bearer", type: "http" }, {
1108
- in: "cookie",
1109
- name: "nadeshiko.session_token",
1110
- type: "apiKey"
1111
- }],
1112
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
1113
- ...options,
1114
- headers: {
1115
- "Content-Type": "application/json",
1116
- ...options.headers
1117
- }
1118
- });
1119
- var listSegments = (options) => (options.client ?? client).get({
1120
- security: [{ scheme: "bearer", type: "http" }, {
1121
- in: "cookie",
1122
- name: "nadeshiko.session_token",
1123
- type: "apiKey"
1124
- }],
1125
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1126
- ...options
1127
- });
1128
- var createSegment = (options) => (options.client ?? client).post({
1129
- security: [{ scheme: "bearer", type: "http" }, {
1130
- in: "cookie",
1131
- name: "nadeshiko.session_token",
1132
- type: "apiKey"
1133
- }],
1134
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
1135
- ...options,
1136
- headers: {
1137
- "Content-Type": "application/json",
1138
- ...options.headers
1139
- }
1140
- });
1141
- var createSegmentsBatch = (options) => (options.client ?? client).post({
1142
- security: [{ scheme: "bearer", type: "http" }, {
1143
- in: "cookie",
1144
- name: "nadeshiko.session_token",
1145
- type: "apiKey"
1146
- }],
1147
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/batch",
1148
- ...options,
1149
- headers: {
1150
- "Content-Type": "application/json",
1151
- ...options.headers
1152
- }
1153
- });
1154
- var deleteSegment = (options) => (options.client ?? client).delete({
1155
- security: [{ scheme: "bearer", type: "http" }, {
1156
- in: "cookie",
1157
- name: "nadeshiko.session_token",
1158
- type: "apiKey"
1159
- }],
1160
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1161
- ...options
1162
- });
1163
933
  var getSegment = (options) => (options.client ?? client).get({
1164
934
  security: [{ scheme: "bearer", type: "http" }, {
1165
935
  in: "cookie",
@@ -1169,456 +939,7 @@ var getSegment = (options) => (options.client ?? client).get({
1169
939
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1170
940
  ...options
1171
941
  });
1172
- var updateSegment = (options) => (options.client ?? client).patch({
1173
- security: [{ scheme: "bearer", type: "http" }, {
1174
- in: "cookie",
1175
- name: "nadeshiko.session_token",
1176
- type: "apiKey"
1177
- }],
1178
- url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
1179
- ...options,
1180
- headers: {
1181
- "Content-Type": "application/json",
1182
- ...options.headers
1183
- }
1184
- });
1185
- var getUserQuota = (options) => (options?.client ?? client).get({
1186
- security: [{
1187
- in: "cookie",
1188
- name: "nadeshiko.session_token",
1189
- type: "apiKey"
1190
- }],
1191
- url: "/v1/user/quota",
1192
- ...options
1193
- });
1194
- var createUserReport = (options) => (options.client ?? client).post({
1195
- security: [{
1196
- in: "cookie",
1197
- name: "nadeshiko.session_token",
1198
- type: "apiKey"
1199
- }],
1200
- url: "/v1/user/reports",
1201
- ...options,
1202
- headers: {
1203
- "Content-Type": "application/json",
1204
- ...options.headers
1205
- }
1206
- });
1207
- var getUserPreferences = (options) => (options?.client ?? client).get({
1208
- security: [{
1209
- in: "cookie",
1210
- name: "nadeshiko.session_token",
1211
- type: "apiKey"
1212
- }],
1213
- url: "/v1/user/preferences",
1214
- ...options
1215
- });
1216
- var updateUserPreferences = (options) => (options.client ?? client).patch({
1217
- security: [{
1218
- in: "cookie",
1219
- name: "nadeshiko.session_token",
1220
- type: "apiKey"
1221
- }],
1222
- url: "/v1/user/preferences",
1223
- ...options,
1224
- headers: {
1225
- "Content-Type": "application/json",
1226
- ...options.headers
1227
- }
1228
- });
1229
- var deleteUserActivity = (options) => (options?.client ?? client).delete({
1230
- security: [{
1231
- in: "cookie",
1232
- name: "nadeshiko.session_token",
1233
- type: "apiKey"
1234
- }],
1235
- url: "/v1/user/activity",
1236
- ...options
1237
- });
1238
- var listUserActivity = (options) => (options?.client ?? client).get({
1239
- security: [{
1240
- in: "cookie",
1241
- name: "nadeshiko.session_token",
1242
- type: "apiKey"
1243
- }],
1244
- url: "/v1/user/activity",
1245
- ...options
1246
- });
1247
- var trackUserActivity = (options) => (options.client ?? client).post({
1248
- security: [{
1249
- in: "cookie",
1250
- name: "nadeshiko.session_token",
1251
- type: "apiKey"
1252
- }],
1253
- url: "/v1/user/activity",
1254
- ...options,
1255
- headers: {
1256
- "Content-Type": "application/json",
1257
- ...options.headers
1258
- }
1259
- });
1260
- var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
1261
- security: [{
1262
- in: "cookie",
1263
- name: "nadeshiko.session_token",
1264
- type: "apiKey"
1265
- }],
1266
- url: "/v1/user/activity/heatmap",
1267
- ...options
1268
- });
1269
- var getUserActivityStats = (options) => (options?.client ?? client).get({
1270
- security: [{
1271
- in: "cookie",
1272
- name: "nadeshiko.session_token",
1273
- type: "apiKey"
1274
- }],
1275
- url: "/v1/user/activity/stats",
1276
- ...options
1277
- });
1278
- var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
1279
- security: [{
1280
- in: "cookie",
1281
- name: "nadeshiko.session_token",
1282
- type: "apiKey"
1283
- }],
1284
- url: "/v1/user/activity/date/{date}",
1285
- ...options
1286
- });
1287
- var deleteUserActivityById = (options) => (options.client ?? client).delete({
1288
- security: [{
1289
- in: "cookie",
1290
- name: "nadeshiko.session_token",
1291
- type: "apiKey"
1292
- }],
1293
- url: "/v1/user/activity/{id}",
1294
- ...options
1295
- });
1296
- var exportUserData = (options) => (options?.client ?? client).get({
1297
- security: [{
1298
- in: "cookie",
1299
- name: "nadeshiko.session_token",
1300
- type: "apiKey"
1301
- }],
1302
- url: "/v1/user/export",
1303
- ...options
1304
- });
1305
- var listUserLabs = (options) => (options?.client ?? client).get({
1306
- security: [{
1307
- in: "cookie",
1308
- name: "nadeshiko.session_token",
1309
- type: "apiKey"
1310
- }],
1311
- url: "/v1/user/labs",
1312
- ...options
1313
- });
1314
- var unenrollUserLab = (options) => (options.client ?? client).delete({
1315
- security: [{
1316
- in: "cookie",
1317
- name: "nadeshiko.session_token",
1318
- type: "apiKey"
1319
- }],
1320
- url: "/v1/user/labs/{key}",
1321
- ...options
1322
- });
1323
- var enrollUserLab = (options) => (options.client ?? client).post({
1324
- security: [{
1325
- in: "cookie",
1326
- name: "nadeshiko.session_token",
1327
- type: "apiKey"
1328
- }],
1329
- url: "/v1/user/labs/{key}",
1330
- ...options
1331
- });
1332
- var listCollections = (options) => (options?.client ?? client).get({
1333
- security: [{
1334
- in: "cookie",
1335
- name: "nadeshiko.session_token",
1336
- type: "apiKey"
1337
- }],
1338
- url: "/v1/collections",
1339
- ...options
1340
- });
1341
- var createCollection = (options) => (options.client ?? client).post({
1342
- security: [{
1343
- in: "cookie",
1344
- name: "nadeshiko.session_token",
1345
- type: "apiKey"
1346
- }],
1347
- url: "/v1/collections",
1348
- ...options,
1349
- headers: {
1350
- "Content-Type": "application/json",
1351
- ...options.headers
1352
- }
1353
- });
1354
- var deleteCollection = (options) => (options.client ?? client).delete({
1355
- security: [{
1356
- in: "cookie",
1357
- name: "nadeshiko.session_token",
1358
- type: "apiKey"
1359
- }],
1360
- url: "/v1/collections/{id}",
1361
- ...options
1362
- });
1363
- var getCollection = (options) => (options.client ?? client).get({
1364
- security: [{
1365
- in: "cookie",
1366
- name: "nadeshiko.session_token",
1367
- type: "apiKey"
1368
- }],
1369
- url: "/v1/collections/{id}",
1370
- ...options
1371
- });
1372
- var updateCollection = (options) => (options.client ?? client).patch({
1373
- security: [{
1374
- in: "cookie",
1375
- name: "nadeshiko.session_token",
1376
- type: "apiKey"
1377
- }],
1378
- url: "/v1/collections/{id}",
1379
- ...options,
1380
- headers: {
1381
- "Content-Type": "application/json",
1382
- ...options.headers
1383
- }
1384
- });
1385
- var addSegmentToCollection = (options) => (options.client ?? client).post({
1386
- security: [{
1387
- in: "cookie",
1388
- name: "nadeshiko.session_token",
1389
- type: "apiKey"
1390
- }],
1391
- url: "/v1/collections/{id}/segments",
1392
- ...options,
1393
- headers: {
1394
- "Content-Type": "application/json",
1395
- ...options.headers
1396
- }
1397
- });
1398
- var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
1399
- security: [{
1400
- in: "cookie",
1401
- name: "nadeshiko.session_token",
1402
- type: "apiKey"
1403
- }],
1404
- url: "/v1/collections/{id}/segments/{segmentId}",
1405
- ...options
1406
- });
1407
- var updateCollectionSegment = (options) => (options.client ?? client).patch({
1408
- security: [{
1409
- in: "cookie",
1410
- name: "nadeshiko.session_token",
1411
- type: "apiKey"
1412
- }],
1413
- url: "/v1/collections/{id}/segments/{segmentId}",
1414
- ...options,
1415
- headers: {
1416
- "Content-Type": "application/json",
1417
- ...options.headers
1418
- }
1419
- });
1420
- var searchCollectionSegments = (options) => (options.client ?? client).get({
1421
- security: [{
1422
- in: "cookie",
1423
- name: "nadeshiko.session_token",
1424
- type: "apiKey"
1425
- }],
1426
- url: "/v1/collections/{id}/search",
1427
- ...options
1428
- });
1429
- var getCollectionStats = (options) => (options.client ?? client).get({
1430
- security: [{
1431
- in: "cookie",
1432
- name: "nadeshiko.session_token",
1433
- type: "apiKey"
1434
- }],
1435
- url: "/v1/collections/{id}/stats",
1436
- ...options
1437
- });
1438
- var getAdminDashboard = (options) => (options?.client ?? client).get({
1439
- security: [{
1440
- in: "cookie",
1441
- name: "nadeshiko.session_token",
1442
- type: "apiKey"
1443
- }],
1444
- url: "/v1/admin/dashboard",
1445
- ...options
1446
- });
1447
- var getAdminHealth = (options) => (options?.client ?? client).get({
1448
- security: [{
1449
- in: "cookie",
1450
- name: "nadeshiko.session_token",
1451
- type: "apiKey"
1452
- }],
1453
- url: "/v1/admin/health",
1454
- ...options
1455
- });
1456
- var triggerReindex = (options) => (options?.client ?? client).post({
1457
- security: [{
1458
- in: "cookie",
1459
- name: "nadeshiko.session_token",
1460
- type: "apiKey"
1461
- }],
1462
- url: "/v1/admin/reindex",
1463
- ...options,
1464
- headers: {
1465
- "Content-Type": "application/json",
1466
- ...options?.headers
1467
- }
1468
- });
1469
- var listAdminQueueStats = (options) => (options?.client ?? client).get({
1470
- security: [{
1471
- in: "cookie",
1472
- name: "nadeshiko.session_token",
1473
- type: "apiKey"
1474
- }],
1475
- url: "/v1/admin/queues/stats",
1476
- ...options
1477
- });
1478
- var getAdminQueue = (options) => (options.client ?? client).get({
1479
- security: [{
1480
- in: "cookie",
1481
- name: "nadeshiko.session_token",
1482
- type: "apiKey"
1483
- }],
1484
- url: "/v1/admin/queues/{queueName}",
1485
- ...options
1486
- });
1487
- var listAdminQueueFailed = (options) => (options.client ?? client).get({
1488
- security: [{
1489
- in: "cookie",
1490
- name: "nadeshiko.session_token",
1491
- type: "apiKey"
1492
- }],
1493
- url: "/v1/admin/queues/{queueName}/failed",
1494
- ...options
1495
- });
1496
- var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1497
- security: [{
1498
- in: "cookie",
1499
- name: "nadeshiko.session_token",
1500
- type: "apiKey"
1501
- }],
1502
- url: "/v1/admin/queues/{queueName}/retry",
1503
- ...options
1504
- });
1505
- var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1506
- security: [{
1507
- in: "cookie",
1508
- name: "nadeshiko.session_token",
1509
- type: "apiKey"
1510
- }],
1511
- url: "/v1/admin/queues/{queueName}/purge",
1512
- ...options
1513
- });
1514
- var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
1515
- var impersonateAdminUser = (options) => (options.client ?? client).post({
1516
- url: "/v1/admin/impersonation",
1517
- ...options,
1518
- headers: {
1519
- "Content-Type": "application/json",
1520
- ...options.headers
1521
- }
1522
- });
1523
- var listAdminReports = (options) => (options?.client ?? client).get({
1524
- security: [{
1525
- in: "cookie",
1526
- name: "nadeshiko.session_token",
1527
- type: "apiKey"
1528
- }],
1529
- url: "/v1/admin/reports",
1530
- ...options
1531
- });
1532
- var batchUpdateAdminReports = (options) => (options.client ?? client).patch({
1533
- security: [{
1534
- in: "cookie",
1535
- name: "nadeshiko.session_token",
1536
- type: "apiKey"
1537
- }],
1538
- url: "/v1/admin/reports/batch",
1539
- ...options,
1540
- headers: {
1541
- "Content-Type": "application/json",
1542
- ...options.headers
1543
- }
1544
- });
1545
- var updateAdminReport = (options) => (options.client ?? client).patch({
1546
- security: [{
1547
- in: "cookie",
1548
- name: "nadeshiko.session_token",
1549
- type: "apiKey"
1550
- }],
1551
- url: "/v1/admin/reports/{id}",
1552
- ...options,
1553
- headers: {
1554
- "Content-Type": "application/json",
1555
- ...options.headers
1556
- }
1557
- });
1558
- var listAdminMediaAudits = (options) => (options?.client ?? client).get({
1559
- security: [{
1560
- in: "cookie",
1561
- name: "nadeshiko.session_token",
1562
- type: "apiKey"
1563
- }],
1564
- url: "/v1/admin/media/audits",
1565
- ...options
1566
- });
1567
- var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
1568
- security: [{
1569
- in: "cookie",
1570
- name: "nadeshiko.session_token",
1571
- type: "apiKey"
1572
- }],
1573
- url: "/v1/admin/media/audits/{name}",
1574
- ...options,
1575
- headers: {
1576
- "Content-Type": "application/json",
1577
- ...options.headers
1578
- }
1579
- });
1580
- var runAdminMediaAudit = (options) => (options.client ?? client).post({
1581
- security: [{
1582
- in: "cookie",
1583
- name: "nadeshiko.session_token",
1584
- type: "apiKey"
1585
- }],
1586
- url: "/v1/admin/media/audits/{name}/run",
1587
- ...options
1588
- });
1589
- var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
1590
- security: [{
1591
- in: "cookie",
1592
- name: "nadeshiko.session_token",
1593
- type: "apiKey"
1594
- }],
1595
- url: "/v1/admin/media/audits/runs",
1596
- ...options
1597
- });
1598
- var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
1599
- security: [{
1600
- in: "cookie",
1601
- name: "nadeshiko.session_token",
1602
- type: "apiKey"
1603
- }],
1604
- url: "/v1/admin/media/audits/runs/{id}",
1605
- ...options
1606
- });
1607
- var getAnnouncement = (options) => (options?.client ?? client).get({ url: "/v1/admin/announcement", ...options });
1608
- var updateAnnouncement = (options) => (options.client ?? client).put({
1609
- security: [{
1610
- in: "cookie",
1611
- name: "nadeshiko.session_token",
1612
- type: "apiKey"
1613
- }],
1614
- url: "/v1/admin/announcement",
1615
- ...options,
1616
- headers: {
1617
- "Content-Type": "application/json",
1618
- ...options.headers
1619
- }
1620
- });
1621
- // generated/dev/retry.ts
942
+ // generated/public/retry.ts
1622
943
  var RETRYABLE_STATUS = new Set([408, 429, 500, 502, 503, 504]);
1623
944
  function parseRetryAfter(value) {
1624
945
  const seconds = Number(value);
@@ -1688,7 +1009,7 @@ function withRetry(fetchImpl = globalThis.fetch, options = {}) {
1688
1009
  };
1689
1010
  }
1690
1011
 
1691
- // generated/dev/errors.ts
1012
+ // generated/public/errors.ts
1692
1013
  class NadeshikoError extends Error {
1693
1014
  code;
1694
1015
  title;
@@ -1710,19 +1031,13 @@ class NadeshikoError extends Error {
1710
1031
  }
1711
1032
  }
1712
1033
 
1713
- // generated/dev/nadeshiko.gen.ts
1034
+ // generated/public/nadeshiko.gen.ts
1714
1035
  var environments = {
1715
1036
  LOCAL: "http://localhost:5000/api",
1716
1037
  DEVELOPMENT: "https://api-dev.nadeshiko.co",
1717
1038
  PRODUCTION: "https://api.nadeshiko.co",
1718
1039
  PROXY: ""
1719
1040
  };
1720
- var defaultSessionTokenGetter = () => {
1721
- if (typeof document === "undefined")
1722
- return;
1723
- const match = document.cookie.match(/(?:^|;\s*)nadeshiko\.session_token=([^;]*)/);
1724
- return match ? decodeURIComponent(match[1]) : undefined;
1725
- };
1726
1041
  function createNadeshikoClient(config) {
1727
1042
  const rawBaseUrl = config.baseURL ?? config.baseUrl;
1728
1043
  const baseUrl = rawBaseUrl === undefined ? environments.PRODUCTION : (rawBaseUrl in environments) ? environments[rawBaseUrl] : rawBaseUrl;
@@ -1732,16 +1047,10 @@ function createNadeshikoClient(config) {
1732
1047
  }
1733
1048
  return config.apiKey;
1734
1049
  };
1735
- const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
1736
1050
  const clientInstance = createClient(createConfig({
1737
1051
  baseUrl,
1738
1052
  fetch: withRetry(globalThis.fetch, config.retryOptions),
1739
- auth: (auth) => {
1740
- if (auth.in === "cookie") {
1741
- return getSessionToken();
1742
- }
1743
- return getApiKey();
1744
- }
1053
+ auth: () => getApiKey()
1745
1054
  }));
1746
1055
  clientInstance.interceptors.error.use((error) => {
1747
1056
  if (error && typeof error === "object" && "code" in error && typeof error.code === "string") {
@@ -1764,156 +1073,10 @@ function createNadeshikoClient(config) {
1764
1073
  getMedia: (options) => getMedia({ throwOnError: true, ...options, client: clientInstance }),
1765
1074
  listEpisodes: (options) => listEpisodes({ throwOnError: true, ...options, client: clientInstance }),
1766
1075
  getEpisode: (options) => getEpisode({ throwOnError: true, ...options, client: clientInstance }),
1767
- getSegment: (options) => getSegment({ throwOnError: true, ...options, client: clientInstance }),
1768
- createMedia: (options) => createMedia({ throwOnError: true, ...options, client: clientInstance }),
1769
- autocompleteMedia: (options) => autocompleteMedia({ throwOnError: true, ...options, client: clientInstance }),
1770
- updateSegmentByUuid: (options) => updateSegmentByUuid({ throwOnError: true, ...options, client: clientInstance }),
1771
- listSegmentRevisions: (options) => listSegmentRevisions({ throwOnError: true, ...options, client: clientInstance }),
1772
- createSeries: (options) => createSeries({ throwOnError: true, ...options, client: clientInstance }),
1773
- updateSeries: (options) => updateSeries({ throwOnError: true, ...options, client: clientInstance }),
1774
- deleteSeries: (options) => deleteSeries({ throwOnError: true, ...options, client: clientInstance }),
1775
- addMediaToSeries: (options) => addMediaToSeries({ throwOnError: true, ...options, client: clientInstance }),
1776
- updateSeriesMedia: (options) => updateSeriesMedia({ throwOnError: true, ...options, client: clientInstance }),
1777
- removeMediaFromSeries: (options) => removeMediaFromSeries({ throwOnError: true, ...options, client: clientInstance }),
1778
- updateMedia: (options) => updateMedia({ throwOnError: true, ...options, client: clientInstance }),
1779
- deleteMedia: (options) => deleteMedia({ throwOnError: true, ...options, client: clientInstance }),
1780
- createEpisode: (options) => createEpisode({ throwOnError: true, ...options, client: clientInstance }),
1781
- updateEpisode: (options) => updateEpisode({ throwOnError: true, ...options, client: clientInstance }),
1782
- deleteEpisode: (options) => deleteEpisode({ throwOnError: true, ...options, client: clientInstance }),
1783
- listSegments: (options) => listSegments({ throwOnError: true, ...options, client: clientInstance }),
1784
- createSegment: (options) => createSegment({ throwOnError: true, ...options, client: clientInstance }),
1785
- createSegmentsBatch: (options) => createSegmentsBatch({ throwOnError: true, ...options, client: clientInstance }),
1786
- updateSegment: (options) => updateSegment({ throwOnError: true, ...options, client: clientInstance }),
1787
- deleteSegment: (options) => deleteSegment({ throwOnError: true, ...options, client: clientInstance }),
1788
- getUserQuota: (options) => getUserQuota({ throwOnError: true, ...options, client: clientInstance }),
1789
- createUserReport: (options) => createUserReport({ throwOnError: true, ...options, client: clientInstance }),
1790
- getUserPreferences: (options) => getUserPreferences({ throwOnError: true, ...options, client: clientInstance }),
1791
- updateUserPreferences: (options) => updateUserPreferences({ throwOnError: true, ...options, client: clientInstance }),
1792
- listUserActivity: (options) => listUserActivity({ throwOnError: true, ...options, client: clientInstance }),
1793
- trackUserActivity: (options) => trackUserActivity({ throwOnError: true, ...options, client: clientInstance }),
1794
- deleteUserActivity: (options) => deleteUserActivity({ throwOnError: true, ...options, client: clientInstance }),
1795
- getUserActivityHeatmap: (options) => getUserActivityHeatmap({ throwOnError: true, ...options, client: clientInstance }),
1796
- getUserActivityStats: (options) => getUserActivityStats({ throwOnError: true, ...options, client: clientInstance }),
1797
- deleteUserActivityByDate: (options) => deleteUserActivityByDate({ throwOnError: true, ...options, client: clientInstance }),
1798
- deleteUserActivityById: (options) => deleteUserActivityById({ throwOnError: true, ...options, client: clientInstance }),
1799
- exportUserData: (options) => exportUserData({ throwOnError: true, ...options, client: clientInstance }),
1800
- listUserLabs: (options) => listUserLabs({ throwOnError: true, ...options, client: clientInstance }),
1801
- enrollUserLab: (options) => enrollUserLab({ throwOnError: true, ...options, client: clientInstance }),
1802
- unenrollUserLab: (options) => unenrollUserLab({ throwOnError: true, ...options, client: clientInstance }),
1803
- listCollections: (options) => listCollections({ throwOnError: true, ...options, client: clientInstance }),
1804
- createCollection: (options) => createCollection({ throwOnError: true, ...options, client: clientInstance }),
1805
- getCollection: (options) => getCollection({ throwOnError: true, ...options, client: clientInstance }),
1806
- updateCollection: (options) => updateCollection({ throwOnError: true, ...options, client: clientInstance }),
1807
- deleteCollection: (options) => deleteCollection({ throwOnError: true, ...options, client: clientInstance }),
1808
- addSegmentToCollection: (options) => addSegmentToCollection({ throwOnError: true, ...options, client: clientInstance }),
1809
- updateCollectionSegment: (options) => updateCollectionSegment({ throwOnError: true, ...options, client: clientInstance }),
1810
- removeSegmentFromCollection: (options) => removeSegmentFromCollection({ throwOnError: true, ...options, client: clientInstance }),
1811
- searchCollectionSegments: (options) => searchCollectionSegments({ throwOnError: true, ...options, client: clientInstance }),
1812
- getCollectionStats: (options) => getCollectionStats({ throwOnError: true, ...options, client: clientInstance }),
1813
- getAdminDashboard: (options) => getAdminDashboard({ throwOnError: true, ...options, client: clientInstance }),
1814
- getAdminHealth: (options) => getAdminHealth({ throwOnError: true, ...options, client: clientInstance }),
1815
- triggerReindex: (options) => triggerReindex({ throwOnError: true, ...options, client: clientInstance }),
1816
- listAdminQueueStats: (options) => listAdminQueueStats({ throwOnError: true, ...options, client: clientInstance }),
1817
- getAdminQueue: (options) => getAdminQueue({ throwOnError: true, ...options, client: clientInstance }),
1818
- listAdminQueueFailed: (options) => listAdminQueueFailed({ throwOnError: true, ...options, client: clientInstance }),
1819
- retryAdminQueueFailed: (options) => retryAdminQueueFailed({ throwOnError: true, ...options, client: clientInstance }),
1820
- purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ throwOnError: true, ...options, client: clientInstance }),
1821
- impersonateAdminUser: (options) => impersonateAdminUser({ throwOnError: true, ...options, client: clientInstance }),
1822
- clearAdminImpersonation: (options) => clearAdminImpersonation({ throwOnError: true, ...options, client: clientInstance }),
1823
- listAdminReports: (options) => listAdminReports({ throwOnError: true, ...options, client: clientInstance }),
1824
- batchUpdateAdminReports: (options) => batchUpdateAdminReports({ throwOnError: true, ...options, client: clientInstance }),
1825
- updateAdminReport: (options) => updateAdminReport({ throwOnError: true, ...options, client: clientInstance }),
1826
- listAdminMediaAudits: (options) => listAdminMediaAudits({ throwOnError: true, ...options, client: clientInstance }),
1827
- updateAdminMediaAudit: (options) => updateAdminMediaAudit({ throwOnError: true, ...options, client: clientInstance }),
1828
- runAdminMediaAudit: (options) => runAdminMediaAudit({ throwOnError: true, ...options, client: clientInstance }),
1829
- listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ throwOnError: true, ...options, client: clientInstance }),
1830
- getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ throwOnError: true, ...options, client: clientInstance }),
1831
- getAnnouncement: (options) => getAnnouncement({ throwOnError: true, ...options, client: clientInstance }),
1832
- updateAnnouncement: (options) => updateAnnouncement({ throwOnError: true, ...options, client: clientInstance })
1076
+ getSegment: (options) => getSegment({ throwOnError: true, ...options, client: clientInstance })
1833
1077
  };
1834
1078
  }
1835
- // generated/dev/internal/media.gen.ts
1836
- var exports_media_gen = {};
1837
- __export(exports_media_gen, {
1838
- updateSeriesMedia: () => updateSeriesMedia,
1839
- updateSeries: () => updateSeries,
1840
- updateSegmentByUuid: () => updateSegmentByUuid,
1841
- updateSegment: () => updateSegment,
1842
- updateMedia: () => updateMedia,
1843
- updateEpisode: () => updateEpisode,
1844
- removeMediaFromSeries: () => removeMediaFromSeries,
1845
- listSegments: () => listSegments,
1846
- listSegmentRevisions: () => listSegmentRevisions,
1847
- deleteSeries: () => deleteSeries,
1848
- deleteSegment: () => deleteSegment,
1849
- deleteMedia: () => deleteMedia,
1850
- deleteEpisode: () => deleteEpisode,
1851
- createSeries: () => createSeries,
1852
- createSegmentsBatch: () => createSegmentsBatch,
1853
- createSegment: () => createSegment,
1854
- createMedia: () => createMedia,
1855
- createEpisode: () => createEpisode,
1856
- autocompleteMedia: () => autocompleteMedia,
1857
- addMediaToSeries: () => addMediaToSeries
1858
- });
1859
- // generated/dev/internal/user.gen.ts
1860
- var exports_user_gen = {};
1861
- __export(exports_user_gen, {
1862
- updateUserPreferences: () => updateUserPreferences,
1863
- unenrollUserLab: () => unenrollUserLab,
1864
- trackUserActivity: () => trackUserActivity,
1865
- listUserLabs: () => listUserLabs,
1866
- listUserActivity: () => listUserActivity,
1867
- getUserQuota: () => getUserQuota,
1868
- getUserPreferences: () => getUserPreferences,
1869
- getUserActivityStats: () => getUserActivityStats,
1870
- getUserActivityHeatmap: () => getUserActivityHeatmap,
1871
- exportUserData: () => exportUserData,
1872
- enrollUserLab: () => enrollUserLab,
1873
- deleteUserActivityById: () => deleteUserActivityById,
1874
- deleteUserActivityByDate: () => deleteUserActivityByDate,
1875
- deleteUserActivity: () => deleteUserActivity,
1876
- createUserReport: () => createUserReport
1877
- });
1878
- // generated/dev/internal/collections.gen.ts
1879
- var exports_collections_gen = {};
1880
- __export(exports_collections_gen, {
1881
- updateCollectionSegment: () => updateCollectionSegment,
1882
- updateCollection: () => updateCollection,
1883
- searchCollectionSegments: () => searchCollectionSegments,
1884
- removeSegmentFromCollection: () => removeSegmentFromCollection,
1885
- listCollections: () => listCollections,
1886
- getCollectionStats: () => getCollectionStats,
1887
- getCollection: () => getCollection,
1888
- deleteCollection: () => deleteCollection,
1889
- createCollection: () => createCollection,
1890
- addSegmentToCollection: () => addSegmentToCollection
1891
- });
1892
- // generated/dev/internal/admin.gen.ts
1893
- var exports_admin_gen = {};
1894
- __export(exports_admin_gen, {
1895
- updateAnnouncement: () => updateAnnouncement,
1896
- updateAdminReport: () => updateAdminReport,
1897
- updateAdminMediaAudit: () => updateAdminMediaAudit,
1898
- triggerReindex: () => triggerReindex,
1899
- runAdminMediaAudit: () => runAdminMediaAudit,
1900
- retryAdminQueueFailed: () => retryAdminQueueFailed,
1901
- purgeAdminQueueFailed: () => purgeAdminQueueFailed,
1902
- listAdminReports: () => listAdminReports,
1903
- listAdminQueueStats: () => listAdminQueueStats,
1904
- listAdminQueueFailed: () => listAdminQueueFailed,
1905
- listAdminMediaAudits: () => listAdminMediaAudits,
1906
- listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
1907
- impersonateAdminUser: () => impersonateAdminUser,
1908
- getAnnouncement: () => getAnnouncement,
1909
- getAdminQueue: () => getAdminQueue,
1910
- getAdminMediaAuditRun: () => getAdminMediaAuditRun,
1911
- getAdminHealth: () => getAdminHealth,
1912
- getAdminDashboard: () => getAdminDashboard,
1913
- clearAdminImpersonation: () => clearAdminImpersonation,
1914
- batchUpdateAdminReports: () => batchUpdateAdminReports
1915
- });
1916
- // generated/dev/paginate.ts
1079
+ // generated/public/paginate.ts
1917
1080
  async function* paginate(fn, options, extract) {
1918
1081
  let cursor = null;
1919
1082
  let first = true;
@@ -1944,50 +1107,12 @@ function patchCursor(options, cursor) {
1944
1107
  }
1945
1108
  export {
1946
1109
  withRetry,
1947
- exports_user_gen as user,
1948
- updateUserPreferences,
1949
- updateSeriesMedia,
1950
- updateSeries,
1951
- updateSegmentByUuid,
1952
- updateSegment,
1953
- updateMedia,
1954
- updateEpisode,
1955
- updateCollectionSegment,
1956
- updateCollection,
1957
- updateAnnouncement,
1958
- updateAdminReport,
1959
- updateAdminMediaAudit,
1960
- unenrollUserLab,
1961
- triggerReindex,
1962
- trackUserActivity,
1963
1110
  searchWords,
1964
- searchCollectionSegments,
1965
1111
  search,
1966
- runAdminMediaAudit,
1967
- retryAdminQueueFailed,
1968
- removeSegmentFromCollection,
1969
- removeMediaFromSeries,
1970
- purgeAdminQueueFailed,
1971
1112
  paginate,
1972
- exports_media_gen as media,
1973
- listUserLabs,
1974
- listUserActivity,
1975
1113
  listSeries,
1976
- listSegments,
1977
- listSegmentRevisions,
1978
1114
  listMedia,
1979
1115
  listEpisodes,
1980
- listCollections,
1981
- listAdminReports,
1982
- listAdminQueueStats,
1983
- listAdminQueueFailed,
1984
- listAdminMediaAudits,
1985
- listAdminMediaAuditRuns,
1986
- impersonateAdminUser,
1987
- getUserQuota,
1988
- getUserPreferences,
1989
- getUserActivityStats,
1990
- getUserActivityHeatmap,
1991
1116
  getSeries,
1992
1117
  getSeiyuu,
1993
1118
  getSegmentContext,
@@ -1996,42 +1121,11 @@ export {
1996
1121
  getSearchStats,
1997
1122
  getMedia,
1998
1123
  getEpisode,
1999
- getCollectionStats,
2000
- getCollection,
2001
1124
  getCharacter,
2002
- getAnnouncement,
2003
- getAdminQueue,
2004
- getAdminMediaAuditRun,
2005
- getAdminHealth,
2006
- getAdminDashboard,
2007
- exportUserData,
2008
- enrollUserLab,
2009
- deleteUserActivityById,
2010
- deleteUserActivityByDate,
2011
- deleteUserActivity,
2012
- deleteSeries,
2013
- deleteSegment,
2014
- deleteMedia,
2015
- deleteEpisode,
2016
- deleteCollection,
2017
- createUserReport,
2018
- createSeries,
2019
- createSegmentsBatch,
2020
- createSegment,
2021
1125
  createNadeshikoClient,
2022
- createMedia,
2023
- createEpisode,
2024
- createCollection,
2025
- exports_collections_gen as collections,
2026
1126
  client,
2027
- clearAdminImpersonation,
2028
- batchUpdateAdminReports,
2029
- autocompleteMedia,
2030
- exports_admin_gen as admin,
2031
- addSegmentToCollection,
2032
- addMediaToSeries,
2033
1127
  NadeshikoError
2034
1128
  };
2035
1129
 
2036
- //# debugId=3F5D995F00569FD264756E2164756E21
1130
+ //# debugId=650EA7E270CA4A6564756E2164756E21
2037
1131
  //# sourceMappingURL=index.js.map