api.fluff4.me 1.0.699 → 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 +8 -2
- package/openapi.json +33 -12
- 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
|
|
@@ -748,7 +748,6 @@ export interface NotificationCount {
|
|
|
748
748
|
unread_notification_count: number
|
|
749
749
|
notification_time_last_modified: string
|
|
750
750
|
notification_time_last_modified_or_state_changed: string
|
|
751
|
-
reports_time_last_update?: number | null
|
|
752
751
|
}
|
|
753
752
|
|
|
754
753
|
export interface NotificationsBody {
|
|
@@ -782,6 +781,7 @@ export interface SupporterStatus {
|
|
|
782
781
|
end_time?: string | null
|
|
783
782
|
status?: "has_active_subscription" | "has_history" | null
|
|
784
783
|
total_paid: number
|
|
784
|
+
patreon_subscriptions: PatreonSubscription[]
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
export interface LemonSqueezyProductDisplay {
|
|
@@ -792,6 +792,12 @@ export interface LemonSqueezyProductDisplay {
|
|
|
792
792
|
buy_now_url: string
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
+
export interface PatreonSubscription {
|
|
796
|
+
status: "active" | "inactive"
|
|
797
|
+
total_paid: number
|
|
798
|
+
timestamp: string
|
|
799
|
+
}
|
|
800
|
+
|
|
795
801
|
export interface SupporterOrder {
|
|
796
802
|
type: "subscription" | "order"
|
|
797
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": {
|
|
@@ -4205,16 +4206,6 @@
|
|
|
4205
4206
|
},
|
|
4206
4207
|
"notification_time_last_modified_or_state_changed": {
|
|
4207
4208
|
"type": "string"
|
|
4208
|
-
},
|
|
4209
|
-
"reports_time_last_update": {
|
|
4210
|
-
"anyOf": [
|
|
4211
|
-
{
|
|
4212
|
-
"type": "number"
|
|
4213
|
-
},
|
|
4214
|
-
{
|
|
4215
|
-
"type": "null"
|
|
4216
|
-
}
|
|
4217
|
-
]
|
|
4218
4209
|
}
|
|
4219
4210
|
},
|
|
4220
4211
|
"required": [
|
|
@@ -4411,12 +4402,19 @@
|
|
|
4411
4402
|
},
|
|
4412
4403
|
"total_paid": {
|
|
4413
4404
|
"type": "number"
|
|
4405
|
+
},
|
|
4406
|
+
"patreon_subscriptions": {
|
|
4407
|
+
"type": "array",
|
|
4408
|
+
"items": {
|
|
4409
|
+
"$ref": "#/components/schema/PatreonSubscription"
|
|
4410
|
+
}
|
|
4414
4411
|
}
|
|
4415
4412
|
},
|
|
4416
4413
|
"required": [
|
|
4417
4414
|
"products",
|
|
4418
4415
|
"months_remaining",
|
|
4419
|
-
"total_paid"
|
|
4416
|
+
"total_paid",
|
|
4417
|
+
"patreon_subscriptions"
|
|
4420
4418
|
]
|
|
4421
4419
|
},
|
|
4422
4420
|
"LemonSqueezyProductDisplay": {
|
|
@@ -4446,6 +4444,29 @@
|
|
|
4446
4444
|
"buy_now_url"
|
|
4447
4445
|
]
|
|
4448
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
|
+
},
|
|
4449
4470
|
"SupporterOrder": {
|
|
4450
4471
|
"type": "object",
|
|
4451
4472
|
"properties": {
|
package/package.json
CHANGED