api.fluff4.me 1.0.645 → 1.0.647

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 CHANGED
@@ -759,6 +759,7 @@ export interface HistoryItem {
759
759
  export interface SupporterStatus {
760
760
  products: LemonSqueezyProductDisplay[]
761
761
  months_remaining: number
762
+ has_supporter_history: boolean
762
763
  }
763
764
 
764
765
  export interface LemonSqueezyProductDisplay {
@@ -1757,8 +1758,11 @@ export interface Paths {
1757
1758
  "/supporter/orders": {
1758
1759
  method: "get"
1759
1760
  body?: undefined
1760
- search?: undefined
1761
- response: Response<OrderResponse> | ErrorResponse
1761
+ search: {
1762
+ page?: number
1763
+ page_size?: number
1764
+ }
1765
+ response: PaginatedResponse<OrderResponse> | ErrorResponse
1762
1766
  },
1763
1767
  "/supporter/order/{id}": {
1764
1768
  method: "get"
package/openapi.json CHANGED
@@ -4244,11 +4244,15 @@
4244
4244
  },
4245
4245
  "months_remaining": {
4246
4246
  "type": "number"
4247
+ },
4248
+ "has_supporter_history": {
4249
+ "type": "boolean"
4247
4250
  }
4248
4251
  },
4249
4252
  "required": [
4250
4253
  "products",
4251
- "months_remaining"
4254
+ "months_remaining",
4255
+ "has_supporter_history"
4252
4256
  ]
4253
4257
  },
4254
4258
  "LemonSqueezyProductDisplay": {
@@ -10761,6 +10765,27 @@
10761
10765
  },
10762
10766
  "/supporter/orders": {
10763
10767
  "get": {
10768
+ "parameters": [
10769
+ {
10770
+ "name": "page",
10771
+ "in": "query",
10772
+ "description": "The page of data to query from. This endpoint uses a page size of 25 by default.",
10773
+ "schema": {
10774
+ "type": "integer",
10775
+ "minimum": 0
10776
+ }
10777
+ },
10778
+ {
10779
+ "name": "page_size",
10780
+ "in": "query",
10781
+ "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.",
10782
+ "schema": {
10783
+ "type": "integer",
10784
+ "minimum": 1,
10785
+ "maximum": 25
10786
+ }
10787
+ }
10788
+ ],
10764
10789
  "responses": {
10765
10790
  "200": {
10766
10791
  "description": "200 response",
@@ -10771,10 +10796,38 @@
10771
10796
  "properties": {
10772
10797
  "data": {
10773
10798
  "$ref": "#/components/schemas/OrderResponse"
10799
+ },
10800
+ "has_more": {
10801
+ "type": "boolean"
10802
+ },
10803
+ "page": {
10804
+ "type": "number",
10805
+ "minimum": 0
10806
+ },
10807
+ "page_count": {
10808
+ "type": [
10809
+ "boolean",
10810
+ "number"
10811
+ ],
10812
+ "anyOf": [
10813
+ {
10814
+ "type": "boolean",
10815
+ "enum": [
10816
+ true
10817
+ ]
10818
+ },
10819
+ {
10820
+ "type": "number",
10821
+ "minimum": 0
10822
+ }
10823
+ ]
10774
10824
  }
10775
10825
  },
10776
10826
  "required": [
10777
- "data"
10827
+ "data",
10828
+ "has_more",
10829
+ "page",
10830
+ "page_count"
10778
10831
  ]
10779
10832
  }
10780
10833
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.645",
3
+ "version": "1.0.647",
4
4
  "types": "index.d.ts"
5
5
  }