api.fluff4.me 1.0.860 → 1.0.862

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 +4 -2
  2. package/openapi.json +45 -12
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -360,8 +360,8 @@ export interface ChapterCreateBody {
360
360
  notes_after?: string | null
361
361
  global_tags?: string[] | null
362
362
  custom_tags?: string[] | null
363
- tier_id?: string | null
364
363
  tier_ids?: string[] | null
364
+ work?: { status?: WorkStatus | null } | null
365
365
  }
366
366
 
367
367
  export interface SupporterReactions {
@@ -369,6 +369,8 @@ export interface SupporterReactions {
369
369
  author: string
370
370
  }
371
371
 
372
+ export type WorkStatus = "Cancelled" | "Hiatus" | "Ongoing" | "Complete"
373
+
372
374
  export interface ChapterBulkQueueItem {
373
375
  name: string
374
376
  visibility: "Private" | "Public" | "Patreon"
@@ -419,8 +421,8 @@ export interface ChapterUpdateBody {
419
421
  notes_after?: string | null
420
422
  global_tags?: string[] | null
421
423
  custom_tags?: string[] | null
422
- tier_id?: string | null
423
424
  tier_ids?: string[] | null
425
+ work?: { status?: WorkStatus | null } | null
424
426
  }
425
427
 
426
428
  export interface ChapterMetadata {
package/openapi.json CHANGED
@@ -2221,22 +2221,34 @@
2221
2221
  }
2222
2222
  ]
2223
2223
  },
2224
- "tier_id": {
2224
+ "tier_ids": {
2225
2225
  "anyOf": [
2226
2226
  {
2227
- "type": "string"
2227
+ "type": "array",
2228
+ "items": {
2229
+ "type": "string"
2230
+ }
2228
2231
  },
2229
2232
  {
2230
2233
  "type": "null"
2231
2234
  }
2232
2235
  ]
2233
2236
  },
2234
- "tier_ids": {
2237
+ "work": {
2235
2238
  "anyOf": [
2236
2239
  {
2237
- "type": "array",
2238
- "items": {
2239
- "type": "string"
2240
+ "type": "object",
2241
+ "properties": {
2242
+ "status": {
2243
+ "anyOf": [
2244
+ {
2245
+ "$ref": "#/components/schema/WorkStatus"
2246
+ },
2247
+ {
2248
+ "type": "null"
2249
+ }
2250
+ ]
2251
+ }
2240
2252
  }
2241
2253
  },
2242
2254
  {
@@ -2269,6 +2281,15 @@
2269
2281
  "author"
2270
2282
  ]
2271
2283
  },
2284
+ "WorkStatus": {
2285
+ "type": "string",
2286
+ "enum": [
2287
+ "Cancelled",
2288
+ "Hiatus",
2289
+ "Ongoing",
2290
+ "Complete"
2291
+ ]
2292
+ },
2272
2293
  "ChapterBulkQueueItem": {
2273
2294
  "type": "object",
2274
2295
  "properties": {
@@ -2591,22 +2612,34 @@
2591
2612
  }
2592
2613
  ]
2593
2614
  },
2594
- "tier_id": {
2615
+ "tier_ids": {
2595
2616
  "anyOf": [
2596
2617
  {
2597
- "type": "string"
2618
+ "type": "array",
2619
+ "items": {
2620
+ "type": "string"
2621
+ }
2598
2622
  },
2599
2623
  {
2600
2624
  "type": "null"
2601
2625
  }
2602
2626
  ]
2603
2627
  },
2604
- "tier_ids": {
2628
+ "work": {
2605
2629
  "anyOf": [
2606
2630
  {
2607
- "type": "array",
2608
- "items": {
2609
- "type": "string"
2631
+ "type": "object",
2632
+ "properties": {
2633
+ "status": {
2634
+ "anyOf": [
2635
+ {
2636
+ "$ref": "#/components/schema/WorkStatus"
2637
+ },
2638
+ {
2639
+ "type": "null"
2640
+ }
2641
+ ]
2642
+ }
2610
2643
  }
2611
2644
  },
2612
2645
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.860",
3
+ "version": "1.0.862",
4
4
  "types": "index.d.ts"
5
5
  }