api.fluff4.me 1.0.896 → 1.0.897

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 +20 -8
  2. package/openapi.json +140 -23
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -339,7 +339,7 @@ export interface Feedback {
339
339
  export interface Chapter {
340
340
  url: string
341
341
  index_public?: number | null
342
- name: string
342
+ name?: string | null
343
343
  visibility: ChapterVisibility
344
344
  word_count: number
345
345
  time_last_update?: string | null
@@ -365,7 +365,7 @@ export interface Chapter {
365
365
  }
366
366
 
367
367
  export interface ChapterCreateBody {
368
- name: string
368
+ name?: string | null
369
369
  visibility: ChapterVisibility
370
370
  body: string
371
371
  is_numbered?: boolean | null
@@ -392,7 +392,7 @@ export interface SupporterReactions {
392
392
  }
393
393
 
394
394
  export interface ChapterBulkQueueItem {
395
- name: string
395
+ name?: string | null
396
396
  visibility: "Private" | "Public" | "Patreon"
397
397
  body: string
398
398
  is_numbered: boolean
@@ -404,7 +404,7 @@ export interface ChapterBulkQueueItem {
404
404
  }
405
405
 
406
406
  export interface ChapterQueueBody {
407
- name: string
407
+ name?: string | null
408
408
  visibility: "Private" | "Public" | "Patreon"
409
409
  body: string
410
410
  is_numbered?: boolean | null
@@ -434,12 +434,12 @@ export interface ChapterHasQueue {
434
434
  }
435
435
 
436
436
  export interface ChapterUpdateBody {
437
- name?: string | null
437
+ name?: (string | false) | null
438
438
  visibility?: ChapterVisibility | null
439
439
  body?: string | null
440
440
  is_numbered?: boolean | null
441
- notes_before?: string | null
442
- notes_after?: string | null
441
+ notes_before?: (string | false) | null
442
+ notes_after?: (string | false) | null
443
443
  global_tags?: string[] | null
444
444
  custom_tags?: string[] | null
445
445
  tier_ids?: string[] | null
@@ -449,7 +449,7 @@ export interface ChapterUpdateBody {
449
449
  export interface ChapterMetadata {
450
450
  url: string
451
451
  index_public?: number | null
452
- name: string
452
+ name?: string | null
453
453
  visibility: ChapterVisibility
454
454
  word_count: number
455
455
  time_last_update?: string | null
@@ -1178,6 +1178,12 @@ export interface Paths {
1178
1178
  search?: undefined
1179
1179
  response: void | ErrorResponse
1180
1180
  },
1181
+ "/work/{author}/{vanity}/chapter/bulk/unname": {
1182
+ method: "post"
1183
+ body?: undefined
1184
+ search?: undefined
1185
+ response: void | ErrorResponse
1186
+ },
1181
1187
  "/work/{author}/{vanity}/chapters/list": {
1182
1188
  method: "get"
1183
1189
  body?: undefined
@@ -1738,6 +1744,12 @@ export interface Paths {
1738
1744
  search?: undefined
1739
1745
  response: void | ErrorResponse
1740
1746
  },
1747
+ "/danger-token/request/chapter-clear-name-bulk/{service}/begin": {
1748
+ method: "get"
1749
+ body?: undefined
1750
+ search?: undefined
1751
+ response: void | ErrorResponse
1752
+ },
1741
1753
  "/feed/get": {
1742
1754
  method: "get"
1743
1755
  body?: undefined
package/openapi.json CHANGED
@@ -1961,9 +1961,16 @@
1961
1961
  ]
1962
1962
  },
1963
1963
  "name": {
1964
- "type": "string",
1965
- "minLength": 1,
1966
- "maxLength": 256
1964
+ "anyOf": [
1965
+ {
1966
+ "type": "string",
1967
+ "minLength": 1,
1968
+ "maxLength": 256
1969
+ },
1970
+ {
1971
+ "type": "null"
1972
+ }
1973
+ ]
1967
1974
  },
1968
1975
  "visibility": {
1969
1976
  "$ref": "#/components/schema/ChapterVisibility"
@@ -2154,7 +2161,6 @@
2154
2161
  },
2155
2162
  "required": [
2156
2163
  "url",
2157
- "name",
2158
2164
  "visibility",
2159
2165
  "word_count",
2160
2166
  "author",
@@ -2169,9 +2175,16 @@
2169
2175
  "type": "object",
2170
2176
  "properties": {
2171
2177
  "name": {
2172
- "type": "string",
2173
- "minLength": 1,
2174
- "maxLength": 256
2178
+ "anyOf": [
2179
+ {
2180
+ "type": "string",
2181
+ "minLength": 1,
2182
+ "maxLength": 256
2183
+ },
2184
+ {
2185
+ "type": "null"
2186
+ }
2187
+ ]
2175
2188
  },
2176
2189
  "visibility": {
2177
2190
  "$ref": "#/components/schema/ChapterVisibility"
@@ -2275,7 +2288,6 @@
2275
2288
  }
2276
2289
  },
2277
2290
  "required": [
2278
- "name",
2279
2291
  "visibility",
2280
2292
  "body"
2281
2293
  ]
@@ -2333,7 +2345,14 @@
2333
2345
  "type": "object",
2334
2346
  "properties": {
2335
2347
  "name": {
2336
- "type": "string"
2348
+ "anyOf": [
2349
+ {
2350
+ "type": "string"
2351
+ },
2352
+ {
2353
+ "type": "null"
2354
+ }
2355
+ ]
2337
2356
  },
2338
2357
  "visibility": {
2339
2358
  "type": "string",
@@ -2390,7 +2409,6 @@
2390
2409
  }
2391
2410
  },
2392
2411
  "required": [
2393
- "name",
2394
2412
  "visibility",
2395
2413
  "body",
2396
2414
  "is_numbered",
@@ -2402,9 +2420,16 @@
2402
2420
  "type": "object",
2403
2421
  "properties": {
2404
2422
  "name": {
2405
- "type": "string",
2406
- "minLength": 1,
2407
- "maxLength": 256
2423
+ "anyOf": [
2424
+ {
2425
+ "type": "string",
2426
+ "minLength": 1,
2427
+ "maxLength": 256
2428
+ },
2429
+ {
2430
+ "type": "null"
2431
+ }
2432
+ ]
2408
2433
  },
2409
2434
  "visibility": {
2410
2435
  "type": "string",
@@ -2449,7 +2474,6 @@
2449
2474
  }
2450
2475
  },
2451
2476
  "required": [
2452
- "name",
2453
2477
  "visibility",
2454
2478
  "body"
2455
2479
  ]
@@ -2580,9 +2604,19 @@
2580
2604
  "name": {
2581
2605
  "anyOf": [
2582
2606
  {
2583
- "type": "string",
2584
- "minLength": 1,
2585
- "maxLength": 256
2607
+ "anyOf": [
2608
+ {
2609
+ "type": "string",
2610
+ "minLength": 1,
2611
+ "maxLength": 256
2612
+ },
2613
+ {
2614
+ "type": "boolean",
2615
+ "enum": [
2616
+ false
2617
+ ]
2618
+ }
2619
+ ]
2586
2620
  },
2587
2621
  {
2588
2622
  "type": "null"
@@ -2622,7 +2656,17 @@
2622
2656
  "notes_before": {
2623
2657
  "anyOf": [
2624
2658
  {
2625
- "type": "string"
2659
+ "anyOf": [
2660
+ {
2661
+ "type": "string"
2662
+ },
2663
+ {
2664
+ "type": "boolean",
2665
+ "enum": [
2666
+ false
2667
+ ]
2668
+ }
2669
+ ]
2626
2670
  },
2627
2671
  {
2628
2672
  "type": "null"
@@ -2632,7 +2676,17 @@
2632
2676
  "notes_after": {
2633
2677
  "anyOf": [
2634
2678
  {
2635
- "type": "string"
2679
+ "anyOf": [
2680
+ {
2681
+ "type": "string"
2682
+ },
2683
+ {
2684
+ "type": "boolean",
2685
+ "enum": [
2686
+ false
2687
+ ]
2688
+ }
2689
+ ]
2636
2690
  },
2637
2691
  {
2638
2692
  "type": "null"
@@ -2722,9 +2776,16 @@
2722
2776
  ]
2723
2777
  },
2724
2778
  "name": {
2725
- "type": "string",
2726
- "minLength": 1,
2727
- "maxLength": 256
2779
+ "anyOf": [
2780
+ {
2781
+ "type": "string",
2782
+ "minLength": 1,
2783
+ "maxLength": 256
2784
+ },
2785
+ {
2786
+ "type": "null"
2787
+ }
2788
+ ]
2728
2789
  },
2729
2790
  "visibility": {
2730
2791
  "$ref": "#/components/schema/ChapterVisibility"
@@ -2784,7 +2845,6 @@
2784
2845
  },
2785
2846
  "required": [
2786
2847
  "url",
2787
- "name",
2788
2848
  "visibility",
2789
2849
  "word_count",
2790
2850
  "author",
@@ -6636,6 +6696,35 @@
6636
6696
  }
6637
6697
  }
6638
6698
  },
6699
+ "/work/{author}/{vanity}/chapter/bulk/unname": {
6700
+ "parameters": [
6701
+ {
6702
+ "name": "author",
6703
+ "in": "path"
6704
+ },
6705
+ {
6706
+ "name": "vanity",
6707
+ "in": "path"
6708
+ }
6709
+ ],
6710
+ "post": {
6711
+ "responses": {
6712
+ "200": {
6713
+ "description": "200 response"
6714
+ },
6715
+ "default": {
6716
+ "description": "Error",
6717
+ "content": {
6718
+ "application/json": {
6719
+ "schema": {
6720
+ "$ref": "#/components/schemas/ErrorResponse"
6721
+ }
6722
+ }
6723
+ }
6724
+ }
6725
+ }
6726
+ }
6727
+ },
6639
6728
  "/work/{author}/{vanity}/chapters/list": {
6640
6729
  "parameters": [
6641
6730
  {
@@ -10401,6 +10490,34 @@
10401
10490
  }
10402
10491
  }
10403
10492
  },
10493
+ "/danger-token/request/chapter-clear-name-bulk/{service}/begin": {
10494
+ "parameters": [
10495
+ {
10496
+ "name": "service",
10497
+ "in": "path"
10498
+ }
10499
+ ],
10500
+ "get": {
10501
+ "responses": {
10502
+ "200": {
10503
+ "description": "200 response"
10504
+ },
10505
+ "302": {
10506
+ "description": "302 response"
10507
+ },
10508
+ "default": {
10509
+ "description": "Error",
10510
+ "content": {
10511
+ "application/json": {
10512
+ "schema": {
10513
+ "$ref": "#/components/schemas/ErrorResponse"
10514
+ }
10515
+ }
10516
+ }
10517
+ }
10518
+ }
10519
+ }
10520
+ },
10404
10521
  "/feed/get": {
10405
10522
  "get": {
10406
10523
  "parameters": [
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.896",
3
+ "version": "1.0.897",
4
4
  "types": "index.d.ts"
5
5
  }