api.fluff4.me 1.0.460 → 1.0.462

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 +14 -8
  2. package/openapi.json +63 -44
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -281,14 +281,14 @@ export interface ChapterReorderBody {
281
281
  position: "before" | "after"
282
282
  }
283
283
 
284
+ export type Chapters = ChapterLite[]
285
+
284
286
  export interface CampaignTierSetBody {
285
287
  visibility: "Private" | "Public" | "Patreon"
286
288
  tier_id?: string | null
287
289
  chapters: string[]
288
290
  }
289
291
 
290
- export type Chapters = ChapterLite[]
291
-
292
292
  export type Works = Work[]
293
293
 
294
294
  export interface Feed {
@@ -752,12 +752,6 @@ export interface Paths {
752
752
  search?: undefined
753
753
  response: void | ErrorResponse
754
754
  },
755
- "/work/{author}/{work}/chapter/update/visibility": {
756
- method: "post"
757
- body: CampaignTierSetBody
758
- search?: undefined
759
- response: void | ErrorResponse
760
- },
761
755
  "/work/{author}/{vanity}/chapters/list": {
762
756
  method: "get"
763
757
  body?: undefined
@@ -776,6 +770,12 @@ export interface Paths {
776
770
  }
777
771
  response: PaginatedResponse<Chapter> | ErrorResponse
778
772
  },
773
+ "/work/{author}/{work}/chapters/setvisibility": {
774
+ method: "post"
775
+ body: CampaignTierSetBody
776
+ search?: undefined
777
+ response: void | ErrorResponse
778
+ },
779
779
  "/works/{author}": {
780
780
  method: "get"
781
781
  body?: undefined
@@ -1114,6 +1114,12 @@ export interface Paths {
1114
1114
  search?: undefined
1115
1115
  response: Response<PatreonCampaignTier[]> | ErrorResponse
1116
1116
  },
1117
+ "/patreon/campaign/remove": {
1118
+ method: "post"
1119
+ body?: undefined
1120
+ search?: undefined
1121
+ response: void | ErrorResponse
1122
+ },
1117
1123
  "/tag/create/global": {
1118
1124
  method: "post"
1119
1125
  body: TagCreateGlobal
package/openapi.json CHANGED
@@ -1674,6 +1674,12 @@
1674
1674
  "position"
1675
1675
  ]
1676
1676
  },
1677
+ "Chapters": {
1678
+ "type": "array",
1679
+ "items": {
1680
+ "$ref": "#/components/schema/ChapterLite"
1681
+ }
1682
+ },
1677
1683
  "CampaignTierSetBody": {
1678
1684
  "type": "object",
1679
1685
  "properties": {
@@ -1707,12 +1713,6 @@
1707
1713
  "chapters"
1708
1714
  ]
1709
1715
  },
1710
- "Chapters": {
1711
- "type": "array",
1712
- "items": {
1713
- "$ref": "#/components/schema/ChapterLite"
1714
- }
1715
- },
1716
1716
  "Works": {
1717
1717
  "type": "array",
1718
1718
  "items": {
@@ -4168,44 +4168,6 @@
4168
4168
  }
4169
4169
  }
4170
4170
  },
4171
- "/work/{author}/{work}/chapter/update/visibility": {
4172
- "parameters": [
4173
- {
4174
- "name": "author",
4175
- "in": "path"
4176
- },
4177
- {
4178
- "name": "work",
4179
- "in": "path"
4180
- }
4181
- ],
4182
- "post": {
4183
- "requestBody": {
4184
- "content": {
4185
- "application/json": {
4186
- "schema": {
4187
- "$ref": "#/components/schemas/CampaignTierSetBody"
4188
- }
4189
- }
4190
- }
4191
- },
4192
- "responses": {
4193
- "200": {
4194
- "description": "200 response"
4195
- },
4196
- "default": {
4197
- "description": "Error",
4198
- "content": {
4199
- "application/json": {
4200
- "schema": {
4201
- "$ref": "#/components/schemas/ErrorResponse"
4202
- }
4203
- }
4204
- }
4205
- }
4206
- }
4207
- }
4208
- },
4209
4171
  "/work/{author}/{vanity}/chapters/list": {
4210
4172
  "parameters": [
4211
4173
  {
@@ -4398,6 +4360,44 @@
4398
4360
  }
4399
4361
  }
4400
4362
  },
4363
+ "/work/{author}/{work}/chapters/setvisibility": {
4364
+ "parameters": [
4365
+ {
4366
+ "name": "author",
4367
+ "in": "path"
4368
+ },
4369
+ {
4370
+ "name": "work",
4371
+ "in": "path"
4372
+ }
4373
+ ],
4374
+ "post": {
4375
+ "requestBody": {
4376
+ "content": {
4377
+ "application/json": {
4378
+ "schema": {
4379
+ "$ref": "#/components/schemas/CampaignTierSetBody"
4380
+ }
4381
+ }
4382
+ }
4383
+ },
4384
+ "responses": {
4385
+ "200": {
4386
+ "description": "200 response"
4387
+ },
4388
+ "default": {
4389
+ "description": "Error",
4390
+ "content": {
4391
+ "application/json": {
4392
+ "schema": {
4393
+ "$ref": "#/components/schemas/ErrorResponse"
4394
+ }
4395
+ }
4396
+ }
4397
+ }
4398
+ }
4399
+ }
4400
+ },
4401
4401
  "/works/{author}": {
4402
4402
  "parameters": [
4403
4403
  {
@@ -6735,6 +6735,25 @@
6735
6735
  }
6736
6736
  }
6737
6737
  },
6738
+ "/patreon/campaign/remove": {
6739
+ "post": {
6740
+ "responses": {
6741
+ "200": {
6742
+ "description": "200 response"
6743
+ },
6744
+ "default": {
6745
+ "description": "Error",
6746
+ "content": {
6747
+ "application/json": {
6748
+ "schema": {
6749
+ "$ref": "#/components/schemas/ErrorResponse"
6750
+ }
6751
+ }
6752
+ }
6753
+ }
6754
+ }
6755
+ }
6756
+ },
6738
6757
  "/tag/create/global": {
6739
6758
  "post": {
6740
6759
  "requestBody": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.460",
3
+ "version": "1.0.462",
4
4
  "types": "index.d.ts"
5
5
  }