api.fluff4.me 1.0.700 → 1.0.701

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.
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
@@ -781,6 +781,7 @@ export interface SupporterStatus {
781
781
  end_time?: string | null
782
782
  status?: "has_active_subscription" | "has_history" | null
783
783
  total_paid: number
784
+ patreon_subscriptions: PatreonSubscription[]
784
785
  }
785
786
 
786
787
  export interface LemonSqueezyProductDisplay {
@@ -791,6 +792,12 @@ export interface LemonSqueezyProductDisplay {
791
792
  buy_now_url: string
792
793
  }
793
794
 
795
+ export interface PatreonSubscription {
796
+ status: "active" | "inactive"
797
+ total_paid: number
798
+ timestamp: string
799
+ }
800
+
794
801
  export interface SupporterOrder {
795
802
  type: "subscription" | "order"
796
803
  timestamp: string
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": {
@@ -4401,12 +4402,19 @@
4401
4402
  },
4402
4403
  "total_paid": {
4403
4404
  "type": "number"
4405
+ },
4406
+ "patreon_subscriptions": {
4407
+ "type": "array",
4408
+ "items": {
4409
+ "$ref": "#/components/schema/PatreonSubscription"
4410
+ }
4404
4411
  }
4405
4412
  },
4406
4413
  "required": [
4407
4414
  "products",
4408
4415
  "months_remaining",
4409
- "total_paid"
4416
+ "total_paid",
4417
+ "patreon_subscriptions"
4410
4418
  ]
4411
4419
  },
4412
4420
  "LemonSqueezyProductDisplay": {
@@ -4436,6 +4444,29 @@
4436
4444
  "buy_now_url"
4437
4445
  ]
4438
4446
  },
4447
+ "PatreonSubscription": {
4448
+ "type": "object",
4449
+ "properties": {
4450
+ "status": {
4451
+ "type": "string",
4452
+ "enum": [
4453
+ "active",
4454
+ "inactive"
4455
+ ]
4456
+ },
4457
+ "total_paid": {
4458
+ "type": "number"
4459
+ },
4460
+ "timestamp": {
4461
+ "type": "string"
4462
+ }
4463
+ },
4464
+ "required": [
4465
+ "status",
4466
+ "total_paid",
4467
+ "timestamp"
4468
+ ]
4469
+ },
4439
4470
  "SupporterOrder": {
4440
4471
  "type": "object",
4441
4472
  "properties": {
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.701",
4
4
  "types": "index.d.ts"
5
5
  }