@brigadasos/nadeshiko-sdk 1.4.3-dev.e5c01f0 → 1.5.0-dev.220bc0b
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 +528 -191
- 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 +515 -184
- 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 +52 -40
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +237 -135
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1807 -1321
- 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,7 +813,7 @@ 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({
|
|
@@ -852,12 +856,20 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
852
856
|
}
|
|
853
857
|
});
|
|
854
858
|
var listMedia = (options) => (options?.client ?? client).get({
|
|
855
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
859
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
860
|
+
in: "cookie",
|
|
861
|
+
name: "nadeshiko.session_token",
|
|
862
|
+
type: "apiKey"
|
|
863
|
+
}],
|
|
856
864
|
url: "/v1/media",
|
|
857
865
|
...options
|
|
858
866
|
});
|
|
859
867
|
var createMedia = (options) => (options.client ?? client).post({
|
|
860
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
868
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
869
|
+
in: "cookie",
|
|
870
|
+
name: "nadeshiko.session_token",
|
|
871
|
+
type: "apiKey"
|
|
872
|
+
}],
|
|
861
873
|
url: "/v1/media",
|
|
862
874
|
...options,
|
|
863
875
|
headers: {
|
|
@@ -866,195 +878,317 @@ var createMedia = (options) => (options.client ?? client).post({
|
|
|
866
878
|
}
|
|
867
879
|
});
|
|
868
880
|
var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
869
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
881
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
882
|
+
in: "cookie",
|
|
883
|
+
name: "nadeshiko.session_token",
|
|
884
|
+
type: "apiKey"
|
|
885
|
+
}],
|
|
870
886
|
url: "/v1/media/autocomplete",
|
|
871
887
|
...options
|
|
872
888
|
});
|
|
873
|
-
var
|
|
874
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
url: "/v1/media/{id}",
|
|
889
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
890
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
891
|
+
in: "cookie",
|
|
892
|
+
name: "nadeshiko.session_token",
|
|
893
|
+
type: "apiKey"
|
|
894
|
+
}],
|
|
895
|
+
url: "/v1/media/segments/{uuid}",
|
|
881
896
|
...options
|
|
882
897
|
});
|
|
883
|
-
var
|
|
884
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
885
|
-
|
|
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}",
|
|
886
905
|
...options,
|
|
887
906
|
headers: {
|
|
888
907
|
"Content-Type": "application/json",
|
|
889
908
|
...options.headers
|
|
890
909
|
}
|
|
891
910
|
});
|
|
892
|
-
var
|
|
893
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
894
|
-
|
|
911
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
912
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
913
|
+
in: "cookie",
|
|
914
|
+
name: "nadeshiko.session_token",
|
|
915
|
+
type: "apiKey"
|
|
916
|
+
}],
|
|
917
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
895
918
|
...options
|
|
896
919
|
});
|
|
897
|
-
var
|
|
898
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
899
|
-
|
|
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
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
930
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
931
|
+
in: "cookie",
|
|
932
|
+
name: "nadeshiko.session_token",
|
|
933
|
+
type: "apiKey"
|
|
934
|
+
}],
|
|
935
|
+
url: "/v1/media/series",
|
|
936
|
+
...options
|
|
937
|
+
});
|
|
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",
|
|
900
945
|
...options,
|
|
901
946
|
headers: {
|
|
902
947
|
"Content-Type": "application/json",
|
|
903
948
|
...options.headers
|
|
904
949
|
}
|
|
905
950
|
});
|
|
906
|
-
var
|
|
907
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
908
|
-
|
|
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}",
|
|
909
958
|
...options
|
|
910
959
|
});
|
|
911
|
-
var
|
|
912
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
913
|
-
|
|
960
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
961
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
962
|
+
in: "cookie",
|
|
963
|
+
name: "nadeshiko.session_token",
|
|
964
|
+
type: "apiKey"
|
|
965
|
+
}],
|
|
966
|
+
url: "/v1/media/series/{id}",
|
|
914
967
|
...options
|
|
915
968
|
});
|
|
916
|
-
var
|
|
917
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
918
|
-
|
|
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}",
|
|
919
976
|
...options,
|
|
920
977
|
headers: {
|
|
921
978
|
"Content-Type": "application/json",
|
|
922
979
|
...options.headers
|
|
923
980
|
}
|
|
924
981
|
});
|
|
925
|
-
var
|
|
926
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
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",
|
|
933
989
|
...options,
|
|
934
990
|
headers: {
|
|
935
991
|
"Content-Type": "application/json",
|
|
936
992
|
...options.headers
|
|
937
993
|
}
|
|
938
994
|
});
|
|
939
|
-
var
|
|
940
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
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}",
|
|
947
1002
|
...options
|
|
948
1003
|
});
|
|
949
|
-
var
|
|
950
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
951
|
-
|
|
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}",
|
|
952
1011
|
...options,
|
|
953
1012
|
headers: {
|
|
954
1013
|
"Content-Type": "application/json",
|
|
955
1014
|
...options.headers
|
|
956
1015
|
}
|
|
957
1016
|
});
|
|
958
|
-
var
|
|
959
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
960
|
-
|
|
1017
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
1018
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1019
|
+
in: "cookie",
|
|
1020
|
+
name: "nadeshiko.session_token",
|
|
1021
|
+
type: "apiKey"
|
|
1022
|
+
}],
|
|
1023
|
+
url: "/v1/media/characters/{id}",
|
|
961
1024
|
...options
|
|
962
1025
|
});
|
|
963
|
-
var
|
|
964
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
965
|
-
|
|
1026
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
1027
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1028
|
+
in: "cookie",
|
|
1029
|
+
name: "nadeshiko.session_token",
|
|
1030
|
+
type: "apiKey"
|
|
1031
|
+
}],
|
|
1032
|
+
url: "/v1/media/seiyuu/{id}",
|
|
966
1033
|
...options
|
|
967
1034
|
});
|
|
968
|
-
var
|
|
1035
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
969
1036
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
970
1037
|
in: "cookie",
|
|
971
1038
|
name: "nadeshiko.session_token",
|
|
972
1039
|
type: "apiKey"
|
|
973
1040
|
}],
|
|
974
|
-
url: "/v1/media/
|
|
1041
|
+
url: "/v1/media/{id}",
|
|
975
1042
|
...options
|
|
976
1043
|
});
|
|
977
|
-
var
|
|
978
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
979
|
-
|
|
1044
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
1045
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1046
|
+
in: "cookie",
|
|
1047
|
+
name: "nadeshiko.session_token",
|
|
1048
|
+
type: "apiKey"
|
|
1049
|
+
}],
|
|
1050
|
+
url: "/v1/media/{id}",
|
|
1051
|
+
...options
|
|
1052
|
+
});
|
|
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}",
|
|
980
1060
|
...options,
|
|
981
1061
|
headers: {
|
|
982
1062
|
"Content-Type": "application/json",
|
|
983
1063
|
...options.headers
|
|
984
1064
|
}
|
|
985
1065
|
});
|
|
986
|
-
var
|
|
987
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
988
|
-
url: "/v1/media/series/{id}",
|
|
989
|
-
...options
|
|
990
|
-
});
|
|
991
|
-
var getSeries = (options) => (options.client ?? client).get({
|
|
1066
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
992
1067
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
993
1068
|
in: "cookie",
|
|
994
1069
|
name: "nadeshiko.session_token",
|
|
995
1070
|
type: "apiKey"
|
|
996
1071
|
}],
|
|
997
|
-
url: "/v1/media/
|
|
1072
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
998
1073
|
...options
|
|
999
1074
|
});
|
|
1000
|
-
var
|
|
1001
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1002
|
-
|
|
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",
|
|
1003
1082
|
...options,
|
|
1004
1083
|
headers: {
|
|
1005
1084
|
"Content-Type": "application/json",
|
|
1006
1085
|
...options.headers
|
|
1007
1086
|
}
|
|
1008
1087
|
});
|
|
1009
|
-
var
|
|
1010
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1011
|
-
|
|
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
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1098
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1099
|
+
in: "cookie",
|
|
1100
|
+
name: "nadeshiko.session_token",
|
|
1101
|
+
type: "apiKey"
|
|
1102
|
+
}],
|
|
1103
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1104
|
+
...options
|
|
1105
|
+
});
|
|
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}",
|
|
1012
1113
|
...options,
|
|
1013
1114
|
headers: {
|
|
1014
1115
|
"Content-Type": "application/json",
|
|
1015
1116
|
...options.headers
|
|
1016
1117
|
}
|
|
1017
1118
|
});
|
|
1018
|
-
var
|
|
1019
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1020
|
-
|
|
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",
|
|
1021
1126
|
...options
|
|
1022
1127
|
});
|
|
1023
|
-
var
|
|
1024
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1025
|
-
|
|
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",
|
|
1026
1135
|
...options,
|
|
1027
1136
|
headers: {
|
|
1028
1137
|
"Content-Type": "application/json",
|
|
1029
1138
|
...options.headers
|
|
1030
1139
|
}
|
|
1031
1140
|
});
|
|
1032
|
-
var
|
|
1033
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1034
|
-
|
|
1035
|
-
|
|
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
|
+
}
|
|
1036
1153
|
});
|
|
1037
|
-
var
|
|
1038
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1039
|
-
|
|
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}",
|
|
1040
1161
|
...options
|
|
1041
1162
|
});
|
|
1042
|
-
var
|
|
1043
|
-
security: [{
|
|
1163
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1164
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1044
1165
|
in: "cookie",
|
|
1045
1166
|
name: "nadeshiko.session_token",
|
|
1046
1167
|
type: "apiKey"
|
|
1047
|
-
}
|
|
1048
|
-
url: "/v1/
|
|
1168
|
+
}],
|
|
1169
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1049
1170
|
...options
|
|
1050
1171
|
});
|
|
1051
|
-
var
|
|
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({
|
|
1052
1186
|
security: [{
|
|
1053
1187
|
in: "cookie",
|
|
1054
1188
|
name: "nadeshiko.session_token",
|
|
1055
1189
|
type: "apiKey"
|
|
1056
1190
|
}],
|
|
1057
|
-
url: "/v1/user/
|
|
1191
|
+
url: "/v1/user/quota",
|
|
1058
1192
|
...options
|
|
1059
1193
|
});
|
|
1060
1194
|
var createUserReport = (options) => (options.client ?? client).post({
|
|
@@ -1110,6 +1244,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
|
|
|
1110
1244
|
url: "/v1/user/activity",
|
|
1111
1245
|
...options
|
|
1112
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
|
+
});
|
|
1113
1260
|
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1114
1261
|
security: [{
|
|
1115
1262
|
in: "cookie",
|
|
@@ -1128,6 +1275,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
|
1128
1275
|
url: "/v1/user/activity/stats",
|
|
1129
1276
|
...options
|
|
1130
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
|
+
});
|
|
1131
1296
|
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1132
1297
|
security: [{
|
|
1133
1298
|
in: "cookie",
|
|
@@ -1146,6 +1311,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
|
|
|
1146
1311
|
url: "/v1/user/labs",
|
|
1147
1312
|
...options
|
|
1148
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
|
+
});
|
|
1149
1332
|
var listCollections = (options) => (options?.client ?? client).get({
|
|
1150
1333
|
security: [{
|
|
1151
1334
|
in: "cookie",
|
|
@@ -1218,7 +1401,7 @@ var removeSegmentFromCollection = (options) => (options.client ?? client).delete
|
|
|
1218
1401
|
name: "nadeshiko.session_token",
|
|
1219
1402
|
type: "apiKey"
|
|
1220
1403
|
}],
|
|
1221
|
-
url: "/v1/collections/{id}/segments/{
|
|
1404
|
+
url: "/v1/collections/{id}/segments/{segmentId}",
|
|
1222
1405
|
...options
|
|
1223
1406
|
});
|
|
1224
1407
|
var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
@@ -1227,25 +1410,55 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
|
1227
1410
|
name: "nadeshiko.session_token",
|
|
1228
1411
|
type: "apiKey"
|
|
1229
1412
|
}],
|
|
1230
|
-
url: "/v1/collections/{id}/segments/{
|
|
1413
|
+
url: "/v1/collections/{id}/segments/{segmentId}",
|
|
1231
1414
|
...options,
|
|
1232
1415
|
headers: {
|
|
1233
1416
|
"Content-Type": "application/json",
|
|
1234
1417
|
...options.headers
|
|
1235
1418
|
}
|
|
1236
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
|
+
});
|
|
1237
1438
|
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1238
|
-
security: [{
|
|
1439
|
+
security: [{
|
|
1440
|
+
in: "cookie",
|
|
1441
|
+
name: "nadeshiko.session_token",
|
|
1442
|
+
type: "apiKey"
|
|
1443
|
+
}],
|
|
1239
1444
|
url: "/v1/admin/dashboard",
|
|
1240
1445
|
...options
|
|
1241
1446
|
});
|
|
1242
1447
|
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1243
|
-
security: [{
|
|
1448
|
+
security: [{
|
|
1449
|
+
in: "cookie",
|
|
1450
|
+
name: "nadeshiko.session_token",
|
|
1451
|
+
type: "apiKey"
|
|
1452
|
+
}],
|
|
1244
1453
|
url: "/v1/admin/health",
|
|
1245
1454
|
...options
|
|
1246
1455
|
});
|
|
1247
1456
|
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1248
|
-
security: [{
|
|
1457
|
+
security: [{
|
|
1458
|
+
in: "cookie",
|
|
1459
|
+
name: "nadeshiko.session_token",
|
|
1460
|
+
type: "apiKey"
|
|
1461
|
+
}],
|
|
1249
1462
|
url: "/v1/admin/reindex",
|
|
1250
1463
|
...options,
|
|
1251
1464
|
headers: {
|
|
@@ -1254,37 +1467,74 @@ var triggerReindex = (options) => (options?.client ?? client).post({
|
|
|
1254
1467
|
}
|
|
1255
1468
|
});
|
|
1256
1469
|
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1257
|
-
security: [{
|
|
1470
|
+
security: [{
|
|
1471
|
+
in: "cookie",
|
|
1472
|
+
name: "nadeshiko.session_token",
|
|
1473
|
+
type: "apiKey"
|
|
1474
|
+
}],
|
|
1258
1475
|
url: "/v1/admin/queues/stats",
|
|
1259
1476
|
...options
|
|
1260
1477
|
});
|
|
1261
1478
|
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1262
|
-
security: [{
|
|
1479
|
+
security: [{
|
|
1480
|
+
in: "cookie",
|
|
1481
|
+
name: "nadeshiko.session_token",
|
|
1482
|
+
type: "apiKey"
|
|
1483
|
+
}],
|
|
1263
1484
|
url: "/v1/admin/queues/{queueName}",
|
|
1264
1485
|
...options
|
|
1265
1486
|
});
|
|
1266
1487
|
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1267
|
-
security: [{
|
|
1488
|
+
security: [{
|
|
1489
|
+
in: "cookie",
|
|
1490
|
+
name: "nadeshiko.session_token",
|
|
1491
|
+
type: "apiKey"
|
|
1492
|
+
}],
|
|
1268
1493
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1269
1494
|
...options
|
|
1270
1495
|
});
|
|
1271
1496
|
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1272
|
-
security: [{
|
|
1497
|
+
security: [{
|
|
1498
|
+
in: "cookie",
|
|
1499
|
+
name: "nadeshiko.session_token",
|
|
1500
|
+
type: "apiKey"
|
|
1501
|
+
}],
|
|
1273
1502
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1274
1503
|
...options
|
|
1275
1504
|
});
|
|
1276
1505
|
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1277
|
-
security: [{
|
|
1506
|
+
security: [{
|
|
1507
|
+
in: "cookie",
|
|
1508
|
+
name: "nadeshiko.session_token",
|
|
1509
|
+
type: "apiKey"
|
|
1510
|
+
}],
|
|
1278
1511
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1279
1512
|
...options
|
|
1280
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
|
+
});
|
|
1281
1523
|
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1282
|
-
security: [{
|
|
1524
|
+
security: [{
|
|
1525
|
+
in: "cookie",
|
|
1526
|
+
name: "nadeshiko.session_token",
|
|
1527
|
+
type: "apiKey"
|
|
1528
|
+
}],
|
|
1283
1529
|
url: "/v1/admin/reports",
|
|
1284
1530
|
...options
|
|
1285
1531
|
});
|
|
1286
1532
|
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1287
|
-
security: [{
|
|
1533
|
+
security: [{
|
|
1534
|
+
in: "cookie",
|
|
1535
|
+
name: "nadeshiko.session_token",
|
|
1536
|
+
type: "apiKey"
|
|
1537
|
+
}],
|
|
1288
1538
|
url: "/v1/admin/reports/{id}",
|
|
1289
1539
|
...options,
|
|
1290
1540
|
headers: {
|
|
@@ -1292,54 +1542,69 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
|
1292
1542
|
...options.headers
|
|
1293
1543
|
}
|
|
1294
1544
|
});
|
|
1295
|
-
var
|
|
1296
|
-
security: [{
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
url: "/v1/admin/review/checks",
|
|
1545
|
+
var listAdminMediaAudits = (options) => (options?.client ?? client).get({
|
|
1546
|
+
security: [{
|
|
1547
|
+
in: "cookie",
|
|
1548
|
+
name: "nadeshiko.session_token",
|
|
1549
|
+
type: "apiKey"
|
|
1550
|
+
}],
|
|
1551
|
+
url: "/v1/admin/media/audits",
|
|
1303
1552
|
...options
|
|
1304
1553
|
});
|
|
1305
|
-
var
|
|
1306
|
-
security: [{
|
|
1307
|
-
|
|
1554
|
+
var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
|
|
1555
|
+
security: [{
|
|
1556
|
+
in: "cookie",
|
|
1557
|
+
name: "nadeshiko.session_token",
|
|
1558
|
+
type: "apiKey"
|
|
1559
|
+
}],
|
|
1560
|
+
url: "/v1/admin/media/audits/{name}",
|
|
1308
1561
|
...options,
|
|
1309
1562
|
headers: {
|
|
1310
1563
|
"Content-Type": "application/json",
|
|
1311
1564
|
...options.headers
|
|
1312
1565
|
}
|
|
1313
1566
|
});
|
|
1314
|
-
var
|
|
1315
|
-
security: [{
|
|
1316
|
-
|
|
1567
|
+
var runAdminMediaAudit = (options) => (options.client ?? client).post({
|
|
1568
|
+
security: [{
|
|
1569
|
+
in: "cookie",
|
|
1570
|
+
name: "nadeshiko.session_token",
|
|
1571
|
+
type: "apiKey"
|
|
1572
|
+
}],
|
|
1573
|
+
url: "/v1/admin/media/audits/{name}/run",
|
|
1317
1574
|
...options
|
|
1318
1575
|
});
|
|
1319
|
-
var
|
|
1320
|
-
security: [{
|
|
1321
|
-
|
|
1576
|
+
var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
|
|
1577
|
+
security: [{
|
|
1578
|
+
in: "cookie",
|
|
1579
|
+
name: "nadeshiko.session_token",
|
|
1580
|
+
type: "apiKey"
|
|
1581
|
+
}],
|
|
1582
|
+
url: "/v1/admin/media/audits/runs",
|
|
1322
1583
|
...options
|
|
1323
1584
|
});
|
|
1324
|
-
var
|
|
1325
|
-
security: [{
|
|
1326
|
-
|
|
1585
|
+
var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
|
|
1586
|
+
security: [{
|
|
1587
|
+
in: "cookie",
|
|
1588
|
+
name: "nadeshiko.session_token",
|
|
1589
|
+
type: "apiKey"
|
|
1590
|
+
}],
|
|
1591
|
+
url: "/v1/admin/media/audits/runs/{id}",
|
|
1327
1592
|
...options
|
|
1328
1593
|
});
|
|
1329
|
-
var
|
|
1330
|
-
|
|
1331
|
-
|
|
1594
|
+
var getAnnouncement = (options) => (options?.client ?? client).get({ url: "/v1/admin/announcement", ...options });
|
|
1595
|
+
var updateAnnouncement = (options) => (options.client ?? client).put({
|
|
1596
|
+
security: [{
|
|
1597
|
+
in: "cookie",
|
|
1598
|
+
name: "nadeshiko.session_token",
|
|
1599
|
+
type: "apiKey"
|
|
1600
|
+
}],
|
|
1601
|
+
url: "/v1/admin/announcement",
|
|
1332
1602
|
...options,
|
|
1333
1603
|
headers: {
|
|
1334
1604
|
"Content-Type": "application/json",
|
|
1335
1605
|
...options.headers
|
|
1336
1606
|
}
|
|
1337
1607
|
});
|
|
1338
|
-
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1339
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1340
|
-
url: "/v1/admin/review/allowlist/{id}",
|
|
1341
|
-
...options
|
|
1342
|
-
});
|
|
1343
1608
|
// generated/dev/nadeshiko.gen.ts
|
|
1344
1609
|
var environments = {
|
|
1345
1610
|
LOCAL: "http://localhost:5000/api",
|
|
@@ -1353,7 +1618,13 @@ var defaultSessionTokenGetter = () => {
|
|
|
1353
1618
|
return match ? decodeURIComponent(match[1]) : undefined;
|
|
1354
1619
|
};
|
|
1355
1620
|
function createNadeshikoClient(config) {
|
|
1356
|
-
const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl
|
|
1621
|
+
const baseUrl = config.baseUrl === undefined ? environments.PRODUCTION : (config.baseUrl in environments) ? environments[config.baseUrl] : config.baseUrl;
|
|
1622
|
+
const getApiKey = async () => {
|
|
1623
|
+
if (typeof config.apiKey === "function") {
|
|
1624
|
+
return await config.apiKey();
|
|
1625
|
+
}
|
|
1626
|
+
return config.apiKey;
|
|
1627
|
+
};
|
|
1357
1628
|
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1358
1629
|
const clientInstance = createClient(createConfig({
|
|
1359
1630
|
baseUrl,
|
|
@@ -1361,7 +1632,7 @@ function createNadeshikoClient(config) {
|
|
|
1361
1632
|
if (auth.in === "cookie") {
|
|
1362
1633
|
return getSessionToken();
|
|
1363
1634
|
}
|
|
1364
|
-
return
|
|
1635
|
+
return getApiKey();
|
|
1365
1636
|
}
|
|
1366
1637
|
}));
|
|
1367
1638
|
return {
|
|
@@ -1370,43 +1641,26 @@ function createNadeshikoClient(config) {
|
|
|
1370
1641
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1371
1642
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1372
1643
|
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
1644
|
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1378
1645
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1379
1646
|
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1380
1647
|
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1381
1648
|
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1382
1649
|
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 }),
|
|
1650
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1651
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1652
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1653
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1408
1654
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1409
1655
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1656
|
+
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
1657
|
+
listSegmentRevisions: (options) => listSegmentRevisions({ ...options, client: clientInstance }),
|
|
1658
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1659
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1660
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1661
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1662
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1663
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1410
1664
|
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1411
1665
|
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1412
1666
|
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
@@ -1414,26 +1668,53 @@ function createNadeshikoClient(config) {
|
|
|
1414
1668
|
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1415
1669
|
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1416
1670
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1671
|
+
createSegmentsBatch: (options) => createSegmentsBatch({ ...options, client: clientInstance }),
|
|
1417
1672
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1418
1673
|
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 }),
|
|
1674
|
+
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1425
1675
|
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1426
|
-
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1427
1676
|
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1428
1677
|
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1429
1678
|
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1679
|
+
trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
|
|
1430
1680
|
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1431
1681
|
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1432
1682
|
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1683
|
+
deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
|
|
1684
|
+
deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
|
|
1433
1685
|
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1434
1686
|
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1687
|
+
enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
|
|
1688
|
+
unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
|
|
1689
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1690
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1691
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1692
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1693
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1694
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1695
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1696
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1697
|
+
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1698
|
+
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1435
1699
|
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1436
|
-
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1700
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
|
|
1701
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1702
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1703
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1704
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1705
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1706
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1707
|
+
impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
|
|
1708
|
+
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
|
|
1709
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1710
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1711
|
+
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1712
|
+
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1713
|
+
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1714
|
+
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1715
|
+
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance }),
|
|
1716
|
+
getAnnouncement: (options) => getAnnouncement({ ...options, client: clientInstance }),
|
|
1717
|
+
updateAnnouncement: (options) => updateAnnouncement({ ...options, client: clientInstance })
|
|
1437
1718
|
};
|
|
1438
1719
|
}
|
|
1439
1720
|
// generated/dev/internal/media.gen.ts
|
|
@@ -1441,16 +1722,19 @@ var exports_media_gen = {};
|
|
|
1441
1722
|
__export(exports_media_gen, {
|
|
1442
1723
|
updateSeriesMedia: () => updateSeriesMedia,
|
|
1443
1724
|
updateSeries: () => updateSeries,
|
|
1725
|
+
updateSegmentByUuid: () => updateSegmentByUuid,
|
|
1444
1726
|
updateSegment: () => updateSegment,
|
|
1445
1727
|
updateMedia: () => updateMedia,
|
|
1446
1728
|
updateEpisode: () => updateEpisode,
|
|
1447
1729
|
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
1448
1730
|
listSegments: () => listSegments,
|
|
1731
|
+
listSegmentRevisions: () => listSegmentRevisions,
|
|
1449
1732
|
deleteSeries: () => deleteSeries,
|
|
1450
1733
|
deleteSegment: () => deleteSegment,
|
|
1451
1734
|
deleteMedia: () => deleteMedia,
|
|
1452
1735
|
deleteEpisode: () => deleteEpisode,
|
|
1453
1736
|
createSeries: () => createSeries,
|
|
1737
|
+
createSegmentsBatch: () => createSegmentsBatch,
|
|
1454
1738
|
createSegment: () => createSegment,
|
|
1455
1739
|
createMedia: () => createMedia,
|
|
1456
1740
|
createEpisode: () => createEpisode,
|
|
@@ -1461,57 +1745,98 @@ __export(exports_media_gen, {
|
|
|
1461
1745
|
var exports_user_gen = {};
|
|
1462
1746
|
__export(exports_user_gen, {
|
|
1463
1747
|
updateUserPreferences: () => updateUserPreferences,
|
|
1464
|
-
|
|
1748
|
+
unenrollUserLab: () => unenrollUserLab,
|
|
1749
|
+
trackUserActivity: () => trackUserActivity,
|
|
1465
1750
|
listUserLabs: () => listUserLabs,
|
|
1466
1751
|
listUserActivity: () => listUserActivity,
|
|
1752
|
+
getUserQuota: () => getUserQuota,
|
|
1467
1753
|
getUserPreferences: () => getUserPreferences,
|
|
1468
1754
|
getUserActivityStats: () => getUserActivityStats,
|
|
1469
1755
|
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1470
1756
|
exportUserData: () => exportUserData,
|
|
1757
|
+
enrollUserLab: () => enrollUserLab,
|
|
1758
|
+
deleteUserActivityById: () => deleteUserActivityById,
|
|
1759
|
+
deleteUserActivityByDate: () => deleteUserActivityByDate,
|
|
1471
1760
|
deleteUserActivity: () => deleteUserActivity,
|
|
1472
1761
|
createUserReport: () => createUserReport
|
|
1473
1762
|
});
|
|
1763
|
+
// generated/dev/internal/collections.gen.ts
|
|
1764
|
+
var exports_collections_gen = {};
|
|
1765
|
+
__export(exports_collections_gen, {
|
|
1766
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
1767
|
+
updateCollection: () => updateCollection,
|
|
1768
|
+
searchCollectionSegments: () => searchCollectionSegments,
|
|
1769
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
1770
|
+
listCollections: () => listCollections,
|
|
1771
|
+
getCollectionStats: () => getCollectionStats,
|
|
1772
|
+
getCollection: () => getCollection,
|
|
1773
|
+
deleteCollection: () => deleteCollection,
|
|
1774
|
+
createCollection: () => createCollection,
|
|
1775
|
+
addSegmentToCollection: () => addSegmentToCollection
|
|
1776
|
+
});
|
|
1474
1777
|
// generated/dev/internal/admin.gen.ts
|
|
1475
1778
|
var exports_admin_gen = {};
|
|
1476
1779
|
__export(exports_admin_gen, {
|
|
1780
|
+
updateAnnouncement: () => updateAnnouncement,
|
|
1781
|
+
updateAdminReport: () => updateAdminReport,
|
|
1782
|
+
updateAdminMediaAudit: () => updateAdminMediaAudit,
|
|
1783
|
+
triggerReindex: () => triggerReindex,
|
|
1784
|
+
runAdminMediaAudit: () => runAdminMediaAudit,
|
|
1785
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
1786
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
1787
|
+
listAdminReports: () => listAdminReports,
|
|
1788
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
1789
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
1790
|
+
listAdminMediaAudits: () => listAdminMediaAudits,
|
|
1791
|
+
listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
|
|
1792
|
+
impersonateAdminUser: () => impersonateAdminUser,
|
|
1793
|
+
getAnnouncement: () => getAnnouncement,
|
|
1794
|
+
getAdminQueue: () => getAdminQueue,
|
|
1795
|
+
getAdminMediaAuditRun: () => getAdminMediaAuditRun,
|
|
1477
1796
|
getAdminHealth: () => getAdminHealth,
|
|
1478
|
-
getAdminDashboard: () => getAdminDashboard
|
|
1797
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
1798
|
+
clearAdminImpersonation: () => clearAdminImpersonation
|
|
1479
1799
|
});
|
|
1480
1800
|
export {
|
|
1481
1801
|
exports_user_gen as user,
|
|
1482
1802
|
updateUserPreferences,
|
|
1483
1803
|
updateSeriesMedia,
|
|
1484
1804
|
updateSeries,
|
|
1805
|
+
updateSegmentByUuid,
|
|
1485
1806
|
updateSegment,
|
|
1486
1807
|
updateMedia,
|
|
1487
1808
|
updateEpisode,
|
|
1488
1809
|
updateCollectionSegment,
|
|
1489
1810
|
updateCollection,
|
|
1490
|
-
|
|
1811
|
+
updateAnnouncement,
|
|
1491
1812
|
updateAdminReport,
|
|
1813
|
+
updateAdminMediaAudit,
|
|
1814
|
+
unenrollUserLab,
|
|
1492
1815
|
triggerReindex,
|
|
1816
|
+
trackUserActivity,
|
|
1493
1817
|
searchWords,
|
|
1818
|
+
searchCollectionSegments,
|
|
1494
1819
|
search,
|
|
1495
|
-
|
|
1820
|
+
runAdminMediaAudit,
|
|
1496
1821
|
retryAdminQueueFailed,
|
|
1497
1822
|
removeSegmentFromCollection,
|
|
1498
1823
|
removeMediaFromSeries,
|
|
1499
1824
|
purgeAdminQueueFailed,
|
|
1500
1825
|
exports_media_gen as media,
|
|
1501
|
-
listUserReports,
|
|
1502
1826
|
listUserLabs,
|
|
1503
1827
|
listUserActivity,
|
|
1504
1828
|
listSeries,
|
|
1505
1829
|
listSegments,
|
|
1830
|
+
listSegmentRevisions,
|
|
1506
1831
|
listMedia,
|
|
1507
1832
|
listEpisodes,
|
|
1508
1833
|
listCollections,
|
|
1509
|
-
listAdminReviewRuns,
|
|
1510
|
-
listAdminReviewChecks,
|
|
1511
|
-
listAdminReviewAllowlist,
|
|
1512
1834
|
listAdminReports,
|
|
1513
1835
|
listAdminQueueStats,
|
|
1514
1836
|
listAdminQueueFailed,
|
|
1837
|
+
listAdminMediaAudits,
|
|
1838
|
+
listAdminMediaAuditRuns,
|
|
1839
|
+
impersonateAdminUser,
|
|
1515
1840
|
getUserQuota,
|
|
1516
1841
|
getUserPreferences,
|
|
1517
1842
|
getUserActivityStats,
|
|
@@ -1524,34 +1849,40 @@ export {
|
|
|
1524
1849
|
getSearchStats,
|
|
1525
1850
|
getMedia,
|
|
1526
1851
|
getEpisode,
|
|
1852
|
+
getCollectionStats,
|
|
1527
1853
|
getCollection,
|
|
1528
1854
|
getCharacter,
|
|
1529
|
-
|
|
1855
|
+
getAnnouncement,
|
|
1530
1856
|
getAdminQueue,
|
|
1857
|
+
getAdminMediaAuditRun,
|
|
1531
1858
|
getAdminHealth,
|
|
1532
1859
|
getAdminDashboard,
|
|
1533
1860
|
exportUserData,
|
|
1861
|
+
enrollUserLab,
|
|
1862
|
+
deleteUserActivityById,
|
|
1863
|
+
deleteUserActivityByDate,
|
|
1534
1864
|
deleteUserActivity,
|
|
1535
1865
|
deleteSeries,
|
|
1536
1866
|
deleteSegment,
|
|
1537
1867
|
deleteMedia,
|
|
1538
1868
|
deleteEpisode,
|
|
1539
1869
|
deleteCollection,
|
|
1540
|
-
deleteAdminReviewAllowlistEntry,
|
|
1541
1870
|
createUserReport,
|
|
1542
1871
|
createSeries,
|
|
1872
|
+
createSegmentsBatch,
|
|
1543
1873
|
createSegment,
|
|
1544
1874
|
createNadeshikoClient,
|
|
1545
1875
|
createMedia,
|
|
1546
1876
|
createEpisode,
|
|
1547
1877
|
createCollection,
|
|
1548
|
-
|
|
1878
|
+
exports_collections_gen as collections,
|
|
1549
1879
|
client,
|
|
1880
|
+
clearAdminImpersonation,
|
|
1550
1881
|
autocompleteMedia,
|
|
1551
1882
|
exports_admin_gen as admin,
|
|
1552
1883
|
addSegmentToCollection,
|
|
1553
1884
|
addMediaToSeries
|
|
1554
1885
|
};
|
|
1555
1886
|
|
|
1556
|
-
//# debugId=
|
|
1887
|
+
//# debugId=6099CEB4339B310F64756E2164756E21
|
|
1557
1888
|
//# sourceMappingURL=index.js.map
|