api.fluff4.me 1.0.623 → 1.0.628

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.
Files changed (3) hide show
  1. package/index.d.ts +127 -3
  2. package/openapi.json +776 -89
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -119,7 +119,7 @@ export interface Role {
119
119
  privileges?: Privilege[] | null
120
120
  }
121
121
 
122
- export type Privilege = "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify"
122
+ export type Privilege = "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport"
123
123
 
124
124
  export interface AuthDeleteBody {
125
125
  id: string
@@ -183,6 +183,15 @@ export interface AuthorFull {
183
183
  description: TextBody
184
184
  }
185
185
 
186
+ export interface AuthorCensorBody {
187
+ name?: boolean | null
188
+ vanity?: boolean | null
189
+ pronouns?: boolean | null
190
+ description?: boolean | null
191
+ support_link?: boolean | null
192
+ support_message?: boolean | null
193
+ }
194
+
186
195
  export interface AuthorInsertBody {
187
196
  name?: string | null
188
197
  vanity?: string | null
@@ -387,6 +396,13 @@ export interface ChapterLite {
387
396
  is_numbered: boolean
388
397
  }
389
398
 
399
+ export interface ChapterCensorBody {
400
+ name?: boolean | null
401
+ body?: boolean | null
402
+ notes_before?: boolean | null
403
+ notes_after?: boolean | null
404
+ }
405
+
390
406
  export type Chapters = ChapterLite[]
391
407
 
392
408
  export interface CampaignTierSetBody {
@@ -395,6 +411,13 @@ export interface CampaignTierSetBody {
395
411
  chapters: string[]
396
412
  }
397
413
 
414
+ export interface WorkCensorBody {
415
+ name?: boolean | null
416
+ vanity?: boolean | null
417
+ description?: boolean | null
418
+ synopsis?: boolean | null
419
+ }
420
+
398
421
  export type Works = Work[]
399
422
 
400
423
  export interface FeedResponse {
@@ -616,6 +639,14 @@ export interface ManifestFormInputLengths {
616
639
  global: number
617
640
  custom: number
618
641
  }
642
+ changelog: {
643
+ body: number
644
+ discord: number
645
+ }
646
+ report: {
647
+ reason: number
648
+ reason_body: number
649
+ }
619
650
  }
620
651
 
621
652
  export interface ManifestReactionTypes {
@@ -627,11 +658,18 @@ export interface ReactionType {
627
658
  }
628
659
 
629
660
  export interface ManifestNotificationTypes {
630
- report: NotificationType
661
+ "report-impersonation": NotificationType
631
662
  "comment-chapter": NotificationType
632
663
  "comment-reply": NotificationType
633
- roles: NotificationType
664
+ "report-harassment": NotificationType
634
665
  "comment-mention": NotificationType
666
+ "report-plagiarism": NotificationType
667
+ "report-spam": NotificationType
668
+ "report-phishing": NotificationType
669
+ "report-ban-evasion": NotificationType
670
+ "report-inappropriate-field": NotificationType
671
+ "report-inadequate-tags": NotificationType
672
+ "report-tos-violation": NotificationType
635
673
  }
636
674
 
637
675
  export interface NotificationType {
@@ -748,6 +786,26 @@ export interface Fundraiser {
748
786
  funds_raised: number
749
787
  }
750
788
 
789
+ export interface ReportAuthorBody {
790
+ reason: "harassment" | "impersonation" | "spam" | "phishing" | "inappropriate_field" | "tos_violation"
791
+ reason_body: string
792
+ }
793
+
794
+ export interface ReportWorkBody {
795
+ reason: "plagiarism" | "inadequate_tags" | "harassment" | "spam" | "inappropriate_field" | "tos_violation"
796
+ reason_body: string
797
+ }
798
+
799
+ export interface ReportChapterBody {
800
+ reason: "plagiarism" | "inadequate_tags" | "harassment" | "spam" | "inappropriate_field" | "tos_violation"
801
+ reason_body: string
802
+ }
803
+
804
+ export interface ReportCommentBody {
805
+ reason: "harassment" | "spam" | "inappropriate_field" | "tos_violation" | "phishing"
806
+ reason_body: string
807
+ }
808
+
751
809
  export interface ErrorResponse {
752
810
  code: number
753
811
  detail?: string | null
@@ -875,6 +933,18 @@ export interface Paths {
875
933
  search?: undefined
876
934
  response: Response<AuthorFull> | ErrorResponse
877
935
  },
936
+ "/author/{vanity}/censor": {
937
+ method: "post"
938
+ body: AuthorCensorBody
939
+ search?: undefined
940
+ response: void | ErrorResponse
941
+ },
942
+ "/author/{vanity}/delete": {
943
+ method: "post"
944
+ body?: undefined
945
+ search?: undefined
946
+ response: void | ErrorResponse
947
+ },
878
948
  "/author/update": {
879
949
  method: "post"
880
950
  body: AuthorInsertBody
@@ -1000,6 +1070,12 @@ export interface Paths {
1000
1070
  search?: undefined
1001
1071
  response: void | ErrorResponse
1002
1072
  },
1073
+ "/work/{author}/{work}/chapter/{url}/censor": {
1074
+ method: "post"
1075
+ body: ChapterCensorBody
1076
+ search?: undefined
1077
+ response: void | ErrorResponse
1078
+ },
1003
1079
  "/work/{author}/{vanity}/chapters/list": {
1004
1080
  method: "get"
1005
1081
  body?: undefined
@@ -1024,6 +1100,24 @@ export interface Paths {
1024
1100
  search?: undefined
1025
1101
  response: void | ErrorResponse
1026
1102
  },
1103
+ "/work/{author}/{vanity}/censor": {
1104
+ method: "post"
1105
+ body: WorkCensorBody
1106
+ search?: undefined
1107
+ response: void | ErrorResponse
1108
+ },
1109
+ "/work/{author}/{vanity}/lock": {
1110
+ method: "post"
1111
+ body?: undefined
1112
+ search?: undefined
1113
+ response: void | ErrorResponse
1114
+ },
1115
+ "/work/{author}/{vanity}/unlock": {
1116
+ method: "post"
1117
+ body?: undefined
1118
+ search?: undefined
1119
+ response: void | ErrorResponse
1120
+ },
1027
1121
  "/works/{author}": {
1028
1122
  method: "get"
1029
1123
  body?: undefined
@@ -1554,6 +1648,12 @@ export interface Paths {
1554
1648
  search?: undefined
1555
1649
  response: void | ErrorResponse
1556
1650
  },
1651
+ "/danger-token/request/moderate/{service}/begin": {
1652
+ method: "get"
1653
+ body?: undefined
1654
+ search?: undefined
1655
+ response: void | ErrorResponse
1656
+ },
1557
1657
  "/feed/get": {
1558
1658
  method: "get"
1559
1659
  body?: undefined
@@ -1677,4 +1777,28 @@ export interface Paths {
1677
1777
  search?: undefined
1678
1778
  response: Response<Fundraiser[]> | ErrorResponse
1679
1779
  },
1780
+ "/report/author/{vanity}": {
1781
+ method: "post"
1782
+ body: ReportAuthorBody
1783
+ search?: undefined
1784
+ response: void | ErrorResponse
1785
+ },
1786
+ "/report/work/{author}/{vanity}": {
1787
+ method: "post"
1788
+ body: ReportWorkBody
1789
+ search?: undefined
1790
+ response: void | ErrorResponse
1791
+ },
1792
+ "/report/work/{author}/{work}/chapter/{url}": {
1793
+ method: "post"
1794
+ body: ReportChapterBody
1795
+ search?: undefined
1796
+ response: void | ErrorResponse
1797
+ },
1798
+ "/report/comment/{id}": {
1799
+ method: "post"
1800
+ body: ReportCommentBody
1801
+ search?: undefined
1802
+ response: void | ErrorResponse
1803
+ },
1680
1804
  }
package/openapi.json CHANGED
@@ -645,7 +645,11 @@
645
645
  "TagAliasRemove",
646
646
  "TagRelationshipAdd",
647
647
  "TagRelationshipRemove",
648
- "ChangelogModify"
648
+ "ChangelogModify",
649
+ "ModerationLock",
650
+ "ModerationCensor",
651
+ "ModerationDelete",
652
+ "ModerationViewReport"
649
653
  ]
650
654
  },
651
655
  "AuthDeleteBody": {
@@ -955,6 +959,71 @@
955
959
  "description"
956
960
  ]
957
961
  },
962
+ "AuthorCensorBody": {
963
+ "type": "object",
964
+ "properties": {
965
+ "name": {
966
+ "anyOf": [
967
+ {
968
+ "type": "boolean"
969
+ },
970
+ {
971
+ "type": "null"
972
+ }
973
+ ]
974
+ },
975
+ "vanity": {
976
+ "anyOf": [
977
+ {
978
+ "type": "boolean"
979
+ },
980
+ {
981
+ "type": "null"
982
+ }
983
+ ]
984
+ },
985
+ "pronouns": {
986
+ "anyOf": [
987
+ {
988
+ "type": "boolean"
989
+ },
990
+ {
991
+ "type": "null"
992
+ }
993
+ ]
994
+ },
995
+ "description": {
996
+ "anyOf": [
997
+ {
998
+ "type": "boolean"
999
+ },
1000
+ {
1001
+ "type": "null"
1002
+ }
1003
+ ]
1004
+ },
1005
+ "support_link": {
1006
+ "anyOf": [
1007
+ {
1008
+ "type": "boolean"
1009
+ },
1010
+ {
1011
+ "type": "null"
1012
+ }
1013
+ ]
1014
+ },
1015
+ "support_message": {
1016
+ "anyOf": [
1017
+ {
1018
+ "type": "boolean"
1019
+ },
1020
+ {
1021
+ "type": "null"
1022
+ }
1023
+ ]
1024
+ }
1025
+ }
1026
+ },
958
1027
  "AuthorInsertBody": {
959
1028
  "type": "object",
960
1029
  "properties": {
@@ -2343,6 +2412,51 @@
2343
2412
  "is_numbered"
2344
2413
  ]
2345
2414
  },
2415
+ "ChapterCensorBody": {
2416
+ "type": "object",
2417
+ "properties": {
2418
+ "name": {
2419
+ "anyOf": [
2420
+ {
2421
+ "type": "boolean"
2422
+ },
2423
+ {
2424
+ "type": "null"
2425
+ }
2426
+ ]
2427
+ },
2428
+ "body": {
2429
+ "anyOf": [
2430
+ {
2431
+ "type": "boolean"
2432
+ },
2433
+ {
2434
+ "type": "null"
2435
+ }
2436
+ ]
2437
+ },
2438
+ "notes_before": {
2439
+ "anyOf": [
2440
+ {
2441
+ "type": "boolean"
2442
+ },
2443
+ {
2444
+ "type": "null"
2445
+ }
2446
+ ]
2447
+ },
2448
+ "notes_after": {
2449
+ "anyOf": [
2450
+ {
2451
+ "type": "boolean"
2452
+ },
2453
+ {
2454
+ "type": "null"
2455
+ }
2456
+ ]
2457
+ }
2458
+ }
2459
+ },
2346
2460
  "Chapters": {
2347
2461
  "type": "array",
2348
2462
  "items": {
@@ -2382,6 +2496,51 @@
2382
2496
  "chapters"
2383
2497
  ]
2384
2498
  },
2499
+ "WorkCensorBody": {
2500
+ "type": "object",
2501
+ "properties": {
2502
+ "name": {
2503
+ "anyOf": [
2504
+ {
2505
+ "type": "boolean"
2506
+ },
2507
+ {
2508
+ "type": "null"
2509
+ }
2510
+ ]
2511
+ },
2512
+ "vanity": {
2513
+ "anyOf": [
2514
+ {
2515
+ "type": "boolean"
2516
+ },
2517
+ {
2518
+ "type": "null"
2519
+ }
2520
+ ]
2521
+ },
2522
+ "description": {
2523
+ "anyOf": [
2524
+ {
2525
+ "type": "boolean"
2526
+ },
2527
+ {
2528
+ "type": "null"
2529
+ }
2530
+ ]
2531
+ },
2532
+ "synopsis": {
2533
+ "anyOf": [
2534
+ {
2535
+ "type": "boolean"
2536
+ },
2537
+ {
2538
+ "type": "null"
2539
+ }
2540
+ ]
2541
+ }
2542
+ }
2543
+ },
2385
2544
  "Works": {
2386
2545
  "type": "array",
2387
2546
  "items": {
@@ -3476,6 +3635,36 @@
3476
3635
  "global",
3477
3636
  "custom"
3478
3637
  ]
3638
+ },
3639
+ "changelog": {
3640
+ "type": "object",
3641
+ "properties": {
3642
+ "body": {
3643
+ "type": "number"
3644
+ },
3645
+ "discord": {
3646
+ "type": "number"
3647
+ }
3648
+ },
3649
+ "required": [
3650
+ "body",
3651
+ "discord"
3652
+ ]
3653
+ },
3654
+ "report": {
3655
+ "type": "object",
3656
+ "properties": {
3657
+ "reason": {
3658
+ "type": "number"
3659
+ },
3660
+ "reason_body": {
3661
+ "type": "number"
3662
+ }
3663
+ },
3664
+ "required": [
3665
+ "reason",
3666
+ "reason_body"
3667
+ ]
3479
3668
  }
3480
3669
  },
3481
3670
  "required": [
@@ -3487,7 +3676,9 @@
3487
3676
  "chapter",
3488
3677
  "role",
3489
3678
  "comment",
3490
- "work_tags"
3679
+ "work_tags",
3680
+ "changelog",
3681
+ "report"
3491
3682
  ]
3492
3683
  },
3493
3684
  "ManifestReactionTypes": {
@@ -3515,7 +3706,7 @@
3515
3706
  "ManifestNotificationTypes": {
3516
3707
  "type": "object",
3517
3708
  "properties": {
3518
- "report": {
3709
+ "report-impersonation": {
3519
3710
  "$ref": "#/components/schema/NotificationType"
3520
3711
  },
3521
3712
  "comment-chapter": {
@@ -3524,19 +3715,47 @@
3524
3715
  "comment-reply": {
3525
3716
  "$ref": "#/components/schema/NotificationType"
3526
3717
  },
3527
- "roles": {
3718
+ "report-harassment": {
3528
3719
  "$ref": "#/components/schema/NotificationType"
3529
3720
  },
3530
3721
  "comment-mention": {
3531
3722
  "$ref": "#/components/schema/NotificationType"
3723
+ },
3724
+ "report-plagiarism": {
3725
+ "$ref": "#/components/schema/NotificationType"
3726
+ },
3727
+ "report-spam": {
3728
+ "$ref": "#/components/schema/NotificationType"
3729
+ },
3730
+ "report-phishing": {
3731
+ "$ref": "#/components/schema/NotificationType"
3732
+ },
3733
+ "report-ban-evasion": {
3734
+ "$ref": "#/components/schema/NotificationType"
3735
+ },
3736
+ "report-inappropriate-field": {
3737
+ "$ref": "#/components/schema/NotificationType"
3738
+ },
3739
+ "report-inadequate-tags": {
3740
+ "$ref": "#/components/schema/NotificationType"
3741
+ },
3742
+ "report-tos-violation": {
3743
+ "$ref": "#/components/schema/NotificationType"
3532
3744
  }
3533
3745
  },
3534
3746
  "required": [
3535
- "report",
3747
+ "report-impersonation",
3536
3748
  "comment-chapter",
3537
3749
  "comment-reply",
3538
- "roles",
3539
- "comment-mention"
3750
+ "report-harassment",
3751
+ "comment-mention",
3752
+ "report-plagiarism",
3753
+ "report-spam",
3754
+ "report-phishing",
3755
+ "report-ban-evasion",
3756
+ "report-inappropriate-field",
3757
+ "report-inadequate-tags",
3758
+ "report-tos-violation"
3540
3759
  ]
3541
3760
  },
3542
3761
  "NotificationType": {
@@ -4098,6 +4317,101 @@
4098
4317
  "funds_raised"
4099
4318
  ]
4100
4319
  },
4320
+ "ReportAuthorBody": {
4321
+ "type": "object",
4322
+ "properties": {
4323
+ "reason": {
4324
+ "type": "string",
4325
+ "enum": [
4326
+ "harassment",
4327
+ "impersonation",
4328
+ "spam",
4329
+ "phishing",
4330
+ "inappropriate_field",
4331
+ "tos_violation"
4332
+ ]
4333
+ },
4334
+ "reason_body": {
4335
+ "type": "string",
4336
+ "maxLength": 72
4337
+ }
4338
+ },
4339
+ "required": [
4340
+ "reason",
4341
+ "reason_body"
4342
+ ]
4343
+ },
4344
+ "ReportWorkBody": {
4345
+ "type": "object",
4346
+ "properties": {
4347
+ "reason": {
4348
+ "type": "string",
4349
+ "enum": [
4350
+ "plagiarism",
4351
+ "inadequate_tags",
4352
+ "harassment",
4353
+ "spam",
4354
+ "inappropriate_field",
4355
+ "tos_violation"
4356
+ ]
4357
+ },
4358
+ "reason_body": {
4359
+ "type": "string",
4360
+ "maxLength": 72
4361
+ }
4362
+ },
4363
+ "required": [
4364
+ "reason",
4365
+ "reason_body"
4366
+ ]
4367
+ },
4368
+ "ReportChapterBody": {
4369
+ "type": "object",
4370
+ "properties": {
4371
+ "reason": {
4372
+ "type": "string",
4373
+ "enum": [
4374
+ "plagiarism",
4375
+ "inadequate_tags",
4376
+ "harassment",
4377
+ "spam",
4378
+ "inappropriate_field",
4379
+ "tos_violation"
4380
+ ]
4381
+ },
4382
+ "reason_body": {
4383
+ "type": "string",
4384
+ "maxLength": 72
4385
+ }
4386
+ },
4387
+ "required": [
4388
+ "reason",
4389
+ "reason_body"
4390
+ ]
4391
+ },
4392
+ "ReportCommentBody": {
4393
+ "type": "object",
4394
+ "properties": {
4395
+ "reason": {
4396
+ "type": "string",
4397
+ "enum": [
4398
+ "harassment",
4399
+ "spam",
4400
+ "inappropriate_field",
4401
+ "tos_violation",
4402
+ "phishing"
4403
+ ]
4404
+ },
4405
+ "reason_body": {
4406
+ "type": "string",
4407
+ "maxLength": 72
4408
+ }
4409
+ },
4410
+ "required": [
4411
+ "reason",
4412
+ "reason_body"
4413
+ ]
4414
+ },
4101
4415
  "ErrorResponse": {
4102
4416
  "type": "object",
4103
4417
  "properties": {
@@ -4677,6 +4991,65 @@
4677
4991
  }
4678
4992
  }
4679
4993
  },
4994
+ "/author/{vanity}/censor": {
4995
+ "parameters": [
4996
+ {
4997
+ "name": "vanity",
4998
+ "in": "path"
4999
+ }
5000
+ ],
5001
+ "post": {
5002
+ "requestBody": {
5003
+ "content": {
5004
+ "application/json": {
5005
+ "schema": {
5006
+ "$ref": "#/components/schemas/AuthorCensorBody"
5007
+ }
5008
+ }
5009
+ }
5010
+ },
5011
+ "responses": {
5012
+ "200": {
5013
+ "description": "200 response"
5014
+ },
5015
+ "default": {
5016
+ "description": "Error",
5017
+ "content": {
5018
+ "application/json": {
5019
+ "schema": {
5020
+ "$ref": "#/components/schemas/ErrorResponse"
5021
+ }
5022
+ }
5023
+ }
5024
+ }
5025
+ }
5026
+ }
5027
+ },
5028
+ "/author/{vanity}/delete": {
5029
+ "parameters": [
5030
+ {
5031
+ "name": "vanity",
5032
+ "in": "path"
5033
+ }
5034
+ ],
5035
+ "post": {
5036
+ "responses": {
5037
+ "200": {
5038
+ "description": "200 response"
5039
+ },
5040
+ "default": {
5041
+ "description": "Error",
5042
+ "content": {
5043
+ "application/json": {
5044
+ "schema": {
5045
+ "$ref": "#/components/schemas/ErrorResponse"
5046
+ }
5047
+ }
5048
+ }
5049
+ }
5050
+ }
5051
+ }
5052
+ },
4680
5053
  "/author/update": {
4681
5054
  "post": {
4682
5055
  "requestBody": {
@@ -5574,6 +5947,48 @@
5574
5947
  }
5575
5948
  }
5576
5949
  },
5950
+ "/work/{author}/{work}/chapter/{url}/censor": {
5951
+ "parameters": [
5952
+ {
5953
+ "name": "author",
5954
+ "in": "path"
5955
+ },
5956
+ {
5957
+ "name": "work",
5958
+ "in": "path"
5959
+ },
5960
+ {
5961
+ "name": "url",
5962
+ "in": "path"
5963
+ }
5964
+ ],
5965
+ "post": {
5966
+ "requestBody": {
5967
+ "content": {
5968
+ "application/json": {
5969
+ "schema": {
5970
+ "$ref": "#/components/schemas/ChapterCensorBody"
5971
+ }
5972
+ }
5973
+ }
5974
+ },
5975
+ "responses": {
5976
+ "200": {
5977
+ "description": "200 response"
5978
+ },
5979
+ "default": {
5980
+ "description": "Error",
5981
+ "content": {
5982
+ "application/json": {
5983
+ "schema": {
5984
+ "$ref": "#/components/schemas/ErrorResponse"
5985
+ }
5986
+ }
5987
+ }
5988
+ }
5989
+ }
5990
+ }
5991
+ },
5577
5992
  "/work/{author}/{vanity}/chapters/list": {
5578
5993
  "parameters": [
5579
5994
  {
@@ -5670,88 +6085,193 @@
5670
6085
  }
5671
6086
  }
5672
6087
  },
5673
- "/work/{author}/{work}/chapters/paged": {
6088
+ "/work/{author}/{work}/chapters/paged": {
6089
+ "parameters": [
6090
+ {
6091
+ "name": "author",
6092
+ "in": "path"
6093
+ },
6094
+ {
6095
+ "name": "work",
6096
+ "in": "path"
6097
+ }
6098
+ ],
6099
+ "get": {
6100
+ "parameters": [
6101
+ {
6102
+ "name": "page",
6103
+ "in": "query",
6104
+ "description": "The page of data to query from. This endpoint uses a page size of 1 by default.",
6105
+ "schema": {
6106
+ "type": "integer",
6107
+ "minimum": 0
6108
+ }
6109
+ },
6110
+ {
6111
+ "name": "page_size",
6112
+ "in": "query",
6113
+ "description": "The custom page size to return. This endpoint uses a page size of 1 by default. The custom page size cannot be raised above the default.",
6114
+ "schema": {
6115
+ "type": "integer",
6116
+ "minimum": 1,
6117
+ "maximum": 1
6118
+ }
6119
+ }
6120
+ ],
6121
+ "responses": {
6122
+ "200": {
6123
+ "description": "200 response",
6124
+ "content": {
6125
+ "application/json": {
6126
+ "schema": {
6127
+ "type": "object",
6128
+ "properties": {
6129
+ "data": {
6130
+ "$ref": "#/components/schemas/Chapter"
6131
+ },
6132
+ "has_more": {
6133
+ "type": "boolean"
6134
+ },
6135
+ "page": {
6136
+ "type": "number",
6137
+ "minimum": 0
6138
+ },
6139
+ "page_count": {
6140
+ "type": [
6141
+ "boolean",
6142
+ "number"
6143
+ ],
6144
+ "anyOf": [
6145
+ {
6146
+ "type": "boolean",
6147
+ "enum": [
6148
+ true
6149
+ ]
6150
+ },
6151
+ {
6152
+ "type": "number",
6153
+ "minimum": 0
6154
+ }
6155
+ ]
6156
+ }
6157
+ },
6158
+ "required": [
6159
+ "data",
6160
+ "has_more",
6161
+ "page",
6162
+ "page_count"
6163
+ ]
6164
+ }
6165
+ }
6166
+ }
6167
+ },
6168
+ "304": {
6169
+ "description": "304 response"
6170
+ },
6171
+ "default": {
6172
+ "description": "Error",
6173
+ "content": {
6174
+ "application/json": {
6175
+ "schema": {
6176
+ "$ref": "#/components/schemas/ErrorResponse"
6177
+ }
6178
+ }
6179
+ }
6180
+ }
6181
+ }
6182
+ }
6183
+ },
6184
+ "/work/{author}/{work}/chapters/setvisibility": {
6185
+ "parameters": [
6186
+ {
6187
+ "name": "author",
6188
+ "in": "path"
6189
+ },
6190
+ {
6191
+ "name": "work",
6192
+ "in": "path"
6193
+ }
6194
+ ],
6195
+ "post": {
6196
+ "requestBody": {
6197
+ "content": {
6198
+ "application/json": {
6199
+ "schema": {
6200
+ "$ref": "#/components/schemas/CampaignTierSetBody"
6201
+ }
6202
+ }
6203
+ }
6204
+ },
6205
+ "responses": {
6206
+ "200": {
6207
+ "description": "200 response"
6208
+ },
6209
+ "default": {
6210
+ "description": "Error",
6211
+ "content": {
6212
+ "application/json": {
6213
+ "schema": {
6214
+ "$ref": "#/components/schemas/ErrorResponse"
6215
+ }
6216
+ }
6217
+ }
6218
+ }
6219
+ }
6220
+ }
6221
+ },
6222
+ "/work/{author}/{vanity}/censor": {
6223
+ "parameters": [
6224
+ {
6225
+ "name": "author",
6226
+ "in": "path"
6227
+ },
6228
+ {
6229
+ "name": "vanity",
6230
+ "in": "path"
6231
+ }
6232
+ ],
6233
+ "post": {
6234
+ "requestBody": {
6235
+ "content": {
6236
+ "application/json": {
6237
+ "schema": {
6238
+ "$ref": "#/components/schemas/WorkCensorBody"
6239
+ }
6240
+ }
6241
+ }
6242
+ },
6243
+ "responses": {
6244
+ "200": {
6245
+ "description": "200 response"
6246
+ },
6247
+ "default": {
6248
+ "description": "Error",
6249
+ "content": {
6250
+ "application/json": {
6251
+ "schema": {
6252
+ "$ref": "#/components/schemas/ErrorResponse"
6253
+ }
6254
+ }
6255
+ }
6256
+ }
6257
+ }
6258
+ }
6259
+ },
6260
+ "/work/{author}/{vanity}/lock": {
5674
6261
  "parameters": [
5675
6262
  {
5676
6263
  "name": "author",
5677
6264
  "in": "path"
5678
6265
  },
5679
6266
  {
5680
- "name": "work",
6267
+ "name": "vanity",
5681
6268
  "in": "path"
5682
6269
  }
5683
6270
  ],
5684
- "get": {
5685
- "parameters": [
5686
- {
5687
- "name": "page",
5688
- "in": "query",
5689
- "description": "The page of data to query from. This endpoint uses a page size of 1 by default.",
5690
- "schema": {
5691
- "type": "integer",
5692
- "minimum": 0
5693
- }
5694
- },
5695
- {
5696
- "name": "page_size",
5697
- "in": "query",
5698
- "description": "The custom page size to return. This endpoint uses a page size of 1 by default. The custom page size cannot be raised above the default.",
5699
- "schema": {
5700
- "type": "integer",
5701
- "minimum": 1,
5702
- "maximum": 1
5703
- }
5704
- }
5705
- ],
6271
+ "post": {
5706
6272
  "responses": {
5707
6273
  "200": {
5708
- "description": "200 response",
5709
- "content": {
5710
- "application/json": {
5711
- "schema": {
5712
- "type": "object",
5713
- "properties": {
5714
- "data": {
5715
- "$ref": "#/components/schemas/Chapter"
5716
- },
5717
- "has_more": {
5718
- "type": "boolean"
5719
- },
5720
- "page": {
5721
- "type": "number",
5722
- "minimum": 0
5723
- },
5724
- "page_count": {
5725
- "type": [
5726
- "boolean",
5727
- "number"
5728
- ],
5729
- "anyOf": [
5730
- {
5731
- "type": "boolean",
5732
- "enum": [
5733
- true
5734
- ]
5735
- },
5736
- {
5737
- "type": "number",
5738
- "minimum": 0
5739
- }
5740
- ]
5741
- }
5742
- },
5743
- "required": [
5744
- "data",
5745
- "has_more",
5746
- "page",
5747
- "page_count"
5748
- ]
5749
- }
5750
- }
5751
- }
5752
- },
5753
- "304": {
5754
- "description": "304 response"
6274
+ "description": "200 response"
5755
6275
  },
5756
6276
  "default": {
5757
6277
  "description": "Error",
@@ -5766,27 +6286,18 @@
5766
6286
  }
5767
6287
  }
5768
6288
  },
5769
- "/work/{author}/{work}/chapters/setvisibility": {
6289
+ "/work/{author}/{vanity}/unlock": {
5770
6290
  "parameters": [
5771
6291
  {
5772
6292
  "name": "author",
5773
6293
  "in": "path"
5774
6294
  },
5775
6295
  {
5776
- "name": "work",
6296
+ "name": "vanity",
5777
6297
  "in": "path"
5778
6298
  }
5779
6299
  ],
5780
6300
  "post": {
5781
- "requestBody": {
5782
- "content": {
5783
- "application/json": {
5784
- "schema": {
5785
- "$ref": "#/components/schemas/CampaignTierSetBody"
5786
- }
5787
- }
5788
- }
5789
- },
5790
6301
  "responses": {
5791
6302
  "200": {
5792
6303
  "description": "200 response"
@@ -9311,6 +9822,34 @@
9311
9822
  }
9312
9823
  }
9313
9824
  },
9825
+ "/danger-token/request/moderate/{service}/begin": {
9826
+ "parameters": [
9827
+ {
9828
+ "name": "service",
9829
+ "in": "path"
9830
+ }
9831
+ ],
9832
+ "get": {
9833
+ "responses": {
9834
+ "200": {
9835
+ "description": "200 response"
9836
+ },
9837
+ "302": {
9838
+ "description": "302 response"
9839
+ },
9840
+ "default": {
9841
+ "description": "Error",
9842
+ "content": {
9843
+ "application/json": {
9844
+ "schema": {
9845
+ "$ref": "#/components/schemas/ErrorResponse"
9846
+ }
9847
+ }
9848
+ }
9849
+ }
9850
+ }
9851
+ }
9852
+ },
9314
9853
  "/feed/get": {
9315
9854
  "get": {
9316
9855
  "parameters": [
@@ -10342,6 +10881,154 @@
10342
10881
  }
10343
10882
  }
10344
10883
  }
10884
+ },
10885
+ "/report/author/{vanity}": {
10886
+ "parameters": [
10887
+ {
10888
+ "name": "vanity",
10889
+ "in": "path"
10890
+ }
10891
+ ],
10892
+ "post": {
10893
+ "requestBody": {
10894
+ "content": {
10895
+ "application/json": {
10896
+ "schema": {
10897
+ "$ref": "#/components/schemas/ReportAuthorBody"
10898
+ }
10899
+ }
10900
+ }
10901
+ },
10902
+ "responses": {
10903
+ "200": {
10904
+ "description": "200 response"
10905
+ },
10906
+ "default": {
10907
+ "description": "Error",
10908
+ "content": {
10909
+ "application/json": {
10910
+ "schema": {
10911
+ "$ref": "#/components/schemas/ErrorResponse"
10912
+ }
10913
+ }
10914
+ }
10915
+ }
10916
+ }
10917
+ }
10918
+ },
10919
+ "/report/work/{author}/{vanity}": {
10920
+ "parameters": [
10921
+ {
10922
+ "name": "author",
10923
+ "in": "path"
10924
+ },
10925
+ {
10926
+ "name": "vanity",
10927
+ "in": "path"
10928
+ }
10929
+ ],
10930
+ "post": {
10931
+ "requestBody": {
10932
+ "content": {
10933
+ "application/json": {
10934
+ "schema": {
10935
+ "$ref": "#/components/schemas/ReportWorkBody"
10936
+ }
10937
+ }
10938
+ }
10939
+ },
10940
+ "responses": {
10941
+ "200": {
10942
+ "description": "200 response"
10943
+ },
10944
+ "default": {
10945
+ "description": "Error",
10946
+ "content": {
10947
+ "application/json": {
10948
+ "schema": {
10949
+ "$ref": "#/components/schemas/ErrorResponse"
10950
+ }
10951
+ }
10952
+ }
10953
+ }
10954
+ }
10955
+ }
10956
+ },
10957
+ "/report/work/{author}/{work}/chapter/{url}": {
10958
+ "parameters": [
10959
+ {
10960
+ "name": "author",
10961
+ "in": "path"
10962
+ },
10963
+ {
10964
+ "name": "work",
10965
+ "in": "path"
10966
+ },
10967
+ {
10968
+ "name": "url",
10969
+ "in": "path"
10970
+ }
10971
+ ],
10972
+ "post": {
10973
+ "requestBody": {
10974
+ "content": {
10975
+ "application/json": {
10976
+ "schema": {
10977
+ "$ref": "#/components/schemas/ReportChapterBody"
10978
+ }
10979
+ }
10980
+ }
10981
+ },
10982
+ "responses": {
10983
+ "200": {
10984
+ "description": "200 response"
10985
+ },
10986
+ "default": {
10987
+ "description": "Error",
10988
+ "content": {
10989
+ "application/json": {
10990
+ "schema": {
10991
+ "$ref": "#/components/schemas/ErrorResponse"
10992
+ }
10993
+ }
10994
+ }
10995
+ }
10996
+ }
10997
+ }
10998
+ },
10999
+ "/report/comment/{id}": {
11000
+ "parameters": [
11001
+ {
11002
+ "name": "id",
11003
+ "in": "path"
11004
+ }
11005
+ ],
11006
+ "post": {
11007
+ "requestBody": {
11008
+ "content": {
11009
+ "application/json": {
11010
+ "schema": {
11011
+ "$ref": "#/components/schemas/ReportCommentBody"
11012
+ }
11013
+ }
11014
+ }
11015
+ },
11016
+ "responses": {
11017
+ "200": {
11018
+ "description": "200 response"
11019
+ },
11020
+ "default": {
11021
+ "description": "Error",
11022
+ "content": {
11023
+ "application/json": {
11024
+ "schema": {
11025
+ "$ref": "#/components/schemas/ErrorResponse"
11026
+ }
11027
+ }
11028
+ }
11029
+ }
11030
+ }
11031
+ }
10345
11032
  }
10346
11033
  }
10347
11034
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.623",
3
+ "version": "1.0.628",
4
4
  "types": "index.d.ts"
5
5
  }