api.fluff4.me 1.0.669 → 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.
Files changed (3) hide show
  1. package/index.d.ts +32 -0
  2. package/openapi.json +154 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -792,6 +792,14 @@ export interface SupporterOrder {
792
792
  cancelled?: true | null
793
793
  }
794
794
 
795
+ export interface SupporterCheckoutResponse {
796
+ url: string
797
+ }
798
+
799
+ export interface SupporterCheckoutBody {
800
+ amount: number
801
+ }
802
+
795
803
  export interface ChangelogInsertBody {
796
804
  body: string
797
805
  version: number
@@ -1792,6 +1800,30 @@ export interface Paths {
1792
1800
  search?: undefined
1793
1801
  response: void | ErrorResponse
1794
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
+ },
1795
1827
  "/changelog/add": {
1796
1828
  method: "post"
1797
1829
  body: ChangelogInsertBody
package/openapi.json CHANGED
@@ -4445,6 +4445,28 @@
4445
4445
  "uuid"
4446
4446
  ]
4447
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
+ },
4448
4470
  "ChangelogInsertBody": {
4449
4471
  "type": "object",
4450
4472
  "properties": {
@@ -11029,6 +11051,138 @@
11029
11051
  }
11030
11052
  }
11031
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
+ },
11032
11186
  "/changelog/add": {
11033
11187
  "post": {
11034
11188
  "requestBody": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.669",
3
+ "version": "1.0.670",
4
4
  "types": "index.d.ts"
5
5
  }