api.fluff4.me 1.0.174 → 1.0.175
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 +43 -9
- package/openapi.json +211 -23
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export interface PaginatedResponse<T> extends Response<T> {
|
|
|
10
10
|
page_count: number
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
export interface HelloWorldResponse {
|
|
14
|
+
text: string
|
|
15
|
+
}
|
|
16
|
+
|
|
13
17
|
export interface Session {
|
|
14
18
|
expiry: string
|
|
15
19
|
created: string
|
|
@@ -388,24 +392,24 @@ export interface ErrorResponse {
|
|
|
388
392
|
}
|
|
389
393
|
|
|
390
394
|
export interface Paths {
|
|
391
|
-
"/
|
|
395
|
+
"/test/hello": {
|
|
392
396
|
method: "get"
|
|
393
|
-
body
|
|
394
|
-
response: Response<Session> | ErrorResponse
|
|
395
|
-
},
|
|
396
|
-
"/session/reset": {
|
|
397
|
-
method: "post"
|
|
398
|
-
body?: undefined
|
|
397
|
+
body: HelloWorldResponse
|
|
399
398
|
response: void | ErrorResponse
|
|
400
399
|
},
|
|
401
|
-
"/
|
|
400
|
+
"/test/error": {
|
|
402
401
|
method: "get"
|
|
403
402
|
body?: undefined
|
|
404
403
|
response: void | ErrorResponse
|
|
405
404
|
},
|
|
406
|
-
"/
|
|
405
|
+
"/session": {
|
|
407
406
|
method: "get"
|
|
408
407
|
body?: undefined
|
|
408
|
+
response: Response<Session> | ErrorResponse
|
|
409
|
+
},
|
|
410
|
+
"/session/reset": {
|
|
411
|
+
method: "post"
|
|
412
|
+
body?: undefined
|
|
409
413
|
response: void | ErrorResponse
|
|
410
414
|
},
|
|
411
415
|
"/auth/{service}/begin": {
|
|
@@ -768,4 +772,34 @@ export interface Paths {
|
|
|
768
772
|
body: NotificationsBody
|
|
769
773
|
response: void | ErrorResponse
|
|
770
774
|
},
|
|
775
|
+
"/danger-token/request/delete-account/{service}/begin": {
|
|
776
|
+
method: "get"
|
|
777
|
+
body?: undefined
|
|
778
|
+
response: void | ErrorResponse
|
|
779
|
+
},
|
|
780
|
+
"/danger-token/request/delete-work/{service}/begin": {
|
|
781
|
+
method: "get"
|
|
782
|
+
body?: undefined
|
|
783
|
+
response: void | ErrorResponse
|
|
784
|
+
},
|
|
785
|
+
"/danger-token/request/delete-chapter/{service}/begin": {
|
|
786
|
+
method: "get"
|
|
787
|
+
body?: undefined
|
|
788
|
+
response: void | ErrorResponse
|
|
789
|
+
},
|
|
790
|
+
"/danger-token/request/remove-auth-service/{service}/begin": {
|
|
791
|
+
method: "get"
|
|
792
|
+
body?: undefined
|
|
793
|
+
response: void | ErrorResponse
|
|
794
|
+
},
|
|
795
|
+
"/danger-token/request/decrease-auth-service-count-required/{service}/begin": {
|
|
796
|
+
method: "get"
|
|
797
|
+
body?: undefined
|
|
798
|
+
response: void | ErrorResponse
|
|
799
|
+
},
|
|
800
|
+
"/danger_token/request/{service}/callback": {
|
|
801
|
+
method: "get"
|
|
802
|
+
body?: undefined
|
|
803
|
+
response: void | ErrorResponse
|
|
804
|
+
},
|
|
771
805
|
}
|
package/openapi.json
CHANGED
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
},
|
|
7
7
|
"components": {
|
|
8
8
|
"schemas": {
|
|
9
|
+
"HelloWorldResponse": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"text": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"text"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
9
20
|
"Session": {
|
|
10
21
|
"type": "object",
|
|
11
22
|
"properties": {
|
|
@@ -1918,26 +1929,20 @@
|
|
|
1918
1929
|
}
|
|
1919
1930
|
},
|
|
1920
1931
|
"paths": {
|
|
1921
|
-
"/
|
|
1932
|
+
"/test/hello": {
|
|
1922
1933
|
"get": {
|
|
1923
|
-
"
|
|
1924
|
-
"
|
|
1925
|
-
"
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
"schema": {
|
|
1929
|
-
"type": "object",
|
|
1930
|
-
"properties": {
|
|
1931
|
-
"data": {
|
|
1932
|
-
"$ref": "#/components/schemas/Session"
|
|
1933
|
-
}
|
|
1934
|
-
},
|
|
1935
|
-
"required": [
|
|
1936
|
-
"data"
|
|
1937
|
-
]
|
|
1938
|
-
}
|
|
1934
|
+
"requestBody": {
|
|
1935
|
+
"content": {
|
|
1936
|
+
"application/json": {
|
|
1937
|
+
"schema": {
|
|
1938
|
+
"$ref": "#/components/schemas/HelloWorldResponse"
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
"responses": {
|
|
1944
|
+
"200": {
|
|
1945
|
+
"description": "200 response"
|
|
1941
1946
|
},
|
|
1942
1947
|
"default": {
|
|
1943
1948
|
"description": "Error",
|
|
@@ -1952,8 +1957,8 @@
|
|
|
1952
1957
|
}
|
|
1953
1958
|
}
|
|
1954
1959
|
},
|
|
1955
|
-
"/
|
|
1956
|
-
"
|
|
1960
|
+
"/test/error": {
|
|
1961
|
+
"get": {
|
|
1957
1962
|
"responses": {
|
|
1958
1963
|
"200": {
|
|
1959
1964
|
"description": "200 response"
|
|
@@ -1971,11 +1976,26 @@
|
|
|
1971
1976
|
}
|
|
1972
1977
|
}
|
|
1973
1978
|
},
|
|
1974
|
-
"/
|
|
1979
|
+
"/session": {
|
|
1975
1980
|
"get": {
|
|
1976
1981
|
"responses": {
|
|
1977
1982
|
"200": {
|
|
1978
|
-
"description": "200 response"
|
|
1983
|
+
"description": "200 response",
|
|
1984
|
+
"content": {
|
|
1985
|
+
"application/json": {
|
|
1986
|
+
"schema": {
|
|
1987
|
+
"type": "object",
|
|
1988
|
+
"properties": {
|
|
1989
|
+
"data": {
|
|
1990
|
+
"$ref": "#/components/schemas/Session"
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
"required": [
|
|
1994
|
+
"data"
|
|
1995
|
+
]
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1979
1999
|
},
|
|
1980
2000
|
"default": {
|
|
1981
2001
|
"description": "Error",
|
|
@@ -1990,8 +2010,8 @@
|
|
|
1990
2010
|
}
|
|
1991
2011
|
}
|
|
1992
2012
|
},
|
|
1993
|
-
"/
|
|
1994
|
-
"
|
|
2013
|
+
"/session/reset": {
|
|
2014
|
+
"post": {
|
|
1995
2015
|
"responses": {
|
|
1996
2016
|
"200": {
|
|
1997
2017
|
"description": "200 response"
|
|
@@ -4976,6 +4996,174 @@
|
|
|
4976
4996
|
}
|
|
4977
4997
|
}
|
|
4978
4998
|
}
|
|
4999
|
+
},
|
|
5000
|
+
"/danger-token/request/delete-account/{service}/begin": {
|
|
5001
|
+
"parameters": [
|
|
5002
|
+
{
|
|
5003
|
+
"name": "service",
|
|
5004
|
+
"in": "path"
|
|
5005
|
+
}
|
|
5006
|
+
],
|
|
5007
|
+
"get": {
|
|
5008
|
+
"responses": {
|
|
5009
|
+
"200": {
|
|
5010
|
+
"description": "200 response"
|
|
5011
|
+
},
|
|
5012
|
+
"302": {
|
|
5013
|
+
"description": "302 response"
|
|
5014
|
+
},
|
|
5015
|
+
"default": {
|
|
5016
|
+
"description": "Error",
|
|
5017
|
+
"content": {
|
|
5018
|
+
"application/json": {
|
|
5019
|
+
"schema": {
|
|
5020
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5021
|
+
}
|
|
5022
|
+
}
|
|
5023
|
+
}
|
|
5024
|
+
}
|
|
5025
|
+
}
|
|
5026
|
+
}
|
|
5027
|
+
},
|
|
5028
|
+
"/danger-token/request/delete-work/{service}/begin": {
|
|
5029
|
+
"parameters": [
|
|
5030
|
+
{
|
|
5031
|
+
"name": "service",
|
|
5032
|
+
"in": "path"
|
|
5033
|
+
}
|
|
5034
|
+
],
|
|
5035
|
+
"get": {
|
|
5036
|
+
"responses": {
|
|
5037
|
+
"200": {
|
|
5038
|
+
"description": "200 response"
|
|
5039
|
+
},
|
|
5040
|
+
"302": {
|
|
5041
|
+
"description": "302 response"
|
|
5042
|
+
},
|
|
5043
|
+
"default": {
|
|
5044
|
+
"description": "Error",
|
|
5045
|
+
"content": {
|
|
5046
|
+
"application/json": {
|
|
5047
|
+
"schema": {
|
|
5048
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5049
|
+
}
|
|
5050
|
+
}
|
|
5051
|
+
}
|
|
5052
|
+
}
|
|
5053
|
+
}
|
|
5054
|
+
}
|
|
5055
|
+
},
|
|
5056
|
+
"/danger-token/request/delete-chapter/{service}/begin": {
|
|
5057
|
+
"parameters": [
|
|
5058
|
+
{
|
|
5059
|
+
"name": "service",
|
|
5060
|
+
"in": "path"
|
|
5061
|
+
}
|
|
5062
|
+
],
|
|
5063
|
+
"get": {
|
|
5064
|
+
"responses": {
|
|
5065
|
+
"200": {
|
|
5066
|
+
"description": "200 response"
|
|
5067
|
+
},
|
|
5068
|
+
"302": {
|
|
5069
|
+
"description": "302 response"
|
|
5070
|
+
},
|
|
5071
|
+
"default": {
|
|
5072
|
+
"description": "Error",
|
|
5073
|
+
"content": {
|
|
5074
|
+
"application/json": {
|
|
5075
|
+
"schema": {
|
|
5076
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5077
|
+
}
|
|
5078
|
+
}
|
|
5079
|
+
}
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
5082
|
+
}
|
|
5083
|
+
},
|
|
5084
|
+
"/danger-token/request/remove-auth-service/{service}/begin": {
|
|
5085
|
+
"parameters": [
|
|
5086
|
+
{
|
|
5087
|
+
"name": "service",
|
|
5088
|
+
"in": "path"
|
|
5089
|
+
}
|
|
5090
|
+
],
|
|
5091
|
+
"get": {
|
|
5092
|
+
"responses": {
|
|
5093
|
+
"200": {
|
|
5094
|
+
"description": "200 response"
|
|
5095
|
+
},
|
|
5096
|
+
"302": {
|
|
5097
|
+
"description": "302 response"
|
|
5098
|
+
},
|
|
5099
|
+
"default": {
|
|
5100
|
+
"description": "Error",
|
|
5101
|
+
"content": {
|
|
5102
|
+
"application/json": {
|
|
5103
|
+
"schema": {
|
|
5104
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5105
|
+
}
|
|
5106
|
+
}
|
|
5107
|
+
}
|
|
5108
|
+
}
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
},
|
|
5112
|
+
"/danger-token/request/decrease-auth-service-count-required/{service}/begin": {
|
|
5113
|
+
"parameters": [
|
|
5114
|
+
{
|
|
5115
|
+
"name": "service",
|
|
5116
|
+
"in": "path"
|
|
5117
|
+
}
|
|
5118
|
+
],
|
|
5119
|
+
"get": {
|
|
5120
|
+
"responses": {
|
|
5121
|
+
"200": {
|
|
5122
|
+
"description": "200 response"
|
|
5123
|
+
},
|
|
5124
|
+
"302": {
|
|
5125
|
+
"description": "302 response"
|
|
5126
|
+
},
|
|
5127
|
+
"default": {
|
|
5128
|
+
"description": "Error",
|
|
5129
|
+
"content": {
|
|
5130
|
+
"application/json": {
|
|
5131
|
+
"schema": {
|
|
5132
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5133
|
+
}
|
|
5134
|
+
}
|
|
5135
|
+
}
|
|
5136
|
+
}
|
|
5137
|
+
}
|
|
5138
|
+
}
|
|
5139
|
+
},
|
|
5140
|
+
"/danger_token/request/{service}/callback": {
|
|
5141
|
+
"parameters": [
|
|
5142
|
+
{
|
|
5143
|
+
"name": "service",
|
|
5144
|
+
"in": "path"
|
|
5145
|
+
}
|
|
5146
|
+
],
|
|
5147
|
+
"get": {
|
|
5148
|
+
"responses": {
|
|
5149
|
+
"200": {
|
|
5150
|
+
"description": "200 response"
|
|
5151
|
+
},
|
|
5152
|
+
"302": {
|
|
5153
|
+
"description": "302 response"
|
|
5154
|
+
},
|
|
5155
|
+
"default": {
|
|
5156
|
+
"description": "Error",
|
|
5157
|
+
"content": {
|
|
5158
|
+
"application/json": {
|
|
5159
|
+
"schema": {
|
|
5160
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
5161
|
+
}
|
|
5162
|
+
}
|
|
5163
|
+
}
|
|
5164
|
+
}
|
|
5165
|
+
}
|
|
5166
|
+
}
|
|
4979
5167
|
}
|
|
4980
5168
|
}
|
|
4981
5169
|
}
|
package/package.json
CHANGED