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
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the MediaSalientRect interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfMediaSalientRect(value) {
|
|
18
18
|
if (!('height' in value) || value['height'] === undefined)
|
|
19
19
|
return false;
|
|
20
20
|
if (!('left' in value) || value['left'] === undefined)
|
|
@@ -25,10 +25,10 @@ export function instanceOfListBannerMediaSalientRect(value) {
|
|
|
25
25
|
return false;
|
|
26
26
|
return true;
|
|
27
27
|
}
|
|
28
|
-
export function
|
|
29
|
-
return
|
|
28
|
+
export function MediaSalientRectFromJSON(json) {
|
|
29
|
+
return MediaSalientRectFromJSONTyped(json, false);
|
|
30
30
|
}
|
|
31
|
-
export function
|
|
31
|
+
export function MediaSalientRectFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
32
|
if (json == null) {
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
@@ -39,10 +39,10 @@ export function ListBannerMediaSalientRectFromJSONTyped(json, ignoreDiscriminato
|
|
|
39
39
|
'width': json['width'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
43
|
-
return
|
|
42
|
+
export function MediaSalientRectToJSON(json) {
|
|
43
|
+
return MediaSalientRectToJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
export function
|
|
45
|
+
export function MediaSalientRectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
46
|
if (value == null) {
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { LandingUrl } from './LandingUrl';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ModuleFooter
|
|
17
|
+
*/
|
|
18
|
+
export interface ModuleFooter {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
displayType: ModuleFooterDisplayTypeEnum;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
landingUrl: LandingUrl;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
text: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const ModuleFooterDisplayTypeEnum: {
|
|
36
|
+
readonly Classic: "Classic";
|
|
37
|
+
};
|
|
38
|
+
export type ModuleFooterDisplayTypeEnum = typeof ModuleFooterDisplayTypeEnum[keyof typeof ModuleFooterDisplayTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ModuleFooter interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfModuleFooter(value: object): value is ModuleFooter;
|
|
43
|
+
export declare function ModuleFooterFromJSON(json: any): ModuleFooter;
|
|
44
|
+
export declare function ModuleFooterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModuleFooter;
|
|
45
|
+
export declare function ModuleFooterToJSON(json: any): ModuleFooter;
|
|
46
|
+
export declare function ModuleFooterToJSONTyped(value?: ModuleFooter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { LandingUrlFromJSON, LandingUrlToJSON, } from './LandingUrl';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ModuleFooterDisplayTypeEnum = {
|
|
19
|
+
Classic: 'Classic',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ModuleFooter interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfModuleFooter(value) {
|
|
25
|
+
if (!('displayType' in value) || value['displayType'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['displayType'] !== 'Classic')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('landingUrl' in value) || value['landingUrl'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function ModuleFooterFromJSON(json) {
|
|
36
|
+
return ModuleFooterFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ModuleFooterFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'displayType': json['displayType'],
|
|
44
|
+
'landingUrl': LandingUrlFromJSON(json['landingUrl']),
|
|
45
|
+
'text': json['text'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function ModuleFooterToJSON(json) {
|
|
49
|
+
return ModuleFooterToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function ModuleFooterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'displayType': value['displayType'],
|
|
57
|
+
'landingUrl': LandingUrlToJSON(value['landingUrl']),
|
|
58
|
+
'text': value['text'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ModuleHeader
|
|
16
|
+
*/
|
|
17
|
+
export interface ModuleHeader {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
displayType: ModuleHeaderDisplayTypeEnum;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
sticky?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
text: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const ModuleHeaderDisplayTypeEnum: {
|
|
35
|
+
readonly Classic: "Classic";
|
|
36
|
+
};
|
|
37
|
+
export type ModuleHeaderDisplayTypeEnum = typeof ModuleHeaderDisplayTypeEnum[keyof typeof ModuleHeaderDisplayTypeEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ModuleHeader interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfModuleHeader(value: object): value is ModuleHeader;
|
|
42
|
+
export declare function ModuleHeaderFromJSON(json: any): ModuleHeader;
|
|
43
|
+
export declare function ModuleHeaderFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModuleHeader;
|
|
44
|
+
export declare function ModuleHeaderToJSON(json: any): ModuleHeader;
|
|
45
|
+
export declare function ModuleHeaderToJSONTyped(value?: ModuleHeader | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ModuleHeaderDisplayTypeEnum = {
|
|
18
|
+
Classic: 'Classic',
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ModuleHeader interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfModuleHeader(value) {
|
|
24
|
+
if (!('displayType' in value) || value['displayType'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (value['displayType'] !== 'Classic')
|
|
27
|
+
return false;
|
|
28
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function ModuleHeaderFromJSON(json) {
|
|
33
|
+
return ModuleHeaderFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ModuleHeaderFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'displayType': json['displayType'],
|
|
41
|
+
'sticky': json['sticky'] == null ? undefined : json['sticky'],
|
|
42
|
+
'text': json['text'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function ModuleHeaderToJSON(json) {
|
|
46
|
+
return ModuleHeaderToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function ModuleHeaderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'displayType': value['displayType'],
|
|
54
|
+
'sticky': value['sticky'],
|
|
55
|
+
'text': value['text'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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 { ConversationMetadata } from './ConversationMetadata';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ModuleMetadata
|
|
17
|
+
*/
|
|
18
|
+
export interface ModuleMetadata {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
conversationMetadata: ConversationMetadata;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ModuleMetadata interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfModuleMetadata(value: object): value is ModuleMetadata;
|
|
28
|
+
export declare function ModuleMetadataFromJSON(json: any): ModuleMetadata;
|
|
29
|
+
export declare function ModuleMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModuleMetadata;
|
|
30
|
+
export declare function ModuleMetadataToJSON(json: any): ModuleMetadata;
|
|
31
|
+
export declare function ModuleMetadataToJSONTyped(value?: ModuleMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { ConversationMetadataFromJSON, ConversationMetadataToJSON, } from './ConversationMetadata';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ModuleMetadata interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfModuleMetadata(value) {
|
|
19
|
+
if (!('conversationMetadata' in value) || value['conversationMetadata'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ModuleMetadataFromJSON(json) {
|
|
24
|
+
return ModuleMetadataFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ModuleMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'conversationMetadata': ConversationMetadataFromJSON(json['conversationMetadata']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function ModuleMetadataToJSON(json) {
|
|
35
|
+
return ModuleMetadataToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ModuleMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'conversationMetadata': ConversationMetadataToJSON(value['conversationMetadata']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { AdMetadataContainer } from './AdMetadataContainer';
|
|
13
|
+
import type { UserResults } from './UserResults';
|
|
14
|
+
import type { ClickTrackingInfo } from './ClickTrackingInfo';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PromotedMetadata
|
|
19
|
+
*/
|
|
20
|
+
export interface PromotedMetadata {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
adMetadataContainer: AdMetadataContainer;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
advertiserResults: UserResults;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
clickTrackingInfo: ClickTrackingInfo;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
impressionId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
impressionString: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PromotedMetadata interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfPromotedMetadata(value: object): value is PromotedMetadata;
|
|
46
|
+
export declare function PromotedMetadataFromJSON(json: any): PromotedMetadata;
|
|
47
|
+
export declare function PromotedMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromotedMetadata;
|
|
48
|
+
export declare function PromotedMetadataToJSON(json: any): PromotedMetadata;
|
|
49
|
+
export declare function PromotedMetadataToJSONTyped(value?: PromotedMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { AdMetadataContainerFromJSON, AdMetadataContainerToJSON, } from './AdMetadataContainer';
|
|
15
|
+
import { UserResultsFromJSON, UserResultsToJSON, } from './UserResults';
|
|
16
|
+
import { ClickTrackingInfoFromJSON, ClickTrackingInfoToJSON, } from './ClickTrackingInfo';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PromotedMetadata interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfPromotedMetadata(value) {
|
|
21
|
+
if (!('adMetadataContainer' in value) || value['adMetadataContainer'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if ((!('advertiserResults' in value) && !('advertiser_results' in value)) || (value['advertiserResults'] === undefined && value['advertiser_results'] === undefined))
|
|
24
|
+
return false;
|
|
25
|
+
if (!('clickTrackingInfo' in value) || value['clickTrackingInfo'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('impressionId' in value) || value['impressionId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('impressionString' in value) || value['impressionString'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function PromotedMetadataFromJSON(json) {
|
|
34
|
+
return PromotedMetadataFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PromotedMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'adMetadataContainer': AdMetadataContainerFromJSON(json['adMetadataContainer']),
|
|
42
|
+
'advertiserResults': UserResultsFromJSON(json['advertiser_results']),
|
|
43
|
+
'clickTrackingInfo': ClickTrackingInfoFromJSON(json['clickTrackingInfo']),
|
|
44
|
+
'impressionId': json['impressionId'],
|
|
45
|
+
'impressionString': json['impressionString'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function PromotedMetadataToJSON(json) {
|
|
49
|
+
return PromotedMetadataToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function PromotedMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'adMetadataContainer': AdMetadataContainerToJSON(value['adMetadataContainer']),
|
|
57
|
+
'advertiser_results': UserResultsToJSON(value['advertiserResults']),
|
|
58
|
+
'clickTrackingInfo': ClickTrackingInfoToJSON(value['clickTrackingInfo']),
|
|
59
|
+
'impressionId': value['impressionId'],
|
|
60
|
+
'impressionString': value['impressionString'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReaderModeConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface ReaderModeConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
isReaderModeAvailable: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ReaderModeConfig interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfReaderModeConfig(value: object): value is ReaderModeConfig;
|
|
27
|
+
export declare function ReaderModeConfigFromJSON(json: any): ReaderModeConfig;
|
|
28
|
+
export declare function ReaderModeConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReaderModeConfig;
|
|
29
|
+
export declare function ReaderModeConfigToJSON(json: any): ReaderModeConfig;
|
|
30
|
+
export declare function ReaderModeConfigToJSONTyped(value?: ReaderModeConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ReaderModeConfig interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReaderModeConfig(value) {
|
|
18
|
+
if ((!('isReaderModeAvailable' in value) && !('is_reader_mode_available' in value)) || (value['isReaderModeAvailable'] === undefined && value['is_reader_mode_available'] === undefined))
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ReaderModeConfigFromJSON(json) {
|
|
23
|
+
return ReaderModeConfigFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ReaderModeConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'isReaderModeAvailable': json['is_reader_mode_available'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ReaderModeConfigToJSON(json) {
|
|
34
|
+
return ReaderModeConfigToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ReaderModeConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'is_reader_mode_available': value['isReaderModeAvailable'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScribeConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface ScribeConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
page: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ScribeConfig interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfScribeConfig(value: object): value is ScribeConfig;
|
|
27
|
+
export declare function ScribeConfigFromJSON(json: any): ScribeConfig;
|
|
28
|
+
export declare function ScribeConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScribeConfig;
|
|
29
|
+
export declare function ScribeConfigToJSON(json: any): ScribeConfig;
|
|
30
|
+
export declare function ScribeConfigToJSONTyped(value?: ScribeConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ScribeConfig interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfScribeConfig(value) {
|
|
18
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ScribeConfigFromJSON(json) {
|
|
23
|
+
return ScribeConfigFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ScribeConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'page': json['page'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ScribeConfigToJSON(json) {
|
|
34
|
+
return ScribeConfigToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ScribeConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'page': value['page'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SmarttagTagInfo } from './SmarttagTagInfo';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -18,9 +19,7 @@ export interface SmarttagTag {
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
21
|
*/
|
|
21
|
-
info:
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
};
|
|
22
|
+
info: SmarttagTagInfo;
|
|
24
23
|
}
|
|
25
24
|
/**
|
|
26
25
|
* Check if a given object implements the SmarttagTag interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { SmarttagTagInfoFromJSON, SmarttagTagInfoToJSON, } from './SmarttagTagInfo';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the SmarttagTag interface.
|
|
16
17
|
*/
|
|
@@ -27,7 +28,7 @@ export function SmarttagTagFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
28
|
return json;
|
|
28
29
|
}
|
|
29
30
|
return {
|
|
30
|
-
'info': json['info'],
|
|
31
|
+
'info': SmarttagTagInfoFromJSON(json['info']),
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
export function SmarttagTagToJSON(json) {
|
|
@@ -38,6 +39,6 @@ export function SmarttagTagToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
38
39
|
return value;
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
|
-
'info': value['info'],
|
|
42
|
+
'info': SmarttagTagInfoToJSON(value['info']),
|
|
42
43
|
};
|
|
43
44
|
}
|
|
@@ -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 { CashtagInfo } from './CashtagInfo';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SmarttagTagInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface SmarttagTagInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
info?: CashtagInfo;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the SmarttagTagInfo interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfSmarttagTagInfo(value: object): value is SmarttagTagInfo;
|
|
28
|
+
export declare function SmarttagTagInfoFromJSON(json: any): SmarttagTagInfo;
|
|
29
|
+
export declare function SmarttagTagInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmarttagTagInfo;
|
|
30
|
+
export declare function SmarttagTagInfoToJSON(json: any): SmarttagTagInfo;
|
|
31
|
+
export declare function SmarttagTagInfoToJSONTyped(value?: SmarttagTagInfo | null, ignoreDiscriminator?: boolean): any;
|