@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.cjs
CHANGED
|
@@ -2,27 +2,37 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
|
|
5
|
+
function __accessProp(key) {
|
|
6
|
+
return this[key];
|
|
7
|
+
}
|
|
6
8
|
var __toCommonJS = (from) => {
|
|
7
|
-
var entry = __moduleCache.get(from), desc;
|
|
9
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
8
10
|
if (entry)
|
|
9
11
|
return entry;
|
|
10
12
|
entry = __defProp({}, "__esModule", { value: true });
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (var key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(entry, key))
|
|
16
|
+
__defProp(entry, key, {
|
|
17
|
+
get: __accessProp.bind(from, key),
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
16
21
|
__moduleCache.set(from, entry);
|
|
17
22
|
return entry;
|
|
18
23
|
};
|
|
24
|
+
var __moduleCache;
|
|
25
|
+
var __returnValue = (v) => v;
|
|
26
|
+
function __exportSetter(name, newValue) {
|
|
27
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
28
|
+
}
|
|
19
29
|
var __export = (target, all) => {
|
|
20
30
|
for (var name in all)
|
|
21
31
|
__defProp(target, name, {
|
|
22
32
|
get: all[name],
|
|
23
33
|
enumerable: true,
|
|
24
34
|
configurable: true,
|
|
25
|
-
set: (
|
|
35
|
+
set: __exportSetter.bind(all, name)
|
|
26
36
|
});
|
|
27
37
|
};
|
|
28
38
|
|
|
@@ -33,23 +43,26 @@ __export(exports_dev, {
|
|
|
33
43
|
updateUserPreferences: () => updateUserPreferences,
|
|
34
44
|
updateSeriesMedia: () => updateSeriesMedia,
|
|
35
45
|
updateSeries: () => updateSeries,
|
|
46
|
+
updateSegmentByUuid: () => updateSegmentByUuid,
|
|
36
47
|
updateSegment: () => updateSegment,
|
|
37
48
|
updateMedia: () => updateMedia,
|
|
38
49
|
updateEpisode: () => updateEpisode,
|
|
39
50
|
updateCollectionSegment: () => updateCollectionSegment,
|
|
40
51
|
updateCollection: () => updateCollection,
|
|
41
|
-
updateAdminReviewCheck: () => updateAdminReviewCheck,
|
|
42
52
|
updateAdminReport: () => updateAdminReport,
|
|
53
|
+
updateAdminMediaAudit: () => updateAdminMediaAudit,
|
|
54
|
+
unenrollUserLab: () => unenrollUserLab,
|
|
43
55
|
triggerReindex: () => triggerReindex,
|
|
56
|
+
trackUserActivity: () => trackUserActivity,
|
|
44
57
|
searchWords: () => searchWords,
|
|
58
|
+
searchCollectionSegments: () => searchCollectionSegments,
|
|
45
59
|
search: () => search,
|
|
46
|
-
|
|
60
|
+
runAdminMediaAudit: () => runAdminMediaAudit,
|
|
47
61
|
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
48
62
|
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
49
63
|
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
50
64
|
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
51
65
|
media: () => exports_media_gen,
|
|
52
|
-
listUserReports: () => listUserReports,
|
|
53
66
|
listUserLabs: () => listUserLabs,
|
|
54
67
|
listUserActivity: () => listUserActivity,
|
|
55
68
|
listSeries: () => listSeries,
|
|
@@ -57,12 +70,12 @@ __export(exports_dev, {
|
|
|
57
70
|
listMedia: () => listMedia,
|
|
58
71
|
listEpisodes: () => listEpisodes,
|
|
59
72
|
listCollections: () => listCollections,
|
|
60
|
-
listAdminReviewRuns: () => listAdminReviewRuns,
|
|
61
|
-
listAdminReviewChecks: () => listAdminReviewChecks,
|
|
62
|
-
listAdminReviewAllowlist: () => listAdminReviewAllowlist,
|
|
63
73
|
listAdminReports: () => listAdminReports,
|
|
64
74
|
listAdminQueueStats: () => listAdminQueueStats,
|
|
65
75
|
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
76
|
+
listAdminMediaAudits: () => listAdminMediaAudits,
|
|
77
|
+
listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
|
|
78
|
+
impersonateAdminUser: () => impersonateAdminUser,
|
|
66
79
|
getUserQuota: () => getUserQuota,
|
|
67
80
|
getUserPreferences: () => getUserPreferences,
|
|
68
81
|
getUserActivityStats: () => getUserActivityStats,
|
|
@@ -75,20 +88,23 @@ __export(exports_dev, {
|
|
|
75
88
|
getSearchStats: () => getSearchStats,
|
|
76
89
|
getMedia: () => getMedia,
|
|
77
90
|
getEpisode: () => getEpisode,
|
|
91
|
+
getCollectionStats: () => getCollectionStats,
|
|
78
92
|
getCollection: () => getCollection,
|
|
79
93
|
getCharacter: () => getCharacter,
|
|
80
|
-
getAdminReviewRun: () => getAdminReviewRun,
|
|
81
94
|
getAdminQueue: () => getAdminQueue,
|
|
95
|
+
getAdminMediaAuditRun: () => getAdminMediaAuditRun,
|
|
82
96
|
getAdminHealth: () => getAdminHealth,
|
|
83
97
|
getAdminDashboard: () => getAdminDashboard,
|
|
84
98
|
exportUserData: () => exportUserData,
|
|
99
|
+
enrollUserLab: () => enrollUserLab,
|
|
100
|
+
deleteUserActivityById: () => deleteUserActivityById,
|
|
101
|
+
deleteUserActivityByDate: () => deleteUserActivityByDate,
|
|
85
102
|
deleteUserActivity: () => deleteUserActivity,
|
|
86
103
|
deleteSeries: () => deleteSeries,
|
|
87
104
|
deleteSegment: () => deleteSegment,
|
|
88
105
|
deleteMedia: () => deleteMedia,
|
|
89
106
|
deleteEpisode: () => deleteEpisode,
|
|
90
107
|
deleteCollection: () => deleteCollection,
|
|
91
|
-
deleteAdminReviewAllowlistEntry: () => deleteAdminReviewAllowlistEntry,
|
|
92
108
|
createUserReport: () => createUserReport,
|
|
93
109
|
createSeries: () => createSeries,
|
|
94
110
|
createSegment: () => createSegment,
|
|
@@ -96,8 +112,9 @@ __export(exports_dev, {
|
|
|
96
112
|
createMedia: () => createMedia,
|
|
97
113
|
createEpisode: () => createEpisode,
|
|
98
114
|
createCollection: () => createCollection,
|
|
99
|
-
|
|
115
|
+
collections: () => exports_collections_gen,
|
|
100
116
|
client: () => client,
|
|
117
|
+
clearAdminImpersonation: () => clearAdminImpersonation,
|
|
101
118
|
autocompleteMedia: () => autocompleteMedia,
|
|
102
119
|
admin: () => exports_admin_gen,
|
|
103
120
|
addSegmentToCollection: () => addSegmentToCollection,
|
|
@@ -905,15 +922,11 @@ var createClient = (config = {}) => {
|
|
|
905
922
|
};
|
|
906
923
|
};
|
|
907
924
|
// generated/dev/client.gen.ts
|
|
908
|
-
var client = createClient(createConfig({ baseUrl: "
|
|
925
|
+
var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }));
|
|
909
926
|
|
|
910
927
|
// generated/dev/sdk.gen.ts
|
|
911
928
|
var search = (options) => (options?.client ?? client).post({
|
|
912
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
913
|
-
in: "cookie",
|
|
914
|
-
name: "nadeshiko.session_token",
|
|
915
|
-
type: "apiKey"
|
|
916
|
-
}],
|
|
929
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
917
930
|
url: "/v1/search",
|
|
918
931
|
...options,
|
|
919
932
|
headers: {
|
|
@@ -922,11 +935,7 @@ var search = (options) => (options?.client ?? client).post({
|
|
|
922
935
|
}
|
|
923
936
|
});
|
|
924
937
|
var getSearchStats = (options) => (options?.client ?? client).post({
|
|
925
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
926
|
-
in: "cookie",
|
|
927
|
-
name: "nadeshiko.session_token",
|
|
928
|
-
type: "apiKey"
|
|
929
|
-
}],
|
|
938
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
930
939
|
url: "/v1/search/stats",
|
|
931
940
|
...options,
|
|
932
941
|
headers: {
|
|
@@ -935,11 +944,7 @@ var getSearchStats = (options) => (options?.client ?? client).post({
|
|
|
935
944
|
}
|
|
936
945
|
});
|
|
937
946
|
var searchWords = (options) => (options.client ?? client).post({
|
|
938
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
939
|
-
in: "cookie",
|
|
940
|
-
name: "nadeshiko.session_token",
|
|
941
|
-
type: "apiKey"
|
|
942
|
-
}],
|
|
947
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
943
948
|
url: "/v1/search/words",
|
|
944
949
|
...options,
|
|
945
950
|
headers: {
|
|
@@ -966,191 +971,195 @@ var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
|
966
971
|
url: "/v1/media/autocomplete",
|
|
967
972
|
...options
|
|
968
973
|
});
|
|
969
|
-
var
|
|
970
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
url: "/v1/media/{id}",
|
|
974
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
975
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
976
|
+
in: "cookie",
|
|
977
|
+
name: "nadeshiko.session_token",
|
|
978
|
+
type: "apiKey"
|
|
979
|
+
}],
|
|
980
|
+
url: "/v1/media/segments/{uuid}",
|
|
977
981
|
...options
|
|
978
982
|
});
|
|
979
|
-
var
|
|
980
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
981
|
-
|
|
983
|
+
var updateSegmentByUuid = (options) => (options.client ?? client).patch({
|
|
984
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
985
|
+
in: "cookie",
|
|
986
|
+
name: "nadeshiko.session_token",
|
|
987
|
+
type: "apiKey"
|
|
988
|
+
}],
|
|
989
|
+
url: "/v1/media/segments/{uuid}",
|
|
982
990
|
...options,
|
|
983
991
|
headers: {
|
|
984
992
|
"Content-Type": "application/json",
|
|
985
993
|
...options.headers
|
|
986
994
|
}
|
|
987
995
|
});
|
|
988
|
-
var
|
|
996
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
997
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
998
|
+
in: "cookie",
|
|
999
|
+
name: "nadeshiko.session_token",
|
|
1000
|
+
type: "apiKey"
|
|
1001
|
+
}],
|
|
1002
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
1003
|
+
...options
|
|
1004
|
+
});
|
|
1005
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
989
1006
|
security: [{ scheme: "bearer", type: "http" }],
|
|
990
|
-
url: "/v1/media/
|
|
1007
|
+
url: "/v1/media/series",
|
|
991
1008
|
...options
|
|
992
1009
|
});
|
|
993
|
-
var
|
|
1010
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
994
1011
|
security: [{ scheme: "bearer", type: "http" }],
|
|
995
|
-
url: "/v1/media/
|
|
1012
|
+
url: "/v1/media/series",
|
|
996
1013
|
...options,
|
|
997
1014
|
headers: {
|
|
998
1015
|
"Content-Type": "application/json",
|
|
999
1016
|
...options.headers
|
|
1000
1017
|
}
|
|
1001
1018
|
});
|
|
1002
|
-
var
|
|
1019
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
1003
1020
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1004
|
-
url: "/v1/media/
|
|
1021
|
+
url: "/v1/media/series/{id}",
|
|
1005
1022
|
...options
|
|
1006
1023
|
});
|
|
1007
|
-
var
|
|
1024
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
1008
1025
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1009
|
-
url: "/v1/media/
|
|
1026
|
+
url: "/v1/media/series/{id}",
|
|
1010
1027
|
...options
|
|
1011
1028
|
});
|
|
1012
|
-
var
|
|
1029
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
1013
1030
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1014
|
-
url: "/v1/media/
|
|
1031
|
+
url: "/v1/media/series/{id}",
|
|
1015
1032
|
...options,
|
|
1016
1033
|
headers: {
|
|
1017
1034
|
"Content-Type": "application/json",
|
|
1018
1035
|
...options.headers
|
|
1019
1036
|
}
|
|
1020
1037
|
});
|
|
1021
|
-
var
|
|
1022
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1023
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1024
|
-
...options
|
|
1025
|
-
});
|
|
1026
|
-
var createSegment = (options) => (options.client ?? client).post({
|
|
1038
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
1027
1039
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1028
|
-
url: "/v1/media/
|
|
1040
|
+
url: "/v1/media/series/{id}/media",
|
|
1029
1041
|
...options,
|
|
1030
1042
|
headers: {
|
|
1031
1043
|
"Content-Type": "application/json",
|
|
1032
1044
|
...options.headers
|
|
1033
1045
|
}
|
|
1034
1046
|
});
|
|
1035
|
-
var
|
|
1036
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1037
|
-
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1038
|
-
...options
|
|
1039
|
-
});
|
|
1040
|
-
var getSegment = (options) => (options.client ?? client).get({
|
|
1047
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
1041
1048
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1042
|
-
url: "/v1/media/
|
|
1049
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1043
1050
|
...options
|
|
1044
1051
|
});
|
|
1045
|
-
var
|
|
1052
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
1046
1053
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1047
|
-
url: "/v1/media/
|
|
1054
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1048
1055
|
...options,
|
|
1049
1056
|
headers: {
|
|
1050
1057
|
"Content-Type": "application/json",
|
|
1051
1058
|
...options.headers
|
|
1052
1059
|
}
|
|
1053
1060
|
});
|
|
1054
|
-
var
|
|
1061
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
1055
1062
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1056
|
-
url: "/v1/media/
|
|
1063
|
+
url: "/v1/media/characters/{id}",
|
|
1057
1064
|
...options
|
|
1058
1065
|
});
|
|
1059
|
-
var
|
|
1066
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
1060
1067
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1061
|
-
url: "/v1/media/
|
|
1068
|
+
url: "/v1/media/seiyuu/{id}",
|
|
1062
1069
|
...options
|
|
1063
1070
|
});
|
|
1064
|
-
var
|
|
1065
|
-
security: [{ scheme: "bearer", type: "http" },
|
|
1066
|
-
|
|
1067
|
-
name: "nadeshiko.session_token",
|
|
1068
|
-
type: "apiKey"
|
|
1069
|
-
}],
|
|
1070
|
-
url: "/v1/media/series",
|
|
1071
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
1072
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1073
|
+
url: "/v1/media/{id}",
|
|
1071
1074
|
...options
|
|
1072
1075
|
});
|
|
1073
|
-
var
|
|
1076
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
1074
1077
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1075
|
-
url: "/v1/media/
|
|
1078
|
+
url: "/v1/media/{id}",
|
|
1079
|
+
...options
|
|
1080
|
+
});
|
|
1081
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
1082
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1083
|
+
url: "/v1/media/{id}",
|
|
1076
1084
|
...options,
|
|
1077
1085
|
headers: {
|
|
1078
1086
|
"Content-Type": "application/json",
|
|
1079
1087
|
...options.headers
|
|
1080
1088
|
}
|
|
1081
1089
|
});
|
|
1082
|
-
var
|
|
1090
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
1083
1091
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1084
|
-
url: "/v1/media/
|
|
1085
|
-
...options
|
|
1086
|
-
});
|
|
1087
|
-
var getSeries = (options) => (options.client ?? client).get({
|
|
1088
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
1089
|
-
in: "cookie",
|
|
1090
|
-
name: "nadeshiko.session_token",
|
|
1091
|
-
type: "apiKey"
|
|
1092
|
-
}],
|
|
1093
|
-
url: "/v1/media/series/{id}",
|
|
1092
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
1094
1093
|
...options
|
|
1095
1094
|
});
|
|
1096
|
-
var
|
|
1095
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
1097
1096
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1098
|
-
url: "/v1/media/
|
|
1097
|
+
url: "/v1/media/{mediaId}/episodes",
|
|
1099
1098
|
...options,
|
|
1100
1099
|
headers: {
|
|
1101
1100
|
"Content-Type": "application/json",
|
|
1102
1101
|
...options.headers
|
|
1103
1102
|
}
|
|
1104
1103
|
});
|
|
1105
|
-
var
|
|
1104
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
1106
1105
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1107
|
-
url: "/v1/media/
|
|
1106
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1107
|
+
...options
|
|
1108
|
+
});
|
|
1109
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1110
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1111
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1112
|
+
...options
|
|
1113
|
+
});
|
|
1114
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1115
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1116
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1108
1117
|
...options,
|
|
1109
1118
|
headers: {
|
|
1110
1119
|
"Content-Type": "application/json",
|
|
1111
1120
|
...options.headers
|
|
1112
1121
|
}
|
|
1113
1122
|
});
|
|
1114
|
-
var
|
|
1123
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1115
1124
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1116
|
-
url: "/v1/media/
|
|
1125
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1117
1126
|
...options
|
|
1118
1127
|
});
|
|
1119
|
-
var
|
|
1128
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1120
1129
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1121
|
-
url: "/v1/media/
|
|
1130
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1122
1131
|
...options,
|
|
1123
1132
|
headers: {
|
|
1124
1133
|
"Content-Type": "application/json",
|
|
1125
1134
|
...options.headers
|
|
1126
1135
|
}
|
|
1127
1136
|
});
|
|
1128
|
-
var
|
|
1137
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1129
1138
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1130
|
-
url: "/v1/media/
|
|
1139
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1131
1140
|
...options
|
|
1132
1141
|
});
|
|
1133
|
-
var
|
|
1142
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1134
1143
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1135
|
-
url: "/v1/media/
|
|
1144
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1136
1145
|
...options
|
|
1137
1146
|
});
|
|
1138
|
-
var
|
|
1139
|
-
security: [{
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1147
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1148
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1149
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1150
|
+
...options,
|
|
1151
|
+
headers: {
|
|
1152
|
+
"Content-Type": "application/json",
|
|
1153
|
+
...options.headers
|
|
1154
|
+
}
|
|
1146
1155
|
});
|
|
1147
|
-
var
|
|
1156
|
+
var getUserQuota = (options) => (options?.client ?? client).get({
|
|
1148
1157
|
security: [{
|
|
1149
1158
|
in: "cookie",
|
|
1150
1159
|
name: "nadeshiko.session_token",
|
|
1151
1160
|
type: "apiKey"
|
|
1152
1161
|
}],
|
|
1153
|
-
url: "/v1/user/
|
|
1162
|
+
url: "/v1/user/quota",
|
|
1154
1163
|
...options
|
|
1155
1164
|
});
|
|
1156
1165
|
var createUserReport = (options) => (options.client ?? client).post({
|
|
@@ -1206,6 +1215,19 @@ var listUserActivity = (options) => (options?.client ?? client).get({
|
|
|
1206
1215
|
url: "/v1/user/activity",
|
|
1207
1216
|
...options
|
|
1208
1217
|
});
|
|
1218
|
+
var trackUserActivity = (options) => (options.client ?? client).post({
|
|
1219
|
+
security: [{
|
|
1220
|
+
in: "cookie",
|
|
1221
|
+
name: "nadeshiko.session_token",
|
|
1222
|
+
type: "apiKey"
|
|
1223
|
+
}],
|
|
1224
|
+
url: "/v1/user/activity",
|
|
1225
|
+
...options,
|
|
1226
|
+
headers: {
|
|
1227
|
+
"Content-Type": "application/json",
|
|
1228
|
+
...options.headers
|
|
1229
|
+
}
|
|
1230
|
+
});
|
|
1209
1231
|
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1210
1232
|
security: [{
|
|
1211
1233
|
in: "cookie",
|
|
@@ -1224,6 +1246,24 @@ var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
|
1224
1246
|
url: "/v1/user/activity/stats",
|
|
1225
1247
|
...options
|
|
1226
1248
|
});
|
|
1249
|
+
var deleteUserActivityByDate = (options) => (options.client ?? client).delete({
|
|
1250
|
+
security: [{
|
|
1251
|
+
in: "cookie",
|
|
1252
|
+
name: "nadeshiko.session_token",
|
|
1253
|
+
type: "apiKey"
|
|
1254
|
+
}],
|
|
1255
|
+
url: "/v1/user/activity/date/{date}",
|
|
1256
|
+
...options
|
|
1257
|
+
});
|
|
1258
|
+
var deleteUserActivityById = (options) => (options.client ?? client).delete({
|
|
1259
|
+
security: [{
|
|
1260
|
+
in: "cookie",
|
|
1261
|
+
name: "nadeshiko.session_token",
|
|
1262
|
+
type: "apiKey"
|
|
1263
|
+
}],
|
|
1264
|
+
url: "/v1/user/activity/{id}",
|
|
1265
|
+
...options
|
|
1266
|
+
});
|
|
1227
1267
|
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1228
1268
|
security: [{
|
|
1229
1269
|
in: "cookie",
|
|
@@ -1242,6 +1282,24 @@ var listUserLabs = (options) => (options?.client ?? client).get({
|
|
|
1242
1282
|
url: "/v1/user/labs",
|
|
1243
1283
|
...options
|
|
1244
1284
|
});
|
|
1285
|
+
var unenrollUserLab = (options) => (options.client ?? client).delete({
|
|
1286
|
+
security: [{
|
|
1287
|
+
in: "cookie",
|
|
1288
|
+
name: "nadeshiko.session_token",
|
|
1289
|
+
type: "apiKey"
|
|
1290
|
+
}],
|
|
1291
|
+
url: "/v1/user/labs/{key}",
|
|
1292
|
+
...options
|
|
1293
|
+
});
|
|
1294
|
+
var enrollUserLab = (options) => (options.client ?? client).post({
|
|
1295
|
+
security: [{
|
|
1296
|
+
in: "cookie",
|
|
1297
|
+
name: "nadeshiko.session_token",
|
|
1298
|
+
type: "apiKey"
|
|
1299
|
+
}],
|
|
1300
|
+
url: "/v1/user/labs/{key}",
|
|
1301
|
+
...options
|
|
1302
|
+
});
|
|
1245
1303
|
var listCollections = (options) => (options?.client ?? client).get({
|
|
1246
1304
|
security: [{
|
|
1247
1305
|
in: "cookie",
|
|
@@ -1330,18 +1388,48 @@ var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
|
1330
1388
|
...options.headers
|
|
1331
1389
|
}
|
|
1332
1390
|
});
|
|
1391
|
+
var searchCollectionSegments = (options) => (options.client ?? client).get({
|
|
1392
|
+
security: [{
|
|
1393
|
+
in: "cookie",
|
|
1394
|
+
name: "nadeshiko.session_token",
|
|
1395
|
+
type: "apiKey"
|
|
1396
|
+
}],
|
|
1397
|
+
url: "/v1/collections/{id}/search",
|
|
1398
|
+
...options
|
|
1399
|
+
});
|
|
1400
|
+
var getCollectionStats = (options) => (options.client ?? client).get({
|
|
1401
|
+
security: [{
|
|
1402
|
+
in: "cookie",
|
|
1403
|
+
name: "nadeshiko.session_token",
|
|
1404
|
+
type: "apiKey"
|
|
1405
|
+
}],
|
|
1406
|
+
url: "/v1/collections/{id}/stats",
|
|
1407
|
+
...options
|
|
1408
|
+
});
|
|
1333
1409
|
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1334
|
-
security: [{
|
|
1410
|
+
security: [{
|
|
1411
|
+
in: "cookie",
|
|
1412
|
+
name: "nadeshiko.session_token",
|
|
1413
|
+
type: "apiKey"
|
|
1414
|
+
}],
|
|
1335
1415
|
url: "/v1/admin/dashboard",
|
|
1336
1416
|
...options
|
|
1337
1417
|
});
|
|
1338
1418
|
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1339
|
-
security: [{
|
|
1419
|
+
security: [{
|
|
1420
|
+
in: "cookie",
|
|
1421
|
+
name: "nadeshiko.session_token",
|
|
1422
|
+
type: "apiKey"
|
|
1423
|
+
}],
|
|
1340
1424
|
url: "/v1/admin/health",
|
|
1341
1425
|
...options
|
|
1342
1426
|
});
|
|
1343
1427
|
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1344
|
-
security: [{
|
|
1428
|
+
security: [{
|
|
1429
|
+
in: "cookie",
|
|
1430
|
+
name: "nadeshiko.session_token",
|
|
1431
|
+
type: "apiKey"
|
|
1432
|
+
}],
|
|
1345
1433
|
url: "/v1/admin/reindex",
|
|
1346
1434
|
...options,
|
|
1347
1435
|
headers: {
|
|
@@ -1350,37 +1438,74 @@ var triggerReindex = (options) => (options?.client ?? client).post({
|
|
|
1350
1438
|
}
|
|
1351
1439
|
});
|
|
1352
1440
|
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1353
|
-
security: [{
|
|
1441
|
+
security: [{
|
|
1442
|
+
in: "cookie",
|
|
1443
|
+
name: "nadeshiko.session_token",
|
|
1444
|
+
type: "apiKey"
|
|
1445
|
+
}],
|
|
1354
1446
|
url: "/v1/admin/queues/stats",
|
|
1355
1447
|
...options
|
|
1356
1448
|
});
|
|
1357
1449
|
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1358
|
-
security: [{
|
|
1450
|
+
security: [{
|
|
1451
|
+
in: "cookie",
|
|
1452
|
+
name: "nadeshiko.session_token",
|
|
1453
|
+
type: "apiKey"
|
|
1454
|
+
}],
|
|
1359
1455
|
url: "/v1/admin/queues/{queueName}",
|
|
1360
1456
|
...options
|
|
1361
1457
|
});
|
|
1362
1458
|
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1363
|
-
security: [{
|
|
1459
|
+
security: [{
|
|
1460
|
+
in: "cookie",
|
|
1461
|
+
name: "nadeshiko.session_token",
|
|
1462
|
+
type: "apiKey"
|
|
1463
|
+
}],
|
|
1364
1464
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1365
1465
|
...options
|
|
1366
1466
|
});
|
|
1367
1467
|
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1368
|
-
security: [{
|
|
1468
|
+
security: [{
|
|
1469
|
+
in: "cookie",
|
|
1470
|
+
name: "nadeshiko.session_token",
|
|
1471
|
+
type: "apiKey"
|
|
1472
|
+
}],
|
|
1369
1473
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1370
1474
|
...options
|
|
1371
1475
|
});
|
|
1372
1476
|
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1373
|
-
security: [{
|
|
1477
|
+
security: [{
|
|
1478
|
+
in: "cookie",
|
|
1479
|
+
name: "nadeshiko.session_token",
|
|
1480
|
+
type: "apiKey"
|
|
1481
|
+
}],
|
|
1374
1482
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1375
1483
|
...options
|
|
1376
1484
|
});
|
|
1485
|
+
var clearAdminImpersonation = (options) => (options?.client ?? client).delete({ url: "/v1/admin/impersonation", ...options });
|
|
1486
|
+
var impersonateAdminUser = (options) => (options.client ?? client).post({
|
|
1487
|
+
url: "/v1/admin/impersonation",
|
|
1488
|
+
...options,
|
|
1489
|
+
headers: {
|
|
1490
|
+
"Content-Type": "application/json",
|
|
1491
|
+
...options.headers
|
|
1492
|
+
}
|
|
1493
|
+
});
|
|
1377
1494
|
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1378
|
-
security: [{
|
|
1495
|
+
security: [{
|
|
1496
|
+
in: "cookie",
|
|
1497
|
+
name: "nadeshiko.session_token",
|
|
1498
|
+
type: "apiKey"
|
|
1499
|
+
}],
|
|
1379
1500
|
url: "/v1/admin/reports",
|
|
1380
1501
|
...options
|
|
1381
1502
|
});
|
|
1382
1503
|
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1383
|
-
security: [{
|
|
1504
|
+
security: [{
|
|
1505
|
+
in: "cookie",
|
|
1506
|
+
name: "nadeshiko.session_token",
|
|
1507
|
+
type: "apiKey"
|
|
1508
|
+
}],
|
|
1384
1509
|
url: "/v1/admin/reports/{id}",
|
|
1385
1510
|
...options,
|
|
1386
1511
|
headers: {
|
|
@@ -1388,52 +1513,53 @@ var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
|
1388
1513
|
...options.headers
|
|
1389
1514
|
}
|
|
1390
1515
|
});
|
|
1391
|
-
var
|
|
1392
|
-
security: [{
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
url: "/v1/admin/review/checks",
|
|
1516
|
+
var listAdminMediaAudits = (options) => (options?.client ?? client).get({
|
|
1517
|
+
security: [{
|
|
1518
|
+
in: "cookie",
|
|
1519
|
+
name: "nadeshiko.session_token",
|
|
1520
|
+
type: "apiKey"
|
|
1521
|
+
}],
|
|
1522
|
+
url: "/v1/admin/media/audits",
|
|
1399
1523
|
...options
|
|
1400
1524
|
});
|
|
1401
|
-
var
|
|
1402
|
-
security: [{
|
|
1403
|
-
|
|
1525
|
+
var updateAdminMediaAudit = (options) => (options.client ?? client).patch({
|
|
1526
|
+
security: [{
|
|
1527
|
+
in: "cookie",
|
|
1528
|
+
name: "nadeshiko.session_token",
|
|
1529
|
+
type: "apiKey"
|
|
1530
|
+
}],
|
|
1531
|
+
url: "/v1/admin/media/audits/{name}",
|
|
1404
1532
|
...options,
|
|
1405
1533
|
headers: {
|
|
1406
1534
|
"Content-Type": "application/json",
|
|
1407
1535
|
...options.headers
|
|
1408
1536
|
}
|
|
1409
1537
|
});
|
|
1410
|
-
var
|
|
1411
|
-
security: [{
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
url: "/v1/admin/review/runs/{id}",
|
|
1538
|
+
var runAdminMediaAudit = (options) => (options.client ?? client).post({
|
|
1539
|
+
security: [{
|
|
1540
|
+
in: "cookie",
|
|
1541
|
+
name: "nadeshiko.session_token",
|
|
1542
|
+
type: "apiKey"
|
|
1543
|
+
}],
|
|
1544
|
+
url: "/v1/admin/media/audits/{name}/run",
|
|
1418
1545
|
...options
|
|
1419
1546
|
});
|
|
1420
|
-
var
|
|
1421
|
-
security: [{
|
|
1422
|
-
|
|
1547
|
+
var listAdminMediaAuditRuns = (options) => (options?.client ?? client).get({
|
|
1548
|
+
security: [{
|
|
1549
|
+
in: "cookie",
|
|
1550
|
+
name: "nadeshiko.session_token",
|
|
1551
|
+
type: "apiKey"
|
|
1552
|
+
}],
|
|
1553
|
+
url: "/v1/admin/media/audits/runs",
|
|
1423
1554
|
...options
|
|
1424
1555
|
});
|
|
1425
|
-
var
|
|
1426
|
-
security: [{
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
}
|
|
1433
|
-
});
|
|
1434
|
-
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1435
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1436
|
-
url: "/v1/admin/review/allowlist/{id}",
|
|
1556
|
+
var getAdminMediaAuditRun = (options) => (options.client ?? client).get({
|
|
1557
|
+
security: [{
|
|
1558
|
+
in: "cookie",
|
|
1559
|
+
name: "nadeshiko.session_token",
|
|
1560
|
+
type: "apiKey"
|
|
1561
|
+
}],
|
|
1562
|
+
url: "/v1/admin/media/audits/runs/{id}",
|
|
1437
1563
|
...options
|
|
1438
1564
|
});
|
|
1439
1565
|
// generated/dev/nadeshiko.gen.ts
|
|
@@ -1449,7 +1575,13 @@ var defaultSessionTokenGetter = () => {
|
|
|
1449
1575
|
return match ? decodeURIComponent(match[1]) : undefined;
|
|
1450
1576
|
};
|
|
1451
1577
|
function createNadeshikoClient(config) {
|
|
1452
|
-
const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl
|
|
1578
|
+
const baseUrl = config.baseUrl === undefined ? environments.PRODUCTION : (config.baseUrl in environments) ? environments[config.baseUrl] : config.baseUrl;
|
|
1579
|
+
const getApiKey = async () => {
|
|
1580
|
+
if (typeof config.apiKey === "function") {
|
|
1581
|
+
return await config.apiKey();
|
|
1582
|
+
}
|
|
1583
|
+
return config.apiKey;
|
|
1584
|
+
};
|
|
1453
1585
|
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1454
1586
|
const clientInstance = createClient(createConfig({
|
|
1455
1587
|
baseUrl,
|
|
@@ -1457,7 +1589,7 @@ function createNadeshikoClient(config) {
|
|
|
1457
1589
|
if (auth.in === "cookie") {
|
|
1458
1590
|
return getSessionToken();
|
|
1459
1591
|
}
|
|
1460
|
-
return
|
|
1592
|
+
return getApiKey();
|
|
1461
1593
|
}
|
|
1462
1594
|
}));
|
|
1463
1595
|
return {
|
|
@@ -1466,43 +1598,25 @@ function createNadeshikoClient(config) {
|
|
|
1466
1598
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1467
1599
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1468
1600
|
listMedia: (options) => listMedia({ ...options, client: clientInstance }),
|
|
1469
|
-
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1470
|
-
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1471
|
-
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1472
|
-
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1473
1601
|
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1474
1602
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1475
1603
|
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1476
1604
|
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1477
1605
|
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1478
1606
|
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1484
|
-
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1485
|
-
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1486
|
-
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1487
|
-
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1488
|
-
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1489
|
-
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1490
|
-
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1491
|
-
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1492
|
-
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1493
|
-
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1494
|
-
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1495
|
-
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1496
|
-
runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
|
|
1497
|
-
listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
|
|
1498
|
-
updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
|
|
1499
|
-
listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
|
|
1500
|
-
getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
|
|
1501
|
-
listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
|
|
1502
|
-
createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1503
|
-
deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1607
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1608
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1609
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1610
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1504
1611
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1505
1612
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1613
|
+
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
1614
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1615
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1616
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1617
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1618
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1619
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1506
1620
|
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1507
1621
|
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1508
1622
|
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
@@ -1512,24 +1626,48 @@ function createNadeshikoClient(config) {
|
|
|
1512
1626
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1513
1627
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1514
1628
|
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1515
|
-
|
|
1516
|
-
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1517
|
-
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1518
|
-
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1519
|
-
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1520
|
-
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1629
|
+
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1521
1630
|
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1522
|
-
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1523
1631
|
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1524
1632
|
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1525
1633
|
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1634
|
+
trackUserActivity: (options) => trackUserActivity({ ...options, client: clientInstance }),
|
|
1526
1635
|
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1527
1636
|
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1528
1637
|
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1638
|
+
deleteUserActivityByDate: (options) => deleteUserActivityByDate({ ...options, client: clientInstance }),
|
|
1639
|
+
deleteUserActivityById: (options) => deleteUserActivityById({ ...options, client: clientInstance }),
|
|
1529
1640
|
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1530
1641
|
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1642
|
+
enrollUserLab: (options) => enrollUserLab({ ...options, client: clientInstance }),
|
|
1643
|
+
unenrollUserLab: (options) => unenrollUserLab({ ...options, client: clientInstance }),
|
|
1644
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1645
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1646
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1647
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1648
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1649
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1650
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1651
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1652
|
+
searchCollectionSegments: (options) => searchCollectionSegments({ ...options, client: clientInstance }),
|
|
1653
|
+
getCollectionStats: (options) => getCollectionStats({ ...options, client: clientInstance }),
|
|
1531
1654
|
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1532
|
-
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1655
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance }),
|
|
1656
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1657
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1658
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1659
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1660
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1661
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1662
|
+
impersonateAdminUser: (options) => impersonateAdminUser({ ...options, client: clientInstance }),
|
|
1663
|
+
clearAdminImpersonation: (options) => clearAdminImpersonation({ ...options, client: clientInstance }),
|
|
1664
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1665
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1666
|
+
listAdminMediaAudits: (options) => listAdminMediaAudits({ ...options, client: clientInstance }),
|
|
1667
|
+
updateAdminMediaAudit: (options) => updateAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1668
|
+
runAdminMediaAudit: (options) => runAdminMediaAudit({ ...options, client: clientInstance }),
|
|
1669
|
+
listAdminMediaAuditRuns: (options) => listAdminMediaAuditRuns({ ...options, client: clientInstance }),
|
|
1670
|
+
getAdminMediaAuditRun: (options) => getAdminMediaAuditRun({ ...options, client: clientInstance })
|
|
1533
1671
|
};
|
|
1534
1672
|
}
|
|
1535
1673
|
// generated/dev/internal/media.gen.ts
|
|
@@ -1537,6 +1675,7 @@ var exports_media_gen = {};
|
|
|
1537
1675
|
__export(exports_media_gen, {
|
|
1538
1676
|
updateSeriesMedia: () => updateSeriesMedia,
|
|
1539
1677
|
updateSeries: () => updateSeries,
|
|
1678
|
+
updateSegmentByUuid: () => updateSegmentByUuid,
|
|
1540
1679
|
updateSegment: () => updateSegment,
|
|
1541
1680
|
updateMedia: () => updateMedia,
|
|
1542
1681
|
updateEpisode: () => updateEpisode,
|
|
@@ -1557,22 +1696,56 @@ __export(exports_media_gen, {
|
|
|
1557
1696
|
var exports_user_gen = {};
|
|
1558
1697
|
__export(exports_user_gen, {
|
|
1559
1698
|
updateUserPreferences: () => updateUserPreferences,
|
|
1560
|
-
|
|
1699
|
+
unenrollUserLab: () => unenrollUserLab,
|
|
1700
|
+
trackUserActivity: () => trackUserActivity,
|
|
1561
1701
|
listUserLabs: () => listUserLabs,
|
|
1562
1702
|
listUserActivity: () => listUserActivity,
|
|
1703
|
+
getUserQuota: () => getUserQuota,
|
|
1563
1704
|
getUserPreferences: () => getUserPreferences,
|
|
1564
1705
|
getUserActivityStats: () => getUserActivityStats,
|
|
1565
1706
|
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1566
1707
|
exportUserData: () => exportUserData,
|
|
1708
|
+
enrollUserLab: () => enrollUserLab,
|
|
1709
|
+
deleteUserActivityById: () => deleteUserActivityById,
|
|
1710
|
+
deleteUserActivityByDate: () => deleteUserActivityByDate,
|
|
1567
1711
|
deleteUserActivity: () => deleteUserActivity,
|
|
1568
1712
|
createUserReport: () => createUserReport
|
|
1569
1713
|
});
|
|
1714
|
+
// generated/dev/internal/collections.gen.ts
|
|
1715
|
+
var exports_collections_gen = {};
|
|
1716
|
+
__export(exports_collections_gen, {
|
|
1717
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
1718
|
+
updateCollection: () => updateCollection,
|
|
1719
|
+
searchCollectionSegments: () => searchCollectionSegments,
|
|
1720
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
1721
|
+
listCollections: () => listCollections,
|
|
1722
|
+
getCollectionStats: () => getCollectionStats,
|
|
1723
|
+
getCollection: () => getCollection,
|
|
1724
|
+
deleteCollection: () => deleteCollection,
|
|
1725
|
+
createCollection: () => createCollection,
|
|
1726
|
+
addSegmentToCollection: () => addSegmentToCollection
|
|
1727
|
+
});
|
|
1570
1728
|
// generated/dev/internal/admin.gen.ts
|
|
1571
1729
|
var exports_admin_gen = {};
|
|
1572
1730
|
__export(exports_admin_gen, {
|
|
1731
|
+
updateAdminReport: () => updateAdminReport,
|
|
1732
|
+
updateAdminMediaAudit: () => updateAdminMediaAudit,
|
|
1733
|
+
triggerReindex: () => triggerReindex,
|
|
1734
|
+
runAdminMediaAudit: () => runAdminMediaAudit,
|
|
1735
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
1736
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
1737
|
+
listAdminReports: () => listAdminReports,
|
|
1738
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
1739
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
1740
|
+
listAdminMediaAudits: () => listAdminMediaAudits,
|
|
1741
|
+
listAdminMediaAuditRuns: () => listAdminMediaAuditRuns,
|
|
1742
|
+
impersonateAdminUser: () => impersonateAdminUser,
|
|
1743
|
+
getAdminQueue: () => getAdminQueue,
|
|
1744
|
+
getAdminMediaAuditRun: () => getAdminMediaAuditRun,
|
|
1573
1745
|
getAdminHealth: () => getAdminHealth,
|
|
1574
|
-
getAdminDashboard: () => getAdminDashboard
|
|
1746
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
1747
|
+
clearAdminImpersonation: () => clearAdminImpersonation
|
|
1575
1748
|
});
|
|
1576
1749
|
|
|
1577
|
-
//# debugId=
|
|
1750
|
+
//# debugId=C46407DD30C813FE64756E2164756E21
|
|
1578
1751
|
//# sourceMappingURL=index.js.map
|