api.fluff4.me 1.0.574 → 1.0.575
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 +10 -0
- package/openapi.json +39 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -129,6 +129,10 @@ export interface AuthService {
|
|
|
129
129
|
icon: string
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
export interface AuthSetRequiredCountBody {
|
|
133
|
+
required_count: number
|
|
134
|
+
}
|
|
135
|
+
|
|
132
136
|
export interface TOTPCreateResponse {
|
|
133
137
|
uri: string
|
|
134
138
|
}
|
|
@@ -684,6 +688,12 @@ export interface Paths {
|
|
|
684
688
|
search?: undefined
|
|
685
689
|
response: Response<AuthServices> | ErrorResponse
|
|
686
690
|
},
|
|
691
|
+
"/auth/set-required-count": {
|
|
692
|
+
method: "post"
|
|
693
|
+
body: AuthSetRequiredCountBody
|
|
694
|
+
search?: undefined
|
|
695
|
+
response: void | ErrorResponse
|
|
696
|
+
},
|
|
687
697
|
"/auth/totp/create": {
|
|
688
698
|
method: "post"
|
|
689
699
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -639,6 +639,17 @@
|
|
|
639
639
|
"icon"
|
|
640
640
|
]
|
|
641
641
|
},
|
|
642
|
+
"AuthSetRequiredCountBody": {
|
|
643
|
+
"type": "object",
|
|
644
|
+
"properties": {
|
|
645
|
+
"required_count": {
|
|
646
|
+
"type": "number"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"required_count"
|
|
651
|
+
]
|
|
652
|
+
},
|
|
642
653
|
"TOTPCreateResponse": {
|
|
643
654
|
"type": "object",
|
|
644
655
|
"properties": {
|
|
@@ -3675,6 +3686,34 @@
|
|
|
3675
3686
|
}
|
|
3676
3687
|
}
|
|
3677
3688
|
},
|
|
3689
|
+
"/auth/set-required-count": {
|
|
3690
|
+
"post": {
|
|
3691
|
+
"requestBody": {
|
|
3692
|
+
"content": {
|
|
3693
|
+
"application/json": {
|
|
3694
|
+
"schema": {
|
|
3695
|
+
"$ref": "#/components/schemas/AuthSetRequiredCountBody"
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
},
|
|
3700
|
+
"responses": {
|
|
3701
|
+
"200": {
|
|
3702
|
+
"description": "200 response"
|
|
3703
|
+
},
|
|
3704
|
+
"default": {
|
|
3705
|
+
"description": "Error",
|
|
3706
|
+
"content": {
|
|
3707
|
+
"application/json": {
|
|
3708
|
+
"schema": {
|
|
3709
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3678
3717
|
"/auth/totp/create": {
|
|
3679
3718
|
"post": {
|
|
3680
3719
|
"responses": {
|
package/package.json
CHANGED