api.fluff4.me 1.0.316 → 1.0.317
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 +9 -4
- package/openapi.json +55 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface Session {
|
|
|
19
19
|
created: string
|
|
20
20
|
authorisations?: Authorisation[] | null
|
|
21
21
|
author?: AuthorFull | null
|
|
22
|
+
patreon_tiers?: Tier[] | null
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
export interface Authorisation {
|
|
@@ -42,6 +43,11 @@ export interface Author {
|
|
|
42
43
|
pronouns?: string | null
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
export interface Tier {
|
|
47
|
+
tier_name: string
|
|
48
|
+
amount: number
|
|
49
|
+
}
|
|
50
|
+
|
|
45
51
|
export interface AuthDeleteBody {
|
|
46
52
|
id: string
|
|
47
53
|
}
|
|
@@ -72,6 +78,7 @@ export interface AuthorAuthorised {
|
|
|
72
78
|
vanity: string
|
|
73
79
|
pronouns?: string | null
|
|
74
80
|
description: TextBody
|
|
81
|
+
patreon_tiers?: Tier[] | null
|
|
75
82
|
authorisations?: Authorisation[] | null
|
|
76
83
|
}
|
|
77
84
|
|
|
@@ -96,6 +103,7 @@ export interface AuthorFull {
|
|
|
96
103
|
vanity: string
|
|
97
104
|
pronouns?: string | null
|
|
98
105
|
description: TextBody
|
|
106
|
+
patreon_tiers?: Tier[] | null
|
|
99
107
|
}
|
|
100
108
|
|
|
101
109
|
export interface AuthorInsert {
|
|
@@ -315,10 +323,7 @@ export interface Comments {
|
|
|
315
323
|
authors: Author[]
|
|
316
324
|
}
|
|
317
325
|
|
|
318
|
-
export type Tiers =
|
|
319
|
-
tier_name: string
|
|
320
|
-
amount: number
|
|
321
|
-
}[]
|
|
326
|
+
export type Tiers = Tier[]
|
|
322
327
|
|
|
323
328
|
export interface CampaignTierSetBody {
|
|
324
329
|
visibility: "Private" | "Public" | "Patreon"
|
package/openapi.json
CHANGED
|
@@ -48,6 +48,19 @@
|
|
|
48
48
|
"type": "null"
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
|
+
},
|
|
52
|
+
"patreon_tiers": {
|
|
53
|
+
"anyOf": [
|
|
54
|
+
{
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"$ref": "#/components/schema/Tier"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "null"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
51
64
|
}
|
|
52
65
|
},
|
|
53
66
|
"required": [
|
|
@@ -143,6 +156,21 @@
|
|
|
143
156
|
"vanity"
|
|
144
157
|
]
|
|
145
158
|
},
|
|
159
|
+
"Tier": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"properties": {
|
|
162
|
+
"tier_name": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"amount": {
|
|
166
|
+
"type": "number"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": [
|
|
170
|
+
"tier_name",
|
|
171
|
+
"amount"
|
|
172
|
+
]
|
|
173
|
+
},
|
|
146
174
|
"AuthDeleteBody": {
|
|
147
175
|
"type": "object",
|
|
148
176
|
"properties": {
|
|
@@ -259,6 +287,19 @@
|
|
|
259
287
|
"description": {
|
|
260
288
|
"$ref": "#/components/schema/TextBody"
|
|
261
289
|
},
|
|
290
|
+
"patreon_tiers": {
|
|
291
|
+
"anyOf": [
|
|
292
|
+
{
|
|
293
|
+
"type": "array",
|
|
294
|
+
"items": {
|
|
295
|
+
"$ref": "#/components/schema/Tier"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": "null"
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
262
303
|
"authorisations": {
|
|
263
304
|
"anyOf": [
|
|
264
305
|
{
|
|
@@ -411,6 +452,19 @@
|
|
|
411
452
|
},
|
|
412
453
|
"description": {
|
|
413
454
|
"$ref": "#/components/schema/TextBody"
|
|
455
|
+
},
|
|
456
|
+
"patreon_tiers": {
|
|
457
|
+
"anyOf": [
|
|
458
|
+
{
|
|
459
|
+
"type": "array",
|
|
460
|
+
"items": {
|
|
461
|
+
"$ref": "#/components/schema/Tier"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"type": "null"
|
|
466
|
+
}
|
|
467
|
+
]
|
|
414
468
|
}
|
|
415
469
|
},
|
|
416
470
|
"required": [
|
|
@@ -1816,19 +1870,7 @@
|
|
|
1816
1870
|
"Tiers": {
|
|
1817
1871
|
"type": "array",
|
|
1818
1872
|
"items": {
|
|
1819
|
-
"
|
|
1820
|
-
"properties": {
|
|
1821
|
-
"tier_name": {
|
|
1822
|
-
"type": "string"
|
|
1823
|
-
},
|
|
1824
|
-
"amount": {
|
|
1825
|
-
"type": "number"
|
|
1826
|
-
}
|
|
1827
|
-
},
|
|
1828
|
-
"required": [
|
|
1829
|
-
"tier_name",
|
|
1830
|
-
"amount"
|
|
1831
|
-
]
|
|
1873
|
+
"$ref": "#/components/schema/Tier"
|
|
1832
1874
|
}
|
|
1833
1875
|
},
|
|
1834
1876
|
"CampaignTierSetBody": {
|
package/package.json
CHANGED