api.fluff4.me 1.0.684 → 1.0.686
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 +20 -0
- package/openapi.json +103 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -804,12 +804,21 @@ export interface SupporterOrder {
|
|
|
804
804
|
|
|
805
805
|
export interface SupporterCheckoutParams {
|
|
806
806
|
amount?: number | null
|
|
807
|
+
transaction_id: string
|
|
807
808
|
}
|
|
808
809
|
|
|
809
810
|
export interface SupporterGetTimestamp {
|
|
810
811
|
modified?: string | null
|
|
811
812
|
}
|
|
812
813
|
|
|
814
|
+
export interface SupporterPollTransactionResponse {
|
|
815
|
+
completed: boolean
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export interface SupporterTransactionParams {
|
|
819
|
+
transaction_id: string
|
|
820
|
+
}
|
|
821
|
+
|
|
813
822
|
export interface ChangelogInsertBody {
|
|
814
823
|
body: string
|
|
815
824
|
version: number
|
|
@@ -1809,6 +1818,7 @@ export interface Paths {
|
|
|
1809
1818
|
body?: undefined
|
|
1810
1819
|
search: {
|
|
1811
1820
|
amount?: number | null
|
|
1821
|
+
transaction_id: string
|
|
1812
1822
|
}
|
|
1813
1823
|
response: void | ErrorResponse
|
|
1814
1824
|
},
|
|
@@ -1817,6 +1827,7 @@ export interface Paths {
|
|
|
1817
1827
|
body?: undefined
|
|
1818
1828
|
search: {
|
|
1819
1829
|
amount?: number | null
|
|
1830
|
+
transaction_id: string
|
|
1820
1831
|
}
|
|
1821
1832
|
response: void | ErrorResponse
|
|
1822
1833
|
},
|
|
@@ -1825,6 +1836,7 @@ export interface Paths {
|
|
|
1825
1836
|
body?: undefined
|
|
1826
1837
|
search: {
|
|
1827
1838
|
amount?: number | null
|
|
1839
|
+
transaction_id: string
|
|
1828
1840
|
}
|
|
1829
1841
|
response: void | ErrorResponse
|
|
1830
1842
|
},
|
|
@@ -1840,6 +1852,14 @@ export interface Paths {
|
|
|
1840
1852
|
search?: undefined
|
|
1841
1853
|
response: Response<SupporterGetTimestamp> | ErrorResponse
|
|
1842
1854
|
},
|
|
1855
|
+
"/supporter/poll/transaction": {
|
|
1856
|
+
method: "get"
|
|
1857
|
+
body?: undefined
|
|
1858
|
+
search: {
|
|
1859
|
+
transaction_id: string
|
|
1860
|
+
}
|
|
1861
|
+
response: Response<SupporterPollTransactionResponse> | ErrorResponse
|
|
1862
|
+
},
|
|
1843
1863
|
"/changelog/add": {
|
|
1844
1864
|
method: "post"
|
|
1845
1865
|
body: ChangelogInsertBody
|
package/openapi.json
CHANGED
|
@@ -4519,8 +4519,15 @@
|
|
|
4519
4519
|
"type": "null"
|
|
4520
4520
|
}
|
|
4521
4521
|
]
|
|
4522
|
+
},
|
|
4523
|
+
"transaction_id": {
|
|
4524
|
+
"type": "string",
|
|
4525
|
+
"maxLength": 32
|
|
4522
4526
|
}
|
|
4523
|
-
}
|
|
4527
|
+
},
|
|
4528
|
+
"required": [
|
|
4529
|
+
"transaction_id"
|
|
4530
|
+
]
|
|
4524
4531
|
},
|
|
4525
4532
|
"SupporterGetTimestamp": {
|
|
4526
4533
|
"type": "object",
|
|
@@ -4537,6 +4544,29 @@
|
|
|
4537
4544
|
}
|
|
4538
4545
|
}
|
|
4539
4546
|
},
|
|
4547
|
+
"SupporterPollTransactionResponse": {
|
|
4548
|
+
"type": "object",
|
|
4549
|
+
"properties": {
|
|
4550
|
+
"completed": {
|
|
4551
|
+
"type": "boolean"
|
|
4552
|
+
}
|
|
4553
|
+
},
|
|
4554
|
+
"required": [
|
|
4555
|
+
"completed"
|
|
4556
|
+
]
|
|
4557
|
+
},
|
|
4558
|
+
"SupporterTransactionParams": {
|
|
4559
|
+
"type": "object",
|
|
4560
|
+
"properties": {
|
|
4561
|
+
"transaction_id": {
|
|
4562
|
+
"type": "string",
|
|
4563
|
+
"maxLength": 32
|
|
4564
|
+
}
|
|
4565
|
+
},
|
|
4566
|
+
"required": [
|
|
4567
|
+
"transaction_id"
|
|
4568
|
+
]
|
|
4569
|
+
},
|
|
4540
4570
|
"ChangelogInsertBody": {
|
|
4541
4571
|
"type": "object",
|
|
4542
4572
|
"properties": {
|
|
@@ -11128,6 +11158,15 @@
|
|
|
11128
11158
|
}
|
|
11129
11159
|
]
|
|
11130
11160
|
}
|
|
11161
|
+
},
|
|
11162
|
+
{
|
|
11163
|
+
"name": "transaction_id",
|
|
11164
|
+
"in": "query",
|
|
11165
|
+
"required": true,
|
|
11166
|
+
"schema": {
|
|
11167
|
+
"type": "string",
|
|
11168
|
+
"maxLength": 32
|
|
11169
|
+
}
|
|
11131
11170
|
}
|
|
11132
11171
|
],
|
|
11133
11172
|
"responses": {
|
|
@@ -11164,6 +11203,15 @@
|
|
|
11164
11203
|
}
|
|
11165
11204
|
]
|
|
11166
11205
|
}
|
|
11206
|
+
},
|
|
11207
|
+
{
|
|
11208
|
+
"name": "transaction_id",
|
|
11209
|
+
"in": "query",
|
|
11210
|
+
"required": true,
|
|
11211
|
+
"schema": {
|
|
11212
|
+
"type": "string",
|
|
11213
|
+
"maxLength": 32
|
|
11214
|
+
}
|
|
11167
11215
|
}
|
|
11168
11216
|
],
|
|
11169
11217
|
"responses": {
|
|
@@ -11200,6 +11248,15 @@
|
|
|
11200
11248
|
}
|
|
11201
11249
|
]
|
|
11202
11250
|
}
|
|
11251
|
+
},
|
|
11252
|
+
{
|
|
11253
|
+
"name": "transaction_id",
|
|
11254
|
+
"in": "query",
|
|
11255
|
+
"required": true,
|
|
11256
|
+
"schema": {
|
|
11257
|
+
"type": "string",
|
|
11258
|
+
"maxLength": 32
|
|
11259
|
+
}
|
|
11203
11260
|
}
|
|
11204
11261
|
],
|
|
11205
11262
|
"responses": {
|
|
@@ -11272,6 +11329,51 @@
|
|
|
11272
11329
|
}
|
|
11273
11330
|
}
|
|
11274
11331
|
},
|
|
11332
|
+
"/supporter/poll/transaction": {
|
|
11333
|
+
"get": {
|
|
11334
|
+
"parameters": [
|
|
11335
|
+
{
|
|
11336
|
+
"name": "transaction_id",
|
|
11337
|
+
"in": "query",
|
|
11338
|
+
"required": true,
|
|
11339
|
+
"schema": {
|
|
11340
|
+
"type": "string",
|
|
11341
|
+
"maxLength": 32
|
|
11342
|
+
}
|
|
11343
|
+
}
|
|
11344
|
+
],
|
|
11345
|
+
"responses": {
|
|
11346
|
+
"200": {
|
|
11347
|
+
"description": "200 response",
|
|
11348
|
+
"content": {
|
|
11349
|
+
"application/json": {
|
|
11350
|
+
"schema": {
|
|
11351
|
+
"type": "object",
|
|
11352
|
+
"properties": {
|
|
11353
|
+
"data": {
|
|
11354
|
+
"$ref": "#/components/schemas/SupporterPollTransactionResponse"
|
|
11355
|
+
}
|
|
11356
|
+
},
|
|
11357
|
+
"required": [
|
|
11358
|
+
"data"
|
|
11359
|
+
]
|
|
11360
|
+
}
|
|
11361
|
+
}
|
|
11362
|
+
}
|
|
11363
|
+
},
|
|
11364
|
+
"default": {
|
|
11365
|
+
"description": "Error",
|
|
11366
|
+
"content": {
|
|
11367
|
+
"application/json": {
|
|
11368
|
+
"schema": {
|
|
11369
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11370
|
+
}
|
|
11371
|
+
}
|
|
11372
|
+
}
|
|
11373
|
+
}
|
|
11374
|
+
}
|
|
11375
|
+
}
|
|
11376
|
+
},
|
|
11275
11377
|
"/changelog/add": {
|
|
11276
11378
|
"post": {
|
|
11277
11379
|
"requestBody": {
|
package/package.json
CHANGED