api.fluff4.me 1.0.1117 → 1.0.1118
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 +1332 -366
- package/openapi.json +10901 -3522
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -176,24 +176,6 @@ export interface AuthDeleteBody {
|
|
|
176
176
|
id: string
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
export interface AuthServices {
|
|
180
|
-
discord: AuthService
|
|
181
|
-
github: AuthService
|
|
182
|
-
patreon: AuthService
|
|
183
|
-
google: AuthService
|
|
184
|
-
twitch: AuthService
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export interface AuthService {
|
|
188
|
-
id: string
|
|
189
|
-
disabled?: true | null
|
|
190
|
-
url_begin: string
|
|
191
|
-
url_callback: string
|
|
192
|
-
name: string
|
|
193
|
-
colour: number
|
|
194
|
-
icon: string
|
|
195
|
-
}
|
|
196
|
-
|
|
197
179
|
export interface AuthSetRequiredCountBody {
|
|
198
180
|
required_count: number
|
|
199
181
|
}
|
|
@@ -258,10 +240,6 @@ export interface AuthorInsertBody {
|
|
|
258
240
|
comments_privated?: boolean | null
|
|
259
241
|
}
|
|
260
242
|
|
|
261
|
-
export interface AuthorUpdateSettingsBody {
|
|
262
|
-
settings: string
|
|
263
|
-
}
|
|
264
|
-
|
|
265
243
|
export interface AuthorResolveSearch {
|
|
266
244
|
authors: string[]
|
|
267
245
|
}
|
|
@@ -271,114 +249,8 @@ export interface AuthorResolveFullResponse {
|
|
|
271
249
|
mentions: AuthorMetadata[]
|
|
272
250
|
}
|
|
273
251
|
|
|
274
|
-
export interface
|
|
275
|
-
|
|
276
|
-
parent_id?: string | null
|
|
277
|
-
created_time?: string | null
|
|
278
|
-
edited_time?: string | null
|
|
279
|
-
author?: string | null
|
|
280
|
-
body?: TextBody | null
|
|
281
|
-
reactions?: number | null
|
|
282
|
-
reacted?: true | null
|
|
283
|
-
author_hearted?: true | null
|
|
284
|
-
replyable: boolean
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
export interface CommentCreateBody {
|
|
288
|
-
body: string
|
|
289
|
-
parent_id?: string | null
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export interface CommentUpdateBody {
|
|
293
|
-
body: string
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
export interface WorkRecommendationBody {
|
|
297
|
-
body: string
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
export interface CommentsResponse {
|
|
301
|
-
comments: Comment[]
|
|
302
|
-
authors: AuthorMetadata[]
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export interface ContextualCommentsResponse {
|
|
306
|
-
comments: ContextualComment[]
|
|
307
|
-
authors: AuthorMetadata[]
|
|
308
|
-
works: WorkMetadata[]
|
|
309
|
-
chapters: ChapterMetadata[]
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export interface RecommendationsSearchSchema {
|
|
313
|
-
following_only?: boolean | null
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
export interface ContextualComment {
|
|
317
|
-
comment: Comment
|
|
318
|
-
root_object: CommentRootComment | CommentRootWork | CommentRootChapter | CommentRootWorkPrivate | CommentRootChapterPrivate
|
|
319
|
-
is_reply?: true | null
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
export interface CommentRootComment {
|
|
323
|
-
comment_id: string
|
|
324
|
-
type: "comment"
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
export interface CommentRootWork {
|
|
328
|
-
work: WorkReference
|
|
329
|
-
visibility: "Private" | "Public" | "Patreon"
|
|
330
|
-
type: "work"
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
export interface WorkReference {
|
|
334
|
-
author: string
|
|
335
|
-
vanity: string
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export interface CommentRootChapter {
|
|
339
|
-
chapter: ChapterReference
|
|
340
|
-
visibility: "Private" | "Public" | "Patreon"
|
|
341
|
-
type: "chapter"
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
export interface ChapterReference {
|
|
345
|
-
author: string
|
|
346
|
-
work: string
|
|
347
|
-
url: string
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export interface CommentRootWorkPrivate {
|
|
351
|
-
visibility: "Private"
|
|
352
|
-
type: "work_private"
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
export interface CommentRootChapterPrivate {
|
|
356
|
-
visibility: "Private"
|
|
357
|
-
type: "chapter_private"
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export interface ChapterMetadata {
|
|
361
|
-
url: string
|
|
362
|
-
index_public?: number | null
|
|
363
|
-
name?: string | null
|
|
364
|
-
visibility: ChapterVisibility
|
|
365
|
-
word_count: number
|
|
366
|
-
time_last_update?: string | null
|
|
367
|
-
time_publish?: string | null
|
|
368
|
-
author: string
|
|
369
|
-
work: string
|
|
370
|
-
patreon?: PatreonRestriction | null
|
|
371
|
-
is_numbered: boolean
|
|
372
|
-
statistics?: ChapterStatistics | null
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export type ChapterVisibility = "Private" | "Public" | "Patreon"
|
|
376
|
-
|
|
377
|
-
export interface ChapterStatistics {
|
|
378
|
-
comment_count: number
|
|
379
|
-
reaction_count: number
|
|
380
|
-
read_count: number
|
|
381
|
-
visits: string
|
|
252
|
+
export interface AuthorUpdateSettingsBody {
|
|
253
|
+
settings: string
|
|
382
254
|
}
|
|
383
255
|
|
|
384
256
|
export interface Work {
|
|
@@ -441,6 +313,19 @@ export interface WorkStatistics {
|
|
|
441
313
|
chapter_visits: string
|
|
442
314
|
}
|
|
443
315
|
|
|
316
|
+
export interface Comment {
|
|
317
|
+
comment_id: string
|
|
318
|
+
parent_id?: string | null
|
|
319
|
+
created_time?: string | null
|
|
320
|
+
edited_time?: string | null
|
|
321
|
+
author?: string | null
|
|
322
|
+
body?: TextBody | null
|
|
323
|
+
reactions?: number | null
|
|
324
|
+
reacted?: true | null
|
|
325
|
+
author_hearted?: true | null
|
|
326
|
+
replyable: boolean
|
|
327
|
+
}
|
|
328
|
+
|
|
444
329
|
export interface WorkUpdateBody {
|
|
445
330
|
name?: string | null
|
|
446
331
|
description?: string | null
|
|
@@ -464,6 +349,8 @@ export interface Feedback {
|
|
|
464
349
|
feedback_preference_typos?: boolean | null
|
|
465
350
|
}
|
|
466
351
|
|
|
352
|
+
export type Works = WorkMetadata[]
|
|
353
|
+
|
|
467
354
|
export interface Chapter {
|
|
468
355
|
url: string
|
|
469
356
|
index_public?: number | null
|
|
@@ -505,11 +392,55 @@ export interface ChapterCreateBody {
|
|
|
505
392
|
work?: { status?: WorkStatus | null } | null
|
|
506
393
|
}
|
|
507
394
|
|
|
395
|
+
export type ChapterVisibility = "Private" | "Public" | "Patreon"
|
|
396
|
+
|
|
397
|
+
export interface ChapterStatistics {
|
|
398
|
+
comment_count: number
|
|
399
|
+
reaction_count: number
|
|
400
|
+
read_count: number
|
|
401
|
+
visits: string
|
|
402
|
+
}
|
|
403
|
+
|
|
508
404
|
export interface SupporterReactions {
|
|
509
405
|
reaction_type: "heart"
|
|
510
406
|
author: string
|
|
511
407
|
}
|
|
512
408
|
|
|
409
|
+
export interface ChapterUpdateBody {
|
|
410
|
+
name?: (string | false) | null
|
|
411
|
+
visibility?: ChapterVisibility | null
|
|
412
|
+
body?: string | null
|
|
413
|
+
is_numbered?: boolean | null
|
|
414
|
+
notes_before?: (string | false) | null
|
|
415
|
+
notes_after?: (string | false) | null
|
|
416
|
+
global_tags?: string[] | null
|
|
417
|
+
custom_tags?: string[] | null
|
|
418
|
+
tier_ids?: string[] | null
|
|
419
|
+
work?: { status?: WorkStatus | null } | null
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export interface ChapterMetadata {
|
|
423
|
+
url: string
|
|
424
|
+
index_public?: number | null
|
|
425
|
+
name?: string | null
|
|
426
|
+
visibility: ChapterVisibility
|
|
427
|
+
word_count: number
|
|
428
|
+
time_last_update?: string | null
|
|
429
|
+
time_publish?: string | null
|
|
430
|
+
author: string
|
|
431
|
+
work: string
|
|
432
|
+
patreon?: PatreonRestriction | null
|
|
433
|
+
is_numbered: boolean
|
|
434
|
+
statistics?: ChapterStatistics | null
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export interface ChapterRelativePosition {
|
|
438
|
+
relative_to: string
|
|
439
|
+
position: "before" | "after"
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type Chapters = ChapterMetadata[]
|
|
443
|
+
|
|
513
444
|
export interface ChapterBulkQueueItem {
|
|
514
445
|
name?: string | null
|
|
515
446
|
visibility: "Private" | "Public" | "Patreon"
|
|
@@ -543,47 +474,16 @@ export interface ChapterBulkQueueFinishChapterData {
|
|
|
543
474
|
tier_ids?: string[] | null
|
|
544
475
|
}
|
|
545
476
|
|
|
546
|
-
export interface ChapterRelativePosition {
|
|
547
|
-
relative_to: string
|
|
548
|
-
position: "before" | "after"
|
|
549
|
-
}
|
|
550
|
-
|
|
551
477
|
export interface ChapterHasQueue {
|
|
552
478
|
has_queue: boolean
|
|
553
479
|
}
|
|
554
480
|
|
|
555
|
-
export interface ChapterUpdateBody {
|
|
556
|
-
name?: (string | false) | null
|
|
557
|
-
visibility?: ChapterVisibility | null
|
|
558
|
-
body?: string | null
|
|
559
|
-
is_numbered?: boolean | null
|
|
560
|
-
notes_before?: (string | false) | null
|
|
561
|
-
notes_after?: (string | false) | null
|
|
562
|
-
global_tags?: string[] | null
|
|
563
|
-
custom_tags?: string[] | null
|
|
564
|
-
tier_ids?: string[] | null
|
|
565
|
-
work?: { status?: WorkStatus | null } | null
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
export type Chapters = ChapterMetadata[]
|
|
569
|
-
|
|
570
481
|
export interface CampaignTierSetBody {
|
|
571
482
|
visibility: "Private" | "Public" | "Patreon"
|
|
572
483
|
tier_id?: string | null
|
|
573
484
|
chapters: string[]
|
|
574
485
|
}
|
|
575
486
|
|
|
576
|
-
export type Works = WorkMetadata[]
|
|
577
|
-
|
|
578
|
-
export interface WorkResolveResponse {
|
|
579
|
-
works: WorkMetadata[]
|
|
580
|
-
authors: AuthorMetadata[]
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
export interface WorkResolveSearch {
|
|
584
|
-
works: WorkReference[]
|
|
585
|
-
}
|
|
586
|
-
|
|
587
487
|
export interface Follow {
|
|
588
488
|
author?: string | null
|
|
589
489
|
ignoring_work_comments?: true | null
|
|
@@ -595,6 +495,11 @@ export interface Follow {
|
|
|
595
495
|
last_bumped?: string | null
|
|
596
496
|
}
|
|
597
497
|
|
|
498
|
+
export interface WorkReference {
|
|
499
|
+
author: string
|
|
500
|
+
vanity: string
|
|
501
|
+
}
|
|
502
|
+
|
|
598
503
|
export interface FollowsManifest {
|
|
599
504
|
following: {
|
|
600
505
|
author: Follow[]
|
|
@@ -629,33 +534,91 @@ export interface RoleReorderBody {
|
|
|
629
534
|
roles: string[]
|
|
630
535
|
}
|
|
631
536
|
|
|
632
|
-
export interface
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
category: string
|
|
636
|
-
aliases?: string[] | null
|
|
637
|
-
is_mature: boolean
|
|
537
|
+
export interface CommentCreateBody {
|
|
538
|
+
body: string
|
|
539
|
+
parent_id?: string | null
|
|
638
540
|
}
|
|
639
541
|
|
|
640
|
-
export interface
|
|
641
|
-
|
|
642
|
-
description: string
|
|
643
|
-
category: string
|
|
644
|
-
aliases?: string[] | null
|
|
645
|
-
relationships_to?: string[] | null
|
|
646
|
-
relationships_from?: string[] | null
|
|
647
|
-
is_mature?: boolean | null
|
|
542
|
+
export interface CommentUpdateBody {
|
|
543
|
+
body: string
|
|
648
544
|
}
|
|
649
545
|
|
|
650
|
-
export interface
|
|
651
|
-
|
|
652
|
-
|
|
546
|
+
export interface CommentsResponse {
|
|
547
|
+
comments: Comment[]
|
|
548
|
+
authors: AuthorMetadata[]
|
|
653
549
|
}
|
|
654
550
|
|
|
655
|
-
export interface
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
551
|
+
export interface ContextualCommentsResponse {
|
|
552
|
+
comments: ContextualComment[]
|
|
553
|
+
authors: AuthorMetadata[]
|
|
554
|
+
works: WorkMetadata[]
|
|
555
|
+
chapters: ChapterMetadata[]
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export interface ContextualComment {
|
|
559
|
+
comment: Comment
|
|
560
|
+
root_object: CommentRootComment | CommentRootWork | CommentRootChapter | CommentRootWorkPrivate | CommentRootChapterPrivate
|
|
561
|
+
is_reply?: true | null
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export interface CommentRootComment {
|
|
565
|
+
comment_id: string
|
|
566
|
+
type: "comment"
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export interface CommentRootWork {
|
|
570
|
+
work: WorkReference
|
|
571
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
572
|
+
type: "work"
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export interface CommentRootChapter {
|
|
576
|
+
chapter: ChapterReference
|
|
577
|
+
visibility: "Private" | "Public" | "Patreon"
|
|
578
|
+
type: "chapter"
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export interface ChapterReference {
|
|
582
|
+
author: string
|
|
583
|
+
work: string
|
|
584
|
+
url: string
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export interface CommentRootWorkPrivate {
|
|
588
|
+
visibility: "Private"
|
|
589
|
+
type: "work_private"
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export interface CommentRootChapterPrivate {
|
|
593
|
+
visibility: "Private"
|
|
594
|
+
type: "chapter_private"
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export interface WorkRecommendationBody {
|
|
598
|
+
body: string
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export interface RecommendationsSearchSchema {
|
|
602
|
+
following_only?: boolean | null
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export interface Tag {
|
|
606
|
+
name: string
|
|
607
|
+
description: TextBody
|
|
608
|
+
category: string
|
|
609
|
+
aliases?: string[] | null
|
|
610
|
+
is_mature: boolean
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export interface TagCreateGlobalBody {
|
|
614
|
+
name: string
|
|
615
|
+
description: string
|
|
616
|
+
category: string
|
|
617
|
+
aliases?: string[] | null
|
|
618
|
+
relationships_to?: string[] | null
|
|
619
|
+
relationships_from?: string[] | null
|
|
620
|
+
is_mature?: boolean | null
|
|
621
|
+
}
|
|
659
622
|
|
|
660
623
|
export interface TagGlobalUpdateBody {
|
|
661
624
|
name?: string | null
|
|
@@ -667,21 +630,32 @@ export interface TagGlobalUpdateBody {
|
|
|
667
630
|
is_mature?: boolean | null
|
|
668
631
|
}
|
|
669
632
|
|
|
670
|
-
export interface
|
|
671
|
-
name
|
|
672
|
-
description?: string | null
|
|
633
|
+
export interface TagGlobalDemoteBody {
|
|
634
|
+
name: string
|
|
673
635
|
}
|
|
674
636
|
|
|
675
|
-
export interface
|
|
676
|
-
|
|
637
|
+
export interface GlobalTagsDeleteBody {
|
|
638
|
+
tags: string[]
|
|
677
639
|
}
|
|
678
640
|
|
|
679
|
-
export interface
|
|
641
|
+
export interface GlobalTagsRecategoriseBody {
|
|
680
642
|
tags: string[]
|
|
643
|
+
category: string
|
|
681
644
|
}
|
|
682
645
|
|
|
683
|
-
export interface
|
|
684
|
-
|
|
646
|
+
export interface TagCategory {
|
|
647
|
+
name: string
|
|
648
|
+
description: string
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export interface TagCreateCategoryBody {
|
|
652
|
+
name: string
|
|
653
|
+
description: string
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export interface TagCategoryUpdateBody {
|
|
657
|
+
name?: string | null
|
|
658
|
+
description?: string | null
|
|
685
659
|
}
|
|
686
660
|
|
|
687
661
|
export interface TagCustomPromoteBody {
|
|
@@ -705,19 +679,18 @@ export interface TagCustomPromoteBody {
|
|
|
705
679
|
| null
|
|
706
680
|
}
|
|
707
681
|
|
|
708
|
-
export interface TagGlobalDemoteBody {
|
|
709
|
-
name: string
|
|
710
|
-
}
|
|
711
|
-
|
|
712
682
|
export interface CustomTagUsage {
|
|
713
683
|
name: CustomTag
|
|
714
684
|
last_used: string
|
|
715
685
|
count: number
|
|
716
686
|
}
|
|
717
687
|
|
|
718
|
-
export interface
|
|
719
|
-
|
|
720
|
-
|
|
688
|
+
export interface CustomTagRenameBody {
|
|
689
|
+
name: CustomTag
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export interface CustomTagsDeleteBody {
|
|
693
|
+
tags: CustomTag[]
|
|
721
694
|
}
|
|
722
695
|
|
|
723
696
|
export interface ManifestGlobalTags {
|
|
@@ -908,32 +881,6 @@ export interface HistoryItem {
|
|
|
908
881
|
view_time: string
|
|
909
882
|
}
|
|
910
883
|
|
|
911
|
-
export interface SupporterStatus {
|
|
912
|
-
products: MoRProductDisplay[]
|
|
913
|
-
months_remaining: number
|
|
914
|
-
end_time?: string | null
|
|
915
|
-
status?: ("has_active_subscription" | "has_history") | null
|
|
916
|
-
total_paid: number
|
|
917
|
-
patreon_subscriptions: PatreonSubscription[]
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
export interface MoRProductDisplay {
|
|
921
|
-
name: string
|
|
922
|
-
description: string
|
|
923
|
-
price: number
|
|
924
|
-
price_formatted: string
|
|
925
|
-
buy_now_url: string
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
export interface PatreonSubscription {
|
|
929
|
-
status: "active" | "inactive"
|
|
930
|
-
amount: number
|
|
931
|
-
renewal_timestamp?: string | null
|
|
932
|
-
interval: "monthly" | "yearly"
|
|
933
|
-
interval_amount: number
|
|
934
|
-
timestamp: string
|
|
935
|
-
}
|
|
936
|
-
|
|
937
884
|
export interface ChangelogInsertBody {
|
|
938
885
|
body: string
|
|
939
886
|
version: number
|
|
@@ -978,13 +925,6 @@ export interface WorkCensorBody {
|
|
|
978
925
|
license?: true | null
|
|
979
926
|
}
|
|
980
927
|
|
|
981
|
-
export interface ChapterCensorBody {
|
|
982
|
-
name?: true | null
|
|
983
|
-
body?: true | null
|
|
984
|
-
notes_before?: true | null
|
|
985
|
-
notes_after?: true | null
|
|
986
|
-
}
|
|
987
|
-
|
|
988
928
|
export interface WorkLockBody {
|
|
989
929
|
reason: string
|
|
990
930
|
}
|
|
@@ -1011,6 +951,13 @@ export interface PrivilegeRevokeBody {
|
|
|
1011
951
|
expires_at?: string | null
|
|
1012
952
|
}
|
|
1013
953
|
|
|
954
|
+
export interface ChapterCensorBody {
|
|
955
|
+
name?: true | null
|
|
956
|
+
body?: true | null
|
|
957
|
+
notes_before?: true | null
|
|
958
|
+
notes_after?: true | null
|
|
959
|
+
}
|
|
960
|
+
|
|
1014
961
|
export interface ReportAuthorBody {
|
|
1015
962
|
reason: "harassment" | "impersonation" | "spam" | "phishing" | "inappropriate-field" | "tos-violation"
|
|
1016
963
|
reason_body: string
|
|
@@ -1124,6 +1071,59 @@ export interface EmbedSearch {
|
|
|
1124
1071
|
url: string
|
|
1125
1072
|
}
|
|
1126
1073
|
|
|
1074
|
+
export interface AuthServices {
|
|
1075
|
+
discord: AuthService
|
|
1076
|
+
github: AuthService
|
|
1077
|
+
patreon: AuthService
|
|
1078
|
+
google: AuthService
|
|
1079
|
+
twitch: AuthService
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
export interface AuthService {
|
|
1083
|
+
id: string
|
|
1084
|
+
disabled?: true | null
|
|
1085
|
+
url_begin: string
|
|
1086
|
+
url_callback: string
|
|
1087
|
+
name: string
|
|
1088
|
+
colour: number
|
|
1089
|
+
icon: string
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export interface WorkResolveResponse {
|
|
1093
|
+
works: WorkMetadata[]
|
|
1094
|
+
authors: AuthorMetadata[]
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
export interface WorkResolveSearch {
|
|
1098
|
+
works: WorkReference[]
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export interface SupporterStatus {
|
|
1102
|
+
products: MoRProductDisplay[]
|
|
1103
|
+
months_remaining: number
|
|
1104
|
+
end_time?: string | null
|
|
1105
|
+
status?: ("has_active_subscription" | "has_history") | null
|
|
1106
|
+
total_paid: number
|
|
1107
|
+
patreon_subscriptions: PatreonSubscription[]
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
export interface MoRProductDisplay {
|
|
1111
|
+
name: string
|
|
1112
|
+
description: string
|
|
1113
|
+
price: number
|
|
1114
|
+
price_formatted: string
|
|
1115
|
+
buy_now_url: string
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export interface PatreonSubscription {
|
|
1119
|
+
status: "active" | "inactive"
|
|
1120
|
+
amount: number
|
|
1121
|
+
renewal_timestamp?: string | null
|
|
1122
|
+
interval: "monthly" | "yearly"
|
|
1123
|
+
interval_amount: number
|
|
1124
|
+
timestamp: string
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
1127
|
export interface ErrorResponse {
|
|
1128
1128
|
code: number
|
|
1129
1129
|
detail?: string | null
|
|
@@ -1143,22 +1143,1102 @@ export interface Paths {
|
|
|
1143
1143
|
search?: undefined
|
|
1144
1144
|
response: void | ErrorResponse
|
|
1145
1145
|
},
|
|
1146
|
-
"/test/error": {
|
|
1146
|
+
"/test/error": {
|
|
1147
|
+
method: "get"
|
|
1148
|
+
body?: undefined
|
|
1149
|
+
search?: undefined
|
|
1150
|
+
response: void | ErrorResponse
|
|
1151
|
+
},
|
|
1152
|
+
"/session": {
|
|
1153
|
+
method: "get"
|
|
1154
|
+
body?: undefined
|
|
1155
|
+
search?: undefined
|
|
1156
|
+
response: Response<Session> | ErrorResponse
|
|
1157
|
+
},
|
|
1158
|
+
"/session/reset": {
|
|
1159
|
+
method: "post"
|
|
1160
|
+
body?: undefined
|
|
1161
|
+
search?: undefined
|
|
1162
|
+
response: void | ErrorResponse
|
|
1163
|
+
},
|
|
1164
|
+
"/v2/session": {
|
|
1165
|
+
method: "get"
|
|
1166
|
+
body?: undefined
|
|
1167
|
+
search?: undefined
|
|
1168
|
+
response: Response<Session> | ErrorResponse
|
|
1169
|
+
},
|
|
1170
|
+
"/v2/session/reset": {
|
|
1171
|
+
method: "post"
|
|
1172
|
+
body?: undefined
|
|
1173
|
+
search?: undefined
|
|
1174
|
+
response: void | ErrorResponse
|
|
1175
|
+
},
|
|
1176
|
+
"/v2/auth/{service}/begin": {
|
|
1177
|
+
method: "get"
|
|
1178
|
+
body?: undefined
|
|
1179
|
+
search?: undefined
|
|
1180
|
+
response: void | ErrorResponse
|
|
1181
|
+
},
|
|
1182
|
+
"/v2/auth/{service}/callback": {
|
|
1183
|
+
method: "get"
|
|
1184
|
+
body?: undefined
|
|
1185
|
+
search?: undefined
|
|
1186
|
+
response: void | ErrorResponse
|
|
1187
|
+
},
|
|
1188
|
+
"/v2/auth/delete": {
|
|
1189
|
+
method: "post"
|
|
1190
|
+
body: AuthDeleteBody
|
|
1191
|
+
search?: undefined
|
|
1192
|
+
response: void | ErrorResponse
|
|
1193
|
+
},
|
|
1194
|
+
"/v2/auth/set-required-count": {
|
|
1195
|
+
method: "post"
|
|
1196
|
+
body: AuthSetRequiredCountBody
|
|
1197
|
+
search?: undefined
|
|
1198
|
+
response: void | ErrorResponse
|
|
1199
|
+
},
|
|
1200
|
+
"/v2/auth/totp/create": {
|
|
1201
|
+
method: "post"
|
|
1202
|
+
body?: undefined
|
|
1203
|
+
search?: undefined
|
|
1204
|
+
response: Response<TOTPCreateResponse> | ErrorResponse
|
|
1205
|
+
},
|
|
1206
|
+
"/v2/auth/totp/enable": {
|
|
1207
|
+
method: "post"
|
|
1208
|
+
body: TOTPTokenBody
|
|
1209
|
+
search?: undefined
|
|
1210
|
+
response: void | ErrorResponse
|
|
1211
|
+
},
|
|
1212
|
+
"/v2/auth/totp/delete": {
|
|
1213
|
+
method: "post"
|
|
1214
|
+
body?: undefined
|
|
1215
|
+
search?: undefined
|
|
1216
|
+
response: void | ErrorResponse
|
|
1217
|
+
},
|
|
1218
|
+
"/v2/auth/totp/verify": {
|
|
1219
|
+
method: "post"
|
|
1220
|
+
body: TOTPTokenBody
|
|
1221
|
+
search?: undefined
|
|
1222
|
+
response: void | ErrorResponse
|
|
1223
|
+
},
|
|
1224
|
+
"/v2/auth/patreon/campaign/callback": {
|
|
1225
|
+
method: "get"
|
|
1226
|
+
body?: undefined
|
|
1227
|
+
search?: undefined
|
|
1228
|
+
response: void | ErrorResponse
|
|
1229
|
+
},
|
|
1230
|
+
"/v2/auth/patreon/patron/callback": {
|
|
1231
|
+
method: "get"
|
|
1232
|
+
body?: undefined
|
|
1233
|
+
search?: undefined
|
|
1234
|
+
response: void | ErrorResponse
|
|
1235
|
+
},
|
|
1236
|
+
"/v2/auth/patreon/patron/delete": {
|
|
1237
|
+
method: "post"
|
|
1238
|
+
body?: undefined
|
|
1239
|
+
search?: undefined
|
|
1240
|
+
response: Response<AuthorSelf> | ErrorResponse
|
|
1241
|
+
},
|
|
1242
|
+
"/v2/authors/create": {
|
|
1243
|
+
method: "post"
|
|
1244
|
+
body: AuthorCreateBody
|
|
1245
|
+
search?: undefined
|
|
1246
|
+
response: Response<AuthorSelf> | ErrorResponse
|
|
1247
|
+
},
|
|
1248
|
+
"/v2/authors/{vanity}": {
|
|
1249
|
+
method: "get"
|
|
1250
|
+
body?: undefined
|
|
1251
|
+
search?: undefined
|
|
1252
|
+
response: Response<Author> | ErrorResponse
|
|
1253
|
+
},
|
|
1254
|
+
"/v2/authors/{vanity}/rss.xml": {
|
|
1255
|
+
method: "get"
|
|
1256
|
+
body?: undefined
|
|
1257
|
+
search?: undefined
|
|
1258
|
+
response: void | ErrorResponse
|
|
1259
|
+
},
|
|
1260
|
+
"/v2/authors/update": {
|
|
1261
|
+
method: "post"
|
|
1262
|
+
body: AuthorInsertBody
|
|
1263
|
+
search?: undefined
|
|
1264
|
+
response: Response<AuthorSelf> | ErrorResponse
|
|
1265
|
+
},
|
|
1266
|
+
"/v2/authors/delete": {
|
|
1267
|
+
method: "post"
|
|
1268
|
+
body?: undefined
|
|
1269
|
+
search?: undefined
|
|
1270
|
+
response: void | ErrorResponse
|
|
1271
|
+
},
|
|
1272
|
+
"/v2/authors/resolve": {
|
|
1273
|
+
method: "get"
|
|
1274
|
+
body?: undefined
|
|
1275
|
+
search: AuthorResolveSearch
|
|
1276
|
+
response: Response<AuthorMetadata[]> | ErrorResponse
|
|
1277
|
+
},
|
|
1278
|
+
"/v2/authors/resolve/full": {
|
|
1279
|
+
method: "get"
|
|
1280
|
+
body?: undefined
|
|
1281
|
+
search: AuthorResolveSearch
|
|
1282
|
+
response: Response<AuthorResolveFullResponse> | ErrorResponse
|
|
1283
|
+
},
|
|
1284
|
+
"/v2/authors/update-settings": {
|
|
1285
|
+
method: "post"
|
|
1286
|
+
body: AuthorUpdateSettingsBody
|
|
1287
|
+
search?: undefined
|
|
1288
|
+
response: void | ErrorResponse
|
|
1289
|
+
},
|
|
1290
|
+
"/v2/works/create": {
|
|
1291
|
+
method: "post"
|
|
1292
|
+
body: WorkCreateBody
|
|
1293
|
+
search?: undefined
|
|
1294
|
+
response: Response<Work> | ErrorResponse
|
|
1295
|
+
},
|
|
1296
|
+
"/v2/works/{author}/{vanity}/get": {
|
|
1297
|
+
method: "get"
|
|
1298
|
+
body?: undefined
|
|
1299
|
+
search?: undefined
|
|
1300
|
+
response: Response<Work> | ErrorResponse
|
|
1301
|
+
},
|
|
1302
|
+
"/v2/works/{author}/{vanity}/update": {
|
|
1303
|
+
method: "post"
|
|
1304
|
+
body: WorkUpdateBody
|
|
1305
|
+
search?: undefined
|
|
1306
|
+
response: Response<Work> | ErrorResponse
|
|
1307
|
+
},
|
|
1308
|
+
"/v2/works/{author}/{vanity}/delete": {
|
|
1309
|
+
method: "post"
|
|
1310
|
+
body?: undefined
|
|
1311
|
+
search?: undefined
|
|
1312
|
+
response: void | ErrorResponse
|
|
1313
|
+
},
|
|
1314
|
+
"/v2/works/{author}/{vanity}/feedback": {
|
|
1315
|
+
method: "get"
|
|
1316
|
+
body?: undefined
|
|
1317
|
+
search?: undefined
|
|
1318
|
+
response: Response<Feedback> | ErrorResponse
|
|
1319
|
+
},
|
|
1320
|
+
"/v2/works/{author}/{vanity}/rss.xml": {
|
|
1321
|
+
method: "get"
|
|
1322
|
+
body?: undefined
|
|
1323
|
+
search?: undefined
|
|
1324
|
+
response: void | ErrorResponse
|
|
1325
|
+
},
|
|
1326
|
+
"/v2/works/{author}": {
|
|
1327
|
+
method: "get"
|
|
1328
|
+
body?: undefined
|
|
1329
|
+
search: PaginationSearch
|
|
1330
|
+
response: PaginatedResponse<Works> | ErrorResponse
|
|
1331
|
+
},
|
|
1332
|
+
"/v2/chapters/{author}/{work}/create": {
|
|
1333
|
+
method: "post"
|
|
1334
|
+
body: ChapterCreateBody
|
|
1335
|
+
search?: undefined
|
|
1336
|
+
response: Response<Chapter> | ErrorResponse
|
|
1337
|
+
},
|
|
1338
|
+
"/v2/chapters/{author}/{work}/{url}": {
|
|
1339
|
+
method: "get"
|
|
1340
|
+
body?: undefined
|
|
1341
|
+
search: PaginationSearch
|
|
1342
|
+
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
1343
|
+
},
|
|
1344
|
+
"/v2/chapters/{author}/{work}/{url}/update": {
|
|
1345
|
+
method: "post"
|
|
1346
|
+
body: ChapterUpdateBody
|
|
1347
|
+
search?: undefined
|
|
1348
|
+
response: Response<Chapter> | ErrorResponse
|
|
1349
|
+
},
|
|
1350
|
+
"/v2/chapters/{author}/{work}/{url}/delete": {
|
|
1351
|
+
method: "post"
|
|
1352
|
+
body?: undefined
|
|
1353
|
+
search?: undefined
|
|
1354
|
+
response: void | ErrorResponse
|
|
1355
|
+
},
|
|
1356
|
+
"/v2/chapters/{author}/{work}/{url}/reorder": {
|
|
1357
|
+
method: "post"
|
|
1358
|
+
body: ChapterRelativePosition
|
|
1359
|
+
search?: undefined
|
|
1360
|
+
response: Response<ChapterMetadata> | ErrorResponse
|
|
1361
|
+
},
|
|
1362
|
+
"/v2/chapters/{author}/{work}": {
|
|
1363
|
+
method: "get"
|
|
1364
|
+
body?: undefined
|
|
1365
|
+
search: PaginationSearch
|
|
1366
|
+
response: PaginatedResponse<Chapters> | ErrorResponse
|
|
1367
|
+
},
|
|
1368
|
+
"/v2/chapters/{author}/{work}/list": {
|
|
1369
|
+
method: "get"
|
|
1370
|
+
body?: undefined
|
|
1371
|
+
search: PaginationSearch
|
|
1372
|
+
response: PaginatedResponse<Chapter> | ErrorResponse
|
|
1373
|
+
},
|
|
1374
|
+
"/v2/chapters/{author}/{work}/bulk/queue": {
|
|
1375
|
+
method: "post"
|
|
1376
|
+
body: ChapterQueueBody
|
|
1377
|
+
search?: undefined
|
|
1378
|
+
response: Response<ChapterBulkQueueItem> | ErrorResponse
|
|
1379
|
+
},
|
|
1380
|
+
"/v2/chapters/{author}/{work}/bulk/cancel": {
|
|
1381
|
+
method: "post"
|
|
1382
|
+
body?: undefined
|
|
1383
|
+
search?: undefined
|
|
1384
|
+
response: void | ErrorResponse
|
|
1385
|
+
},
|
|
1386
|
+
"/v2/chapters/{author}/{work}/bulk/finish": {
|
|
1387
|
+
method: "post"
|
|
1388
|
+
body: ChapterBulkQueueFinishBody
|
|
1389
|
+
search?: undefined
|
|
1390
|
+
response: void | ErrorResponse
|
|
1391
|
+
},
|
|
1392
|
+
"/v2/chapters/{author}/{work}/bulk/has": {
|
|
1393
|
+
method: "post"
|
|
1394
|
+
body?: undefined
|
|
1395
|
+
search?: undefined
|
|
1396
|
+
response: Response<ChapterHasQueue> | ErrorResponse
|
|
1397
|
+
},
|
|
1398
|
+
"/v2/chapters/{author}/{work}/bulk/unname": {
|
|
1399
|
+
method: "post"
|
|
1400
|
+
body?: undefined
|
|
1401
|
+
search?: undefined
|
|
1402
|
+
response: void | ErrorResponse
|
|
1403
|
+
},
|
|
1404
|
+
"/v2/chapters/{author}/{work}/bulk/setvisibility": {
|
|
1405
|
+
method: "post"
|
|
1406
|
+
body: CampaignTierSetBody
|
|
1407
|
+
search?: undefined
|
|
1408
|
+
response: void | ErrorResponse
|
|
1409
|
+
},
|
|
1410
|
+
"/v2/follows/author/{id}/follow": {
|
|
1411
|
+
method: "post"
|
|
1412
|
+
body?: undefined
|
|
1413
|
+
search?: undefined
|
|
1414
|
+
response: Response<Follow> | ErrorResponse
|
|
1415
|
+
},
|
|
1416
|
+
"/v2/follows/author/{id}/unfollow": {
|
|
1417
|
+
method: "post"
|
|
1418
|
+
body?: undefined
|
|
1419
|
+
search?: undefined
|
|
1420
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1421
|
+
},
|
|
1422
|
+
"/v2/follows/author/{id}/following": {
|
|
1423
|
+
method: "get"
|
|
1424
|
+
body?: undefined
|
|
1425
|
+
search?: undefined
|
|
1426
|
+
response: Response<Follow> | ErrorResponse
|
|
1427
|
+
},
|
|
1428
|
+
"/v2/follows/author/{id}/ignore": {
|
|
1429
|
+
method: "post"
|
|
1430
|
+
body?: undefined
|
|
1431
|
+
search?: undefined
|
|
1432
|
+
response: Response<Follow> | ErrorResponse
|
|
1433
|
+
},
|
|
1434
|
+
"/v2/follows/author/{id}/unignore": {
|
|
1435
|
+
method: "post"
|
|
1436
|
+
body?: undefined
|
|
1437
|
+
search?: undefined
|
|
1438
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1439
|
+
},
|
|
1440
|
+
"/v2/follows/author/{id}/ignoring": {
|
|
1441
|
+
method: "get"
|
|
1442
|
+
body?: undefined
|
|
1443
|
+
search?: undefined
|
|
1444
|
+
response: Response<Follow> | ErrorResponse
|
|
1445
|
+
},
|
|
1446
|
+
"/v2/follows/author/{id}/work-comments/ignore": {
|
|
1447
|
+
method: "post"
|
|
1448
|
+
body?: undefined
|
|
1449
|
+
search?: undefined
|
|
1450
|
+
response: void | ErrorResponse
|
|
1451
|
+
},
|
|
1452
|
+
"/v2/follows/author/{id}/work-comments/unignore": {
|
|
1453
|
+
method: "post"
|
|
1454
|
+
body?: undefined
|
|
1455
|
+
search?: undefined
|
|
1456
|
+
response: void | ErrorResponse
|
|
1457
|
+
},
|
|
1458
|
+
"/v2/follows/tag/{id}/follow": {
|
|
1459
|
+
method: "post"
|
|
1460
|
+
body?: undefined
|
|
1461
|
+
search?: undefined
|
|
1462
|
+
response: Response<Follow> | ErrorResponse
|
|
1463
|
+
},
|
|
1464
|
+
"/v2/follows/tag/{id}/unfollow": {
|
|
1465
|
+
method: "post"
|
|
1466
|
+
body?: undefined
|
|
1467
|
+
search?: undefined
|
|
1468
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1469
|
+
},
|
|
1470
|
+
"/v2/follows/tag/{id}/following": {
|
|
1471
|
+
method: "get"
|
|
1472
|
+
body?: undefined
|
|
1473
|
+
search?: undefined
|
|
1474
|
+
response: Response<Follow> | ErrorResponse
|
|
1475
|
+
},
|
|
1476
|
+
"/v2/follows/tag/{id}/ignore": {
|
|
1477
|
+
method: "post"
|
|
1478
|
+
body?: undefined
|
|
1479
|
+
search?: undefined
|
|
1480
|
+
response: Response<Follow> | ErrorResponse
|
|
1481
|
+
},
|
|
1482
|
+
"/v2/follows/tag/{id}/unignore": {
|
|
1483
|
+
method: "post"
|
|
1484
|
+
body?: undefined
|
|
1485
|
+
search?: undefined
|
|
1486
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1487
|
+
},
|
|
1488
|
+
"/v2/follows/tag/{id}/ignoring": {
|
|
1489
|
+
method: "get"
|
|
1490
|
+
body?: undefined
|
|
1491
|
+
search?: undefined
|
|
1492
|
+
response: Response<Follow> | ErrorResponse
|
|
1493
|
+
},
|
|
1494
|
+
"/v2/follows/category/{id}/follow": {
|
|
1495
|
+
method: "post"
|
|
1496
|
+
body?: undefined
|
|
1497
|
+
search?: undefined
|
|
1498
|
+
response: Response<Follow> | ErrorResponse
|
|
1499
|
+
},
|
|
1500
|
+
"/v2/follows/category/{id}/unfollow": {
|
|
1501
|
+
method: "post"
|
|
1502
|
+
body?: undefined
|
|
1503
|
+
search?: undefined
|
|
1504
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1505
|
+
},
|
|
1506
|
+
"/v2/follows/category/{id}/following": {
|
|
1507
|
+
method: "get"
|
|
1508
|
+
body?: undefined
|
|
1509
|
+
search?: undefined
|
|
1510
|
+
response: Response<Follow> | ErrorResponse
|
|
1511
|
+
},
|
|
1512
|
+
"/v2/follows/category/{id}/ignore": {
|
|
1513
|
+
method: "post"
|
|
1514
|
+
body?: undefined
|
|
1515
|
+
search?: undefined
|
|
1516
|
+
response: Response<Follow> | ErrorResponse
|
|
1517
|
+
},
|
|
1518
|
+
"/v2/follows/category/{id}/unignore": {
|
|
1519
|
+
method: "post"
|
|
1520
|
+
body?: undefined
|
|
1521
|
+
search?: undefined
|
|
1522
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1523
|
+
},
|
|
1524
|
+
"/v2/follows/category/{id}/ignoring": {
|
|
1525
|
+
method: "get"
|
|
1526
|
+
body?: undefined
|
|
1527
|
+
search?: undefined
|
|
1528
|
+
response: Response<Follow> | ErrorResponse
|
|
1529
|
+
},
|
|
1530
|
+
"/v2/follows/work/{author}/{vanity}/follow": {
|
|
1531
|
+
method: "post"
|
|
1532
|
+
body?: undefined
|
|
1533
|
+
search?: undefined
|
|
1534
|
+
response: Response<Follow> | ErrorResponse
|
|
1535
|
+
},
|
|
1536
|
+
"/v2/follows/work/{author}/{vanity}/unfollow": {
|
|
1537
|
+
method: "post"
|
|
1538
|
+
body?: undefined
|
|
1539
|
+
search?: undefined
|
|
1540
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1541
|
+
},
|
|
1542
|
+
"/v2/follows/work/{author}/{vanity}": {
|
|
1543
|
+
method: "get"
|
|
1544
|
+
body?: undefined
|
|
1545
|
+
search?: undefined
|
|
1546
|
+
response: Response<Follow> | ErrorResponse
|
|
1547
|
+
},
|
|
1548
|
+
"/v2/follows/work/{author}/{vanity}/ignore": {
|
|
1549
|
+
method: "post"
|
|
1550
|
+
body?: undefined
|
|
1551
|
+
search?: undefined
|
|
1552
|
+
response: Response<Follow> | ErrorResponse
|
|
1553
|
+
},
|
|
1554
|
+
"/v2/follows/work/{author}/{vanity}/unignore": {
|
|
1555
|
+
method: "post"
|
|
1556
|
+
body?: undefined
|
|
1557
|
+
search?: undefined
|
|
1558
|
+
response: Response<Follow | null> | ErrorResponse
|
|
1559
|
+
},
|
|
1560
|
+
"/v2/follows/work/{author}/{vanity}/ignoring": {
|
|
1561
|
+
method: "get"
|
|
1562
|
+
body?: undefined
|
|
1563
|
+
search?: undefined
|
|
1564
|
+
response: Response<Follow> | ErrorResponse
|
|
1565
|
+
},
|
|
1566
|
+
"/v2/follows": {
|
|
1567
|
+
method: "get"
|
|
1568
|
+
body?: undefined
|
|
1569
|
+
search?: undefined
|
|
1570
|
+
response: Response<FollowsManifest> | ErrorResponse
|
|
1571
|
+
},
|
|
1572
|
+
"/v2/follows/{type}/follows": {
|
|
1573
|
+
method: "get"
|
|
1574
|
+
body?: undefined
|
|
1575
|
+
search: PaginationSearch
|
|
1576
|
+
response: PaginatedResponse<Follow[]> | ErrorResponse
|
|
1577
|
+
},
|
|
1578
|
+
"/v2/follows/{type}/ignores": {
|
|
1579
|
+
method: "get"
|
|
1580
|
+
body?: undefined
|
|
1581
|
+
search: PaginationSearch
|
|
1582
|
+
response: PaginatedResponse<Follow[]> | ErrorResponse
|
|
1583
|
+
},
|
|
1584
|
+
"/v2/privileges/author/{vanity}/get": {
|
|
1585
|
+
method: "get"
|
|
1586
|
+
body?: undefined
|
|
1587
|
+
search?: undefined
|
|
1588
|
+
response: Response<Privileges> | ErrorResponse
|
|
1589
|
+
},
|
|
1590
|
+
"/v2/privileges/author/{vanity}/grant": {
|
|
1591
|
+
method: "post"
|
|
1592
|
+
body: Privileges
|
|
1593
|
+
search?: undefined
|
|
1594
|
+
response: void | ErrorResponse
|
|
1595
|
+
},
|
|
1596
|
+
"/v2/privileges/author/{vanity}/revoke": {
|
|
1597
|
+
method: "post"
|
|
1598
|
+
body: Privileges
|
|
1599
|
+
search?: undefined
|
|
1600
|
+
response: void | ErrorResponse
|
|
1601
|
+
},
|
|
1602
|
+
"/v2/privileges/role/{vanity}/grant": {
|
|
1603
|
+
method: "post"
|
|
1604
|
+
body: Privileges
|
|
1605
|
+
search?: undefined
|
|
1606
|
+
response: void | ErrorResponse
|
|
1607
|
+
},
|
|
1608
|
+
"/v2/privileges/role/{vanity}/revoke": {
|
|
1609
|
+
method: "post"
|
|
1610
|
+
body: Privileges
|
|
1611
|
+
search?: undefined
|
|
1612
|
+
response: void | ErrorResponse
|
|
1613
|
+
},
|
|
1614
|
+
"/v2/roles/create": {
|
|
1615
|
+
method: "post"
|
|
1616
|
+
body: RoleCreateBody
|
|
1617
|
+
search?: undefined
|
|
1618
|
+
response: void | ErrorResponse
|
|
1619
|
+
},
|
|
1620
|
+
"/v2/roles/{id}/delete": {
|
|
1621
|
+
method: "post"
|
|
1622
|
+
body?: undefined
|
|
1623
|
+
search?: undefined
|
|
1624
|
+
response: void | ErrorResponse
|
|
1625
|
+
},
|
|
1626
|
+
"/v2/roles/{id}/update": {
|
|
1627
|
+
method: "post"
|
|
1628
|
+
body: RoleUpdateBody
|
|
1629
|
+
search?: undefined
|
|
1630
|
+
response: Response<Role> | ErrorResponse
|
|
1631
|
+
},
|
|
1632
|
+
"/v2/roles/{id}/grant/{author}": {
|
|
1633
|
+
method: "post"
|
|
1634
|
+
body?: undefined
|
|
1635
|
+
search?: undefined
|
|
1636
|
+
response: void | ErrorResponse
|
|
1637
|
+
},
|
|
1638
|
+
"/v2/roles/{id}/revoke/{author}": {
|
|
1639
|
+
method: "post"
|
|
1640
|
+
body?: undefined
|
|
1641
|
+
search?: undefined
|
|
1642
|
+
response: void | ErrorResponse
|
|
1643
|
+
},
|
|
1644
|
+
"/v2/roles": {
|
|
1645
|
+
method: "get"
|
|
1646
|
+
body?: undefined
|
|
1647
|
+
search?: undefined
|
|
1648
|
+
response: Response<Role[]> | ErrorResponse
|
|
1649
|
+
},
|
|
1650
|
+
"/v2/roles/reorder": {
|
|
1651
|
+
method: "post"
|
|
1652
|
+
body: RoleReorderBody
|
|
1653
|
+
search?: undefined
|
|
1654
|
+
response: void | ErrorResponse
|
|
1655
|
+
},
|
|
1656
|
+
"/v2/comments/{id}/add": {
|
|
1657
|
+
method: "post"
|
|
1658
|
+
body: CommentCreateBody
|
|
1659
|
+
search?: undefined
|
|
1660
|
+
response: Response<Comment> | ErrorResponse
|
|
1661
|
+
},
|
|
1662
|
+
"/v2/comments/{id}/update": {
|
|
1663
|
+
method: "post"
|
|
1664
|
+
body: CommentUpdateBody
|
|
1665
|
+
search?: undefined
|
|
1666
|
+
response: Response<Comment> | ErrorResponse
|
|
1667
|
+
},
|
|
1668
|
+
"/v2/comments/{id}/delete": {
|
|
1669
|
+
method: "post"
|
|
1670
|
+
body?: undefined
|
|
1671
|
+
search?: undefined
|
|
1672
|
+
response: void | ErrorResponse
|
|
1673
|
+
},
|
|
1674
|
+
"/v2/comments/{id}/descendants": {
|
|
1675
|
+
method: "get"
|
|
1676
|
+
body?: undefined
|
|
1677
|
+
search: PaginationSearch
|
|
1678
|
+
response: PaginatedResponse<CommentsResponse> | ErrorResponse
|
|
1679
|
+
},
|
|
1680
|
+
"/v2/comments/moderation/author/{vanity}": {
|
|
1681
|
+
method: "get"
|
|
1682
|
+
body?: undefined
|
|
1683
|
+
search: PaginationSearch
|
|
1684
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1685
|
+
},
|
|
1686
|
+
"/v2/comments/moderation/all": {
|
|
1687
|
+
method: "get"
|
|
1688
|
+
body?: undefined
|
|
1689
|
+
search: PaginationSearch
|
|
1690
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1691
|
+
},
|
|
1692
|
+
"/v2/comments/moderation/all/chapter": {
|
|
1693
|
+
method: "get"
|
|
1694
|
+
body?: undefined
|
|
1695
|
+
search: PaginationSearch
|
|
1696
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1697
|
+
},
|
|
1698
|
+
"/v2/comments/moderation/all/work": {
|
|
1699
|
+
method: "get"
|
|
1700
|
+
body?: undefined
|
|
1701
|
+
search: PaginationSearch
|
|
1702
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1703
|
+
},
|
|
1704
|
+
"/v2/comments/author/{vanity}/chapter": {
|
|
1705
|
+
method: "get"
|
|
1706
|
+
body?: undefined
|
|
1707
|
+
search: PaginationSearch
|
|
1708
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1709
|
+
},
|
|
1710
|
+
"/v2/comments/author/{vanity}/work": {
|
|
1711
|
+
method: "get"
|
|
1712
|
+
body?: undefined
|
|
1713
|
+
search: PaginationSearch
|
|
1714
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1715
|
+
},
|
|
1716
|
+
"/v2/comments/work/{author}/{vanity}/add": {
|
|
1717
|
+
method: "post"
|
|
1718
|
+
body: WorkRecommendationBody
|
|
1719
|
+
search?: undefined
|
|
1720
|
+
response: Response<Comment> | ErrorResponse
|
|
1721
|
+
},
|
|
1722
|
+
"/v2/comments/work/{author}/{vanity}": {
|
|
1723
|
+
method: "get"
|
|
1724
|
+
body?: undefined
|
|
1725
|
+
search: PaginationSearch
|
|
1726
|
+
response: PaginatedResponse<CommentsResponse> | ErrorResponse
|
|
1727
|
+
},
|
|
1728
|
+
"/v2/comments/work": {
|
|
1729
|
+
method: "get"
|
|
1730
|
+
body?: undefined
|
|
1731
|
+
search: RecommendationsSearchSchema & PaginationSearch
|
|
1732
|
+
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1733
|
+
},
|
|
1734
|
+
"/v2/patreon/campaign/tiers/get": {
|
|
1735
|
+
method: "get"
|
|
1736
|
+
body?: undefined
|
|
1737
|
+
search?: undefined
|
|
1738
|
+
response: Response<PatreonCampaignTier[]> | ErrorResponse
|
|
1739
|
+
},
|
|
1740
|
+
"/v2/patreon/campaign/remove": {
|
|
1741
|
+
method: "post"
|
|
1742
|
+
body?: undefined
|
|
1743
|
+
search?: undefined
|
|
1744
|
+
response: Response<AuthorSelf> | ErrorResponse
|
|
1745
|
+
},
|
|
1746
|
+
"/v2/tags/globals/create": {
|
|
1747
|
+
method: "post"
|
|
1748
|
+
body: TagCreateGlobalBody
|
|
1749
|
+
search?: undefined
|
|
1750
|
+
response: Response<Tag> | ErrorResponse
|
|
1751
|
+
},
|
|
1752
|
+
"/v2/tags/globals/{id}/update": {
|
|
1753
|
+
method: "post"
|
|
1754
|
+
body: TagGlobalUpdateBody
|
|
1755
|
+
search?: undefined
|
|
1756
|
+
response: Response<Tag> | ErrorResponse
|
|
1757
|
+
},
|
|
1758
|
+
"/v2/tags/globals/{id}/demote": {
|
|
1759
|
+
method: "post"
|
|
1760
|
+
body: TagGlobalDemoteBody
|
|
1761
|
+
search?: undefined
|
|
1762
|
+
response: Response<CustomTag> | ErrorResponse
|
|
1763
|
+
},
|
|
1764
|
+
"/v2/tags/globals/delete": {
|
|
1765
|
+
method: "post"
|
|
1766
|
+
body: GlobalTagsDeleteBody
|
|
1767
|
+
search?: undefined
|
|
1768
|
+
response: void | ErrorResponse
|
|
1769
|
+
},
|
|
1770
|
+
"/v2/tags/globals/recategorise": {
|
|
1771
|
+
method: "post"
|
|
1772
|
+
body: GlobalTagsRecategoriseBody
|
|
1773
|
+
search?: undefined
|
|
1774
|
+
response: void | ErrorResponse
|
|
1775
|
+
},
|
|
1776
|
+
"/v2/tags/categories/create": {
|
|
1777
|
+
method: "post"
|
|
1778
|
+
body: TagCreateCategoryBody
|
|
1779
|
+
search?: undefined
|
|
1780
|
+
response: Response<TagCategory> | ErrorResponse
|
|
1781
|
+
},
|
|
1782
|
+
"/v2/tags/categories/{name}/update": {
|
|
1783
|
+
method: "post"
|
|
1784
|
+
body: TagCategoryUpdateBody
|
|
1785
|
+
search?: undefined
|
|
1786
|
+
response: Response<TagCategory> | ErrorResponse
|
|
1787
|
+
},
|
|
1788
|
+
"/v2/tags/categories/{name}/delete": {
|
|
1789
|
+
method: "post"
|
|
1790
|
+
body?: undefined
|
|
1791
|
+
search?: undefined
|
|
1792
|
+
response: void | ErrorResponse
|
|
1793
|
+
},
|
|
1794
|
+
"/v2/tags/customs/promote": {
|
|
1795
|
+
method: "post"
|
|
1796
|
+
body: TagCustomPromoteBody
|
|
1797
|
+
search?: undefined
|
|
1798
|
+
response: Response<Tag> | ErrorResponse
|
|
1799
|
+
},
|
|
1800
|
+
"/v2/tags/customs": {
|
|
1801
|
+
method: "get"
|
|
1802
|
+
body?: undefined
|
|
1803
|
+
search?: undefined
|
|
1804
|
+
response: Response<CustomTagUsage[]> | ErrorResponse
|
|
1805
|
+
},
|
|
1806
|
+
"/v2/tags/customs/{name}/update": {
|
|
1807
|
+
method: "post"
|
|
1808
|
+
body: CustomTagRenameBody
|
|
1809
|
+
search?: undefined
|
|
1810
|
+
response: Response<CustomTag> | ErrorResponse
|
|
1811
|
+
},
|
|
1812
|
+
"/v2/tags/customs/delete": {
|
|
1813
|
+
method: "post"
|
|
1814
|
+
body: CustomTagsDeleteBody
|
|
1815
|
+
search?: undefined
|
|
1816
|
+
response: void | ErrorResponse
|
|
1817
|
+
},
|
|
1818
|
+
"/v2/manifest/tags": {
|
|
1819
|
+
method: "get"
|
|
1820
|
+
body?: undefined
|
|
1821
|
+
search?: undefined
|
|
1822
|
+
response: Response<ManifestGlobalTags> | ErrorResponse
|
|
1823
|
+
},
|
|
1824
|
+
"/v2/manifest/form-lengths": {
|
|
1825
|
+
method: "get"
|
|
1826
|
+
body?: undefined
|
|
1827
|
+
search?: undefined
|
|
1828
|
+
response: Response<ManifestFormInputLengths> | ErrorResponse
|
|
1829
|
+
},
|
|
1830
|
+
"/v2/manifest/reactions": {
|
|
1831
|
+
method: "get"
|
|
1832
|
+
body?: undefined
|
|
1833
|
+
search?: undefined
|
|
1834
|
+
response: Response<ManifestReactionTypes> | ErrorResponse
|
|
1835
|
+
},
|
|
1836
|
+
"/v2/manifest/notifications": {
|
|
1837
|
+
method: "get"
|
|
1838
|
+
body?: undefined
|
|
1839
|
+
search?: undefined
|
|
1840
|
+
response: Response<ManifestNotificationTypes> | ErrorResponse
|
|
1841
|
+
},
|
|
1842
|
+
"/v2/notifications/get/unread": {
|
|
1843
|
+
method: "get"
|
|
1844
|
+
body?: undefined
|
|
1845
|
+
search: PaginationSearch
|
|
1846
|
+
response: PaginatedResponse<Notifications> | ErrorResponse
|
|
1847
|
+
},
|
|
1848
|
+
"/v2/notifications/get/count": {
|
|
1849
|
+
method: "get"
|
|
1850
|
+
body?: undefined
|
|
1851
|
+
search?: undefined
|
|
1852
|
+
response: Response<NotificationCount> | ErrorResponse
|
|
1853
|
+
},
|
|
1854
|
+
"/v2/notifications/mark/read": {
|
|
1855
|
+
method: "post"
|
|
1856
|
+
body: NotificationsBody
|
|
1857
|
+
search?: undefined
|
|
1858
|
+
response: void | ErrorResponse
|
|
1859
|
+
},
|
|
1860
|
+
"/v2/notifications/mark/unread": {
|
|
1861
|
+
method: "post"
|
|
1862
|
+
body: NotificationsBody
|
|
1863
|
+
search?: undefined
|
|
1864
|
+
response: void | ErrorResponse
|
|
1865
|
+
},
|
|
1866
|
+
"/v2/danger-token/request/delete-account/{service}/begin": {
|
|
1867
|
+
method: "get"
|
|
1868
|
+
body?: undefined
|
|
1869
|
+
search?: undefined
|
|
1870
|
+
response: void | ErrorResponse
|
|
1871
|
+
},
|
|
1872
|
+
"/v2/danger-token/request/delete-work/{service}/begin": {
|
|
1873
|
+
method: "get"
|
|
1874
|
+
body?: undefined
|
|
1875
|
+
search?: undefined
|
|
1876
|
+
response: void | ErrorResponse
|
|
1877
|
+
},
|
|
1878
|
+
"/v2/danger-token/request/delete-chapter/{service}/begin": {
|
|
1879
|
+
method: "get"
|
|
1880
|
+
body?: undefined
|
|
1881
|
+
search?: undefined
|
|
1882
|
+
response: void | ErrorResponse
|
|
1883
|
+
},
|
|
1884
|
+
"/v2/danger-token/request/remove-auth-service/{service}/begin": {
|
|
1885
|
+
method: "get"
|
|
1886
|
+
body?: undefined
|
|
1887
|
+
search?: undefined
|
|
1888
|
+
response: void | ErrorResponse
|
|
1889
|
+
},
|
|
1890
|
+
"/v2/danger-token/request/decrease-auth-service-count-required/{service}/begin": {
|
|
1891
|
+
method: "get"
|
|
1892
|
+
body?: undefined
|
|
1893
|
+
search?: undefined
|
|
1894
|
+
response: void | ErrorResponse
|
|
1895
|
+
},
|
|
1896
|
+
"/v2/danger-token/request/tag-modify/{service}/begin": {
|
|
1897
|
+
method: "get"
|
|
1898
|
+
body?: undefined
|
|
1899
|
+
search?: undefined
|
|
1900
|
+
response: void | ErrorResponse
|
|
1901
|
+
},
|
|
1902
|
+
"/v2/danger-token/request/totp-enable/{service}/begin": {
|
|
1903
|
+
method: "get"
|
|
1904
|
+
body?: undefined
|
|
1905
|
+
search?: undefined
|
|
1906
|
+
response: void | ErrorResponse
|
|
1907
|
+
},
|
|
1908
|
+
"/v2/danger-token/request/totp-delete/{service}/begin": {
|
|
1909
|
+
method: "get"
|
|
1910
|
+
body?: undefined
|
|
1911
|
+
search?: undefined
|
|
1912
|
+
response: void | ErrorResponse
|
|
1913
|
+
},
|
|
1914
|
+
"/v2/danger-token/request/chapter-create-bulk/{service}/begin": {
|
|
1915
|
+
method: "get"
|
|
1916
|
+
body?: undefined
|
|
1917
|
+
search?: undefined
|
|
1918
|
+
response: void | ErrorResponse
|
|
1919
|
+
},
|
|
1920
|
+
"/v2/danger-token/request/moderate/{service}/begin": {
|
|
1921
|
+
method: "get"
|
|
1922
|
+
body?: undefined
|
|
1923
|
+
search?: undefined
|
|
1924
|
+
response: void | ErrorResponse
|
|
1925
|
+
},
|
|
1926
|
+
"/v2/danger-token/request/chapter-clear-name-bulk/{service}/begin": {
|
|
1927
|
+
method: "get"
|
|
1928
|
+
body?: undefined
|
|
1929
|
+
search?: undefined
|
|
1930
|
+
response: void | ErrorResponse
|
|
1931
|
+
},
|
|
1932
|
+
"/v2/feed/get": {
|
|
1933
|
+
method: "get"
|
|
1934
|
+
body?: undefined
|
|
1935
|
+
search: FeedSearch & PaginationSearch
|
|
1936
|
+
response: PaginatedResponse<FeedResponse> | ErrorResponse
|
|
1937
|
+
},
|
|
1938
|
+
"/v2/feed/get/authed": {
|
|
1939
|
+
method: "get"
|
|
1940
|
+
body?: undefined
|
|
1941
|
+
search: FeedSearch & PaginationSearch
|
|
1942
|
+
response: PaginatedResponse<FeedResponse> | ErrorResponse
|
|
1943
|
+
},
|
|
1944
|
+
"/v2/feed/get/followed": {
|
|
1945
|
+
method: "get"
|
|
1946
|
+
body?: undefined
|
|
1947
|
+
search: PaginationSearch
|
|
1948
|
+
response: PaginatedResponse<FeedResponse> | ErrorResponse
|
|
1949
|
+
},
|
|
1950
|
+
"/v2/feed/get/rss.xml": {
|
|
1951
|
+
method: "get"
|
|
1952
|
+
body?: undefined
|
|
1953
|
+
search?: undefined
|
|
1954
|
+
response: void | ErrorResponse
|
|
1955
|
+
},
|
|
1956
|
+
"/v2/feed/{id}/authed/rss.xml": {
|
|
1957
|
+
method: "get"
|
|
1958
|
+
body?: undefined
|
|
1959
|
+
search?: undefined
|
|
1960
|
+
response: void | ErrorResponse
|
|
1961
|
+
},
|
|
1962
|
+
"/v2/feed/{id}/followed/rss.xml": {
|
|
1963
|
+
method: "get"
|
|
1964
|
+
body?: undefined
|
|
1965
|
+
search?: undefined
|
|
1966
|
+
response: void | ErrorResponse
|
|
1967
|
+
},
|
|
1968
|
+
"/v2/feed/regen": {
|
|
1969
|
+
method: "post"
|
|
1970
|
+
body?: undefined
|
|
1971
|
+
search?: undefined
|
|
1972
|
+
response: void | ErrorResponse
|
|
1973
|
+
},
|
|
1974
|
+
"/v2/history": {
|
|
1975
|
+
method: "get"
|
|
1976
|
+
body?: undefined
|
|
1977
|
+
search: PaginationSearch
|
|
1978
|
+
response: PaginatedResponse<HistoryResponse> | ErrorResponse
|
|
1979
|
+
},
|
|
1980
|
+
"/v2/history/work/{author}/{vanity}/add": {
|
|
1981
|
+
method: "post"
|
|
1982
|
+
body?: undefined
|
|
1983
|
+
search?: undefined
|
|
1984
|
+
response: void | ErrorResponse
|
|
1985
|
+
},
|
|
1986
|
+
"/v2/history/work/{author}/{vanity}/delete": {
|
|
1987
|
+
method: "post"
|
|
1988
|
+
body?: undefined
|
|
1989
|
+
search?: undefined
|
|
1990
|
+
response: void | ErrorResponse
|
|
1991
|
+
},
|
|
1992
|
+
"/v2/history/chapter/{author}/{work}/chapter/{url}/add": {
|
|
1993
|
+
method: "post"
|
|
1994
|
+
body?: undefined
|
|
1995
|
+
search?: undefined
|
|
1996
|
+
response: void | ErrorResponse
|
|
1997
|
+
},
|
|
1998
|
+
"/v2/history/chapter/{author}/{work}/chapter/{url}/delete": {
|
|
1999
|
+
method: "post"
|
|
2000
|
+
body?: undefined
|
|
2001
|
+
search?: undefined
|
|
2002
|
+
response: void | ErrorResponse
|
|
2003
|
+
},
|
|
2004
|
+
"/v2/history/bookmarks/{author}/{vanity}/delete/all": {
|
|
2005
|
+
method: "post"
|
|
2006
|
+
body?: undefined
|
|
2007
|
+
search?: undefined
|
|
2008
|
+
response: Response<Bookmarks> | ErrorResponse
|
|
2009
|
+
},
|
|
2010
|
+
"/v2/history/bookmarks/{author}/{vanity}/delete/furthest-read": {
|
|
2011
|
+
method: "post"
|
|
2012
|
+
body?: undefined
|
|
2013
|
+
search?: undefined
|
|
2014
|
+
response: Response<Bookmarks> | ErrorResponse
|
|
2015
|
+
},
|
|
2016
|
+
"/v2/history/bookmarks/{author}/{vanity}/delete/last-read": {
|
|
2017
|
+
method: "post"
|
|
2018
|
+
body?: undefined
|
|
2019
|
+
search?: undefined
|
|
2020
|
+
response: Response<Bookmarks> | ErrorResponse
|
|
2021
|
+
},
|
|
2022
|
+
"/v2/reactions/comment/{id}/add/{type}": {
|
|
2023
|
+
method: "post"
|
|
2024
|
+
body?: undefined
|
|
2025
|
+
search?: undefined
|
|
2026
|
+
response: void | ErrorResponse
|
|
2027
|
+
},
|
|
2028
|
+
"/v2/reactions/comment/{id}/remove": {
|
|
2029
|
+
method: "post"
|
|
2030
|
+
body?: undefined
|
|
2031
|
+
search?: undefined
|
|
2032
|
+
response: void | ErrorResponse
|
|
2033
|
+
},
|
|
2034
|
+
"/v2/reactions/work/{author}/{work}/chapter/{url}/react/{type}": {
|
|
2035
|
+
method: "post"
|
|
2036
|
+
body?: undefined
|
|
2037
|
+
search?: undefined
|
|
2038
|
+
response: void | ErrorResponse
|
|
2039
|
+
},
|
|
2040
|
+
"/v2/reactions/work/{author}/{work}/chapter/{url}/react/supporter/{type}": {
|
|
2041
|
+
method: "post"
|
|
2042
|
+
body?: undefined
|
|
2043
|
+
search?: undefined
|
|
2044
|
+
response: void | ErrorResponse
|
|
2045
|
+
},
|
|
2046
|
+
"/v2/reactions/work/{author}/{work}/chapter/{url}/unreact": {
|
|
2047
|
+
method: "post"
|
|
2048
|
+
body?: undefined
|
|
2049
|
+
search?: undefined
|
|
2050
|
+
response: void | ErrorResponse
|
|
2051
|
+
},
|
|
2052
|
+
"/v2/reactions/work/{author}/{work}/chapter/{url}/unreact/supporter": {
|
|
2053
|
+
method: "post"
|
|
2054
|
+
body?: undefined
|
|
2055
|
+
search?: undefined
|
|
2056
|
+
response: void | ErrorResponse
|
|
2057
|
+
},
|
|
2058
|
+
"/v2/changelogs/add": {
|
|
2059
|
+
method: "post"
|
|
2060
|
+
body: ChangelogInsertBody
|
|
2061
|
+
search?: undefined
|
|
2062
|
+
response: void | ErrorResponse
|
|
2063
|
+
},
|
|
2064
|
+
"/v2/changelogs/{id}/update": {
|
|
2065
|
+
method: "post"
|
|
2066
|
+
body: ChangelogUpdateBody
|
|
2067
|
+
search?: undefined
|
|
2068
|
+
response: void | ErrorResponse
|
|
2069
|
+
},
|
|
2070
|
+
"/v2/changelogs/{id}/delete": {
|
|
2071
|
+
method: "post"
|
|
2072
|
+
body?: undefined
|
|
2073
|
+
search?: undefined
|
|
2074
|
+
response: void | ErrorResponse
|
|
2075
|
+
},
|
|
2076
|
+
"/v2/changelogs/list": {
|
|
2077
|
+
method: "get"
|
|
2078
|
+
body?: undefined
|
|
2079
|
+
search: PaginationSearch
|
|
2080
|
+
response: PaginatedResponse<ChangelogItem[]> | ErrorResponse
|
|
2081
|
+
},
|
|
2082
|
+
"/v2/site/status": {
|
|
2083
|
+
method: "get"
|
|
2084
|
+
body?: undefined
|
|
2085
|
+
search?: undefined
|
|
2086
|
+
response: Response<SiteStatus> | ErrorResponse
|
|
2087
|
+
},
|
|
2088
|
+
"/v2/moderation/work/{author}/{vanity}/censor": {
|
|
2089
|
+
method: "post"
|
|
2090
|
+
body: WorkCensorBody
|
|
2091
|
+
search?: undefined
|
|
2092
|
+
response: void | ErrorResponse
|
|
2093
|
+
},
|
|
2094
|
+
"/v2/moderation/work/{author}/{vanity}/lock": {
|
|
2095
|
+
method: "post"
|
|
2096
|
+
body: WorkLockBody
|
|
2097
|
+
search?: undefined
|
|
2098
|
+
response: void | ErrorResponse
|
|
2099
|
+
},
|
|
2100
|
+
"/v2/moderation/work/{author}/{vanity}/unlock": {
|
|
2101
|
+
method: "post"
|
|
2102
|
+
body?: undefined
|
|
2103
|
+
search?: undefined
|
|
2104
|
+
response: void | ErrorResponse
|
|
2105
|
+
},
|
|
2106
|
+
"/v2/moderation/author/{vanity}/censor": {
|
|
2107
|
+
method: "post"
|
|
2108
|
+
body: AuthorCensorBody
|
|
2109
|
+
search?: undefined
|
|
2110
|
+
response: void | ErrorResponse
|
|
2111
|
+
},
|
|
2112
|
+
"/v2/moderation/author/{vanity}/delete": {
|
|
2113
|
+
method: "post"
|
|
2114
|
+
body: ModerationAuthorDeleteBody
|
|
2115
|
+
search?: undefined
|
|
2116
|
+
response: void | ErrorResponse
|
|
2117
|
+
},
|
|
2118
|
+
"/v2/moderation/author/{vanity}/grant-supporter": {
|
|
2119
|
+
method: "post"
|
|
2120
|
+
body: ModerationSupporterGrantBody
|
|
2121
|
+
search?: undefined
|
|
2122
|
+
response: void | ErrorResponse
|
|
2123
|
+
},
|
|
2124
|
+
"/v2/moderation/author/{vanity}/comments/remove": {
|
|
2125
|
+
method: "post"
|
|
2126
|
+
body: PrivilegeRevokeBody
|
|
2127
|
+
search?: undefined
|
|
2128
|
+
response: void | ErrorResponse
|
|
2129
|
+
},
|
|
2130
|
+
"/v2/moderation/author/{vanity}/privileges/{privilege}/revoke": {
|
|
2131
|
+
method: "post"
|
|
2132
|
+
body: PrivilegeRevokeBody
|
|
2133
|
+
search?: undefined
|
|
2134
|
+
response: void | ErrorResponse
|
|
2135
|
+
},
|
|
2136
|
+
"/v2/moderation/chapter/{author}/{work}/{url}/censor": {
|
|
2137
|
+
method: "post"
|
|
2138
|
+
body: ChapterCensorBody
|
|
2139
|
+
search?: undefined
|
|
2140
|
+
response: void | ErrorResponse
|
|
2141
|
+
},
|
|
2142
|
+
"/v2/reports/author/{vanity}/add": {
|
|
2143
|
+
method: "post"
|
|
2144
|
+
body: ReportAuthorBody
|
|
2145
|
+
search?: undefined
|
|
2146
|
+
response: void | ErrorResponse
|
|
2147
|
+
},
|
|
2148
|
+
"/v2/reports/work/{author}/{vanity}/add": {
|
|
2149
|
+
method: "post"
|
|
2150
|
+
body: ReportWorkBody
|
|
2151
|
+
search?: undefined
|
|
2152
|
+
response: void | ErrorResponse
|
|
2153
|
+
},
|
|
2154
|
+
"/v2/reports/work/{author}/{work}/chapter/{url}/add": {
|
|
2155
|
+
method: "post"
|
|
2156
|
+
body: ReportChapterBody
|
|
2157
|
+
search?: undefined
|
|
2158
|
+
response: void | ErrorResponse
|
|
2159
|
+
},
|
|
2160
|
+
"/v2/reports/comment/{id}/add": {
|
|
2161
|
+
method: "post"
|
|
2162
|
+
body: ReportCommentBody
|
|
2163
|
+
search?: undefined
|
|
2164
|
+
response: void | ErrorResponse
|
|
2165
|
+
},
|
|
2166
|
+
"/v2/shelves/create": {
|
|
2167
|
+
method: "post"
|
|
2168
|
+
body: ShelfInsertable
|
|
2169
|
+
search?: undefined
|
|
2170
|
+
response: void | ErrorResponse
|
|
2171
|
+
},
|
|
2172
|
+
"/v2/shelves/{id}/rss.xml": {
|
|
1147
2173
|
method: "get"
|
|
1148
2174
|
body?: undefined
|
|
1149
2175
|
search?: undefined
|
|
1150
2176
|
response: void | ErrorResponse
|
|
1151
2177
|
},
|
|
1152
|
-
"/
|
|
2178
|
+
"/v2/shelves/{id}/feed": {
|
|
2179
|
+
method: "get"
|
|
2180
|
+
body?: undefined
|
|
2181
|
+
search: PaginationSearch
|
|
2182
|
+
response: PaginatedResponse<FeedResponse> | ErrorResponse
|
|
2183
|
+
},
|
|
2184
|
+
"/v2/shelves/{id}": {
|
|
1153
2185
|
method: "get"
|
|
1154
2186
|
body?: undefined
|
|
1155
2187
|
search?: undefined
|
|
1156
|
-
response: Response<
|
|
2188
|
+
response: Response<Shelf> | ErrorResponse
|
|
1157
2189
|
},
|
|
1158
|
-
"/
|
|
2190
|
+
"/v2/shelves/{id}/delete": {
|
|
2191
|
+
method: "post"
|
|
2192
|
+
body?: undefined
|
|
2193
|
+
search?: undefined
|
|
2194
|
+
response: void | ErrorResponse
|
|
2195
|
+
},
|
|
2196
|
+
"/v2/shelves/{id}/regen": {
|
|
2197
|
+
method: "post"
|
|
2198
|
+
body?: undefined
|
|
2199
|
+
search?: undefined
|
|
2200
|
+
response: Response<ShelfDetails> | ErrorResponse
|
|
2201
|
+
},
|
|
2202
|
+
"/v2/shelves/{id}/update": {
|
|
2203
|
+
method: "post"
|
|
2204
|
+
body: ShelfInsertable
|
|
2205
|
+
search?: undefined
|
|
2206
|
+
response: void | ErrorResponse
|
|
2207
|
+
},
|
|
2208
|
+
"/v2/shelves/{id}/reorder": {
|
|
1159
2209
|
method: "post"
|
|
2210
|
+
body: ShelfRelativePosition
|
|
2211
|
+
search?: undefined
|
|
2212
|
+
response: Response<ShelfDetails> | ErrorResponse
|
|
2213
|
+
},
|
|
2214
|
+
"/v2/shelves": {
|
|
2215
|
+
method: "get"
|
|
2216
|
+
body?: undefined
|
|
2217
|
+
search?: undefined
|
|
2218
|
+
response: Response<Shelves> | ErrorResponse
|
|
2219
|
+
},
|
|
2220
|
+
"/v2/shelves/preview": {
|
|
2221
|
+
method: "get"
|
|
1160
2222
|
body?: undefined
|
|
1161
2223
|
search?: undefined
|
|
2224
|
+
response: Response<ShelvesPreviewResponse> | ErrorResponse
|
|
2225
|
+
},
|
|
2226
|
+
"/v2/search": {
|
|
2227
|
+
method: "get"
|
|
2228
|
+
body?: undefined
|
|
2229
|
+
search: SearchSearch
|
|
2230
|
+
response: Response<SearchResponse> | ErrorResponse
|
|
2231
|
+
},
|
|
2232
|
+
"/v2/embed": {
|
|
2233
|
+
method: "get"
|
|
2234
|
+
body?: undefined
|
|
2235
|
+
search: EmbedSearch
|
|
2236
|
+
response: void | ErrorResponse
|
|
2237
|
+
},
|
|
2238
|
+
"/v2/oembed": {
|
|
2239
|
+
method: "get"
|
|
2240
|
+
body?: undefined
|
|
2241
|
+
search: EmbedSearch
|
|
1162
2242
|
response: void | ErrorResponse
|
|
1163
2243
|
},
|
|
1164
2244
|
"/auth/{service}/begin": {
|
|
@@ -1293,72 +2373,6 @@ export interface Paths {
|
|
|
1293
2373
|
search: AuthorResolveSearch
|
|
1294
2374
|
response: Response<AuthorResolveFullResponse> | ErrorResponse
|
|
1295
2375
|
},
|
|
1296
|
-
"/v2/author/resolve": {
|
|
1297
|
-
method: "get"
|
|
1298
|
-
body?: undefined
|
|
1299
|
-
search: AuthorResolveSearch
|
|
1300
|
-
response: Response<AuthorMetadata[]> | ErrorResponse
|
|
1301
|
-
},
|
|
1302
|
-
"/v2/author/resolve/full": {
|
|
1303
|
-
method: "get"
|
|
1304
|
-
body?: undefined
|
|
1305
|
-
search: AuthorResolveSearch
|
|
1306
|
-
response: Response<AuthorResolveFullResponse> | ErrorResponse
|
|
1307
|
-
},
|
|
1308
|
-
"/v2/author/update-settings": {
|
|
1309
|
-
method: "post"
|
|
1310
|
-
body: AuthorUpdateSettingsBody
|
|
1311
|
-
search?: undefined
|
|
1312
|
-
response: void | ErrorResponse
|
|
1313
|
-
},
|
|
1314
|
-
"/v2/comments/comment/{id}/add": {
|
|
1315
|
-
method: "post"
|
|
1316
|
-
body: CommentCreateBody
|
|
1317
|
-
search?: undefined
|
|
1318
|
-
response: Response<Comment> | ErrorResponse
|
|
1319
|
-
},
|
|
1320
|
-
"/v2/comments/{id}/update": {
|
|
1321
|
-
method: "post"
|
|
1322
|
-
body: CommentUpdateBody
|
|
1323
|
-
search?: undefined
|
|
1324
|
-
response: Response<Comment> | ErrorResponse
|
|
1325
|
-
},
|
|
1326
|
-
"/v2/comments/{id}/delete": {
|
|
1327
|
-
method: "post"
|
|
1328
|
-
body?: undefined
|
|
1329
|
-
search?: undefined
|
|
1330
|
-
response: void | ErrorResponse
|
|
1331
|
-
},
|
|
1332
|
-
"/v2/comments/work/{author}/{vanity}/add": {
|
|
1333
|
-
method: "post"
|
|
1334
|
-
body: WorkRecommendationBody
|
|
1335
|
-
search?: undefined
|
|
1336
|
-
response: Response<Comment> | ErrorResponse
|
|
1337
|
-
},
|
|
1338
|
-
"/v2/comments/work/{author}/{vanity}": {
|
|
1339
|
-
method: "get"
|
|
1340
|
-
body?: undefined
|
|
1341
|
-
search: PaginationSearch
|
|
1342
|
-
response: PaginatedResponse<CommentsResponse> | ErrorResponse
|
|
1343
|
-
},
|
|
1344
|
-
"/v2/comments/all/work": {
|
|
1345
|
-
method: "get"
|
|
1346
|
-
body?: undefined
|
|
1347
|
-
search: RecommendationsSearchSchema & PaginationSearch
|
|
1348
|
-
response: PaginatedResponse<ContextualCommentsResponse> | ErrorResponse
|
|
1349
|
-
},
|
|
1350
|
-
"/v2/reactions/comment/{id}/add/{type}": {
|
|
1351
|
-
method: "post"
|
|
1352
|
-
body?: undefined
|
|
1353
|
-
search?: undefined
|
|
1354
|
-
response: void | ErrorResponse
|
|
1355
|
-
},
|
|
1356
|
-
"/v2/reactions/comment/{id}/remove": {
|
|
1357
|
-
method: "post"
|
|
1358
|
-
body?: undefined
|
|
1359
|
-
search?: undefined
|
|
1360
|
-
response: void | ErrorResponse
|
|
1361
|
-
},
|
|
1362
2376
|
"/work/create": {
|
|
1363
2377
|
method: "post"
|
|
1364
2378
|
body: WorkCreateBody
|
|
@@ -1527,18 +2541,6 @@ export interface Paths {
|
|
|
1527
2541
|
search?: undefined
|
|
1528
2542
|
response: Response<Follow> | ErrorResponse
|
|
1529
2543
|
},
|
|
1530
|
-
"/follow/work/{id}": {
|
|
1531
|
-
method: "post"
|
|
1532
|
-
body?: undefined
|
|
1533
|
-
search?: undefined
|
|
1534
|
-
response: Response<Follow> | ErrorResponse
|
|
1535
|
-
},
|
|
1536
|
-
"/follow/work/{author}/{vanity}": {
|
|
1537
|
-
method: "post"
|
|
1538
|
-
body?: undefined
|
|
1539
|
-
search?: undefined
|
|
1540
|
-
response: Response<Follow> | ErrorResponse
|
|
1541
|
-
},
|
|
1542
2544
|
"/follow/tag/{id}": {
|
|
1543
2545
|
method: "post"
|
|
1544
2546
|
body?: undefined
|
|
@@ -1551,31 +2553,31 @@ export interface Paths {
|
|
|
1551
2553
|
search?: undefined
|
|
1552
2554
|
response: Response<Follow> | ErrorResponse
|
|
1553
2555
|
},
|
|
1554
|
-
"/
|
|
2556
|
+
"/follow/work/{author}/{vanity}": {
|
|
1555
2557
|
method: "post"
|
|
1556
2558
|
body?: undefined
|
|
1557
2559
|
search?: undefined
|
|
1558
|
-
response: Response<Follow
|
|
2560
|
+
response: Response<Follow> | ErrorResponse
|
|
1559
2561
|
},
|
|
1560
|
-
"/unfollow/
|
|
2562
|
+
"/unfollow/author/{id}": {
|
|
1561
2563
|
method: "post"
|
|
1562
2564
|
body?: undefined
|
|
1563
2565
|
search?: undefined
|
|
1564
2566
|
response: Response<Follow | null> | ErrorResponse
|
|
1565
2567
|
},
|
|
1566
|
-
"/unfollow/
|
|
2568
|
+
"/unfollow/tag/{id}": {
|
|
1567
2569
|
method: "post"
|
|
1568
2570
|
body?: undefined
|
|
1569
2571
|
search?: undefined
|
|
1570
2572
|
response: Response<Follow | null> | ErrorResponse
|
|
1571
2573
|
},
|
|
1572
|
-
"/unfollow/
|
|
2574
|
+
"/unfollow/category/{id}": {
|
|
1573
2575
|
method: "post"
|
|
1574
2576
|
body?: undefined
|
|
1575
2577
|
search?: undefined
|
|
1576
2578
|
response: Response<Follow | null> | ErrorResponse
|
|
1577
2579
|
},
|
|
1578
|
-
"/unfollow/
|
|
2580
|
+
"/unfollow/work/{author}/{vanity}": {
|
|
1579
2581
|
method: "post"
|
|
1580
2582
|
body?: undefined
|
|
1581
2583
|
search?: undefined
|
|
@@ -1599,18 +2601,6 @@ export interface Paths {
|
|
|
1599
2601
|
search?: undefined
|
|
1600
2602
|
response: Response<Follow> | ErrorResponse
|
|
1601
2603
|
},
|
|
1602
|
-
"/follows/work/{id}": {
|
|
1603
|
-
method: "get"
|
|
1604
|
-
body?: undefined
|
|
1605
|
-
search?: undefined
|
|
1606
|
-
response: Response<Follow> | ErrorResponse
|
|
1607
|
-
},
|
|
1608
|
-
"/follows/work/{author}/{vanity}": {
|
|
1609
|
-
method: "get"
|
|
1610
|
-
body?: undefined
|
|
1611
|
-
search?: undefined
|
|
1612
|
-
response: Response<Follow> | ErrorResponse
|
|
1613
|
-
},
|
|
1614
2604
|
"/follows/tag/{id}": {
|
|
1615
2605
|
method: "get"
|
|
1616
2606
|
body?: undefined
|
|
@@ -1623,31 +2613,31 @@ export interface Paths {
|
|
|
1623
2613
|
search?: undefined
|
|
1624
2614
|
response: Response<Follow> | ErrorResponse
|
|
1625
2615
|
},
|
|
1626
|
-
"/
|
|
1627
|
-
method: "
|
|
2616
|
+
"/follows/work/{author}/{vanity}": {
|
|
2617
|
+
method: "get"
|
|
1628
2618
|
body?: undefined
|
|
1629
2619
|
search?: undefined
|
|
1630
2620
|
response: Response<Follow> | ErrorResponse
|
|
1631
2621
|
},
|
|
1632
|
-
"/ignore/
|
|
2622
|
+
"/ignore/author/{id}": {
|
|
1633
2623
|
method: "post"
|
|
1634
2624
|
body?: undefined
|
|
1635
2625
|
search?: undefined
|
|
1636
2626
|
response: Response<Follow> | ErrorResponse
|
|
1637
2627
|
},
|
|
1638
|
-
"/ignore/
|
|
2628
|
+
"/ignore/tag/{id}": {
|
|
1639
2629
|
method: "post"
|
|
1640
2630
|
body?: undefined
|
|
1641
2631
|
search?: undefined
|
|
1642
2632
|
response: Response<Follow> | ErrorResponse
|
|
1643
2633
|
},
|
|
1644
|
-
"/ignore/
|
|
2634
|
+
"/ignore/category/{id}": {
|
|
1645
2635
|
method: "post"
|
|
1646
2636
|
body?: undefined
|
|
1647
2637
|
search?: undefined
|
|
1648
2638
|
response: Response<Follow> | ErrorResponse
|
|
1649
2639
|
},
|
|
1650
|
-
"/ignore/
|
|
2640
|
+
"/ignore/work/{author}/{vanity}": {
|
|
1651
2641
|
method: "post"
|
|
1652
2642
|
body?: undefined
|
|
1653
2643
|
search?: undefined
|
|
@@ -1665,25 +2655,19 @@ export interface Paths {
|
|
|
1665
2655
|
search?: undefined
|
|
1666
2656
|
response: Response<Follow | null> | ErrorResponse
|
|
1667
2657
|
},
|
|
1668
|
-
"/unignore/
|
|
1669
|
-
method: "post"
|
|
1670
|
-
body?: undefined
|
|
1671
|
-
search?: undefined
|
|
1672
|
-
response: Response<Follow | null> | ErrorResponse
|
|
1673
|
-
},
|
|
1674
|
-
"/unignore/work/{author}/{vanity}": {
|
|
2658
|
+
"/unignore/tag/{id}": {
|
|
1675
2659
|
method: "post"
|
|
1676
2660
|
body?: undefined
|
|
1677
2661
|
search?: undefined
|
|
1678
2662
|
response: Response<Follow | null> | ErrorResponse
|
|
1679
2663
|
},
|
|
1680
|
-
"/unignore/
|
|
2664
|
+
"/unignore/category/{id}": {
|
|
1681
2665
|
method: "post"
|
|
1682
2666
|
body?: undefined
|
|
1683
2667
|
search?: undefined
|
|
1684
2668
|
response: Response<Follow | null> | ErrorResponse
|
|
1685
2669
|
},
|
|
1686
|
-
"/unignore/
|
|
2670
|
+
"/unignore/work/{author}/{vanity}": {
|
|
1687
2671
|
method: "post"
|
|
1688
2672
|
body?: undefined
|
|
1689
2673
|
search?: undefined
|
|
@@ -1707,25 +2691,19 @@ export interface Paths {
|
|
|
1707
2691
|
search?: undefined
|
|
1708
2692
|
response: Response<Follow> | ErrorResponse
|
|
1709
2693
|
},
|
|
1710
|
-
"/ignores/
|
|
1711
|
-
method: "get"
|
|
1712
|
-
body?: undefined
|
|
1713
|
-
search?: undefined
|
|
1714
|
-
response: Response<Follow> | ErrorResponse
|
|
1715
|
-
},
|
|
1716
|
-
"/ignores/work/{author}/{vanity}": {
|
|
2694
|
+
"/ignores/tag/{id}": {
|
|
1717
2695
|
method: "get"
|
|
1718
2696
|
body?: undefined
|
|
1719
2697
|
search?: undefined
|
|
1720
2698
|
response: Response<Follow> | ErrorResponse
|
|
1721
2699
|
},
|
|
1722
|
-
"/ignores/
|
|
2700
|
+
"/ignores/category/{id}": {
|
|
1723
2701
|
method: "get"
|
|
1724
2702
|
body?: undefined
|
|
1725
2703
|
search?: undefined
|
|
1726
2704
|
response: Response<Follow> | ErrorResponse
|
|
1727
2705
|
},
|
|
1728
|
-
"/ignores/
|
|
2706
|
+
"/ignores/work/{author}/{vanity}": {
|
|
1729
2707
|
method: "get"
|
|
1730
2708
|
body?: undefined
|
|
1731
2709
|
search?: undefined
|
|
@@ -2169,18 +3147,6 @@ export interface Paths {
|
|
|
2169
3147
|
search?: undefined
|
|
2170
3148
|
response: Response<Bookmarks> | ErrorResponse
|
|
2171
3149
|
},
|
|
2172
|
-
"/recommendation/{comment_id}/react/{type}": {
|
|
2173
|
-
method: "post"
|
|
2174
|
-
body?: undefined
|
|
2175
|
-
search?: undefined
|
|
2176
|
-
response: void | ErrorResponse
|
|
2177
|
-
},
|
|
2178
|
-
"/recommendation/{comment_id}/unreact": {
|
|
2179
|
-
method: "post"
|
|
2180
|
-
body?: undefined
|
|
2181
|
-
search?: undefined
|
|
2182
|
-
response: void | ErrorResponse
|
|
2183
|
-
},
|
|
2184
3150
|
"/supporter/status": {
|
|
2185
3151
|
method: "get"
|
|
2186
3152
|
body?: undefined
|