twitter-openapi-typescript-generated 0.0.41 → 0.1.0
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/README.md +60 -6
- package/dist/esm/models/AdMetadataContainer.d.ts +47 -0
- package/dist/esm/models/AdMetadataContainer.js +56 -0
- package/dist/esm/models/AffiliatesHighlightedLabel.d.ts +31 -0
- package/dist/esm/models/AffiliatesHighlightedLabel.js +42 -0
- package/dist/esm/models/ApiImage.d.ts +53 -0
- package/dist/esm/models/ApiImage.js +66 -0
- package/dist/esm/models/ApiMedia.d.ts +48 -0
- package/dist/esm/models/ApiMedia.js +61 -0
- package/dist/esm/models/ArticleCoverMediaInfo.d.ts +2 -2
- package/dist/esm/models/ArticleCoverMediaInfo.js +3 -3
- package/dist/esm/models/BirdwatchPivot.d.ts +1 -0
- package/dist/esm/models/BirdwatchPivot.js +1 -0
- package/dist/esm/models/CashtagInfo.d.ts +38 -0
- package/dist/esm/models/CashtagInfo.js +51 -0
- package/dist/esm/models/ClickTrackingInfo.d.ts +31 -0
- package/dist/esm/models/ClickTrackingInfo.js +44 -0
- package/dist/esm/models/ClientEventInfo.d.ts +2 -3
- package/dist/esm/models/ClientEventInfo.js +3 -2
- package/dist/esm/models/ClientEventInfoDetails.d.ts +36 -0
- package/dist/esm/models/ClientEventInfoDetails.js +47 -0
- package/dist/esm/models/Community.d.ts +5 -9
- package/dist/esm/models/Community.js +8 -6
- package/dist/esm/models/CommunityBannerMedia.d.ts +35 -0
- package/dist/esm/models/CommunityBannerMedia.js +46 -0
- package/dist/esm/models/CommunityBannerMediaInfo.d.ts +53 -0
- package/dist/esm/models/CommunityBannerMediaInfo.js +62 -0
- package/dist/esm/models/CommunityModerationState.d.ts +31 -0
- package/dist/esm/models/CommunityModerationState.js +44 -0
- package/dist/esm/models/CommunityRelationship.d.ts +2 -3
- package/dist/esm/models/CommunityRelationship.js +3 -2
- package/dist/esm/models/CommunityViewerRelationship.d.ts +35 -0
- package/dist/esm/models/CommunityViewerRelationship.js +46 -0
- package/dist/esm/models/ConversationControl.d.ts +6 -10
- package/dist/esm/models/ConversationControl.js +8 -11
- package/dist/esm/models/ConversationDetails.d.ts +37 -0
- package/dist/esm/models/ConversationDetails.js +51 -0
- package/dist/esm/models/ConversationMetadata.d.ts +34 -0
- package/dist/esm/models/ConversationMetadata.js +47 -0
- package/dist/esm/models/ConversationOwner.d.ts +36 -0
- package/dist/esm/models/ConversationOwner.js +49 -0
- package/dist/esm/models/ConversationOwnerCore.d.ts +30 -0
- package/dist/esm/models/ConversationOwnerCore.js +43 -0
- package/dist/esm/models/ConversationOwnerResults.d.ts +31 -0
- package/dist/esm/models/ConversationOwnerResults.js +44 -0
- package/dist/esm/models/CtaLimitedActionPrompt.d.ts +51 -0
- package/dist/esm/models/CtaLimitedActionPrompt.js +65 -0
- package/dist/esm/models/CtaLimitedActionPromptText.d.ts +34 -0
- package/dist/esm/models/CtaLimitedActionPromptText.js +47 -0
- package/dist/esm/models/DeepsearchHeader.d.ts +31 -0
- package/dist/esm/models/DeepsearchHeader.js +44 -0
- package/dist/esm/models/DeepsearchStep.d.ts +35 -0
- package/dist/esm/models/DeepsearchStep.js +48 -0
- package/dist/esm/models/DeepsearchWebResult.d.ts +30 -0
- package/dist/esm/models/DeepsearchWebResult.js +43 -0
- package/dist/esm/models/Entities.d.ts +6 -9
- package/dist/esm/models/Entities.js +9 -6
- package/dist/esm/models/FeedbackAction.d.ts +89 -0
- package/dist/esm/models/FeedbackAction.js +89 -0
- package/dist/esm/models/FeedbackActionEntry.d.ts +35 -0
- package/dist/esm/models/FeedbackActionEntry.js +48 -0
- package/dist/esm/models/FeedbackClientEventInfo.d.ts +38 -0
- package/dist/esm/models/FeedbackClientEventInfo.js +49 -0
- package/dist/esm/models/FeedbackInfo.d.ts +7 -3
- package/dist/esm/models/FeedbackInfo.js +8 -4
- package/dist/esm/models/GrokShareAttachmentItem.d.ts +2 -3
- package/dist/esm/models/GrokShareAttachmentItem.js +3 -2
- package/dist/esm/models/GrokTranslatedPost.d.ts +1 -3
- package/dist/esm/models/Hashtag.d.ts +34 -0
- package/dist/esm/models/Hashtag.js +47 -0
- package/dist/esm/models/JetfuelAttachment.d.ts +34 -0
- package/dist/esm/models/JetfuelAttachment.js +47 -0
- package/dist/esm/models/KeyValue.d.ts +34 -0
- package/dist/esm/models/KeyValue.js +47 -0
- package/dist/esm/models/LandingUrl.d.ts +42 -0
- package/dist/esm/models/LandingUrl.js +54 -0
- package/dist/esm/models/LimitedAction.d.ts +35 -0
- package/dist/esm/models/LimitedAction.js +46 -0
- package/dist/esm/models/LimitedActionResults.d.ts +31 -0
- package/dist/esm/models/LimitedActionResults.js +44 -0
- package/dist/esm/models/LimitedActionResultsData.d.ts +1 -21
- package/dist/esm/models/LimitedActionResultsData.js +0 -19
- package/dist/esm/models/ListBannerMediaInfo.d.ts +2 -2
- package/dist/esm/models/ListBannerMediaInfo.js +3 -3
- package/dist/esm/models/ListBannerMediaResults.d.ts +31 -0
- package/dist/esm/models/ListBannerMediaResults.js +42 -0
- package/dist/esm/models/MediaColorInfo.d.ts +31 -0
- package/dist/esm/models/MediaColorInfo.js +44 -0
- package/dist/esm/models/MediaColorInfoPalette.d.ts +35 -0
- package/dist/esm/models/MediaColorInfoPalette.js +48 -0
- package/dist/esm/models/MediaColorInfoPaletteRGB.d.ts +38 -0
- package/dist/esm/models/{ArticleCoverMediaColorInfoPaletteRGB.js → MediaColorInfoPaletteRGB.js} +8 -8
- package/dist/esm/models/MediaSalientRect.d.ts +42 -0
- package/dist/esm/models/{ListBannerMediaSalientRect.js → MediaSalientRect.js} +8 -8
- package/dist/esm/models/ModuleFooter.d.ts +46 -0
- package/dist/esm/models/ModuleFooter.js +60 -0
- package/dist/esm/models/ModuleHeader.d.ts +45 -0
- package/dist/esm/models/ModuleHeader.js +57 -0
- package/dist/esm/models/ModuleMetadata.d.ts +31 -0
- package/dist/esm/models/ModuleMetadata.js +44 -0
- package/dist/esm/models/PromotedMetadata.d.ts +49 -0
- package/dist/esm/models/PromotedMetadata.js +62 -0
- package/dist/esm/models/ReaderModeConfig.d.ts +30 -0
- package/dist/esm/models/ReaderModeConfig.js +43 -0
- package/dist/esm/models/ScribeConfig.d.ts +30 -0
- package/dist/esm/models/ScribeConfig.js +43 -0
- package/dist/esm/models/SmarttagTag.d.ts +2 -3
- package/dist/esm/models/SmarttagTag.js +3 -2
- package/dist/esm/models/SmarttagTagInfo.d.ts +31 -0
- package/dist/esm/models/SmarttagTagInfo.js +42 -0
- package/dist/esm/models/Symbol.d.ts +39 -0
- package/dist/esm/models/Symbol.js +50 -0
- package/dist/esm/models/Timeline.d.ts +4 -6
- package/dist/esm/models/Timeline.js +6 -4
- package/dist/esm/models/TimelineMetadata.d.ts +36 -0
- package/dist/esm/models/TimelineMetadata.js +47 -0
- package/dist/esm/models/TimelineResponseObjects.d.ts +31 -0
- package/dist/esm/models/TimelineResponseObjects.js +42 -0
- package/dist/esm/models/TimelineShowAlert.d.ts +10 -12
- package/dist/esm/models/TimelineShowAlert.js +31 -13
- package/dist/esm/models/TimelineShowAlertColorConfig.d.ts +38 -0
- package/dist/esm/models/TimelineShowAlertColorConfig.js +51 -0
- package/dist/esm/models/TimelineShowAlertIconDisplayInfo.d.ts +34 -0
- package/dist/esm/models/TimelineShowAlertIconDisplayInfo.js +47 -0
- package/dist/esm/models/TimelineShowAlertRichText.d.ts +2 -4
- package/dist/esm/models/TimelineShowAlertRichText.js +6 -2
- package/dist/esm/models/TimelineTimelineItem.d.ts +2 -3
- package/dist/esm/models/TimelineTimelineItem.js +3 -2
- package/dist/esm/models/TimelineTimelineModule.d.ts +6 -9
- package/dist/esm/models/TimelineTimelineModule.js +9 -6
- package/dist/esm/models/TimelineTweet.d.ts +2 -3
- package/dist/esm/models/TimelineTweet.js +3 -2
- package/dist/esm/models/TimelinesDetails.d.ts +38 -0
- package/dist/esm/models/TimelinesDetails.js +45 -0
- package/dist/esm/models/Tweet.d.ts +6 -3
- package/dist/esm/models/Tweet.js +3 -0
- package/dist/esm/models/TweetCardLegacyBindingValueData.d.ts +2 -3
- package/dist/esm/models/TweetCardLegacyBindingValueData.js +3 -2
- package/dist/esm/models/TweetLegacy.d.ts +2 -3
- package/dist/esm/models/TweetLegacy.js +3 -2
- package/dist/esm/models/TweetWithVisibilityResults.d.ts +2 -3
- package/dist/esm/models/TweetWithVisibilityResults.js +3 -2
- package/dist/esm/models/TwitterList.d.ts +10 -3
- package/dist/esm/models/TwitterList.js +7 -2
- package/dist/esm/models/TypeName.d.ts +3 -0
- package/dist/esm/models/TypeName.js +3 -0
- package/dist/esm/models/User.d.ts +3 -6
- package/dist/esm/models/User.js +3 -2
- package/dist/esm/models/UserLabel.d.ts +68 -0
- package/dist/esm/models/UserLabel.js +73 -0
- package/dist/esm/models/UserLabelBadge.d.ts +30 -0
- package/dist/esm/models/UserLabelBadge.js +43 -0
- package/dist/esm/models/UserLabelMentionResults.d.ts +31 -0
- package/dist/esm/models/UserLabelMentionResults.js +44 -0
- package/dist/esm/models/UserLabelMentionUser.d.ts +40 -0
- package/dist/esm/models/UserLabelMentionUser.js +53 -0
- package/dist/esm/models/UserLabelMentionUserCore.d.ts +30 -0
- package/dist/esm/models/UserLabelMentionUserCore.js +43 -0
- package/dist/esm/models/UserLabelText.d.ts +35 -0
- package/dist/esm/models/UserLabelText.js +48 -0
- package/dist/esm/models/UserLabelTextEntity.d.ts +39 -0
- package/dist/esm/models/UserLabelTextEntity.js +52 -0
- package/dist/esm/models/UserLabelTextEntityRef.d.ts +46 -0
- package/dist/esm/models/UserLabelTextEntityRef.js +60 -0
- package/dist/esm/models/UserLabelUrl.d.ts +41 -0
- package/dist/esm/models/UserLabelUrl.js +55 -0
- package/dist/esm/models/UserLegacy.d.ts +2 -3
- package/dist/esm/models/UserLegacy.js +3 -2
- package/dist/esm/models/UserMention.d.ts +46 -0
- package/dist/esm/models/UserMention.js +57 -0
- package/dist/esm/models/UserProfessional.d.ts +5 -1
- package/dist/esm/models/UserProfessional.js +3 -3
- package/dist/esm/models/index.d.ts +58 -4
- package/dist/esm/models/index.js +58 -4
- package/dist/models/AdMetadataContainer.d.ts +47 -0
- package/dist/models/AdMetadataContainer.js +63 -0
- package/dist/models/AffiliatesHighlightedLabel.d.ts +31 -0
- package/dist/models/AffiliatesHighlightedLabel.js +49 -0
- package/dist/models/ApiImage.d.ts +53 -0
- package/dist/models/ApiImage.js +73 -0
- package/dist/models/ApiMedia.d.ts +48 -0
- package/dist/models/ApiMedia.js +68 -0
- package/dist/models/ArticleCoverMediaInfo.d.ts +2 -2
- package/dist/models/ArticleCoverMediaInfo.js +3 -3
- package/dist/models/BirdwatchPivot.d.ts +1 -0
- package/dist/models/BirdwatchPivot.js +1 -0
- package/dist/models/CashtagInfo.d.ts +38 -0
- package/dist/models/CashtagInfo.js +58 -0
- package/dist/models/ClickTrackingInfo.d.ts +31 -0
- package/dist/models/ClickTrackingInfo.js +51 -0
- package/dist/models/ClientEventInfo.d.ts +2 -3
- package/dist/models/ClientEventInfo.js +3 -2
- package/dist/models/ClientEventInfoDetails.d.ts +36 -0
- package/dist/models/ClientEventInfoDetails.js +54 -0
- package/dist/models/Community.d.ts +5 -9
- package/dist/models/Community.js +8 -6
- package/dist/models/CommunityBannerMedia.d.ts +35 -0
- package/dist/models/CommunityBannerMedia.js +53 -0
- package/dist/models/CommunityBannerMediaInfo.d.ts +53 -0
- package/dist/models/CommunityBannerMediaInfo.js +69 -0
- package/dist/models/CommunityModerationState.d.ts +31 -0
- package/dist/models/CommunityModerationState.js +51 -0
- package/dist/models/CommunityRelationship.d.ts +2 -3
- package/dist/models/CommunityRelationship.js +3 -2
- package/dist/models/CommunityViewerRelationship.d.ts +35 -0
- package/dist/models/CommunityViewerRelationship.js +53 -0
- package/dist/models/ConversationControl.d.ts +6 -10
- package/dist/models/ConversationControl.js +8 -12
- package/dist/models/ConversationDetails.d.ts +37 -0
- package/dist/models/ConversationDetails.js +59 -0
- package/dist/models/ConversationMetadata.d.ts +34 -0
- package/dist/models/ConversationMetadata.js +54 -0
- package/dist/models/ConversationOwner.d.ts +36 -0
- package/dist/models/ConversationOwner.js +56 -0
- package/dist/models/ConversationOwnerCore.d.ts +30 -0
- package/dist/models/ConversationOwnerCore.js +50 -0
- package/dist/models/ConversationOwnerResults.d.ts +31 -0
- package/dist/models/ConversationOwnerResults.js +51 -0
- package/dist/models/CtaLimitedActionPrompt.d.ts +51 -0
- package/dist/models/CtaLimitedActionPrompt.js +73 -0
- package/dist/models/CtaLimitedActionPromptText.d.ts +34 -0
- package/dist/models/CtaLimitedActionPromptText.js +54 -0
- package/dist/models/DeepsearchHeader.d.ts +31 -0
- package/dist/models/DeepsearchHeader.js +51 -0
- package/dist/models/DeepsearchStep.d.ts +35 -0
- package/dist/models/DeepsearchStep.js +55 -0
- package/dist/models/DeepsearchWebResult.d.ts +30 -0
- package/dist/models/DeepsearchWebResult.js +50 -0
- package/dist/models/Entities.d.ts +6 -9
- package/dist/models/Entities.js +9 -6
- package/dist/models/FeedbackAction.d.ts +89 -0
- package/dist/models/FeedbackAction.js +97 -0
- package/dist/models/FeedbackActionEntry.d.ts +35 -0
- package/dist/models/FeedbackActionEntry.js +55 -0
- package/dist/models/FeedbackClientEventInfo.d.ts +38 -0
- package/dist/models/FeedbackClientEventInfo.js +56 -0
- package/dist/models/FeedbackInfo.d.ts +7 -3
- package/dist/models/FeedbackInfo.js +8 -4
- package/dist/models/GrokShareAttachmentItem.d.ts +2 -3
- package/dist/models/GrokShareAttachmentItem.js +3 -2
- package/dist/models/GrokTranslatedPost.d.ts +1 -3
- package/dist/models/Hashtag.d.ts +34 -0
- package/dist/models/Hashtag.js +54 -0
- package/dist/models/JetfuelAttachment.d.ts +34 -0
- package/dist/models/JetfuelAttachment.js +54 -0
- package/dist/models/KeyValue.d.ts +34 -0
- package/dist/models/KeyValue.js +54 -0
- package/dist/models/LandingUrl.d.ts +42 -0
- package/dist/models/LandingUrl.js +62 -0
- package/dist/models/LimitedAction.d.ts +35 -0
- package/dist/models/LimitedAction.js +53 -0
- package/dist/models/LimitedActionResults.d.ts +31 -0
- package/dist/models/LimitedActionResults.js +51 -0
- package/dist/models/LimitedActionResultsData.d.ts +1 -21
- package/dist/models/LimitedActionResultsData.js +0 -20
- package/dist/models/ListBannerMediaInfo.d.ts +2 -2
- package/dist/models/ListBannerMediaInfo.js +3 -3
- package/dist/models/ListBannerMediaResults.d.ts +31 -0
- package/dist/models/ListBannerMediaResults.js +49 -0
- package/dist/models/MediaColorInfo.d.ts +31 -0
- package/dist/models/MediaColorInfo.js +51 -0
- package/dist/models/MediaColorInfoPalette.d.ts +35 -0
- package/dist/models/MediaColorInfoPalette.js +55 -0
- package/dist/models/MediaColorInfoPaletteRGB.d.ts +38 -0
- package/dist/models/MediaColorInfoPaletteRGB.js +58 -0
- package/dist/models/MediaSalientRect.d.ts +42 -0
- package/dist/models/{ListBannerMediaSalientRect.js → MediaSalientRect.js} +13 -13
- package/dist/models/ModuleFooter.d.ts +46 -0
- package/dist/models/ModuleFooter.js +68 -0
- package/dist/models/ModuleHeader.d.ts +45 -0
- package/dist/models/ModuleHeader.js +65 -0
- package/dist/models/ModuleMetadata.d.ts +31 -0
- package/dist/models/ModuleMetadata.js +51 -0
- package/dist/models/PromotedMetadata.d.ts +49 -0
- package/dist/models/PromotedMetadata.js +69 -0
- package/dist/models/ReaderModeConfig.d.ts +30 -0
- package/dist/models/ReaderModeConfig.js +50 -0
- package/dist/models/ScribeConfig.d.ts +30 -0
- package/dist/models/ScribeConfig.js +50 -0
- package/dist/models/SmarttagTag.d.ts +2 -3
- package/dist/models/SmarttagTag.js +3 -2
- package/dist/models/SmarttagTagInfo.d.ts +31 -0
- package/dist/models/SmarttagTagInfo.js +49 -0
- package/dist/models/Symbol.d.ts +39 -0
- package/dist/models/Symbol.js +57 -0
- package/dist/models/Timeline.d.ts +4 -6
- package/dist/models/Timeline.js +6 -4
- package/dist/models/TimelineMetadata.d.ts +36 -0
- package/dist/models/TimelineMetadata.js +54 -0
- package/dist/models/TimelineResponseObjects.d.ts +31 -0
- package/dist/models/TimelineResponseObjects.js +49 -0
- package/dist/models/TimelineShowAlert.d.ts +10 -12
- package/dist/models/TimelineShowAlert.js +31 -13
- package/dist/models/TimelineShowAlertColorConfig.d.ts +38 -0
- package/dist/models/TimelineShowAlertColorConfig.js +58 -0
- package/dist/models/TimelineShowAlertIconDisplayInfo.d.ts +34 -0
- package/dist/models/TimelineShowAlertIconDisplayInfo.js +54 -0
- package/dist/models/TimelineShowAlertRichText.d.ts +2 -4
- package/dist/models/TimelineShowAlertRichText.js +6 -2
- package/dist/models/TimelineTimelineItem.d.ts +2 -3
- package/dist/models/TimelineTimelineItem.js +3 -2
- package/dist/models/TimelineTimelineModule.d.ts +6 -9
- package/dist/models/TimelineTimelineModule.js +9 -6
- package/dist/models/TimelineTweet.d.ts +2 -3
- package/dist/models/TimelineTweet.js +3 -2
- package/dist/models/TimelinesDetails.d.ts +38 -0
- package/dist/models/TimelinesDetails.js +52 -0
- package/dist/models/Tweet.d.ts +6 -3
- package/dist/models/Tweet.js +3 -0
- package/dist/models/TweetCardLegacyBindingValueData.d.ts +2 -3
- package/dist/models/TweetCardLegacyBindingValueData.js +3 -2
- package/dist/models/TweetLegacy.d.ts +2 -3
- package/dist/models/TweetLegacy.js +3 -2
- package/dist/models/TweetWithVisibilityResults.d.ts +2 -3
- package/dist/models/TweetWithVisibilityResults.js +3 -2
- package/dist/models/TwitterList.d.ts +10 -3
- package/dist/models/TwitterList.js +7 -2
- package/dist/models/TypeName.d.ts +3 -0
- package/dist/models/TypeName.js +3 -0
- package/dist/models/User.d.ts +3 -6
- package/dist/models/User.js +3 -2
- package/dist/models/UserLabel.d.ts +68 -0
- package/dist/models/UserLabel.js +81 -0
- package/dist/models/UserLabelBadge.d.ts +30 -0
- package/dist/models/UserLabelBadge.js +50 -0
- package/dist/models/UserLabelMentionResults.d.ts +31 -0
- package/dist/models/UserLabelMentionResults.js +51 -0
- package/dist/models/UserLabelMentionUser.d.ts +40 -0
- package/dist/models/UserLabelMentionUser.js +60 -0
- package/dist/models/UserLabelMentionUserCore.d.ts +30 -0
- package/dist/models/UserLabelMentionUserCore.js +50 -0
- package/dist/models/UserLabelText.d.ts +35 -0
- package/dist/models/UserLabelText.js +55 -0
- package/dist/models/UserLabelTextEntity.d.ts +39 -0
- package/dist/models/UserLabelTextEntity.js +59 -0
- package/dist/models/UserLabelTextEntityRef.d.ts +46 -0
- package/dist/models/UserLabelTextEntityRef.js +68 -0
- package/dist/models/UserLabelUrl.d.ts +41 -0
- package/dist/models/UserLabelUrl.js +63 -0
- package/dist/models/UserLegacy.d.ts +2 -3
- package/dist/models/UserLegacy.js +3 -2
- package/dist/models/UserMention.d.ts +46 -0
- package/dist/models/UserMention.js +64 -0
- package/dist/models/UserProfessional.d.ts +5 -1
- package/dist/models/UserProfessional.js +3 -3
- package/dist/models/index.d.ts +58 -4
- package/dist/models/index.js +58 -4
- package/package.json +1 -1
- package/dist/esm/models/ArticleCoverMediaColorInfo.d.ts +0 -31
- package/dist/esm/models/ArticleCoverMediaColorInfo.js +0 -44
- package/dist/esm/models/ArticleCoverMediaColorInfoPalette.d.ts +0 -35
- package/dist/esm/models/ArticleCoverMediaColorInfoPalette.js +0 -48
- package/dist/esm/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +0 -38
- package/dist/esm/models/ListBannerMediaSalientRect.d.ts +0 -42
- package/dist/models/ArticleCoverMediaColorInfo.d.ts +0 -31
- package/dist/models/ArticleCoverMediaColorInfo.js +0 -51
- package/dist/models/ArticleCoverMediaColorInfoPalette.d.ts +0 -35
- package/dist/models/ArticleCoverMediaColorInfoPalette.js +0 -55
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.d.ts +0 -38
- package/dist/models/ArticleCoverMediaColorInfoPaletteRGB.js +0 -58
- package/dist/models/ListBannerMediaSalientRect.d.ts +0 -42
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# twitter-openapi-typescript-generated@0.0
|
|
1
|
+
# twitter-openapi-typescript-generated@0.1.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the x.com API.
|
|
4
4
|
|
|
@@ -173,16 +173,17 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
173
173
|
- [AboutCommunityResult](docs/AboutCommunityResult.md)
|
|
174
174
|
- [AboutCommunityResults](docs/AboutCommunityResults.md)
|
|
175
175
|
- [AboutCommunityTweetData](docs/AboutCommunityTweetData.md)
|
|
176
|
+
- [AdMetadataContainer](docs/AdMetadataContainer.md)
|
|
176
177
|
- [AdditionalMediaInfo](docs/AdditionalMediaInfo.md)
|
|
177
178
|
- [AdditionalMediaInfoCallToActions](docs/AdditionalMediaInfoCallToActions.md)
|
|
178
179
|
- [AdditionalMediaInfoCallToActionsUrl](docs/AdditionalMediaInfoCallToActionsUrl.md)
|
|
180
|
+
- [AffiliatesHighlightedLabel](docs/AffiliatesHighlightedLabel.md)
|
|
179
181
|
- [AllowDownloadStatus](docs/AllowDownloadStatus.md)
|
|
180
182
|
- [AnalysisResults](docs/AnalysisResults.md)
|
|
183
|
+
- [ApiImage](docs/ApiImage.md)
|
|
184
|
+
- [ApiMedia](docs/ApiMedia.md)
|
|
181
185
|
- [Article](docs/Article.md)
|
|
182
186
|
- [ArticleCoverMedia](docs/ArticleCoverMedia.md)
|
|
183
|
-
- [ArticleCoverMediaColorInfo](docs/ArticleCoverMediaColorInfo.md)
|
|
184
|
-
- [ArticleCoverMediaColorInfoPalette](docs/ArticleCoverMediaColorInfoPalette.md)
|
|
185
|
-
- [ArticleCoverMediaColorInfoPaletteRGB](docs/ArticleCoverMediaColorInfoPaletteRGB.md)
|
|
186
187
|
- [ArticleCoverMediaInfo](docs/ArticleCoverMediaInfo.md)
|
|
187
188
|
- [ArticleLifecycleState](docs/ArticleLifecycleState.md)
|
|
188
189
|
- [ArticleMetadata](docs/ArticleMetadata.md)
|
|
@@ -203,11 +204,16 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
203
204
|
- [BookmarksTimeline](docs/BookmarksTimeline.md)
|
|
204
205
|
- [Callback](docs/Callback.md)
|
|
205
206
|
- [CashtagAttachment](docs/CashtagAttachment.md)
|
|
207
|
+
- [CashtagInfo](docs/CashtagInfo.md)
|
|
208
|
+
- [ClickTrackingInfo](docs/ClickTrackingInfo.md)
|
|
206
209
|
- [ClientEventInfo](docs/ClientEventInfo.md)
|
|
210
|
+
- [ClientEventInfoDetails](docs/ClientEventInfoDetails.md)
|
|
207
211
|
- [CommunitiesActions](docs/CommunitiesActions.md)
|
|
208
212
|
- [Community](docs/Community.md)
|
|
209
213
|
- [CommunityAboutTimelineResponse](docs/CommunityAboutTimelineResponse.md)
|
|
210
214
|
- [CommunityActions](docs/CommunityActions.md)
|
|
215
|
+
- [CommunityBannerMedia](docs/CommunityBannerMedia.md)
|
|
216
|
+
- [CommunityBannerMediaInfo](docs/CommunityBannerMediaInfo.md)
|
|
211
217
|
- [CommunityDeleteActionResult](docs/CommunityDeleteActionResult.md)
|
|
212
218
|
- [CommunityDiscoveryTimelineResponse](docs/CommunityDiscoveryTimelineResponse.md)
|
|
213
219
|
- [CommunityDiscoveryTimelineResponseData](docs/CommunityDiscoveryTimelineResponseData.md)
|
|
@@ -219,6 +225,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
219
225
|
- [CommunityJoinRequestsResult](docs/CommunityJoinRequestsResult.md)
|
|
220
226
|
- [CommunityLeaveActionResult](docs/CommunityLeaveActionResult.md)
|
|
221
227
|
- [CommunityMediaTimelineResponse](docs/CommunityMediaTimelineResponse.md)
|
|
228
|
+
- [CommunityModerationState](docs/CommunityModerationState.md)
|
|
222
229
|
- [CommunityPinActionResult](docs/CommunityPinActionResult.md)
|
|
223
230
|
- [CommunityRelationship](docs/CommunityRelationship.md)
|
|
224
231
|
- [CommunityResult](docs/CommunityResult.md)
|
|
@@ -229,6 +236,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
229
236
|
- [CommunityUnpinActionResult](docs/CommunityUnpinActionResult.md)
|
|
230
237
|
- [CommunityUrls](docs/CommunityUrls.md)
|
|
231
238
|
- [CommunityUrlsPermalink](docs/CommunityUrlsPermalink.md)
|
|
239
|
+
- [CommunityViewerRelationship](docs/CommunityViewerRelationship.md)
|
|
232
240
|
- [ConnectTabTimelineResponse](docs/ConnectTabTimelineResponse.md)
|
|
233
241
|
- [ConnectTabTimelineResponseData](docs/ConnectTabTimelineResponseData.md)
|
|
234
242
|
- [ContentDisclosure](docs/ContentDisclosure.md)
|
|
@@ -238,6 +246,11 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
238
246
|
- [ContentItemType](docs/ContentItemType.md)
|
|
239
247
|
- [ContentUnion](docs/ContentUnion.md)
|
|
240
248
|
- [ConversationControl](docs/ConversationControl.md)
|
|
249
|
+
- [ConversationDetails](docs/ConversationDetails.md)
|
|
250
|
+
- [ConversationMetadata](docs/ConversationMetadata.md)
|
|
251
|
+
- [ConversationOwner](docs/ConversationOwner.md)
|
|
252
|
+
- [ConversationOwnerCore](docs/ConversationOwnerCore.md)
|
|
253
|
+
- [ConversationOwnerResults](docs/ConversationOwnerResults.md)
|
|
241
254
|
- [CoverCta](docs/CoverCta.md)
|
|
242
255
|
- [CreateBookmarkResponse](docs/CreateBookmarkResponse.md)
|
|
243
256
|
- [CreateBookmarkResponseData](docs/CreateBookmarkResponseData.md)
|
|
@@ -253,7 +266,12 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
253
266
|
- [CreateTweetResponseData](docs/CreateTweetResponseData.md)
|
|
254
267
|
- [CreateTweetResponseResult](docs/CreateTweetResponseResult.md)
|
|
255
268
|
- [CtaClientEventInfo](docs/CtaClientEventInfo.md)
|
|
269
|
+
- [CtaLimitedActionPrompt](docs/CtaLimitedActionPrompt.md)
|
|
270
|
+
- [CtaLimitedActionPromptText](docs/CtaLimitedActionPromptText.md)
|
|
256
271
|
- [CursorType](docs/CursorType.md)
|
|
272
|
+
- [DeepsearchHeader](docs/DeepsearchHeader.md)
|
|
273
|
+
- [DeepsearchStep](docs/DeepsearchStep.md)
|
|
274
|
+
- [DeepsearchWebResult](docs/DeepsearchWebResult.md)
|
|
257
275
|
- [DeleteBookmarkResponse](docs/DeleteBookmarkResponse.md)
|
|
258
276
|
- [DeleteBookmarkResponseData](docs/DeleteBookmarkResponseData.md)
|
|
259
277
|
- [DeleteDraftTweetsResponse](docs/DeleteDraftTweetsResponse.md)
|
|
@@ -289,6 +307,9 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
289
307
|
- [ExtendedEntities](docs/ExtendedEntities.md)
|
|
290
308
|
- [FavoriteTweet](docs/FavoriteTweet.md)
|
|
291
309
|
- [FavoriteTweetResponse](docs/FavoriteTweetResponse.md)
|
|
310
|
+
- [FeedbackAction](docs/FeedbackAction.md)
|
|
311
|
+
- [FeedbackActionEntry](docs/FeedbackActionEntry.md)
|
|
312
|
+
- [FeedbackClientEventInfo](docs/FeedbackClientEventInfo.md)
|
|
292
313
|
- [FeedbackInfo](docs/FeedbackInfo.md)
|
|
293
314
|
- [FetchDraftTweetsResponse](docs/FetchDraftTweetsResponse.md)
|
|
294
315
|
- [FetchDraftTweetsResponseData](docs/FetchDraftTweetsResponseData.md)
|
|
@@ -313,6 +334,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
313
334
|
- [GrokTranslatedCommunityNoteWithAvailability](docs/GrokTranslatedCommunityNoteWithAvailability.md)
|
|
314
335
|
- [GrokTranslatedPost](docs/GrokTranslatedPost.md)
|
|
315
336
|
- [GrokTranslatedPostWithAvailability](docs/GrokTranslatedPostWithAvailability.md)
|
|
337
|
+
- [Hashtag](docs/Hashtag.md)
|
|
316
338
|
- [Highlight](docs/Highlight.md)
|
|
317
339
|
- [HomeTimelineHome](docs/HomeTimelineHome.md)
|
|
318
340
|
- [HomeTimelineResponseData](docs/HomeTimelineResponseData.md)
|
|
@@ -320,10 +342,15 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
320
342
|
- [InstructionUnion](docs/InstructionUnion.md)
|
|
321
343
|
- [ItemContentUnion](docs/ItemContentUnion.md)
|
|
322
344
|
- [ItemResult](docs/ItemResult.md)
|
|
345
|
+
- [JetfuelAttachment](docs/JetfuelAttachment.md)
|
|
346
|
+
- [KeyValue](docs/KeyValue.md)
|
|
347
|
+
- [LandingUrl](docs/LandingUrl.md)
|
|
348
|
+
- [LimitedAction](docs/LimitedAction.md)
|
|
349
|
+
- [LimitedActionResults](docs/LimitedActionResults.md)
|
|
323
350
|
- [LimitedActionResultsData](docs/LimitedActionResultsData.md)
|
|
324
351
|
- [ListBannerMedia](docs/ListBannerMedia.md)
|
|
325
352
|
- [ListBannerMediaInfo](docs/ListBannerMediaInfo.md)
|
|
326
|
-
- [
|
|
353
|
+
- [ListBannerMediaResults](docs/ListBannerMediaResults.md)
|
|
327
354
|
- [ListLatestTweetsTimelineResponse](docs/ListLatestTweetsTimelineResponse.md)
|
|
328
355
|
- [ListMembersList](docs/ListMembersList.md)
|
|
329
356
|
- [ListMembersResponse](docs/ListMembersResponse.md)
|
|
@@ -340,6 +367,9 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
340
367
|
- [ListTweetsTimelineList](docs/ListTweetsTimelineList.md)
|
|
341
368
|
- [Location](docs/Location.md)
|
|
342
369
|
- [Media](docs/Media.md)
|
|
370
|
+
- [MediaColorInfo](docs/MediaColorInfo.md)
|
|
371
|
+
- [MediaColorInfoPalette](docs/MediaColorInfoPalette.md)
|
|
372
|
+
- [MediaColorInfoPaletteRGB](docs/MediaColorInfoPaletteRGB.md)
|
|
343
373
|
- [MediaCommunityResult](docs/MediaCommunityResult.md)
|
|
344
374
|
- [MediaCommunityResults](docs/MediaCommunityResults.md)
|
|
345
375
|
- [MediaCommunityTweetData](docs/MediaCommunityTweetData.md)
|
|
@@ -348,6 +378,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
348
378
|
- [MediaOriginalInfoFocusRect](docs/MediaOriginalInfoFocusRect.md)
|
|
349
379
|
- [MediaResult](docs/MediaResult.md)
|
|
350
380
|
- [MediaResults](docs/MediaResults.md)
|
|
381
|
+
- [MediaSalientRect](docs/MediaSalientRect.md)
|
|
351
382
|
- [MediaSize](docs/MediaSize.md)
|
|
352
383
|
- [MediaSizes](docs/MediaSizes.md)
|
|
353
384
|
- [MediaStats](docs/MediaStats.md)
|
|
@@ -356,7 +387,10 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
356
387
|
- [MediaVisibilityResults](docs/MediaVisibilityResults.md)
|
|
357
388
|
- [MediaVisibilityResultsBlurredImageInterstitial](docs/MediaVisibilityResultsBlurredImageInterstitial.md)
|
|
358
389
|
- [ModuleEntry](docs/ModuleEntry.md)
|
|
390
|
+
- [ModuleFooter](docs/ModuleFooter.md)
|
|
391
|
+
- [ModuleHeader](docs/ModuleHeader.md)
|
|
359
392
|
- [ModuleItem](docs/ModuleItem.md)
|
|
393
|
+
- [ModuleMetadata](docs/ModuleMetadata.md)
|
|
360
394
|
- [NoteTweet](docs/NoteTweet.md)
|
|
361
395
|
- [NoteTweetResult](docs/NoteTweetResult.md)
|
|
362
396
|
- [NoteTweetResultData](docs/NoteTweetResultData.md)
|
|
@@ -415,15 +449,18 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
415
449
|
- [ProfileBioEntitiesUrls](docs/ProfileBioEntitiesUrls.md)
|
|
416
450
|
- [ProfileResponse](docs/ProfileResponse.md)
|
|
417
451
|
- [ProfileResponseData](docs/ProfileResponseData.md)
|
|
452
|
+
- [PromotedMetadata](docs/PromotedMetadata.md)
|
|
418
453
|
- [QuotedRefResult](docs/QuotedRefResult.md)
|
|
419
454
|
- [QuotedStatusPermalink](docs/QuotedStatusPermalink.md)
|
|
420
455
|
- [RankedCommunityResult](docs/RankedCommunityResult.md)
|
|
421
456
|
- [RankedCommunityResults](docs/RankedCommunityResults.md)
|
|
422
457
|
- [RankedCommunityTweetData](docs/RankedCommunityTweetData.md)
|
|
458
|
+
- [ReaderModeConfig](docs/ReaderModeConfig.md)
|
|
423
459
|
- [Retweet](docs/Retweet.md)
|
|
424
460
|
- [RetweetLegacy](docs/RetweetLegacy.md)
|
|
425
461
|
- [RichMessage](docs/RichMessage.md)
|
|
426
462
|
- [ScheduledTweetsViewer](docs/ScheduledTweetsViewer.md)
|
|
463
|
+
- [ScribeConfig](docs/ScribeConfig.md)
|
|
427
464
|
- [SearchByRawQuery](docs/SearchByRawQuery.md)
|
|
428
465
|
- [SearchTimeline](docs/SearchTimeline.md)
|
|
429
466
|
- [SearchTimelineData](docs/SearchTimelineData.md)
|
|
@@ -433,6 +470,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
433
470
|
- [Session](docs/Session.md)
|
|
434
471
|
- [Smarttag](docs/Smarttag.md)
|
|
435
472
|
- [SmarttagTag](docs/SmarttagTag.md)
|
|
473
|
+
- [SmarttagTagInfo](docs/SmarttagTagInfo.md)
|
|
436
474
|
- [SocialContextLandingUrl](docs/SocialContextLandingUrl.md)
|
|
437
475
|
- [SocialContextUnion](docs/SocialContextUnion.md)
|
|
438
476
|
- [SocialContextUnionType](docs/SocialContextUnionType.md)
|
|
@@ -441,6 +479,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
441
479
|
- [SuperFollowsReplyUserResultCore](docs/SuperFollowsReplyUserResultCore.md)
|
|
442
480
|
- [SuperFollowsReplyUserResultData](docs/SuperFollowsReplyUserResultData.md)
|
|
443
481
|
- [SuperFollowsReplyUserResultLegacy](docs/SuperFollowsReplyUserResultLegacy.md)
|
|
482
|
+
- [Symbol](docs/Symbol.md)
|
|
444
483
|
- [Text](docs/Text.md)
|
|
445
484
|
- [TextEntity](docs/TextEntity.md)
|
|
446
485
|
- [TextEntityRef](docs/TextEntityRef.md)
|
|
@@ -461,13 +500,17 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
461
500
|
- [TimelineLabel](docs/TimelineLabel.md)
|
|
462
501
|
- [TimelineMarkEntriesUnreadGreaterThanSortIndex](docs/TimelineMarkEntriesUnreadGreaterThanSortIndex.md)
|
|
463
502
|
- [TimelineMessagePrompt](docs/TimelineMessagePrompt.md)
|
|
503
|
+
- [TimelineMetadata](docs/TimelineMetadata.md)
|
|
464
504
|
- [TimelineNotification](docs/TimelineNotification.md)
|
|
465
505
|
- [TimelinePinEntry](docs/TimelinePinEntry.md)
|
|
466
506
|
- [TimelinePrompt](docs/TimelinePrompt.md)
|
|
467
507
|
- [TimelineReplaceEntry](docs/TimelineReplaceEntry.md)
|
|
468
508
|
- [TimelineResponse](docs/TimelineResponse.md)
|
|
509
|
+
- [TimelineResponseObjects](docs/TimelineResponseObjects.md)
|
|
469
510
|
- [TimelineResult](docs/TimelineResult.md)
|
|
470
511
|
- [TimelineShowAlert](docs/TimelineShowAlert.md)
|
|
512
|
+
- [TimelineShowAlertColorConfig](docs/TimelineShowAlertColorConfig.md)
|
|
513
|
+
- [TimelineShowAlertIconDisplayInfo](docs/TimelineShowAlertIconDisplayInfo.md)
|
|
471
514
|
- [TimelineShowAlertRichText](docs/TimelineShowAlertRichText.md)
|
|
472
515
|
- [TimelineShowCover](docs/TimelineShowCover.md)
|
|
473
516
|
- [TimelineTerminateTimeline](docs/TimelineTerminateTimeline.md)
|
|
@@ -480,6 +523,7 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
480
523
|
- [TimelineTweet](docs/TimelineTweet.md)
|
|
481
524
|
- [TimelineTwitterList](docs/TimelineTwitterList.md)
|
|
482
525
|
- [TimelineUser](docs/TimelineUser.md)
|
|
526
|
+
- [TimelinesDetails](docs/TimelinesDetails.md)
|
|
483
527
|
- [Timestamp](docs/Timestamp.md)
|
|
484
528
|
- [TombstoneEntity](docs/TombstoneEntity.md)
|
|
485
529
|
- [TombstoneInfo](docs/TombstoneInfo.md)
|
|
@@ -552,11 +596,21 @@ All URIs are relative to *https://x.com/i/api*
|
|
|
552
596
|
- [UserHighlightsTweetsResult](docs/UserHighlightsTweetsResult.md)
|
|
553
597
|
- [UserHighlightsTweetsTimeline](docs/UserHighlightsTweetsTimeline.md)
|
|
554
598
|
- [UserHighlightsTweetsUser](docs/UserHighlightsTweetsUser.md)
|
|
599
|
+
- [UserLabel](docs/UserLabel.md)
|
|
600
|
+
- [UserLabelBadge](docs/UserLabelBadge.md)
|
|
601
|
+
- [UserLabelMentionResults](docs/UserLabelMentionResults.md)
|
|
602
|
+
- [UserLabelMentionUser](docs/UserLabelMentionUser.md)
|
|
603
|
+
- [UserLabelMentionUserCore](docs/UserLabelMentionUserCore.md)
|
|
604
|
+
- [UserLabelText](docs/UserLabelText.md)
|
|
605
|
+
- [UserLabelTextEntity](docs/UserLabelTextEntity.md)
|
|
606
|
+
- [UserLabelTextEntityRef](docs/UserLabelTextEntityRef.md)
|
|
607
|
+
- [UserLabelUrl](docs/UserLabelUrl.md)
|
|
555
608
|
- [UserLegacy](docs/UserLegacy.md)
|
|
556
609
|
- [UserLegacyExtendedProfile](docs/UserLegacyExtendedProfile.md)
|
|
557
610
|
- [UserLegacyExtendedProfileBirthdate](docs/UserLegacyExtendedProfileBirthdate.md)
|
|
558
611
|
- [UserLocation](docs/UserLocation.md)
|
|
559
612
|
- [UserMediaPermissions](docs/UserMediaPermissions.md)
|
|
613
|
+
- [UserMention](docs/UserMention.md)
|
|
560
614
|
- [UserNotificationsSettings](docs/UserNotificationsSettings.md)
|
|
561
615
|
- [UserPinnedItems](docs/UserPinnedItems.md)
|
|
562
616
|
- [UserPrivacy](docs/UserPrivacy.md)
|
|
@@ -773,7 +827,7 @@ and is automatically generated by the
|
|
|
773
827
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
774
828
|
|
|
775
829
|
- API version: `0.0.1`
|
|
776
|
-
- Package version: `0.0
|
|
830
|
+
- Package version: `0.1.0`
|
|
777
831
|
- Generator version: `7.26.0`
|
|
778
832
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
779
833
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { KeyValue } from './KeyValue';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdMetadataContainer
|
|
17
|
+
*/
|
|
18
|
+
export interface AdMetadataContainer {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
destinationUrlParams?: Array<KeyValue>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
isQuickPromote: boolean;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
renderLegacyWebsiteCard: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
renderSalesCtaWebsiteCard: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
showOverlayOnFirstCard?: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the AdMetadataContainer interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfAdMetadataContainer(value: object): value is AdMetadataContainer;
|
|
44
|
+
export declare function AdMetadataContainerFromJSON(json: any): AdMetadataContainer;
|
|
45
|
+
export declare function AdMetadataContainerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdMetadataContainer;
|
|
46
|
+
export declare function AdMetadataContainerToJSON(json: any): AdMetadataContainer;
|
|
47
|
+
export declare function AdMetadataContainerToJSONTyped(value?: AdMetadataContainer | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Twitter OpenAPI
|
|
5
|
+
* Twitter OpenAPI(Swagger) specification
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
* Contact: yuki@yuki0311.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { KeyValueFromJSON, KeyValueToJSON, } from './KeyValue';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AdMetadataContainer interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAdMetadataContainer(value) {
|
|
19
|
+
if (!('isQuickPromote' in value) || value['isQuickPromote'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('renderLegacyWebsiteCard' in value) || value['renderLegacyWebsiteCard'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('renderSalesCtaWebsiteCard' in value) || value['renderSalesCtaWebsiteCard'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function AdMetadataContainerFromJSON(json) {
|
|
28
|
+
return AdMetadataContainerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function AdMetadataContainerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'destinationUrlParams': json['destinationUrlParams'] == null ? undefined : (json['destinationUrlParams'].map(KeyValueFromJSON)),
|
|
36
|
+
'isQuickPromote': json['isQuickPromote'],
|
|
37
|
+
'renderLegacyWebsiteCard': json['renderLegacyWebsiteCard'],
|
|
38
|
+
'renderSalesCtaWebsiteCard': json['renderSalesCtaWebsiteCard'],
|
|
39
|
+
'showOverlayOnFirstCard': json['showOverlayOnFirstCard'] == null ? undefined : json['showOverlayOnFirstCard'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function AdMetadataContainerToJSON(json) {
|
|
43
|
+
return AdMetadataContainerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function AdMetadataContainerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'destinationUrlParams': value['destinationUrlParams'] == null ? undefined : (value['destinationUrlParams'].map(KeyValueToJSON)),
|
|
51
|
+
'isQuickPromote': value['isQuickPromote'],
|
|
52
|
+
'renderLegacyWebsiteCard': value['renderLegacyWebsiteCard'],
|
|
53
|
+
'renderSalesCtaWebsiteCard': value['renderSalesCtaWebsiteCard'],
|
|
54
|
+
'showOverlayOnFirstCard': value['showOverlayOnFirstCard'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UserLabel } from './UserLabel';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AffiliatesHighlightedLabel
|
|
17
|
+
*/
|
|
18
|
+
export interface AffiliatesHighlightedLabel {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
label?: UserLabel;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AffiliatesHighlightedLabel interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfAffiliatesHighlightedLabel(value: object): value is AffiliatesHighlightedLabel;
|
|
28
|
+
export declare function AffiliatesHighlightedLabelFromJSON(json: any): AffiliatesHighlightedLabel;
|
|
29
|
+
export declare function AffiliatesHighlightedLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AffiliatesHighlightedLabel;
|
|
30
|
+
export declare function AffiliatesHighlightedLabelToJSON(json: any): AffiliatesHighlightedLabel;
|
|
31
|
+
export declare function AffiliatesHighlightedLabelToJSONTyped(value?: AffiliatesHighlightedLabel | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Twitter OpenAPI
|
|
5
|
+
* Twitter OpenAPI(Swagger) specification
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
* Contact: yuki@yuki0311.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { UserLabelFromJSON, UserLabelToJSON, } from './UserLabel';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AffiliatesHighlightedLabel interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAffiliatesHighlightedLabel(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function AffiliatesHighlightedLabelFromJSON(json) {
|
|
22
|
+
return AffiliatesHighlightedLabelFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function AffiliatesHighlightedLabelFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'label': json['label'] == null ? undefined : UserLabelFromJSON(json['label']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function AffiliatesHighlightedLabelToJSON(json) {
|
|
33
|
+
return AffiliatesHighlightedLabelToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function AffiliatesHighlightedLabelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'label': UserLabelToJSON(value['label']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MediaColorInfo } from './MediaColorInfo';
|
|
13
|
+
import type { TypeName } from './TypeName';
|
|
14
|
+
import type { MediaSalientRect } from './MediaSalientRect';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ApiImage
|
|
19
|
+
*/
|
|
20
|
+
export interface ApiImage {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
typename: TypeName;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
colorInfo: MediaColorInfo;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
originalImgHeight: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
originalImgUrl: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
originalImgWidth: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
salientRect: MediaSalientRect;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ApiImage interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfApiImage(value: object): value is ApiImage;
|
|
50
|
+
export declare function ApiImageFromJSON(json: any): ApiImage;
|
|
51
|
+
export declare function ApiImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiImage;
|
|
52
|
+
export declare function ApiImageToJSON(json: any): ApiImage;
|
|
53
|
+
export declare function ApiImageToJSONTyped(value?: ApiImage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Twitter OpenAPI
|
|
5
|
+
* Twitter OpenAPI(Swagger) specification
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
* Contact: yuki@yuki0311.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { MediaColorInfoFromJSON, MediaColorInfoToJSON, } from './MediaColorInfo';
|
|
15
|
+
import { TypeNameFromJSON, TypeNameToJSON, } from './TypeName';
|
|
16
|
+
import { MediaSalientRectFromJSON, MediaSalientRectToJSON, } from './MediaSalientRect';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ApiImage interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfApiImage(value) {
|
|
21
|
+
if ((!('typename' in value) && !('__typename' in value)) || (value['typename'] === undefined && value['__typename'] === undefined))
|
|
22
|
+
return false;
|
|
23
|
+
if ((!('colorInfo' in value) && !('color_info' in value)) || (value['colorInfo'] === undefined && value['color_info'] === undefined))
|
|
24
|
+
return false;
|
|
25
|
+
if ((!('originalImgHeight' in value) && !('original_img_height' in value)) || (value['originalImgHeight'] === undefined && value['original_img_height'] === undefined))
|
|
26
|
+
return false;
|
|
27
|
+
if ((!('originalImgUrl' in value) && !('original_img_url' in value)) || (value['originalImgUrl'] === undefined && value['original_img_url'] === undefined))
|
|
28
|
+
return false;
|
|
29
|
+
if ((!('originalImgWidth' in value) && !('original_img_width' in value)) || (value['originalImgWidth'] === undefined && value['original_img_width'] === undefined))
|
|
30
|
+
return false;
|
|
31
|
+
if ((!('salientRect' in value) && !('salient_rect' in value)) || (value['salientRect'] === undefined && value['salient_rect'] === undefined))
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function ApiImageFromJSON(json) {
|
|
36
|
+
return ApiImageFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ApiImageFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'typename': TypeNameFromJSON(json['__typename']),
|
|
44
|
+
'colorInfo': MediaColorInfoFromJSON(json['color_info']),
|
|
45
|
+
'originalImgHeight': json['original_img_height'],
|
|
46
|
+
'originalImgUrl': json['original_img_url'],
|
|
47
|
+
'originalImgWidth': json['original_img_width'],
|
|
48
|
+
'salientRect': MediaSalientRectFromJSON(json['salient_rect']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function ApiImageToJSON(json) {
|
|
52
|
+
return ApiImageToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function ApiImageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'__typename': TypeNameToJSON(value['typename']),
|
|
60
|
+
'color_info': MediaColorInfoToJSON(value['colorInfo']),
|
|
61
|
+
'original_img_height': value['originalImgHeight'],
|
|
62
|
+
'original_img_url': value['originalImgUrl'],
|
|
63
|
+
'original_img_width': value['originalImgWidth'],
|
|
64
|
+
'salient_rect': MediaSalientRectToJSON(value['salientRect']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TypeName } from './TypeName';
|
|
13
|
+
import type { ApiImage } from './ApiImage';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ApiMedia
|
|
18
|
+
*/
|
|
19
|
+
export interface ApiMedia {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
typename: TypeName;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
mediaId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
mediaInfo: ApiImage;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
mediaKey: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the ApiMedia interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfApiMedia(value: object): value is ApiMedia;
|
|
45
|
+
export declare function ApiMediaFromJSON(json: any): ApiMedia;
|
|
46
|
+
export declare function ApiMediaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiMedia;
|
|
47
|
+
export declare function ApiMediaToJSON(json: any): ApiMedia;
|
|
48
|
+
export declare function ApiMediaToJSONTyped(value?: ApiMedia | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Twitter OpenAPI
|
|
5
|
+
* Twitter OpenAPI(Swagger) specification
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
* Contact: yuki@yuki0311.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { TypeNameFromJSON, TypeNameToJSON, } from './TypeName';
|
|
15
|
+
import { ApiImageFromJSON, ApiImageToJSON, } from './ApiImage';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ApiMedia interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfApiMedia(value) {
|
|
20
|
+
if ((!('typename' in value) && !('__typename' in value)) || (value['typename'] === undefined && value['__typename'] === undefined))
|
|
21
|
+
return false;
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if ((!('mediaId' in value) && !('media_id' in value)) || (value['mediaId'] === undefined && value['media_id'] === undefined))
|
|
25
|
+
return false;
|
|
26
|
+
if ((!('mediaInfo' in value) && !('media_info' in value)) || (value['mediaInfo'] === undefined && value['media_info'] === undefined))
|
|
27
|
+
return false;
|
|
28
|
+
if ((!('mediaKey' in value) && !('media_key' in value)) || (value['mediaKey'] === undefined && value['media_key'] === undefined))
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function ApiMediaFromJSON(json) {
|
|
33
|
+
return ApiMediaFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ApiMediaFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'typename': TypeNameFromJSON(json['__typename']),
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'mediaId': json['media_id'],
|
|
43
|
+
'mediaInfo': ApiImageFromJSON(json['media_info']),
|
|
44
|
+
'mediaKey': json['media_key'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function ApiMediaToJSON(json) {
|
|
48
|
+
return ApiMediaToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function ApiMediaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'__typename': TypeNameToJSON(value['typename']),
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'media_id': value['mediaId'],
|
|
58
|
+
'media_info': ApiImageToJSON(value['mediaInfo']),
|
|
59
|
+
'media_key': value['mediaKey'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { MediaColorInfo } from './MediaColorInfo';
|
|
12
13
|
import type { TypeName } from './TypeName';
|
|
13
|
-
import type { ArticleCoverMediaColorInfo } from './ArticleCoverMediaColorInfo';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -24,7 +24,7 @@ export interface ArticleCoverMediaInfo {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
|
-
colorInfo:
|
|
27
|
+
colorInfo: MediaColorInfo;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
*/
|