api.fluff4.me 1.0.1132 → 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 +86 -80
  2. package/openapi.json +396 -362
  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,43 @@ 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
+ export interface SupporterStatus {
918
+ products: MoRProductDisplay[]
919
+ months_remaining: number
920
+ end_time?: string | null
921
+ status?: ("has_active_subscription" | "has_history") | null
922
+ total_paid: number
923
+ patreon_subscriptions: PatreonSubscription[]
924
+ }
925
+
926
+ export interface MoRProductDisplay {
927
+ name: string
928
+ description: string
929
+ price: number
930
+ price_formatted: string
931
+ buy_now_url: string
932
+ }
933
+
934
+ export interface PatreonSubscription {
935
+ status: "active" | "inactive"
936
+ amount: number
937
+ renewal_timestamp?: string | null
938
+ interval: "monthly" | "yearly"
939
+ interval_amount: number
940
+ timestamp: string
941
+ }
942
+
917
943
  export interface ChangelogInsertBody {
918
944
  body: string
919
945
  version: number
@@ -1104,32 +1130,6 @@ export interface EmbedSearch {
1104
1130
  url: string
1105
1131
  }
1106
1132
 
1107
- export interface SupporterStatus {
1108
- products: MoRProductDisplay[]
1109
- months_remaining: number
1110
- end_time?: string | null
1111
- status?: ("has_active_subscription" | "has_history") | null
1112
- total_paid: number
1113
- patreon_subscriptions: PatreonSubscription[]
1114
- }
1115
-
1116
- export interface MoRProductDisplay {
1117
- name: string
1118
- description: string
1119
- price: number
1120
- price_formatted: string
1121
- buy_now_url: string
1122
- }
1123
-
1124
- export interface PatreonSubscription {
1125
- status: "active" | "inactive"
1126
- amount: number
1127
- renewal_timestamp?: string | null
1128
- interval: "monthly" | "yearly"
1129
- interval_amount: number
1130
- timestamp: string
1131
- }
1132
-
1133
1133
  export interface ErrorResponse {
1134
1134
  code: number
1135
1135
  detail?: string | null
@@ -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,18 @@ 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
+ "/v2/supporter/status": {
2077
+ method: "get"
2078
+ body?: undefined
2079
+ search?: undefined
2080
+ response: Response<SupporterStatus> | ErrorResponse
2081
+ },
2076
2082
  "/v2/changelogs/add": {
2077
2083
  method: "post"
2078
2084
  body: ChangelogInsertBody
@@ -2955,17 +2961,17 @@ export interface Paths {
2955
2961
  search?: undefined
2956
2962
  response: Response<ManifestFormInputLengths> | ErrorResponse
2957
2963
  },
2958
- "/manifest/reactions": {
2964
+ "/manifest/notifications": {
2959
2965
  method: "get"
2960
2966
  body?: undefined
2961
2967
  search?: undefined
2962
- response: Response<ManifestReactionTypes> | ErrorResponse
2968
+ response: Response<ManifestNotificationTypes> | ErrorResponse
2963
2969
  },
2964
- "/manifest/notifications": {
2970
+ "/manifest/reactions": {
2965
2971
  method: "get"
2966
2972
  body?: undefined
2967
2973
  search?: undefined
2968
- response: Response<ManifestNotificationTypes> | ErrorResponse
2974
+ response: Response<ManifestReactionTypes> | ErrorResponse
2969
2975
  },
2970
2976
  "/notifications/get/unread": {
2971
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,165 @@
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
+ "SupporterStatus": {
5399
+ "type": "object",
5400
+ "properties": {
5401
+ "products": {
5402
+ "type": "array",
5403
+ "items": {
5404
+ "$ref": "#/components/schema/MoRProductDisplay"
5405
+ }
5406
+ },
5407
+ "months_remaining": {
5408
+ "type": "number"
5409
+ },
5410
+ "end_time": {
5411
+ "anyOf": [
5412
+ {
5413
+ "type": "string"
5414
+ },
5415
+ {
5416
+ "type": "null"
5417
+ }
5418
+ ]
5419
+ },
5420
+ "status": {
5421
+ "anyOf": [
5422
+ {
5423
+ "type": "string",
5424
+ "enum": [
5425
+ "has_active_subscription",
5426
+ "has_history"
5427
+ ]
5428
+ },
5429
+ {
5430
+ "type": "null"
5431
+ }
5432
+ ]
5433
+ },
5434
+ "total_paid": {
5435
+ "type": "number"
5436
+ },
5437
+ "patreon_subscriptions": {
5438
+ "type": "array",
5439
+ "items": {
5440
+ "$ref": "#/components/schema/PatreonSubscription"
5441
+ }
5442
+ }
5443
+ },
5444
+ "required": [
5445
+ "products",
5446
+ "months_remaining",
5447
+ "total_paid",
5448
+ "patreon_subscriptions"
5449
+ ]
5450
+ },
5451
+ "MoRProductDisplay": {
5452
+ "type": "object",
5453
+ "properties": {
5454
+ "name": {
5455
+ "type": "string"
5456
+ },
5457
+ "description": {
5458
+ "type": "string"
5459
+ },
5460
+ "price": {
5461
+ "type": "number"
5462
+ },
5463
+ "price_formatted": {
5464
+ "type": "string"
5465
+ },
5466
+ "buy_now_url": {
5467
+ "type": "string"
5468
+ }
5469
+ },
5470
+ "required": [
5471
+ "name",
5472
+ "description",
5473
+ "price",
5474
+ "price_formatted",
5475
+ "buy_now_url"
5476
+ ]
5477
+ },
5478
+ "PatreonSubscription": {
5479
+ "type": "object",
5480
+ "properties": {
5481
+ "status": {
5482
+ "type": "string",
5483
+ "enum": [
5484
+ "active",
5485
+ "inactive"
5486
+ ]
5487
+ },
5488
+ "amount": {
5489
+ "type": "number"
5490
+ },
5491
+ "renewal_timestamp": {
5492
+ "anyOf": [
5493
+ {
5494
+ "type": "string"
5495
+ },
5496
+ {
5497
+ "type": "null"
5498
+ }
5499
+ ]
5500
+ },
5501
+ "interval": {
5502
+ "type": "string",
5503
+ "enum": [
5504
+ "monthly",
5505
+ "yearly"
5506
+ ]
5507
+ },
5508
+ "interval_amount": {
5509
+ "type": "number"
5510
+ },
5511
+ "timestamp": {
5512
+ "type": "string"
5513
+ }
5514
+ },
5515
+ "required": [
5516
+ "status",
5517
+ "amount",
5518
+ "interval",
5519
+ "interval_amount",
5520
+ "timestamp"
5521
+ ]
5522
+ },
5398
5523
  "ChangelogInsertBody": {
5399
5524
  "type": "object",
5400
5525
  "properties": {
@@ -6546,172 +6671,47 @@
6546
6671
  "type": "string"
6547
6672
  }
6548
6673
  },
6549
- "works": {
6550
- "type": "array",
6551
- "items": {
6552
- "$ref": "#/components/schema/WorkMetadata"
6553
- }
6554
- },
6555
- "authorData": {
6556
- "type": "array",
6557
- "items": {
6558
- "$ref": "#/components/schema/AuthorMetadata"
6559
- }
6560
- }
6561
- },
6562
- "required": [
6563
- "authors",
6564
- "works",
6565
- "authorData"
6566
- ]
6567
- },
6568
- "SearchSearch": {
6569
- "type": "object",
6570
- "properties": {
6571
- "text": {
6572
- "type": "string",
6573
- "minLength": 3,
6574
- "maxLength": 64
6575
- }
6576
- },
6577
- "required": [
6578
- "text"
6579
- ]
6580
- },
6581
- "EmbedSearch": {
6582
- "type": "object",
6583
- "properties": {
6584
- "url": {
6585
- "type": "string"
6586
- }
6587
- },
6588
- "required": [
6589
- "url"
6590
- ]
6591
- },
6592
- "SupporterStatus": {
6593
- "type": "object",
6594
- "properties": {
6595
- "products": {
6596
- "type": "array",
6597
- "items": {
6598
- "$ref": "#/components/schema/MoRProductDisplay"
6599
- }
6600
- },
6601
- "months_remaining": {
6602
- "type": "number"
6603
- },
6604
- "end_time": {
6605
- "anyOf": [
6606
- {
6607
- "type": "string"
6608
- },
6609
- {
6610
- "type": "null"
6611
- }
6612
- ]
6613
- },
6614
- "status": {
6615
- "anyOf": [
6616
- {
6617
- "type": "string",
6618
- "enum": [
6619
- "has_active_subscription",
6620
- "has_history"
6621
- ]
6622
- },
6623
- {
6624
- "type": "null"
6625
- }
6626
- ]
6627
- },
6628
- "total_paid": {
6629
- "type": "number"
6630
- },
6631
- "patreon_subscriptions": {
6674
+ "works": {
6632
6675
  "type": "array",
6633
6676
  "items": {
6634
- "$ref": "#/components/schema/PatreonSubscription"
6677
+ "$ref": "#/components/schema/WorkMetadata"
6678
+ }
6679
+ },
6680
+ "authorData": {
6681
+ "type": "array",
6682
+ "items": {
6683
+ "$ref": "#/components/schema/AuthorMetadata"
6635
6684
  }
6636
6685
  }
6637
6686
  },
6638
6687
  "required": [
6639
- "products",
6640
- "months_remaining",
6641
- "total_paid",
6642
- "patreon_subscriptions"
6688
+ "authors",
6689
+ "works",
6690
+ "authorData"
6643
6691
  ]
6644
6692
  },
6645
- "MoRProductDisplay": {
6693
+ "SearchSearch": {
6646
6694
  "type": "object",
6647
6695
  "properties": {
6648
- "name": {
6649
- "type": "string"
6650
- },
6651
- "description": {
6652
- "type": "string"
6653
- },
6654
- "price": {
6655
- "type": "number"
6656
- },
6657
- "price_formatted": {
6658
- "type": "string"
6659
- },
6660
- "buy_now_url": {
6661
- "type": "string"
6696
+ "text": {
6697
+ "type": "string",
6698
+ "minLength": 3,
6699
+ "maxLength": 64
6662
6700
  }
6663
6701
  },
6664
6702
  "required": [
6665
- "name",
6666
- "description",
6667
- "price",
6668
- "price_formatted",
6669
- "buy_now_url"
6703
+ "text"
6670
6704
  ]
6671
6705
  },
6672
- "PatreonSubscription": {
6706
+ "EmbedSearch": {
6673
6707
  "type": "object",
6674
6708
  "properties": {
6675
- "status": {
6676
- "type": "string",
6677
- "enum": [
6678
- "active",
6679
- "inactive"
6680
- ]
6681
- },
6682
- "amount": {
6683
- "type": "number"
6684
- },
6685
- "renewal_timestamp": {
6686
- "anyOf": [
6687
- {
6688
- "type": "string"
6689
- },
6690
- {
6691
- "type": "null"
6692
- }
6693
- ]
6694
- },
6695
- "interval": {
6696
- "type": "string",
6697
- "enum": [
6698
- "monthly",
6699
- "yearly"
6700
- ]
6701
- },
6702
- "interval_amount": {
6703
- "type": "number"
6704
- },
6705
- "timestamp": {
6709
+ "url": {
6706
6710
  "type": "string"
6707
6711
  }
6708
6712
  },
6709
6713
  "required": [
6710
- "status",
6711
- "amount",
6712
- "interval",
6713
- "interval_amount",
6714
- "timestamp"
6714
+ "url"
6715
6715
  ]
6716
6716
  },
6717
6717
  "ErrorResponse": {
@@ -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,74 @@
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
+ "/v2/supporter/status": {
14042
+ "get": {
14043
+ "responses": {
14044
+ "200": {
14045
+ "description": "200 response",
14046
+ "content": {
14047
+ "application/json": {
14048
+ "schema": {
14049
+ "type": "object",
14050
+ "properties": {
14051
+ "data": {
14052
+ "$ref": "#/components/schemas/SupporterStatus"
14053
+ }
14054
+ },
14055
+ "required": [
14056
+ "data"
14057
+ ]
14058
+ }
14059
+ }
14060
+ }
14061
+ },
14062
+ "default": {
14063
+ "description": "Error",
14064
+ "content": {
14065
+ "application/json": {
14066
+ "schema": {
14067
+ "$ref": "#/components/schemas/ErrorResponse"
14068
+ }
14069
+ }
14070
+ }
14071
+ }
14072
+ }
14073
+ }
14074
+ },
14041
14075
  "/v2/changelogs/add": {
14042
14076
  "post": {
14043
14077
  "requestBody": {
@@ -20408,7 +20442,7 @@
20408
20442
  }
20409
20443
  }
20410
20444
  },
20411
- "/manifest/reactions": {
20445
+ "/manifest/notifications": {
20412
20446
  "get": {
20413
20447
  "responses": {
20414
20448
  "200": {
@@ -20419,7 +20453,7 @@
20419
20453
  "type": "object",
20420
20454
  "properties": {
20421
20455
  "data": {
20422
- "$ref": "#/components/schemas/ManifestReactionTypes"
20456
+ "$ref": "#/components/schemas/ManifestNotificationTypes"
20423
20457
  }
20424
20458
  },
20425
20459
  "required": [
@@ -20442,7 +20476,7 @@
20442
20476
  }
20443
20477
  }
20444
20478
  },
20445
- "/manifest/notifications": {
20479
+ "/manifest/reactions": {
20446
20480
  "get": {
20447
20481
  "responses": {
20448
20482
  "200": {
@@ -20453,7 +20487,7 @@
20453
20487
  "type": "object",
20454
20488
  "properties": {
20455
20489
  "data": {
20456
- "$ref": "#/components/schemas/ManifestNotificationTypes"
20490
+ "$ref": "#/components/schemas/ManifestReactionTypes"
20457
20491
  }
20458
20492
  },
20459
20493
  "required": [
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1132",
3
+ "version": "1.0.1134",
4
4
  "types": "index.d.ts"
5
5
  }