api.fluff4.me 1.0.646 → 1.0.648

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 +11 -10
  2. package/openapi.json +74 -33
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -770,14 +770,12 @@ export interface LemonSqueezyProductDisplay {
770
770
  buy_now_url: string
771
771
  }
772
772
 
773
- export interface OrderResponse {
774
- orders: {
775
- type: string
776
- timestamp: string
777
- status: string
778
- amount: number
779
- uuid: string
780
- }[]
773
+ export interface SupporterOrder {
774
+ type: string
775
+ timestamp: string
776
+ status: string
777
+ amount: number
778
+ uuid: string
781
779
  }
782
780
 
783
781
  export interface ChangelogInsertBody {
@@ -1758,8 +1756,11 @@ export interface Paths {
1758
1756
  "/supporter/orders": {
1759
1757
  method: "get"
1760
1758
  body?: undefined
1761
- search?: undefined
1762
- response: Response<OrderResponse> | ErrorResponse
1759
+ search: {
1760
+ page?: number
1761
+ page_size?: number
1762
+ }
1763
+ response: PaginatedResponse<SupporterOrder[]> | ErrorResponse
1763
1764
  },
1764
1765
  "/supporter/order/{id}": {
1765
1766
  method: "get"
package/openapi.json CHANGED
@@ -4282,42 +4282,31 @@
4282
4282
  "buy_now_url"
4283
4283
  ]
4284
4284
  },
4285
- "OrderResponse": {
4285
+ "SupporterOrder": {
4286
4286
  "type": "object",
4287
4287
  "properties": {
4288
- "orders": {
4289
- "type": "array",
4290
- "items": {
4291
- "type": "object",
4292
- "properties": {
4293
- "type": {
4294
- "type": "string"
4295
- },
4296
- "timestamp": {
4297
- "type": "string"
4298
- },
4299
- "status": {
4300
- "type": "string"
4301
- },
4302
- "amount": {
4303
- "type": "number"
4304
- },
4305
- "uuid": {
4306
- "type": "string"
4307
- }
4308
- },
4309
- "required": [
4310
- "type",
4311
- "timestamp",
4312
- "status",
4313
- "amount",
4314
- "uuid"
4315
- ]
4316
- }
4288
+ "type": {
4289
+ "type": "string"
4290
+ },
4291
+ "timestamp": {
4292
+ "type": "string"
4293
+ },
4294
+ "status": {
4295
+ "type": "string"
4296
+ },
4297
+ "amount": {
4298
+ "type": "number"
4299
+ },
4300
+ "uuid": {
4301
+ "type": "string"
4317
4302
  }
4318
4303
  },
4319
4304
  "required": [
4320
- "orders"
4305
+ "type",
4306
+ "timestamp",
4307
+ "status",
4308
+ "amount",
4309
+ "uuid"
4321
4310
  ]
4322
4311
  },
4323
4312
  "ChangelogInsertBody": {
@@ -10765,6 +10754,27 @@
10765
10754
  },
10766
10755
  "/supporter/orders": {
10767
10756
  "get": {
10757
+ "parameters": [
10758
+ {
10759
+ "name": "page",
10760
+ "in": "query",
10761
+ "description": "The page of data to query from. This endpoint uses a page size of 25 by default.",
10762
+ "schema": {
10763
+ "type": "integer",
10764
+ "minimum": 0
10765
+ }
10766
+ },
10767
+ {
10768
+ "name": "page_size",
10769
+ "in": "query",
10770
+ "description": "The custom page size to return. This endpoint uses a page size of 25 by default. The custom page size cannot be raised above the default.",
10771
+ "schema": {
10772
+ "type": "integer",
10773
+ "minimum": 1,
10774
+ "maximum": 25
10775
+ }
10776
+ }
10777
+ ],
10768
10778
  "responses": {
10769
10779
  "200": {
10770
10780
  "description": "200 response",
@@ -10774,11 +10784,42 @@
10774
10784
  "type": "object",
10775
10785
  "properties": {
10776
10786
  "data": {
10777
- "$ref": "#/components/schemas/OrderResponse"
10787
+ "type": "array",
10788
+ "items": {
10789
+ "$ref": "#/components/schema/SupporterOrder"
10790
+ }
10791
+ },
10792
+ "has_more": {
10793
+ "type": "boolean"
10794
+ },
10795
+ "page": {
10796
+ "type": "number",
10797
+ "minimum": 0
10798
+ },
10799
+ "page_count": {
10800
+ "type": [
10801
+ "boolean",
10802
+ "number"
10803
+ ],
10804
+ "anyOf": [
10805
+ {
10806
+ "type": "boolean",
10807
+ "enum": [
10808
+ true
10809
+ ]
10810
+ },
10811
+ {
10812
+ "type": "number",
10813
+ "minimum": 0
10814
+ }
10815
+ ]
10778
10816
  }
10779
10817
  },
10780
10818
  "required": [
10781
- "data"
10819
+ "data",
10820
+ "has_more",
10821
+ "page",
10822
+ "page_count"
10782
10823
  ]
10783
10824
  }
10784
10825
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.646",
3
+ "version": "1.0.648",
4
4
  "types": "index.d.ts"
5
5
  }