twitter-openapi-typescript-generated 0.0.3 → 0.0.5
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/.openapi-generator/FILES +0 -1
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +2 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +3 -0
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +3 -0
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +18 -0
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +27 -0
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +3 -0
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +6 -0
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +6 -0
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +6 -0
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +3 -0
- package/dist/apis/V20GetApi.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +4 -0
- package/src/apis/OtherApi.ts +4 -0
- package/src/apis/PostApi.ts +24 -0
- package/src/apis/TweetApi.ts +36 -0
- package/src/apis/UserApi.ts +4 -0
- package/src/apis/UserListApi.ts +8 -0
- package/src/apis/V11GetApi.ts +8 -0
- package/src/apis/V11PostApi.ts +8 -0
- package/src/apis/V20GetApi.ts +4 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/clean.ps1 +2 -2
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +7 -1
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +7 -1
- package/twitter-openapi/dist/test/openapi-3.0.yaml +7 -1
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +7 -1
- package/twitter-openapi/src/openapi/openapi-3.0.yaml +8 -1
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
|
@@ -31,10 +31,15 @@ components:
|
|
|
31
31
|
name: ct0
|
|
32
32
|
type: apiKey
|
|
33
33
|
CsrfToken:
|
|
34
|
-
description:
|
|
34
|
+
description: ''
|
|
35
35
|
in: header
|
|
36
36
|
name: x-csrf-token
|
|
37
37
|
type: apiKey
|
|
38
|
+
GuestToken:
|
|
39
|
+
description: document.cookie.split('; ').find(row => row.startsWith('gt='));
|
|
40
|
+
in: header
|
|
41
|
+
name: x-guest-token
|
|
42
|
+
type: apiKey
|
|
38
43
|
UserAgent:
|
|
39
44
|
description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
40
45
|
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
@@ -106,6 +111,7 @@ paths:
|
|
|
106
111
|
security:
|
|
107
112
|
- CsrfToken: []
|
|
108
113
|
- CookieCt0: []
|
|
114
|
+
- GuestToken: []
|
|
109
115
|
- CookieAuthToken: []
|
|
110
116
|
- AuthType: []
|
|
111
117
|
- UserAgent: []
|
|
@@ -22,7 +22,7 @@ components:
|
|
|
22
22
|
type: apiKey
|
|
23
23
|
in: header
|
|
24
24
|
name: x-csrf-token
|
|
25
|
-
description: "
|
|
25
|
+
description: ""
|
|
26
26
|
|
|
27
27
|
CookieCt0:
|
|
28
28
|
type: apiKey
|
|
@@ -30,6 +30,12 @@ components:
|
|
|
30
30
|
name: ct0
|
|
31
31
|
description: "document.cookie.split('; ').find(row => row.startsWith('ct0='));"
|
|
32
32
|
|
|
33
|
+
GuestToken:
|
|
34
|
+
type: apiKey
|
|
35
|
+
in: header
|
|
36
|
+
name: x-guest-token
|
|
37
|
+
description: "document.cookie.split('; ').find(row => row.startsWith('gt='));"
|
|
38
|
+
|
|
33
39
|
CookieAuthToken:
|
|
34
40
|
type: apiKey
|
|
35
41
|
in: cookie
|
|
@@ -45,6 +51,7 @@ components:
|
|
|
45
51
|
security:
|
|
46
52
|
- CsrfToken: []
|
|
47
53
|
- CookieCt0: []
|
|
54
|
+
- GuestToken: []
|
|
48
55
|
- CookieAuthToken: []
|
|
49
56
|
- AuthType: []
|
|
50
57
|
tags:
|
|
Binary file
|
|
Binary file
|