@brigadasos/nadeshiko-sdk 1.4.3-dev.e5c01f0 → 1.5.0-dev.0c1011b
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/README.md +17 -14
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/index.cjs +375 -202
- package/dist/index.cjs.map +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +362 -195
- package/dist/index.js.map +5 -5
- package/dist/internal/admin.gen.d.ts +1 -1
- package/dist/internal/admin.gen.d.ts.map +1 -1
- package/dist/internal/collections.gen.d.ts +2 -0
- package/dist/internal/collections.gen.d.ts.map +1 -0
- package/dist/internal/media.gen.d.ts +1 -1
- package/dist/internal/media.gen.d.ts.map +1 -1
- package/dist/internal/user.gen.d.ts +1 -1
- package/dist/internal/user.gen.d.ts.map +1 -1
- package/dist/internal.gen.d.ts +1 -0
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +48 -40
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +213 -144
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1505 -1324
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __returnValue = (v) => v;
|
|
3
|
+
function __exportSetter(name, newValue) {
|
|
4
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
5
|
+
}
|
|
2
6
|
var __export = (target, all) => {
|
|
3
7
|
for (var name in all)
|
|
4
8
|
__defProp(target, name, {
|
|
5
9
|
get: all[name],
|
|
6
10
|
enumerable: true,
|
|
7
11
|
configurable: true,
|
|
8
|
-
set: (
|
|
12
|
+
set: __exportSetter.bind(all, name)
|
|
9
13
|
});
|
|
10
14
|
};
|
|
11
15
|
|
|
@@ -809,15 +813,11 @@ var createClient = (config = {}) => {
|
|
|
809
813
|
};
|
|
810
814
|
};
|
|
811
815
|
// generated/dev/client.gen.ts
|
|
812
|
-
var client = createClient(createConfig({ baseUrl: "
|
|
816
|
+
var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }));
|
|
813
817
|
|
|
814
818
|
// generated/dev/sdk.gen.ts
|
|
815
819
|
var search = (options) => (options?.client ?? client).post({
|
|
816
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
817
|
-
in: "cookie",
|
|
818
|
-
name: "nadeshiko.session_token",
|
|
819
|
-
type: "apiKey"
|
|
820
|
-
}],
|
|
820
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
821
821
|
url: "/v1/search",
|
|
822
822
|
...options,
|
|
823
823
|
headers: {
|
|
@@ -826,11 +826,7 @@ var search = (options) => (options?.client ?? client).post({
|
|
|
826
826
|
}
|
|
827
827
|
});
|
|
828
828
|
var getSearchStats = (options) => (options?.client ?? client).post({
|
|
829
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
830
|
-
in: "cookie",
|
|
831
|
-
name: "nadeshiko.session_token",
|
|
832
|
-
type: "apiKey"
|
|
833
|
-
}],
|
|
829
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
834
830
|
url: "/v1/search/stats",
|
|
835
831
|
...options,
|
|
836
832
|
headers: {
|
|
@@ -839,11 +835,7 @@ var getSearchStats = (options) => (options?.client ?? client).post({
|
|
|
839
835
|
}
|
|
840
836
|
});
|
|
841
837
|
var searchWords = (options) => (options.client ?? client).post({
|
|
842
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
843
|
-
in: "cookie",
|
|
844
|
-
name: "nadeshiko.session_token",
|
|
845
|
-
type: "apiKey"
|
|
846
|
-
}],
|
|
838
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
847
839
|
url: "/v1/search/words",
|
|
848
840
|
...options,
|
|
849
841
|
headers: {
|
|
@@ -870,191 +862,195 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
|
870
862
|
url: "/v1/media/autocomplete",
|
|
871
863
|
...options
|
|
872
864
|
});
|
|
873
|
-
var
|
|
874
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
url: "/v1/media/{id}",
|
|
865
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
866
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
867
|
+
in: "cookie",
|
|
868
|
+
name: "nadeshiko.session_token",
|
|
869
|
+
type: "apiKey"
|
|
870
|
+
}],
|
|
871
|
+
url: "/v1/media/segments/{uuid}",
|
|
881
872
|
...options
|
|
882
873
|
});
|
|
883
|
-
var
|
|
884
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
885
|
-
|
|
874
|
+
var updateSegmentByUuid = (options) => (options.client ?? client).patch({
|
|
875
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
876
|
+
in: "cookie",
|
|
877
|
+
name: "nadeshiko.session_token",
|
|
878
|
+
type: "apiKey"
|
|
879
|
+
}],
|
|
880
|
+
url: "/v1/media/segments/{uuid}",
|
|
886
881
|
...options,
|
|
887
882
|
headers: {
|
|
888
883
|
"Content-Type": "application/json",
|
|
889
884
|
...options.headers
|
|
890
885
|
}
|
|
891
886
|
});
|
|
892
|
-
var
|
|
887
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
888
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
889
|
+
in: "cookie",
|
|
890
|
+
name: "nadeshiko.session_token",
|
|
891
|
+
type: "apiKey"
|
|
892
|
+
}],
|
|
893
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
894
|
+
...options
|
|
895
|
+
});
|
|
896
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
893
897
|
security: [{ scheme: "bearer", type: "http" }],
|
|
894
|
-
url: "/v1/media/
|
|
898
|
+
url: "/v1/media/series",
|
|
895
899
|
...options
|
|
896
900
|
});
|
|
897
|
-
var
|
|
901
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
898
902
|
security: [{ scheme: "bearer", type: "http" }],
|
|
899
|
-
url: "/v1/media/
|
|
903
|
+
url: "/v1/media/series",
|
|
900
904
|
...options,
|
|
901
905
|
headers: {
|
|
902
906
|
"Content-Type": "application/json",
|
|
903
907
|
...options.headers
|
|
904
908
|
}
|
|
905
909
|
});
|
|
906
|
-
var
|
|
910
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
907
911
|
security: [{ scheme: "bearer", type: "http" }],
|
|
908
|
-
url: "/v1/media/
|
|
912
|
+
url: "/v1/media/series/{id}",
|
|
909
913
|
...options
|
|
910
914
|
});
|
|
911
|
-
var
|
|
915
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
912
916
|
security: [{ scheme: "bearer", type: "http" }],
|
|
913
|
-
url: "/v1/media/
|
|
917
|
+
url: "/v1/media/series/{id}",
|
|
914
918
|
...options
|
|
915
919
|
});
|
|
916
|
-
var
|
|
920
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
917
921
|
security: [{ scheme: "bearer", type: "http" }],
|
|
918
|
-
url: "/v1/media/
|
|
922
|
+
url: "/v1/media/series/{id}",
|
|
919
923
|
...options,
|
|
920
924
|
headers: {
|
|
921
925
|
"Content-Type": "application/json",
|
|
922
926
|
...options.headers
|
|
923
927
|
}
|
|
924
928
|
});
|
|
925
|
-
var
|
|
926
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
927
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
928
|
-
...options
|
|
929
|
-
});
|
|
930
|
-
var createSegment = (options) => (options.client ?? client).post({
|
|
929
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
931
930
|
security: [{ scheme: "bearer", type: "http" }],
|
|
932
|
-
url: "/v1/media/
|
|
931
|
+
url: "/v1/media/series/{id}/media",
|
|
933
932
|
...options,
|
|
934
933
|
headers: {
|
|
935
934
|
"Content-Type": "application/json",
|
|
936
935
|
...options.headers
|
|
937
936
|
}
|
|
938
937
|
});
|
|
939
|
-
var
|
|
940
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
941
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
942
|
-
...options
|
|
943
|
-
});
|
|
944
|
-
var getSegment = (options) => (options.client ?? client).get({
|
|
938
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
945
939
|
security: [{ scheme: "bearer", type: "http" }],
|
|
946
|
-
url: "/v1/media/
|
|
940
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
947
941
|
...options
|
|
948
942
|
});
|
|
949
|
-
var
|
|
943
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
950
944
|
security: [{ scheme: "bearer", type: "http" }],
|
|
951
|
-
url: "/v1/media/
|
|
945
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
952
946
|
...options,
|
|
953
947
|
headers: {
|
|
954
948
|
"Content-Type": "application/json",
|
|
955
949
|
...options.headers
|
|
956
950
|
}
|
|
957
951
|
});
|
|
958
|
-
var
|
|
952
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
959
953
|
security: [{ scheme: "bearer", type: "http" }],
|
|
960
|
-
url: "/v1/media/
|
|
954
|
+
url: "/v1/media/characters/{id}",
|
|
961
955
|
...options
|
|
962
956
|
});
|
|
963
|
-
var
|
|
957
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
964
958
|
security: [{ scheme: "bearer", type: "http" }],
|
|
965
|
-
url: "/v1/media/
|
|
959
|
+
url: "/v1/media/seiyuu/{id}",
|
|
966
960
|
...options
|
|
967
961
|
});
|
|
968
|
-
var
|
|
969
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
970
|
-
|
|
971
|
-
name: "nadeshiko.session_token",
|
|
972
|
-
type: "apiKey"
|
|
973
|
-
}],
|
|
974
|
-
url: "/v1/media/series",
|
|
962
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
963
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
964
|
+
url: "/v1/media/{id}",
|
|
975
965
|
...options
|
|
976
966
|
});
|
|
977
|
-
var
|
|
967
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
978
968
|
security: [{ scheme: "bearer", type: "http" }],
|
|
979
|
-
url: "/v1/media/
|
|
969
|
+
url: "/v1/media/{id}",
|
|
970
|
+
...options
|
|
971
|
+
});
|
|
972
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
973
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
974
|
+
url: "/v1/media/{id}",
|
|
980
975
|
...options,
|
|
981
976
|
headers: {
|
|
982
977
|
"Content-Type": "application/json",
|
|
983
978
|
...options.headers
|
|
984
979
|
}
|
|
985
980
|
});
|
|
986
|
-
var
|
|
981
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
987
982
|
security: [{ scheme: "bearer", type: "http" }],
|
|
988
|
-
url: "/v1/media/
|
|
989
|
-
...options
|
|
990
|
-
});
|
|
991
|
-
var getSeries = (options) => (options.client ?? client).get({
|
|
992
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
993
|
-
in: "cookie",
|
|
994
|
-
name: "nadeshiko.session_token",
|
|
995
|
-
type: "apiKey"
|
|
996
|
-
}],
|
|
997
|
-
url: "/v1/media/series/{id}",
|
|
983
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
998
984
|
...options
|
|
999
985
|
});
|
|
1000
|
-
var
|
|
986
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
1001
987
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
|
-
url: "/v1/media/
|
|
988
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
1003
989
|
...options,
|
|
1004
990
|
headers: {
|
|
1005
991
|
"Content-Type": "application/json",
|
|
1006
992
|
...options.headers
|
|
1007
993
|
}
|
|
1008
994
|
});
|
|
1009
|
-
var
|
|
995
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
1010
996
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1011
|
-
url: "/v1/media/
|
|
997
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
998
|
+
...options
|
|
999
|
+
});
|
|
1000
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1001
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1002
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1003
|
+
...options
|
|
1004
|
+
});
|
|
1005
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1006
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1007
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1012
1008
|
...options,
|
|
1013
1009
|
headers: {
|
|
1014
1010
|
"Content-Type": "application/json",
|
|
1015
1011
|
...options.headers
|
|
1016
1012
|
}
|
|
1017
1013
|
});
|
|
1018
|
-
var
|
|
1014
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1019
1015
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1020
|
-
url: "/v1/media/
|
|
1016
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1021
1017
|
...options
|
|
1022
1018
|
});
|
|
1023
|
-
var
|
|
1019
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1024
1020
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1025
|
-
url: "/v1/media/
|
|
1021
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1026
1022
|
...options,
|
|
1027
1023
|
headers: {
|
|
1028
1024
|
"Content-Type": "application/json",
|
|
1029
1025
|
...options.headers
|
|
1030
1026
|
}
|
|
1031
1027
|
});
|
|
1032
|
-
var
|
|
1028
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1033
1029
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1034
|
-
url: "/v1/media/
|
|
1030
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1035
1031
|
...options
|
|
1036
1032
|
});
|
|
1037
|
-
var
|
|
1033
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1038
1034
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1039
|
-
url: "/v1/media/
|
|
1035
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1040
1036
|
...options
|
|
1041
1037
|
});
|
|
1042
|
-
var
|
|
1043
|
-
security: [{
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1038
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1039
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1040
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1041
|
+
...options,
|
|
1042
|
+
headers: {
|
|
1043
|
+
"Content-Type": "application/json",
|
|
1044
|
+
...options.headers
|
|
1045
|
+
}
|
|
1050
1046
|
});
|
|
1051
|
-
var
|
|
1047
|
+
var getUserQuota = (options) => (options?.client ?? client).get({
|
|
1052
1048
|
security: [{
|
|
1053
1049
|
in: "cookie",
|
|
1054
1050
|
name: "nadeshiko.session_token",
|
|
1055
1051
|
type: "apiKey"
|
|
1056
1052
|
}],
|
|
1057
|
-
url: "/v1/user/
|
|
1053
|
+
url: "/v1/user/quota",
|
|
1058
1054
|
...options
|
|
1059
1055
|
});
|
|
1060
1056
|
var createUserReport = (options) => (options.client ?? client).post({
|
|
@@ -1110,6 +1106,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
|
|
|
1110
1106
|
url: "/v1/user/activity",
|
|
1111
1107
|
...options
|
|
1112
1108
|
});
|
|
1109
|
+
var trackUserActivity = (options) => (options.client ?? client).post({
|
|
1110
|
+
security: [{
|
|
1111
|
+
in: "cookie",
|
|
1112
|
+
name: "nadeshiko.session_token",
|
|
1113
|
+
type: "apiKey"
|
|
1114
|
+
}],
|
|
1115
|
+
url: "/v1/user/activity",
|
|
1116
|
+
...options,
|
|
1117
|
+
headers: {
|
|
1118
|
+
"Content-Type": "application/json",
|
|
1119
|
+
...options.headers
|
|
1120
|
+
}
|
|
1121
|
+
});
|
|
1113
1122
|
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1114
1123
|
security: [{
|
|
1115
1124
|
in: "cookie",
|
|
@@ -1128,6 +1137,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
|
1128
1137
|
url: "/v1/user/activity/stats",
|
|
1129
1138
|
...options
|
|
1130
1139
|
});
|
|
1140
|
+
var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
|
|
1141
|
+
security: [{
|
|
1142
|
+
in: "cookie",
|
|
1143
|
+
name: "nadeshiko.session_token",
|
|
1144
|
+
type: "apiKey"
|
|
1145
|
+
}],
|
|
1146
|
+
url: "/v1/user/activity/date/{date}",
|
|
1147
|
+
...options
|
|
1148
|
+
});
|
|
1149
|
+
var deleteUserActivityById = (options) => (options.client ?? client).delete({
|
|
1150
|
+
security: [{
|
|
1151
|
+
in: "cookie",
|
|
1152
|
+
name: "nadeshiko.session_token",
|
|
1153
|
+
type: "apiKey"
|
|
1154
|
+
}],
|
|
1155
|
+
url: "/v1/user/activity/{id}",
|
|
1156
|
+
...options
|
|
1157
|
+
});
|
|
1131
1158
|
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1132
1159
|
security: [{
|
|
1133
1160
|
in: "cookie",
|
|
@@ -1146,6 +1173,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
|
|
|
1146
1173
|
url: "/v1/user/labs",
|
|
1147
1174
|
...options
|
|
1148
1175
|
});
|
|
1176
|
+
var unenrollUserLab = (options) => (options.client ?? client).delete({
|
|
1177
|
+
security: [{
|
|
1178
|
+
in: "cookie",
|
|
1179
|
+
name: "nadeshiko.session_token",
|
|
1180
|
+
type: "apiKey"
|
|
1181
|
+
}],
|
|
1182
|
+
url: "/v1/user/labs/{key}",
|
|
1183
|
+
...options
|
|
1184
|
+
});
|
|
1185
|
+
var enrollUserLab = (options) => (options.client ?? client).post({
|
|
1186
|
+
security: [{
|
|
1187
|
+
in: "cookie",
|
|
1188
|
+
name: "nadeshiko.session_token",
|
|
1189
|
+
type: "apiKey"
|
|
1190
|
+
}],
|
|
1191
|
+
url: "/v1/user/labs/{key}",
|
|
1192
|
+
...options
|
|
1193
|
+
});
|
|
1149
1194
|
var listCollections = (options) => (options?.client ?? client).get({
|
|
1150
1195
|
security: [{
|
|
1151
1196
|
in: "cookie",
|
|
@@ -1234,18 +1279,48 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
|
1234
1279
|
...options.headers
|
|
1235
1280
|
}
|
|
1236
1281
|
});
|
|
1282
|
+
var searchCollectionSegments = (options) => (options.client ?? client).get({
|
|
1283
|
+
security: [{
|
|
1284
|
+
in: "cookie",
|
|
1285
|
+
name: "nadeshiko.session_token",
|
|
1286
|
+
type: "apiKey"
|
|
1287
|
+
}],
|
|
1288
|
+
url: "/v1/collections/{id}/search",
|
|
1289
|
+
...options
|
|
1290
|
+
});
|
|
1291
|
+
var getCollectionStats = (options) => (options.client ?? client).get({
|
|
1292
|
+
security: [{
|
|
1293
|
+
in: "cookie",
|
|
1294
|
+
name: "nadeshiko.session_token",
|
|
1295
|
+
type: "apiKey"
|
|
1296
|
+
}],
|
|
1297
|
+
url: "/v1/collections/{id}/stats",
|
|
1298
|
+
...options
|
|
1299
|
+
});
|
|
1237
1300
|
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1238
|
-
security: [{
|
|
1301
|
+
security: [{
|
|
1302
|
+
in: "cookie",
|
|
1303
|
+
name: "nadeshiko.session_token",
|
|
1304
|
+
type: "apiKey"
|
|
1305
|
+
}],
|
|
1239
1306
|
url: "/v1/admin/dashboard",
|
|
1240
1307
|
...options
|
|
1241
1308
|
});
|
|
1242
1309
|
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1243
|
-
security: [{
|
|
1310
|
+
security: [{
|
|
1311
|
+
in: "cookie",
|
|
1312
|
+
name: "nadeshiko.session_token",
|
|
1313
|
+
type: "apiKey"
|
|
1314
|
+
}],
|
|
1244
1315
|
url: "/v1/admin/health",
|
|
1245
1316
|
...options
|
|
1246
1317
|
});
|
|
1247
1318
|
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1248
|
-
security: [{
|
|
1319
|
+
security: [{
|
|
1320
|
+
in: "cookie",
|
|
1321
|
+
name: "nadeshiko.session_token",
|
|
1322
|
+
type: "apiKey"
|
|
1323
|
+
}],
|
|
1249
1324
|
url: "/v1/admin/reindex",
|
|
1250
1325
|
...options,
|
|
1251
1326
|
headers: {
|
|
@@ -1254,37 +1329,74 @@ var triggerReindex = (options) => (options?.client ?? client).post({
|
|
|
1254
1329
|
}
|
|
1255
1330
|
});
|
|
1256
1331
|
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1257
|
-
security: [{
|
|
1332
|
+
security: [{
|
|
1333
|
+
in: "cookie",
|
|
1334
|
+
name: "nadeshiko.session_token",
|
|
1335
|
+
type: "apiKey"
|
|
1336
|
+
}],
|
|
1258
1337
|
url: "/v1/admin/queues/stats",
|
|
1259
1338
|
...options
|
|
1260
1339
|
});
|
|
1261
1340
|
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1262
|
-
security: [{
|
|
1341
|
+
security: [{
|
|
1342
|
+
in: "cookie",
|
|
1343
|
+
name: "nadeshiko.session_token",
|
|
1344
|
+
type: "apiKey"
|
|
1345
|
+
}],
|
|
1263
1346
|
url: "/v1/admin/queues/{queueName}",
|
|
1264
1347
|
...options
|
|
1265
1348
|
});
|
|
1266
1349
|
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1267
|
-
security: [{
|
|
1350
|
+
security: [{
|
|
1351
|
+
in: "cookie",
|
|
1352
|
+
name: "nadeshiko.session_token",
|
|
1353
|
+
type: "apiKey"
|
|
1354
|
+
}],
|
|
1268
1355
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1269
1356
|
...options
|
|
1270
1357
|
});
|
|
1271
1358
|
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1272
|
-
security: [{
|
|
1359
|
+
security: [{
|
|
1360
|
+
in: "cookie",
|
|
1361
|
+
name: "nadeshiko.session_token",
|
|
1362
|
+
type: "apiKey"
|
|
1363
|
+
}],
|
|
1273
1364
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1274
1365
|
...options
|
|
1275
1366
|
});
|
|
1276
1367
|
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1277
|
-
security: [{
|
|
1368
|
+
security: [{
|
|
1369
|
+
in: "cookie",
|
|
1370
|
+
name: "nadeshiko.session_token",
|
|
1371
|
+
type: "apiKey"
|
|
1372
|
+
}],
|
|
1278
1373
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1279
1374
|
...options
|
|
1280
1375
|
});
|
|
1376
|
+
var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
|
|
1377
|
+
var impersonateAdminUser = (options) => (options.client ?? client).post({
|
|
1378
|
+
url: "/v1/admin/impersonation",
|
|
1379
|
+
...options,
|
|
1380
|
+
headers: {
|
|
1381
|
+
"Content-Type": "application/json",
|
|
1382
|
+
...options.headers
|
|
1383
|
+
}
|
|
1384
|
+
});
|
|
1281
1385
|
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1282
|
-
security: [{
|
|
1386
|
+
security: [{
|
|
1387
|
+
in: "cookie",
|
|
1388
|
+
name: "nadeshiko.session_token",
|
|
1389
|
+
type: "apiKey"
|
|
1390
|
+
}],
|
|
1283
1391
|
url: "/v1/admin/reports",
|
|
1284
1392
|
...options
|
|
1285
1393
|
});
|
|
1286
1394
|
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1287
|
-
security: [{
|
|
1395
|
+
security: [{
|
|
1396
|
+
in: "cookie",
|
|
1397
|
+
name: "nadeshiko.session_token",
|
|
1398
|
+
type: "apiKey"
|
|
1399
|
+
}],
|
|
1288
1400
|
url: "/v1/admin/reports/{id}",
|
|
1289
1401
|
...options,
|
|
1290
1402
|
headers: {
|
|
@@ -1292,52 +1404,53 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
|
1292
1404
|
...options.headers
|
|
1293
1405
|
}
|
|
1294
1406
|
});
|
|
1295
|
-
var
|
|
1296
|
-
security: [{
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
url: "/v1/admin/review/checks",
|
|
1407
|
+
var listAdminMediaAudits = (options) => (options?.client ?? client).get({
|
|
1408
|
+
security: [{
|
|
1409
|
+
in: "cookie",
|
|
1410
|
+
name: "nadeshiko.session_token",
|
|
1411
|
+
type: "apiKey"
|
|
1412
|
+
}],
|
|
1413
|
+
url: "/v1/admin/media/audits",
|
|
1303
1414
|
...options
|
|
1304
1415
|
});
|
|
1305
|
-
var
|
|
1306
|
-
security: [{
|
|
1307
|
-
|
|
1416
|
+
var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
|
|
1417
|
+
security: [{
|
|
1418
|
+
in: "cookie",
|
|
1419
|
+
name: "nadeshiko.session_token",
|
|
1420
|
+
type: "apiKey"
|
|
1421
|
+
}],
|
|
1422
|
+
url: "/v1/admin/media/audits/{name}",
|
|
1308
1423
|
...options,
|
|
1309
1424
|
headers: {
|
|
1310
1425
|
"Content-Type": "application/json",
|
|
1311
1426
|
...options.headers
|
|
1312
1427
|
}
|
|
1313
1428
|
});
|
|
1314
|
-
var
|
|
1315
|
-
security: [{
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
url: "/v1/admin/review/runs/{id}",
|
|
1429
|
+
var runAdminMediaAudit = (options) => (options.client ?? client).post({
|
|
1430
|
+
security: [{
|
|
1431
|
+
in: "cookie",
|
|
1432
|
+
name: "nadeshiko.session_token",
|
|
1433
|
+
type: "apiKey"
|
|
1434
|
+
}],
|
|
1435
|
+
url: "/v1/admin/media/audits/{name}/run",
|
|
1322
1436
|
...options
|
|
1323
1437
|
});
|
|
1324
|
-
var
|
|
1325
|
-
security: [{
|
|
1326
|
-
|
|
1438
|
+
var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
|
|
1439
|
+
security: [{
|
|
1440
|
+
in: "cookie",
|
|
1441
|
+
name: "nadeshiko.session_token",
|
|
1442
|
+
type: "apiKey"
|
|
1443
|
+
}],
|
|
1444
|
+
url: "/v1/admin/media/audits/runs",
|
|
1327
1445
|
...options
|
|
1328
1446
|
});
|
|
1329
|
-
var
|
|
1330
|
-
security: [{
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
}
|
|
1337
|
-
});
|
|
1338
|
-
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1339
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1340
|
-
url: "/v1/admin/review/allowlist/{id}",
|
|
1447
|
+
var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
|
|
1448
|
+
security: [{
|
|
1449
|
+
in: "cookie",
|
|
1450
|
+
name: "nadeshiko.session_token",
|
|
1451
|
+
type: "apiKey"
|
|
1452
|
+
}],
|
|
1453
|
+
url: "/v1/admin/media/audits/runs/{id}",
|
|
1341
1454
|
...options
|
|
1342
1455
|
});
|
|
1343
1456
|
// generated/dev/nadeshiko.gen.ts
|
|
@@ -1353,7 +1466,13 @@ var defaultSessionTokenGetter = () => {
|
|
|
1353
1466
|
return match ? decodeURIComponent(match[1]) : undefined;
|
|
1354
1467
|
};
|
|
1355
1468
|
function createNadeshikoClient(config) {
|
|
1356
|
-
const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl
|
|
1469
|
+
const baseUrl = config.baseUrl === undefined ? environments.PRODUCTION : (config.baseUrl in environments) ? environments[config.baseUrl] : config.baseUrl;
|
|
1470
|
+
const getApiKey = async () => {
|
|
1471
|
+
if (typeof config.apiKey === "function") {
|
|
1472
|
+
return await config.apiKey();
|
|
1473
|
+
}
|
|
1474
|
+
return config.apiKey;
|
|
1475
|
+
};
|
|
1357
1476
|
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1358
1477
|
const clientInstance = createClient(createConfig({
|
|
1359
1478
|
baseUrl,
|
|
@@ -1361,7 +1480,7 @@ function createNadeshikoClient(config) {
|
|
|
1361
1480
|
if (auth.in === "cookie") {
|
|
1362
1481
|
return getSessionToken();
|
|
1363
1482
|
}
|
|
1364
|
-
return
|
|
1483
|
+
return getApiKey();
|
|
1365
1484
|
}
|
|
1366
1485
|
}));
|
|
1367
1486
|
return {
|
|
@@ -1370,43 +1489,25 @@ function createNadeshikoClient(config) {
|
|
|
1370
1489
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1371
1490
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1372
1491
|
listMedia: (options) => listMedia({ ...options, client: clientInstance }),
|
|
1373
|
-
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1374
|
-
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1375
|
-
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1376
|
-
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1377
1492
|
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1378
1493
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1379
1494
|
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1380
1495
|
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1381
1496
|
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1382
1497
|
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1388
|
-
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1389
|
-
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1390
|
-
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1391
|
-
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1392
|
-
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1393
|
-
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1394
|
-
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1395
|
-
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1396
|
-
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1397
|
-
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1398
|
-
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1399
|
-
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1400
|
-
runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
|
|
1401
|
-
listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
|
|
1402
|
-
updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
|
|
1403
|
-
listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
|
|
1404
|
-
getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
|
|
1405
|
-
listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
|
|
1406
|
-
createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1407
|
-
deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1498
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1499
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1500
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1501
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1408
1502
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1409
1503
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1504
|
+
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
1505
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1506
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1507
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1508
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1509
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1510
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1410
1511
|
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1411
1512
|
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1412
1513
|
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
@@ -1416,24 +1517,48 @@ function createNadeshikoClient(config) {
|
|
|
1416
1517
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1417
1518
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1418
1519
|
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1419
|
-
|
|
1420
|
-
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1421
|
-
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1422
|
-
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1423
|
-
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1424
|
-
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1520
|
+
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1425
1521
|
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1426
|
-
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1427
1522
|
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1428
1523
|
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1429
1524
|
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1525
|
+
trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
|
|
1430
1526
|
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1431
1527
|
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1432
1528
|
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1529
|
+
deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
|
|
1530
|
+
deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
|
|
1433
1531
|
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1434
1532
|
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1533
|
+
enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
|
|
1534
|
+
unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
|
|
1535
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1536
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1537
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1538
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1539
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1540
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1541
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1542
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1543
|
+
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1544
|
+
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1435
1545
|
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1436
|
-
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1546
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
|
|
1547
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1548
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1549
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1550
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1551
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1552
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1553
|
+
impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
|
|
1554
|
+
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
|
|
1555
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1556
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1557
|
+
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1558
|
+
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1559
|
+
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1560
|
+
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1561
|
+
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance })
|
|
1437
1562
|
};
|
|
1438
1563
|
}
|
|
1439
1564
|
// generated/dev/internal/media.gen.ts
|
|
@@ -1441,6 +1566,7 @@ var exports_media_gen = {};
|
|
|
1441
1566
|
__export(exports_media_gen, {
|
|
1442
1567
|
updateSeriesMedia: () => updateSeriesMedia,
|
|
1443
1568
|
updateSeries: () => updateSeries,
|
|
1569
|
+
updateSegmentByUuid: () => updateSegmentByUuid,
|
|
1444
1570
|
updateSegment: () => updateSegment,
|
|
1445
1571
|
updateMedia: () => updateMedia,
|
|
1446
1572
|
updateEpisode: () => updateEpisode,
|
|
@@ -1461,44 +1587,81 @@ __export(exports_media_gen, {
|
|
|
1461
1587
|
var exports_user_gen = {};
|
|
1462
1588
|
__export(exports_user_gen, {
|
|
1463
1589
|
updateUserPreferences: () => updateUserPreferences,
|
|
1464
|
-
|
|
1590
|
+
unenrollUserLab: () => unenrollUserLab,
|
|
1591
|
+
trackUserActivity: () => trackUserActivity,
|
|
1465
1592
|
listUserLabs: () => listUserLabs,
|
|
1466
1593
|
listUserActivity: () => listUserActivity,
|
|
1594
|
+
getUserQuota: () => getUserQuota,
|
|
1467
1595
|
getUserPreferences: () => getUserPreferences,
|
|
1468
1596
|
getUserActivityStats: () => getUserActivityStats,
|
|
1469
1597
|
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1470
1598
|
exportUserData: () => exportUserData,
|
|
1599
|
+
enrollUserLab: () => enrollUserLab,
|
|
1600
|
+
deleteUserActivityById: () => deleteUserActivityById,
|
|
1601
|
+
deleteUserActivityByDate: () => deleteUserActivityByDate,
|
|
1471
1602
|
deleteUserActivity: () => deleteUserActivity,
|
|
1472
1603
|
createUserReport: () => createUserReport
|
|
1473
1604
|
});
|
|
1605
|
+
// generated/dev/internal/collections.gen.ts
|
|
1606
|
+
var exports_collections_gen = {};
|
|
1607
|
+
__export(exports_collections_gen, {
|
|
1608
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
1609
|
+
updateCollection: () => updateCollection,
|
|
1610
|
+
searchCollectionSegments: () => searchCollectionSegments,
|
|
1611
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
1612
|
+
listCollections: () => listCollections,
|
|
1613
|
+
getCollectionStats: () => getCollectionStats,
|
|
1614
|
+
getCollection: () => getCollection,
|
|
1615
|
+
deleteCollection: () => deleteCollection,
|
|
1616
|
+
createCollection: () => createCollection,
|
|
1617
|
+
addSegmentToCollection: () => addSegmentToCollection
|
|
1618
|
+
});
|
|
1474
1619
|
// generated/dev/internal/admin.gen.ts
|
|
1475
1620
|
var exports_admin_gen = {};
|
|
1476
1621
|
__export(exports_admin_gen, {
|
|
1622
|
+
updateAdminReport: () => updateAdminReport,
|
|
1623
|
+
updateAdminMediaAudit: () => updateAdminMediaAudit,
|
|
1624
|
+
triggerReindex: () => triggerReindex,
|
|
1625
|
+
runAdminMediaAudit: () => runAdminMediaAudit,
|
|
1626
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
1627
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
1628
|
+
listAdminReports: () => listAdminReports,
|
|
1629
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
1630
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
1631
|
+
listAdminMediaAudits: () => listAdminMediaAudits,
|
|
1632
|
+
listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
|
|
1633
|
+
impersonateAdminUser: () => impersonateAdminUser,
|
|
1634
|
+
getAdminQueue: () => getAdminQueue,
|
|
1635
|
+
getAdminMediaAuditRun: () => getAdminMediaAuditRun,
|
|
1477
1636
|
getAdminHealth: () => getAdminHealth,
|
|
1478
|
-
getAdminDashboard: () => getAdminDashboard
|
|
1637
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
1638
|
+
clearAdminImpersonation: () => clearAdminImpersonation
|
|
1479
1639
|
});
|
|
1480
1640
|
export {
|
|
1481
1641
|
exports_user_gen as user,
|
|
1482
1642
|
updateUserPreferences,
|
|
1483
1643
|
updateSeriesMedia,
|
|
1484
1644
|
updateSeries,
|
|
1645
|
+
updateSegmentByUuid,
|
|
1485
1646
|
updateSegment,
|
|
1486
1647
|
updateMedia,
|
|
1487
1648
|
updateEpisode,
|
|
1488
1649
|
updateCollectionSegment,
|
|
1489
1650
|
updateCollection,
|
|
1490
|
-
updateAdminReviewCheck,
|
|
1491
1651
|
updateAdminReport,
|
|
1652
|
+
updateAdminMediaAudit,
|
|
1653
|
+
unenrollUserLab,
|
|
1492
1654
|
triggerReindex,
|
|
1655
|
+
trackUserActivity,
|
|
1493
1656
|
searchWords,
|
|
1657
|
+
searchCollectionSegments,
|
|
1494
1658
|
search,
|
|
1495
|
-
|
|
1659
|
+
runAdminMediaAudit,
|
|
1496
1660
|
retryAdminQueueFailed,
|
|
1497
1661
|
removeSegmentFromCollection,
|
|
1498
1662
|
removeMediaFromSeries,
|
|
1499
1663
|
purgeAdminQueueFailed,
|
|
1500
1664
|
exports_media_gen as media,
|
|
1501
|
-
listUserReports,
|
|
1502
1665
|
listUserLabs,
|
|
1503
1666
|
listUserActivity,
|
|
1504
1667
|
listSeries,
|
|
@@ -1506,12 +1669,12 @@ export {
|
|
|
1506
1669
|
listMedia,
|
|
1507
1670
|
listEpisodes,
|
|
1508
1671
|
listCollections,
|
|
1509
|
-
listAdminReviewRuns,
|
|
1510
|
-
listAdminReviewChecks,
|
|
1511
|
-
listAdminReviewAllowlist,
|
|
1512
1672
|
listAdminReports,
|
|
1513
1673
|
listAdminQueueStats,
|
|
1514
1674
|
listAdminQueueFailed,
|
|
1675
|
+
listAdminMediaAudits,
|
|
1676
|
+
listAdminMediaAuditRuns,
|
|
1677
|
+
impersonateAdminUser,
|
|
1515
1678
|
getUserQuota,
|
|
1516
1679
|
getUserPreferences,
|
|
1517
1680
|
getUserActivityStats,
|
|
@@ -1524,20 +1687,23 @@ export {
|
|
|
1524
1687
|
getSearchStats,
|
|
1525
1688
|
getMedia,
|
|
1526
1689
|
getEpisode,
|
|
1690
|
+
getCollectionStats,
|
|
1527
1691
|
getCollection,
|
|
1528
1692
|
getCharacter,
|
|
1529
|
-
getAdminReviewRun,
|
|
1530
1693
|
getAdminQueue,
|
|
1694
|
+
getAdminMediaAuditRun,
|
|
1531
1695
|
getAdminHealth,
|
|
1532
1696
|
getAdminDashboard,
|
|
1533
1697
|
exportUserData,
|
|
1698
|
+
enrollUserLab,
|
|
1699
|
+
deleteUserActivityById,
|
|
1700
|
+
deleteUserActivityByDate,
|
|
1534
1701
|
deleteUserActivity,
|
|
1535
1702
|
deleteSeries,
|
|
1536
1703
|
deleteSegment,
|
|
1537
1704
|
deleteMedia,
|
|
1538
1705
|
deleteEpisode,
|
|
1539
1706
|
deleteCollection,
|
|
1540
|
-
deleteAdminReviewAllowlistEntry,
|
|
1541
1707
|
createUserReport,
|
|
1542
1708
|
createSeries,
|
|
1543
1709
|
createSegment,
|
|
@@ -1545,13 +1711,14 @@ export {
|
|
|
1545
1711
|
createMedia,
|
|
1546
1712
|
createEpisode,
|
|
1547
1713
|
createCollection,
|
|
1548
|
-
|
|
1714
|
+
exports_collections_gen as collections,
|
|
1549
1715
|
client,
|
|
1716
|
+
clearAdminImpersonation,
|
|
1550
1717
|
autocompleteMedia,
|
|
1551
1718
|
exports_admin_gen as admin,
|
|
1552
1719
|
addSegmentToCollection,
|
|
1553
1720
|
addMediaToSeries
|
|
1554
1721
|
};
|
|
1555
1722
|
|
|
1556
|
-
//# debugId=
|
|
1723
|
+
//# debugId=0F6D8F5370A3363364756E2164756E21
|
|
1557
1724
|
//# sourceMappingURL=index.js.map
|