@brigadasos/nadeshiko-sdk 1.4.0-dev.9621982 → 1.4.2-dev.a13aba0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -812,12 +812,7 @@ var createClient = (config = {}) => {
812
812
  var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
813
813
 
814
814
  // generated/dev/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 searchIndex = (options) => (options?.client ?? client).post({
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",
@@ -830,7 +825,7 @@ var searchIndex = (options) => (options?.client ?? client).post({
830
825
  ...options?.headers
831
826
  }
832
827
  });
833
- var searchStats = (options) => (options?.client ?? client).post({
828
+ var getSearchStats = (options) => (options?.client ?? client).post({
834
829
  security: [{ scheme: "bearer", type: "http" }, {
835
830
  in: "cookie",
836
831
  name: "nadeshiko.session_token",
@@ -856,12 +851,12 @@ var searchWords = (options) => (options.client ?? client).post({
856
851
  ...options.headers
857
852
  }
858
853
  });
859
- var mediaIndex = (options) => (options?.client ?? client).get({
854
+ var listMedia = (options) => (options?.client ?? client).get({
860
855
  security: [{ scheme: "bearer", type: "http" }],
861
856
  url: "/v1/media",
862
857
  ...options
863
858
  });
864
- var mediaCreate = (options) => (options.client ?? client).post({
859
+ var createMedia = (options) => (options.client ?? client).post({
865
860
  security: [{ scheme: "bearer", type: "http" }],
866
861
  url: "/v1/media",
867
862
  ...options,
@@ -870,17 +865,17 @@ var mediaCreate = (options) => (options.client ?? client).post({
870
865
  ...options.headers
871
866
  }
872
867
  });
873
- var mediaDestroy = (options) => (options.client ?? client).delete({
868
+ var deleteMedia = (options) => (options.client ?? client).delete({
874
869
  security: [{ scheme: "bearer", type: "http" }],
875
870
  url: "/v1/media/{id}",
876
871
  ...options
877
872
  });
878
- var mediaShow = (options) => (options.client ?? client).get({
873
+ var getMedia = (options) => (options.client ?? client).get({
879
874
  security: [{ scheme: "bearer", type: "http" }],
880
875
  url: "/v1/media/{id}",
881
876
  ...options
882
877
  });
883
- var mediaUpdate = (options) => (options.client ?? client).patch({
878
+ var updateMedia = (options) => (options.client ?? client).patch({
884
879
  security: [{ scheme: "bearer", type: "http" }],
885
880
  url: "/v1/media/{id}",
886
881
  ...options,
@@ -889,12 +884,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
889
884
  ...options.headers
890
885
  }
891
886
  });
892
- var episodeIndex = (options) => (options.client ?? client).get({
887
+ var listEpisodes = (options) => (options.client ?? client).get({
893
888
  security: [{ scheme: "bearer", type: "http" }],
894
889
  url: "/v1/media/{mediaId}/episodes",
895
890
  ...options
896
891
  });
897
- var episodeCreate = (options) => (options.client ?? client).post({
892
+ var createEpisode = (options) => (options.client ?? client).post({
898
893
  security: [{ scheme: "bearer", type: "http" }],
899
894
  url: "/v1/media/{mediaId}/episodes",
900
895
  ...options,
@@ -903,17 +898,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
903
898
  ...options.headers
904
899
  }
905
900
  });
906
- var episodeDestroy = (options) => (options.client ?? client).delete({
901
+ var deleteEpisode = (options) => (options.client ?? client).delete({
907
902
  security: [{ scheme: "bearer", type: "http" }],
908
903
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
909
904
  ...options
910
905
  });
911
- var episodeShow = (options) => (options.client ?? client).get({
906
+ var getEpisode = (options) => (options.client ?? client).get({
912
907
  security: [{ scheme: "bearer", type: "http" }],
913
908
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
914
909
  ...options
915
910
  });
916
- var episodeUpdate = (options) => (options.client ?? client).patch({
911
+ var updateEpisode = (options) => (options.client ?? client).patch({
917
912
  security: [{ scheme: "bearer", type: "http" }],
918
913
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
919
914
  ...options,
@@ -922,12 +917,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
922
917
  ...options.headers
923
918
  }
924
919
  });
925
- var segmentIndex = (options) => (options.client ?? client).get({
920
+ var listSegments = (options) => (options.client ?? client).get({
926
921
  security: [{ scheme: "bearer", type: "http" }],
927
922
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
928
923
  ...options
929
924
  });
930
- var segmentCreate = (options) => (options.client ?? client).post({
925
+ var createSegment = (options) => (options.client ?? client).post({
931
926
  security: [{ scheme: "bearer", type: "http" }],
932
927
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
933
928
  ...options,
@@ -936,17 +931,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
936
931
  ...options.headers
937
932
  }
938
933
  });
939
- var segmentDestroy = (options) => (options.client ?? client).delete({
934
+ var deleteSegment = (options) => (options.client ?? client).delete({
940
935
  security: [{ scheme: "bearer", type: "http" }],
941
936
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
942
937
  ...options
943
938
  });
944
- var segmentShow = (options) => (options.client ?? client).get({
939
+ var getSegment = (options) => (options.client ?? client).get({
945
940
  security: [{ scheme: "bearer", type: "http" }],
946
941
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
947
942
  ...options
948
943
  });
949
- var segmentUpdate = (options) => (options.client ?? client).patch({
944
+ var updateSegment = (options) => (options.client ?? client).patch({
950
945
  security: [{ scheme: "bearer", type: "http" }],
951
946
  url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
952
947
  ...options,
@@ -955,36 +950,100 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
955
950
  ...options.headers
956
951
  }
957
952
  });
958
- var segmentShowByUuid = (options) => (options.client ?? client).get({
953
+ var getSegmentByUuid = (options) => (options.client ?? client).get({
959
954
  security: [{ scheme: "bearer", type: "http" }],
960
955
  url: "/v1/media/segments/{uuid}",
961
956
  ...options
962
957
  });
963
- var segmentContextShow = (options) => (options.client ?? client).get({
958
+ var getSegmentContext = (options) => (options.client ?? client).get({
964
959
  security: [{ scheme: "bearer", type: "http" }],
965
960
  url: "/v1/media/segments/{uuid}/context",
966
961
  ...options
967
962
  });
968
- var characterShow = (options) => (options.client ?? client).get({
963
+ var listSeries = (options) => (options?.client ?? client).get({
964
+ security: [{ scheme: "bearer", type: "http" }, {
965
+ in: "cookie",
966
+ name: "nadeshiko.session_token",
967
+ type: "apiKey"
968
+ }],
969
+ url: "/v1/media/series",
970
+ ...options
971
+ });
972
+ var createSeries = (options) => (options.client ?? client).post({
973
+ security: [{ scheme: "bearer", type: "http" }],
974
+ url: "/v1/media/series",
975
+ ...options,
976
+ headers: {
977
+ "Content-Type": "application/json",
978
+ ...options.headers
979
+ }
980
+ });
981
+ var deleteSeries = (options) => (options.client ?? client).delete({
982
+ security: [{ scheme: "bearer", type: "http" }],
983
+ url: "/v1/media/series/{id}",
984
+ ...options
985
+ });
986
+ var getSeries = (options) => (options.client ?? client).get({
987
+ security: [{ scheme: "bearer", type: "http" }, {
988
+ in: "cookie",
989
+ name: "nadeshiko.session_token",
990
+ type: "apiKey"
991
+ }],
992
+ url: "/v1/media/series/{id}",
993
+ ...options
994
+ });
995
+ var updateSeries = (options) => (options.client ?? client).patch({
996
+ security: [{ scheme: "bearer", type: "http" }],
997
+ url: "/v1/media/series/{id}",
998
+ ...options,
999
+ headers: {
1000
+ "Content-Type": "application/json",
1001
+ ...options.headers
1002
+ }
1003
+ });
1004
+ var addMediaToSeries = (options) => (options.client ?? client).post({
1005
+ security: [{ scheme: "bearer", type: "http" }],
1006
+ url: "/v1/media/series/{id}/media",
1007
+ ...options,
1008
+ headers: {
1009
+ "Content-Type": "application/json",
1010
+ ...options.headers
1011
+ }
1012
+ });
1013
+ var removeMediaFromSeries = (options) => (options.client ?? client).delete({
1014
+ security: [{ scheme: "bearer", type: "http" }],
1015
+ url: "/v1/media/series/{id}/media/{mediaId}",
1016
+ ...options
1017
+ });
1018
+ var updateSeriesMedia = (options) => (options.client ?? client).patch({
1019
+ security: [{ scheme: "bearer", type: "http" }],
1020
+ url: "/v1/media/series/{id}/media/{mediaId}",
1021
+ ...options,
1022
+ headers: {
1023
+ "Content-Type": "application/json",
1024
+ ...options.headers
1025
+ }
1026
+ });
1027
+ var getCharacter = (options) => (options.client ?? client).get({
969
1028
  security: [{ scheme: "bearer", type: "http" }],
970
1029
  url: "/v1/media/characters/{id}",
971
1030
  ...options
972
1031
  });
973
- var seiyuuShow = (options) => (options.client ?? client).get({
1032
+ var getSeiyuu = (options) => (options.client ?? client).get({
974
1033
  security: [{ scheme: "bearer", type: "http" }],
975
1034
  url: "/v1/media/seiyuu/{id}",
976
1035
  ...options
977
1036
  });
978
- var userQuotaShow = (options) => (options?.client ?? client).get({
1037
+ var getQuota = (options) => (options?.client ?? client).get({
979
1038
  security: [{
980
1039
  in: "cookie",
981
1040
  name: "nadeshiko.session_token",
982
1041
  type: "apiKey"
983
- }],
1042
+ }, { scheme: "bearer", type: "http" }],
984
1043
  url: "/v1/user/quota",
985
1044
  ...options
986
1045
  });
987
- var userReportIndex = (options) => (options?.client ?? client).get({
1046
+ var listReports = (options) => (options?.client ?? client).get({
988
1047
  security: [{
989
1048
  in: "cookie",
990
1049
  name: "nadeshiko.session_token",
@@ -993,7 +1052,7 @@ var userReportIndex = (options) => (options?.client ?? client).get({
993
1052
  url: "/v1/user/reports",
994
1053
  ...options
995
1054
  });
996
- var userReportCreate = (options) => (options.client ?? client).post({
1055
+ var createReport = (options) => (options.client ?? client).post({
997
1056
  security: [{
998
1057
  in: "cookie",
999
1058
  name: "nadeshiko.session_token",
@@ -1006,7 +1065,7 @@ var userReportCreate = (options) => (options.client ?? client).post({
1006
1065
  ...options.headers
1007
1066
  }
1008
1067
  });
1009
- var userPreferencesShow = (options) => (options?.client ?? client).get({
1068
+ var getPreferences = (options) => (options?.client ?? client).get({
1010
1069
  security: [{
1011
1070
  in: "cookie",
1012
1071
  name: "nadeshiko.session_token",
@@ -1015,7 +1074,7 @@ var userPreferencesShow = (options) => (options?.client ?? client).get({
1015
1074
  url: "/v1/user/preferences",
1016
1075
  ...options
1017
1076
  });
1018
- var userPreferencesUpdate = (options) => (options.client ?? client).patch({
1077
+ var updatePreferences = (options) => (options.client ?? client).patch({
1019
1078
  security: [{
1020
1079
  in: "cookie",
1021
1080
  name: "nadeshiko.session_token",
@@ -1028,7 +1087,7 @@ var userPreferencesUpdate = (options) => (options.client ?? client).patch({
1028
1087
  ...options.headers
1029
1088
  }
1030
1089
  });
1031
- var userActivityDestroy = (options) => (options?.client ?? client).delete({
1090
+ var deleteActivity = (options) => (options?.client ?? client).delete({
1032
1091
  security: [{
1033
1092
  in: "cookie",
1034
1093
  name: "nadeshiko.session_token",
@@ -1037,7 +1096,7 @@ var userActivityDestroy = (options) => (options?.client ?? client).delete({
1037
1096
  url: "/v1/user/activity",
1038
1097
  ...options
1039
1098
  });
1040
- var userActivityIndex = (options) => (options?.client ?? client).get({
1099
+ var listActivity = (options) => (options?.client ?? client).get({
1041
1100
  security: [{
1042
1101
  in: "cookie",
1043
1102
  name: "nadeshiko.session_token",
@@ -1046,7 +1105,16 @@ var userActivityIndex = (options) => (options?.client ?? client).get({
1046
1105
  url: "/v1/user/activity",
1047
1106
  ...options
1048
1107
  });
1049
- var userActivityStatsShow = (options) => (options?.client ?? client).get({
1108
+ var getActivityHeatmap = (options) => (options?.client ?? client).get({
1109
+ security: [{
1110
+ in: "cookie",
1111
+ name: "nadeshiko.session_token",
1112
+ type: "apiKey"
1113
+ }],
1114
+ url: "/v1/user/activity/heatmap",
1115
+ ...options
1116
+ });
1117
+ var getActivityStats = (options) => (options?.client ?? client).get({
1050
1118
  security: [{
1051
1119
  in: "cookie",
1052
1120
  name: "nadeshiko.session_token",
@@ -1055,7 +1123,7 @@ var userActivityStatsShow = (options) => (options?.client ?? client).get({
1055
1123
  url: "/v1/user/activity/stats",
1056
1124
  ...options
1057
1125
  });
1058
- var userExportShow = (options) => (options?.client ?? client).get({
1126
+ var exportData = (options) => (options?.client ?? client).get({
1059
1127
  security: [{
1060
1128
  in: "cookie",
1061
1129
  name: "nadeshiko.session_token",
@@ -1064,116 +1132,114 @@ var userExportShow = (options) => (options?.client ?? client).get({
1064
1132
  url: "/v1/user/export",
1065
1133
  ...options
1066
1134
  });
1067
- var labIndex = (options) => (options?.client ?? client).get({
1068
- security: [{ scheme: "bearer", type: "http" }, {
1135
+ var listLabs = (options) => (options?.client ?? client).get({
1136
+ security: [{
1069
1137
  in: "cookie",
1070
1138
  name: "nadeshiko.session_token",
1071
1139
  type: "apiKey"
1072
1140
  }],
1073
- url: "/v1/labs",
1141
+ url: "/v1/user/labs",
1074
1142
  ...options
1075
1143
  });
1076
- var listIndex = (options) => (options?.client ?? client).get({
1077
- security: [{ scheme: "bearer", type: "http" }],
1078
- url: "/v1/lists",
1144
+ var listCollections = (options) => (options?.client ?? client).get({
1145
+ security: [{
1146
+ in: "cookie",
1147
+ name: "nadeshiko.session_token",
1148
+ type: "apiKey"
1149
+ }],
1150
+ url: "/v1/collections",
1079
1151
  ...options
1080
1152
  });
1081
- var listCreate = (options) => (options.client ?? client).post({
1082
- security: [{ scheme: "bearer", type: "http" }],
1083
- url: "/v1/lists",
1153
+ var createCollection = (options) => (options.client ?? client).post({
1154
+ security: [{
1155
+ in: "cookie",
1156
+ name: "nadeshiko.session_token",
1157
+ type: "apiKey"
1158
+ }],
1159
+ url: "/v1/collections",
1084
1160
  ...options,
1085
1161
  headers: {
1086
1162
  "Content-Type": "application/json",
1087
1163
  ...options.headers
1088
1164
  }
1089
1165
  });
1090
- var listDestroy = (options) => (options.client ?? client).delete({
1091
- security: [{ scheme: "bearer", type: "http" }],
1092
- url: "/v1/lists/{id}",
1093
- ...options
1094
- });
1095
- var listShow = (options) => (options.client ?? client).get({
1096
- security: [{ scheme: "bearer", type: "http" }],
1097
- url: "/v1/lists/{id}",
1166
+ var deleteCollection = (options) => (options.client ?? client).delete({
1167
+ security: [{
1168
+ in: "cookie",
1169
+ name: "nadeshiko.session_token",
1170
+ type: "apiKey"
1171
+ }],
1172
+ url: "/v1/collections/{id}",
1098
1173
  ...options
1099
1174
  });
1100
- var listUpdate = (options) => (options.client ?? client).patch({
1101
- security: [{ scheme: "bearer", type: "http" }],
1102
- url: "/v1/lists/{id}",
1103
- ...options,
1104
- headers: {
1105
- "Content-Type": "application/json",
1106
- ...options.headers
1107
- }
1108
- });
1109
- var listAddItem = (options) => (options.client ?? client).post({
1110
- security: [{ scheme: "bearer", type: "http" }],
1111
- url: "/v1/lists/{id}/items",
1112
- ...options,
1113
- headers: {
1114
- "Content-Type": "application/json",
1115
- ...options.headers
1116
- }
1117
- });
1118
- var listRemoveItem = (options) => (options.client ?? client).delete({
1119
- security: [{ scheme: "bearer", type: "http" }],
1120
- url: "/v1/lists/{id}/items/{mediaId}",
1175
+ var getCollection = (options) => (options.client ?? client).get({
1176
+ security: [{
1177
+ in: "cookie",
1178
+ name: "nadeshiko.session_token",
1179
+ type: "apiKey"
1180
+ }],
1181
+ url: "/v1/collections/{id}",
1121
1182
  ...options
1122
1183
  });
1123
- var listUpdateItem = (options) => (options.client ?? client).patch({
1124
- security: [{ scheme: "bearer", type: "http" }],
1125
- url: "/v1/lists/{id}/items/{mediaId}",
1184
+ var updateCollection = (options) => (options.client ?? client).patch({
1185
+ security: [{
1186
+ in: "cookie",
1187
+ name: "nadeshiko.session_token",
1188
+ type: "apiKey"
1189
+ }],
1190
+ url: "/v1/collections/{id}",
1126
1191
  ...options,
1127
1192
  headers: {
1128
1193
  "Content-Type": "application/json",
1129
1194
  ...options.headers
1130
1195
  }
1131
1196
  });
1132
- var listGetSegments = (options) => (options.client ?? client).get({
1133
- security: [{ scheme: "bearer", type: "http" }, {
1134
- in: "cookie",
1135
- name: "nadeshiko.session_token",
1136
- type: "apiKey"
1137
- }],
1138
- url: "/v1/lists/{id}/segments",
1139
- ...options
1140
- });
1141
- var listAddSegment = (options) => (options.client ?? client).post({
1142
- security: [{ scheme: "bearer", type: "http" }, {
1197
+ var addSegmentToCollection = (options) => (options.client ?? client).post({
1198
+ security: [{
1143
1199
  in: "cookie",
1144
1200
  name: "nadeshiko.session_token",
1145
1201
  type: "apiKey"
1146
1202
  }],
1147
- url: "/v1/lists/{id}/segments",
1203
+ url: "/v1/collections/{id}/segments",
1148
1204
  ...options,
1149
1205
  headers: {
1150
1206
  "Content-Type": "application/json",
1151
1207
  ...options.headers
1152
1208
  }
1153
1209
  });
1154
- var listRemoveSegment = (options) => (options.client ?? client).delete({
1155
- security: [{ scheme: "bearer", type: "http" }, {
1210
+ var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
1211
+ security: [{
1156
1212
  in: "cookie",
1157
1213
  name: "nadeshiko.session_token",
1158
1214
  type: "apiKey"
1159
1215
  }],
1160
- url: "/v1/lists/{id}/segments/{uuid}",
1216
+ url: "/v1/collections/{id}/segments/{uuid}",
1161
1217
  ...options
1162
1218
  });
1163
- var listUpdateSegment = (options) => (options.client ?? client).patch({
1164
- security: [{ scheme: "bearer", type: "http" }, {
1219
+ var updateCollectionSegment = (options) => (options.client ?? client).patch({
1220
+ security: [{
1165
1221
  in: "cookie",
1166
1222
  name: "nadeshiko.session_token",
1167
1223
  type: "apiKey"
1168
1224
  }],
1169
- url: "/v1/lists/{id}/segments/{uuid}",
1225
+ url: "/v1/collections/{id}/segments/{uuid}",
1170
1226
  ...options,
1171
1227
  headers: {
1172
1228
  "Content-Type": "application/json",
1173
1229
  ...options.headers
1174
1230
  }
1175
1231
  });
1176
- var adminReindexCreate = (options) => (options?.client ?? client).post({
1232
+ var getAdminDashboard = (options) => (options?.client ?? client).get({
1233
+ security: [{ scheme: "bearer", type: "http" }],
1234
+ url: "/v1/admin/dashboard",
1235
+ ...options
1236
+ });
1237
+ var getAdminHealth = (options) => (options?.client ?? client).get({
1238
+ security: [{ scheme: "bearer", type: "http" }],
1239
+ url: "/v1/admin/health",
1240
+ ...options
1241
+ });
1242
+ var triggerReindex = (options) => (options?.client ?? client).post({
1177
1243
  security: [{ scheme: "bearer", type: "http" }],
1178
1244
  url: "/v1/admin/reindex",
1179
1245
  ...options,
@@ -1182,46 +1248,37 @@ var adminReindexCreate = (options) => (options?.client ?? client).post({
1182
1248
  ...options?.headers
1183
1249
  }
1184
1250
  });
1185
- var adminQueueStatsIndex = (options) => (options?.client ?? client).get({
1251
+ var listAdminQueueStats = (options) => (options?.client ?? client).get({
1186
1252
  security: [{ scheme: "bearer", type: "http" }],
1187
1253
  url: "/v1/admin/queues/stats",
1188
1254
  ...options
1189
1255
  });
1190
- var adminQueueShow = (options) => (options.client ?? client).get({
1256
+ var getAdminQueue = (options) => (options.client ?? client).get({
1191
1257
  security: [{ scheme: "bearer", type: "http" }],
1192
1258
  url: "/v1/admin/queues/{queueName}",
1193
1259
  ...options
1194
1260
  });
1195
- var adminQueueFailedIndex = (options) => (options.client ?? client).get({
1261
+ var listAdminQueueFailed = (options) => (options.client ?? client).get({
1196
1262
  security: [{ scheme: "bearer", type: "http" }],
1197
1263
  url: "/v1/admin/queues/{queueName}/failed",
1198
1264
  ...options
1199
1265
  });
1200
- var adminQueueRetryCreate = (options) => (options.client ?? client).post({
1266
+ var retryAdminQueueFailed = (options) => (options.client ?? client).post({
1201
1267
  security: [{ scheme: "bearer", type: "http" }],
1202
1268
  url: "/v1/admin/queues/{queueName}/retry",
1203
1269
  ...options
1204
1270
  });
1205
- var adminQueueFailedDestroy = (options) => (options.client ?? client).delete({
1271
+ var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
1206
1272
  security: [{ scheme: "bearer", type: "http" }],
1207
1273
  url: "/v1/admin/queues/{queueName}/purge",
1208
1274
  ...options
1209
1275
  });
1210
- var adminMorphemeBackfillCreate = (options) => (options?.client ?? client).post({
1211
- security: [{ scheme: "bearer", type: "http" }, {
1212
- in: "cookie",
1213
- name: "nadeshiko.session_token",
1214
- type: "apiKey"
1215
- }],
1216
- url: "/v1/admin/morpheme-backfill",
1217
- ...options
1218
- });
1219
- var adminReportIndex = (options) => (options?.client ?? client).get({
1276
+ var listAdminReports = (options) => (options?.client ?? client).get({
1220
1277
  security: [{ scheme: "bearer", type: "http" }],
1221
1278
  url: "/v1/admin/reports",
1222
1279
  ...options
1223
1280
  });
1224
- var adminReportUpdate = (options) => (options.client ?? client).patch({
1281
+ var updateAdminReport = (options) => (options.client ?? client).patch({
1225
1282
  security: [{ scheme: "bearer", type: "http" }],
1226
1283
  url: "/v1/admin/reports/{id}",
1227
1284
  ...options,
@@ -1230,17 +1287,17 @@ var adminReportUpdate = (options) => (options.client ?? client).patch({
1230
1287
  ...options.headers
1231
1288
  }
1232
1289
  });
1233
- var adminReviewRunCreate = (options) => (options?.client ?? client).post({
1290
+ var runAdminReview = (options) => (options?.client ?? client).post({
1234
1291
  security: [{ scheme: "bearer", type: "http" }],
1235
1292
  url: "/v1/admin/review/run",
1236
1293
  ...options
1237
1294
  });
1238
- var adminReviewCheckIndex = (options) => (options?.client ?? client).get({
1295
+ var listAdminReviewChecks = (options) => (options?.client ?? client).get({
1239
1296
  security: [{ scheme: "bearer", type: "http" }],
1240
1297
  url: "/v1/admin/review/checks",
1241
1298
  ...options
1242
1299
  });
1243
- var adminReviewCheckUpdate = (options) => (options.client ?? client).patch({
1300
+ var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
1244
1301
  security: [{ scheme: "bearer", type: "http" }],
1245
1302
  url: "/v1/admin/review/checks/{name}",
1246
1303
  ...options,
@@ -1249,22 +1306,22 @@ var adminReviewCheckUpdate = (options) => (options.client ?? client).patch({
1249
1306
  ...options.headers
1250
1307
  }
1251
1308
  });
1252
- var adminReviewRunIndex = (options) => (options?.client ?? client).get({
1309
+ var listAdminReviewRuns = (options) => (options?.client ?? client).get({
1253
1310
  security: [{ scheme: "bearer", type: "http" }],
1254
1311
  url: "/v1/admin/review/runs",
1255
1312
  ...options
1256
1313
  });
1257
- var adminReviewRunShow = (options) => (options.client ?? client).get({
1314
+ var getAdminReviewRun = (options) => (options.client ?? client).get({
1258
1315
  security: [{ scheme: "bearer", type: "http" }],
1259
1316
  url: "/v1/admin/review/runs/{id}",
1260
1317
  ...options
1261
1318
  });
1262
- var adminReviewAllowlistIndex = (options) => (options?.client ?? client).get({
1319
+ var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
1263
1320
  security: [{ scheme: "bearer", type: "http" }],
1264
1321
  url: "/v1/admin/review/allowlist",
1265
1322
  ...options
1266
1323
  });
1267
- var adminReviewAllowlistCreate = (options) => (options.client ?? client).post({
1324
+ var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
1268
1325
  security: [{ scheme: "bearer", type: "http" }],
1269
1326
  url: "/v1/admin/review/allowlist",
1270
1327
  ...options,
@@ -1273,7 +1330,7 @@ var adminReviewAllowlistCreate = (options) => (options.client ?? client).post({
1273
1330
  ...options.headers
1274
1331
  }
1275
1332
  });
1276
- var adminReviewAllowlistDestroy = (options) => (options.client ?? client).delete({
1333
+ var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
1277
1334
  security: [{ scheme: "bearer", type: "http" }],
1278
1335
  url: "/v1/admin/review/allowlist/{id}",
1279
1336
  ...options
@@ -1292,170 +1349,191 @@ function createNadeshikoClient(config) {
1292
1349
  }));
1293
1350
  return {
1294
1351
  client: clientInstance,
1295
- searchIndex: (options) => searchIndex({ ...options, client: clientInstance }),
1296
- searchStats: (options) => searchStats({ ...options, client: clientInstance }),
1352
+ search: (options) => search({ ...options, client: clientInstance }),
1353
+ getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
1297
1354
  searchWords: (options) => searchWords({ ...options, client: clientInstance }),
1298
- mediaIndex: (options) => mediaIndex({ ...options, client: clientInstance }),
1299
- mediaShow: (options) => mediaShow({ ...options, client: clientInstance }),
1300
- episodeIndex: (options) => episodeIndex({ ...options, client: clientInstance }),
1301
- episodeShow: (options) => episodeShow({ ...options, client: clientInstance }),
1302
- segmentShow: (options) => segmentShow({ ...options, client: clientInstance }),
1303
- segmentShowByUuid: (options) => segmentShowByUuid({ ...options, client: clientInstance }),
1304
- segmentContextShow: (options) => segmentContextShow({ ...options, client: clientInstance }),
1305
- characterShow: (options) => characterShow({ ...options, client: clientInstance }),
1306
- seiyuuShow: (options) => seiyuuShow({ ...options, client: clientInstance }),
1307
- userQuotaShow: (options) => userQuotaShow({ ...options, client: clientInstance }),
1308
- userReportCreate: (options) => userReportCreate({ ...options, client: clientInstance }),
1309
- userReportIndex: (options) => userReportIndex({ ...options, client: clientInstance }),
1310
- userPreferencesShow: (options) => userPreferencesShow({ ...options, client: clientInstance }),
1311
- userPreferencesUpdate: (options) => userPreferencesUpdate({ ...options, client: clientInstance }),
1312
- userActivityIndex: (options) => userActivityIndex({ ...options, client: clientInstance }),
1313
- userActivityDestroy: (options) => userActivityDestroy({ ...options, client: clientInstance }),
1314
- userActivityStatsShow: (options) => userActivityStatsShow({ ...options, client: clientInstance }),
1315
- userExportShow: (options) => userExportShow({ ...options, client: clientInstance }),
1316
- labIndex: (options) => labIndex({ ...options, client: clientInstance }),
1317
- listIndex: (options) => listIndex({ ...options, client: clientInstance }),
1318
- listShow: (options) => listShow({ ...options, client: clientInstance }),
1319
- listGetSegments: (options) => listGetSegments({ ...options, client: clientInstance }),
1320
- listAddSegment: (options) => listAddSegment({ ...options, client: clientInstance }),
1321
- listUpdateSegment: (options) => listUpdateSegment({ ...options, client: clientInstance }),
1322
- listRemoveSegment: (options) => listRemoveSegment({ ...options, client: clientInstance }),
1323
- adminReindexCreate: (options) => adminReindexCreate({ ...options, client: clientInstance }),
1324
- adminQueueStatsIndex: (options) => adminQueueStatsIndex({ ...options, client: clientInstance }),
1325
- adminQueueShow: (options) => adminQueueShow({ ...options, client: clientInstance }),
1326
- adminQueueFailedIndex: (options) => adminQueueFailedIndex({ ...options, client: clientInstance }),
1327
- adminQueueRetryCreate: (options) => adminQueueRetryCreate({ ...options, client: clientInstance }),
1328
- adminQueueFailedDestroy: (options) => adminQueueFailedDestroy({ ...options, client: clientInstance }),
1329
- adminMorphemeBackfillCreate: (options) => adminMorphemeBackfillCreate({ ...options, client: clientInstance }),
1330
- adminReportIndex: (options) => adminReportIndex({ ...options, client: clientInstance }),
1331
- adminReportUpdate: (options) => adminReportUpdate({ ...options, client: clientInstance }),
1332
- adminReviewRunCreate: (options) => adminReviewRunCreate({ ...options, client: clientInstance }),
1333
- adminReviewCheckIndex: (options) => adminReviewCheckIndex({ ...options, client: clientInstance }),
1334
- adminReviewCheckUpdate: (options) => adminReviewCheckUpdate({ ...options, client: clientInstance }),
1335
- adminReviewRunIndex: (options) => adminReviewRunIndex({ ...options, client: clientInstance }),
1336
- adminReviewRunShow: (options) => adminReviewRunShow({ ...options, client: clientInstance }),
1337
- adminReviewAllowlistIndex: (options) => adminReviewAllowlistIndex({ ...options, client: clientInstance }),
1338
- adminReviewAllowlistCreate: (options) => adminReviewAllowlistCreate({ ...options, client: clientInstance }),
1339
- adminReviewAllowlistDestroy: (options) => adminReviewAllowlistDestroy({ ...options, client: clientInstance }),
1340
- healthCheck: (options) => healthCheck({ ...options, client: clientInstance }),
1341
- mediaCreate: (options) => mediaCreate({ ...options, client: clientInstance }),
1342
- mediaUpdate: (options) => mediaUpdate({ ...options, client: clientInstance }),
1343
- mediaDestroy: (options) => mediaDestroy({ ...options, client: clientInstance }),
1344
- episodeCreate: (options) => episodeCreate({ ...options, client: clientInstance }),
1345
- episodeUpdate: (options) => episodeUpdate({ ...options, client: clientInstance }),
1346
- episodeDestroy: (options) => episodeDestroy({ ...options, client: clientInstance }),
1347
- segmentIndex: (options) => segmentIndex({ ...options, client: clientInstance }),
1348
- segmentCreate: (options) => segmentCreate({ ...options, client: clientInstance }),
1349
- segmentUpdate: (options) => segmentUpdate({ ...options, client: clientInstance }),
1350
- segmentDestroy: (options) => segmentDestroy({ ...options, client: clientInstance }),
1351
- listCreate: (options) => listCreate({ ...options, client: clientInstance }),
1352
- listUpdate: (options) => listUpdate({ ...options, client: clientInstance }),
1353
- listDestroy: (options) => listDestroy({ ...options, client: clientInstance }),
1354
- listAddItem: (options) => listAddItem({ ...options, client: clientInstance }),
1355
- listUpdateItem: (options) => listUpdateItem({ ...options, client: clientInstance }),
1356
- listRemoveItem: (options) => listRemoveItem({ ...options, client: clientInstance })
1355
+ listMedia: (options) => listMedia({ ...options, client: clientInstance }),
1356
+ getMedia: (options) => getMedia({ ...options, client: clientInstance }),
1357
+ listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
1358
+ getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
1359
+ getSegment: (options) => getSegment({ ...options, client: clientInstance }),
1360
+ getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
1361
+ getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
1362
+ listSeries: (options) => listSeries({ ...options, client: clientInstance }),
1363
+ getSeries: (options) => getSeries({ ...options, client: clientInstance }),
1364
+ getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
1365
+ getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
1366
+ getQuota: (options) => getQuota({ ...options, client: clientInstance }),
1367
+ listCollections: (options) => listCollections({ ...options, client: clientInstance }),
1368
+ createCollection: (options) => createCollection({ ...options, client: clientInstance }),
1369
+ getCollection: (options) => getCollection({ ...options, client: clientInstance }),
1370
+ updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
1371
+ deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
1372
+ addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
1373
+ updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
1374
+ removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
1375
+ triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
1376
+ listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
1377
+ getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
1378
+ listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
1379
+ retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
1380
+ purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
1381
+ listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
1382
+ updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
1383
+ runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
1384
+ listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
1385
+ updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
1386
+ listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
1387
+ getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
1388
+ listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
1389
+ createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
1390
+ deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
1391
+ createMedia: (options) => createMedia({ ...options, client: clientInstance }),
1392
+ updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
1393
+ deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
1394
+ createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
1395
+ updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
1396
+ deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
1397
+ listSegments: (options) => listSegments({ ...options, client: clientInstance }),
1398
+ createSegment: (options) => createSegment({ ...options, client: clientInstance }),
1399
+ updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
1400
+ deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
1401
+ createSeries: (options) => createSeries({ ...options, client: clientInstance }),
1402
+ updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
1403
+ deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
1404
+ addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
1405
+ updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
1406
+ removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
1407
+ createReport: (options) => createReport({ ...options, client: clientInstance }),
1408
+ listReports: (options) => listReports({ ...options, client: clientInstance }),
1409
+ getPreferences: (options) => getPreferences({ ...options, client: clientInstance }),
1410
+ updatePreferences: (options) => updatePreferences({ ...options, client: clientInstance }),
1411
+ listActivity: (options) => listActivity({ ...options, client: clientInstance }),
1412
+ deleteActivity: (options) => deleteActivity({ ...options, client: clientInstance }),
1413
+ getActivityHeatmap: (options) => getActivityHeatmap({ ...options, client: clientInstance }),
1414
+ getActivityStats: (options) => getActivityStats({ ...options, client: clientInstance }),
1415
+ exportData: (options) => exportData({ ...options, client: clientInstance }),
1416
+ listLabs: (options) => listLabs({ ...options, client: clientInstance }),
1417
+ getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
1418
+ getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
1357
1419
  };
1358
1420
  }
1359
1421
  var createClient2 = createNadeshikoClient;
1360
- // generated/dev/internal/search.gen.ts
1361
- var exports_search_gen = {};
1362
- __export(exports_search_gen, {
1363
- healthCheck: () => healthCheck
1364
- });
1365
1422
  // generated/dev/internal/media.gen.ts
1366
1423
  var exports_media_gen = {};
1367
1424
  __export(exports_media_gen, {
1368
- segmentUpdate: () => segmentUpdate,
1369
- segmentIndex: () => segmentIndex,
1370
- segmentDestroy: () => segmentDestroy,
1371
- segmentCreate: () => segmentCreate,
1372
- mediaUpdate: () => mediaUpdate,
1373
- mediaDestroy: () => mediaDestroy,
1374
- mediaCreate: () => mediaCreate,
1375
- episodeUpdate: () => episodeUpdate,
1376
- episodeDestroy: () => episodeDestroy,
1377
- episodeCreate: () => episodeCreate
1378
- });
1379
- // generated/dev/internal/lists.gen.ts
1380
- var exports_lists_gen = {};
1381
- __export(exports_lists_gen, {
1382
- listUpdateItem: () => listUpdateItem,
1383
- listUpdate: () => listUpdate,
1384
- listRemoveItem: () => listRemoveItem,
1385
- listDestroy: () => listDestroy,
1386
- listCreate: () => listCreate,
1387
- listAddItem: () => listAddItem
1425
+ updateSeriesMedia: () => updateSeriesMedia,
1426
+ updateSeries: () => updateSeries,
1427
+ updateSegment: () => updateSegment,
1428
+ updateMedia: () => updateMedia,
1429
+ updateEpisode: () => updateEpisode,
1430
+ removeMediaFromSeries: () => removeMediaFromSeries,
1431
+ listSegments: () => listSegments,
1432
+ deleteSeries: () => deleteSeries,
1433
+ deleteSegment: () => deleteSegment,
1434
+ deleteMedia: () => deleteMedia,
1435
+ deleteEpisode: () => deleteEpisode,
1436
+ createSeries: () => createSeries,
1437
+ createSegment: () => createSegment,
1438
+ createMedia: () => createMedia,
1439
+ createEpisode: () => createEpisode,
1440
+ addMediaToSeries: () => addMediaToSeries
1441
+ });
1442
+ // generated/dev/internal/user.gen.ts
1443
+ var exports_user_gen = {};
1444
+ __export(exports_user_gen, {
1445
+ updatePreferences: () => updatePreferences,
1446
+ listReports: () => listReports,
1447
+ listLabs: () => listLabs,
1448
+ listActivity: () => listActivity,
1449
+ getPreferences: () => getPreferences,
1450
+ getActivityStats: () => getActivityStats,
1451
+ getActivityHeatmap: () => getActivityHeatmap,
1452
+ exportData: () => exportData,
1453
+ deleteActivity: () => deleteActivity,
1454
+ createReport: () => createReport
1455
+ });
1456
+ // generated/dev/internal/admin.gen.ts
1457
+ var exports_admin_gen = {};
1458
+ __export(exports_admin_gen, {
1459
+ getAdminHealth: () => getAdminHealth,
1460
+ getAdminDashboard: () => getAdminDashboard
1388
1461
  });
1389
1462
  export {
1390
- userReportIndex,
1391
- userReportCreate,
1392
- userQuotaShow,
1393
- userPreferencesUpdate,
1394
- userPreferencesShow,
1395
- userExportShow,
1396
- userActivityStatsShow,
1397
- userActivityIndex,
1398
- userActivityDestroy,
1399
- seiyuuShow,
1400
- segmentUpdate,
1401
- segmentShowByUuid,
1402
- segmentShow,
1403
- segmentIndex,
1404
- segmentDestroy,
1405
- segmentCreate,
1406
- segmentContextShow,
1463
+ exports_user_gen as user,
1464
+ updateSeriesMedia,
1465
+ updateSeries,
1466
+ updateSegment,
1467
+ updatePreferences,
1468
+ updateMedia,
1469
+ updateEpisode,
1470
+ updateCollectionSegment,
1471
+ updateCollection,
1472
+ updateAdminReviewCheck,
1473
+ updateAdminReport,
1474
+ triggerReindex,
1407
1475
  searchWords,
1408
- searchStats,
1409
- searchIndex,
1410
- exports_search_gen as search,
1411
- mediaUpdate,
1412
- mediaShow,
1413
- mediaIndex,
1414
- mediaDestroy,
1415
- mediaCreate,
1476
+ search,
1477
+ runAdminReview,
1478
+ retryAdminQueueFailed,
1479
+ removeSegmentFromCollection,
1480
+ removeMediaFromSeries,
1481
+ purgeAdminQueueFailed,
1416
1482
  exports_media_gen as media,
1417
- exports_lists_gen as lists,
1418
- listUpdateSegment,
1419
- listUpdateItem,
1420
- listUpdate,
1421
- listShow,
1422
- listRemoveSegment,
1423
- listRemoveItem,
1424
- listIndex,
1425
- listGetSegments,
1426
- listDestroy,
1427
- listCreate,
1428
- listAddSegment,
1429
- listAddItem,
1430
- labIndex,
1431
- healthCheck,
1432
- episodeUpdate,
1433
- episodeShow,
1434
- episodeIndex,
1435
- episodeDestroy,
1436
- episodeCreate,
1483
+ listSeries,
1484
+ listSegments,
1485
+ listReports,
1486
+ listMedia,
1487
+ listLabs,
1488
+ listEpisodes,
1489
+ listCollections,
1490
+ listAdminReviewRuns,
1491
+ listAdminReviewChecks,
1492
+ listAdminReviewAllowlist,
1493
+ listAdminReports,
1494
+ listAdminQueueStats,
1495
+ listAdminQueueFailed,
1496
+ listActivity,
1497
+ getSeries,
1498
+ getSeiyuu,
1499
+ getSegmentContext,
1500
+ getSegmentByUuid,
1501
+ getSegment,
1502
+ getSearchStats,
1503
+ getQuota,
1504
+ getPreferences,
1505
+ getMedia,
1506
+ getEpisode,
1507
+ getCollection,
1508
+ getCharacter,
1509
+ getAdminReviewRun,
1510
+ getAdminQueue,
1511
+ getAdminHealth,
1512
+ getAdminDashboard,
1513
+ getActivityStats,
1514
+ getActivityHeatmap,
1515
+ exportData,
1516
+ deleteSeries,
1517
+ deleteSegment,
1518
+ deleteMedia,
1519
+ deleteEpisode,
1520
+ deleteCollection,
1521
+ deleteAdminReviewAllowlistEntry,
1522
+ deleteActivity,
1523
+ createSeries,
1524
+ createSegment,
1525
+ createReport,
1437
1526
  createNadeshikoClient,
1527
+ createMedia,
1528
+ createEpisode,
1529
+ createCollection,
1438
1530
  createClient2 as createClient,
1531
+ createAdminReviewAllowlistEntry,
1439
1532
  client,
1440
- characterShow,
1441
- adminReviewRunShow,
1442
- adminReviewRunIndex,
1443
- adminReviewRunCreate,
1444
- adminReviewCheckUpdate,
1445
- adminReviewCheckIndex,
1446
- adminReviewAllowlistIndex,
1447
- adminReviewAllowlistDestroy,
1448
- adminReviewAllowlistCreate,
1449
- adminReportUpdate,
1450
- adminReportIndex,
1451
- adminReindexCreate,
1452
- adminQueueStatsIndex,
1453
- adminQueueShow,
1454
- adminQueueRetryCreate,
1455
- adminQueueFailedIndex,
1456
- adminQueueFailedDestroy,
1457
- adminMorphemeBackfillCreate
1533
+ exports_admin_gen as admin,
1534
+ addSegmentToCollection,
1535
+ addMediaToSeries
1458
1536
  };
1459
1537
 
1460
- //# debugId=E295AF37E6B3026564756E2164756E21
1538
+ //# debugId=6DCBA6AB10BC445664756E2164756E21
1461
1539
  //# sourceMappingURL=index.js.map