api.fluff4.me 1.0.1133 → 1.0.1134

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 +54 -54
  2. package/openapi.json +217 -217
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -808,15 +808,35 @@ export interface ManifestFormInputLengths {
808
808
  }
809
809
  }
810
810
 
811
- export interface ManifestReactionTypes {
812
- love: ReactionType
813
- author_heart: ReactionType
814
- guest_heart: ReactionType
815
- supporter_love: ReactionType
811
+ export interface Notifications {
812
+ notifications: Notification[]
813
+ authors: AuthorMetadata[]
814
+ works: WorkMetadata[]
815
+ chapters: ChapterMetadata[]
816
+ comments: Comment[]
816
817
  }
817
818
 
818
- export interface ReactionType {
819
+ export interface Notification {
820
+ id: string
819
821
  type: string
822
+ created_time: string
823
+ read: boolean
824
+ string_128?: string | null
825
+ triggered_by?: string | null
826
+ author?: string | null
827
+ work?: WorkReference | null
828
+ chapter?: ChapterReference | null
829
+ comment?: string | null
830
+ }
831
+
832
+ export interface NotificationCount {
833
+ unread_notification_count: number
834
+ notification_time_last_modified: string
835
+ notification_time_last_modified_or_state_changed: string
836
+ }
837
+
838
+ export interface NotificationsBody {
839
+ notification_ids: string[]
820
840
  }
821
841
 
822
842
  export interface ManifestNotificationTypes {
@@ -849,37 +869,6 @@ export interface NotificationType {
849
869
  type: string
850
870
  }
851
871
 
852
- export interface Notifications {
853
- notifications: Notification[]
854
- authors: AuthorMetadata[]
855
- works: WorkMetadata[]
856
- chapters: ChapterMetadata[]
857
- comments: Comment[]
858
- }
859
-
860
- export interface Notification {
861
- id: string
862
- type: string
863
- created_time: string
864
- read: boolean
865
- string_128?: string | null
866
- triggered_by?: string | null
867
- author?: string | null
868
- work?: WorkReference | null
869
- chapter?: ChapterReference | null
870
- comment?: string | null
871
- }
872
-
873
- export interface NotificationCount {
874
- unread_notification_count: number
875
- notification_time_last_modified: string
876
- notification_time_last_modified_or_state_changed: string
877
- }
878
-
879
- export interface NotificationsBody {
880
- notification_ids: string[]
881
- }
882
-
883
872
  export interface FeedResponse {
884
873
  works: WorkMetadata[]
885
874
  authors: AuthorMetadata[]
@@ -914,6 +903,17 @@ export interface HistoryItem {
914
903
  view_time: string
915
904
  }
916
905
 
906
+ export interface ManifestReactionTypes {
907
+ love: ReactionType
908
+ author_heart: ReactionType
909
+ guest_heart: ReactionType
910
+ supporter_love: ReactionType
911
+ }
912
+
913
+ export interface ReactionType {
914
+ type: string
915
+ }
916
+
917
917
  export interface SupporterStatus {
918
918
  products: MoRProductDisplay[]
919
919
  months_remaining: number
@@ -1833,7 +1833,7 @@ export interface Paths {
1833
1833
  search?: undefined
1834
1834
  response: void | ErrorResponse
1835
1835
  },
1836
- "/v2/manifest/tags": {
1836
+ "/v2/tags/manifest": {
1837
1837
  method: "get"
1838
1838
  body?: undefined
1839
1839
  search?: undefined
@@ -1845,18 +1845,6 @@ export interface Paths {
1845
1845
  search?: undefined
1846
1846
  response: Response<ManifestFormInputLengths> | ErrorResponse
1847
1847
  },
1848
- "/v2/manifest/reactions": {
1849
- method: "get"
1850
- body?: undefined
1851
- search?: undefined
1852
- response: Response<ManifestReactionTypes> | ErrorResponse
1853
- },
1854
- "/v2/manifest/notifications": {
1855
- method: "get"
1856
- body?: undefined
1857
- search?: undefined
1858
- response: Response<ManifestNotificationTypes> | ErrorResponse
1859
- },
1860
1848
  "/v2/notifications/get/unread": {
1861
1849
  method: "get"
1862
1850
  body?: undefined
@@ -1881,6 +1869,12 @@ export interface Paths {
1881
1869
  search?: undefined
1882
1870
  response: void | ErrorResponse
1883
1871
  },
1872
+ "/v2/notifications/manifest": {
1873
+ method: "get"
1874
+ body?: undefined
1875
+ search?: undefined
1876
+ response: Response<ManifestNotificationTypes> | ErrorResponse
1877
+ },
1884
1878
  "/v2/danger-token/request/delete-account/{service}/begin": {
1885
1879
  method: "get"
1886
1880
  body?: undefined
@@ -2073,6 +2067,12 @@ export interface Paths {
2073
2067
  search?: undefined
2074
2068
  response: void | ErrorResponse
2075
2069
  },
2070
+ "/v2/reactions/manifest": {
2071
+ method: "get"
2072
+ body?: undefined
2073
+ search?: undefined
2074
+ response: Response<ManifestReactionTypes> | ErrorResponse
2075
+ },
2076
2076
  "/v2/supporter/status": {
2077
2077
  method: "get"
2078
2078
  body?: undefined
@@ -2961,17 +2961,17 @@ export interface Paths {
2961
2961
  search?: undefined
2962
2962
  response: Response<ManifestFormInputLengths> | ErrorResponse
2963
2963
  },
2964
- "/manifest/reactions": {
2964
+ "/manifest/notifications": {
2965
2965
  method: "get"
2966
2966
  body?: undefined
2967
2967
  search?: undefined
2968
- response: Response<ManifestReactionTypes> | ErrorResponse
2968
+ response: Response<ManifestNotificationTypes> | ErrorResponse
2969
2969
  },
2970
- "/manifest/notifications": {
2970
+ "/manifest/reactions": {
2971
2971
  method: "get"
2972
2972
  body?: undefined
2973
2973
  search?: undefined
2974
- response: Response<ManifestNotificationTypes> | ErrorResponse
2974
+ response: Response<ManifestReactionTypes> | ErrorResponse
2975
2975
  },
2976
2976
  "/notifications/get/unread": {
2977
2977
  method: "get"
package/openapi.json CHANGED
@@ -4835,150 +4835,6 @@
4835
4835
  "feed_search"
4836
4836
  ]
4837
4837
  },
4838
- "ManifestReactionTypes": {
4839
- "type": "object",
4840
- "properties": {
4841
- "love": {
4842
- "$ref": "#/components/schema/ReactionType"
4843
- },
4844
- "author_heart": {
4845
- "$ref": "#/components/schema/ReactionType"
4846
- },
4847
- "guest_heart": {
4848
- "$ref": "#/components/schema/ReactionType"
4849
- },
4850
- "supporter_love": {
4851
- "$ref": "#/components/schema/ReactionType"
4852
- }
4853
- },
4854
- "required": [
4855
- "love",
4856
- "author_heart",
4857
- "guest_heart",
4858
- "supporter_love"
4859
- ]
4860
- },
4861
- "ReactionType": {
4862
- "type": "object",
4863
- "properties": {
4864
- "type": {
4865
- "type": "string"
4866
- }
4867
- },
4868
- "required": [
4869
- "type"
4870
- ]
4871
- },
4872
- "ManifestNotificationTypes": {
4873
- "type": "object",
4874
- "properties": {
4875
- "report-impersonation": {
4876
- "$ref": "#/components/schema/NotificationType"
4877
- },
4878
- "comment-chapter": {
4879
- "$ref": "#/components/schema/NotificationType"
4880
- },
4881
- "comment-reply": {
4882
- "$ref": "#/components/schema/NotificationType"
4883
- },
4884
- "report-harassment": {
4885
- "$ref": "#/components/schema/NotificationType"
4886
- },
4887
- "comment-mention": {
4888
- "$ref": "#/components/schema/NotificationType"
4889
- },
4890
- "report-plagiarism": {
4891
- "$ref": "#/components/schema/NotificationType"
4892
- },
4893
- "report-spam": {
4894
- "$ref": "#/components/schema/NotificationType"
4895
- },
4896
- "report-phishing": {
4897
- "$ref": "#/components/schema/NotificationType"
4898
- },
4899
- "report-ban-evasion": {
4900
- "$ref": "#/components/schema/NotificationType"
4901
- },
4902
- "report-inappropriate-field": {
4903
- "$ref": "#/components/schema/NotificationType"
4904
- },
4905
- "report-inadequate-tags": {
4906
- "$ref": "#/components/schema/NotificationType"
4907
- },
4908
- "report-tos-violation": {
4909
- "$ref": "#/components/schema/NotificationType"
4910
- },
4911
- "report-inappropriate": {
4912
- "$ref": "#/components/schema/NotificationType"
4913
- },
4914
- "report-work-unlock": {
4915
- "$ref": "#/components/schema/NotificationType"
4916
- },
4917
- "work-locked": {
4918
- "$ref": "#/components/schema/NotificationType"
4919
- },
4920
- "work-unlocked": {
4921
- "$ref": "#/components/schema/NotificationType"
4922
- },
4923
- "censored-author": {
4924
- "$ref": "#/components/schema/NotificationType"
4925
- },
4926
- "censored-work": {
4927
- "$ref": "#/components/schema/NotificationType"
4928
- },
4929
- "censored-chapter": {
4930
- "$ref": "#/components/schema/NotificationType"
4931
- },
4932
- "moderation-patreon-needs-reauth": {
4933
- "$ref": "#/components/schema/NotificationType"
4934
- },
4935
- "comment-work": {
4936
- "$ref": "#/components/schema/NotificationType"
4937
- },
4938
- "placeholder-notif": {
4939
- "$ref": "#/components/schema/NotificationType"
4940
- },
4941
- "moderation-suspicious-author": {
4942
- "$ref": "#/components/schema/NotificationType"
4943
- }
4944
- },
4945
- "required": [
4946
- "report-impersonation",
4947
- "comment-chapter",
4948
- "comment-reply",
4949
- "report-harassment",
4950
- "comment-mention",
4951
- "report-plagiarism",
4952
- "report-spam",
4953
- "report-phishing",
4954
- "report-ban-evasion",
4955
- "report-inappropriate-field",
4956
- "report-inadequate-tags",
4957
- "report-tos-violation",
4958
- "report-inappropriate",
4959
- "report-work-unlock",
4960
- "work-locked",
4961
- "work-unlocked",
4962
- "censored-author",
4963
- "censored-work",
4964
- "censored-chapter",
4965
- "moderation-patreon-needs-reauth",
4966
- "comment-work",
4967
- "placeholder-notif",
4968
- "moderation-suspicious-author"
4969
- ]
4970
- },
4971
- "NotificationType": {
4972
- "type": "object",
4973
- "properties": {
4974
- "type": {
4975
- "type": "string"
4976
- }
4977
- },
4978
- "required": [
4979
- "type"
4980
- ]
4981
- },
4982
4838
  "Notifications": {
4983
4839
  "type": "object",
4984
4840
  "properties": {
@@ -5139,6 +4995,116 @@
5139
4995
  "notification_ids"
5140
4996
  ]
5141
4997
  },
4998
+ "ManifestNotificationTypes": {
4999
+ "type": "object",
5000
+ "properties": {
5001
+ "report-impersonation": {
5002
+ "$ref": "#/components/schema/NotificationType"
5003
+ },
5004
+ "comment-chapter": {
5005
+ "$ref": "#/components/schema/NotificationType"
5006
+ },
5007
+ "comment-reply": {
5008
+ "$ref": "#/components/schema/NotificationType"
5009
+ },
5010
+ "report-harassment": {
5011
+ "$ref": "#/components/schema/NotificationType"
5012
+ },
5013
+ "comment-mention": {
5014
+ "$ref": "#/components/schema/NotificationType"
5015
+ },
5016
+ "report-plagiarism": {
5017
+ "$ref": "#/components/schema/NotificationType"
5018
+ },
5019
+ "report-spam": {
5020
+ "$ref": "#/components/schema/NotificationType"
5021
+ },
5022
+ "report-phishing": {
5023
+ "$ref": "#/components/schema/NotificationType"
5024
+ },
5025
+ "report-ban-evasion": {
5026
+ "$ref": "#/components/schema/NotificationType"
5027
+ },
5028
+ "report-inappropriate-field": {
5029
+ "$ref": "#/components/schema/NotificationType"
5030
+ },
5031
+ "report-inadequate-tags": {
5032
+ "$ref": "#/components/schema/NotificationType"
5033
+ },
5034
+ "report-tos-violation": {
5035
+ "$ref": "#/components/schema/NotificationType"
5036
+ },
5037
+ "report-inappropriate": {
5038
+ "$ref": "#/components/schema/NotificationType"
5039
+ },
5040
+ "report-work-unlock": {
5041
+ "$ref": "#/components/schema/NotificationType"
5042
+ },
5043
+ "work-locked": {
5044
+ "$ref": "#/components/schema/NotificationType"
5045
+ },
5046
+ "work-unlocked": {
5047
+ "$ref": "#/components/schema/NotificationType"
5048
+ },
5049
+ "censored-author": {
5050
+ "$ref": "#/components/schema/NotificationType"
5051
+ },
5052
+ "censored-work": {
5053
+ "$ref": "#/components/schema/NotificationType"
5054
+ },
5055
+ "censored-chapter": {
5056
+ "$ref": "#/components/schema/NotificationType"
5057
+ },
5058
+ "moderation-patreon-needs-reauth": {
5059
+ "$ref": "#/components/schema/NotificationType"
5060
+ },
5061
+ "comment-work": {
5062
+ "$ref": "#/components/schema/NotificationType"
5063
+ },
5064
+ "placeholder-notif": {
5065
+ "$ref": "#/components/schema/NotificationType"
5066
+ },
5067
+ "moderation-suspicious-author": {
5068
+ "$ref": "#/components/schema/NotificationType"
5069
+ }
5070
+ },
5071
+ "required": [
5072
+ "report-impersonation",
5073
+ "comment-chapter",
5074
+ "comment-reply",
5075
+ "report-harassment",
5076
+ "comment-mention",
5077
+ "report-plagiarism",
5078
+ "report-spam",
5079
+ "report-phishing",
5080
+ "report-ban-evasion",
5081
+ "report-inappropriate-field",
5082
+ "report-inadequate-tags",
5083
+ "report-tos-violation",
5084
+ "report-inappropriate",
5085
+ "report-work-unlock",
5086
+ "work-locked",
5087
+ "work-unlocked",
5088
+ "censored-author",
5089
+ "censored-work",
5090
+ "censored-chapter",
5091
+ "moderation-patreon-needs-reauth",
5092
+ "comment-work",
5093
+ "placeholder-notif",
5094
+ "moderation-suspicious-author"
5095
+ ]
5096
+ },
5097
+ "NotificationType": {
5098
+ "type": "object",
5099
+ "properties": {
5100
+ "type": {
5101
+ "type": "string"
5102
+ }
5103
+ },
5104
+ "required": [
5105
+ "type"
5106
+ ]
5107
+ },
5142
5108
  "FeedResponse": {
5143
5109
  "type": "object",
5144
5110
  "properties": {
@@ -5395,6 +5361,40 @@
5395
5361
  "view_time"
5396
5362
  ]
5397
5363
  },
5364
+ "ManifestReactionTypes": {
5365
+ "type": "object",
5366
+ "properties": {
5367
+ "love": {
5368
+ "$ref": "#/components/schema/ReactionType"
5369
+ },
5370
+ "author_heart": {
5371
+ "$ref": "#/components/schema/ReactionType"
5372
+ },
5373
+ "guest_heart": {
5374
+ "$ref": "#/components/schema/ReactionType"
5375
+ },
5376
+ "supporter_love": {
5377
+ "$ref": "#/components/schema/ReactionType"
5378
+ }
5379
+ },
5380
+ "required": [
5381
+ "love",
5382
+ "author_heart",
5383
+ "guest_heart",
5384
+ "supporter_love"
5385
+ ]
5386
+ },
5387
+ "ReactionType": {
5388
+ "type": "object",
5389
+ "properties": {
5390
+ "type": {
5391
+ "type": "string"
5392
+ }
5393
+ },
5394
+ "required": [
5395
+ "type"
5396
+ ]
5397
+ },
5398
5398
  "SupporterStatus": {
5399
5399
  "type": "object",
5400
5400
  "properties": {
@@ -11972,7 +11972,7 @@
11972
11972
  }
11973
11973
  }
11974
11974
  },
11975
- "/v2/manifest/tags": {
11975
+ "/v2/tags/manifest": {
11976
11976
  "get": {
11977
11977
  "responses": {
11978
11978
  "200": {
@@ -12046,74 +12046,6 @@
12046
12046
  }
12047
12047
  }
12048
12048
  },
12049
- "/v2/manifest/reactions": {
12050
- "get": {
12051
- "responses": {
12052
- "200": {
12053
- "description": "200 response",
12054
- "content": {
12055
- "application/json": {
12056
- "schema": {
12057
- "type": "object",
12058
- "properties": {
12059
- "data": {
12060
- "$ref": "#/components/schemas/ManifestReactionTypes"
12061
- }
12062
- },
12063
- "required": [
12064
- "data"
12065
- ]
12066
- }
12067
- }
12068
- }
12069
- },
12070
- "default": {
12071
- "description": "Error",
12072
- "content": {
12073
- "application/json": {
12074
- "schema": {
12075
- "$ref": "#/components/schemas/ErrorResponse"
12076
- }
12077
- }
12078
- }
12079
- }
12080
- }
12081
- }
12082
- },
12083
- "/v2/manifest/notifications": {
12084
- "get": {
12085
- "responses": {
12086
- "200": {
12087
- "description": "200 response",
12088
- "content": {
12089
- "application/json": {
12090
- "schema": {
12091
- "type": "object",
12092
- "properties": {
12093
- "data": {
12094
- "$ref": "#/components/schemas/ManifestNotificationTypes"
12095
- }
12096
- },
12097
- "required": [
12098
- "data"
12099
- ]
12100
- }
12101
- }
12102
- }
12103
- },
12104
- "default": {
12105
- "description": "Error",
12106
- "content": {
12107
- "application/json": {
12108
- "schema": {
12109
- "$ref": "#/components/schemas/ErrorResponse"
12110
- }
12111
- }
12112
- }
12113
- }
12114
- }
12115
- }
12116
- },
12117
12049
  "/v2/notifications/get/unread": {
12118
12050
  "get": {
12119
12051
  "parameters": [
@@ -12293,6 +12225,40 @@
12293
12225
  }
12294
12226
  }
12295
12227
  },
12228
+ "/v2/notifications/manifest": {
12229
+ "get": {
12230
+ "responses": {
12231
+ "200": {
12232
+ "description": "200 response",
12233
+ "content": {
12234
+ "application/json": {
12235
+ "schema": {
12236
+ "type": "object",
12237
+ "properties": {
12238
+ "data": {
12239
+ "$ref": "#/components/schemas/ManifestNotificationTypes"
12240
+ }
12241
+ },
12242
+ "required": [
12243
+ "data"
12244
+ ]
12245
+ }
12246
+ }
12247
+ }
12248
+ },
12249
+ "default": {
12250
+ "description": "Error",
12251
+ "content": {
12252
+ "application/json": {
12253
+ "schema": {
12254
+ "$ref": "#/components/schemas/ErrorResponse"
12255
+ }
12256
+ }
12257
+ }
12258
+ }
12259
+ }
12260
+ }
12261
+ },
12296
12262
  "/v2/danger-token/request/delete-account/{service}/begin": {
12297
12263
  "parameters": [
12298
12264
  {
@@ -14038,6 +14004,40 @@
14038
14004
  }
14039
14005
  }
14040
14006
  },
14007
+ "/v2/reactions/manifest": {
14008
+ "get": {
14009
+ "responses": {
14010
+ "200": {
14011
+ "description": "200 response",
14012
+ "content": {
14013
+ "application/json": {
14014
+ "schema": {
14015
+ "type": "object",
14016
+ "properties": {
14017
+ "data": {
14018
+ "$ref": "#/components/schemas/ManifestReactionTypes"
14019
+ }
14020
+ },
14021
+ "required": [
14022
+ "data"
14023
+ ]
14024
+ }
14025
+ }
14026
+ }
14027
+ },
14028
+ "default": {
14029
+ "description": "Error",
14030
+ "content": {
14031
+ "application/json": {
14032
+ "schema": {
14033
+ "$ref": "#/components/schemas/ErrorResponse"
14034
+ }
14035
+ }
14036
+ }
14037
+ }
14038
+ }
14039
+ }
14040
+ },
14041
14041
  "/v2/supporter/status": {
14042
14042
  "get": {
14043
14043
  "responses": {
@@ -20442,7 +20442,7 @@
20442
20442
  }
20443
20443
  }
20444
20444
  },
20445
- "/manifest/reactions": {
20445
+ "/manifest/notifications": {
20446
20446
  "get": {
20447
20447
  "responses": {
20448
20448
  "200": {
@@ -20453,7 +20453,7 @@
20453
20453
  "type": "object",
20454
20454
  "properties": {
20455
20455
  "data": {
20456
- "$ref": "#/components/schemas/ManifestReactionTypes"
20456
+ "$ref": "#/components/schemas/ManifestNotificationTypes"
20457
20457
  }
20458
20458
  },
20459
20459
  "required": [
@@ -20476,7 +20476,7 @@
20476
20476
  }
20477
20477
  }
20478
20478
  },
20479
- "/manifest/notifications": {
20479
+ "/manifest/reactions": {
20480
20480
  "get": {
20481
20481
  "responses": {
20482
20482
  "200": {
@@ -20487,7 +20487,7 @@
20487
20487
  "type": "object",
20488
20488
  "properties": {
20489
20489
  "data": {
20490
- "$ref": "#/components/schemas/ManifestNotificationTypes"
20490
+ "$ref": "#/components/schemas/ManifestReactionTypes"
20491
20491
  }
20492
20492
  },
20493
20493
  "required": [
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1133",
3
+ "version": "1.0.1134",
4
4
  "types": "index.d.ts"
5
5
  }