api.fluff4.me 1.0.700 → 1.0.703

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 +10 -2
  2. package/openapi.json +39 -4
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -144,7 +144,7 @@ export interface Role {
144
144
  privileges?: Privilege[] | null
145
145
  }
146
146
 
147
- 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" | "ModerationGrantSupporter"
147
+ 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" | "ModerationGrantSupporter" | "FluffCampaignAuth"
148
148
 
149
149
  export interface AuthDeleteBody {
150
150
  id: string
@@ -711,6 +711,7 @@ export interface ManifestNotificationTypes {
711
711
  "report-inappropriate-field": NotificationType
712
712
  "report-inadequate-tags": NotificationType
713
713
  "report-tos-violation": NotificationType
714
+ "report-inappropriate": NotificationType
714
715
  }
715
716
 
716
717
  export interface NotificationType {
@@ -781,6 +782,7 @@ export interface SupporterStatus {
781
782
  end_time?: string | null
782
783
  status?: "has_active_subscription" | "has_history" | null
783
784
  total_paid: number
785
+ patreon_subscriptions: PatreonSubscription[]
784
786
  }
785
787
 
786
788
  export interface LemonSqueezyProductDisplay {
@@ -791,6 +793,12 @@ export interface LemonSqueezyProductDisplay {
791
793
  buy_now_url: string
792
794
  }
793
795
 
796
+ export interface PatreonSubscription {
797
+ status: "active" | "inactive"
798
+ total_paid: number
799
+ timestamp: string
800
+ }
801
+
794
802
  export interface SupporterOrder {
795
803
  type: "subscription" | "order"
796
804
  timestamp: string
@@ -865,7 +873,7 @@ export interface ReportChapterBody {
865
873
  }
866
874
 
867
875
  export interface ReportCommentBody {
868
- reason: "harassment" | "spam" | "inappropriate-field" | "tos-violation" | "phishing"
876
+ reason: "harassment" | "spam" | "inappropriate" | "tos-violation" | "phishing"
869
877
  reason_body: string
870
878
  }
871
879
 
package/openapi.json CHANGED
@@ -759,7 +759,8 @@
759
759
  "ModerationCensor",
760
760
  "ModerationDelete",
761
761
  "ModerationViewReport",
762
- "ModerationGrantSupporter"
762
+ "ModerationGrantSupporter",
763
+ "FluffCampaignAuth"
763
764
  ]
764
765
  },
765
766
  "AuthDeleteBody": {
@@ -4020,6 +4021,9 @@
4020
4021
  },
4021
4022
  "report-tos-violation": {
4022
4023
  "$ref": "#/components/schema/NotificationType"
4024
+ },
4025
+ "report-inappropriate": {
4026
+ "$ref": "#/components/schema/NotificationType"
4023
4027
  }
4024
4028
  },
4025
4029
  "required": [
@@ -4034,7 +4038,8 @@
4034
4038
  "report-ban-evasion",
4035
4039
  "report-inappropriate-field",
4036
4040
  "report-inadequate-tags",
4037
- "report-tos-violation"
4041
+ "report-tos-violation",
4042
+ "report-inappropriate"
4038
4043
  ]
4039
4044
  },
4040
4045
  "NotificationType": {
@@ -4401,12 +4406,19 @@
4401
4406
  },
4402
4407
  "total_paid": {
4403
4408
  "type": "number"
4409
+ },
4410
+ "patreon_subscriptions": {
4411
+ "type": "array",
4412
+ "items": {
4413
+ "$ref": "#/components/schema/PatreonSubscription"
4414
+ }
4404
4415
  }
4405
4416
  },
4406
4417
  "required": [
4407
4418
  "products",
4408
4419
  "months_remaining",
4409
- "total_paid"
4420
+ "total_paid",
4421
+ "patreon_subscriptions"
4410
4422
  ]
4411
4423
  },
4412
4424
  "LemonSqueezyProductDisplay": {
@@ -4436,6 +4448,29 @@
4436
4448
  "buy_now_url"
4437
4449
  ]
4438
4450
  },
4451
+ "PatreonSubscription": {
4452
+ "type": "object",
4453
+ "properties": {
4454
+ "status": {
4455
+ "type": "string",
4456
+ "enum": [
4457
+ "active",
4458
+ "inactive"
4459
+ ]
4460
+ },
4461
+ "total_paid": {
4462
+ "type": "number"
4463
+ },
4464
+ "timestamp": {
4465
+ "type": "string"
4466
+ }
4467
+ },
4468
+ "required": [
4469
+ "status",
4470
+ "total_paid",
4471
+ "timestamp"
4472
+ ]
4473
+ },
4439
4474
  "SupporterOrder": {
4440
4475
  "type": "object",
4441
4476
  "properties": {
@@ -4804,7 +4839,7 @@
4804
4839
  "enum": [
4805
4840
  "harassment",
4806
4841
  "spam",
4807
- "inappropriate-field",
4842
+ "inappropriate",
4808
4843
  "tos-violation",
4809
4844
  "phishing"
4810
4845
  ]
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.700",
3
+ "version": "1.0.703",
4
4
  "types": "index.d.ts"
5
5
  }