twitter-openapi-typescript-generated 0.0.11 → 0.0.12
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 +5 -0
- package/LICENSE +31 -31
- package/LICENSE.AGPL +660 -660
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +86 -18
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +43 -9
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +264 -60
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +1 -2
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +479 -111
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -0
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +92 -18
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +0 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +215 -51
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +43 -9
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +86 -18
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +72 -6
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +43 -9
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/CoverCta.d.ts +1 -1
- package/dist/models/CoverCta.d.ts.map +1 -1
- package/dist/models/CoverCta.js +1 -2
- package/dist/models/CoverCta.js.map +1 -1
- package/dist/models/DeleteRetweet.d.ts +33 -0
- package/dist/models/DeleteRetweet.d.ts.map +1 -0
- package/dist/models/DeleteRetweet.js +52 -0
- package/dist/models/DeleteRetweet.js.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts +33 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.js +52 -0
- package/dist/models/DeleteRetweetResponseResult.js.map +1 -0
- package/dist/models/ErrorResponse.d.ts +33 -0
- package/dist/models/ErrorResponse.d.ts.map +1 -0
- package/dist/models/ErrorResponse.js +52 -0
- package/dist/models/ErrorResponse.js.map +1 -0
- package/dist/models/Extensions.d.ts +57 -0
- package/dist/models/Extensions.d.ts.map +1 -0
- package/dist/models/Extensions.js +64 -0
- package/dist/models/Extensions.js.map +1 -0
- package/dist/models/ListTweetsTimeline.d.ts +1 -1
- package/dist/models/ListTweetsTimeline.d.ts.map +1 -1
- package/dist/models/ListTweetsTimeline.js +2 -2
- package/dist/models/ListTweetsTimeline.js.map +1 -1
- package/dist/models/MediaExtended.d.ts +1 -1
- package/dist/models/MediaExtended.d.ts.map +1 -1
- package/dist/models/MediaExtended.js +1 -2
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +9 -15
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +9 -12
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +38 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +54 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -0
- package/dist/models/UserResults.d.ts +1 -1
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +2 -2
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +5 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +94 -6
- package/src/apis/OtherApi.ts +47 -3
- package/src/apis/PostApi.ts +282 -18
- package/src/apis/TweetApi.ts +526 -51
- package/src/apis/UserApi.ts +103 -6
- package/src/apis/UserListApi.ts +235 -24
- package/src/apis/UsersApi.ts +47 -3
- package/src/apis/V11GetApi.ts +94 -6
- package/src/apis/V11PostApi.ts +94 -6
- package/src/apis/V20GetApi.ts +47 -3
- package/src/models/CoverCta.ts +2 -3
- package/src/models/DeleteRetweet.ts +73 -0
- package/src/models/DeleteRetweetResponseResult.ts +72 -0
- package/src/models/ErrorResponse.ts +73 -0
- package/src/models/Extensions.ts +109 -0
- package/src/models/ListTweetsTimeline.ts +2 -3
- package/src/models/MediaExtended.ts +2 -3
- package/src/models/PostCreateTweetRequestFeatures.ts +18 -27
- package/src/models/PostCreateTweetRequestVariablesMedia.ts +11 -4
- package/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.ts +75 -0
- package/src/models/UserResults.ts +2 -3
- package/src/models/index.ts +5 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/twitter-openapi/.vscode/launch.json +8 -0
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +5017 -34
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +6815 -34
- package/twitter-openapi/src/config/component/security_schemes.yaml +148 -0
- package/twitter-openapi/src/config/placeholder.json +145 -112
- package/twitter-openapi/src/openapi/paths/timeline.yaml +0 -2
- package/twitter-openapi/src/openapi/schemas/content.yaml +0 -1
- package/twitter-openapi/src/openapi/schemas/general.yaml +2 -2
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +0 -1
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +1 -1
- package/twitter-openapi/src/openapi/schemas/user.yaml +0 -2
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build.py +35 -31
- package/twitter-openapi/tools/build_config.py +7 -10
- package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +0 -107
- package/twitter-openapi/dist/compatible/paths/follow.yaml +0 -301
- package/twitter-openapi/dist/compatible/paths/other.yaml +0 -99
- package/twitter-openapi/dist/compatible/paths/post.yaml +0 -714
- package/twitter-openapi/dist/compatible/paths/profile.yaml +0 -126
- package/twitter-openapi/dist/compatible/paths/timeline.yaml +0 -416
- package/twitter-openapi/dist/compatible/paths/tweet.yaml +0 -397
- package/twitter-openapi/dist/compatible/paths/user.yaml +0 -233
- package/twitter-openapi/dist/compatible/paths/usertweets.yaml +0 -504
- package/twitter-openapi/dist/compatible/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/compatible/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/compatible/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/compatible/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/compatible/response/error.yaml +0 -90
- package/twitter-openapi/dist/compatible/schemas/content.yaml +0 -214
- package/twitter-openapi/dist/compatible/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/compatible/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/compatible/schemas/instruction.yaml +0 -286
- package/twitter-openapi/dist/compatible/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/compatible/schemas/tweet.yaml +0 -508
- package/twitter-openapi/dist/compatible/schemas/typename.yaml +0 -23
- package/twitter-openapi/dist/compatible/schemas/user.yaml +0 -222
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -201
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -587
- package/twitter-openapi/dist/docs/paths/other.yaml +0 -99
- package/twitter-openapi/dist/docs/paths/post.yaml +0 -692
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -134
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -811
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -797
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -338
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1046
- package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/docs/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/docs/response/error.yaml +0 -90
- package/twitter-openapi/dist/docs/schemas/content.yaml +0 -214
- package/twitter-openapi/dist/docs/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -286
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -508
- package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -23
- package/twitter-openapi/dist/docs/schemas/user.yaml +0 -222
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
CommunitiesActions:
|
|
4
|
-
properties:
|
|
5
|
-
create:
|
|
6
|
-
type: boolean
|
|
7
|
-
required:
|
|
8
|
-
- create
|
|
9
|
-
type: object
|
|
10
|
-
OneFactorLoginEligibility:
|
|
11
|
-
properties:
|
|
12
|
-
fetchStatus:
|
|
13
|
-
type: string
|
|
14
|
-
required:
|
|
15
|
-
- fetchStatus
|
|
16
|
-
type: object
|
|
17
|
-
OtherResponse:
|
|
18
|
-
properties:
|
|
19
|
-
Session:
|
|
20
|
-
$ref: '#/components/schemas/Session'
|
|
21
|
-
type: object
|
|
22
|
-
Session:
|
|
23
|
-
properties:
|
|
24
|
-
SsoInitTokens:
|
|
25
|
-
type: object
|
|
26
|
-
communitiesActions:
|
|
27
|
-
$ref: '#/components/schemas/CommunitiesActions'
|
|
28
|
-
country:
|
|
29
|
-
pattern: ^[A-Z]{2}$
|
|
30
|
-
type: string
|
|
31
|
-
guestId:
|
|
32
|
-
pattern: ^[0-9]+$
|
|
33
|
-
type: string
|
|
34
|
-
hasCommunityMemberships:
|
|
35
|
-
type: boolean
|
|
36
|
-
isActiveCreator:
|
|
37
|
-
type: boolean
|
|
38
|
-
isRestrictedSession:
|
|
39
|
-
type: boolean
|
|
40
|
-
isSuperFollowSubscriber:
|
|
41
|
-
type: boolean
|
|
42
|
-
language:
|
|
43
|
-
pattern: ^[a-z]{2}$
|
|
44
|
-
type: string
|
|
45
|
-
oneFactorLoginEligibility:
|
|
46
|
-
$ref: '#/components/schemas/OneFactorLoginEligibility'
|
|
47
|
-
superFollowersCount:
|
|
48
|
-
type: integer
|
|
49
|
-
superFollowsApplicationStatus:
|
|
50
|
-
enum:
|
|
51
|
-
- NotStarted
|
|
52
|
-
type: string
|
|
53
|
-
userFeatures:
|
|
54
|
-
$ref: '#/components/schemas/UserFeatures'
|
|
55
|
-
user_id:
|
|
56
|
-
pattern: ^[0-9]+$
|
|
57
|
-
type: string
|
|
58
|
-
required:
|
|
59
|
-
- country
|
|
60
|
-
- communitiesActions
|
|
61
|
-
- isActiveCreator
|
|
62
|
-
- isRestrictedSession
|
|
63
|
-
- guestId
|
|
64
|
-
- hasCommunityMemberships
|
|
65
|
-
- language
|
|
66
|
-
- oneFactorLoginEligibility
|
|
67
|
-
- ssoInitTokens
|
|
68
|
-
- superFollowersCount
|
|
69
|
-
- superFollowsApplicationStatus
|
|
70
|
-
- user_id
|
|
71
|
-
- userFeatures
|
|
72
|
-
- isSuperFollowSubscriber
|
|
73
|
-
type: object
|
|
74
|
-
UserFeatures:
|
|
75
|
-
properties:
|
|
76
|
-
mediatool_studio_library:
|
|
77
|
-
type: boolean
|
|
78
|
-
required:
|
|
79
|
-
- mediatool_studio_library
|
|
80
|
-
type: object
|
|
81
|
-
info:
|
|
82
|
-
title: Twitter OpenAPI
|
|
83
|
-
version: 0.0.1
|
|
84
|
-
openapi: 3.0.3
|
|
85
|
-
paths:
|
|
86
|
-
/other:
|
|
87
|
-
get:
|
|
88
|
-
description: This is not an actual endpoint
|
|
89
|
-
operationId: other
|
|
90
|
-
responses:
|
|
91
|
-
'200':
|
|
92
|
-
content:
|
|
93
|
-
application/json:
|
|
94
|
-
schema:
|
|
95
|
-
oneOf:
|
|
96
|
-
- $ref: '#/components/schemas/OtherResponse'
|
|
97
|
-
description: Successful operation
|
|
98
|
-
tags:
|
|
99
|
-
- other
|