@brigadasos/nadeshiko-sdk 1.4.0-dev.9621982 → 1.4.2-dev.a13aba0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +348 -270
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +348 -270
- package/dist/index.js.map +4 -4
- package/dist/internal/admin.gen.d.ts +2 -0
- package/dist/internal/admin.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 +2 -0
- package/dist/internal/user.gen.d.ts.map +1 -0
- package/dist/internal.gen.d.ts +2 -2
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +67 -62
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +158 -139
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +1884 -1568
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/internal/lists.gen.d.ts +0 -2
- package/dist/internal/lists.gen.d.ts.map +0 -1
- package/dist/internal/search.gen.d.ts +0 -2
- package/dist/internal/search.gen.d.ts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -29,74 +29,79 @@ var __export = (target, all) => {
|
|
|
29
29
|
// generated/dev/index.ts
|
|
30
30
|
var exports_dev = {};
|
|
31
31
|
__export(exports_dev, {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
segmentShow: () => segmentShow,
|
|
45
|
-
segmentIndex: () => segmentIndex,
|
|
46
|
-
segmentDestroy: () => segmentDestroy,
|
|
47
|
-
segmentCreate: () => segmentCreate,
|
|
48
|
-
segmentContextShow: () => segmentContextShow,
|
|
32
|
+
user: () => exports_user_gen,
|
|
33
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
34
|
+
updateSeries: () => updateSeries,
|
|
35
|
+
updateSegment: () => updateSegment,
|
|
36
|
+
updatePreferences: () => updatePreferences,
|
|
37
|
+
updateMedia: () => updateMedia,
|
|
38
|
+
updateEpisode: () => updateEpisode,
|
|
39
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
40
|
+
updateCollection: () => updateCollection,
|
|
41
|
+
updateAdminReviewCheck: () => updateAdminReviewCheck,
|
|
42
|
+
updateAdminReport: () => updateAdminReport,
|
|
43
|
+
triggerReindex: () => triggerReindex,
|
|
49
44
|
searchWords: () => searchWords,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
mediaDestroy: () => mediaDestroy,
|
|
57
|
-
mediaCreate: () => mediaCreate,
|
|
45
|
+
search: () => search,
|
|
46
|
+
runAdminReview: () => runAdminReview,
|
|
47
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
48
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
49
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
50
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
58
51
|
media: () => exports_media_gen,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
52
|
+
listSeries: () => listSeries,
|
|
53
|
+
listSegments: () => listSegments,
|
|
54
|
+
listReports: () => listReports,
|
|
55
|
+
listMedia: () => listMedia,
|
|
56
|
+
listLabs: () => listLabs,
|
|
57
|
+
listEpisodes: () => listEpisodes,
|
|
58
|
+
listCollections: () => listCollections,
|
|
59
|
+
listAdminReviewRuns: () => listAdminReviewRuns,
|
|
60
|
+
listAdminReviewChecks: () => listAdminReviewChecks,
|
|
61
|
+
listAdminReviewAllowlist: () => listAdminReviewAllowlist,
|
|
62
|
+
listAdminReports: () => listAdminReports,
|
|
63
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
64
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
65
|
+
listActivity: () => listActivity,
|
|
66
|
+
getSeries: () => getSeries,
|
|
67
|
+
getSeiyuu: () => getSeiyuu,
|
|
68
|
+
getSegmentContext: () => getSegmentContext,
|
|
69
|
+
getSegmentByUuid: () => getSegmentByUuid,
|
|
70
|
+
getSegment: () => getSegment,
|
|
71
|
+
getSearchStats: () => getSearchStats,
|
|
72
|
+
getQuota: () => getQuota,
|
|
73
|
+
getPreferences: () => getPreferences,
|
|
74
|
+
getMedia: () => getMedia,
|
|
75
|
+
getEpisode: () => getEpisode,
|
|
76
|
+
getCollection: () => getCollection,
|
|
77
|
+
getCharacter: () => getCharacter,
|
|
78
|
+
getAdminReviewRun: () => getAdminReviewRun,
|
|
79
|
+
getAdminQueue: () => getAdminQueue,
|
|
80
|
+
getAdminHealth: () => getAdminHealth,
|
|
81
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
82
|
+
getActivityStats: () => getActivityStats,
|
|
83
|
+
getActivityHeatmap: () => getActivityHeatmap,
|
|
84
|
+
exportData: () => exportData,
|
|
85
|
+
deleteSeries: () => deleteSeries,
|
|
86
|
+
deleteSegment: () => deleteSegment,
|
|
87
|
+
deleteMedia: () => deleteMedia,
|
|
88
|
+
deleteEpisode: () => deleteEpisode,
|
|
89
|
+
deleteCollection: () => deleteCollection,
|
|
90
|
+
deleteAdminReviewAllowlistEntry: () => deleteAdminReviewAllowlistEntry,
|
|
91
|
+
deleteActivity: () => deleteActivity,
|
|
92
|
+
createSeries: () => createSeries,
|
|
93
|
+
createSegment: () => createSegment,
|
|
94
|
+
createReport: () => createReport,
|
|
79
95
|
createNadeshikoClient: () => createNadeshikoClient,
|
|
96
|
+
createMedia: () => createMedia,
|
|
97
|
+
createEpisode: () => createEpisode,
|
|
98
|
+
createCollection: () => createCollection,
|
|
80
99
|
createClient: () => createClient2,
|
|
100
|
+
createAdminReviewAllowlistEntry: () => createAdminReviewAllowlistEntry,
|
|
81
101
|
client: () => client,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
adminReviewRunCreate: () => adminReviewRunCreate,
|
|
86
|
-
adminReviewCheckUpdate: () => adminReviewCheckUpdate,
|
|
87
|
-
adminReviewCheckIndex: () => adminReviewCheckIndex,
|
|
88
|
-
adminReviewAllowlistIndex: () => adminReviewAllowlistIndex,
|
|
89
|
-
adminReviewAllowlistDestroy: () => adminReviewAllowlistDestroy,
|
|
90
|
-
adminReviewAllowlistCreate: () => adminReviewAllowlistCreate,
|
|
91
|
-
adminReportUpdate: () => adminReportUpdate,
|
|
92
|
-
adminReportIndex: () => adminReportIndex,
|
|
93
|
-
adminReindexCreate: () => adminReindexCreate,
|
|
94
|
-
adminQueueStatsIndex: () => adminQueueStatsIndex,
|
|
95
|
-
adminQueueShow: () => adminQueueShow,
|
|
96
|
-
adminQueueRetryCreate: () => adminQueueRetryCreate,
|
|
97
|
-
adminQueueFailedIndex: () => adminQueueFailedIndex,
|
|
98
|
-
adminQueueFailedDestroy: () => adminQueueFailedDestroy,
|
|
99
|
-
adminMorphemeBackfillCreate: () => adminMorphemeBackfillCreate
|
|
102
|
+
admin: () => exports_admin_gen,
|
|
103
|
+
addSegmentToCollection: () => addSegmentToCollection,
|
|
104
|
+
addMediaToSeries: () => addMediaToSeries
|
|
100
105
|
});
|
|
101
106
|
module.exports = __toCommonJS(exports_dev);
|
|
102
107
|
|
|
@@ -903,12 +908,7 @@ var createClient = (config = {}) => {
|
|
|
903
908
|
var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
|
|
904
909
|
|
|
905
910
|
// generated/dev/sdk.gen.ts
|
|
906
|
-
var
|
|
907
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
908
|
-
url: "/v1/health",
|
|
909
|
-
...options
|
|
910
|
-
});
|
|
911
|
-
var searchIndex = (options) => (options?.client ?? client).post({
|
|
911
|
+
var search = (options) => (options?.client ?? client).post({
|
|
912
912
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
913
913
|
in: "cookie",
|
|
914
914
|
name: "nadeshiko.session_token",
|
|
@@ -921,7 +921,7 @@ var searchIndex = (options) => (options?.client ?? client).post({
|
|
|
921
921
|
...options?.headers
|
|
922
922
|
}
|
|
923
923
|
});
|
|
924
|
-
var
|
|
924
|
+
var getSearchStats = (options) => (options?.client ?? client).post({
|
|
925
925
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
926
926
|
in: "cookie",
|
|
927
927
|
name: "nadeshiko.session_token",
|
|
@@ -947,12 +947,12 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
947
947
|
...options.headers
|
|
948
948
|
}
|
|
949
949
|
});
|
|
950
|
-
var
|
|
950
|
+
var listMedia = (options) => (options?.client ?? client).get({
|
|
951
951
|
security: [{ scheme: "bearer", type: "http" }],
|
|
952
952
|
url: "/v1/media",
|
|
953
953
|
...options
|
|
954
954
|
});
|
|
955
|
-
var
|
|
955
|
+
var createMedia = (options) => (options.client ?? client).post({
|
|
956
956
|
security: [{ scheme: "bearer", type: "http" }],
|
|
957
957
|
url: "/v1/media",
|
|
958
958
|
...options,
|
|
@@ -961,17 +961,17 @@ var mediaCreate = (options) => (options.client ?? client).post({
|
|
|
961
961
|
...options.headers
|
|
962
962
|
}
|
|
963
963
|
});
|
|
964
|
-
var
|
|
964
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
965
965
|
security: [{ scheme: "bearer", type: "http" }],
|
|
966
966
|
url: "/v1/media/{id}",
|
|
967
967
|
...options
|
|
968
968
|
});
|
|
969
|
-
var
|
|
969
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
970
970
|
security: [{ scheme: "bearer", type: "http" }],
|
|
971
971
|
url: "/v1/media/{id}",
|
|
972
972
|
...options
|
|
973
973
|
});
|
|
974
|
-
var
|
|
974
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
975
975
|
security: [{ scheme: "bearer", type: "http" }],
|
|
976
976
|
url: "/v1/media/{id}",
|
|
977
977
|
...options,
|
|
@@ -980,12 +980,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
|
|
|
980
980
|
...options.headers
|
|
981
981
|
}
|
|
982
982
|
});
|
|
983
|
-
var
|
|
983
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
984
984
|
security: [{ scheme: "bearer", type: "http" }],
|
|
985
985
|
url: "/v1/media/{mediaId}/episodes",
|
|
986
986
|
...options
|
|
987
987
|
});
|
|
988
|
-
var
|
|
988
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
989
989
|
security: [{ scheme: "bearer", type: "http" }],
|
|
990
990
|
url: "/v1/media/{mediaId}/episodes",
|
|
991
991
|
...options,
|
|
@@ -994,17 +994,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
|
|
|
994
994
|
...options.headers
|
|
995
995
|
}
|
|
996
996
|
});
|
|
997
|
-
var
|
|
997
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
998
998
|
security: [{ scheme: "bearer", type: "http" }],
|
|
999
999
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1000
1000
|
...options
|
|
1001
1001
|
});
|
|
1002
|
-
var
|
|
1002
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1003
1003
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1004
1004
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1005
1005
|
...options
|
|
1006
1006
|
});
|
|
1007
|
-
var
|
|
1007
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1008
1008
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1009
1009
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1010
1010
|
...options,
|
|
@@ -1013,12 +1013,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
|
|
|
1013
1013
|
...options.headers
|
|
1014
1014
|
}
|
|
1015
1015
|
});
|
|
1016
|
-
var
|
|
1016
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1017
1017
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1018
1018
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1019
1019
|
...options
|
|
1020
1020
|
});
|
|
1021
|
-
var
|
|
1021
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1022
1022
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1023
1023
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1024
1024
|
...options,
|
|
@@ -1027,17 +1027,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
|
|
|
1027
1027
|
...options.headers
|
|
1028
1028
|
}
|
|
1029
1029
|
});
|
|
1030
|
-
var
|
|
1030
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1031
1031
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1032
1032
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1033
1033
|
...options
|
|
1034
1034
|
});
|
|
1035
|
-
var
|
|
1035
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1036
1036
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1037
1037
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1038
1038
|
...options
|
|
1039
1039
|
});
|
|
1040
|
-
var
|
|
1040
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1041
1041
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1042
1042
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1043
1043
|
...options,
|
|
@@ -1046,36 +1046,100 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
|
|
|
1046
1046
|
...options.headers
|
|
1047
1047
|
}
|
|
1048
1048
|
});
|
|
1049
|
-
var
|
|
1049
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
1050
1050
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1051
1051
|
url: "/v1/media/segments/{uuid}",
|
|
1052
1052
|
...options
|
|
1053
1053
|
});
|
|
1054
|
-
var
|
|
1054
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
1055
1055
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1056
1056
|
url: "/v1/media/segments/{uuid}/context",
|
|
1057
1057
|
...options
|
|
1058
1058
|
});
|
|
1059
|
-
var
|
|
1059
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
1060
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1061
|
+
in: "cookie",
|
|
1062
|
+
name: "nadeshiko.session_token",
|
|
1063
|
+
type: "apiKey"
|
|
1064
|
+
}],
|
|
1065
|
+
url: "/v1/media/series",
|
|
1066
|
+
...options
|
|
1067
|
+
});
|
|
1068
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
1069
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1070
|
+
url: "/v1/media/series",
|
|
1071
|
+
...options,
|
|
1072
|
+
headers: {
|
|
1073
|
+
"Content-Type": "application/json",
|
|
1074
|
+
...options.headers
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
1078
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1079
|
+
url: "/v1/media/series/{id}",
|
|
1080
|
+
...options
|
|
1081
|
+
});
|
|
1082
|
+
var getSeries = (options) => (options.client ?? client).get({
|
|
1083
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1084
|
+
in: "cookie",
|
|
1085
|
+
name: "nadeshiko.session_token",
|
|
1086
|
+
type: "apiKey"
|
|
1087
|
+
}],
|
|
1088
|
+
url: "/v1/media/series/{id}",
|
|
1089
|
+
...options
|
|
1090
|
+
});
|
|
1091
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
1092
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1093
|
+
url: "/v1/media/series/{id}",
|
|
1094
|
+
...options,
|
|
1095
|
+
headers: {
|
|
1096
|
+
"Content-Type": "application/json",
|
|
1097
|
+
...options.headers
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
1101
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1102
|
+
url: "/v1/media/series/{id}/media",
|
|
1103
|
+
...options,
|
|
1104
|
+
headers: {
|
|
1105
|
+
"Content-Type": "application/json",
|
|
1106
|
+
...options.headers
|
|
1107
|
+
}
|
|
1108
|
+
});
|
|
1109
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
1110
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1111
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1112
|
+
...options
|
|
1113
|
+
});
|
|
1114
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
1115
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1116
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1117
|
+
...options,
|
|
1118
|
+
headers: {
|
|
1119
|
+
"Content-Type": "application/json",
|
|
1120
|
+
...options.headers
|
|
1121
|
+
}
|
|
1122
|
+
});
|
|
1123
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
1060
1124
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1061
1125
|
url: "/v1/media/characters/{id}",
|
|
1062
1126
|
...options
|
|
1063
1127
|
});
|
|
1064
|
-
var
|
|
1128
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
1065
1129
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1066
1130
|
url: "/v1/media/seiyuu/{id}",
|
|
1067
1131
|
...options
|
|
1068
1132
|
});
|
|
1069
|
-
var
|
|
1133
|
+
var getQuota = (options) => (options?.client ?? client).get({
|
|
1070
1134
|
security: [{
|
|
1071
1135
|
in: "cookie",
|
|
1072
1136
|
name: "nadeshiko.session_token",
|
|
1073
1137
|
type: "apiKey"
|
|
1074
|
-
}],
|
|
1138
|
+
}, { scheme: "bearer", type: "http" }],
|
|
1075
1139
|
url: "/v1/user/quota",
|
|
1076
1140
|
...options
|
|
1077
1141
|
});
|
|
1078
|
-
var
|
|
1142
|
+
var listReports = (options) => (options?.client ?? client).get({
|
|
1079
1143
|
security: [{
|
|
1080
1144
|
in: "cookie",
|
|
1081
1145
|
name: "nadeshiko.session_token",
|
|
@@ -1084,7 +1148,7 @@ var userReportIndex = (options) => (options?.client ?? client).get({
|
|
|
1084
1148
|
url: "/v1/user/reports",
|
|
1085
1149
|
...options
|
|
1086
1150
|
});
|
|
1087
|
-
var
|
|
1151
|
+
var createReport = (options) => (options.client ?? client).post({
|
|
1088
1152
|
security: [{
|
|
1089
1153
|
in: "cookie",
|
|
1090
1154
|
name: "nadeshiko.session_token",
|
|
@@ -1097,7 +1161,7 @@ var userReportCreate = (options) => (options.client ?? client).post({
|
|
|
1097
1161
|
...options.headers
|
|
1098
1162
|
}
|
|
1099
1163
|
});
|
|
1100
|
-
var
|
|
1164
|
+
var getPreferences = (options) => (options?.client ?? client).get({
|
|
1101
1165
|
security: [{
|
|
1102
1166
|
in: "cookie",
|
|
1103
1167
|
name: "nadeshiko.session_token",
|
|
@@ -1106,7 +1170,7 @@ var userPreferencesShow = (options) => (options?.client ?? client).get({
|
|
|
1106
1170
|
url: "/v1/user/preferences",
|
|
1107
1171
|
...options
|
|
1108
1172
|
});
|
|
1109
|
-
var
|
|
1173
|
+
var updatePreferences = (options) => (options.client ?? client).patch({
|
|
1110
1174
|
security: [{
|
|
1111
1175
|
in: "cookie",
|
|
1112
1176
|
name: "nadeshiko.session_token",
|
|
@@ -1119,7 +1183,7 @@ var userPreferencesUpdate = (options) => (options.client ?? client).patch({
|
|
|
1119
1183
|
...options.headers
|
|
1120
1184
|
}
|
|
1121
1185
|
});
|
|
1122
|
-
var
|
|
1186
|
+
var deleteActivity = (options) => (options?.client ?? client).delete({
|
|
1123
1187
|
security: [{
|
|
1124
1188
|
in: "cookie",
|
|
1125
1189
|
name: "nadeshiko.session_token",
|
|
@@ -1128,7 +1192,7 @@ var userActivityDestroy = (options) => (options?.client ?? client).delete({
|
|
|
1128
1192
|
url: "/v1/user/activity",
|
|
1129
1193
|
...options
|
|
1130
1194
|
});
|
|
1131
|
-
var
|
|
1195
|
+
var listActivity = (options) => (options?.client ?? client).get({
|
|
1132
1196
|
security: [{
|
|
1133
1197
|
in: "cookie",
|
|
1134
1198
|
name: "nadeshiko.session_token",
|
|
@@ -1137,7 +1201,16 @@ var userActivityIndex = (options) => (options?.client ?? client).get({
|
|
|
1137
1201
|
url: "/v1/user/activity",
|
|
1138
1202
|
...options
|
|
1139
1203
|
});
|
|
1140
|
-
var
|
|
1204
|
+
var getActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1205
|
+
security: [{
|
|
1206
|
+
in: "cookie",
|
|
1207
|
+
name: "nadeshiko.session_token",
|
|
1208
|
+
type: "apiKey"
|
|
1209
|
+
}],
|
|
1210
|
+
url: "/v1/user/activity/heatmap",
|
|
1211
|
+
...options
|
|
1212
|
+
});
|
|
1213
|
+
var getActivityStats = (options) => (options?.client ?? client).get({
|
|
1141
1214
|
security: [{
|
|
1142
1215
|
in: "cookie",
|
|
1143
1216
|
name: "nadeshiko.session_token",
|
|
@@ -1146,7 +1219,7 @@ var userActivityStatsShow = (options) => (options?.client ?? client).get({
|
|
|
1146
1219
|
url: "/v1/user/activity/stats",
|
|
1147
1220
|
...options
|
|
1148
1221
|
});
|
|
1149
|
-
var
|
|
1222
|
+
var exportData = (options) => (options?.client ?? client).get({
|
|
1150
1223
|
security: [{
|
|
1151
1224
|
in: "cookie",
|
|
1152
1225
|
name: "nadeshiko.session_token",
|
|
@@ -1155,116 +1228,114 @@ var userExportShow = (options) => (options?.client ?? client).get({
|
|
|
1155
1228
|
url: "/v1/user/export",
|
|
1156
1229
|
...options
|
|
1157
1230
|
});
|
|
1158
|
-
var
|
|
1159
|
-
security: [{
|
|
1231
|
+
var listLabs = (options) => (options?.client ?? client).get({
|
|
1232
|
+
security: [{
|
|
1160
1233
|
in: "cookie",
|
|
1161
1234
|
name: "nadeshiko.session_token",
|
|
1162
1235
|
type: "apiKey"
|
|
1163
1236
|
}],
|
|
1164
|
-
url: "/v1/labs",
|
|
1237
|
+
url: "/v1/user/labs",
|
|
1165
1238
|
...options
|
|
1166
1239
|
});
|
|
1167
|
-
var
|
|
1168
|
-
security: [{
|
|
1169
|
-
|
|
1240
|
+
var listCollections = (options) => (options?.client ?? client).get({
|
|
1241
|
+
security: [{
|
|
1242
|
+
in: "cookie",
|
|
1243
|
+
name: "nadeshiko.session_token",
|
|
1244
|
+
type: "apiKey"
|
|
1245
|
+
}],
|
|
1246
|
+
url: "/v1/collections",
|
|
1170
1247
|
...options
|
|
1171
1248
|
});
|
|
1172
|
-
var
|
|
1173
|
-
security: [{
|
|
1174
|
-
|
|
1249
|
+
var createCollection = (options) => (options.client ?? client).post({
|
|
1250
|
+
security: [{
|
|
1251
|
+
in: "cookie",
|
|
1252
|
+
name: "nadeshiko.session_token",
|
|
1253
|
+
type: "apiKey"
|
|
1254
|
+
}],
|
|
1255
|
+
url: "/v1/collections",
|
|
1175
1256
|
...options,
|
|
1176
1257
|
headers: {
|
|
1177
1258
|
"Content-Type": "application/json",
|
|
1178
1259
|
...options.headers
|
|
1179
1260
|
}
|
|
1180
1261
|
});
|
|
1181
|
-
var
|
|
1182
|
-
security: [{
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
url: "/v1/lists/{id}",
|
|
1262
|
+
var deleteCollection = (options) => (options.client ?? client).delete({
|
|
1263
|
+
security: [{
|
|
1264
|
+
in: "cookie",
|
|
1265
|
+
name: "nadeshiko.session_token",
|
|
1266
|
+
type: "apiKey"
|
|
1267
|
+
}],
|
|
1268
|
+
url: "/v1/collections/{id}",
|
|
1189
1269
|
...options
|
|
1190
1270
|
});
|
|
1191
|
-
var
|
|
1192
|
-
security: [{
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
}
|
|
1199
|
-
});
|
|
1200
|
-
var listAddItem = (options) => (options.client ?? client).post({
|
|
1201
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1202
|
-
url: "/v1/lists/{id}/items",
|
|
1203
|
-
...options,
|
|
1204
|
-
headers: {
|
|
1205
|
-
"Content-Type": "application/json",
|
|
1206
|
-
...options.headers
|
|
1207
|
-
}
|
|
1208
|
-
});
|
|
1209
|
-
var listRemoveItem = (options) => (options.client ?? client).delete({
|
|
1210
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
1211
|
-
url: "/v1/lists/{id}/items/{mediaId}",
|
|
1271
|
+
var getCollection = (options) => (options.client ?? client).get({
|
|
1272
|
+
security: [{
|
|
1273
|
+
in: "cookie",
|
|
1274
|
+
name: "nadeshiko.session_token",
|
|
1275
|
+
type: "apiKey"
|
|
1276
|
+
}],
|
|
1277
|
+
url: "/v1/collections/{id}",
|
|
1212
1278
|
...options
|
|
1213
1279
|
});
|
|
1214
|
-
var
|
|
1215
|
-
security: [{
|
|
1216
|
-
|
|
1280
|
+
var updateCollection = (options) => (options.client ?? client).patch({
|
|
1281
|
+
security: [{
|
|
1282
|
+
in: "cookie",
|
|
1283
|
+
name: "nadeshiko.session_token",
|
|
1284
|
+
type: "apiKey"
|
|
1285
|
+
}],
|
|
1286
|
+
url: "/v1/collections/{id}",
|
|
1217
1287
|
...options,
|
|
1218
1288
|
headers: {
|
|
1219
1289
|
"Content-Type": "application/json",
|
|
1220
1290
|
...options.headers
|
|
1221
1291
|
}
|
|
1222
1292
|
});
|
|
1223
|
-
var
|
|
1224
|
-
security: [{
|
|
1225
|
-
in: "cookie",
|
|
1226
|
-
name: "nadeshiko.session_token",
|
|
1227
|
-
type: "apiKey"
|
|
1228
|
-
}],
|
|
1229
|
-
url: "/v1/lists/{id}/segments",
|
|
1230
|
-
...options
|
|
1231
|
-
});
|
|
1232
|
-
var listAddSegment = (options) => (options.client ?? client).post({
|
|
1233
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
1293
|
+
var addSegmentToCollection = (options) => (options.client ?? client).post({
|
|
1294
|
+
security: [{
|
|
1234
1295
|
in: "cookie",
|
|
1235
1296
|
name: "nadeshiko.session_token",
|
|
1236
1297
|
type: "apiKey"
|
|
1237
1298
|
}],
|
|
1238
|
-
url: "/v1/
|
|
1299
|
+
url: "/v1/collections/{id}/segments",
|
|
1239
1300
|
...options,
|
|
1240
1301
|
headers: {
|
|
1241
1302
|
"Content-Type": "application/json",
|
|
1242
1303
|
...options.headers
|
|
1243
1304
|
}
|
|
1244
1305
|
});
|
|
1245
|
-
var
|
|
1246
|
-
security: [{
|
|
1306
|
+
var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
|
|
1307
|
+
security: [{
|
|
1247
1308
|
in: "cookie",
|
|
1248
1309
|
name: "nadeshiko.session_token",
|
|
1249
1310
|
type: "apiKey"
|
|
1250
1311
|
}],
|
|
1251
|
-
url: "/v1/
|
|
1312
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1252
1313
|
...options
|
|
1253
1314
|
});
|
|
1254
|
-
var
|
|
1255
|
-
security: [{
|
|
1315
|
+
var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
1316
|
+
security: [{
|
|
1256
1317
|
in: "cookie",
|
|
1257
1318
|
name: "nadeshiko.session_token",
|
|
1258
1319
|
type: "apiKey"
|
|
1259
1320
|
}],
|
|
1260
|
-
url: "/v1/
|
|
1321
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1261
1322
|
...options,
|
|
1262
1323
|
headers: {
|
|
1263
1324
|
"Content-Type": "application/json",
|
|
1264
1325
|
...options.headers
|
|
1265
1326
|
}
|
|
1266
1327
|
});
|
|
1267
|
-
var
|
|
1328
|
+
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1329
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1330
|
+
url: "/v1/admin/dashboard",
|
|
1331
|
+
...options
|
|
1332
|
+
});
|
|
1333
|
+
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1334
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1335
|
+
url: "/v1/admin/health",
|
|
1336
|
+
...options
|
|
1337
|
+
});
|
|
1338
|
+
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1268
1339
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1269
1340
|
url: "/v1/admin/reindex",
|
|
1270
1341
|
...options,
|
|
@@ -1273,46 +1344,37 @@ var adminReindexCreate = (options) => (options?.client ?? client).post({
|
|
|
1273
1344
|
...options?.headers
|
|
1274
1345
|
}
|
|
1275
1346
|
});
|
|
1276
|
-
var
|
|
1347
|
+
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1277
1348
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1278
1349
|
url: "/v1/admin/queues/stats",
|
|
1279
1350
|
...options
|
|
1280
1351
|
});
|
|
1281
|
-
var
|
|
1352
|
+
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1282
1353
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1283
1354
|
url: "/v1/admin/queues/{queueName}",
|
|
1284
1355
|
...options
|
|
1285
1356
|
});
|
|
1286
|
-
var
|
|
1357
|
+
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1287
1358
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1288
1359
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1289
1360
|
...options
|
|
1290
1361
|
});
|
|
1291
|
-
var
|
|
1362
|
+
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1292
1363
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1293
1364
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1294
1365
|
...options
|
|
1295
1366
|
});
|
|
1296
|
-
var
|
|
1367
|
+
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1297
1368
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1298
1369
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1299
1370
|
...options
|
|
1300
1371
|
});
|
|
1301
|
-
var
|
|
1302
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
1303
|
-
in: "cookie",
|
|
1304
|
-
name: "nadeshiko.session_token",
|
|
1305
|
-
type: "apiKey"
|
|
1306
|
-
}],
|
|
1307
|
-
url: "/v1/admin/morpheme-backfill",
|
|
1308
|
-
...options
|
|
1309
|
-
});
|
|
1310
|
-
var adminReportIndex = (options) => (options?.client ?? client).get({
|
|
1372
|
+
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1311
1373
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1312
1374
|
url: "/v1/admin/reports",
|
|
1313
1375
|
...options
|
|
1314
1376
|
});
|
|
1315
|
-
var
|
|
1377
|
+
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1316
1378
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1317
1379
|
url: "/v1/admin/reports/{id}",
|
|
1318
1380
|
...options,
|
|
@@ -1321,17 +1383,17 @@ var adminReportUpdate = (options) => (options.client ?? client).patch({
|
|
|
1321
1383
|
...options.headers
|
|
1322
1384
|
}
|
|
1323
1385
|
});
|
|
1324
|
-
var
|
|
1386
|
+
var runAdminReview = (options) => (options?.client ?? client).post({
|
|
1325
1387
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1326
1388
|
url: "/v1/admin/review/run",
|
|
1327
1389
|
...options
|
|
1328
1390
|
});
|
|
1329
|
-
var
|
|
1391
|
+
var listAdminReviewChecks = (options) => (options?.client ?? client).get({
|
|
1330
1392
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1331
1393
|
url: "/v1/admin/review/checks",
|
|
1332
1394
|
...options
|
|
1333
1395
|
});
|
|
1334
|
-
var
|
|
1396
|
+
var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
|
|
1335
1397
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1336
1398
|
url: "/v1/admin/review/checks/{name}",
|
|
1337
1399
|
...options,
|
|
@@ -1340,22 +1402,22 @@ var adminReviewCheckUpdate = (options) => (options.client ?? client).patch({
|
|
|
1340
1402
|
...options.headers
|
|
1341
1403
|
}
|
|
1342
1404
|
});
|
|
1343
|
-
var
|
|
1405
|
+
var listAdminReviewRuns = (options) => (options?.client ?? client).get({
|
|
1344
1406
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1345
1407
|
url: "/v1/admin/review/runs",
|
|
1346
1408
|
...options
|
|
1347
1409
|
});
|
|
1348
|
-
var
|
|
1410
|
+
var getAdminReviewRun = (options) => (options.client ?? client).get({
|
|
1349
1411
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1350
1412
|
url: "/v1/admin/review/runs/{id}",
|
|
1351
1413
|
...options
|
|
1352
1414
|
});
|
|
1353
|
-
var
|
|
1415
|
+
var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
|
|
1354
1416
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1355
1417
|
url: "/v1/admin/review/allowlist",
|
|
1356
1418
|
...options
|
|
1357
1419
|
});
|
|
1358
|
-
var
|
|
1420
|
+
var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
|
|
1359
1421
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1360
1422
|
url: "/v1/admin/review/allowlist",
|
|
1361
1423
|
...options,
|
|
@@ -1364,7 +1426,7 @@ var adminReviewAllowlistCreate = (options) => (options.client ?? client).post({
|
|
|
1364
1426
|
...options.headers
|
|
1365
1427
|
}
|
|
1366
1428
|
});
|
|
1367
|
-
var
|
|
1429
|
+
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1368
1430
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1369
1431
|
url: "/v1/admin/review/allowlist/{id}",
|
|
1370
1432
|
...options
|
|
@@ -1383,100 +1445,116 @@ function createNadeshikoClient(config) {
|
|
|
1383
1445
|
}));
|
|
1384
1446
|
return {
|
|
1385
1447
|
client: clientInstance,
|
|
1386
|
-
|
|
1387
|
-
|
|
1448
|
+
search: (options) => search({ ...options, client: clientInstance }),
|
|
1449
|
+
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1388
1450
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1451
|
+
listMedia: (options) => listMedia({ ...options, client: clientInstance }),
|
|
1452
|
+
getMedia: (options) => getMedia({ ...options, client: clientInstance }),
|
|
1453
|
+
listEpisodes: (options) => listEpisodes({ ...options, client: clientInstance }),
|
|
1454
|
+
getEpisode: (options) => getEpisode({ ...options, client: clientInstance }),
|
|
1455
|
+
getSegment: (options) => getSegment({ ...options, client: clientInstance }),
|
|
1456
|
+
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1457
|
+
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1458
|
+
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1459
|
+
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1460
|
+
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1461
|
+
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1462
|
+
getQuota: (options) => getQuota({ ...options, client: clientInstance }),
|
|
1463
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1464
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1465
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
1466
|
+
updateCollection: (options) => updateCollection({ ...options, client: clientInstance }),
|
|
1467
|
+
deleteCollection: (options) => deleteCollection({ ...options, client: clientInstance }),
|
|
1468
|
+
addSegmentToCollection: (options) => addSegmentToCollection({ ...options, client: clientInstance }),
|
|
1469
|
+
updateCollectionSegment: (options) => updateCollectionSegment({ ...options, client: clientInstance }),
|
|
1470
|
+
removeSegmentFromCollection: (options) => removeSegmentFromCollection({ ...options, client: clientInstance }),
|
|
1471
|
+
triggerReindex: (options) => triggerReindex({ ...options, client: clientInstance }),
|
|
1472
|
+
listAdminQueueStats: (options) => listAdminQueueStats({ ...options, client: clientInstance }),
|
|
1473
|
+
getAdminQueue: (options) => getAdminQueue({ ...options, client: clientInstance }),
|
|
1474
|
+
listAdminQueueFailed: (options) => listAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1475
|
+
retryAdminQueueFailed: (options) => retryAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1476
|
+
purgeAdminQueueFailed: (options) => purgeAdminQueueFailed({ ...options, client: clientInstance }),
|
|
1477
|
+
listAdminReports: (options) => listAdminReports({ ...options, client: clientInstance }),
|
|
1478
|
+
updateAdminReport: (options) => updateAdminReport({ ...options, client: clientInstance }),
|
|
1479
|
+
runAdminReview: (options) => runAdminReview({ ...options, client: clientInstance }),
|
|
1480
|
+
listAdminReviewChecks: (options) => listAdminReviewChecks({ ...options, client: clientInstance }),
|
|
1481
|
+
updateAdminReviewCheck: (options) => updateAdminReviewCheck({ ...options, client: clientInstance }),
|
|
1482
|
+
listAdminReviewRuns: (options) => listAdminReviewRuns({ ...options, client: clientInstance }),
|
|
1483
|
+
getAdminReviewRun: (options) => getAdminReviewRun({ ...options, client: clientInstance }),
|
|
1484
|
+
listAdminReviewAllowlist: (options) => listAdminReviewAllowlist({ ...options, client: clientInstance }),
|
|
1485
|
+
createAdminReviewAllowlistEntry: (options) => createAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1486
|
+
deleteAdminReviewAllowlistEntry: (options) => deleteAdminReviewAllowlistEntry({ ...options, client: clientInstance }),
|
|
1487
|
+
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1488
|
+
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1489
|
+
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1490
|
+
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
1491
|
+
updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
|
|
1492
|
+
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1493
|
+
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1494
|
+
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1495
|
+
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1496
|
+
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1497
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1498
|
+
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1499
|
+
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
1500
|
+
addMediaToSeries: (options) => addMediaToSeries({ ...options, client: clientInstance }),
|
|
1501
|
+
updateSeriesMedia: (options) => updateSeriesMedia({ ...options, client: clientInstance }),
|
|
1502
|
+
removeMediaFromSeries: (options) => removeMediaFromSeries({ ...options, client: clientInstance }),
|
|
1503
|
+
createReport: (options) => createReport({ ...options, client: clientInstance }),
|
|
1504
|
+
listReports: (options) => listReports({ ...options, client: clientInstance }),
|
|
1505
|
+
getPreferences: (options) => getPreferences({ ...options, client: clientInstance }),
|
|
1506
|
+
updatePreferences: (options) => updatePreferences({ ...options, client: clientInstance }),
|
|
1507
|
+
listActivity: (options) => listActivity({ ...options, client: clientInstance }),
|
|
1508
|
+
deleteActivity: (options) => deleteActivity({ ...options, client: clientInstance }),
|
|
1509
|
+
getActivityHeatmap: (options) => getActivityHeatmap({ ...options, client: clientInstance }),
|
|
1510
|
+
getActivityStats: (options) => getActivityStats({ ...options, client: clientInstance }),
|
|
1511
|
+
exportData: (options) => exportData({ ...options, client: clientInstance }),
|
|
1512
|
+
listLabs: (options) => listLabs({ ...options, client: clientInstance }),
|
|
1513
|
+
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1514
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1448
1515
|
};
|
|
1449
1516
|
}
|
|
1450
1517
|
var createClient2 = createNadeshikoClient;
|
|
1451
|
-
// generated/dev/internal/search.gen.ts
|
|
1452
|
-
var exports_search_gen = {};
|
|
1453
|
-
__export(exports_search_gen, {
|
|
1454
|
-
healthCheck: () => healthCheck
|
|
1455
|
-
});
|
|
1456
1518
|
// generated/dev/internal/media.gen.ts
|
|
1457
1519
|
var exports_media_gen = {};
|
|
1458
1520
|
__export(exports_media_gen, {
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1521
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
1522
|
+
updateSeries: () => updateSeries,
|
|
1523
|
+
updateSegment: () => updateSegment,
|
|
1524
|
+
updateMedia: () => updateMedia,
|
|
1525
|
+
updateEpisode: () => updateEpisode,
|
|
1526
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
1527
|
+
listSegments: () => listSegments,
|
|
1528
|
+
deleteSeries: () => deleteSeries,
|
|
1529
|
+
deleteSegment: () => deleteSegment,
|
|
1530
|
+
deleteMedia: () => deleteMedia,
|
|
1531
|
+
deleteEpisode: () => deleteEpisode,
|
|
1532
|
+
createSeries: () => createSeries,
|
|
1533
|
+
createSegment: () => createSegment,
|
|
1534
|
+
createMedia: () => createMedia,
|
|
1535
|
+
createEpisode: () => createEpisode,
|
|
1536
|
+
addMediaToSeries: () => addMediaToSeries
|
|
1537
|
+
});
|
|
1538
|
+
// generated/dev/internal/user.gen.ts
|
|
1539
|
+
var exports_user_gen = {};
|
|
1540
|
+
__export(exports_user_gen, {
|
|
1541
|
+
updatePreferences: () => updatePreferences,
|
|
1542
|
+
listReports: () => listReports,
|
|
1543
|
+
listLabs: () => listLabs,
|
|
1544
|
+
listActivity: () => listActivity,
|
|
1545
|
+
getPreferences: () => getPreferences,
|
|
1546
|
+
getActivityStats: () => getActivityStats,
|
|
1547
|
+
getActivityHeatmap: () => getActivityHeatmap,
|
|
1548
|
+
exportData: () => exportData,
|
|
1549
|
+
deleteActivity: () => deleteActivity,
|
|
1550
|
+
createReport: () => createReport
|
|
1551
|
+
});
|
|
1552
|
+
// generated/dev/internal/admin.gen.ts
|
|
1553
|
+
var exports_admin_gen = {};
|
|
1554
|
+
__export(exports_admin_gen, {
|
|
1555
|
+
getAdminHealth: () => getAdminHealth,
|
|
1556
|
+
getAdminDashboard: () => getAdminDashboard
|
|
1479
1557
|
});
|
|
1480
1558
|
|
|
1481
|
-
//# debugId=
|
|
1559
|
+
//# debugId=1A71ABED851E7ACE64756E2164756E21
|
|
1482
1560
|
//# sourceMappingURL=index.js.map
|