api.fluff4.me 1.0.577 → 1.0.579
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/index.d.ts +66 -0
- package/openapi.json +397 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface Author {
|
|
|
40
40
|
support_link: string
|
|
41
41
|
support_message: string
|
|
42
42
|
word_count: number
|
|
43
|
+
work_count: number
|
|
43
44
|
vanity: string
|
|
44
45
|
pronouns?: string | null
|
|
45
46
|
}
|
|
@@ -50,6 +51,7 @@ export interface AuthorSelf {
|
|
|
50
51
|
support_link: string
|
|
51
52
|
support_message: string
|
|
52
53
|
word_count: number
|
|
54
|
+
work_count: number
|
|
53
55
|
vanity: string
|
|
54
56
|
pronouns?: string | null
|
|
55
57
|
description: TextBody
|
|
@@ -160,6 +162,7 @@ export interface AuthorFull {
|
|
|
160
162
|
support_link: string
|
|
161
163
|
support_message: string
|
|
162
164
|
word_count: number
|
|
165
|
+
work_count: number
|
|
163
166
|
vanity: string
|
|
164
167
|
pronouns?: string | null
|
|
165
168
|
description: TextBody
|
|
@@ -295,6 +298,39 @@ export interface PatreonCampaignLite {
|
|
|
295
298
|
url: string
|
|
296
299
|
}
|
|
297
300
|
|
|
301
|
+
export interface QueuedChapter {
|
|
302
|
+
name: string
|
|
303
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
304
|
+
body: string
|
|
305
|
+
queue_index: string
|
|
306
|
+
is_numbered: boolean
|
|
307
|
+
notes_before?: string | null
|
|
308
|
+
notes_after?: string | null
|
|
309
|
+
work: string
|
|
310
|
+
author: string
|
|
311
|
+
mentions?: Author[] | null
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface ChapterQueueBody {
|
|
315
|
+
name: string
|
|
316
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
317
|
+
body: string
|
|
318
|
+
is_numbered?: boolean | null
|
|
319
|
+
notes_before?: string | null
|
|
320
|
+
notes_after?: string | null
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export interface QueuedChapterFinalise {
|
|
324
|
+
queue_index: string
|
|
325
|
+
global_tags?: string[] | null
|
|
326
|
+
custom_tags?: CustomTag[] | null
|
|
327
|
+
tier_ids?: string[] | null
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export interface ChapterHasQueue {
|
|
331
|
+
has_queue: boolean
|
|
332
|
+
}
|
|
333
|
+
|
|
298
334
|
export interface ChapterUpdateBody {
|
|
299
335
|
name?: string | null
|
|
300
336
|
visibility?: "Private" | "Public" | "Patreon" | null
|
|
@@ -822,6 +858,30 @@ export interface Paths {
|
|
|
822
858
|
search?: undefined
|
|
823
859
|
response: Response<Chapter> | ErrorResponse
|
|
824
860
|
},
|
|
861
|
+
"/work/{author}/{vanity}/chapter/create/bulk/queue": {
|
|
862
|
+
method: "post"
|
|
863
|
+
body: ChapterQueueBody
|
|
864
|
+
search?: undefined
|
|
865
|
+
response: Response<QueuedChapter> | ErrorResponse
|
|
866
|
+
},
|
|
867
|
+
"/work/{author}/{vanity}/chapter/create/bulk/cancel": {
|
|
868
|
+
method: "post"
|
|
869
|
+
body?: undefined
|
|
870
|
+
search?: undefined
|
|
871
|
+
response: void | ErrorResponse
|
|
872
|
+
},
|
|
873
|
+
"/work/{author}/{vanity}/chapter/create/bulk/finish": {
|
|
874
|
+
method: "post"
|
|
875
|
+
body: QueuedChapterFinalise[]
|
|
876
|
+
search?: undefined
|
|
877
|
+
response: void | ErrorResponse
|
|
878
|
+
},
|
|
879
|
+
"/work/{author}/{vanity}/chapter/create/bulk/has": {
|
|
880
|
+
method: "post"
|
|
881
|
+
body?: undefined
|
|
882
|
+
search?: undefined
|
|
883
|
+
response: Response<ChapterHasQueue> | ErrorResponse
|
|
884
|
+
},
|
|
825
885
|
"/work/{author}/{work}/chapter/{url}/get": {
|
|
826
886
|
method: "get"
|
|
827
887
|
body?: undefined
|
|
@@ -1409,6 +1469,12 @@ export interface Paths {
|
|
|
1409
1469
|
search?: undefined
|
|
1410
1470
|
response: void | ErrorResponse
|
|
1411
1471
|
},
|
|
1472
|
+
"/danger-token/request/chapter-create-bulk/{service}/begin": {
|
|
1473
|
+
method: "get"
|
|
1474
|
+
body?: undefined
|
|
1475
|
+
search?: undefined
|
|
1476
|
+
response: void | ErrorResponse
|
|
1477
|
+
},
|
|
1412
1478
|
"/feed/get": {
|
|
1413
1479
|
method: "get"
|
|
1414
1480
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
"word_count": {
|
|
141
141
|
"type": "number"
|
|
142
142
|
},
|
|
143
|
+
"work_count": {
|
|
144
|
+
"type": "number"
|
|
145
|
+
},
|
|
143
146
|
"vanity": {
|
|
144
147
|
"type": "string",
|
|
145
148
|
"maxLength": 32
|
|
@@ -161,6 +164,7 @@
|
|
|
161
164
|
"support_link",
|
|
162
165
|
"support_message",
|
|
163
166
|
"word_count",
|
|
167
|
+
"work_count",
|
|
164
168
|
"vanity"
|
|
165
169
|
]
|
|
166
170
|
},
|
|
@@ -186,6 +190,9 @@
|
|
|
186
190
|
"word_count": {
|
|
187
191
|
"type": "number"
|
|
188
192
|
},
|
|
193
|
+
"work_count": {
|
|
194
|
+
"type": "number"
|
|
195
|
+
},
|
|
189
196
|
"vanity": {
|
|
190
197
|
"type": "string",
|
|
191
198
|
"maxLength": 32
|
|
@@ -303,6 +310,7 @@
|
|
|
303
310
|
"support_link",
|
|
304
311
|
"support_message",
|
|
305
312
|
"word_count",
|
|
313
|
+
"work_count",
|
|
306
314
|
"vanity",
|
|
307
315
|
"description"
|
|
308
316
|
]
|
|
@@ -796,6 +804,9 @@
|
|
|
796
804
|
"word_count": {
|
|
797
805
|
"type": "number"
|
|
798
806
|
},
|
|
807
|
+
"work_count": {
|
|
808
|
+
"type": "number"
|
|
809
|
+
},
|
|
799
810
|
"vanity": {
|
|
800
811
|
"type": "string",
|
|
801
812
|
"maxLength": 32
|
|
@@ -820,6 +831,7 @@
|
|
|
820
831
|
"support_link",
|
|
821
832
|
"support_message",
|
|
822
833
|
"word_count",
|
|
834
|
+
"work_count",
|
|
823
835
|
"vanity",
|
|
824
836
|
"description"
|
|
825
837
|
]
|
|
@@ -1723,6 +1735,196 @@
|
|
|
1723
1735
|
"url"
|
|
1724
1736
|
]
|
|
1725
1737
|
},
|
|
1738
|
+
"QueuedChapter": {
|
|
1739
|
+
"type": "object",
|
|
1740
|
+
"properties": {
|
|
1741
|
+
"name": {
|
|
1742
|
+
"type": "string"
|
|
1743
|
+
},
|
|
1744
|
+
"visibility": {
|
|
1745
|
+
"type": "string",
|
|
1746
|
+
"enum": [
|
|
1747
|
+
"Private",
|
|
1748
|
+
"Public",
|
|
1749
|
+
"Patreon"
|
|
1750
|
+
]
|
|
1751
|
+
},
|
|
1752
|
+
"body": {
|
|
1753
|
+
"type": "string"
|
|
1754
|
+
},
|
|
1755
|
+
"queue_index": {
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
},
|
|
1758
|
+
"is_numbered": {
|
|
1759
|
+
"type": "boolean"
|
|
1760
|
+
},
|
|
1761
|
+
"notes_before": {
|
|
1762
|
+
"anyOf": [
|
|
1763
|
+
{
|
|
1764
|
+
"type": "string"
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"type": "null"
|
|
1768
|
+
}
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
"notes_after": {
|
|
1772
|
+
"anyOf": [
|
|
1773
|
+
{
|
|
1774
|
+
"type": "string"
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"type": "null"
|
|
1778
|
+
}
|
|
1779
|
+
]
|
|
1780
|
+
},
|
|
1781
|
+
"work": {
|
|
1782
|
+
"type": "string"
|
|
1783
|
+
},
|
|
1784
|
+
"author": {
|
|
1785
|
+
"type": "string"
|
|
1786
|
+
},
|
|
1787
|
+
"mentions": {
|
|
1788
|
+
"anyOf": [
|
|
1789
|
+
{
|
|
1790
|
+
"type": "array",
|
|
1791
|
+
"items": {
|
|
1792
|
+
"$ref": "#/components/schema/Author"
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"type": "null"
|
|
1797
|
+
}
|
|
1798
|
+
]
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
"required": [
|
|
1802
|
+
"name",
|
|
1803
|
+
"visibility",
|
|
1804
|
+
"body",
|
|
1805
|
+
"queue_index",
|
|
1806
|
+
"is_numbered",
|
|
1807
|
+
"work",
|
|
1808
|
+
"author"
|
|
1809
|
+
]
|
|
1810
|
+
},
|
|
1811
|
+
"ChapterQueueBody": {
|
|
1812
|
+
"type": "object",
|
|
1813
|
+
"properties": {
|
|
1814
|
+
"name": {
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"minLength": 1,
|
|
1817
|
+
"maxLength": 256
|
|
1818
|
+
},
|
|
1819
|
+
"visibility": {
|
|
1820
|
+
"type": "string",
|
|
1821
|
+
"enum": [
|
|
1822
|
+
"Private",
|
|
1823
|
+
"Public",
|
|
1824
|
+
"Patreon"
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
"body": {
|
|
1828
|
+
"type": "string"
|
|
1829
|
+
},
|
|
1830
|
+
"is_numbered": {
|
|
1831
|
+
"anyOf": [
|
|
1832
|
+
{
|
|
1833
|
+
"type": "boolean"
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"type": "null"
|
|
1837
|
+
}
|
|
1838
|
+
]
|
|
1839
|
+
},
|
|
1840
|
+
"notes_before": {
|
|
1841
|
+
"anyOf": [
|
|
1842
|
+
{
|
|
1843
|
+
"type": "string"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"type": "null"
|
|
1847
|
+
}
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1850
|
+
"notes_after": {
|
|
1851
|
+
"anyOf": [
|
|
1852
|
+
{
|
|
1853
|
+
"type": "string"
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"type": "null"
|
|
1857
|
+
}
|
|
1858
|
+
]
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
"required": [
|
|
1862
|
+
"name",
|
|
1863
|
+
"visibility",
|
|
1864
|
+
"body"
|
|
1865
|
+
]
|
|
1866
|
+
},
|
|
1867
|
+
"QueuedChapterFinalise": {
|
|
1868
|
+
"type": "object",
|
|
1869
|
+
"properties": {
|
|
1870
|
+
"queue_index": {
|
|
1871
|
+
"type": "string"
|
|
1872
|
+
},
|
|
1873
|
+
"global_tags": {
|
|
1874
|
+
"anyOf": [
|
|
1875
|
+
{
|
|
1876
|
+
"type": "array",
|
|
1877
|
+
"items": {
|
|
1878
|
+
"type": "string"
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"type": "null"
|
|
1883
|
+
}
|
|
1884
|
+
]
|
|
1885
|
+
},
|
|
1886
|
+
"custom_tags": {
|
|
1887
|
+
"anyOf": [
|
|
1888
|
+
{
|
|
1889
|
+
"type": "array",
|
|
1890
|
+
"items": {
|
|
1891
|
+
"$ref": "#/components/schema/CustomTag"
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"type": "null"
|
|
1896
|
+
}
|
|
1897
|
+
]
|
|
1898
|
+
},
|
|
1899
|
+
"tier_ids": {
|
|
1900
|
+
"anyOf": [
|
|
1901
|
+
{
|
|
1902
|
+
"type": "array",
|
|
1903
|
+
"items": {
|
|
1904
|
+
"type": "string"
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"type": "null"
|
|
1909
|
+
}
|
|
1910
|
+
]
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
"required": [
|
|
1914
|
+
"queue_index"
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
"ChapterHasQueue": {
|
|
1918
|
+
"type": "object",
|
|
1919
|
+
"properties": {
|
|
1920
|
+
"has_queue": {
|
|
1921
|
+
"type": "boolean"
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
"required": [
|
|
1925
|
+
"has_queue"
|
|
1926
|
+
]
|
|
1927
|
+
},
|
|
1726
1928
|
"ChapterUpdateBody": {
|
|
1727
1929
|
"type": "object",
|
|
1728
1930
|
"properties": {
|
|
@@ -4435,6 +4637,173 @@
|
|
|
4435
4637
|
}
|
|
4436
4638
|
}
|
|
4437
4639
|
},
|
|
4640
|
+
"/work/{author}/{vanity}/chapter/create/bulk/queue": {
|
|
4641
|
+
"parameters": [
|
|
4642
|
+
{
|
|
4643
|
+
"name": "author",
|
|
4644
|
+
"in": "path"
|
|
4645
|
+
},
|
|
4646
|
+
{
|
|
4647
|
+
"name": "vanity",
|
|
4648
|
+
"in": "path"
|
|
4649
|
+
}
|
|
4650
|
+
],
|
|
4651
|
+
"post": {
|
|
4652
|
+
"requestBody": {
|
|
4653
|
+
"content": {
|
|
4654
|
+
"application/json": {
|
|
4655
|
+
"schema": {
|
|
4656
|
+
"$ref": "#/components/schemas/ChapterQueueBody"
|
|
4657
|
+
}
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
},
|
|
4661
|
+
"responses": {
|
|
4662
|
+
"200": {
|
|
4663
|
+
"description": "200 response",
|
|
4664
|
+
"content": {
|
|
4665
|
+
"application/json": {
|
|
4666
|
+
"schema": {
|
|
4667
|
+
"type": "object",
|
|
4668
|
+
"properties": {
|
|
4669
|
+
"data": {
|
|
4670
|
+
"$ref": "#/components/schemas/QueuedChapter"
|
|
4671
|
+
}
|
|
4672
|
+
},
|
|
4673
|
+
"required": [
|
|
4674
|
+
"data"
|
|
4675
|
+
]
|
|
4676
|
+
}
|
|
4677
|
+
}
|
|
4678
|
+
}
|
|
4679
|
+
},
|
|
4680
|
+
"default": {
|
|
4681
|
+
"description": "Error",
|
|
4682
|
+
"content": {
|
|
4683
|
+
"application/json": {
|
|
4684
|
+
"schema": {
|
|
4685
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4686
|
+
}
|
|
4687
|
+
}
|
|
4688
|
+
}
|
|
4689
|
+
}
|
|
4690
|
+
}
|
|
4691
|
+
}
|
|
4692
|
+
},
|
|
4693
|
+
"/work/{author}/{vanity}/chapter/create/bulk/cancel": {
|
|
4694
|
+
"parameters": [
|
|
4695
|
+
{
|
|
4696
|
+
"name": "author",
|
|
4697
|
+
"in": "path"
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
"name": "vanity",
|
|
4701
|
+
"in": "path"
|
|
4702
|
+
}
|
|
4703
|
+
],
|
|
4704
|
+
"post": {
|
|
4705
|
+
"responses": {
|
|
4706
|
+
"200": {
|
|
4707
|
+
"description": "200 response"
|
|
4708
|
+
},
|
|
4709
|
+
"default": {
|
|
4710
|
+
"description": "Error",
|
|
4711
|
+
"content": {
|
|
4712
|
+
"application/json": {
|
|
4713
|
+
"schema": {
|
|
4714
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4715
|
+
}
|
|
4716
|
+
}
|
|
4717
|
+
}
|
|
4718
|
+
}
|
|
4719
|
+
}
|
|
4720
|
+
}
|
|
4721
|
+
},
|
|
4722
|
+
"/work/{author}/{vanity}/chapter/create/bulk/finish": {
|
|
4723
|
+
"parameters": [
|
|
4724
|
+
{
|
|
4725
|
+
"name": "author",
|
|
4726
|
+
"in": "path"
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"name": "vanity",
|
|
4730
|
+
"in": "path"
|
|
4731
|
+
}
|
|
4732
|
+
],
|
|
4733
|
+
"post": {
|
|
4734
|
+
"requestBody": {
|
|
4735
|
+
"content": {
|
|
4736
|
+
"application/json": {
|
|
4737
|
+
"schema": {
|
|
4738
|
+
"type": "array",
|
|
4739
|
+
"items": {
|
|
4740
|
+
"$ref": "#/components/schema/QueuedChapterFinalise"
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
4745
|
+
},
|
|
4746
|
+
"responses": {
|
|
4747
|
+
"200": {
|
|
4748
|
+
"description": "200 response"
|
|
4749
|
+
},
|
|
4750
|
+
"default": {
|
|
4751
|
+
"description": "Error",
|
|
4752
|
+
"content": {
|
|
4753
|
+
"application/json": {
|
|
4754
|
+
"schema": {
|
|
4755
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
}
|
|
4762
|
+
},
|
|
4763
|
+
"/work/{author}/{vanity}/chapter/create/bulk/has": {
|
|
4764
|
+
"parameters": [
|
|
4765
|
+
{
|
|
4766
|
+
"name": "author",
|
|
4767
|
+
"in": "path"
|
|
4768
|
+
},
|
|
4769
|
+
{
|
|
4770
|
+
"name": "vanity",
|
|
4771
|
+
"in": "path"
|
|
4772
|
+
}
|
|
4773
|
+
],
|
|
4774
|
+
"post": {
|
|
4775
|
+
"responses": {
|
|
4776
|
+
"200": {
|
|
4777
|
+
"description": "200 response",
|
|
4778
|
+
"content": {
|
|
4779
|
+
"application/json": {
|
|
4780
|
+
"schema": {
|
|
4781
|
+
"type": "object",
|
|
4782
|
+
"properties": {
|
|
4783
|
+
"data": {
|
|
4784
|
+
"$ref": "#/components/schemas/ChapterHasQueue"
|
|
4785
|
+
}
|
|
4786
|
+
},
|
|
4787
|
+
"required": [
|
|
4788
|
+
"data"
|
|
4789
|
+
]
|
|
4790
|
+
}
|
|
4791
|
+
}
|
|
4792
|
+
}
|
|
4793
|
+
},
|
|
4794
|
+
"default": {
|
|
4795
|
+
"description": "Error",
|
|
4796
|
+
"content": {
|
|
4797
|
+
"application/json": {
|
|
4798
|
+
"schema": {
|
|
4799
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4803
|
+
}
|
|
4804
|
+
}
|
|
4805
|
+
}
|
|
4806
|
+
},
|
|
4438
4807
|
"/work/{author}/{work}/chapter/{url}/get": {
|
|
4439
4808
|
"parameters": [
|
|
4440
4809
|
{
|
|
@@ -8461,6 +8830,34 @@
|
|
|
8461
8830
|
}
|
|
8462
8831
|
}
|
|
8463
8832
|
},
|
|
8833
|
+
"/danger-token/request/chapter-create-bulk/{service}/begin": {
|
|
8834
|
+
"parameters": [
|
|
8835
|
+
{
|
|
8836
|
+
"name": "service",
|
|
8837
|
+
"in": "path"
|
|
8838
|
+
}
|
|
8839
|
+
],
|
|
8840
|
+
"get": {
|
|
8841
|
+
"responses": {
|
|
8842
|
+
"200": {
|
|
8843
|
+
"description": "200 response"
|
|
8844
|
+
},
|
|
8845
|
+
"302": {
|
|
8846
|
+
"description": "302 response"
|
|
8847
|
+
},
|
|
8848
|
+
"default": {
|
|
8849
|
+
"description": "Error",
|
|
8850
|
+
"content": {
|
|
8851
|
+
"application/json": {
|
|
8852
|
+
"schema": {
|
|
8853
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
8854
|
+
}
|
|
8855
|
+
}
|
|
8856
|
+
}
|
|
8857
|
+
}
|
|
8858
|
+
}
|
|
8859
|
+
}
|
|
8860
|
+
},
|
|
8464
8861
|
"/feed/get": {
|
|
8465
8862
|
"get": {
|
|
8466
8863
|
"parameters": [
|
package/package.json
CHANGED