@brigadasos/nadeshiko-sdk 1.4.0-dev.c253525 → 1.4.3-dev.09dcbc3
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 +129 -8
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/index.cjs +470 -248
- package/dist/index.cjs.map +5 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +466 -244
- package/dist/index.js.map +5 -5
- 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 +76 -47
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +369 -169
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +2942 -1718
- 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
|
@@ -26,71 +26,90 @@ var __export = (target, all) => {
|
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
// generated/
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
// generated/dev/index.ts
|
|
30
|
+
var exports_dev = {};
|
|
31
|
+
__export(exports_dev, {
|
|
32
|
+
user: () => exports_user_gen,
|
|
33
|
+
updateUserPreferences: () => updateUserPreferences,
|
|
34
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
35
|
+
updateSeries: () => updateSeries,
|
|
36
|
+
updateSegment: () => updateSegment,
|
|
37
|
+
updateMedia: () => updateMedia,
|
|
38
|
+
updateEpisode: () => updateEpisode,
|
|
39
|
+
updateCollectionSegment: () => updateCollectionSegment,
|
|
40
|
+
updateCollection: () => updateCollection,
|
|
41
|
+
updateAdminReviewCheck: () => updateAdminReviewCheck,
|
|
42
|
+
updateAdminReport: () => updateAdminReport,
|
|
43
|
+
triggerReindex: () => triggerReindex,
|
|
40
44
|
searchWords: () => searchWords,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
mediaUpdate: () => mediaUpdate,
|
|
48
|
-
mediaShow: () => mediaShow,
|
|
49
|
-
mediaIndex: () => mediaIndex,
|
|
50
|
-
mediaDestroy: () => mediaDestroy,
|
|
51
|
-
mediaCreate: () => mediaCreate,
|
|
45
|
+
search: () => search,
|
|
46
|
+
runAdminReview: () => runAdminReview,
|
|
47
|
+
retryAdminQueueFailed: () => retryAdminQueueFailed,
|
|
48
|
+
removeSegmentFromCollection: () => removeSegmentFromCollection,
|
|
49
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
50
|
+
purgeAdminQueueFailed: () => purgeAdminQueueFailed,
|
|
52
51
|
media: () => exports_media_gen,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
getUserReports: () => getUserReports,
|
|
52
|
+
listUserReports: () => listUserReports,
|
|
53
|
+
listUserLabs: () => listUserLabs,
|
|
54
|
+
listUserActivity: () => listUserActivity,
|
|
55
|
+
listSeries: () => listSeries,
|
|
56
|
+
listSegments: () => listSegments,
|
|
57
|
+
listMedia: () => listMedia,
|
|
58
|
+
listEpisodes: () => listEpisodes,
|
|
59
|
+
listCollections: () => listCollections,
|
|
60
|
+
listAdminReviewRuns: () => listAdminReviewRuns,
|
|
61
|
+
listAdminReviewChecks: () => listAdminReviewChecks,
|
|
62
|
+
listAdminReviewAllowlist: () => listAdminReviewAllowlist,
|
|
63
|
+
listAdminReports: () => listAdminReports,
|
|
64
|
+
listAdminQueueStats: () => listAdminQueueStats,
|
|
65
|
+
listAdminQueueFailed: () => listAdminQueueFailed,
|
|
68
66
|
getUserQuota: () => getUserQuota,
|
|
67
|
+
getUserPreferences: () => getUserPreferences,
|
|
68
|
+
getUserActivityStats: () => getUserActivityStats,
|
|
69
|
+
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
70
|
+
getSeries: () => getSeries,
|
|
71
|
+
getSeiyuu: () => getSeiyuu,
|
|
69
72
|
getSegmentContext: () => getSegmentContext,
|
|
73
|
+
getSegmentByUuid: () => getSegmentByUuid,
|
|
74
|
+
getSegment: () => getSegment,
|
|
70
75
|
getSearchStats: () => getSearchStats,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
getMedia: () => getMedia,
|
|
77
|
+
getEpisode: () => getEpisode,
|
|
78
|
+
getCollection: () => getCollection,
|
|
79
|
+
getCharacter: () => getCharacter,
|
|
80
|
+
getAdminReviewRun: () => getAdminReviewRun,
|
|
81
|
+
getAdminQueue: () => getAdminQueue,
|
|
82
|
+
getAdminHealth: () => getAdminHealth,
|
|
83
|
+
getAdminDashboard: () => getAdminDashboard,
|
|
84
|
+
exportUserData: () => exportUserData,
|
|
85
|
+
deleteUserActivity: () => deleteUserActivity,
|
|
86
|
+
deleteSeries: () => deleteSeries,
|
|
87
|
+
deleteSegment: () => deleteSegment,
|
|
88
|
+
deleteMedia: () => deleteMedia,
|
|
89
|
+
deleteEpisode: () => deleteEpisode,
|
|
90
|
+
deleteCollection: () => deleteCollection,
|
|
91
|
+
deleteAdminReviewAllowlistEntry: () => deleteAdminReviewAllowlistEntry,
|
|
92
|
+
createUserReport: () => createUserReport,
|
|
93
|
+
createSeries: () => createSeries,
|
|
94
|
+
createSegment: () => createSegment,
|
|
81
95
|
createNadeshikoClient: () => createNadeshikoClient,
|
|
82
|
-
|
|
96
|
+
createMedia: () => createMedia,
|
|
97
|
+
createEpisode: () => createEpisode,
|
|
98
|
+
createCollection: () => createCollection,
|
|
99
|
+
createAdminReviewAllowlistEntry: () => createAdminReviewAllowlistEntry,
|
|
83
100
|
client: () => client,
|
|
84
|
-
|
|
85
|
-
|
|
101
|
+
autocompleteMedia: () => autocompleteMedia,
|
|
102
|
+
admin: () => exports_admin_gen,
|
|
103
|
+
addSegmentToCollection: () => addSegmentToCollection,
|
|
104
|
+
addMediaToSeries: () => addMediaToSeries
|
|
86
105
|
});
|
|
87
|
-
module.exports = __toCommonJS(
|
|
106
|
+
module.exports = __toCommonJS(exports_dev);
|
|
88
107
|
|
|
89
|
-
// generated/
|
|
108
|
+
// generated/dev/core/bodySerializer.gen.ts
|
|
90
109
|
var jsonBodySerializer = {
|
|
91
110
|
bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value)
|
|
92
111
|
};
|
|
93
|
-
// generated/
|
|
112
|
+
// generated/dev/core/params.gen.ts
|
|
94
113
|
var extraPrefixesMap = {
|
|
95
114
|
$body_: "body",
|
|
96
115
|
$headers_: "headers",
|
|
@@ -98,7 +117,7 @@ var extraPrefixesMap = {
|
|
|
98
117
|
$query_: "query"
|
|
99
118
|
};
|
|
100
119
|
var extraPrefixes = Object.entries(extraPrefixesMap);
|
|
101
|
-
// generated/
|
|
120
|
+
// generated/dev/core/serverSentEvents.gen.ts
|
|
102
121
|
var createSseClient = ({
|
|
103
122
|
onRequest,
|
|
104
123
|
onSseError,
|
|
@@ -234,7 +253,7 @@ var createSseClient = ({
|
|
|
234
253
|
return { stream };
|
|
235
254
|
};
|
|
236
255
|
|
|
237
|
-
// generated/
|
|
256
|
+
// generated/dev/core/pathSerializer.gen.ts
|
|
238
257
|
var separatorArrayExplode = (style) => {
|
|
239
258
|
switch (style) {
|
|
240
259
|
case "label":
|
|
@@ -358,7 +377,7 @@ var serializeObjectParam = ({
|
|
|
358
377
|
return style === "label" || style === "matrix" ? separator + joinedValues : joinedValues;
|
|
359
378
|
};
|
|
360
379
|
|
|
361
|
-
// generated/
|
|
380
|
+
// generated/dev/core/utils.gen.ts
|
|
362
381
|
var PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
363
382
|
var defaultPathSerializer = ({ path, url: _url }) => {
|
|
364
383
|
let url = _url;
|
|
@@ -447,7 +466,7 @@ function getValidRequestBody(options) {
|
|
|
447
466
|
return;
|
|
448
467
|
}
|
|
449
468
|
|
|
450
|
-
// generated/
|
|
469
|
+
// generated/dev/core/auth.gen.ts
|
|
451
470
|
var getAuthToken = async (auth, callback) => {
|
|
452
471
|
const token = typeof callback === "function" ? await callback(auth) : callback;
|
|
453
472
|
if (!token) {
|
|
@@ -462,7 +481,7 @@ var getAuthToken = async (auth, callback) => {
|
|
|
462
481
|
return token;
|
|
463
482
|
};
|
|
464
483
|
|
|
465
|
-
// generated/
|
|
484
|
+
// generated/dev/client/utils.gen.ts
|
|
466
485
|
var createQuerySerializer = ({
|
|
467
486
|
parameters = {},
|
|
468
487
|
...args
|
|
@@ -679,7 +698,7 @@ var createConfig = (override = {}) => ({
|
|
|
679
698
|
...override
|
|
680
699
|
});
|
|
681
700
|
|
|
682
|
-
// generated/
|
|
701
|
+
// generated/dev/client/client.gen.ts
|
|
683
702
|
var createClient = (config = {}) => {
|
|
684
703
|
let _config = mergeConfigs(createConfig(), config);
|
|
685
704
|
const getConfig = () => ({ ..._config });
|
|
@@ -885,22 +904,17 @@ var createClient = (config = {}) => {
|
|
|
885
904
|
trace: makeMethodFn("TRACE")
|
|
886
905
|
};
|
|
887
906
|
};
|
|
888
|
-
// generated/
|
|
907
|
+
// generated/dev/client.gen.ts
|
|
889
908
|
var client = createClient(createConfig({ baseUrl: "http://localhost:5000" }));
|
|
890
909
|
|
|
891
|
-
// generated/
|
|
892
|
-
var
|
|
893
|
-
security: [{ scheme: "bearer", type: "http" }],
|
|
894
|
-
url: "/v1/health",
|
|
895
|
-
...options
|
|
896
|
-
});
|
|
897
|
-
var searchSegments = (options) => (options?.client ?? client).post({
|
|
910
|
+
// generated/dev/sdk.gen.ts
|
|
911
|
+
var search = (options) => (options?.client ?? client).post({
|
|
898
912
|
security: [{ scheme: "bearer", type: "http" }, {
|
|
899
913
|
in: "cookie",
|
|
900
914
|
name: "nadeshiko.session_token",
|
|
901
915
|
type: "apiKey"
|
|
902
916
|
}],
|
|
903
|
-
url: "/v1/search
|
|
917
|
+
url: "/v1/search",
|
|
904
918
|
...options,
|
|
905
919
|
headers: {
|
|
906
920
|
"Content-Type": "application/json",
|
|
@@ -933,34 +947,12 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
933
947
|
...options.headers
|
|
934
948
|
}
|
|
935
949
|
});
|
|
936
|
-
var
|
|
937
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
938
|
-
in: "cookie",
|
|
939
|
-
name: "nadeshiko.session_token",
|
|
940
|
-
type: "apiKey"
|
|
941
|
-
}],
|
|
942
|
-
url: "/v1/search/context",
|
|
943
|
-
...options,
|
|
944
|
-
headers: {
|
|
945
|
-
"Content-Type": "application/json",
|
|
946
|
-
...options.headers
|
|
947
|
-
}
|
|
948
|
-
});
|
|
949
|
-
var browseMedia = (options) => (options?.client ?? client).get({
|
|
950
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
951
|
-
in: "cookie",
|
|
952
|
-
name: "nadeshiko.session_token",
|
|
953
|
-
type: "apiKey"
|
|
954
|
-
}],
|
|
955
|
-
url: "/v1/media/browse",
|
|
956
|
-
...options
|
|
957
|
-
});
|
|
958
|
-
var mediaIndex = (options) => (options?.client ?? client).get({
|
|
950
|
+
var listMedia = (options) => (options?.client ?? client).get({
|
|
959
951
|
security: [{ scheme: "bearer", type: "http" }],
|
|
960
952
|
url: "/v1/media",
|
|
961
953
|
...options
|
|
962
954
|
});
|
|
963
|
-
var
|
|
955
|
+
var createMedia = (options) => (options.client ?? client).post({
|
|
964
956
|
security: [{ scheme: "bearer", type: "http" }],
|
|
965
957
|
url: "/v1/media",
|
|
966
958
|
...options,
|
|
@@ -969,17 +961,22 @@ var mediaCreate = (options) => (options.client ?? client).post({
|
|
|
969
961
|
...options.headers
|
|
970
962
|
}
|
|
971
963
|
});
|
|
972
|
-
var
|
|
964
|
+
var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
965
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
966
|
+
url: "/v1/media/autocomplete",
|
|
967
|
+
...options
|
|
968
|
+
});
|
|
969
|
+
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
973
970
|
security: [{ scheme: "bearer", type: "http" }],
|
|
974
971
|
url: "/v1/media/{id}",
|
|
975
972
|
...options
|
|
976
973
|
});
|
|
977
|
-
var
|
|
974
|
+
var getMedia = (options) => (options.client ?? client).get({
|
|
978
975
|
security: [{ scheme: "bearer", type: "http" }],
|
|
979
976
|
url: "/v1/media/{id}",
|
|
980
977
|
...options
|
|
981
978
|
});
|
|
982
|
-
var
|
|
979
|
+
var updateMedia = (options) => (options.client ?? client).patch({
|
|
983
980
|
security: [{ scheme: "bearer", type: "http" }],
|
|
984
981
|
url: "/v1/media/{id}",
|
|
985
982
|
...options,
|
|
@@ -988,12 +985,12 @@ var mediaUpdate = (options) => (options.client ?? client).patch({
|
|
|
988
985
|
...options.headers
|
|
989
986
|
}
|
|
990
987
|
});
|
|
991
|
-
var
|
|
988
|
+
var listEpisodes = (options) => (options.client ?? client).get({
|
|
992
989
|
security: [{ scheme: "bearer", type: "http" }],
|
|
993
990
|
url: "/v1/media/{mediaId}/episodes",
|
|
994
991
|
...options
|
|
995
992
|
});
|
|
996
|
-
var
|
|
993
|
+
var createEpisode = (options) => (options.client ?? client).post({
|
|
997
994
|
security: [{ scheme: "bearer", type: "http" }],
|
|
998
995
|
url: "/v1/media/{mediaId}/episodes",
|
|
999
996
|
...options,
|
|
@@ -1002,17 +999,17 @@ var episodeCreate = (options) => (options.client ?? client).post({
|
|
|
1002
999
|
...options.headers
|
|
1003
1000
|
}
|
|
1004
1001
|
});
|
|
1005
|
-
var
|
|
1002
|
+
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
1006
1003
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1007
1004
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1008
1005
|
...options
|
|
1009
1006
|
});
|
|
1010
|
-
var
|
|
1007
|
+
var getEpisode = (options) => (options.client ?? client).get({
|
|
1011
1008
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1012
1009
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1013
1010
|
...options
|
|
1014
1011
|
});
|
|
1015
|
-
var
|
|
1012
|
+
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1016
1013
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1017
1014
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1018
1015
|
...options,
|
|
@@ -1021,12 +1018,12 @@ var episodeUpdate = (options) => (options.client ?? client).patch({
|
|
|
1021
1018
|
...options.headers
|
|
1022
1019
|
}
|
|
1023
1020
|
});
|
|
1024
|
-
var
|
|
1021
|
+
var listSegments = (options) => (options.client ?? client).get({
|
|
1025
1022
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1026
1023
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1027
1024
|
...options
|
|
1028
1025
|
});
|
|
1029
|
-
var
|
|
1026
|
+
var createSegment = (options) => (options.client ?? client).post({
|
|
1030
1027
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1031
1028
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1032
1029
|
...options,
|
|
@@ -1035,17 +1032,17 @@ var segmentCreate = (options) => (options.client ?? client).post({
|
|
|
1035
1032
|
...options.headers
|
|
1036
1033
|
}
|
|
1037
1034
|
});
|
|
1038
|
-
var
|
|
1035
|
+
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1039
1036
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1040
1037
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1041
1038
|
...options
|
|
1042
1039
|
});
|
|
1043
|
-
var
|
|
1040
|
+
var getSegment = (options) => (options.client ?? client).get({
|
|
1044
1041
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1045
1042
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1046
1043
|
...options
|
|
1047
1044
|
});
|
|
1048
|
-
var
|
|
1045
|
+
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1049
1046
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1050
1047
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1051
1048
|
...options,
|
|
@@ -1054,17 +1051,86 @@ var segmentUpdate = (options) => (options.client ?? client).patch({
|
|
|
1054
1051
|
...options.headers
|
|
1055
1052
|
}
|
|
1056
1053
|
});
|
|
1057
|
-
var
|
|
1054
|
+
var getSegmentByUuid = (options) => (options.client ?? client).get({
|
|
1058
1055
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1059
1056
|
url: "/v1/media/segments/{uuid}",
|
|
1060
1057
|
...options
|
|
1061
1058
|
});
|
|
1062
|
-
var
|
|
1059
|
+
var getSegmentContext = (options) => (options.client ?? client).get({
|
|
1060
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1061
|
+
url: "/v1/media/segments/{uuid}/context",
|
|
1062
|
+
...options
|
|
1063
|
+
});
|
|
1064
|
+
var listSeries = (options) => (options?.client ?? client).get({
|
|
1065
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1066
|
+
in: "cookie",
|
|
1067
|
+
name: "nadeshiko.session_token",
|
|
1068
|
+
type: "apiKey"
|
|
1069
|
+
}],
|
|
1070
|
+
url: "/v1/media/series",
|
|
1071
|
+
...options
|
|
1072
|
+
});
|
|
1073
|
+
var createSeries = (options) => (options.client ?? client).post({
|
|
1074
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1075
|
+
url: "/v1/media/series",
|
|
1076
|
+
...options,
|
|
1077
|
+
headers: {
|
|
1078
|
+
"Content-Type": "application/json",
|
|
1079
|
+
...options.headers
|
|
1080
|
+
}
|
|
1081
|
+
});
|
|
1082
|
+
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
1083
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1084
|
+
url: "/v1/media/series/{id}",
|
|
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}",
|
|
1094
|
+
...options
|
|
1095
|
+
});
|
|
1096
|
+
var updateSeries = (options) => (options.client ?? client).patch({
|
|
1097
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1098
|
+
url: "/v1/media/series/{id}",
|
|
1099
|
+
...options,
|
|
1100
|
+
headers: {
|
|
1101
|
+
"Content-Type": "application/json",
|
|
1102
|
+
...options.headers
|
|
1103
|
+
}
|
|
1104
|
+
});
|
|
1105
|
+
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
1106
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1107
|
+
url: "/v1/media/series/{id}/media",
|
|
1108
|
+
...options,
|
|
1109
|
+
headers: {
|
|
1110
|
+
"Content-Type": "application/json",
|
|
1111
|
+
...options.headers
|
|
1112
|
+
}
|
|
1113
|
+
});
|
|
1114
|
+
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
1115
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1116
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1117
|
+
...options
|
|
1118
|
+
});
|
|
1119
|
+
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
1120
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1121
|
+
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
1122
|
+
...options,
|
|
1123
|
+
headers: {
|
|
1124
|
+
"Content-Type": "application/json",
|
|
1125
|
+
...options.headers
|
|
1126
|
+
}
|
|
1127
|
+
});
|
|
1128
|
+
var getCharacter = (options) => (options.client ?? client).get({
|
|
1063
1129
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1064
1130
|
url: "/v1/media/characters/{id}",
|
|
1065
1131
|
...options
|
|
1066
1132
|
});
|
|
1067
|
-
var
|
|
1133
|
+
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
1068
1134
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1069
1135
|
url: "/v1/media/seiyuu/{id}",
|
|
1070
1136
|
...options
|
|
@@ -1074,11 +1140,11 @@ var getUserQuota = (options) => (options?.client ?? client).get({
|
|
|
1074
1140
|
in: "cookie",
|
|
1075
1141
|
name: "nadeshiko.session_token",
|
|
1076
1142
|
type: "apiKey"
|
|
1077
|
-
}],
|
|
1143
|
+
}, { scheme: "bearer", type: "http" }],
|
|
1078
1144
|
url: "/v1/user/quota",
|
|
1079
1145
|
...options
|
|
1080
1146
|
});
|
|
1081
|
-
var
|
|
1147
|
+
var listUserReports = (options) => (options?.client ?? client).get({
|
|
1082
1148
|
security: [{
|
|
1083
1149
|
in: "cookie",
|
|
1084
1150
|
name: "nadeshiko.session_token",
|
|
@@ -1087,7 +1153,7 @@ var getUserReports = (options) => (options?.client ?? client).get({
|
|
|
1087
1153
|
url: "/v1/user/reports",
|
|
1088
1154
|
...options
|
|
1089
1155
|
});
|
|
1090
|
-
var
|
|
1156
|
+
var createUserReport = (options) => (options.client ?? client).post({
|
|
1091
1157
|
security: [{
|
|
1092
1158
|
in: "cookie",
|
|
1093
1159
|
name: "nadeshiko.session_token",
|
|
@@ -1100,107 +1166,181 @@ var createReport = (options) => (options.client ?? client).post({
|
|
|
1100
1166
|
...options.headers
|
|
1101
1167
|
}
|
|
1102
1168
|
});
|
|
1103
|
-
var
|
|
1104
|
-
security: [{
|
|
1105
|
-
|
|
1169
|
+
var getUserPreferences = (options) => (options?.client ?? client).get({
|
|
1170
|
+
security: [{
|
|
1171
|
+
in: "cookie",
|
|
1172
|
+
name: "nadeshiko.session_token",
|
|
1173
|
+
type: "apiKey"
|
|
1174
|
+
}],
|
|
1175
|
+
url: "/v1/user/preferences",
|
|
1106
1176
|
...options
|
|
1107
1177
|
});
|
|
1108
|
-
var
|
|
1109
|
-
security: [{
|
|
1110
|
-
|
|
1178
|
+
var updateUserPreferences = (options) => (options.client ?? client).patch({
|
|
1179
|
+
security: [{
|
|
1180
|
+
in: "cookie",
|
|
1181
|
+
name: "nadeshiko.session_token",
|
|
1182
|
+
type: "apiKey"
|
|
1183
|
+
}],
|
|
1184
|
+
url: "/v1/user/preferences",
|
|
1111
1185
|
...options,
|
|
1112
1186
|
headers: {
|
|
1113
1187
|
"Content-Type": "application/json",
|
|
1114
1188
|
...options.headers
|
|
1115
1189
|
}
|
|
1116
1190
|
});
|
|
1117
|
-
var
|
|
1118
|
-
security: [{
|
|
1119
|
-
|
|
1191
|
+
var deleteUserActivity = (options) => (options?.client ?? client).delete({
|
|
1192
|
+
security: [{
|
|
1193
|
+
in: "cookie",
|
|
1194
|
+
name: "nadeshiko.session_token",
|
|
1195
|
+
type: "apiKey"
|
|
1196
|
+
}],
|
|
1197
|
+
url: "/v1/user/activity",
|
|
1120
1198
|
...options
|
|
1121
1199
|
});
|
|
1122
|
-
var
|
|
1123
|
-
security: [{
|
|
1124
|
-
|
|
1200
|
+
var listUserActivity = (options) => (options?.client ?? client).get({
|
|
1201
|
+
security: [{
|
|
1202
|
+
in: "cookie",
|
|
1203
|
+
name: "nadeshiko.session_token",
|
|
1204
|
+
type: "apiKey"
|
|
1205
|
+
}],
|
|
1206
|
+
url: "/v1/user/activity",
|
|
1125
1207
|
...options
|
|
1126
1208
|
});
|
|
1127
|
-
var
|
|
1128
|
-
security: [{
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1209
|
+
var getUserActivityHeatmap = (options) => (options?.client ?? client).get({
|
|
1210
|
+
security: [{
|
|
1211
|
+
in: "cookie",
|
|
1212
|
+
name: "nadeshiko.session_token",
|
|
1213
|
+
type: "apiKey"
|
|
1214
|
+
}],
|
|
1215
|
+
url: "/v1/user/activity/heatmap",
|
|
1216
|
+
...options
|
|
1135
1217
|
});
|
|
1136
|
-
var
|
|
1137
|
-
security: [{
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1218
|
+
var getUserActivityStats = (options) => (options?.client ?? client).get({
|
|
1219
|
+
security: [{
|
|
1220
|
+
in: "cookie",
|
|
1221
|
+
name: "nadeshiko.session_token",
|
|
1222
|
+
type: "apiKey"
|
|
1223
|
+
}],
|
|
1224
|
+
url: "/v1/user/activity/stats",
|
|
1225
|
+
...options
|
|
1144
1226
|
});
|
|
1145
|
-
var
|
|
1146
|
-
security: [{
|
|
1147
|
-
|
|
1227
|
+
var exportUserData = (options) => (options?.client ?? client).get({
|
|
1228
|
+
security: [{
|
|
1229
|
+
in: "cookie",
|
|
1230
|
+
name: "nadeshiko.session_token",
|
|
1231
|
+
type: "apiKey"
|
|
1232
|
+
}],
|
|
1233
|
+
url: "/v1/user/export",
|
|
1148
1234
|
...options
|
|
1149
1235
|
});
|
|
1150
|
-
var
|
|
1151
|
-
security: [{
|
|
1152
|
-
|
|
1236
|
+
var listUserLabs = (options) => (options?.client ?? client).get({
|
|
1237
|
+
security: [{
|
|
1238
|
+
in: "cookie",
|
|
1239
|
+
name: "nadeshiko.session_token",
|
|
1240
|
+
type: "apiKey"
|
|
1241
|
+
}],
|
|
1242
|
+
url: "/v1/user/labs",
|
|
1243
|
+
...options
|
|
1244
|
+
});
|
|
1245
|
+
var listCollections = (options) => (options?.client ?? client).get({
|
|
1246
|
+
security: [{
|
|
1247
|
+
in: "cookie",
|
|
1248
|
+
name: "nadeshiko.session_token",
|
|
1249
|
+
type: "apiKey"
|
|
1250
|
+
}],
|
|
1251
|
+
url: "/v1/collections",
|
|
1252
|
+
...options
|
|
1253
|
+
});
|
|
1254
|
+
var createCollection = (options) => (options.client ?? client).post({
|
|
1255
|
+
security: [{
|
|
1256
|
+
in: "cookie",
|
|
1257
|
+
name: "nadeshiko.session_token",
|
|
1258
|
+
type: "apiKey"
|
|
1259
|
+
}],
|
|
1260
|
+
url: "/v1/collections",
|
|
1153
1261
|
...options,
|
|
1154
1262
|
headers: {
|
|
1155
1263
|
"Content-Type": "application/json",
|
|
1156
1264
|
...options.headers
|
|
1157
1265
|
}
|
|
1158
1266
|
});
|
|
1159
|
-
var
|
|
1160
|
-
security: [{
|
|
1267
|
+
var deleteCollection = (options) => (options.client ?? client).delete({
|
|
1268
|
+
security: [{
|
|
1161
1269
|
in: "cookie",
|
|
1162
1270
|
name: "nadeshiko.session_token",
|
|
1163
1271
|
type: "apiKey"
|
|
1164
1272
|
}],
|
|
1165
|
-
url: "/v1/
|
|
1273
|
+
url: "/v1/collections/{id}",
|
|
1166
1274
|
...options
|
|
1167
1275
|
});
|
|
1168
|
-
var
|
|
1169
|
-
security: [{
|
|
1276
|
+
var getCollection = (options) => (options.client ?? client).get({
|
|
1277
|
+
security: [{
|
|
1278
|
+
in: "cookie",
|
|
1279
|
+
name: "nadeshiko.session_token",
|
|
1280
|
+
type: "apiKey"
|
|
1281
|
+
}],
|
|
1282
|
+
url: "/v1/collections/{id}",
|
|
1283
|
+
...options
|
|
1284
|
+
});
|
|
1285
|
+
var updateCollection = (options) => (options.client ?? client).patch({
|
|
1286
|
+
security: [{
|
|
1170
1287
|
in: "cookie",
|
|
1171
1288
|
name: "nadeshiko.session_token",
|
|
1172
1289
|
type: "apiKey"
|
|
1173
1290
|
}],
|
|
1174
|
-
url: "/v1/
|
|
1291
|
+
url: "/v1/collections/{id}",
|
|
1175
1292
|
...options,
|
|
1176
1293
|
headers: {
|
|
1177
1294
|
"Content-Type": "application/json",
|
|
1178
1295
|
...options.headers
|
|
1179
1296
|
}
|
|
1180
1297
|
});
|
|
1181
|
-
var
|
|
1182
|
-
security: [{
|
|
1298
|
+
var addSegmentToCollection = (options) => (options.client ?? client).post({
|
|
1299
|
+
security: [{
|
|
1300
|
+
in: "cookie",
|
|
1301
|
+
name: "nadeshiko.session_token",
|
|
1302
|
+
type: "apiKey"
|
|
1303
|
+
}],
|
|
1304
|
+
url: "/v1/collections/{id}/segments",
|
|
1305
|
+
...options,
|
|
1306
|
+
headers: {
|
|
1307
|
+
"Content-Type": "application/json",
|
|
1308
|
+
...options.headers
|
|
1309
|
+
}
|
|
1310
|
+
});
|
|
1311
|
+
var removeSegmentFromCollection = (options) => (options.client ?? client).delete({
|
|
1312
|
+
security: [{
|
|
1183
1313
|
in: "cookie",
|
|
1184
1314
|
name: "nadeshiko.session_token",
|
|
1185
1315
|
type: "apiKey"
|
|
1186
1316
|
}],
|
|
1187
|
-
url: "/v1/
|
|
1317
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1188
1318
|
...options
|
|
1189
1319
|
});
|
|
1190
|
-
var
|
|
1191
|
-
security: [{
|
|
1320
|
+
var updateCollectionSegment = (options) => (options.client ?? client).patch({
|
|
1321
|
+
security: [{
|
|
1192
1322
|
in: "cookie",
|
|
1193
1323
|
name: "nadeshiko.session_token",
|
|
1194
1324
|
type: "apiKey"
|
|
1195
1325
|
}],
|
|
1196
|
-
url: "/v1/
|
|
1326
|
+
url: "/v1/collections/{id}/segments/{uuid}",
|
|
1197
1327
|
...options,
|
|
1198
1328
|
headers: {
|
|
1199
1329
|
"Content-Type": "application/json",
|
|
1200
1330
|
...options.headers
|
|
1201
1331
|
}
|
|
1202
1332
|
});
|
|
1203
|
-
var
|
|
1333
|
+
var getAdminDashboard = (options) => (options?.client ?? client).get({
|
|
1334
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1335
|
+
url: "/v1/admin/dashboard",
|
|
1336
|
+
...options
|
|
1337
|
+
});
|
|
1338
|
+
var getAdminHealth = (options) => (options?.client ?? client).get({
|
|
1339
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1340
|
+
url: "/v1/admin/health",
|
|
1341
|
+
...options
|
|
1342
|
+
});
|
|
1343
|
+
var triggerReindex = (options) => (options?.client ?? client).post({
|
|
1204
1344
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1205
1345
|
url: "/v1/admin/reindex",
|
|
1206
1346
|
...options,
|
|
@@ -1209,46 +1349,37 @@ var reindexElasticsearch = (options) => (options?.client ?? client).post({
|
|
|
1209
1349
|
...options?.headers
|
|
1210
1350
|
}
|
|
1211
1351
|
});
|
|
1212
|
-
var
|
|
1352
|
+
var listAdminQueueStats = (options) => (options?.client ?? client).get({
|
|
1213
1353
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1214
1354
|
url: "/v1/admin/queues/stats",
|
|
1215
1355
|
...options
|
|
1216
1356
|
});
|
|
1217
|
-
var
|
|
1357
|
+
var getAdminQueue = (options) => (options.client ?? client).get({
|
|
1218
1358
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1219
1359
|
url: "/v1/admin/queues/{queueName}",
|
|
1220
1360
|
...options
|
|
1221
1361
|
});
|
|
1222
|
-
var
|
|
1362
|
+
var listAdminQueueFailed = (options) => (options.client ?? client).get({
|
|
1223
1363
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1224
1364
|
url: "/v1/admin/queues/{queueName}/failed",
|
|
1225
1365
|
...options
|
|
1226
1366
|
});
|
|
1227
|
-
var
|
|
1367
|
+
var retryAdminQueueFailed = (options) => (options.client ?? client).post({
|
|
1228
1368
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1229
1369
|
url: "/v1/admin/queues/{queueName}/retry",
|
|
1230
1370
|
...options
|
|
1231
1371
|
});
|
|
1232
|
-
var
|
|
1372
|
+
var purgeAdminQueueFailed = (options) => (options.client ?? client).delete({
|
|
1233
1373
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1234
1374
|
url: "/v1/admin/queues/{queueName}/purge",
|
|
1235
1375
|
...options
|
|
1236
1376
|
});
|
|
1237
|
-
var
|
|
1238
|
-
security: [{ scheme: "bearer", type: "http" }, {
|
|
1239
|
-
in: "cookie",
|
|
1240
|
-
name: "nadeshiko.session_token",
|
|
1241
|
-
type: "apiKey"
|
|
1242
|
-
}],
|
|
1243
|
-
url: "/v1/admin/morpheme-backfill",
|
|
1244
|
-
...options
|
|
1245
|
-
});
|
|
1246
|
-
var getAdminReports = (options) => (options?.client ?? client).get({
|
|
1377
|
+
var listAdminReports = (options) => (options?.client ?? client).get({
|
|
1247
1378
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1248
1379
|
url: "/v1/admin/reports",
|
|
1249
1380
|
...options
|
|
1250
1381
|
});
|
|
1251
|
-
var
|
|
1382
|
+
var updateAdminReport = (options) => (options.client ?? client).patch({
|
|
1252
1383
|
security: [{ scheme: "bearer", type: "http" }],
|
|
1253
1384
|
url: "/v1/admin/reports/{id}",
|
|
1254
1385
|
...options,
|
|
@@ -1257,100 +1388,191 @@ var updateReport = (options) => (options.client ?? client).patch({
|
|
|
1257
1388
|
...options.headers
|
|
1258
1389
|
}
|
|
1259
1390
|
});
|
|
1260
|
-
|
|
1391
|
+
var runAdminReview = (options) => (options?.client ?? client).post({
|
|
1392
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1393
|
+
url: "/v1/admin/review/run",
|
|
1394
|
+
...options
|
|
1395
|
+
});
|
|
1396
|
+
var listAdminReviewChecks = (options) => (options?.client ?? client).get({
|
|
1397
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1398
|
+
url: "/v1/admin/review/checks",
|
|
1399
|
+
...options
|
|
1400
|
+
});
|
|
1401
|
+
var updateAdminReviewCheck = (options) => (options.client ?? client).patch({
|
|
1402
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1403
|
+
url: "/v1/admin/review/checks/{name}",
|
|
1404
|
+
...options,
|
|
1405
|
+
headers: {
|
|
1406
|
+
"Content-Type": "application/json",
|
|
1407
|
+
...options.headers
|
|
1408
|
+
}
|
|
1409
|
+
});
|
|
1410
|
+
var listAdminReviewRuns = (options) => (options?.client ?? client).get({
|
|
1411
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1412
|
+
url: "/v1/admin/review/runs",
|
|
1413
|
+
...options
|
|
1414
|
+
});
|
|
1415
|
+
var getAdminReviewRun = (options) => (options.client ?? client).get({
|
|
1416
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1417
|
+
url: "/v1/admin/review/runs/{id}",
|
|
1418
|
+
...options
|
|
1419
|
+
});
|
|
1420
|
+
var listAdminReviewAllowlist = (options) => (options?.client ?? client).get({
|
|
1421
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1422
|
+
url: "/v1/admin/review/allowlist",
|
|
1423
|
+
...options
|
|
1424
|
+
});
|
|
1425
|
+
var createAdminReviewAllowlistEntry = (options) => (options.client ?? client).post({
|
|
1426
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1427
|
+
url: "/v1/admin/review/allowlist",
|
|
1428
|
+
...options,
|
|
1429
|
+
headers: {
|
|
1430
|
+
"Content-Type": "application/json",
|
|
1431
|
+
...options.headers
|
|
1432
|
+
}
|
|
1433
|
+
});
|
|
1434
|
+
var deleteAdminReviewAllowlistEntry = (options) => (options.client ?? client).delete({
|
|
1435
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1436
|
+
url: "/v1/admin/review/allowlist/{id}",
|
|
1437
|
+
...options
|
|
1438
|
+
});
|
|
1439
|
+
// generated/dev/nadeshiko.gen.ts
|
|
1261
1440
|
var environments = {
|
|
1262
1441
|
LOCAL: "http://localhost:5000/api",
|
|
1263
1442
|
DEVELOPMENT: "https://api.dev.brigadasos.xyz/api",
|
|
1264
1443
|
PRODUCTION: "https://api.brigadasos.xyz/api"
|
|
1265
1444
|
};
|
|
1445
|
+
var defaultSessionTokenGetter = () => {
|
|
1446
|
+
if (typeof document === "undefined")
|
|
1447
|
+
return;
|
|
1448
|
+
const match = document.cookie.match(/(?:^|;\s*)nadeshiko\.session_token=([^;]*)/);
|
|
1449
|
+
return match ? decodeURIComponent(match[1]) : undefined;
|
|
1450
|
+
};
|
|
1266
1451
|
function createNadeshikoClient(config) {
|
|
1267
1452
|
const baseUrl = config.baseUrl ? config.baseUrl in environments ? environments[config.baseUrl] : config.baseUrl : environments.PRODUCTION;
|
|
1453
|
+
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1268
1454
|
const clientInstance = createClient(createConfig({
|
|
1269
1455
|
baseUrl,
|
|
1270
|
-
|
|
1456
|
+
auth: (auth) => {
|
|
1457
|
+
if (auth.in === "cookie") {
|
|
1458
|
+
return getSessionToken();
|
|
1459
|
+
}
|
|
1460
|
+
return config.apiKey;
|
|
1461
|
+
}
|
|
1271
1462
|
}));
|
|
1272
1463
|
return {
|
|
1273
1464
|
client: clientInstance,
|
|
1274
|
-
|
|
1465
|
+
search: (options) => search({ ...options, client: clientInstance }),
|
|
1275
1466
|
getSearchStats: (options) => getSearchStats({ ...options, client: clientInstance }),
|
|
1276
1467
|
searchWords: (options) => searchWords({ ...options, client: clientInstance }),
|
|
1468
|
+
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
|
+
getSegmentByUuid: (options) => getSegmentByUuid({ ...options, client: clientInstance }),
|
|
1277
1474
|
getSegmentContext: (options) => getSegmentContext({ ...options, client: clientInstance }),
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
episodeShow: (options) => episodeShow({ ...options, client: clientInstance }),
|
|
1283
|
-
segmentShow: (options) => segmentShow({ ...options, client: clientInstance }),
|
|
1284
|
-
segmentShowByUuid: (options) => segmentShowByUuid({ ...options, client: clientInstance }),
|
|
1285
|
-
characterShow: (options) => characterShow({ ...options, client: clientInstance }),
|
|
1286
|
-
seiyuuShow: (options) => seiyuuShow({ ...options, client: clientInstance }),
|
|
1475
|
+
listSeries: (options) => listSeries({ ...options, client: clientInstance }),
|
|
1476
|
+
getSeries: (options) => getSeries({ ...options, client: clientInstance }),
|
|
1477
|
+
getCharacter: (options) => getCharacter({ ...options, client: clientInstance }),
|
|
1478
|
+
getSeiyuu: (options) => getSeiyuu({ ...options, client: clientInstance }),
|
|
1287
1479
|
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1480
|
+
listCollections: (options) => listCollections({ ...options, client: clientInstance }),
|
|
1481
|
+
createCollection: (options) => createCollection({ ...options, client: clientInstance }),
|
|
1482
|
+
getCollection: (options) => getCollection({ ...options, client: clientInstance }),
|
|
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 }),
|
|
1504
|
+
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1505
|
+
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1506
|
+
updateMedia: (options) => updateMedia({ ...options, client: clientInstance }),
|
|
1507
|
+
deleteMedia: (options) => deleteMedia({ ...options, client: clientInstance }),
|
|
1508
|
+
createEpisode: (options) => createEpisode({ ...options, client: clientInstance }),
|
|
1509
|
+
updateEpisode: (options) => updateEpisode({ ...options, client: clientInstance }),
|
|
1510
|
+
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1511
|
+
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1512
|
+
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1513
|
+
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1514
|
+
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1515
|
+
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
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 }),
|
|
1521
|
+
createUserReport: (options) => createUserReport({ ...options, client: clientInstance }),
|
|
1522
|
+
listUserReports: (options) => listUserReports({ ...options, client: clientInstance }),
|
|
1523
|
+
getUserPreferences: (options) => getUserPreferences({ ...options, client: clientInstance }),
|
|
1524
|
+
updateUserPreferences: (options) => updateUserPreferences({ ...options, client: clientInstance }),
|
|
1525
|
+
listUserActivity: (options) => listUserActivity({ ...options, client: clientInstance }),
|
|
1526
|
+
deleteUserActivity: (options) => deleteUserActivity({ ...options, client: clientInstance }),
|
|
1527
|
+
getUserActivityHeatmap: (options) => getUserActivityHeatmap({ ...options, client: clientInstance }),
|
|
1528
|
+
getUserActivityStats: (options) => getUserActivityStats({ ...options, client: clientInstance }),
|
|
1529
|
+
exportUserData: (options) => exportUserData({ ...options, client: clientInstance }),
|
|
1530
|
+
listUserLabs: (options) => listUserLabs({ ...options, client: clientInstance }),
|
|
1531
|
+
getAdminDashboard: (options) => getAdminDashboard({ ...options, client: clientInstance }),
|
|
1532
|
+
getAdminHealth: (options) => getAdminHealth({ ...options, client: clientInstance })
|
|
1322
1533
|
};
|
|
1323
1534
|
}
|
|
1324
|
-
|
|
1325
|
-
// generated/internal/internal/search.gen.ts
|
|
1326
|
-
var exports_search_gen = {};
|
|
1327
|
-
__export(exports_search_gen, {
|
|
1328
|
-
healthCheck: () => healthCheck
|
|
1329
|
-
});
|
|
1330
|
-
// generated/internal/internal/media.gen.ts
|
|
1535
|
+
// generated/dev/internal/media.gen.ts
|
|
1331
1536
|
var exports_media_gen = {};
|
|
1332
1537
|
__export(exports_media_gen, {
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1538
|
+
updateSeriesMedia: () => updateSeriesMedia,
|
|
1539
|
+
updateSeries: () => updateSeries,
|
|
1540
|
+
updateSegment: () => updateSegment,
|
|
1541
|
+
updateMedia: () => updateMedia,
|
|
1542
|
+
updateEpisode: () => updateEpisode,
|
|
1543
|
+
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
1544
|
+
listSegments: () => listSegments,
|
|
1545
|
+
deleteSeries: () => deleteSeries,
|
|
1546
|
+
deleteSegment: () => deleteSegment,
|
|
1547
|
+
deleteMedia: () => deleteMedia,
|
|
1548
|
+
deleteEpisode: () => deleteEpisode,
|
|
1549
|
+
createSeries: () => createSeries,
|
|
1550
|
+
createSegment: () => createSegment,
|
|
1551
|
+
createMedia: () => createMedia,
|
|
1552
|
+
createEpisode: () => createEpisode,
|
|
1553
|
+
autocompleteMedia: () => autocompleteMedia,
|
|
1554
|
+
addMediaToSeries: () => addMediaToSeries
|
|
1555
|
+
});
|
|
1556
|
+
// generated/dev/internal/user.gen.ts
|
|
1557
|
+
var exports_user_gen = {};
|
|
1558
|
+
__export(exports_user_gen, {
|
|
1559
|
+
updateUserPreferences: () => updateUserPreferences,
|
|
1560
|
+
listUserReports: () => listUserReports,
|
|
1561
|
+
listUserLabs: () => listUserLabs,
|
|
1562
|
+
listUserActivity: () => listUserActivity,
|
|
1563
|
+
getUserPreferences: () => getUserPreferences,
|
|
1564
|
+
getUserActivityStats: () => getUserActivityStats,
|
|
1565
|
+
getUserActivityHeatmap: () => getUserActivityHeatmap,
|
|
1566
|
+
exportUserData: () => exportUserData,
|
|
1567
|
+
deleteUserActivity: () => deleteUserActivity,
|
|
1568
|
+
createUserReport: () => createUserReport
|
|
1569
|
+
});
|
|
1570
|
+
// generated/dev/internal/admin.gen.ts
|
|
1571
|
+
var exports_admin_gen = {};
|
|
1572
|
+
__export(exports_admin_gen, {
|
|
1573
|
+
getAdminHealth: () => getAdminHealth,
|
|
1574
|
+
getAdminDashboard: () => getAdminDashboard
|
|
1353
1575
|
});
|
|
1354
1576
|
|
|
1355
|
-
//# debugId=
|
|
1577
|
+
//# debugId=4B0EFE7CA1477FC664756E2164756E21
|
|
1356
1578
|
//# sourceMappingURL=index.js.map
|