@brigadasos/nadeshiko-sdk 1.5.0-dev.c2b9767 → 1.5.0-dev.cd60faf
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 +174 -30
- 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 +174 -30
- package/dist/index.js.map +4 -4
- package/dist/internal/media.gen.d.ts +1 -1
- package/dist/internal/media.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +3 -1
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +28 -7
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +236 -45
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../generated/dev/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,aAAa,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../generated/dev/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,aAAa,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAG13C,OAAO,EAAE,qBAAqB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGpG,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -817,7 +817,11 @@ var client = createClient(createConfig({ baseUrl: "https://api.nadeshiko.co" }))
|
|
|
817
817
|
|
|
818
818
|
// generated/dev/sdk.gen.ts
|
|
819
819
|
var search = (options) => (options?.client ?? client).post({
|
|
820
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
820
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
821
|
+
in: "cookie",
|
|
822
|
+
name: "nadeshiko.session_token",
|
|
823
|
+
type: "apiKey"
|
|
824
|
+
}],
|
|
821
825
|
url: "/v1/search",
|
|
822
826
|
...options,
|
|
823
827
|
headers: {
|
|
@@ -826,7 +830,11 @@ var search = (options) => (options?.client ?? client).post({
|
|
|
826
830
|
}
|
|
827
831
|
});
|
|
828
832
|
var getSearchStats = (options) => (options?.client ?? client).post({
|
|
829
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
833
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
834
|
+
in: "cookie",
|
|
835
|
+
name: "nadeshiko.session_token",
|
|
836
|
+
type: "apiKey"
|
|
837
|
+
}],
|
|
830
838
|
url: "/v1/search/stats",
|
|
831
839
|
...options,
|
|
832
840
|
headers: {
|
|
@@ -835,7 +843,11 @@ var getSearchStats = (options) => (options?.client ?? client).post({
|
|
|
835
843
|
}
|
|
836
844
|
});
|
|
837
845
|
var searchWords = (options) => (options.client ?? client).post({
|
|
838
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
846
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
847
|
+
in: "cookie",
|
|
848
|
+
name: "nadeshiko.session_token",
|
|
849
|
+
type: "apiKey"
|
|
850
|
+
}],
|
|
839
851
|
url: "/v1/search/words",
|
|
840
852
|
...options,
|
|
841
853
|
headers: {
|
|
@@ -844,12 +856,20 @@ var searchWords = (options) => (options.client ?? client).post({
|
|
|
844
856
|
}
|
|
845
857
|
});
|
|
846
858
|
var listMedia = (options) => (options?.client ?? client).get({
|
|
847
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
859
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
860
|
+
in: "cookie",
|
|
861
|
+
name: "nadeshiko.session_token",
|
|
862
|
+
type: "apiKey"
|
|
863
|
+
}],
|
|
848
864
|
url: "/v1/media",
|
|
849
865
|
...options
|
|
850
866
|
});
|
|
851
867
|
var createMedia = (options) => (options.client ?? client).post({
|
|
852
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
868
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
869
|
+
in: "cookie",
|
|
870
|
+
name: "nadeshiko.session_token",
|
|
871
|
+
type: "apiKey"
|
|
872
|
+
}],
|
|
853
873
|
url: "/v1/media",
|
|
854
874
|
...options,
|
|
855
875
|
headers: {
|
|
@@ -858,7 +878,11 @@ var createMedia = (options) => (options.client ?? client).post({
|
|
|
858
878
|
}
|
|
859
879
|
});
|
|
860
880
|
var autocompleteMedia = (options) => (options.client ?? client).get({
|
|
861
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
881
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
882
|
+
in: "cookie",
|
|
883
|
+
name: "nadeshiko.session_token",
|
|
884
|
+
type: "apiKey"
|
|
885
|
+
}],
|
|
862
886
|
url: "/v1/media/autocomplete",
|
|
863
887
|
...options
|
|
864
888
|
});
|
|
@@ -893,13 +917,30 @@ var getSegmentContext = (options) => (options.client ?? client).get({
|
|
|
893
917
|
url: "/v1/media/segments/{uuid}/context",
|
|
894
918
|
...options
|
|
895
919
|
});
|
|
920
|
+
var listSegmentRevisions = (options) => (options.client ?? client).get({
|
|
921
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
922
|
+
in: "cookie",
|
|
923
|
+
name: "nadeshiko.session_token",
|
|
924
|
+
type: "apiKey"
|
|
925
|
+
}],
|
|
926
|
+
url: "/v1/media/segments/{uuid}/revisions",
|
|
927
|
+
...options
|
|
928
|
+
});
|
|
896
929
|
var listSeries = (options) => (options?.client ?? client).get({
|
|
897
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
930
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
931
|
+
in: "cookie",
|
|
932
|
+
name: "nadeshiko.session_token",
|
|
933
|
+
type: "apiKey"
|
|
934
|
+
}],
|
|
898
935
|
url: "/v1/media/series",
|
|
899
936
|
...options
|
|
900
937
|
});
|
|
901
938
|
var createSeries = (options) => (options.client ?? client).post({
|
|
902
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
939
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
940
|
+
in: "cookie",
|
|
941
|
+
name: "nadeshiko.session_token",
|
|
942
|
+
type: "apiKey"
|
|
943
|
+
}],
|
|
903
944
|
url: "/v1/media/series",
|
|
904
945
|
...options,
|
|
905
946
|
headers: {
|
|
@@ -908,17 +949,29 @@ var createSeries = (options) => (options.client ?? client).post({
|
|
|
908
949
|
}
|
|
909
950
|
});
|
|
910
951
|
var deleteSeries = (options) => (options.client ?? client).delete({
|
|
911
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
952
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
953
|
+
in: "cookie",
|
|
954
|
+
name: "nadeshiko.session_token",
|
|
955
|
+
type: "apiKey"
|
|
956
|
+
}],
|
|
912
957
|
url: "/v1/media/series/{id}",
|
|
913
958
|
...options
|
|
914
959
|
});
|
|
915
960
|
var getSeries = (options) => (options.client ?? client).get({
|
|
916
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
961
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
962
|
+
in: "cookie",
|
|
963
|
+
name: "nadeshiko.session_token",
|
|
964
|
+
type: "apiKey"
|
|
965
|
+
}],
|
|
917
966
|
url: "/v1/media/series/{id}",
|
|
918
967
|
...options
|
|
919
968
|
});
|
|
920
969
|
var updateSeries = (options) => (options.client ?? client).patch({
|
|
921
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
970
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
971
|
+
in: "cookie",
|
|
972
|
+
name: "nadeshiko.session_token",
|
|
973
|
+
type: "apiKey"
|
|
974
|
+
}],
|
|
922
975
|
url: "/v1/media/series/{id}",
|
|
923
976
|
...options,
|
|
924
977
|
headers: {
|
|
@@ -927,7 +980,11 @@ var updateSeries = (options) => (options.client ?? client).patch({
|
|
|
927
980
|
}
|
|
928
981
|
});
|
|
929
982
|
var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
930
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
983
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
984
|
+
in: "cookie",
|
|
985
|
+
name: "nadeshiko.session_token",
|
|
986
|
+
type: "apiKey"
|
|
987
|
+
}],
|
|
931
988
|
url: "/v1/media/series/{id}/media",
|
|
932
989
|
...options,
|
|
933
990
|
headers: {
|
|
@@ -936,12 +993,20 @@ var addMediaToSeries = (options) => (options.client ?? client).post({
|
|
|
936
993
|
}
|
|
937
994
|
});
|
|
938
995
|
var removeMediaFromSeries = (options) => (options.client ?? client).delete({
|
|
939
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
996
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
997
|
+
in: "cookie",
|
|
998
|
+
name: "nadeshiko.session_token",
|
|
999
|
+
type: "apiKey"
|
|
1000
|
+
}],
|
|
940
1001
|
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
941
1002
|
...options
|
|
942
1003
|
});
|
|
943
1004
|
var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
944
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1005
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1006
|
+
in: "cookie",
|
|
1007
|
+
name: "nadeshiko.session_token",
|
|
1008
|
+
type: "apiKey"
|
|
1009
|
+
}],
|
|
945
1010
|
url: "/v1/media/series/{id}/media/{mediaId}",
|
|
946
1011
|
...options,
|
|
947
1012
|
headers: {
|
|
@@ -950,27 +1015,47 @@ var updateSeriesMedia = (options) => (options.client ?? client).patch({
|
|
|
950
1015
|
}
|
|
951
1016
|
});
|
|
952
1017
|
var getCharacter = (options) => (options.client ?? client).get({
|
|
953
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1018
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1019
|
+
in: "cookie",
|
|
1020
|
+
name: "nadeshiko.session_token",
|
|
1021
|
+
type: "apiKey"
|
|
1022
|
+
}],
|
|
954
1023
|
url: "/v1/media/characters/{id}",
|
|
955
1024
|
...options
|
|
956
1025
|
});
|
|
957
1026
|
var getSeiyuu = (options) => (options.client ?? client).get({
|
|
958
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1027
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1028
|
+
in: "cookie",
|
|
1029
|
+
name: "nadeshiko.session_token",
|
|
1030
|
+
type: "apiKey"
|
|
1031
|
+
}],
|
|
959
1032
|
url: "/v1/media/seiyuu/{id}",
|
|
960
1033
|
...options
|
|
961
1034
|
});
|
|
962
1035
|
var deleteMedia = (options) => (options.client ?? client).delete({
|
|
963
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1036
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1037
|
+
in: "cookie",
|
|
1038
|
+
name: "nadeshiko.session_token",
|
|
1039
|
+
type: "apiKey"
|
|
1040
|
+
}],
|
|
964
1041
|
url: "/v1/media/{id}",
|
|
965
1042
|
...options
|
|
966
1043
|
});
|
|
967
1044
|
var getMedia = (options) => (options.client ?? client).get({
|
|
968
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1045
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1046
|
+
in: "cookie",
|
|
1047
|
+
name: "nadeshiko.session_token",
|
|
1048
|
+
type: "apiKey"
|
|
1049
|
+
}],
|
|
969
1050
|
url: "/v1/media/{id}",
|
|
970
1051
|
...options
|
|
971
1052
|
});
|
|
972
1053
|
var updateMedia = (options) => (options.client ?? client).patch({
|
|
973
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1054
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1055
|
+
in: "cookie",
|
|
1056
|
+
name: "nadeshiko.session_token",
|
|
1057
|
+
type: "apiKey"
|
|
1058
|
+
}],
|
|
974
1059
|
url: "/v1/media/{id}",
|
|
975
1060
|
...options,
|
|
976
1061
|
headers: {
|
|
@@ -979,12 +1064,20 @@ var updateMedia = (options) => (options.client ?? client).patch({
|
|
|
979
1064
|
}
|
|
980
1065
|
});
|
|
981
1066
|
var listEpisodes = (options) => (options.client ?? client).get({
|
|
982
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1067
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1068
|
+
in: "cookie",
|
|
1069
|
+
name: "nadeshiko.session_token",
|
|
1070
|
+
type: "apiKey"
|
|
1071
|
+
}],
|
|
983
1072
|
url: "/v1/media/{mediaId}/episodes",
|
|
984
1073
|
...options
|
|
985
1074
|
});
|
|
986
1075
|
var createEpisode = (options) => (options.client ?? client).post({
|
|
987
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1076
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1077
|
+
in: "cookie",
|
|
1078
|
+
name: "nadeshiko.session_token",
|
|
1079
|
+
type: "apiKey"
|
|
1080
|
+
}],
|
|
988
1081
|
url: "/v1/media/{mediaId}/episodes",
|
|
989
1082
|
...options,
|
|
990
1083
|
headers: {
|
|
@@ -993,17 +1086,29 @@ var createEpisode = (options) => (options.client ?? client).post({
|
|
|
993
1086
|
}
|
|
994
1087
|
});
|
|
995
1088
|
var deleteEpisode = (options) => (options.client ?? client).delete({
|
|
996
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1089
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1090
|
+
in: "cookie",
|
|
1091
|
+
name: "nadeshiko.session_token",
|
|
1092
|
+
type: "apiKey"
|
|
1093
|
+
}],
|
|
997
1094
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
998
1095
|
...options
|
|
999
1096
|
});
|
|
1000
1097
|
var getEpisode = (options) => (options.client ?? client).get({
|
|
1001
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1098
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1099
|
+
in: "cookie",
|
|
1100
|
+
name: "nadeshiko.session_token",
|
|
1101
|
+
type: "apiKey"
|
|
1102
|
+
}],
|
|
1002
1103
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1003
1104
|
...options
|
|
1004
1105
|
});
|
|
1005
1106
|
var updateEpisode = (options) => (options.client ?? client).patch({
|
|
1006
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1107
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1108
|
+
in: "cookie",
|
|
1109
|
+
name: "nadeshiko.session_token",
|
|
1110
|
+
type: "apiKey"
|
|
1111
|
+
}],
|
|
1007
1112
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}",
|
|
1008
1113
|
...options,
|
|
1009
1114
|
headers: {
|
|
@@ -1012,12 +1117,20 @@ var updateEpisode = (options) => (options.client ?? client).patch({
|
|
|
1012
1117
|
}
|
|
1013
1118
|
});
|
|
1014
1119
|
var listSegments = (options) => (options.client ?? client).get({
|
|
1015
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1120
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1121
|
+
in: "cookie",
|
|
1122
|
+
name: "nadeshiko.session_token",
|
|
1123
|
+
type: "apiKey"
|
|
1124
|
+
}],
|
|
1016
1125
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1017
1126
|
...options
|
|
1018
1127
|
});
|
|
1019
1128
|
var createSegment = (options) => (options.client ?? client).post({
|
|
1020
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1129
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1130
|
+
in: "cookie",
|
|
1131
|
+
name: "nadeshiko.session_token",
|
|
1132
|
+
type: "apiKey"
|
|
1133
|
+
}],
|
|
1021
1134
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments",
|
|
1022
1135
|
...options,
|
|
1023
1136
|
headers: {
|
|
@@ -1025,18 +1138,43 @@ var createSegment = (options) => (options.client ?? client).post({
|
|
|
1025
1138
|
...options.headers
|
|
1026
1139
|
}
|
|
1027
1140
|
});
|
|
1141
|
+
var createSegmentsBatch = (options) => (options.client ?? client).post({
|
|
1142
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1143
|
+
in: "cookie",
|
|
1144
|
+
name: "nadeshiko.session_token",
|
|
1145
|
+
type: "apiKey"
|
|
1146
|
+
}],
|
|
1147
|
+
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/batch",
|
|
1148
|
+
...options,
|
|
1149
|
+
headers: {
|
|
1150
|
+
"Content-Type": "application/json",
|
|
1151
|
+
...options.headers
|
|
1152
|
+
}
|
|
1153
|
+
});
|
|
1028
1154
|
var deleteSegment = (options) => (options.client ?? client).delete({
|
|
1029
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1155
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1156
|
+
in: "cookie",
|
|
1157
|
+
name: "nadeshiko.session_token",
|
|
1158
|
+
type: "apiKey"
|
|
1159
|
+
}],
|
|
1030
1160
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1031
1161
|
...options
|
|
1032
1162
|
});
|
|
1033
1163
|
var getSegment = (options) => (options.client ?? client).get({
|
|
1034
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1164
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1165
|
+
in: "cookie",
|
|
1166
|
+
name: "nadeshiko.session_token",
|
|
1167
|
+
type: "apiKey"
|
|
1168
|
+
}],
|
|
1035
1169
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1036
1170
|
...options
|
|
1037
1171
|
});
|
|
1038
1172
|
var updateSegment = (options) => (options.client ?? client).patch({
|
|
1039
|
-
security: [{ scheme: "bearer", type: "http" }
|
|
1173
|
+
security: [{ scheme: "bearer", type: "http" }, {
|
|
1174
|
+
in: "cookie",
|
|
1175
|
+
name: "nadeshiko.session_token",
|
|
1176
|
+
type: "apiKey"
|
|
1177
|
+
}],
|
|
1040
1178
|
url: "/v1/media/{mediaId}/episodes/{episodeNumber}/segments/{id}",
|
|
1041
1179
|
...options,
|
|
1042
1180
|
headers: {
|
|
@@ -1502,6 +1640,7 @@ function createNadeshikoClient(config) {
|
|
|
1502
1640
|
createMedia: (options) => createMedia({ ...options, client: clientInstance }),
|
|
1503
1641
|
autocompleteMedia: (options) => autocompleteMedia({ ...options, client: clientInstance }),
|
|
1504
1642
|
updateSegmentByUuid: (options) => updateSegmentByUuid({ ...options, client: clientInstance }),
|
|
1643
|
+
listSegmentRevisions: (options) => listSegmentRevisions({ ...options, client: clientInstance }),
|
|
1505
1644
|
createSeries: (options) => createSeries({ ...options, client: clientInstance }),
|
|
1506
1645
|
updateSeries: (options) => updateSeries({ ...options, client: clientInstance }),
|
|
1507
1646
|
deleteSeries: (options) => deleteSeries({ ...options, client: clientInstance }),
|
|
@@ -1515,6 +1654,7 @@ function createNadeshikoClient(config) {
|
|
|
1515
1654
|
deleteEpisode: (options) => deleteEpisode({ ...options, client: clientInstance }),
|
|
1516
1655
|
listSegments: (options) => listSegments({ ...options, client: clientInstance }),
|
|
1517
1656
|
createSegment: (options) => createSegment({ ...options, client: clientInstance }),
|
|
1657
|
+
createSegmentsBatch: (options) => createSegmentsBatch({ ...options, client: clientInstance }),
|
|
1518
1658
|
updateSegment: (options) => updateSegment({ ...options, client: clientInstance }),
|
|
1519
1659
|
deleteSegment: (options) => deleteSegment({ ...options, client: clientInstance }),
|
|
1520
1660
|
getUserQuota: (options) => getUserQuota({ ...options, client: clientInstance }),
|
|
@@ -1572,11 +1712,13 @@ __export(exports_media_gen, {
|
|
|
1572
1712
|
updateEpisode: () => updateEpisode,
|
|
1573
1713
|
removeMediaFromSeries: () => removeMediaFromSeries,
|
|
1574
1714
|
listSegments: () => listSegments,
|
|
1715
|
+
listSegmentRevisions: () => listSegmentRevisions,
|
|
1575
1716
|
deleteSeries: () => deleteSeries,
|
|
1576
1717
|
deleteSegment: () => deleteSegment,
|
|
1577
1718
|
deleteMedia: () => deleteMedia,
|
|
1578
1719
|
deleteEpisode: () => deleteEpisode,
|
|
1579
1720
|
createSeries: () => createSeries,
|
|
1721
|
+
createSegmentsBatch: () => createSegmentsBatch,
|
|
1580
1722
|
createSegment: () => createSegment,
|
|
1581
1723
|
createMedia: () => createMedia,
|
|
1582
1724
|
createEpisode: () => createEpisode,
|
|
@@ -1666,6 +1808,7 @@ export {
|
|
|
1666
1808
|
listUserActivity,
|
|
1667
1809
|
listSeries,
|
|
1668
1810
|
listSegments,
|
|
1811
|
+
listSegmentRevisions,
|
|
1669
1812
|
listMedia,
|
|
1670
1813
|
listEpisodes,
|
|
1671
1814
|
listCollections,
|
|
@@ -1706,6 +1849,7 @@ export {
|
|
|
1706
1849
|
deleteCollection,
|
|
1707
1850
|
createUserReport,
|
|
1708
1851
|
createSeries,
|
|
1852
|
+
createSegmentsBatch,
|
|
1709
1853
|
createSegment,
|
|
1710
1854
|
createNadeshikoClient,
|
|
1711
1855
|
createMedia,
|
|
@@ -1720,5 +1864,5 @@ export {
|
|
|
1720
1864
|
addMediaToSeries
|
|
1721
1865
|
};
|
|
1722
1866
|
|
|
1723
|
-
//# debugId=
|
|
1867
|
+
//# debugId=3C323EE41F11A1D664756E2164756E21
|
|
1724
1868
|
//# sourceMappingURL=index.js.map
|