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.
Files changed (50) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +2 -1
  4. package/README.md +2 -2
  5. package/dist/apis/DefaultApi.d.ts.map +1 -1
  6. package/dist/apis/DefaultApi.js +3 -0
  7. package/dist/apis/DefaultApi.js.map +1 -1
  8. package/dist/apis/OtherApi.d.ts.map +1 -1
  9. package/dist/apis/OtherApi.js +3 -0
  10. package/dist/apis/OtherApi.js.map +1 -1
  11. package/dist/apis/PostApi.d.ts.map +1 -1
  12. package/dist/apis/PostApi.js +18 -0
  13. package/dist/apis/PostApi.js.map +1 -1
  14. package/dist/apis/TweetApi.d.ts.map +1 -1
  15. package/dist/apis/TweetApi.js +27 -0
  16. package/dist/apis/TweetApi.js.map +1 -1
  17. package/dist/apis/UserApi.d.ts.map +1 -1
  18. package/dist/apis/UserApi.js +3 -0
  19. package/dist/apis/UserApi.js.map +1 -1
  20. package/dist/apis/UserListApi.d.ts.map +1 -1
  21. package/dist/apis/UserListApi.js +6 -0
  22. package/dist/apis/UserListApi.js.map +1 -1
  23. package/dist/apis/V11GetApi.d.ts.map +1 -1
  24. package/dist/apis/V11GetApi.js +6 -0
  25. package/dist/apis/V11GetApi.js.map +1 -1
  26. package/dist/apis/V11PostApi.d.ts.map +1 -1
  27. package/dist/apis/V11PostApi.js +6 -0
  28. package/dist/apis/V11PostApi.js.map +1 -1
  29. package/dist/apis/V20GetApi.d.ts.map +1 -1
  30. package/dist/apis/V20GetApi.js +3 -0
  31. package/dist/apis/V20GetApi.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/apis/DefaultApi.ts +4 -0
  34. package/src/apis/OtherApi.ts +4 -0
  35. package/src/apis/PostApi.ts +24 -0
  36. package/src/apis/TweetApi.ts +36 -0
  37. package/src/apis/UserApi.ts +4 -0
  38. package/src/apis/UserListApi.ts +8 -0
  39. package/src/apis/V11GetApi.ts +8 -0
  40. package/src/apis/V11PostApi.ts +8 -0
  41. package/src/apis/V20GetApi.ts +4 -0
  42. package/tools/openapi-generator-config.yaml +1 -1
  43. package/tools/win/clean.ps1 +2 -2
  44. package/twitter-openapi/dist/dart/openapi-3.0.yaml +7 -1
  45. package/twitter-openapi/dist/docs/openapi-3.0.yaml +7 -1
  46. package/twitter-openapi/dist/test/openapi-3.0.yaml +7 -1
  47. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +7 -1
  48. package/twitter-openapi/src/openapi/openapi-3.0.yaml +8 -1
  49. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  50. 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: document.cookie.split('; ').find(row => row.startsWith('ct0='));
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: "document.cookie.split('; ').find(row => row.startsWith('ct0='));"
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: