api.fluff4.me 1.0.567 → 1.0.569
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 +7 -1
- package/openapi.json +32 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface AuthorSelf {
|
|
|
59
59
|
works?: Work[] | null
|
|
60
60
|
settings?: string | null
|
|
61
61
|
roles?: Role[] | null
|
|
62
|
-
|
|
62
|
+
totp_state?: "enabled" | "disabled" | null
|
|
63
63
|
auth_services_required?: number | null
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -698,6 +698,12 @@ export interface Paths {
|
|
|
698
698
|
search?: undefined
|
|
699
699
|
response: void | ErrorResponse
|
|
700
700
|
},
|
|
701
|
+
"/auth/totp/verify": {
|
|
702
|
+
method: "post"
|
|
703
|
+
body: TOTPTokenBody
|
|
704
|
+
search?: undefined
|
|
705
|
+
response: void | ErrorResponse
|
|
706
|
+
},
|
|
701
707
|
"/auth/patreon/campaign/begin": {
|
|
702
708
|
method: "get"
|
|
703
709
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -272,12 +272,13 @@
|
|
|
272
272
|
}
|
|
273
273
|
]
|
|
274
274
|
},
|
|
275
|
-
"
|
|
275
|
+
"totp_state": {
|
|
276
276
|
"anyOf": [
|
|
277
277
|
{
|
|
278
|
-
"type": "
|
|
278
|
+
"type": "string",
|
|
279
279
|
"enum": [
|
|
280
|
-
|
|
280
|
+
"enabled",
|
|
281
|
+
"disabled"
|
|
281
282
|
]
|
|
282
283
|
},
|
|
283
284
|
{
|
|
@@ -3729,6 +3730,34 @@
|
|
|
3729
3730
|
}
|
|
3730
3731
|
}
|
|
3731
3732
|
},
|
|
3733
|
+
"/auth/totp/verify": {
|
|
3734
|
+
"post": {
|
|
3735
|
+
"requestBody": {
|
|
3736
|
+
"content": {
|
|
3737
|
+
"application/json": {
|
|
3738
|
+
"schema": {
|
|
3739
|
+
"$ref": "#/components/schemas/TOTPTokenBody"
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
},
|
|
3744
|
+
"responses": {
|
|
3745
|
+
"200": {
|
|
3746
|
+
"description": "200 response"
|
|
3747
|
+
},
|
|
3748
|
+
"default": {
|
|
3749
|
+
"description": "Error",
|
|
3750
|
+
"content": {
|
|
3751
|
+
"application/json": {
|
|
3752
|
+
"schema": {
|
|
3753
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
3754
|
+
}
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3732
3761
|
"/auth/patreon/campaign/begin": {
|
|
3733
3762
|
"get": {
|
|
3734
3763
|
"responses": {
|
package/package.json
CHANGED