@brigadasos/nadeshiko-sdk 1.4.3-dev.d3424ba → 1.5.0-dev.7d15241
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/client.gen.d.ts.map +1 -1
- package/dist/index.cjs +62 -53
- package/dist/index.cjs.map +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -53
- package/dist/index.js.map +5 -5
- package/dist/internal/admin.gen.d.ts +1 -1
- package/dist/internal/admin.gen.d.ts.map +1 -1
- package/dist/internal/collections.gen.d.ts +2 -0
- package/dist/internal/collections.gen.d.ts.map +1 -0
- package/dist/internal/user.gen.d.ts +1 -1
- package/dist/internal/user.gen.d.ts.map +1 -1
- package/dist/internal.gen.d.ts +1 -0
- package/dist/internal.gen.d.ts.map +1 -1
- package/dist/nadeshiko.gen.d.ts +25 -25
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +22 -7
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/types.gen.d.ts +182 -192
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl: '
|
|
2
|
+
baseUrl: 'https://api.nadeshiko.co' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
5
|
* A media filter entry with optional episode restriction
|
|
@@ -372,31 +372,31 @@ export type PaginationInfo = {
|
|
|
372
372
|
/**
|
|
373
373
|
* Whether there are more results after this page
|
|
374
374
|
*/
|
|
375
|
-
hasMore
|
|
375
|
+
hasMore: boolean;
|
|
376
376
|
/**
|
|
377
377
|
* Estimated total number of matching segments
|
|
378
378
|
*/
|
|
379
|
-
estimatedTotalHits
|
|
379
|
+
estimatedTotalHits: number;
|
|
380
380
|
/**
|
|
381
381
|
* Whether estimatedTotalHits is exact or a lower bound
|
|
382
382
|
*/
|
|
383
|
-
estimatedTotalHitsRelation
|
|
383
|
+
estimatedTotalHitsRelation: 'EXACT' | 'LOWER_BOUND';
|
|
384
384
|
/**
|
|
385
385
|
* Opaque cursor token for fetching the next page (`null` when hasMore is false)
|
|
386
386
|
*/
|
|
387
|
-
cursor
|
|
387
|
+
cursor: string;
|
|
388
388
|
};
|
|
389
389
|
export type SearchResponse = {
|
|
390
|
-
segments
|
|
391
|
-
includes
|
|
390
|
+
segments: Array<Segment>;
|
|
391
|
+
includes: {
|
|
392
392
|
/**
|
|
393
393
|
* Media objects keyed by mediaId
|
|
394
394
|
*/
|
|
395
|
-
media
|
|
395
|
+
media: {
|
|
396
396
|
[key: string]: Media;
|
|
397
397
|
};
|
|
398
398
|
};
|
|
399
|
-
pagination
|
|
399
|
+
pagination: PaginationInfo;
|
|
400
400
|
};
|
|
401
401
|
/**
|
|
402
402
|
* Bad Request error response
|
|
@@ -616,20 +616,20 @@ export type MediaSearchStats = {
|
|
|
616
616
|
* Count of entries grouped by media category
|
|
617
617
|
*/
|
|
618
618
|
export type CategoryCount = {
|
|
619
|
-
category
|
|
619
|
+
category: Category;
|
|
620
620
|
/**
|
|
621
621
|
* Number of entries in this category
|
|
622
622
|
*/
|
|
623
|
-
count
|
|
623
|
+
count: number;
|
|
624
624
|
};
|
|
625
625
|
export type SearchStatsResponse = {
|
|
626
|
-
media
|
|
627
|
-
categories
|
|
628
|
-
includes
|
|
626
|
+
media: Array<MediaSearchStats>;
|
|
627
|
+
categories: Array<CategoryCount>;
|
|
628
|
+
includes: {
|
|
629
629
|
/**
|
|
630
630
|
* Media objects keyed by mediaId
|
|
631
631
|
*/
|
|
632
|
-
media
|
|
632
|
+
media: {
|
|
633
633
|
[key: string]: Media;
|
|
634
634
|
};
|
|
635
635
|
};
|
|
@@ -674,27 +674,27 @@ export type WordMatch = {
|
|
|
674
674
|
/**
|
|
675
675
|
* The word that was searched for
|
|
676
676
|
*/
|
|
677
|
-
word
|
|
677
|
+
word: string;
|
|
678
678
|
/**
|
|
679
679
|
* Indicates whether the word was found in any segment
|
|
680
680
|
*/
|
|
681
|
-
isMatch
|
|
681
|
+
isMatch: boolean;
|
|
682
682
|
/**
|
|
683
683
|
* Total number of times this word appears across all media
|
|
684
684
|
*/
|
|
685
|
-
matchCount
|
|
685
|
+
matchCount: number;
|
|
686
686
|
/**
|
|
687
687
|
* List of media containing this word
|
|
688
688
|
*/
|
|
689
|
-
media
|
|
689
|
+
media: Array<WordMatchMedia>;
|
|
690
690
|
};
|
|
691
691
|
export type SearchMultipleResponse = {
|
|
692
|
-
results
|
|
693
|
-
includes
|
|
692
|
+
results: Array<WordMatch>;
|
|
693
|
+
includes: {
|
|
694
694
|
/**
|
|
695
695
|
* Media objects keyed by mediaId
|
|
696
696
|
*/
|
|
697
|
-
media
|
|
697
|
+
media: {
|
|
698
698
|
[key: string]: Media;
|
|
699
699
|
};
|
|
700
700
|
};
|
|
@@ -702,7 +702,7 @@ export type SearchMultipleResponse = {
|
|
|
702
702
|
/**
|
|
703
703
|
* Resource to expand in media responses
|
|
704
704
|
*/
|
|
705
|
-
export type MediaIncludeExpansion = 'media
|
|
705
|
+
export type MediaIncludeExpansion = 'media.characters';
|
|
706
706
|
/**
|
|
707
707
|
* Opaque cursor pagination metadata
|
|
708
708
|
*/
|
|
@@ -979,31 +979,31 @@ export type SegmentInternal = Segment & {
|
|
|
979
979
|
/**
|
|
980
980
|
* Storage backend for segment assets
|
|
981
981
|
*/
|
|
982
|
-
storage
|
|
982
|
+
storage: 'LOCAL' | 'R2';
|
|
983
983
|
/**
|
|
984
984
|
* Hash identifier for the segment
|
|
985
985
|
*/
|
|
986
|
-
hashedId
|
|
986
|
+
hashedId: string;
|
|
987
987
|
/**
|
|
988
988
|
* Base path in the storage backend
|
|
989
989
|
*/
|
|
990
|
-
storageBasePath
|
|
990
|
+
storageBasePath: string;
|
|
991
991
|
/**
|
|
992
992
|
* Raw WD Tagger v3 classifier output used to derive content rating
|
|
993
993
|
*/
|
|
994
|
-
ratingAnalysis
|
|
994
|
+
ratingAnalysis: {
|
|
995
995
|
[key: string]: unknown;
|
|
996
996
|
};
|
|
997
997
|
/**
|
|
998
998
|
* POS tokenization results keyed by engine (sudachi, unidic)
|
|
999
999
|
*/
|
|
1000
|
-
posAnalysis
|
|
1000
|
+
posAnalysis: {
|
|
1001
1001
|
[key: string]: unknown;
|
|
1002
1002
|
};
|
|
1003
1003
|
};
|
|
1004
1004
|
export type SegmentContextResponse = {
|
|
1005
1005
|
segments: Array<Segment>;
|
|
1006
|
-
includes
|
|
1006
|
+
includes: {
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Media objects keyed by mediaId
|
|
1009
1009
|
*/
|
|
@@ -1064,8 +1064,8 @@ export type SeriesWithMedia = {
|
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Position in the series (1-indexed)
|
|
1066
1066
|
*/
|
|
1067
|
-
position
|
|
1068
|
-
media
|
|
1067
|
+
position: number;
|
|
1068
|
+
media: Media;
|
|
1069
1069
|
}>;
|
|
1070
1070
|
};
|
|
1071
1071
|
/**
|
|
@@ -1099,11 +1099,11 @@ export type CharacterWithMedia = Character & {
|
|
|
1099
1099
|
* All media this character appears in
|
|
1100
1100
|
*/
|
|
1101
1101
|
mediaAppearances: Array<{
|
|
1102
|
-
media
|
|
1102
|
+
media: Media;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Character role in this media
|
|
1105
1105
|
*/
|
|
1106
|
-
role
|
|
1106
|
+
role: 'MAIN' | 'SUPPORTING' | 'BACKGROUND';
|
|
1107
1107
|
}>;
|
|
1108
1108
|
};
|
|
1109
1109
|
/**
|
|
@@ -1114,6 +1114,7 @@ export type SeiyuuWithRoles = {
|
|
|
1114
1114
|
* AniList staff ID
|
|
1115
1115
|
*/
|
|
1116
1116
|
id: number;
|
|
1117
|
+
externalIds: ExternalId;
|
|
1117
1118
|
/**
|
|
1118
1119
|
* Japanese name of the voice actor
|
|
1119
1120
|
*/
|
|
@@ -1500,7 +1501,7 @@ export type Report = {
|
|
|
1500
1501
|
/**
|
|
1501
1502
|
* ID of the audit run that created this report (AUTO only)
|
|
1502
1503
|
*/
|
|
1503
|
-
auditRunId
|
|
1504
|
+
auditRunId: number;
|
|
1504
1505
|
/**
|
|
1505
1506
|
* Reason for the report
|
|
1506
1507
|
*/
|
|
@@ -1508,11 +1509,11 @@ export type Report = {
|
|
|
1508
1509
|
/**
|
|
1509
1510
|
* Optional description with additional details
|
|
1510
1511
|
*/
|
|
1511
|
-
description
|
|
1512
|
+
description: string;
|
|
1512
1513
|
/**
|
|
1513
1514
|
* Check-specific metrics (AUTO reports) or null (USER reports)
|
|
1514
1515
|
*/
|
|
1515
|
-
data
|
|
1516
|
+
data: {
|
|
1516
1517
|
[key: string]: unknown;
|
|
1517
1518
|
};
|
|
1518
1519
|
/**
|
|
@@ -1522,11 +1523,11 @@ export type Report = {
|
|
|
1522
1523
|
/**
|
|
1523
1524
|
* Notes from the admin who reviewed the report
|
|
1524
1525
|
*/
|
|
1525
|
-
adminNotes
|
|
1526
|
+
adminNotes: string;
|
|
1526
1527
|
/**
|
|
1527
1528
|
* ID of the user who submitted the report (USER reports only)
|
|
1528
1529
|
*/
|
|
1529
|
-
userId
|
|
1530
|
+
userId: number;
|
|
1530
1531
|
/**
|
|
1531
1532
|
* When the report was created
|
|
1532
1533
|
*/
|
|
@@ -1534,7 +1535,7 @@ export type Report = {
|
|
|
1534
1535
|
/**
|
|
1535
1536
|
* When the report was last updated
|
|
1536
1537
|
*/
|
|
1537
|
-
updatedAt
|
|
1538
|
+
updatedAt: string;
|
|
1538
1539
|
};
|
|
1539
1540
|
export type UserPreferences = {
|
|
1540
1541
|
/**
|
|
@@ -1587,11 +1588,11 @@ export type ActivityType = 'SEARCH' | 'ANKI_EXPORT' | 'SEGMENT_PLAY' | 'LIST_ADD
|
|
|
1587
1588
|
export type UserActivity = {
|
|
1588
1589
|
id: number;
|
|
1589
1590
|
activityType: ActivityType;
|
|
1590
|
-
segmentUuid
|
|
1591
|
-
mediaId
|
|
1592
|
-
searchQuery
|
|
1593
|
-
|
|
1594
|
-
japaneseText
|
|
1591
|
+
segmentUuid: string;
|
|
1592
|
+
mediaId: number;
|
|
1593
|
+
searchQuery: string;
|
|
1594
|
+
mediaName: string;
|
|
1595
|
+
japaneseText: string;
|
|
1595
1596
|
createdAt: string;
|
|
1596
1597
|
};
|
|
1597
1598
|
/**
|
|
@@ -1606,10 +1607,6 @@ export type Collection = {
|
|
|
1606
1607
|
* Name of the collection
|
|
1607
1608
|
*/
|
|
1608
1609
|
name: string;
|
|
1609
|
-
/**
|
|
1610
|
-
* User ID who owns the collection
|
|
1611
|
-
*/
|
|
1612
|
-
userId: number;
|
|
1613
1610
|
/**
|
|
1614
1611
|
* Visibility of the collection
|
|
1615
1612
|
*/
|
|
@@ -1617,15 +1614,15 @@ export type Collection = {
|
|
|
1617
1614
|
/**
|
|
1618
1615
|
* Number of segments in the collection
|
|
1619
1616
|
*/
|
|
1620
|
-
segmentCount
|
|
1617
|
+
segmentCount: number;
|
|
1621
1618
|
/**
|
|
1622
1619
|
* When the collection was created
|
|
1623
1620
|
*/
|
|
1624
|
-
createdAt
|
|
1621
|
+
createdAt: string;
|
|
1625
1622
|
/**
|
|
1626
1623
|
* When the collection was last updated
|
|
1627
1624
|
*/
|
|
1628
|
-
updatedAt
|
|
1625
|
+
updatedAt: string;
|
|
1629
1626
|
};
|
|
1630
1627
|
export type UserExportCollection = Collection & {
|
|
1631
1628
|
/**
|
|
@@ -1702,14 +1699,22 @@ export type CollectionWithSegments = {
|
|
|
1702
1699
|
* Name of the collection
|
|
1703
1700
|
*/
|
|
1704
1701
|
name: string;
|
|
1705
|
-
/**
|
|
1706
|
-
* User ID who owns the collection
|
|
1707
|
-
*/
|
|
1708
|
-
userId: number;
|
|
1709
1702
|
/**
|
|
1710
1703
|
* Visibility of the collection
|
|
1711
1704
|
*/
|
|
1712
1705
|
visibility: 'PUBLIC' | 'PRIVATE';
|
|
1706
|
+
/**
|
|
1707
|
+
* Number of segments in the collection
|
|
1708
|
+
*/
|
|
1709
|
+
segmentCount: number;
|
|
1710
|
+
/**
|
|
1711
|
+
* When the collection was created
|
|
1712
|
+
*/
|
|
1713
|
+
createdAt: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* When the collection was last updated
|
|
1716
|
+
*/
|
|
1717
|
+
updatedAt: string;
|
|
1713
1718
|
/**
|
|
1714
1719
|
* Saved segments with their search result data
|
|
1715
1720
|
*/
|
|
@@ -1717,18 +1722,18 @@ export type CollectionWithSegments = {
|
|
|
1717
1722
|
/**
|
|
1718
1723
|
* Position in the collection
|
|
1719
1724
|
*/
|
|
1720
|
-
position
|
|
1725
|
+
position: number;
|
|
1721
1726
|
/**
|
|
1722
1727
|
* User annotation
|
|
1723
1728
|
*/
|
|
1724
|
-
note
|
|
1725
|
-
result
|
|
1729
|
+
note: string;
|
|
1730
|
+
result: Segment;
|
|
1726
1731
|
}>;
|
|
1727
|
-
includes
|
|
1732
|
+
includes: {
|
|
1728
1733
|
/**
|
|
1729
1734
|
* Media objects keyed by mediaId
|
|
1730
1735
|
*/
|
|
1731
|
-
media
|
|
1736
|
+
media: {
|
|
1732
1737
|
[key: string]: Media;
|
|
1733
1738
|
};
|
|
1734
1739
|
};
|
|
@@ -1766,44 +1771,44 @@ export type ReindexResponse = {
|
|
|
1766
1771
|
/**
|
|
1767
1772
|
* Whether the reindex operation completed successfully
|
|
1768
1773
|
*/
|
|
1769
|
-
success
|
|
1774
|
+
success: boolean;
|
|
1770
1775
|
/**
|
|
1771
1776
|
* Human-readable message about the reindex operation
|
|
1772
1777
|
*/
|
|
1773
|
-
message
|
|
1778
|
+
message: string;
|
|
1774
1779
|
/**
|
|
1775
1780
|
* Statistics about the reindex operation
|
|
1776
1781
|
*/
|
|
1777
|
-
stats
|
|
1782
|
+
stats: {
|
|
1778
1783
|
/**
|
|
1779
1784
|
* Total number of segments processed
|
|
1780
1785
|
*/
|
|
1781
|
-
totalSegments
|
|
1786
|
+
totalSegments: number;
|
|
1782
1787
|
/**
|
|
1783
1788
|
* Number of segments successfully indexed
|
|
1784
1789
|
*/
|
|
1785
|
-
successfulIndexes
|
|
1790
|
+
successfulIndexes: number;
|
|
1786
1791
|
/**
|
|
1787
1792
|
* Number of segments that failed to index
|
|
1788
1793
|
*/
|
|
1789
|
-
failedIndexes
|
|
1794
|
+
failedIndexes: number;
|
|
1790
1795
|
/**
|
|
1791
1796
|
* Number of media items processed
|
|
1792
1797
|
*/
|
|
1793
|
-
mediaProcessed
|
|
1798
|
+
mediaProcessed: number;
|
|
1794
1799
|
};
|
|
1795
1800
|
/**
|
|
1796
1801
|
* Array of errors that occurred during reindexing (if any)
|
|
1797
1802
|
*/
|
|
1798
|
-
errors
|
|
1803
|
+
errors: Array<{
|
|
1799
1804
|
/**
|
|
1800
1805
|
* ID of the segment that failed
|
|
1801
1806
|
*/
|
|
1802
|
-
segmentId
|
|
1807
|
+
segmentId: number;
|
|
1803
1808
|
/**
|
|
1804
1809
|
* Error message
|
|
1805
1810
|
*/
|
|
1806
|
-
error
|
|
1811
|
+
error: string;
|
|
1807
1812
|
}>;
|
|
1808
1813
|
};
|
|
1809
1814
|
export type AdminReport = Report & {
|
|
@@ -1864,24 +1869,24 @@ export type MediaAudit = {
|
|
|
1864
1869
|
/**
|
|
1865
1870
|
* Schema for threshold fields (from registry)
|
|
1866
1871
|
*/
|
|
1867
|
-
thresholdSchema
|
|
1868
|
-
key
|
|
1869
|
-
label
|
|
1870
|
-
type
|
|
1871
|
-
default
|
|
1872
|
+
thresholdSchema: Array<{
|
|
1873
|
+
key: string;
|
|
1874
|
+
label: string;
|
|
1875
|
+
type: 'number' | 'boolean';
|
|
1876
|
+
default: number | boolean;
|
|
1872
1877
|
min?: number;
|
|
1873
1878
|
max?: number;
|
|
1874
1879
|
}>;
|
|
1875
1880
|
/**
|
|
1876
1881
|
* Latest run info for this audit
|
|
1877
1882
|
*/
|
|
1878
|
-
latestRun
|
|
1879
|
-
id
|
|
1880
|
-
resultCount
|
|
1881
|
-
createdAt
|
|
1883
|
+
latestRun: {
|
|
1884
|
+
id: number;
|
|
1885
|
+
resultCount: number;
|
|
1886
|
+
createdAt: string;
|
|
1882
1887
|
};
|
|
1883
|
-
createdAt
|
|
1884
|
-
updatedAt
|
|
1888
|
+
createdAt: string;
|
|
1889
|
+
updatedAt: string;
|
|
1885
1890
|
};
|
|
1886
1891
|
export type RunAuditResponse = {
|
|
1887
1892
|
/**
|
|
@@ -1951,7 +1956,7 @@ export type SearchErrors = {
|
|
|
1951
1956
|
*/
|
|
1952
1957
|
400: Error400;
|
|
1953
1958
|
/**
|
|
1954
|
-
* Unauthorized
|
|
1959
|
+
* Unauthorized (API key)
|
|
1955
1960
|
*/
|
|
1956
1961
|
401: Error401;
|
|
1957
1962
|
/**
|
|
@@ -1987,7 +1992,7 @@ export type GetSearchStatsErrors = {
|
|
|
1987
1992
|
*/
|
|
1988
1993
|
400: Error400;
|
|
1989
1994
|
/**
|
|
1990
|
-
* Unauthorized
|
|
1995
|
+
* Unauthorized (API key)
|
|
1991
1996
|
*/
|
|
1992
1997
|
401: Error401;
|
|
1993
1998
|
/**
|
|
@@ -2023,7 +2028,7 @@ export type SearchWordsErrors = {
|
|
|
2023
2028
|
*/
|
|
2024
2029
|
400: Error400;
|
|
2025
2030
|
/**
|
|
2026
|
-
* Unauthorized
|
|
2031
|
+
* Unauthorized (API key)
|
|
2027
2032
|
*/
|
|
2028
2033
|
401: Error401;
|
|
2029
2034
|
/**
|
|
@@ -2068,7 +2073,7 @@ export type ListMediaData = {
|
|
|
2068
2073
|
*/
|
|
2069
2074
|
query?: string;
|
|
2070
2075
|
/**
|
|
2071
|
-
* Resources to expand in the media response
|
|
2076
|
+
* Resources to expand in the media response
|
|
2072
2077
|
*/
|
|
2073
2078
|
include?: Array<MediaIncludeExpansion>;
|
|
2074
2079
|
};
|
|
@@ -2080,7 +2085,7 @@ export type ListMediaErrors = {
|
|
|
2080
2085
|
*/
|
|
2081
2086
|
400: Error400;
|
|
2082
2087
|
/**
|
|
2083
|
-
* Unauthorized
|
|
2088
|
+
* Unauthorized (API key)
|
|
2084
2089
|
*/
|
|
2085
2090
|
401: Error401;
|
|
2086
2091
|
/**
|
|
@@ -2116,7 +2121,7 @@ export type CreateMediaErrors = {
|
|
|
2116
2121
|
*/
|
|
2117
2122
|
400: Error400;
|
|
2118
2123
|
/**
|
|
2119
|
-
* Unauthorized
|
|
2124
|
+
* Unauthorized (API key)
|
|
2120
2125
|
*/
|
|
2121
2126
|
401: Error401;
|
|
2122
2127
|
/**
|
|
@@ -2169,7 +2174,7 @@ export type AutocompleteMediaErrors = {
|
|
|
2169
2174
|
*/
|
|
2170
2175
|
400: Error400;
|
|
2171
2176
|
/**
|
|
2172
|
-
* Unauthorized
|
|
2177
|
+
* Unauthorized (API key)
|
|
2173
2178
|
*/
|
|
2174
2179
|
401: Error401;
|
|
2175
2180
|
/**
|
|
@@ -2210,7 +2215,7 @@ export type GetSegmentByUuidErrors = {
|
|
|
2210
2215
|
*/
|
|
2211
2216
|
400: Error400;
|
|
2212
2217
|
/**
|
|
2213
|
-
* Unauthorized
|
|
2218
|
+
* Unauthorized (API key)
|
|
2214
2219
|
*/
|
|
2215
2220
|
401: Error401;
|
|
2216
2221
|
/**
|
|
@@ -2232,6 +2237,9 @@ export type GetSegmentByUuidErrors = {
|
|
|
2232
2237
|
};
|
|
2233
2238
|
export type GetSegmentByUuidError = GetSegmentByUuidErrors[keyof GetSegmentByUuidErrors];
|
|
2234
2239
|
export type GetSegmentByUuidResponses = {
|
|
2240
|
+
/**
|
|
2241
|
+
* OK
|
|
2242
|
+
*/
|
|
2235
2243
|
200: Segment;
|
|
2236
2244
|
};
|
|
2237
2245
|
export type GetSegmentByUuidResponse = GetSegmentByUuidResponses[keyof GetSegmentByUuidResponses];
|
|
@@ -2252,7 +2260,7 @@ export type UpdateSegmentByUuidErrors = {
|
|
|
2252
2260
|
*/
|
|
2253
2261
|
400: Error400;
|
|
2254
2262
|
/**
|
|
2255
|
-
* Unauthorized
|
|
2263
|
+
* Unauthorized (API key or session)
|
|
2256
2264
|
*/
|
|
2257
2265
|
401: Error401;
|
|
2258
2266
|
/**
|
|
@@ -2297,10 +2305,6 @@ export type GetSegmentContextData = {
|
|
|
2297
2305
|
* Content ratings to include (omit for all ratings)
|
|
2298
2306
|
*/
|
|
2299
2307
|
contentRating?: Array<ContentRating>;
|
|
2300
|
-
/**
|
|
2301
|
-
* Resources to expand in the response includes block
|
|
2302
|
-
*/
|
|
2303
|
-
include?: Array<IncludeExpansion>;
|
|
2304
2308
|
};
|
|
2305
2309
|
url: '/v1/media/segments/{uuid}/context';
|
|
2306
2310
|
};
|
|
@@ -2310,7 +2314,7 @@ export type GetSegmentContextErrors = {
|
|
|
2310
2314
|
*/
|
|
2311
2315
|
400: Error400;
|
|
2312
2316
|
/**
|
|
2313
|
-
* Unauthorized
|
|
2317
|
+
* Unauthorized (API key)
|
|
2314
2318
|
*/
|
|
2315
2319
|
401: Error401;
|
|
2316
2320
|
/**
|
|
@@ -2363,7 +2367,7 @@ export type ListSeriesErrors = {
|
|
|
2363
2367
|
*/
|
|
2364
2368
|
400: Error400;
|
|
2365
2369
|
/**
|
|
2366
|
-
* Unauthorized
|
|
2370
|
+
* Unauthorized (API key)
|
|
2367
2371
|
*/
|
|
2368
2372
|
401: Error401;
|
|
2369
2373
|
/**
|
|
@@ -2412,7 +2416,7 @@ export type CreateSeriesErrors = {
|
|
|
2412
2416
|
*/
|
|
2413
2417
|
400: Error400;
|
|
2414
2418
|
/**
|
|
2415
|
-
* Unauthorized
|
|
2419
|
+
* Unauthorized (API key)
|
|
2416
2420
|
*/
|
|
2417
2421
|
401: Error401;
|
|
2418
2422
|
/**
|
|
@@ -2453,7 +2457,7 @@ export type DeleteSeriesErrors = {
|
|
|
2453
2457
|
*/
|
|
2454
2458
|
400: Error400;
|
|
2455
2459
|
/**
|
|
2456
|
-
* Unauthorized
|
|
2460
|
+
* Unauthorized (API key)
|
|
2457
2461
|
*/
|
|
2458
2462
|
401: Error401;
|
|
2459
2463
|
/**
|
|
@@ -2491,7 +2495,7 @@ export type GetSeriesData = {
|
|
|
2491
2495
|
};
|
|
2492
2496
|
query?: {
|
|
2493
2497
|
/**
|
|
2494
|
-
* Resources to expand in the series response
|
|
2498
|
+
* Resources to expand in the series response
|
|
2495
2499
|
*/
|
|
2496
2500
|
include?: Array<MediaIncludeExpansion>;
|
|
2497
2501
|
};
|
|
@@ -2503,7 +2507,7 @@ export type GetSeriesErrors = {
|
|
|
2503
2507
|
*/
|
|
2504
2508
|
400: Error400;
|
|
2505
2509
|
/**
|
|
2506
|
-
* Unauthorized
|
|
2510
|
+
* Unauthorized (API key)
|
|
2507
2511
|
*/
|
|
2508
2512
|
401: Error401;
|
|
2509
2513
|
/**
|
|
@@ -2561,7 +2565,7 @@ export type UpdateSeriesErrors = {
|
|
|
2561
2565
|
*/
|
|
2562
2566
|
400: Error400;
|
|
2563
2567
|
/**
|
|
2564
|
-
* Unauthorized
|
|
2568
|
+
* Unauthorized (API key)
|
|
2565
2569
|
*/
|
|
2566
2570
|
401: Error401;
|
|
2567
2571
|
/**
|
|
@@ -2615,7 +2619,7 @@ export type AddMediaToSeriesErrors = {
|
|
|
2615
2619
|
*/
|
|
2616
2620
|
400: Error400;
|
|
2617
2621
|
/**
|
|
2618
|
-
* Unauthorized
|
|
2622
|
+
* Unauthorized (API key)
|
|
2619
2623
|
*/
|
|
2620
2624
|
401: Error401;
|
|
2621
2625
|
/**
|
|
@@ -2664,7 +2668,7 @@ export type RemoveMediaFromSeriesErrors = {
|
|
|
2664
2668
|
*/
|
|
2665
2669
|
400: Error400;
|
|
2666
2670
|
/**
|
|
2667
|
-
* Unauthorized
|
|
2671
|
+
* Unauthorized (API key)
|
|
2668
2672
|
*/
|
|
2669
2673
|
401: Error401;
|
|
2670
2674
|
/**
|
|
@@ -2718,7 +2722,7 @@ export type UpdateSeriesMediaErrors = {
|
|
|
2718
2722
|
*/
|
|
2719
2723
|
400: Error400;
|
|
2720
2724
|
/**
|
|
2721
|
-
* Unauthorized
|
|
2725
|
+
* Unauthorized (API key)
|
|
2722
2726
|
*/
|
|
2723
2727
|
401: Error401;
|
|
2724
2728
|
/**
|
|
@@ -2763,7 +2767,7 @@ export type GetCharacterErrors = {
|
|
|
2763
2767
|
*/
|
|
2764
2768
|
400: Error400;
|
|
2765
2769
|
/**
|
|
2766
|
-
* Unauthorized
|
|
2770
|
+
* Unauthorized (API key)
|
|
2767
2771
|
*/
|
|
2768
2772
|
401: Error401;
|
|
2769
2773
|
/**
|
|
@@ -2808,7 +2812,7 @@ export type GetSeiyuuErrors = {
|
|
|
2808
2812
|
*/
|
|
2809
2813
|
400: Error400;
|
|
2810
2814
|
/**
|
|
2811
|
-
* Unauthorized
|
|
2815
|
+
* Unauthorized (API key)
|
|
2812
2816
|
*/
|
|
2813
2817
|
401: Error401;
|
|
2814
2818
|
/**
|
|
@@ -2853,7 +2857,7 @@ export type DeleteMediaErrors = {
|
|
|
2853
2857
|
*/
|
|
2854
2858
|
400: Error400;
|
|
2855
2859
|
/**
|
|
2856
|
-
* Unauthorized
|
|
2860
|
+
* Unauthorized (API key)
|
|
2857
2861
|
*/
|
|
2858
2862
|
401: Error401;
|
|
2859
2863
|
/**
|
|
@@ -2891,7 +2895,7 @@ export type GetMediaData = {
|
|
|
2891
2895
|
};
|
|
2892
2896
|
query?: {
|
|
2893
2897
|
/**
|
|
2894
|
-
* Resources to expand in the media response
|
|
2898
|
+
* Resources to expand in the media response
|
|
2895
2899
|
*/
|
|
2896
2900
|
include?: Array<MediaIncludeExpansion>;
|
|
2897
2901
|
};
|
|
@@ -2903,7 +2907,7 @@ export type GetMediaErrors = {
|
|
|
2903
2907
|
*/
|
|
2904
2908
|
400: Error400;
|
|
2905
2909
|
/**
|
|
2906
|
-
* Unauthorized
|
|
2910
|
+
* Unauthorized (API key)
|
|
2907
2911
|
*/
|
|
2908
2912
|
401: Error401;
|
|
2909
2913
|
/**
|
|
@@ -2948,7 +2952,7 @@ export type UpdateMediaErrors = {
|
|
|
2948
2952
|
*/
|
|
2949
2953
|
400: Error400;
|
|
2950
2954
|
/**
|
|
2951
|
-
* Unauthorized
|
|
2955
|
+
* Unauthorized (API key)
|
|
2952
2956
|
*/
|
|
2953
2957
|
401: Error401;
|
|
2954
2958
|
/**
|
|
@@ -3002,7 +3006,7 @@ export type ListEpisodesErrors = {
|
|
|
3002
3006
|
*/
|
|
3003
3007
|
400: Error400;
|
|
3004
3008
|
/**
|
|
3005
|
-
* Unauthorized
|
|
3009
|
+
* Unauthorized (API key)
|
|
3006
3010
|
*/
|
|
3007
3011
|
401: Error401;
|
|
3008
3012
|
/**
|
|
@@ -3047,7 +3051,7 @@ export type CreateEpisodeErrors = {
|
|
|
3047
3051
|
*/
|
|
3048
3052
|
400: Error400;
|
|
3049
3053
|
/**
|
|
3050
|
-
* Unauthorized
|
|
3054
|
+
* Unauthorized (API key)
|
|
3051
3055
|
*/
|
|
3052
3056
|
401: Error401;
|
|
3053
3057
|
/**
|
|
@@ -3100,7 +3104,7 @@ export type DeleteEpisodeErrors = {
|
|
|
3100
3104
|
*/
|
|
3101
3105
|
400: Error400;
|
|
3102
3106
|
/**
|
|
3103
|
-
* Unauthorized
|
|
3107
|
+
* Unauthorized (API key)
|
|
3104
3108
|
*/
|
|
3105
3109
|
401: Error401;
|
|
3106
3110
|
/**
|
|
@@ -3149,7 +3153,7 @@ export type GetEpisodeErrors = {
|
|
|
3149
3153
|
*/
|
|
3150
3154
|
400: Error400;
|
|
3151
3155
|
/**
|
|
3152
|
-
* Unauthorized
|
|
3156
|
+
* Unauthorized (API key)
|
|
3153
3157
|
*/
|
|
3154
3158
|
401: Error401;
|
|
3155
3159
|
/**
|
|
@@ -3198,7 +3202,7 @@ export type UpdateEpisodeErrors = {
|
|
|
3198
3202
|
*/
|
|
3199
3203
|
400: Error400;
|
|
3200
3204
|
/**
|
|
3201
|
-
* Unauthorized
|
|
3205
|
+
* Unauthorized (API key)
|
|
3202
3206
|
*/
|
|
3203
3207
|
401: Error401;
|
|
3204
3208
|
/**
|
|
@@ -3256,7 +3260,7 @@ export type ListSegmentsErrors = {
|
|
|
3256
3260
|
*/
|
|
3257
3261
|
400: Error400;
|
|
3258
3262
|
/**
|
|
3259
|
-
* Unauthorized
|
|
3263
|
+
* Unauthorized (API key)
|
|
3260
3264
|
*/
|
|
3261
3265
|
401: Error401;
|
|
3262
3266
|
/**
|
|
@@ -3311,7 +3315,7 @@ export type CreateSegmentErrors = {
|
|
|
3311
3315
|
*/
|
|
3312
3316
|
400: Error400;
|
|
3313
3317
|
/**
|
|
3314
|
-
* Unauthorized
|
|
3318
|
+
* Unauthorized (API key)
|
|
3315
3319
|
*/
|
|
3316
3320
|
401: Error401;
|
|
3317
3321
|
/**
|
|
@@ -3368,7 +3372,7 @@ export type DeleteSegmentErrors = {
|
|
|
3368
3372
|
*/
|
|
3369
3373
|
400: Error400;
|
|
3370
3374
|
/**
|
|
3371
|
-
* Unauthorized
|
|
3375
|
+
* Unauthorized (API key)
|
|
3372
3376
|
*/
|
|
3373
3377
|
401: Error401;
|
|
3374
3378
|
/**
|
|
@@ -3421,7 +3425,7 @@ export type GetSegmentErrors = {
|
|
|
3421
3425
|
*/
|
|
3422
3426
|
400: Error400;
|
|
3423
3427
|
/**
|
|
3424
|
-
* Unauthorized
|
|
3428
|
+
* Unauthorized (API key)
|
|
3425
3429
|
*/
|
|
3426
3430
|
401: Error401;
|
|
3427
3431
|
/**
|
|
@@ -3474,7 +3478,7 @@ export type UpdateSegmentErrors = {
|
|
|
3474
3478
|
*/
|
|
3475
3479
|
400: Error400;
|
|
3476
3480
|
/**
|
|
3477
|
-
* Unauthorized
|
|
3481
|
+
* Unauthorized (API key)
|
|
3478
3482
|
*/
|
|
3479
3483
|
401: Error401;
|
|
3480
3484
|
/**
|
|
@@ -3510,7 +3514,7 @@ export type GetUserQuotaData = {
|
|
|
3510
3514
|
};
|
|
3511
3515
|
export type GetUserQuotaErrors = {
|
|
3512
3516
|
/**
|
|
3513
|
-
* Unauthorized
|
|
3517
|
+
* Unauthorized (session)
|
|
3514
3518
|
*/
|
|
3515
3519
|
401: Error401;
|
|
3516
3520
|
/**
|
|
@@ -3546,7 +3550,7 @@ export type CreateUserReportErrors = {
|
|
|
3546
3550
|
*/
|
|
3547
3551
|
400: Error400;
|
|
3548
3552
|
/**
|
|
3549
|
-
* Unauthorized
|
|
3553
|
+
* Unauthorized (session)
|
|
3550
3554
|
*/
|
|
3551
3555
|
401: Error401;
|
|
3552
3556
|
/**
|
|
@@ -3574,7 +3578,7 @@ export type GetUserPreferencesData = {
|
|
|
3574
3578
|
};
|
|
3575
3579
|
export type GetUserPreferencesErrors = {
|
|
3576
3580
|
/**
|
|
3577
|
-
* Unauthorized
|
|
3581
|
+
* Unauthorized (session)
|
|
3578
3582
|
*/
|
|
3579
3583
|
401: Error401;
|
|
3580
3584
|
/**
|
|
@@ -3598,7 +3602,7 @@ export type UpdateUserPreferencesData = {
|
|
|
3598
3602
|
};
|
|
3599
3603
|
export type UpdateUserPreferencesErrors = {
|
|
3600
3604
|
/**
|
|
3601
|
-
* Unauthorized
|
|
3605
|
+
* Unauthorized (session)
|
|
3602
3606
|
*/
|
|
3603
3607
|
401: Error401;
|
|
3604
3608
|
/**
|
|
@@ -3627,7 +3631,7 @@ export type DeleteUserActivityData = {
|
|
|
3627
3631
|
};
|
|
3628
3632
|
export type DeleteUserActivityErrors = {
|
|
3629
3633
|
/**
|
|
3630
|
-
* Unauthorized
|
|
3634
|
+
* Unauthorized (session)
|
|
3631
3635
|
*/
|
|
3632
3636
|
401: Error401;
|
|
3633
3637
|
/**
|
|
@@ -3670,7 +3674,7 @@ export type ListUserActivityData = {
|
|
|
3670
3674
|
};
|
|
3671
3675
|
export type ListUserActivityErrors = {
|
|
3672
3676
|
/**
|
|
3673
|
-
* Unauthorized
|
|
3677
|
+
* Unauthorized (session)
|
|
3674
3678
|
*/
|
|
3675
3679
|
401: Error401;
|
|
3676
3680
|
/**
|
|
@@ -3694,7 +3698,7 @@ export type TrackUserActivityData = {
|
|
|
3694
3698
|
activityType: 'SEGMENT_PLAY';
|
|
3695
3699
|
segmentUuid?: string;
|
|
3696
3700
|
mediaId?: number;
|
|
3697
|
-
|
|
3701
|
+
mediaName?: string;
|
|
3698
3702
|
japaneseText?: string;
|
|
3699
3703
|
};
|
|
3700
3704
|
path?: never;
|
|
@@ -3707,7 +3711,7 @@ export type TrackUserActivityErrors = {
|
|
|
3707
3711
|
*/
|
|
3708
3712
|
400: Error400;
|
|
3709
3713
|
/**
|
|
3710
|
-
* Unauthorized
|
|
3714
|
+
* Unauthorized (session)
|
|
3711
3715
|
*/
|
|
3712
3716
|
401: Error401;
|
|
3713
3717
|
/**
|
|
@@ -3740,7 +3744,7 @@ export type GetUserActivityHeatmapData = {
|
|
|
3740
3744
|
};
|
|
3741
3745
|
export type GetUserActivityHeatmapErrors = {
|
|
3742
3746
|
/**
|
|
3743
|
-
* Unauthorized
|
|
3747
|
+
* Unauthorized (session)
|
|
3744
3748
|
*/
|
|
3745
3749
|
401: Error401;
|
|
3746
3750
|
/**
|
|
@@ -3776,7 +3780,7 @@ export type GetUserActivityStatsData = {
|
|
|
3776
3780
|
};
|
|
3777
3781
|
export type GetUserActivityStatsErrors = {
|
|
3778
3782
|
/**
|
|
3779
|
-
* Unauthorized
|
|
3783
|
+
* Unauthorized (session)
|
|
3780
3784
|
*/
|
|
3781
3785
|
401: Error401;
|
|
3782
3786
|
/**
|
|
@@ -3814,7 +3818,7 @@ export type DeleteUserActivityByDateData = {
|
|
|
3814
3818
|
};
|
|
3815
3819
|
export type DeleteUserActivityByDateErrors = {
|
|
3816
3820
|
/**
|
|
3817
|
-
* Unauthorized
|
|
3821
|
+
* Unauthorized (session)
|
|
3818
3822
|
*/
|
|
3819
3823
|
401: Error401;
|
|
3820
3824
|
/**
|
|
@@ -3845,15 +3849,13 @@ export type DeleteUserActivityByIdData = {
|
|
|
3845
3849
|
};
|
|
3846
3850
|
export type DeleteUserActivityByIdErrors = {
|
|
3847
3851
|
/**
|
|
3848
|
-
* Unauthorized
|
|
3852
|
+
* Unauthorized (session)
|
|
3849
3853
|
*/
|
|
3850
3854
|
401: Error401;
|
|
3851
3855
|
/**
|
|
3852
|
-
*
|
|
3856
|
+
* Not Found
|
|
3853
3857
|
*/
|
|
3854
|
-
404:
|
|
3855
|
-
message?: string;
|
|
3856
|
-
};
|
|
3858
|
+
404: Error404;
|
|
3857
3859
|
/**
|
|
3858
3860
|
* Internal Server Error
|
|
3859
3861
|
*/
|
|
@@ -3875,7 +3877,7 @@ export type ExportUserDataData = {
|
|
|
3875
3877
|
};
|
|
3876
3878
|
export type ExportUserDataErrors = {
|
|
3877
3879
|
/**
|
|
3878
|
-
* Unauthorized
|
|
3880
|
+
* Unauthorized (session)
|
|
3879
3881
|
*/
|
|
3880
3882
|
401: Error401;
|
|
3881
3883
|
/**
|
|
@@ -3899,7 +3901,7 @@ export type ListUserLabsData = {
|
|
|
3899
3901
|
};
|
|
3900
3902
|
export type ListUserLabsErrors = {
|
|
3901
3903
|
/**
|
|
3902
|
-
* Unauthorized
|
|
3904
|
+
* Unauthorized (session)
|
|
3903
3905
|
*/
|
|
3904
3906
|
401: Error401;
|
|
3905
3907
|
/**
|
|
@@ -3928,7 +3930,7 @@ export type UnenrollUserLabData = {
|
|
|
3928
3930
|
};
|
|
3929
3931
|
export type UnenrollUserLabErrors = {
|
|
3930
3932
|
/**
|
|
3931
|
-
* Unauthorized
|
|
3933
|
+
* Unauthorized (session)
|
|
3932
3934
|
*/
|
|
3933
3935
|
401: Error401;
|
|
3934
3936
|
/**
|
|
@@ -3961,7 +3963,7 @@ export type EnrollUserLabData = {
|
|
|
3961
3963
|
};
|
|
3962
3964
|
export type EnrollUserLabErrors = {
|
|
3963
3965
|
/**
|
|
3964
|
-
* Unauthorized
|
|
3966
|
+
* Unauthorized (session)
|
|
3965
3967
|
*/
|
|
3966
3968
|
401: Error401;
|
|
3967
3969
|
/**
|
|
@@ -3993,12 +3995,6 @@ export type ListCollectionsData = {
|
|
|
3993
3995
|
* Opaque pagination cursor token
|
|
3994
3996
|
*/
|
|
3995
3997
|
cursor?: string;
|
|
3996
|
-
/**
|
|
3997
|
-
* Page number (1-indexed)
|
|
3998
|
-
*
|
|
3999
|
-
* @deprecated
|
|
4000
|
-
*/
|
|
4001
|
-
page?: number;
|
|
4002
3998
|
/**
|
|
4003
3999
|
* Items per page
|
|
4004
4000
|
*/
|
|
@@ -4012,7 +4008,7 @@ export type ListCollectionsErrors = {
|
|
|
4012
4008
|
*/
|
|
4013
4009
|
400: Error400;
|
|
4014
4010
|
/**
|
|
4015
|
-
* Unauthorized
|
|
4011
|
+
* Unauthorized (session)
|
|
4016
4012
|
*/
|
|
4017
4013
|
401: Error401;
|
|
4018
4014
|
/**
|
|
@@ -4048,7 +4044,7 @@ export type CreateCollectionErrors = {
|
|
|
4048
4044
|
*/
|
|
4049
4045
|
400: Error400;
|
|
4050
4046
|
/**
|
|
4051
|
-
* Unauthorized
|
|
4047
|
+
* Unauthorized (session)
|
|
4052
4048
|
*/
|
|
4053
4049
|
401: Error401;
|
|
4054
4050
|
/**
|
|
@@ -4089,7 +4085,7 @@ export type DeleteCollectionErrors = {
|
|
|
4089
4085
|
*/
|
|
4090
4086
|
400: Error400;
|
|
4091
4087
|
/**
|
|
4092
|
-
* Unauthorized
|
|
4088
|
+
* Unauthorized (session)
|
|
4093
4089
|
*/
|
|
4094
4090
|
401: Error401;
|
|
4095
4091
|
/**
|
|
@@ -4130,12 +4126,6 @@ export type GetCollectionData = {
|
|
|
4130
4126
|
* Opaque pagination cursor token for paginated segments
|
|
4131
4127
|
*/
|
|
4132
4128
|
cursor?: string;
|
|
4133
|
-
/**
|
|
4134
|
-
* Page number (1-indexed)
|
|
4135
|
-
*
|
|
4136
|
-
* @deprecated
|
|
4137
|
-
*/
|
|
4138
|
-
page?: number;
|
|
4139
4129
|
/**
|
|
4140
4130
|
* Items per page
|
|
4141
4131
|
*/
|
|
@@ -4149,7 +4139,7 @@ export type GetCollectionErrors = {
|
|
|
4149
4139
|
*/
|
|
4150
4140
|
400: Error400;
|
|
4151
4141
|
/**
|
|
4152
|
-
* Unauthorized
|
|
4142
|
+
* Unauthorized (session)
|
|
4153
4143
|
*/
|
|
4154
4144
|
401: Error401;
|
|
4155
4145
|
/**
|
|
@@ -4197,7 +4187,7 @@ export type UpdateCollectionErrors = {
|
|
|
4197
4187
|
*/
|
|
4198
4188
|
400: Error400;
|
|
4199
4189
|
/**
|
|
4200
|
-
* Unauthorized
|
|
4190
|
+
* Unauthorized (session)
|
|
4201
4191
|
*/
|
|
4202
4192
|
401: Error401;
|
|
4203
4193
|
/**
|
|
@@ -4251,7 +4241,7 @@ export type AddSegmentToCollectionErrors = {
|
|
|
4251
4241
|
*/
|
|
4252
4242
|
400: Error400;
|
|
4253
4243
|
/**
|
|
4254
|
-
* Unauthorized
|
|
4244
|
+
* Unauthorized (session)
|
|
4255
4245
|
*/
|
|
4256
4246
|
401: Error401;
|
|
4257
4247
|
/**
|
|
@@ -4300,7 +4290,7 @@ export type RemoveSegmentFromCollectionErrors = {
|
|
|
4300
4290
|
*/
|
|
4301
4291
|
400: Error400;
|
|
4302
4292
|
/**
|
|
4303
|
-
* Unauthorized
|
|
4293
|
+
* Unauthorized (session)
|
|
4304
4294
|
*/
|
|
4305
4295
|
401: Error401;
|
|
4306
4296
|
/**
|
|
@@ -4358,7 +4348,7 @@ export type UpdateCollectionSegmentErrors = {
|
|
|
4358
4348
|
*/
|
|
4359
4349
|
400: Error400;
|
|
4360
4350
|
/**
|
|
4361
|
-
* Unauthorized
|
|
4351
|
+
* Unauthorized (session)
|
|
4362
4352
|
*/
|
|
4363
4353
|
401: Error401;
|
|
4364
4354
|
/**
|
|
@@ -4412,7 +4402,7 @@ export type SearchCollectionSegmentsErrors = {
|
|
|
4412
4402
|
*/
|
|
4413
4403
|
400: Error400;
|
|
4414
4404
|
/**
|
|
4415
|
-
* Unauthorized
|
|
4405
|
+
* Unauthorized (session)
|
|
4416
4406
|
*/
|
|
4417
4407
|
401: Error401;
|
|
4418
4408
|
/**
|
|
@@ -4457,7 +4447,7 @@ export type GetCollectionStatsErrors = {
|
|
|
4457
4447
|
*/
|
|
4458
4448
|
400: Error400;
|
|
4459
4449
|
/**
|
|
4460
|
-
* Unauthorized
|
|
4450
|
+
* Unauthorized (session)
|
|
4461
4451
|
*/
|
|
4462
4452
|
401: Error401;
|
|
4463
4453
|
/**
|
|
@@ -4493,7 +4483,7 @@ export type GetAdminDashboardData = {
|
|
|
4493
4483
|
};
|
|
4494
4484
|
export type GetAdminDashboardErrors = {
|
|
4495
4485
|
/**
|
|
4496
|
-
* Unauthorized
|
|
4486
|
+
* Unauthorized (API key)
|
|
4497
4487
|
*/
|
|
4498
4488
|
401: Error401;
|
|
4499
4489
|
/**
|
|
@@ -4585,7 +4575,7 @@ export type GetAdminHealthData = {
|
|
|
4585
4575
|
};
|
|
4586
4576
|
export type GetAdminHealthErrors = {
|
|
4587
4577
|
/**
|
|
4588
|
-
* Unauthorized
|
|
4578
|
+
* Unauthorized (API key)
|
|
4589
4579
|
*/
|
|
4590
4580
|
401: Error401;
|
|
4591
4581
|
/**
|
|
@@ -4647,7 +4637,7 @@ export type TriggerReindexErrors = {
|
|
|
4647
4637
|
*/
|
|
4648
4638
|
400: Error400;
|
|
4649
4639
|
/**
|
|
4650
|
-
* Unauthorized
|
|
4640
|
+
* Unauthorized (API key)
|
|
4651
4641
|
*/
|
|
4652
4642
|
401: Error401;
|
|
4653
4643
|
/**
|
|
@@ -4683,7 +4673,7 @@ export type ListAdminQueueStatsErrors = {
|
|
|
4683
4673
|
*/
|
|
4684
4674
|
400: Error400;
|
|
4685
4675
|
/**
|
|
4686
|
-
* Unauthorized
|
|
4676
|
+
* Unauthorized (API key)
|
|
4687
4677
|
*/
|
|
4688
4678
|
401: Error401;
|
|
4689
4679
|
/**
|
|
@@ -4705,15 +4695,15 @@ export type ListAdminQueueStatsResponses = {
|
|
|
4705
4695
|
* Queue statistics retrieved successfully
|
|
4706
4696
|
*/
|
|
4707
4697
|
200: Array<{
|
|
4708
|
-
queue
|
|
4698
|
+
queue: string;
|
|
4709
4699
|
/**
|
|
4710
4700
|
* Number of jobs currently pending/active
|
|
4711
4701
|
*/
|
|
4712
|
-
stuckCount
|
|
4702
|
+
stuckCount: number;
|
|
4713
4703
|
/**
|
|
4714
4704
|
* Number of failed jobs
|
|
4715
4705
|
*/
|
|
4716
|
-
failedCount
|
|
4706
|
+
failedCount: number;
|
|
4717
4707
|
}>;
|
|
4718
4708
|
};
|
|
4719
4709
|
export type ListAdminQueueStatsResponse = ListAdminQueueStatsResponses[keyof ListAdminQueueStatsResponses];
|
|
@@ -4734,7 +4724,7 @@ export type GetAdminQueueErrors = {
|
|
|
4734
4724
|
*/
|
|
4735
4725
|
400: Error400;
|
|
4736
4726
|
/**
|
|
4737
|
-
* Unauthorized
|
|
4727
|
+
* Unauthorized (API key)
|
|
4738
4728
|
*/
|
|
4739
4729
|
401: Error401;
|
|
4740
4730
|
/**
|
|
@@ -4819,7 +4809,7 @@ export type ListAdminQueueFailedErrors = {
|
|
|
4819
4809
|
*/
|
|
4820
4810
|
400: Error400;
|
|
4821
4811
|
/**
|
|
4822
|
-
* Unauthorized
|
|
4812
|
+
* Unauthorized (API key)
|
|
4823
4813
|
*/
|
|
4824
4814
|
401: Error401;
|
|
4825
4815
|
/**
|
|
@@ -4844,19 +4834,19 @@ export type ListAdminQueueFailedResponses = {
|
|
|
4844
4834
|
/**
|
|
4845
4835
|
* Job ID
|
|
4846
4836
|
*/
|
|
4847
|
-
id
|
|
4837
|
+
id: string;
|
|
4848
4838
|
/**
|
|
4849
4839
|
* The segment ID that failed to sync
|
|
4850
4840
|
*/
|
|
4851
|
-
segmentId
|
|
4841
|
+
segmentId: number;
|
|
4852
4842
|
/**
|
|
4853
4843
|
* Error message from the last attempt
|
|
4854
4844
|
*/
|
|
4855
|
-
error
|
|
4845
|
+
error: string;
|
|
4856
4846
|
/**
|
|
4857
4847
|
* When the job was created
|
|
4858
4848
|
*/
|
|
4859
|
-
createdOn
|
|
4849
|
+
createdOn: string;
|
|
4860
4850
|
}>;
|
|
4861
4851
|
};
|
|
4862
4852
|
export type ListAdminQueueFailedResponse = ListAdminQueueFailedResponses[keyof ListAdminQueueFailedResponses];
|
|
@@ -4877,7 +4867,7 @@ export type RetryAdminQueueFailedErrors = {
|
|
|
4877
4867
|
*/
|
|
4878
4868
|
400: Error400;
|
|
4879
4869
|
/**
|
|
4880
|
-
* Unauthorized
|
|
4870
|
+
* Unauthorized (API key)
|
|
4881
4871
|
*/
|
|
4882
4872
|
401: Error401;
|
|
4883
4873
|
/**
|
|
@@ -4899,12 +4889,12 @@ export type RetryAdminQueueFailedResponses = {
|
|
|
4899
4889
|
* Jobs queued for retry
|
|
4900
4890
|
*/
|
|
4901
4891
|
200: {
|
|
4902
|
-
success
|
|
4892
|
+
success: boolean;
|
|
4903
4893
|
/**
|
|
4904
4894
|
* Number of jobs queued for retry
|
|
4905
4895
|
*/
|
|
4906
|
-
retriedCount
|
|
4907
|
-
message
|
|
4896
|
+
retriedCount: number;
|
|
4897
|
+
message: string;
|
|
4908
4898
|
};
|
|
4909
4899
|
};
|
|
4910
4900
|
export type RetryAdminQueueFailedResponse = RetryAdminQueueFailedResponses[keyof RetryAdminQueueFailedResponses];
|
|
@@ -4925,7 +4915,7 @@ export type PurgeAdminQueueFailedErrors = {
|
|
|
4925
4915
|
*/
|
|
4926
4916
|
400: Error400;
|
|
4927
4917
|
/**
|
|
4928
|
-
* Unauthorized
|
|
4918
|
+
* Unauthorized (API key)
|
|
4929
4919
|
*/
|
|
4930
4920
|
401: Error401;
|
|
4931
4921
|
/**
|
|
@@ -4947,12 +4937,12 @@ export type PurgeAdminQueueFailedResponses = {
|
|
|
4947
4937
|
* Failed jobs purged successfully
|
|
4948
4938
|
*/
|
|
4949
4939
|
200: {
|
|
4950
|
-
success
|
|
4940
|
+
success: boolean;
|
|
4951
4941
|
/**
|
|
4952
4942
|
* Number of failed jobs deleted
|
|
4953
4943
|
*/
|
|
4954
|
-
purgedCount
|
|
4955
|
-
message
|
|
4944
|
+
purgedCount: number;
|
|
4945
|
+
message: string;
|
|
4956
4946
|
};
|
|
4957
4947
|
};
|
|
4958
4948
|
export type PurgeAdminQueueFailedResponse = PurgeAdminQueueFailedResponses[keyof PurgeAdminQueueFailedResponses];
|
|
@@ -4964,7 +4954,7 @@ export type ClearAdminImpersonationData = {
|
|
|
4964
4954
|
};
|
|
4965
4955
|
export type ClearAdminImpersonationErrors = {
|
|
4966
4956
|
/**
|
|
4967
|
-
* Unauthorized
|
|
4957
|
+
* Unauthorized (session)
|
|
4968
4958
|
*/
|
|
4969
4959
|
401: Error401;
|
|
4970
4960
|
/**
|
|
@@ -5007,7 +4997,7 @@ export type ImpersonateAdminUserErrors = {
|
|
|
5007
4997
|
*/
|
|
5008
4998
|
400: Error400;
|
|
5009
4999
|
/**
|
|
5010
|
-
* Unauthorized
|
|
5000
|
+
* Unauthorized (session)
|
|
5011
5001
|
*/
|
|
5012
5002
|
401: Error401;
|
|
5013
5003
|
/**
|
|
@@ -5087,7 +5077,7 @@ export type ListAdminReportsData = {
|
|
|
5087
5077
|
};
|
|
5088
5078
|
export type ListAdminReportsErrors = {
|
|
5089
5079
|
/**
|
|
5090
|
-
* Unauthorized
|
|
5080
|
+
* Unauthorized (API key)
|
|
5091
5081
|
*/
|
|
5092
5082
|
401: Error401;
|
|
5093
5083
|
/**
|
|
@@ -5128,7 +5118,7 @@ export type UpdateAdminReportErrors = {
|
|
|
5128
5118
|
*/
|
|
5129
5119
|
400: Error400;
|
|
5130
5120
|
/**
|
|
5131
|
-
* Unauthorized
|
|
5121
|
+
* Unauthorized (API key)
|
|
5132
5122
|
*/
|
|
5133
5123
|
401: Error401;
|
|
5134
5124
|
/**
|
|
@@ -5164,7 +5154,7 @@ export type ListAdminMediaAuditsData = {
|
|
|
5164
5154
|
};
|
|
5165
5155
|
export type ListAdminMediaAuditsErrors = {
|
|
5166
5156
|
/**
|
|
5167
|
-
* Unauthorized
|
|
5157
|
+
* Unauthorized (API key)
|
|
5168
5158
|
*/
|
|
5169
5159
|
401: Error401;
|
|
5170
5160
|
/**
|
|
@@ -5216,7 +5206,7 @@ export type UpdateAdminMediaAuditErrors = {
|
|
|
5216
5206
|
*/
|
|
5217
5207
|
400: Error400;
|
|
5218
5208
|
/**
|
|
5219
|
-
* Unauthorized
|
|
5209
|
+
* Unauthorized (API key)
|
|
5220
5210
|
*/
|
|
5221
5211
|
401: Error401;
|
|
5222
5212
|
/**
|
|
@@ -5262,7 +5252,7 @@ export type RunAdminMediaAuditData = {
|
|
|
5262
5252
|
};
|
|
5263
5253
|
export type RunAdminMediaAuditErrors = {
|
|
5264
5254
|
/**
|
|
5265
|
-
* Unauthorized
|
|
5255
|
+
* Unauthorized (API key)
|
|
5266
5256
|
*/
|
|
5267
5257
|
401: Error401;
|
|
5268
5258
|
/**
|
|
@@ -5311,7 +5301,7 @@ export type ListAdminMediaAuditRunsData = {
|
|
|
5311
5301
|
};
|
|
5312
5302
|
export type ListAdminMediaAuditRunsErrors = {
|
|
5313
5303
|
/**
|
|
5314
|
-
* Unauthorized
|
|
5304
|
+
* Unauthorized (API key)
|
|
5315
5305
|
*/
|
|
5316
5306
|
401: Error401;
|
|
5317
5307
|
/**
|
|
@@ -5351,7 +5341,7 @@ export type GetAdminMediaAuditRunData = {
|
|
|
5351
5341
|
};
|
|
5352
5342
|
export type GetAdminMediaAuditRunErrors = {
|
|
5353
5343
|
/**
|
|
5354
|
-
* Unauthorized
|
|
5344
|
+
* Unauthorized (API key)
|
|
5355
5345
|
*/
|
|
5356
5346
|
401: Error401;
|
|
5357
5347
|
/**
|