api.fluff4.me 1.0.668 → 1.0.670
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 +33 -0
- package/openapi.json +167 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -789,6 +789,15 @@ export interface SupporterOrder {
|
|
|
789
789
|
interval?: "monthly" | "yearly" | null
|
|
790
790
|
interval_amount?: number | null
|
|
791
791
|
renewal_timestamp?: string | null
|
|
792
|
+
cancelled?: true | null
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export interface SupporterCheckoutResponse {
|
|
796
|
+
url: string
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export interface SupporterCheckoutBody {
|
|
800
|
+
amount: number
|
|
792
801
|
}
|
|
793
802
|
|
|
794
803
|
export interface ChangelogInsertBody {
|
|
@@ -1791,6 +1800,30 @@ export interface Paths {
|
|
|
1791
1800
|
search?: undefined
|
|
1792
1801
|
response: void | ErrorResponse
|
|
1793
1802
|
},
|
|
1803
|
+
"/supporter/checkout/monthly": {
|
|
1804
|
+
method: "get"
|
|
1805
|
+
body?: undefined
|
|
1806
|
+
search: {
|
|
1807
|
+
amount: number
|
|
1808
|
+
}
|
|
1809
|
+
response: Response<SupporterCheckoutResponse> | ErrorResponse
|
|
1810
|
+
},
|
|
1811
|
+
"/supporter/checkout/yearly": {
|
|
1812
|
+
method: "get"
|
|
1813
|
+
body?: undefined
|
|
1814
|
+
search: {
|
|
1815
|
+
amount: number
|
|
1816
|
+
}
|
|
1817
|
+
response: Response<SupporterCheckoutResponse> | ErrorResponse
|
|
1818
|
+
},
|
|
1819
|
+
"/supporter/checkout/single": {
|
|
1820
|
+
method: "get"
|
|
1821
|
+
body?: undefined
|
|
1822
|
+
search: {
|
|
1823
|
+
amount: number
|
|
1824
|
+
}
|
|
1825
|
+
response: Response<SupporterCheckoutResponse> | ErrorResponse
|
|
1826
|
+
},
|
|
1794
1827
|
"/changelog/add": {
|
|
1795
1828
|
method: "post"
|
|
1796
1829
|
body: ChangelogInsertBody
|
package/openapi.json
CHANGED
|
@@ -4422,6 +4422,19 @@
|
|
|
4422
4422
|
"type": "null"
|
|
4423
4423
|
}
|
|
4424
4424
|
]
|
|
4425
|
+
},
|
|
4426
|
+
"cancelled": {
|
|
4427
|
+
"anyOf": [
|
|
4428
|
+
{
|
|
4429
|
+
"type": "boolean",
|
|
4430
|
+
"enum": [
|
|
4431
|
+
true
|
|
4432
|
+
]
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
"type": "null"
|
|
4436
|
+
}
|
|
4437
|
+
]
|
|
4425
4438
|
}
|
|
4426
4439
|
},
|
|
4427
4440
|
"required": [
|
|
@@ -4432,6 +4445,28 @@
|
|
|
4432
4445
|
"uuid"
|
|
4433
4446
|
]
|
|
4434
4447
|
},
|
|
4448
|
+
"SupporterCheckoutResponse": {
|
|
4449
|
+
"type": "object",
|
|
4450
|
+
"properties": {
|
|
4451
|
+
"url": {
|
|
4452
|
+
"type": "string"
|
|
4453
|
+
}
|
|
4454
|
+
},
|
|
4455
|
+
"required": [
|
|
4456
|
+
"url"
|
|
4457
|
+
]
|
|
4458
|
+
},
|
|
4459
|
+
"SupporterCheckoutBody": {
|
|
4460
|
+
"type": "object",
|
|
4461
|
+
"properties": {
|
|
4462
|
+
"amount": {
|
|
4463
|
+
"type": "number"
|
|
4464
|
+
}
|
|
4465
|
+
},
|
|
4466
|
+
"required": [
|
|
4467
|
+
"amount"
|
|
4468
|
+
]
|
|
4469
|
+
},
|
|
4435
4470
|
"ChangelogInsertBody": {
|
|
4436
4471
|
"type": "object",
|
|
4437
4472
|
"properties": {
|
|
@@ -11016,6 +11051,138 @@
|
|
|
11016
11051
|
}
|
|
11017
11052
|
}
|
|
11018
11053
|
},
|
|
11054
|
+
"/supporter/checkout/monthly": {
|
|
11055
|
+
"get": {
|
|
11056
|
+
"parameters": [
|
|
11057
|
+
{
|
|
11058
|
+
"name": "amount",
|
|
11059
|
+
"in": "query",
|
|
11060
|
+
"required": true,
|
|
11061
|
+
"schema": {
|
|
11062
|
+
"type": "number"
|
|
11063
|
+
}
|
|
11064
|
+
}
|
|
11065
|
+
],
|
|
11066
|
+
"responses": {
|
|
11067
|
+
"200": {
|
|
11068
|
+
"description": "200 response",
|
|
11069
|
+
"content": {
|
|
11070
|
+
"application/json": {
|
|
11071
|
+
"schema": {
|
|
11072
|
+
"type": "object",
|
|
11073
|
+
"properties": {
|
|
11074
|
+
"data": {
|
|
11075
|
+
"$ref": "#/components/schemas/SupporterCheckoutResponse"
|
|
11076
|
+
}
|
|
11077
|
+
},
|
|
11078
|
+
"required": [
|
|
11079
|
+
"data"
|
|
11080
|
+
]
|
|
11081
|
+
}
|
|
11082
|
+
}
|
|
11083
|
+
}
|
|
11084
|
+
},
|
|
11085
|
+
"default": {
|
|
11086
|
+
"description": "Error",
|
|
11087
|
+
"content": {
|
|
11088
|
+
"application/json": {
|
|
11089
|
+
"schema": {
|
|
11090
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11091
|
+
}
|
|
11092
|
+
}
|
|
11093
|
+
}
|
|
11094
|
+
}
|
|
11095
|
+
}
|
|
11096
|
+
}
|
|
11097
|
+
},
|
|
11098
|
+
"/supporter/checkout/yearly": {
|
|
11099
|
+
"get": {
|
|
11100
|
+
"parameters": [
|
|
11101
|
+
{
|
|
11102
|
+
"name": "amount",
|
|
11103
|
+
"in": "query",
|
|
11104
|
+
"required": true,
|
|
11105
|
+
"schema": {
|
|
11106
|
+
"type": "number"
|
|
11107
|
+
}
|
|
11108
|
+
}
|
|
11109
|
+
],
|
|
11110
|
+
"responses": {
|
|
11111
|
+
"200": {
|
|
11112
|
+
"description": "200 response",
|
|
11113
|
+
"content": {
|
|
11114
|
+
"application/json": {
|
|
11115
|
+
"schema": {
|
|
11116
|
+
"type": "object",
|
|
11117
|
+
"properties": {
|
|
11118
|
+
"data": {
|
|
11119
|
+
"$ref": "#/components/schemas/SupporterCheckoutResponse"
|
|
11120
|
+
}
|
|
11121
|
+
},
|
|
11122
|
+
"required": [
|
|
11123
|
+
"data"
|
|
11124
|
+
]
|
|
11125
|
+
}
|
|
11126
|
+
}
|
|
11127
|
+
}
|
|
11128
|
+
},
|
|
11129
|
+
"default": {
|
|
11130
|
+
"description": "Error",
|
|
11131
|
+
"content": {
|
|
11132
|
+
"application/json": {
|
|
11133
|
+
"schema": {
|
|
11134
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11135
|
+
}
|
|
11136
|
+
}
|
|
11137
|
+
}
|
|
11138
|
+
}
|
|
11139
|
+
}
|
|
11140
|
+
}
|
|
11141
|
+
},
|
|
11142
|
+
"/supporter/checkout/single": {
|
|
11143
|
+
"get": {
|
|
11144
|
+
"parameters": [
|
|
11145
|
+
{
|
|
11146
|
+
"name": "amount",
|
|
11147
|
+
"in": "query",
|
|
11148
|
+
"required": true,
|
|
11149
|
+
"schema": {
|
|
11150
|
+
"type": "number"
|
|
11151
|
+
}
|
|
11152
|
+
}
|
|
11153
|
+
],
|
|
11154
|
+
"responses": {
|
|
11155
|
+
"200": {
|
|
11156
|
+
"description": "200 response",
|
|
11157
|
+
"content": {
|
|
11158
|
+
"application/json": {
|
|
11159
|
+
"schema": {
|
|
11160
|
+
"type": "object",
|
|
11161
|
+
"properties": {
|
|
11162
|
+
"data": {
|
|
11163
|
+
"$ref": "#/components/schemas/SupporterCheckoutResponse"
|
|
11164
|
+
}
|
|
11165
|
+
},
|
|
11166
|
+
"required": [
|
|
11167
|
+
"data"
|
|
11168
|
+
]
|
|
11169
|
+
}
|
|
11170
|
+
}
|
|
11171
|
+
}
|
|
11172
|
+
},
|
|
11173
|
+
"default": {
|
|
11174
|
+
"description": "Error",
|
|
11175
|
+
"content": {
|
|
11176
|
+
"application/json": {
|
|
11177
|
+
"schema": {
|
|
11178
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11179
|
+
}
|
|
11180
|
+
}
|
|
11181
|
+
}
|
|
11182
|
+
}
|
|
11183
|
+
}
|
|
11184
|
+
}
|
|
11185
|
+
},
|
|
11019
11186
|
"/changelog/add": {
|
|
11020
11187
|
"post": {
|
|
11021
11188
|
"requestBody": {
|
package/package.json
CHANGED