twitter-openapi-typescript-generated 0.0.16 → 0.0.18
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 +59 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +5 -4
- package/dist/apis/DefaultApi.js +302 -134
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.js +151 -67
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.js +912 -408
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.js +1661 -737
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.js +302 -134
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.js +755 -335
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.js +151 -67
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.js +302 -134
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.js +292 -122
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.js +151 -67
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/AdditionalMediaInfo.d.ts +32 -0
- package/dist/models/AdditionalMediaInfo.d.ts.map +1 -1
- package/dist/models/AdditionalMediaInfo.js +13 -0
- package/dist/models/AdditionalMediaInfo.js.map +1 -1
- package/dist/models/AdditionalMediaInfoCallToActions.d.ts +39 -0
- package/dist/models/AdditionalMediaInfoCallToActions.d.ts.map +1 -0
- package/dist/models/AdditionalMediaInfoCallToActions.js +54 -0
- package/dist/models/AdditionalMediaInfoCallToActions.js.map +1 -0
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.d.ts +32 -0
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.d.ts.map +1 -0
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.js +51 -0
- package/dist/models/AdditionalMediaInfoCallToActionsUrl.js.map +1 -0
- package/dist/models/AuthorCommunityRelationship.d.ts +53 -0
- package/dist/models/AuthorCommunityRelationship.d.ts.map +1 -0
- package/dist/models/AuthorCommunityRelationship.js +64 -0
- package/dist/models/AuthorCommunityRelationship.js.map +1 -0
- package/dist/models/BirdwatchEntityRef.d.ts +9 -2
- package/dist/models/BirdwatchEntityRef.d.ts.map +1 -1
- package/dist/models/BirdwatchEntityRef.js +7 -5
- package/dist/models/BirdwatchEntityRef.js.map +1 -1
- package/dist/models/BirdwatchPivot.d.ts +7 -0
- package/dist/models/BirdwatchPivot.d.ts.map +1 -1
- package/dist/models/BirdwatchPivot.js +3 -0
- package/dist/models/BirdwatchPivot.js.map +1 -1
- package/dist/models/BirdwatchPivotCallToAction.d.ts +44 -0
- package/dist/models/BirdwatchPivotCallToAction.d.ts.map +1 -0
- package/dist/models/BirdwatchPivotCallToAction.js +57 -0
- package/dist/models/BirdwatchPivotCallToAction.js.map +1 -0
- package/dist/models/Community.d.ts +33 -0
- package/dist/models/Community.d.ts.map +1 -0
- package/dist/models/Community.js +52 -0
- package/dist/models/Community.js.map +1 -0
- package/dist/models/CommunityActions.d.ts +54 -0
- package/dist/models/CommunityActions.d.ts.map +1 -0
- package/dist/models/CommunityActions.js +64 -0
- package/dist/models/CommunityActions.js.map +1 -0
- package/dist/models/CommunityData.d.ts +217 -0
- package/dist/models/CommunityData.d.ts.map +1 -0
- package/dist/models/CommunityData.js +145 -0
- package/dist/models/CommunityData.js.map +1 -0
- package/dist/models/CommunityDeleteActionResult.d.ts +46 -0
- package/dist/models/CommunityDeleteActionResult.d.ts.map +1 -0
- package/dist/models/CommunityDeleteActionResult.js +61 -0
- package/dist/models/CommunityDeleteActionResult.js.map +1 -0
- package/dist/models/CommunityInvitesResult.d.ts +52 -0
- package/dist/models/CommunityInvitesResult.d.ts.map +1 -0
- package/dist/models/CommunityInvitesResult.js +64 -0
- package/dist/models/CommunityInvitesResult.js.map +1 -0
- package/dist/models/CommunityJoinActionResult.d.ts +33 -0
- package/dist/models/CommunityJoinActionResult.d.ts.map +1 -0
- package/dist/models/CommunityJoinActionResult.js +52 -0
- package/dist/models/CommunityJoinActionResult.js.map +1 -0
- package/dist/models/CommunityJoinRequestsResult.d.ts +33 -0
- package/dist/models/CommunityJoinRequestsResult.d.ts.map +1 -0
- package/dist/models/CommunityJoinRequestsResult.js +52 -0
- package/dist/models/CommunityJoinRequestsResult.js.map +1 -0
- package/dist/models/CommunityLeaveActionResult.d.ts +52 -0
- package/dist/models/CommunityLeaveActionResult.d.ts.map +1 -0
- package/dist/models/CommunityLeaveActionResult.js +64 -0
- package/dist/models/CommunityLeaveActionResult.js.map +1 -0
- package/dist/models/CommunityPinActionResult.d.ts +33 -0
- package/dist/models/CommunityPinActionResult.d.ts.map +1 -0
- package/dist/models/CommunityPinActionResult.js +52 -0
- package/dist/models/CommunityPinActionResult.js.map +1 -0
- package/dist/models/CommunityRule.d.ts +44 -0
- package/dist/models/CommunityRule.d.ts.map +1 -0
- package/dist/models/CommunityRule.js +57 -0
- package/dist/models/CommunityRule.js.map +1 -0
- package/dist/models/CommunityUrls.d.ts +33 -0
- package/dist/models/CommunityUrls.d.ts.map +1 -0
- package/dist/models/CommunityUrls.js +52 -0
- package/dist/models/CommunityUrls.js.map +1 -0
- package/dist/models/CommunityUrlsPermalink.d.ts +32 -0
- package/dist/models/CommunityUrlsPermalink.d.ts.map +1 -0
- package/dist/models/CommunityUrlsPermalink.js +51 -0
- package/dist/models/CommunityUrlsPermalink.js.map +1 -0
- package/dist/models/DisplayTreatment.d.ts +32 -0
- package/dist/models/DisplayTreatment.d.ts.map +1 -0
- package/dist/models/DisplayTreatment.js +51 -0
- package/dist/models/DisplayTreatment.js.map +1 -0
- package/dist/models/DisplayType.d.ts +26 -0
- package/dist/models/DisplayType.d.ts.map +1 -0
- package/dist/models/DisplayType.js +39 -0
- package/dist/models/DisplayType.js.map +1 -0
- package/dist/models/Entities.d.ts +7 -0
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/Entities.js +3 -0
- package/dist/models/Entities.js.map +1 -1
- package/dist/models/FeedbackInfo.d.ts +32 -0
- package/dist/models/FeedbackInfo.d.ts.map +1 -0
- package/dist/models/FeedbackInfo.js +51 -0
- package/dist/models/FeedbackInfo.js.map +1 -0
- package/dist/models/Highlight.d.ts +33 -0
- package/dist/models/Highlight.d.ts.map +1 -0
- package/dist/models/Highlight.js +52 -0
- package/dist/models/Highlight.js.map +1 -0
- package/dist/models/Media.d.ts +54 -0
- package/dist/models/Media.d.ts.map +1 -1
- package/dist/models/Media.js +20 -0
- package/dist/models/Media.js.map +1 -1
- package/dist/models/MediaExtended.d.ts +25 -0
- package/dist/models/MediaExtended.d.ts.map +1 -1
- package/dist/models/MediaExtended.js +9 -0
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/ModuleEntry.d.ts +8 -1
- package/dist/models/ModuleEntry.d.ts.map +1 -1
- package/dist/models/ModuleEntry.js +5 -2
- package/dist/models/ModuleEntry.js.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +12 -0
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +6 -0
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PrimaryCommunityTopic.d.ts +38 -0
- package/dist/models/PrimaryCommunityTopic.d.ts.map +1 -0
- package/dist/models/PrimaryCommunityTopic.js +54 -0
- package/dist/models/PrimaryCommunityTopic.js.map +1 -0
- package/dist/models/QuotedRefResult.d.ts +33 -0
- package/dist/models/QuotedRefResult.d.ts.map +1 -0
- package/dist/models/QuotedRefResult.js +52 -0
- package/dist/models/QuotedRefResult.js.map +1 -0
- package/dist/models/QuotedStatusPermalink.d.ts +44 -0
- package/dist/models/QuotedStatusPermalink.d.ts.map +1 -0
- package/dist/models/QuotedStatusPermalink.js +57 -0
- package/dist/models/QuotedStatusPermalink.js.map +1 -0
- package/dist/models/SensitiveMediaWarning.d.ts +44 -0
- package/dist/models/SensitiveMediaWarning.d.ts.map +1 -0
- package/dist/models/SensitiveMediaWarning.js +57 -0
- package/dist/models/SensitiveMediaWarning.js.map +1 -0
- package/dist/models/SocialContextLandingUrl.d.ts +54 -0
- package/dist/models/SocialContextLandingUrl.d.ts.map +1 -0
- package/dist/models/SocialContextLandingUrl.js +64 -0
- package/dist/models/SocialContextLandingUrl.js.map +1 -0
- package/dist/models/SocialContextUnion.d.ts +27 -0
- package/dist/models/SocialContextUnion.d.ts.map +1 -0
- package/dist/models/SocialContextUnion.js +65 -0
- package/dist/models/SocialContextUnion.js.map +1 -0
- package/dist/models/SocialContextUnionType.d.ts +24 -0
- package/dist/models/SocialContextUnionType.d.ts.map +1 -0
- package/dist/models/SocialContextUnionType.js +37 -0
- package/dist/models/SocialContextUnionType.js.map +1 -0
- package/dist/models/SuperFollowsReplyUserResult.d.ts +33 -0
- package/dist/models/SuperFollowsReplyUserResult.d.ts.map +1 -0
- package/dist/models/SuperFollowsReplyUserResult.js +52 -0
- package/dist/models/SuperFollowsReplyUserResult.js.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultData.d.ts +40 -0
- package/dist/models/SuperFollowsReplyUserResultData.d.ts.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultData.js +56 -0
- package/dist/models/SuperFollowsReplyUserResultData.js.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultLegacy.d.ts +32 -0
- package/dist/models/SuperFollowsReplyUserResultLegacy.d.ts.map +1 -0
- package/dist/models/SuperFollowsReplyUserResultLegacy.js +51 -0
- package/dist/models/SuperFollowsReplyUserResultLegacy.js.map +1 -0
- package/dist/models/TextHighlight.d.ts +38 -0
- package/dist/models/TextHighlight.d.ts.map +1 -0
- package/dist/models/TextHighlight.js +54 -0
- package/dist/models/TextHighlight.js.map +1 -0
- package/dist/models/TimelineGeneralContext.d.ts +65 -0
- package/dist/models/TimelineGeneralContext.d.ts.map +1 -0
- package/dist/models/TimelineGeneralContext.js +71 -0
- package/dist/models/TimelineGeneralContext.js.map +1 -0
- package/dist/models/TimelineTimelineCursor.d.ts +13 -0
- package/dist/models/TimelineTimelineCursor.d.ts.map +1 -1
- package/dist/models/TimelineTimelineCursor.js +6 -0
- package/dist/models/TimelineTimelineCursor.js.map +1 -1
- package/dist/models/TimelineTimelineModule.d.ts +18 -11
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
- package/dist/models/TimelineTimelineModule.js +9 -11
- package/dist/models/TimelineTimelineModule.js.map +1 -1
- package/dist/models/TimelineTopicContext.d.ts +53 -0
- package/dist/models/TimelineTopicContext.d.ts.map +1 -0
- package/dist/models/TimelineTopicContext.js +63 -0
- package/dist/models/TimelineTopicContext.js.map +1 -0
- package/dist/models/TimelineTweet.d.ts +12 -5
- package/dist/models/TimelineTweet.d.ts.map +1 -1
- package/dist/models/TimelineTweet.js +6 -3
- package/dist/models/TimelineTweet.js.map +1 -1
- package/dist/models/TimelineUser.d.ts +7 -7
- package/dist/models/TimelineUser.d.ts.map +1 -1
- package/dist/models/TimelineUser.js +3 -3
- package/dist/models/TimelineUser.js.map +1 -1
- package/dist/models/Timestamp.d.ts +44 -0
- package/dist/models/Timestamp.d.ts.map +1 -0
- package/dist/models/Timestamp.js +57 -0
- package/dist/models/Timestamp.js.map +1 -0
- package/dist/models/TopicContext.d.ts +68 -0
- package/dist/models/TopicContext.d.ts.map +1 -0
- package/dist/models/TopicContext.js +63 -0
- package/dist/models/TopicContext.js.map +1 -0
- package/dist/models/Tweet.d.ts +44 -3
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +20 -6
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetCardLegacy.d.ts +14 -0
- package/dist/models/TweetCardLegacy.d.ts.map +1 -1
- package/dist/models/TweetCardLegacy.js +7 -0
- package/dist/models/TweetCardLegacy.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueData.d.ts +22 -0
- package/dist/models/TweetCardLegacyBindingValueData.d.ts.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueData.js +8 -0
- package/dist/models/TweetCardLegacyBindingValueData.js.map +1 -1
- package/dist/models/TweetCardLegacyBindingValueDataImage.d.ts +50 -0
- package/dist/models/TweetCardLegacyBindingValueDataImage.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValueDataImage.js +60 -0
- package/dist/models/TweetCardLegacyBindingValueDataImage.js.map +1 -0
- package/dist/models/TweetCardPlatform.d.ts +40 -0
- package/dist/models/TweetCardPlatform.d.ts.map +1 -0
- package/dist/models/TweetCardPlatform.js +56 -0
- package/dist/models/TweetCardPlatform.js.map +1 -0
- package/dist/models/TweetCardPlatformAudience.d.ts +39 -0
- package/dist/models/TweetCardPlatformAudience.d.ts.map +1 -0
- package/dist/models/TweetCardPlatformAudience.js +57 -0
- package/dist/models/TweetCardPlatformAudience.js.map +1 -0
- package/dist/models/TweetCardPlatformData.d.ts +33 -0
- package/dist/models/TweetCardPlatformData.d.ts.map +1 -0
- package/dist/models/TweetCardPlatformData.js +52 -0
- package/dist/models/TweetCardPlatformData.js.map +1 -0
- package/dist/models/TweetCardPlatformDevice.d.ts +38 -0
- package/dist/models/TweetCardPlatformDevice.d.ts.map +1 -0
- package/dist/models/TweetCardPlatformDevice.js +54 -0
- package/dist/models/TweetCardPlatformDevice.js.map +1 -0
- package/dist/models/TweetInterstitial.d.ts +60 -0
- package/dist/models/TweetInterstitial.d.ts.map +1 -0
- package/dist/models/TweetInterstitial.js +69 -0
- package/dist/models/TweetInterstitial.js.map +1 -0
- package/dist/models/TweetInterstitialRevealText.d.ts +45 -0
- package/dist/models/TweetInterstitialRevealText.d.ts.map +1 -0
- package/dist/models/TweetInterstitialRevealText.js +58 -0
- package/dist/models/TweetInterstitialRevealText.js.map +1 -0
- package/dist/models/TweetInterstitialText.d.ts +45 -0
- package/dist/models/TweetInterstitialText.d.ts.map +1 -0
- package/dist/models/TweetInterstitialText.js +58 -0
- package/dist/models/TweetInterstitialText.js.map +1 -0
- package/dist/models/TweetInterstitialTextEntity.d.ts +45 -0
- package/dist/models/TweetInterstitialTextEntity.d.ts.map +1 -0
- package/dist/models/TweetInterstitialTextEntity.js +58 -0
- package/dist/models/TweetInterstitialTextEntity.js.map +1 -0
- package/dist/models/TweetInterstitialTextEntityRef.d.ts +58 -0
- package/dist/models/TweetInterstitialTextEntityRef.d.ts.map +1 -0
- package/dist/models/TweetInterstitialTextEntityRef.js +69 -0
- package/dist/models/TweetInterstitialTextEntityRef.js.map +1 -0
- package/dist/models/TweetLegacy.d.ts +72 -0
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +32 -1
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetLegacyScopes.d.ts +32 -0
- package/dist/models/TweetLegacyScopes.d.ts.map +1 -0
- package/dist/models/TweetLegacyScopes.js +51 -0
- package/dist/models/TweetLegacyScopes.js.map +1 -0
- package/dist/models/TweetPreviousCounts.d.ts +56 -0
- package/dist/models/TweetPreviousCounts.d.ts.map +1 -0
- package/dist/models/TweetPreviousCounts.js +63 -0
- package/dist/models/TweetPreviousCounts.js.map +1 -0
- package/dist/models/TweetView.d.ts +1 -0
- package/dist/models/TweetView.d.ts.map +1 -1
- package/dist/models/TweetView.js +1 -0
- package/dist/models/TweetView.js.map +1 -1
- package/dist/models/TweetWithVisibilityResults.d.ts +15 -0
- package/dist/models/TweetWithVisibilityResults.d.ts.map +1 -1
- package/dist/models/TweetWithVisibilityResults.js +6 -0
- package/dist/models/TweetWithVisibilityResults.js.map +1 -1
- package/dist/models/TypeName.d.ts +8 -0
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +9 -1
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/UnifiedCard.d.ts +39 -0
- package/dist/models/UnifiedCard.d.ts.map +1 -0
- package/dist/models/UnifiedCard.js +57 -0
- package/dist/models/UnifiedCard.js.map +1 -0
- package/dist/models/UrtEndpointOptions.d.ts +39 -0
- package/dist/models/UrtEndpointOptions.d.ts.map +1 -0
- package/dist/models/UrtEndpointOptions.js +55 -0
- package/dist/models/UrtEndpointOptions.js.map +1 -0
- package/dist/models/UrtEndpointRequestParams.d.ts +38 -0
- package/dist/models/UrtEndpointRequestParams.d.ts.map +1 -0
- package/dist/models/UrtEndpointRequestParams.js +54 -0
- package/dist/models/UrtEndpointRequestParams.js.map +1 -0
- package/dist/models/User.d.ts +54 -0
- package/dist/models/User.d.ts.map +1 -1
- package/dist/models/User.js +27 -1
- package/dist/models/User.js.map +1 -1
- package/dist/models/UserHighlightsInfo.d.ts +38 -0
- package/dist/models/UserHighlightsInfo.d.ts.map +1 -0
- package/dist/models/UserHighlightsInfo.js +54 -0
- package/dist/models/UserHighlightsInfo.js.map +1 -0
- package/dist/models/UserLegacy.d.ts +20 -0
- package/dist/models/UserLegacy.d.ts.map +1 -1
- package/dist/models/UserLegacy.js +12 -1
- package/dist/models/UserLegacy.js.map +1 -1
- package/dist/models/UserProfessional.d.ts +53 -0
- package/dist/models/UserProfessional.d.ts.map +1 -0
- package/dist/models/UserProfessional.js +65 -0
- package/dist/models/UserProfessional.js.map +1 -0
- package/dist/models/UserProfessionalCategory.d.ts +44 -0
- package/dist/models/UserProfessionalCategory.d.ts.map +1 -0
- package/dist/models/UserProfessionalCategory.js +57 -0
- package/dist/models/UserProfessionalCategory.js.map +1 -0
- package/dist/models/UserUnavailable.d.ts +6 -0
- package/dist/models/UserUnavailable.d.ts.map +1 -1
- package/dist/models/UserUnavailable.js +3 -0
- package/dist/models/UserUnavailable.js.map +1 -1
- package/dist/models/UserValue.d.ts +32 -0
- package/dist/models/UserValue.d.ts.map +1 -0
- package/dist/models/UserValue.js +51 -0
- package/dist/models/UserValue.js.map +1 -0
- package/dist/models/UserVerificationInfo.d.ts +39 -0
- package/dist/models/UserVerificationInfo.d.ts.map +1 -0
- package/dist/models/UserVerificationInfo.js +55 -0
- package/dist/models/UserVerificationInfo.js.map +1 -0
- package/dist/models/UserVerificationInfoReason.d.ts +45 -0
- package/dist/models/UserVerificationInfoReason.d.ts.map +1 -0
- package/dist/models/UserVerificationInfoReason.js +58 -0
- package/dist/models/UserVerificationInfoReason.js.map +1 -0
- package/dist/models/UserVerificationInfoReasonDescription.d.ts +39 -0
- package/dist/models/UserVerificationInfoReasonDescription.d.ts.map +1 -0
- package/dist/models/UserVerificationInfoReasonDescription.js +55 -0
- package/dist/models/UserVerificationInfoReasonDescription.js.map +1 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.d.ts +45 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.d.ts.map +1 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.js +58 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntities.js.map +1 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts +45 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.d.ts.map +1 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js +60 -0
- package/dist/models/UserVerificationInfoReasonDescriptionEntitiesRef.js.map +1 -0
- package/dist/models/index.d.ts +59 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +59 -1
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +34 -34
- package/src/apis/OtherApi.ts +17 -17
- package/src/apis/PostApi.ts +102 -102
- package/src/apis/TweetApi.ts +187 -187
- package/src/apis/UserApi.ts +34 -34
- package/src/apis/UserListApi.ts +85 -85
- package/src/apis/UsersApi.ts +17 -17
- package/src/apis/V11GetApi.ts +34 -34
- package/src/apis/V11PostApi.ts +34 -34
- package/src/apis/V20GetApi.ts +17 -17
- package/src/models/AdditionalMediaInfo.ts +53 -0
- package/src/models/AdditionalMediaInfoCallToActions.ts +80 -0
- package/src/models/AdditionalMediaInfoCallToActionsUrl.ts +66 -0
- package/src/models/AuthorCommunityRelationship.ts +105 -0
- package/src/models/BirdwatchEntityRef.ts +14 -7
- package/src/models/BirdwatchPivot.ts +14 -0
- package/src/models/BirdwatchPivotCallToAction.ts +84 -0
- package/src/models/Community.ts +73 -0
- package/src/models/CommunityActions.ts +118 -0
- package/src/models/CommunityData.ts +358 -0
- package/src/models/CommunityDeleteActionResult.ts +92 -0
- package/src/models/CommunityInvitesResult.ts +101 -0
- package/src/models/CommunityJoinActionResult.ts +73 -0
- package/src/models/CommunityJoinRequestsResult.ts +73 -0
- package/src/models/CommunityLeaveActionResult.ts +101 -0
- package/src/models/CommunityPinActionResult.ts +73 -0
- package/src/models/CommunityRule.ts +83 -0
- package/src/models/CommunityUrls.ts +73 -0
- package/src/models/CommunityUrlsPermalink.ts +66 -0
- package/src/models/DisplayTreatment.ts +66 -0
- package/src/models/DisplayType.ts +40 -0
- package/src/models/Entities.ts +14 -0
- package/src/models/FeedbackInfo.ts +65 -0
- package/src/models/Highlight.ts +73 -0
- package/src/models/Media.ts +78 -0
- package/src/models/MediaExtended.ts +38 -0
- package/src/models/ModuleEntry.ts +16 -3
- package/src/models/PostCreateTweetRequestFeatures.ts +18 -0
- package/src/models/PrimaryCommunityTopic.ts +75 -0
- package/src/models/QuotedRefResult.ts +72 -0
- package/src/models/QuotedStatusPermalink.ts +84 -0
- package/src/models/SensitiveMediaWarning.ts +84 -0
- package/src/models/SocialContextLandingUrl.ts +100 -0
- package/src/models/SocialContextUnion.ts +72 -0
- package/src/models/SocialContextUnionType.ts +38 -0
- package/src/models/SuperFollowsReplyUserResult.ts +73 -0
- package/src/models/SuperFollowsReplyUserResultData.ts +88 -0
- package/src/models/SuperFollowsReplyUserResultLegacy.ts +66 -0
- package/src/models/TextHighlight.ts +75 -0
- package/src/models/TimelineGeneralContext.ts +118 -0
- package/src/models/TimelineTimelineCursor.ts +23 -0
- package/src/models/TimelineTimelineModule.ts +32 -16
- package/src/models/TimelineTopicContext.ts +104 -0
- package/src/models/TimelineTweet.ts +25 -11
- package/src/models/TimelineUser.ts +13 -13
- package/src/models/Timestamp.ts +84 -0
- package/src/models/TopicContext.ts +113 -0
- package/src/models/Tweet.ts +84 -9
- package/src/models/TweetCardLegacy.ts +28 -0
- package/src/models/TweetCardLegacyBindingValueData.ts +37 -0
- package/src/models/TweetCardLegacyBindingValueDataImage.ts +92 -0
- package/src/models/TweetCardPlatform.ts +88 -0
- package/src/models/TweetCardPlatformAudience.ts +76 -0
- package/src/models/TweetCardPlatformData.ts +73 -0
- package/src/models/TweetCardPlatformDevice.ts +75 -0
- package/src/models/TweetInterstitial.ts +122 -0
- package/src/models/TweetInterstitialRevealText.ts +91 -0
- package/src/models/TweetInterstitialText.ts +91 -0
- package/src/models/TweetInterstitialTextEntity.ts +91 -0
- package/src/models/TweetInterstitialTextEntityRef.ts +102 -0
- package/src/models/TweetLegacy.ts +99 -0
- package/src/models/TweetLegacyScopes.ts +66 -0
- package/src/models/TweetPreviousCounts.ts +102 -0
- package/src/models/TweetView.ts +1 -0
- package/src/models/TweetWithVisibilityResults.ts +22 -0
- package/src/models/TypeName.ts +9 -1
- package/src/models/UnifiedCard.ts +76 -0
- package/src/models/UrtEndpointOptions.ts +82 -0
- package/src/models/UrtEndpointRequestParams.ts +75 -0
- package/src/models/User.ts +87 -0
- package/src/models/UserHighlightsInfo.ts +75 -0
- package/src/models/UserLegacy.ts +27 -0
- package/src/models/UserProfessional.ts +102 -0
- package/src/models/UserProfessionalCategory.ts +84 -0
- package/src/models/UserUnavailable.ts +8 -0
- package/src/models/UserValue.ts +66 -0
- package/src/models/UserVerificationInfo.ts +81 -0
- package/src/models/UserVerificationInfoReason.ts +91 -0
- package/src/models/UserVerificationInfoReasonDescription.ts +82 -0
- package/src/models/UserVerificationInfoReasonDescriptionEntities.ts +91 -0
- package/src/models/UserVerificationInfoReasonDescriptionEntitiesRef.ts +85 -0
- package/src/models/index.ts +59 -1
- package/src/runtime.ts +3 -3
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/init.ps1 +1 -1
- package/twitter-openapi/.github/workflows/test-build.yaml +1 -1
- package/twitter-openapi/.github/workflows/test-python.yaml +1 -1
- package/twitter-openapi/.vscode/extensions.json +8 -2
- package/twitter-openapi/.vscode/launch.json +8 -5
- package/twitter-openapi/.vscode/settings.json +11 -1
- package/twitter-openapi/.vscode/tasks.json +4 -5
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +1202 -338
- package/twitter-openapi/dist/compatible_discriminator/openapi-3.0.yaml +6149 -0
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +1166 -121
- package/twitter-openapi/requirements.txt +0 -0
- package/twitter-openapi/src/config/placeholder.json +85 -44
- package/twitter-openapi/src/openapi/response/error.yaml +3 -0
- package/twitter-openapi/src/openapi/schemas/content.yaml +159 -10
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +618 -17
- package/twitter-openapi/src/openapi/schemas/typename.yaml +8 -0
- package/twitter-openapi/src/openapi/schemas/user.yaml +129 -0
- package/twitter-openapi/test/python/openapi-generator-config.yaml +1 -1
- package/twitter-openapi/test/python/test_serialize.py +118 -47
- package/twitter-openapi/tools/build_config.py +28 -3
- package/twitter-openapi/tools/hooks.py +9 -1
- package/dist/models/SocialContext.d.ts +0 -44
- package/dist/models/SocialContext.d.ts.map +0 -1
- package/dist/models/SocialContext.js +0 -55
- package/dist/models/SocialContext.js.map +0 -1
- package/src/models/SocialContext.ts +0 -81
- package/twitter-openapi/test/python/replace.py +0 -23
package/src/apis/TweetApi.ts
CHANGED
|
@@ -141,35 +141,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
141
141
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
142
142
|
|
|
143
143
|
if (this.configuration && this.configuration.apiKey) {
|
|
144
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
144
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
if (this.configuration && this.configuration.apiKey) {
|
|
148
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
148
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
if (this.configuration && this.configuration.apiKey) {
|
|
152
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
152
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if (this.configuration && this.configuration.apiKey) {
|
|
156
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
156
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
if (this.configuration && this.configuration.apiKey) {
|
|
160
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
160
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
if (this.configuration && this.configuration.apiKey) {
|
|
164
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
164
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
if (this.configuration && this.configuration.apiKey) {
|
|
168
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
168
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
if (this.configuration && this.configuration.apiKey) {
|
|
172
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
172
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -181,39 +181,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
if (this.configuration && this.configuration.apiKey) {
|
|
184
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
184
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
if (this.configuration && this.configuration.apiKey) {
|
|
188
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
188
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
if (this.configuration && this.configuration.apiKey) {
|
|
192
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
192
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
if (this.configuration && this.configuration.apiKey) {
|
|
196
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
196
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
if (this.configuration && this.configuration.apiKey) {
|
|
200
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
200
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
if (this.configuration && this.configuration.apiKey) {
|
|
204
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
204
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
if (this.configuration && this.configuration.apiKey) {
|
|
208
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
208
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
if (this.configuration && this.configuration.apiKey) {
|
|
212
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
212
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
if (this.configuration && this.configuration.apiKey) {
|
|
216
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
216
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
const response = await this.request({
|
|
@@ -263,35 +263,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
263
263
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
264
264
|
|
|
265
265
|
if (this.configuration && this.configuration.apiKey) {
|
|
266
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
266
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
if (this.configuration && this.configuration.apiKey) {
|
|
270
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
270
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
if (this.configuration && this.configuration.apiKey) {
|
|
274
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
274
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
if (this.configuration && this.configuration.apiKey) {
|
|
278
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
278
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
if (this.configuration && this.configuration.apiKey) {
|
|
282
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
282
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
if (this.configuration && this.configuration.apiKey) {
|
|
286
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
286
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
if (this.configuration && this.configuration.apiKey) {
|
|
290
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
290
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
if (this.configuration && this.configuration.apiKey) {
|
|
294
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
294
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -303,39 +303,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
if (this.configuration && this.configuration.apiKey) {
|
|
306
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
306
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
if (this.configuration && this.configuration.apiKey) {
|
|
310
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
310
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
if (this.configuration && this.configuration.apiKey) {
|
|
314
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
314
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
if (this.configuration && this.configuration.apiKey) {
|
|
318
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
318
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
if (this.configuration && this.configuration.apiKey) {
|
|
322
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
322
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
if (this.configuration && this.configuration.apiKey) {
|
|
326
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
326
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
if (this.configuration && this.configuration.apiKey) {
|
|
330
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
330
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
if (this.configuration && this.configuration.apiKey) {
|
|
334
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
334
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
if (this.configuration && this.configuration.apiKey) {
|
|
338
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
338
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
const response = await this.request({
|
|
@@ -385,35 +385,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
385
385
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
386
386
|
|
|
387
387
|
if (this.configuration && this.configuration.apiKey) {
|
|
388
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
388
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
if (this.configuration && this.configuration.apiKey) {
|
|
392
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
392
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
if (this.configuration && this.configuration.apiKey) {
|
|
396
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
396
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
if (this.configuration && this.configuration.apiKey) {
|
|
400
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
400
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
if (this.configuration && this.configuration.apiKey) {
|
|
404
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
404
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
if (this.configuration && this.configuration.apiKey) {
|
|
408
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
408
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
if (this.configuration && this.configuration.apiKey) {
|
|
412
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
412
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
if (this.configuration && this.configuration.apiKey) {
|
|
416
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
416
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -425,39 +425,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
if (this.configuration && this.configuration.apiKey) {
|
|
428
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
428
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
if (this.configuration && this.configuration.apiKey) {
|
|
432
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
432
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
if (this.configuration && this.configuration.apiKey) {
|
|
436
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
436
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
if (this.configuration && this.configuration.apiKey) {
|
|
440
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
440
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
if (this.configuration && this.configuration.apiKey) {
|
|
444
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
444
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
if (this.configuration && this.configuration.apiKey) {
|
|
448
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
448
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
if (this.configuration && this.configuration.apiKey) {
|
|
452
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
452
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
if (this.configuration && this.configuration.apiKey) {
|
|
456
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
456
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
if (this.configuration && this.configuration.apiKey) {
|
|
460
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
460
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
const response = await this.request({
|
|
@@ -507,35 +507,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
507
507
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
508
508
|
|
|
509
509
|
if (this.configuration && this.configuration.apiKey) {
|
|
510
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
510
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
if (this.configuration && this.configuration.apiKey) {
|
|
514
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
514
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
if (this.configuration && this.configuration.apiKey) {
|
|
518
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
518
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
if (this.configuration && this.configuration.apiKey) {
|
|
522
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
522
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
if (this.configuration && this.configuration.apiKey) {
|
|
526
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
526
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
if (this.configuration && this.configuration.apiKey) {
|
|
530
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
530
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
if (this.configuration && this.configuration.apiKey) {
|
|
534
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
534
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
if (this.configuration && this.configuration.apiKey) {
|
|
538
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
538
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -547,39 +547,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
if (this.configuration && this.configuration.apiKey) {
|
|
550
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
550
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
if (this.configuration && this.configuration.apiKey) {
|
|
554
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
554
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
if (this.configuration && this.configuration.apiKey) {
|
|
558
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
558
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
if (this.configuration && this.configuration.apiKey) {
|
|
562
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
562
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
if (this.configuration && this.configuration.apiKey) {
|
|
566
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
566
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
if (this.configuration && this.configuration.apiKey) {
|
|
570
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
570
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
if (this.configuration && this.configuration.apiKey) {
|
|
574
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
574
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
if (this.configuration && this.configuration.apiKey) {
|
|
578
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
578
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
if (this.configuration && this.configuration.apiKey) {
|
|
582
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
582
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
583
583
|
}
|
|
584
584
|
|
|
585
585
|
const response = await this.request({
|
|
@@ -629,35 +629,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
629
629
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
630
630
|
|
|
631
631
|
if (this.configuration && this.configuration.apiKey) {
|
|
632
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
632
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
if (this.configuration && this.configuration.apiKey) {
|
|
636
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
636
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
if (this.configuration && this.configuration.apiKey) {
|
|
640
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
640
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
if (this.configuration && this.configuration.apiKey) {
|
|
644
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
644
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
if (this.configuration && this.configuration.apiKey) {
|
|
648
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
648
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
if (this.configuration && this.configuration.apiKey) {
|
|
652
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
652
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
if (this.configuration && this.configuration.apiKey) {
|
|
656
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
656
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
if (this.configuration && this.configuration.apiKey) {
|
|
660
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
660
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -669,39 +669,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
if (this.configuration && this.configuration.apiKey) {
|
|
672
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
672
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
if (this.configuration && this.configuration.apiKey) {
|
|
676
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
676
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
if (this.configuration && this.configuration.apiKey) {
|
|
680
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
680
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
if (this.configuration && this.configuration.apiKey) {
|
|
684
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
684
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
685
685
|
}
|
|
686
686
|
|
|
687
687
|
if (this.configuration && this.configuration.apiKey) {
|
|
688
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
688
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
if (this.configuration && this.configuration.apiKey) {
|
|
692
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
692
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
if (this.configuration && this.configuration.apiKey) {
|
|
696
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
696
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
if (this.configuration && this.configuration.apiKey) {
|
|
700
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
700
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
if (this.configuration && this.configuration.apiKey) {
|
|
704
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
704
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
705
705
|
}
|
|
706
706
|
|
|
707
707
|
const response = await this.request({
|
|
@@ -751,35 +751,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
751
751
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
752
752
|
|
|
753
753
|
if (this.configuration && this.configuration.apiKey) {
|
|
754
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
754
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
755
755
|
}
|
|
756
756
|
|
|
757
757
|
if (this.configuration && this.configuration.apiKey) {
|
|
758
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
758
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
if (this.configuration && this.configuration.apiKey) {
|
|
762
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
762
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
if (this.configuration && this.configuration.apiKey) {
|
|
766
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
766
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
767
767
|
}
|
|
768
768
|
|
|
769
769
|
if (this.configuration && this.configuration.apiKey) {
|
|
770
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
770
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
771
771
|
}
|
|
772
772
|
|
|
773
773
|
if (this.configuration && this.configuration.apiKey) {
|
|
774
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
774
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
if (this.configuration && this.configuration.apiKey) {
|
|
778
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
778
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
if (this.configuration && this.configuration.apiKey) {
|
|
782
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
782
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -791,39 +791,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
if (this.configuration && this.configuration.apiKey) {
|
|
794
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
794
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
795
795
|
}
|
|
796
796
|
|
|
797
797
|
if (this.configuration && this.configuration.apiKey) {
|
|
798
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
798
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
if (this.configuration && this.configuration.apiKey) {
|
|
802
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
802
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
if (this.configuration && this.configuration.apiKey) {
|
|
806
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
806
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
if (this.configuration && this.configuration.apiKey) {
|
|
810
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
810
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
811
811
|
}
|
|
812
812
|
|
|
813
813
|
if (this.configuration && this.configuration.apiKey) {
|
|
814
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
814
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
if (this.configuration && this.configuration.apiKey) {
|
|
818
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
818
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
if (this.configuration && this.configuration.apiKey) {
|
|
822
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
822
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
823
823
|
}
|
|
824
824
|
|
|
825
825
|
if (this.configuration && this.configuration.apiKey) {
|
|
826
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
826
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
const response = await this.request({
|
|
@@ -881,35 +881,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
881
881
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
882
882
|
|
|
883
883
|
if (this.configuration && this.configuration.apiKey) {
|
|
884
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
884
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
885
885
|
}
|
|
886
886
|
|
|
887
887
|
if (this.configuration && this.configuration.apiKey) {
|
|
888
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
888
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
if (this.configuration && this.configuration.apiKey) {
|
|
892
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
892
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
if (this.configuration && this.configuration.apiKey) {
|
|
896
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
896
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
if (this.configuration && this.configuration.apiKey) {
|
|
900
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
900
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
if (this.configuration && this.configuration.apiKey) {
|
|
904
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
904
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
if (this.configuration && this.configuration.apiKey) {
|
|
908
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
908
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
if (this.configuration && this.configuration.apiKey) {
|
|
912
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
912
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -921,39 +921,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
if (this.configuration && this.configuration.apiKey) {
|
|
924
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
924
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
if (this.configuration && this.configuration.apiKey) {
|
|
928
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
928
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
929
929
|
}
|
|
930
930
|
|
|
931
931
|
if (this.configuration && this.configuration.apiKey) {
|
|
932
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
932
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
933
933
|
}
|
|
934
934
|
|
|
935
935
|
if (this.configuration && this.configuration.apiKey) {
|
|
936
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
936
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
937
937
|
}
|
|
938
938
|
|
|
939
939
|
if (this.configuration && this.configuration.apiKey) {
|
|
940
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
940
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
if (this.configuration && this.configuration.apiKey) {
|
|
944
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
944
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
if (this.configuration && this.configuration.apiKey) {
|
|
948
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
948
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
if (this.configuration && this.configuration.apiKey) {
|
|
952
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
952
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
if (this.configuration && this.configuration.apiKey) {
|
|
956
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
956
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
const response = await this.request({
|
|
@@ -1003,35 +1003,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1003
1003
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1004
1004
|
|
|
1005
1005
|
if (this.configuration && this.configuration.apiKey) {
|
|
1006
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1006
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
1009
|
if (this.configuration && this.configuration.apiKey) {
|
|
1010
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
1010
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
1013
|
if (this.configuration && this.configuration.apiKey) {
|
|
1014
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1014
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
1017
|
if (this.configuration && this.configuration.apiKey) {
|
|
1018
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1018
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
1021
|
if (this.configuration && this.configuration.apiKey) {
|
|
1022
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1022
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
if (this.configuration && this.configuration.apiKey) {
|
|
1026
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1026
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
if (this.configuration && this.configuration.apiKey) {
|
|
1030
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1030
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
if (this.configuration && this.configuration.apiKey) {
|
|
1034
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1034
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -1043,39 +1043,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
if (this.configuration && this.configuration.apiKey) {
|
|
1046
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1046
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
if (this.configuration && this.configuration.apiKey) {
|
|
1050
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1050
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
if (this.configuration && this.configuration.apiKey) {
|
|
1054
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1054
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
1057
|
if (this.configuration && this.configuration.apiKey) {
|
|
1058
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1058
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1059
1059
|
}
|
|
1060
1060
|
|
|
1061
1061
|
if (this.configuration && this.configuration.apiKey) {
|
|
1062
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1062
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
1065
|
if (this.configuration && this.configuration.apiKey) {
|
|
1066
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1066
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
1069
|
if (this.configuration && this.configuration.apiKey) {
|
|
1070
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1070
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
if (this.configuration && this.configuration.apiKey) {
|
|
1074
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1074
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
if (this.configuration && this.configuration.apiKey) {
|
|
1078
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1078
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
1081
|
const response = await this.request({
|
|
@@ -1125,35 +1125,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1125
1125
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1126
1126
|
|
|
1127
1127
|
if (this.configuration && this.configuration.apiKey) {
|
|
1128
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1128
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
if (this.configuration && this.configuration.apiKey) {
|
|
1132
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
1132
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
1135
1135
|
if (this.configuration && this.configuration.apiKey) {
|
|
1136
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1136
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
1139
|
if (this.configuration && this.configuration.apiKey) {
|
|
1140
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1140
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
1143
|
if (this.configuration && this.configuration.apiKey) {
|
|
1144
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1144
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
if (this.configuration && this.configuration.apiKey) {
|
|
1148
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1148
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
1151
|
if (this.configuration && this.configuration.apiKey) {
|
|
1152
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1152
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
if (this.configuration && this.configuration.apiKey) {
|
|
1156
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1156
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
1159
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -1165,39 +1165,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
1167
|
if (this.configuration && this.configuration.apiKey) {
|
|
1168
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1168
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
if (this.configuration && this.configuration.apiKey) {
|
|
1172
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1172
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
1175
|
if (this.configuration && this.configuration.apiKey) {
|
|
1176
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1176
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
1179
|
if (this.configuration && this.configuration.apiKey) {
|
|
1180
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1180
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
1183
|
if (this.configuration && this.configuration.apiKey) {
|
|
1184
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1184
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
1187
|
if (this.configuration && this.configuration.apiKey) {
|
|
1188
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1188
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
1191
|
if (this.configuration && this.configuration.apiKey) {
|
|
1192
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1192
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
1195
1195
|
if (this.configuration && this.configuration.apiKey) {
|
|
1196
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1196
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
1199
|
if (this.configuration && this.configuration.apiKey) {
|
|
1200
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1200
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
1203
|
const response = await this.request({
|
|
@@ -1247,35 +1247,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1247
1247
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1248
1248
|
|
|
1249
1249
|
if (this.configuration && this.configuration.apiKey) {
|
|
1250
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1250
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
1253
|
if (this.configuration && this.configuration.apiKey) {
|
|
1254
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
1254
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
if (this.configuration && this.configuration.apiKey) {
|
|
1258
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1258
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1259
1259
|
}
|
|
1260
1260
|
|
|
1261
1261
|
if (this.configuration && this.configuration.apiKey) {
|
|
1262
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1262
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
if (this.configuration && this.configuration.apiKey) {
|
|
1266
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1266
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
1269
|
if (this.configuration && this.configuration.apiKey) {
|
|
1270
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1270
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1271
1271
|
}
|
|
1272
1272
|
|
|
1273
1273
|
if (this.configuration && this.configuration.apiKey) {
|
|
1274
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1274
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1275
1275
|
}
|
|
1276
1276
|
|
|
1277
1277
|
if (this.configuration && this.configuration.apiKey) {
|
|
1278
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1278
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1279
1279
|
}
|
|
1280
1280
|
|
|
1281
1281
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -1287,39 +1287,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
if (this.configuration && this.configuration.apiKey) {
|
|
1290
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1290
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
if (this.configuration && this.configuration.apiKey) {
|
|
1294
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1294
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1295
1295
|
}
|
|
1296
1296
|
|
|
1297
1297
|
if (this.configuration && this.configuration.apiKey) {
|
|
1298
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1298
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1299
1299
|
}
|
|
1300
1300
|
|
|
1301
1301
|
if (this.configuration && this.configuration.apiKey) {
|
|
1302
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1302
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
1305
|
if (this.configuration && this.configuration.apiKey) {
|
|
1306
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1306
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1307
1307
|
}
|
|
1308
1308
|
|
|
1309
1309
|
if (this.configuration && this.configuration.apiKey) {
|
|
1310
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1310
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
1313
|
if (this.configuration && this.configuration.apiKey) {
|
|
1314
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1314
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
if (this.configuration && this.configuration.apiKey) {
|
|
1318
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1318
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1319
1319
|
}
|
|
1320
1320
|
|
|
1321
1321
|
if (this.configuration && this.configuration.apiKey) {
|
|
1322
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1322
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
1325
|
const response = await this.request({
|
|
@@ -1369,35 +1369,35 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1369
1369
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1370
1370
|
|
|
1371
1371
|
if (this.configuration && this.configuration.apiKey) {
|
|
1372
|
-
headerParameters["x-twitter-client-language"] = this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1372
|
+
headerParameters["x-twitter-client-language"] = await this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
1375
|
if (this.configuration && this.configuration.apiKey) {
|
|
1376
|
-
headerParameters["Accept"] = this.configuration.apiKey("Accept"); // Accept authentication
|
|
1376
|
+
headerParameters["Accept"] = await this.configuration.apiKey("Accept"); // Accept authentication
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
1379
|
if (this.configuration && this.configuration.apiKey) {
|
|
1380
|
-
headerParameters["Sec-Fetch-Dest"] = this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1380
|
+
headerParameters["Sec-Fetch-Dest"] = await this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1381
1381
|
}
|
|
1382
1382
|
|
|
1383
1383
|
if (this.configuration && this.configuration.apiKey) {
|
|
1384
|
-
headerParameters["Pragma"] = this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1384
|
+
headerParameters["Pragma"] = await this.configuration.apiKey("Pragma"); // Pragma authentication
|
|
1385
1385
|
}
|
|
1386
1386
|
|
|
1387
1387
|
if (this.configuration && this.configuration.apiKey) {
|
|
1388
|
-
headerParameters["Sec-Ch-Ua-Platform"] = this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1388
|
+
headerParameters["Sec-Ch-Ua-Platform"] = await this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
1391
|
if (this.configuration && this.configuration.apiKey) {
|
|
1392
|
-
headerParameters["Sec-Fetch-Mode"] = this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1392
|
+
headerParameters["Sec-Fetch-Mode"] = await this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
if (this.configuration && this.configuration.apiKey) {
|
|
1396
|
-
headerParameters["x-csrf-token"] = this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1396
|
+
headerParameters["x-csrf-token"] = await this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1397
1397
|
}
|
|
1398
1398
|
|
|
1399
1399
|
if (this.configuration && this.configuration.apiKey) {
|
|
1400
|
-
headerParameters["x-guest-token"] = this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1400
|
+
headerParameters["x-guest-token"] = await this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
1403
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -1409,39 +1409,39 @@ export class TweetApi extends runtime.BaseAPI {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
if (this.configuration && this.configuration.apiKey) {
|
|
1412
|
-
headerParameters["Sec-Ch-Ua"] = this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1412
|
+
headerParameters["Sec-Ch-Ua"] = await this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
1415
|
if (this.configuration && this.configuration.apiKey) {
|
|
1416
|
-
headerParameters["x-twitter-active-user"] = this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1416
|
+
headerParameters["x-twitter-active-user"] = await this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1417
1417
|
}
|
|
1418
1418
|
|
|
1419
1419
|
if (this.configuration && this.configuration.apiKey) {
|
|
1420
|
-
headerParameters["user-agent"] = this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1420
|
+
headerParameters["user-agent"] = await this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
1423
|
if (this.configuration && this.configuration.apiKey) {
|
|
1424
|
-
headerParameters["Accept-Language"] = this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1424
|
+
headerParameters["Accept-Language"] = await this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
if (this.configuration && this.configuration.apiKey) {
|
|
1428
|
-
headerParameters["Sec-Fetch-Site"] = this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1428
|
+
headerParameters["Sec-Fetch-Site"] = await this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
if (this.configuration && this.configuration.apiKey) {
|
|
1432
|
-
headerParameters["x-twitter-auth-type"] = this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1432
|
+
headerParameters["x-twitter-auth-type"] = await this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1433
1433
|
}
|
|
1434
1434
|
|
|
1435
1435
|
if (this.configuration && this.configuration.apiKey) {
|
|
1436
|
-
headerParameters["Cache-Control"] = this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1436
|
+
headerParameters["Cache-Control"] = await this.configuration.apiKey("Cache-Control"); // CacheControl authentication
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
1439
|
if (this.configuration && this.configuration.apiKey) {
|
|
1440
|
-
headerParameters["Sec-Ch-Ua-Mobile"] = this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1440
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = await this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
1443
|
if (this.configuration && this.configuration.apiKey) {
|
|
1444
|
-
headerParameters["Accept-Encoding"] = this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1444
|
+
headerParameters["Accept-Encoding"] = await this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
const response = await this.request({
|