api.fluff4.me 1.0.626 → 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 +123 -3
  2. package/openapi.json +760 -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 {
@@ -620,6 +643,10 @@ export interface ManifestFormInputLengths {
620
643
  body: number
621
644
  discord: number
622
645
  }
646
+ report: {
647
+ reason: number
648
+ reason_body: number
649
+ }
623
650
  }
624
651
 
625
652
  export interface ManifestReactionTypes {
@@ -631,11 +658,18 @@ export interface ReactionType {
631
658
  }
632
659
 
633
660
  export interface ManifestNotificationTypes {
634
- report: NotificationType
661
+ "report-impersonation": NotificationType
635
662
  "comment-chapter": NotificationType
636
663
  "comment-reply": NotificationType
637
- roles: NotificationType
664
+ "report-harassment": NotificationType
638
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
639
673
  }
640
674
 
641
675
  export interface NotificationType {
@@ -752,6 +786,26 @@ export interface Fundraiser {
752
786
  funds_raised: number
753
787
  }
754
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
+
755
809
  export interface ErrorResponse {
756
810
  code: number
757
811
  detail?: string | null
@@ -879,6 +933,18 @@ export interface Paths {
879
933
  search?: undefined
880
934
  response: Response<AuthorFull> | ErrorResponse
881
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
+ },
882
948
  "/author/update": {
883
949
  method: "post"
884
950
  body: AuthorInsertBody
@@ -1004,6 +1070,12 @@ export interface Paths {
1004
1070
  search?: undefined
1005
1071
  response: void | ErrorResponse
1006
1072
  },
1073
+ "/work/{author}/{work}/chapter/{url}/censor": {
1074
+ method: "post"
1075
+ body: ChapterCensorBody
1076
+ search?: undefined
1077
+ response: void | ErrorResponse
1078
+ },
1007
1079
  "/work/{author}/{vanity}/chapters/list": {
1008
1080
  method: "get"
1009
1081
  body?: undefined
@@ -1028,6 +1100,24 @@ export interface Paths {
1028
1100
  search?: undefined
1029
1101
  response: void | ErrorResponse
1030
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
+ },
1031
1121
  "/works/{author}": {
1032
1122
  method: "get"
1033
1123
  body?: undefined
@@ -1558,6 +1648,12 @@ export interface Paths {
1558
1648
  search?: undefined
1559
1649
  response: void | ErrorResponse
1560
1650
  },
1651
+ "/danger-token/request/moderate/{service}/begin": {
1652
+ method: "get"
1653
+ body?: undefined
1654
+ search?: undefined
1655
+ response: void | ErrorResponse
1656
+ },
1561
1657
  "/feed/get": {
1562
1658
  method: "get"
1563
1659
  body?: undefined
@@ -1681,4 +1777,28 @@ export interface Paths {
1681
1777
  search?: undefined
1682
1778
  response: Response<Fundraiser[]> | ErrorResponse
1683
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
+ },
1684
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": {
@@ -3491,6 +3650,21 @@
3491
3650
  "body",
3492
3651
  "discord"
3493
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
+ ]
3494
3668
  }
3495
3669
  },
3496
3670
  "required": [
@@ -3503,7 +3677,8 @@
3503
3677
  "role",
3504
3678
  "comment",
3505
3679
  "work_tags",
3506
- "changelog"
3680
+ "changelog",
3681
+ "report"
3507
3682
  ]
3508
3683
  },
3509
3684
  "ManifestReactionTypes": {
@@ -3531,7 +3706,7 @@
3531
3706
  "ManifestNotificationTypes": {
3532
3707
  "type": "object",
3533
3708
  "properties": {
3534
- "report": {
3709
+ "report-impersonation": {
3535
3710
  "$ref": "#/components/schema/NotificationType"
3536
3711
  },
3537
3712
  "comment-chapter": {
@@ -3540,19 +3715,47 @@
3540
3715
  "comment-reply": {
3541
3716
  "$ref": "#/components/schema/NotificationType"
3542
3717
  },
3543
- "roles": {
3718
+ "report-harassment": {
3544
3719
  "$ref": "#/components/schema/NotificationType"
3545
3720
  },
3546
3721
  "comment-mention": {
3547
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"
3548
3744
  }
3549
3745
  },
3550
3746
  "required": [
3551
- "report",
3747
+ "report-impersonation",
3552
3748
  "comment-chapter",
3553
3749
  "comment-reply",
3554
- "roles",
3555
- "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"
3556
3759
  ]
3557
3760
  },
3558
3761
  "NotificationType": {
@@ -4114,6 +4317,101 @@
4114
4317
  "funds_raised"
4115
4318
  ]
4116
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
+ },
4117
4415
  "ErrorResponse": {
4118
4416
  "type": "object",
4119
4417
  "properties": {
@@ -4693,6 +4991,65 @@
4693
4991
  }
4694
4992
  }
4695
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
+ },
4696
5053
  "/author/update": {
4697
5054
  "post": {
4698
5055
  "requestBody": {
@@ -5590,6 +5947,48 @@
5590
5947
  }
5591
5948
  }
5592
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
+ },
5593
5992
  "/work/{author}/{vanity}/chapters/list": {
5594
5993
  "parameters": [
5595
5994
  {
@@ -5686,88 +6085,193 @@
5686
6085
  }
5687
6086
  }
5688
6087
  },
5689
- "/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": {
5690
6261
  "parameters": [
5691
6262
  {
5692
6263
  "name": "author",
5693
6264
  "in": "path"
5694
6265
  },
5695
6266
  {
5696
- "name": "work",
6267
+ "name": "vanity",
5697
6268
  "in": "path"
5698
6269
  }
5699
6270
  ],
5700
- "get": {
5701
- "parameters": [
5702
- {
5703
- "name": "page",
5704
- "in": "query",
5705
- "description": "The page of data to query from. This endpoint uses a page size of 1 by default.",
5706
- "schema": {
5707
- "type": "integer",
5708
- "minimum": 0
5709
- }
5710
- },
5711
- {
5712
- "name": "page_size",
5713
- "in": "query",
5714
- "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.",
5715
- "schema": {
5716
- "type": "integer",
5717
- "minimum": 1,
5718
- "maximum": 1
5719
- }
5720
- }
5721
- ],
6271
+ "post": {
5722
6272
  "responses": {
5723
6273
  "200": {
5724
- "description": "200 response",
5725
- "content": {
5726
- "application/json": {
5727
- "schema": {
5728
- "type": "object",
5729
- "properties": {
5730
- "data": {
5731
- "$ref": "#/components/schemas/Chapter"
5732
- },
5733
- "has_more": {
5734
- "type": "boolean"
5735
- },
5736
- "page": {
5737
- "type": "number",
5738
- "minimum": 0
5739
- },
5740
- "page_count": {
5741
- "type": [
5742
- "boolean",
5743
- "number"
5744
- ],
5745
- "anyOf": [
5746
- {
5747
- "type": "boolean",
5748
- "enum": [
5749
- true
5750
- ]
5751
- },
5752
- {
5753
- "type": "number",
5754
- "minimum": 0
5755
- }
5756
- ]
5757
- }
5758
- },
5759
- "required": [
5760
- "data",
5761
- "has_more",
5762
- "page",
5763
- "page_count"
5764
- ]
5765
- }
5766
- }
5767
- }
5768
- },
5769
- "304": {
5770
- "description": "304 response"
6274
+ "description": "200 response"
5771
6275
  },
5772
6276
  "default": {
5773
6277
  "description": "Error",
@@ -5782,27 +6286,18 @@
5782
6286
  }
5783
6287
  }
5784
6288
  },
5785
- "/work/{author}/{work}/chapters/setvisibility": {
6289
+ "/work/{author}/{vanity}/unlock": {
5786
6290
  "parameters": [
5787
6291
  {
5788
6292
  "name": "author",
5789
6293
  "in": "path"
5790
6294
  },
5791
6295
  {
5792
- "name": "work",
6296
+ "name": "vanity",
5793
6297
  "in": "path"
5794
6298
  }
5795
6299
  ],
5796
6300
  "post": {
5797
- "requestBody": {
5798
- "content": {
5799
- "application/json": {
5800
- "schema": {
5801
- "$ref": "#/components/schemas/CampaignTierSetBody"
5802
- }
5803
- }
5804
- }
5805
- },
5806
6301
  "responses": {
5807
6302
  "200": {
5808
6303
  "description": "200 response"
@@ -9327,6 +9822,34 @@
9327
9822
  }
9328
9823
  }
9329
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
+ },
9330
9853
  "/feed/get": {
9331
9854
  "get": {
9332
9855
  "parameters": [
@@ -10358,6 +10881,154 @@
10358
10881
  }
10359
10882
  }
10360
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
+ }
10361
11032
  }
10362
11033
  }
10363
11034
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.626",
3
+ "version": "1.0.628",
4
4
  "types": "index.d.ts"
5
5
  }