twitter-openapi-typescript-generated 0.1.0 → 0.1.2
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 +146 -11
- package/dist/apis/BirdwatchApi.d.ts +148 -0
- package/dist/apis/BirdwatchApi.js +606 -0
- package/dist/apis/CommunityApi.d.ts +171 -0
- package/dist/apis/CommunityApi.js +716 -0
- package/dist/apis/DefaultApi.d.ts +119 -0
- package/dist/apis/DefaultApi.js +556 -0
- package/dist/apis/TweetApi.d.ts +54 -0
- package/dist/apis/TweetApi.js +232 -0
- package/dist/apis/UserListApi.d.ts +80 -0
- package/dist/apis/UserListApi.js +347 -0
- package/dist/apis/UsersApi.d.ts +27 -0
- package/dist/apis/UsersApi.js +116 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/BirdwatchApi.d.ts +148 -0
- package/dist/esm/apis/BirdwatchApi.js +602 -0
- package/dist/esm/apis/CommunityApi.d.ts +171 -0
- package/dist/esm/apis/CommunityApi.js +712 -0
- package/dist/esm/apis/DefaultApi.d.ts +119 -0
- package/dist/esm/apis/DefaultApi.js +556 -0
- package/dist/esm/apis/TweetApi.d.ts +54 -0
- package/dist/esm/apis/TweetApi.js +232 -0
- package/dist/esm/apis/UserListApi.d.ts +80 -0
- package/dist/esm/apis/UserListApi.js +347 -0
- package/dist/esm/apis/UsersApi.d.ts +27 -0
- package/dist/esm/apis/UsersApi.js +116 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AdMetadataContainer.d.ts +4 -0
- package/dist/esm/models/AdMetadataContainer.js +2 -0
- package/dist/esm/models/AuthenticatePeriscopeResponse.d.ts +36 -0
- package/dist/esm/models/AuthenticatePeriscopeResponse.js +47 -0
- package/dist/esm/models/AuthenticatePeriscopeResponseData.d.ts +30 -0
- package/dist/esm/models/AuthenticatePeriscopeResponseData.js +43 -0
- package/dist/esm/models/BirdwatchAliasSelfSelectStatus.d.ts +34 -0
- package/dist/esm/models/BirdwatchAliasSelfSelectStatus.js +47 -0
- package/dist/esm/models/BirdwatchFetchAliasSelfSelectStatusResponse.d.ts +36 -0
- package/dist/esm/models/BirdwatchFetchAliasSelfSelectStatusResponse.js +47 -0
- package/dist/esm/models/BirdwatchFetchAliasSelfSelectStatusResponseData.d.ts +31 -0
- package/dist/esm/models/BirdwatchFetchAliasSelfSelectStatusResponseData.js +44 -0
- package/dist/esm/models/BirdwatchFetchAuthenticatedUserProfileResponse.d.ts +36 -0
- package/dist/esm/models/BirdwatchFetchAuthenticatedUserProfileResponse.js +47 -0
- package/dist/esm/models/BirdwatchFetchAuthenticatedUserProfileResponseData.d.ts +31 -0
- package/dist/esm/models/BirdwatchFetchAuthenticatedUserProfileResponseData.js +44 -0
- package/dist/esm/models/BirdwatchFetchBirdwatchProfileResponse.d.ts +36 -0
- package/dist/esm/models/BirdwatchFetchBirdwatchProfileResponse.js +47 -0
- package/dist/esm/models/BirdwatchFetchBirdwatchProfileResponseData.d.ts +31 -0
- package/dist/esm/models/BirdwatchFetchBirdwatchProfileResponseData.js +44 -0
- package/dist/esm/models/BirdwatchFetchGlobalTimelineResponse.d.ts +36 -0
- package/dist/esm/models/BirdwatchFetchGlobalTimelineResponse.js +47 -0
- package/dist/esm/models/BirdwatchFetchGlobalTimelineResponseData.d.ts +31 -0
- package/dist/esm/models/BirdwatchFetchGlobalTimelineResponseData.js +44 -0
- package/dist/esm/models/BirdwatchFetchPublicDataResponse.d.ts +36 -0
- package/dist/esm/models/BirdwatchFetchPublicDataResponse.js +47 -0
- package/dist/esm/models/BirdwatchFetchPublicDataResponseData.d.ts +31 -0
- package/dist/esm/models/BirdwatchFetchPublicDataResponseData.js +44 -0
- package/dist/esm/models/BirdwatchHomePage.d.ts +40 -0
- package/dist/esm/models/BirdwatchHomePage.js +53 -0
- package/dist/esm/models/BirdwatchHomePageBody.d.ts +40 -0
- package/dist/esm/models/BirdwatchHomePageBody.js +53 -0
- package/dist/esm/models/BirdwatchHomeTimeline.d.ts +39 -0
- package/dist/esm/models/BirdwatchHomeTimeline.js +52 -0
- package/dist/esm/models/BirdwatchProfile.d.ts +30 -0
- package/dist/esm/models/BirdwatchProfile.js +43 -0
- package/dist/esm/models/BirdwatchPublicDataFile.d.ts +34 -0
- package/dist/esm/models/BirdwatchPublicDataFile.js +47 -0
- package/dist/esm/models/BirdwatchPublicDataFileBundle.d.ts +47 -0
- package/dist/esm/models/BirdwatchPublicDataFileBundle.js +60 -0
- package/dist/esm/models/BirdwatchViewer.d.ts +31 -0
- package/dist/esm/models/BirdwatchViewer.js +44 -0
- package/dist/esm/models/BookmarkSearch.d.ts +31 -0
- package/dist/esm/models/BookmarkSearch.js +44 -0
- package/dist/esm/models/BookmarkSearchTimelineResponse.d.ts +36 -0
- package/dist/esm/models/BookmarkSearchTimelineResponse.js +47 -0
- package/dist/esm/models/BookmarkSearchTimelineResponseData.d.ts +31 -0
- package/dist/esm/models/BookmarkSearchTimelineResponseData.js +44 -0
- package/dist/esm/models/ClientEventInfoDetails.d.ts +6 -1
- package/dist/esm/models/ClientEventInfoDetails.js +4 -3
- package/dist/esm/models/CommunitiesFetchOneQueryResponse.d.ts +36 -0
- package/dist/esm/models/CommunitiesFetchOneQueryResponse.js +47 -0
- package/dist/esm/models/CommunitiesFetchOneQueryResponseData.d.ts +31 -0
- package/dist/esm/models/CommunitiesFetchOneQueryResponseData.js +44 -0
- package/dist/esm/models/CommunitiesSearchQueryResponse.d.ts +36 -0
- package/dist/esm/models/CommunitiesSearchQueryResponse.js +47 -0
- package/dist/esm/models/CommunitiesSearchQueryResponseData.d.ts +31 -0
- package/dist/esm/models/CommunitiesSearchQueryResponseData.js +44 -0
- package/dist/esm/models/CommunitiesSearchSlice.d.ts +36 -0
- package/dist/esm/models/CommunitiesSearchSlice.js +49 -0
- package/dist/esm/models/Community.d.ts +4 -0
- package/dist/esm/models/Community.js +2 -0
- package/dist/esm/models/CommunityFacepileUser.d.ts +40 -0
- package/dist/esm/models/CommunityFacepileUser.js +53 -0
- package/dist/esm/models/CommunityFacepileUserResults.d.ts +35 -0
- package/dist/esm/models/CommunityFacepileUserResults.js +48 -0
- package/dist/esm/models/CommunityHashtag.d.ts +34 -0
- package/dist/esm/models/CommunityHashtag.js +47 -0
- package/dist/esm/models/CommunityHashtagSlice.d.ts +36 -0
- package/dist/esm/models/CommunityHashtagSlice.js +49 -0
- package/dist/esm/models/CommunityIdUserResults.d.ts +35 -0
- package/dist/esm/models/CommunityIdUserResults.js +48 -0
- package/dist/esm/models/CommunityListMembersActionResult.d.ts +31 -0
- package/dist/esm/models/CommunityListMembersActionResult.js +44 -0
- package/dist/esm/models/CommunityPageActions.d.ts +50 -0
- package/dist/esm/models/CommunityPageActions.js +63 -0
- package/dist/esm/models/CommunityPageCommunity.d.ts +130 -0
- package/dist/esm/models/CommunityPageCommunity.js +143 -0
- package/dist/esm/models/CommunityPageDeleteActionResult.d.ts +39 -0
- package/dist/esm/models/CommunityPageDeleteActionResult.js +52 -0
- package/dist/esm/models/CommunityPageInvitesResult.d.ts +43 -0
- package/dist/esm/models/CommunityPageInvitesResult.js +56 -0
- package/dist/esm/models/CommunityPageJoinActionResult.d.ts +35 -0
- package/dist/esm/models/CommunityPageJoinActionResult.js +48 -0
- package/dist/esm/models/CommunityPageLeaveActionResult.d.ts +43 -0
- package/dist/esm/models/CommunityPageLeaveActionResult.js +56 -0
- package/dist/esm/models/CommunityPagePinActionResult.d.ts +35 -0
- package/dist/esm/models/CommunityPagePinActionResult.js +48 -0
- package/dist/esm/models/CommunityPageResults.d.ts +35 -0
- package/dist/esm/models/CommunityPageResults.js +48 -0
- package/dist/esm/models/CommunityPrimaryTopicName.d.ts +30 -0
- package/dist/esm/models/CommunityPrimaryTopicName.js +43 -0
- package/dist/esm/models/CommunityQueryResponse.d.ts +36 -0
- package/dist/esm/models/CommunityQueryResponse.js +47 -0
- package/dist/esm/models/CommunityQueryResponseData.d.ts +31 -0
- package/dist/esm/models/CommunityQueryResponseData.js +44 -0
- package/dist/esm/models/CommunityRelayRule.d.ts +42 -0
- package/dist/esm/models/CommunityRelayRule.js +53 -0
- package/dist/esm/models/CommunitySearchCommunity.d.ts +70 -0
- package/dist/esm/models/CommunitySearchCommunity.js +79 -0
- package/dist/esm/models/CommunitySearchResults.d.ts +35 -0
- package/dist/esm/models/CommunitySearchResults.js +48 -0
- package/dist/esm/models/CommunitySettingsActions.d.ts +40 -0
- package/dist/esm/models/CommunitySettingsActions.js +53 -0
- package/dist/esm/models/CommunitySettingsCommunity.d.ts +120 -0
- package/dist/esm/models/CommunitySettingsCommunity.js +133 -0
- package/dist/esm/models/CommunitySettingsCreator.d.ts +49 -0
- package/dist/esm/models/CommunitySettingsCreator.js +62 -0
- package/dist/esm/models/CommunitySettingsCreatorCore.d.ts +30 -0
- package/dist/esm/models/CommunitySettingsCreatorCore.js +43 -0
- package/dist/esm/models/CommunitySettingsCreatorResults.d.ts +35 -0
- package/dist/esm/models/CommunitySettingsCreatorResults.js +48 -0
- package/dist/esm/models/CommunitySettingsCreatorVerification.d.ts +30 -0
- package/dist/esm/models/CommunitySettingsCreatorVerification.js +43 -0
- package/dist/esm/models/CommunitySettingsInvitesResult.d.ts +31 -0
- package/dist/esm/models/CommunitySettingsInvitesResult.js +44 -0
- package/dist/esm/models/CommunitySettingsResults.d.ts +35 -0
- package/dist/esm/models/CommunitySettingsResults.js +48 -0
- package/dist/esm/models/CommunitySubtopic.d.ts +34 -0
- package/dist/esm/models/CommunitySubtopic.js +47 -0
- package/dist/esm/models/CommunityTopic.d.ts +39 -0
- package/dist/esm/models/CommunityTopic.js +52 -0
- package/dist/esm/models/CommunityTopicResults.d.ts +31 -0
- package/dist/esm/models/CommunityTopicResults.js +44 -0
- package/dist/esm/models/ContentItemType.d.ts +1 -0
- package/dist/esm/models/ContentItemType.js +1 -0
- package/dist/esm/models/CreatorStudioTabBarItemQueryResponse.d.ts +36 -0
- package/dist/esm/models/CreatorStudioTabBarItemQueryResponse.js +47 -0
- package/dist/esm/models/CreatorStudioTabBarItemQueryResponseData.d.ts +30 -0
- package/dist/esm/models/CreatorStudioTabBarItemQueryResponseData.js +43 -0
- package/dist/esm/models/DataSaverModeResponse.d.ts +36 -0
- package/dist/esm/models/DataSaverModeResponse.js +47 -0
- package/dist/esm/models/DataSaverModeResponseData.d.ts +30 -0
- package/dist/esm/models/DataSaverModeResponseData.js +43 -0
- package/dist/esm/models/ErrorExtensions.d.ts +1 -1
- package/dist/esm/models/ErrorExtensions.js +1 -3
- package/dist/esm/models/ErrorResponse.d.ts +1 -1
- package/dist/esm/models/ErrorResponse.js +1 -3
- package/dist/esm/models/EventSummaryAdMetadataContainer.d.ts +34 -0
- package/dist/esm/models/EventSummaryAdMetadataContainer.js +47 -0
- package/dist/esm/models/EventSummaryEvent.d.ts +30 -0
- package/dist/esm/models/EventSummaryEvent.js +43 -0
- package/dist/esm/models/EventSummaryMedia.d.ts +36 -0
- package/dist/esm/models/EventSummaryMedia.js +49 -0
- package/dist/esm/models/EventSummaryMediaEntity.d.ts +35 -0
- package/dist/esm/models/EventSummaryMediaEntity.js +48 -0
- package/dist/esm/models/EventSummaryMediaKey.d.ts +34 -0
- package/dist/esm/models/EventSummaryMediaKey.js +47 -0
- package/dist/esm/models/EventSummaryPromotedMetadata.d.ts +65 -0
- package/dist/esm/models/EventSummaryPromotedMetadata.js +78 -0
- package/dist/esm/models/ExploreSidebarResponse.d.ts +36 -0
- package/dist/esm/models/ExploreSidebarResponse.js +47 -0
- package/dist/esm/models/ExploreSidebarResponseData.d.ts +31 -0
- package/dist/esm/models/ExploreSidebarResponseData.js +44 -0
- package/dist/esm/models/FeedbackAction.d.ts +1 -12
- package/dist/esm/models/FeedbackAction.js +0 -10
- package/dist/esm/models/GlobalCommunitiesLatestPostSearch.d.ts +31 -0
- package/dist/esm/models/GlobalCommunitiesLatestPostSearch.js +44 -0
- package/dist/esm/models/GlobalCommunitiesLatestPostSearchTimelineResponse.d.ts +36 -0
- package/dist/esm/models/GlobalCommunitiesLatestPostSearchTimelineResponse.js +47 -0
- package/dist/esm/models/GlobalCommunitiesLatestPostSearchTimelineResponseData.d.ts +31 -0
- package/dist/esm/models/GlobalCommunitiesLatestPostSearchTimelineResponseData.js +44 -0
- package/dist/esm/models/GlobalCommunitiesPostSearch.d.ts +31 -0
- package/dist/esm/models/GlobalCommunitiesPostSearch.js +44 -0
- package/dist/esm/models/GlobalCommunitiesPostSearchTimelineResponse.d.ts +36 -0
- package/dist/esm/models/GlobalCommunitiesPostSearchTimelineResponse.js +47 -0
- package/dist/esm/models/GlobalCommunitiesPostSearchTimelineResponseData.d.ts +31 -0
- package/dist/esm/models/GlobalCommunitiesPostSearchTimelineResponseData.js +44 -0
- package/dist/esm/models/GrokHome.d.ts +60 -0
- package/dist/esm/models/GrokHome.js +73 -0
- package/dist/esm/models/GrokHomeLayout.d.ts +35 -0
- package/dist/esm/models/GrokHomeLayout.js +48 -0
- package/dist/esm/models/GrokHomeLayoutSection.d.ts +35 -0
- package/dist/esm/models/GrokHomeLayoutSection.js +48 -0
- package/dist/esm/models/GrokHomePrompt.d.ts +50 -0
- package/dist/esm/models/GrokHomePrompt.js +63 -0
- package/dist/esm/models/GrokHomeResponse.d.ts +36 -0
- package/dist/esm/models/GrokHomeResponse.js +47 -0
- package/dist/esm/models/GrokHomeResponseData.d.ts +31 -0
- package/dist/esm/models/GrokHomeResponseData.js +44 -0
- package/dist/esm/models/GrokModelOption.d.ts +58 -0
- package/dist/esm/models/GrokModelOption.js +71 -0
- package/dist/esm/models/GroupedTrend.d.ts +35 -0
- package/dist/esm/models/GroupedTrend.js +48 -0
- package/dist/esm/models/ItemContentUnion.d.ts +3 -0
- package/dist/esm/models/ItemContentUnion.js +5 -0
- package/dist/esm/models/ListSearch.d.ts +31 -0
- package/dist/esm/models/ListSearch.js +44 -0
- package/dist/esm/models/ListSearchTimelineResponse.d.ts +36 -0
- package/dist/esm/models/ListSearchTimelineResponse.js +47 -0
- package/dist/esm/models/ListSearchTimelineResponseData.d.ts +31 -0
- package/dist/esm/models/ListSearchTimelineResponseData.js +44 -0
- package/dist/esm/models/ListsManagementPageTimelineResponse.d.ts +36 -0
- package/dist/esm/models/ListsManagementPageTimelineResponse.js +47 -0
- package/dist/esm/models/ListsManagementPageTimelineResponseData.d.ts +31 -0
- package/dist/esm/models/ListsManagementPageTimelineResponseData.js +44 -0
- package/dist/esm/models/ListsManagementViewer.d.ts +31 -0
- package/dist/esm/models/ListsManagementViewer.js +44 -0
- package/dist/esm/models/ModuleFooter.d.ts +1 -8
- package/dist/esm/models/ModuleFooter.js +0 -8
- package/dist/esm/models/NotificationDetails.d.ts +34 -0
- package/dist/esm/models/NotificationDetails.js +47 -0
- package/dist/esm/models/PinnedTimelines.d.ts +30 -0
- package/dist/esm/models/PinnedTimelines.js +43 -0
- package/dist/esm/models/PinnedTimelinesResponse.d.ts +36 -0
- package/dist/esm/models/PinnedTimelinesResponse.js +47 -0
- package/dist/esm/models/PinnedTimelinesResponseData.d.ts +31 -0
- package/dist/esm/models/PinnedTimelinesResponseData.js +44 -0
- package/dist/esm/models/PromotedTrend.d.ts +30 -0
- package/dist/esm/models/PromotedTrend.js +43 -0
- package/dist/esm/models/RichMessage.d.ts +5 -0
- package/dist/esm/models/RichMessage.js +3 -0
- package/dist/esm/models/RichMessageEntity.d.ts +39 -0
- package/dist/esm/models/RichMessageEntity.js +52 -0
- package/dist/esm/models/RichMessageEntityRef.d.ts +51 -0
- package/dist/esm/models/RichMessageEntityRef.js +57 -0
- package/dist/esm/models/SearchTimeline.d.ts +1 -1
- package/dist/esm/models/SearchTimeline.js +1 -3
- package/dist/esm/models/SliceInfo.d.ts +30 -0
- package/dist/esm/models/SliceInfo.js +43 -0
- package/dist/esm/models/TimelineCommunity.d.ts +11 -2
- package/dist/esm/models/TimelineCommunity.js +18 -2
- package/dist/esm/models/TimelineEventSummary.d.ts +64 -0
- package/dist/esm/models/TimelineEventSummary.js +77 -0
- package/dist/esm/models/TimelineMessagePrompt.d.ts +11 -2
- package/dist/esm/models/TimelineMessagePrompt.js +18 -2
- package/dist/esm/models/TimelineMessagePromptButton.d.ts +35 -0
- package/dist/esm/models/TimelineMessagePromptButton.js +48 -0
- package/dist/esm/models/TimelineMessagePromptButtonAction.d.ts +34 -0
- package/dist/esm/models/TimelineMessagePromptButtonAction.js +47 -0
- package/dist/esm/models/TimelineMessagePromptContent.d.ts +56 -0
- package/dist/esm/models/TimelineMessagePromptContent.js +62 -0
- package/dist/esm/models/TimelineMessagePromptRichText.d.ts +35 -0
- package/dist/esm/models/TimelineMessagePromptRichText.js +48 -0
- package/dist/esm/models/TimelineMessagePromptRichTextEntity.d.ts +39 -0
- package/dist/esm/models/TimelineMessagePromptRichTextEntity.js +52 -0
- package/dist/esm/models/TimelineMessagePromptRichTextEntityRef.d.ts +52 -0
- package/dist/esm/models/TimelineMessagePromptRichTextEntityRef.js +67 -0
- package/dist/esm/models/TimelinePrompt.d.ts +16 -2
- package/dist/esm/models/TimelinePrompt.js +23 -2
- package/dist/esm/models/TimelinePromptCallback.d.ts +30 -0
- package/dist/esm/models/TimelinePromptCallback.js +43 -0
- package/dist/esm/models/TimelinePromptContent.d.ts +73 -0
- package/dist/esm/models/TimelinePromptContent.js +88 -0
- package/dist/esm/models/TimelineTrend.d.ts +14 -0
- package/dist/esm/models/TimelineTrend.js +8 -0
- package/dist/esm/models/TopicCarouselQueryResponse.d.ts +36 -0
- package/dist/esm/models/TopicCarouselQueryResponse.js +47 -0
- package/dist/esm/models/TopicCarouselQueryResponseData.d.ts +31 -0
- package/dist/esm/models/TopicCarouselQueryResponseData.js +44 -0
- package/dist/esm/models/TrendMetadata.d.ts +4 -0
- package/dist/esm/models/TrendMetadata.js +2 -0
- package/dist/esm/models/TrendPromotedMetadata.d.ts +60 -0
- package/dist/esm/models/TrendPromotedMetadata.js +73 -0
- package/dist/esm/models/TypeName.d.ts +3 -0
- package/dist/esm/models/TypeName.js +3 -0
- package/dist/esm/models/UsersVerifiedAvatarsResponse.d.ts +36 -0
- package/dist/esm/models/UsersVerifiedAvatarsResponse.js +47 -0
- package/dist/esm/models/UsersVerifiedAvatarsResponseData.d.ts +31 -0
- package/dist/esm/models/UsersVerifiedAvatarsResponseData.js +44 -0
- package/dist/esm/models/VerifiedAvatarUser.d.ts +52 -0
- package/dist/esm/models/VerifiedAvatarUser.js +65 -0
- package/dist/esm/models/VerifiedAvatarUserResults.d.ts +31 -0
- package/dist/esm/models/VerifiedAvatarUserResults.js +44 -0
- package/dist/esm/models/index.d.ts +115 -0
- package/dist/esm/models/index.js +115 -0
- package/dist/models/AdMetadataContainer.d.ts +4 -0
- package/dist/models/AdMetadataContainer.js +2 -0
- package/dist/models/AuthenticatePeriscopeResponse.d.ts +36 -0
- package/dist/models/AuthenticatePeriscopeResponse.js +54 -0
- package/dist/models/AuthenticatePeriscopeResponseData.d.ts +30 -0
- package/dist/models/AuthenticatePeriscopeResponseData.js +50 -0
- package/dist/models/BirdwatchAliasSelfSelectStatus.d.ts +34 -0
- package/dist/models/BirdwatchAliasSelfSelectStatus.js +54 -0
- package/dist/models/BirdwatchFetchAliasSelfSelectStatusResponse.d.ts +36 -0
- package/dist/models/BirdwatchFetchAliasSelfSelectStatusResponse.js +54 -0
- package/dist/models/BirdwatchFetchAliasSelfSelectStatusResponseData.d.ts +31 -0
- package/dist/models/BirdwatchFetchAliasSelfSelectStatusResponseData.js +51 -0
- package/dist/models/BirdwatchFetchAuthenticatedUserProfileResponse.d.ts +36 -0
- package/dist/models/BirdwatchFetchAuthenticatedUserProfileResponse.js +54 -0
- package/dist/models/BirdwatchFetchAuthenticatedUserProfileResponseData.d.ts +31 -0
- package/dist/models/BirdwatchFetchAuthenticatedUserProfileResponseData.js +51 -0
- package/dist/models/BirdwatchFetchBirdwatchProfileResponse.d.ts +36 -0
- package/dist/models/BirdwatchFetchBirdwatchProfileResponse.js +54 -0
- package/dist/models/BirdwatchFetchBirdwatchProfileResponseData.d.ts +31 -0
- package/dist/models/BirdwatchFetchBirdwatchProfileResponseData.js +51 -0
- package/dist/models/BirdwatchFetchGlobalTimelineResponse.d.ts +36 -0
- package/dist/models/BirdwatchFetchGlobalTimelineResponse.js +54 -0
- package/dist/models/BirdwatchFetchGlobalTimelineResponseData.d.ts +31 -0
- package/dist/models/BirdwatchFetchGlobalTimelineResponseData.js +51 -0
- package/dist/models/BirdwatchFetchPublicDataResponse.d.ts +36 -0
- package/dist/models/BirdwatchFetchPublicDataResponse.js +54 -0
- package/dist/models/BirdwatchFetchPublicDataResponseData.d.ts +31 -0
- package/dist/models/BirdwatchFetchPublicDataResponseData.js +51 -0
- package/dist/models/BirdwatchHomePage.d.ts +40 -0
- package/dist/models/BirdwatchHomePage.js +60 -0
- package/dist/models/BirdwatchHomePageBody.d.ts +40 -0
- package/dist/models/BirdwatchHomePageBody.js +60 -0
- package/dist/models/BirdwatchHomeTimeline.d.ts +39 -0
- package/dist/models/BirdwatchHomeTimeline.js +59 -0
- package/dist/models/BirdwatchProfile.d.ts +30 -0
- package/dist/models/BirdwatchProfile.js +50 -0
- package/dist/models/BirdwatchPublicDataFile.d.ts +34 -0
- package/dist/models/BirdwatchPublicDataFile.js +54 -0
- package/dist/models/BirdwatchPublicDataFileBundle.d.ts +47 -0
- package/dist/models/BirdwatchPublicDataFileBundle.js +67 -0
- package/dist/models/BirdwatchViewer.d.ts +31 -0
- package/dist/models/BirdwatchViewer.js +51 -0
- package/dist/models/BookmarkSearch.d.ts +31 -0
- package/dist/models/BookmarkSearch.js +51 -0
- package/dist/models/BookmarkSearchTimelineResponse.d.ts +36 -0
- package/dist/models/BookmarkSearchTimelineResponse.js +54 -0
- package/dist/models/BookmarkSearchTimelineResponseData.d.ts +31 -0
- package/dist/models/BookmarkSearchTimelineResponseData.js +51 -0
- package/dist/models/ClientEventInfoDetails.d.ts +6 -1
- package/dist/models/ClientEventInfoDetails.js +4 -3
- package/dist/models/CommunitiesFetchOneQueryResponse.d.ts +36 -0
- package/dist/models/CommunitiesFetchOneQueryResponse.js +54 -0
- package/dist/models/CommunitiesFetchOneQueryResponseData.d.ts +31 -0
- package/dist/models/CommunitiesFetchOneQueryResponseData.js +51 -0
- package/dist/models/CommunitiesSearchQueryResponse.d.ts +36 -0
- package/dist/models/CommunitiesSearchQueryResponse.js +54 -0
- package/dist/models/CommunitiesSearchQueryResponseData.d.ts +31 -0
- package/dist/models/CommunitiesSearchQueryResponseData.js +51 -0
- package/dist/models/CommunitiesSearchSlice.d.ts +36 -0
- package/dist/models/CommunitiesSearchSlice.js +56 -0
- package/dist/models/Community.d.ts +4 -0
- package/dist/models/Community.js +2 -0
- package/dist/models/CommunityFacepileUser.d.ts +40 -0
- package/dist/models/CommunityFacepileUser.js +60 -0
- package/dist/models/CommunityFacepileUserResults.d.ts +35 -0
- package/dist/models/CommunityFacepileUserResults.js +55 -0
- package/dist/models/CommunityHashtag.d.ts +34 -0
- package/dist/models/CommunityHashtag.js +54 -0
- package/dist/models/CommunityHashtagSlice.d.ts +36 -0
- package/dist/models/CommunityHashtagSlice.js +56 -0
- package/dist/models/CommunityIdUserResults.d.ts +35 -0
- package/dist/models/CommunityIdUserResults.js +55 -0
- package/dist/models/CommunityListMembersActionResult.d.ts +31 -0
- package/dist/models/CommunityListMembersActionResult.js +51 -0
- package/dist/models/CommunityPageActions.d.ts +50 -0
- package/dist/models/CommunityPageActions.js +70 -0
- package/dist/models/CommunityPageCommunity.d.ts +130 -0
- package/dist/models/CommunityPageCommunity.js +150 -0
- package/dist/models/CommunityPageDeleteActionResult.d.ts +39 -0
- package/dist/models/CommunityPageDeleteActionResult.js +59 -0
- package/dist/models/CommunityPageInvitesResult.d.ts +43 -0
- package/dist/models/CommunityPageInvitesResult.js +63 -0
- package/dist/models/CommunityPageJoinActionResult.d.ts +35 -0
- package/dist/models/CommunityPageJoinActionResult.js +55 -0
- package/dist/models/CommunityPageLeaveActionResult.d.ts +43 -0
- package/dist/models/CommunityPageLeaveActionResult.js +63 -0
- package/dist/models/CommunityPagePinActionResult.d.ts +35 -0
- package/dist/models/CommunityPagePinActionResult.js +55 -0
- package/dist/models/CommunityPageResults.d.ts +35 -0
- package/dist/models/CommunityPageResults.js +55 -0
- package/dist/models/CommunityPrimaryTopicName.d.ts +30 -0
- package/dist/models/CommunityPrimaryTopicName.js +50 -0
- package/dist/models/CommunityQueryResponse.d.ts +36 -0
- package/dist/models/CommunityQueryResponse.js +54 -0
- package/dist/models/CommunityQueryResponseData.d.ts +31 -0
- package/dist/models/CommunityQueryResponseData.js +51 -0
- package/dist/models/CommunityRelayRule.d.ts +42 -0
- package/dist/models/CommunityRelayRule.js +60 -0
- package/dist/models/CommunitySearchCommunity.d.ts +70 -0
- package/dist/models/CommunitySearchCommunity.js +86 -0
- package/dist/models/CommunitySearchResults.d.ts +35 -0
- package/dist/models/CommunitySearchResults.js +55 -0
- package/dist/models/CommunitySettingsActions.d.ts +40 -0
- package/dist/models/CommunitySettingsActions.js +60 -0
- package/dist/models/CommunitySettingsCommunity.d.ts +120 -0
- package/dist/models/CommunitySettingsCommunity.js +140 -0
- package/dist/models/CommunitySettingsCreator.d.ts +49 -0
- package/dist/models/CommunitySettingsCreator.js +69 -0
- package/dist/models/CommunitySettingsCreatorCore.d.ts +30 -0
- package/dist/models/CommunitySettingsCreatorCore.js +50 -0
- package/dist/models/CommunitySettingsCreatorResults.d.ts +35 -0
- package/dist/models/CommunitySettingsCreatorResults.js +55 -0
- package/dist/models/CommunitySettingsCreatorVerification.d.ts +30 -0
- package/dist/models/CommunitySettingsCreatorVerification.js +50 -0
- package/dist/models/CommunitySettingsInvitesResult.d.ts +31 -0
- package/dist/models/CommunitySettingsInvitesResult.js +51 -0
- package/dist/models/CommunitySettingsResults.d.ts +35 -0
- package/dist/models/CommunitySettingsResults.js +55 -0
- package/dist/models/CommunitySubtopic.d.ts +34 -0
- package/dist/models/CommunitySubtopic.js +54 -0
- package/dist/models/CommunityTopic.d.ts +39 -0
- package/dist/models/CommunityTopic.js +59 -0
- package/dist/models/CommunityTopicResults.d.ts +31 -0
- package/dist/models/CommunityTopicResults.js +51 -0
- package/dist/models/ContentItemType.d.ts +1 -0
- package/dist/models/ContentItemType.js +1 -0
- package/dist/models/CreatorStudioTabBarItemQueryResponse.d.ts +36 -0
- package/dist/models/CreatorStudioTabBarItemQueryResponse.js +54 -0
- package/dist/models/CreatorStudioTabBarItemQueryResponseData.d.ts +30 -0
- package/dist/models/CreatorStudioTabBarItemQueryResponseData.js +50 -0
- package/dist/models/DataSaverModeResponse.d.ts +36 -0
- package/dist/models/DataSaverModeResponse.js +54 -0
- package/dist/models/DataSaverModeResponseData.d.ts +30 -0
- package/dist/models/DataSaverModeResponseData.js +50 -0
- package/dist/models/ErrorExtensions.d.ts +1 -1
- package/dist/models/ErrorExtensions.js +1 -3
- package/dist/models/ErrorResponse.d.ts +1 -1
- package/dist/models/ErrorResponse.js +1 -3
- package/dist/models/EventSummaryAdMetadataContainer.d.ts +34 -0
- package/dist/models/EventSummaryAdMetadataContainer.js +54 -0
- package/dist/models/EventSummaryEvent.d.ts +30 -0
- package/dist/models/EventSummaryEvent.js +50 -0
- package/dist/models/EventSummaryMedia.d.ts +36 -0
- package/dist/models/EventSummaryMedia.js +56 -0
- package/dist/models/EventSummaryMediaEntity.d.ts +35 -0
- package/dist/models/EventSummaryMediaEntity.js +55 -0
- package/dist/models/EventSummaryMediaKey.d.ts +34 -0
- package/dist/models/EventSummaryMediaKey.js +54 -0
- package/dist/models/EventSummaryPromotedMetadata.d.ts +65 -0
- package/dist/models/EventSummaryPromotedMetadata.js +85 -0
- package/dist/models/ExploreSidebarResponse.d.ts +36 -0
- package/dist/models/ExploreSidebarResponse.js +54 -0
- package/dist/models/ExploreSidebarResponseData.d.ts +31 -0
- package/dist/models/ExploreSidebarResponseData.js +51 -0
- package/dist/models/FeedbackAction.d.ts +1 -12
- package/dist/models/FeedbackAction.js +1 -11
- package/dist/models/GlobalCommunitiesLatestPostSearch.d.ts +31 -0
- package/dist/models/GlobalCommunitiesLatestPostSearch.js +51 -0
- package/dist/models/GlobalCommunitiesLatestPostSearchTimelineResponse.d.ts +36 -0
- package/dist/models/GlobalCommunitiesLatestPostSearchTimelineResponse.js +54 -0
- package/dist/models/GlobalCommunitiesLatestPostSearchTimelineResponseData.d.ts +31 -0
- package/dist/models/GlobalCommunitiesLatestPostSearchTimelineResponseData.js +51 -0
- package/dist/models/GlobalCommunitiesPostSearch.d.ts +31 -0
- package/dist/models/GlobalCommunitiesPostSearch.js +51 -0
- package/dist/models/GlobalCommunitiesPostSearchTimelineResponse.d.ts +36 -0
- package/dist/models/GlobalCommunitiesPostSearchTimelineResponse.js +54 -0
- package/dist/models/GlobalCommunitiesPostSearchTimelineResponseData.d.ts +31 -0
- package/dist/models/GlobalCommunitiesPostSearchTimelineResponseData.js +51 -0
- package/dist/models/GrokHome.d.ts +60 -0
- package/dist/models/GrokHome.js +80 -0
- package/dist/models/GrokHomeLayout.d.ts +35 -0
- package/dist/models/GrokHomeLayout.js +55 -0
- package/dist/models/GrokHomeLayoutSection.d.ts +35 -0
- package/dist/models/GrokHomeLayoutSection.js +55 -0
- package/dist/models/GrokHomePrompt.d.ts +50 -0
- package/dist/models/GrokHomePrompt.js +70 -0
- package/dist/models/GrokHomeResponse.d.ts +36 -0
- package/dist/models/GrokHomeResponse.js +54 -0
- package/dist/models/GrokHomeResponseData.d.ts +31 -0
- package/dist/models/GrokHomeResponseData.js +51 -0
- package/dist/models/GrokModelOption.d.ts +58 -0
- package/dist/models/GrokModelOption.js +78 -0
- package/dist/models/GroupedTrend.d.ts +35 -0
- package/dist/models/GroupedTrend.js +55 -0
- package/dist/models/ItemContentUnion.d.ts +3 -0
- package/dist/models/ItemContentUnion.js +5 -0
- package/dist/models/ListSearch.d.ts +31 -0
- package/dist/models/ListSearch.js +51 -0
- package/dist/models/ListSearchTimelineResponse.d.ts +36 -0
- package/dist/models/ListSearchTimelineResponse.js +54 -0
- package/dist/models/ListSearchTimelineResponseData.d.ts +31 -0
- package/dist/models/ListSearchTimelineResponseData.js +51 -0
- package/dist/models/ListsManagementPageTimelineResponse.d.ts +36 -0
- package/dist/models/ListsManagementPageTimelineResponse.js +54 -0
- package/dist/models/ListsManagementPageTimelineResponseData.d.ts +31 -0
- package/dist/models/ListsManagementPageTimelineResponseData.js +51 -0
- package/dist/models/ListsManagementViewer.d.ts +31 -0
- package/dist/models/ListsManagementViewer.js +51 -0
- package/dist/models/ModuleFooter.d.ts +1 -8
- package/dist/models/ModuleFooter.js +0 -9
- package/dist/models/NotificationDetails.d.ts +34 -0
- package/dist/models/NotificationDetails.js +54 -0
- package/dist/models/PinnedTimelines.d.ts +30 -0
- package/dist/models/PinnedTimelines.js +50 -0
- package/dist/models/PinnedTimelinesResponse.d.ts +36 -0
- package/dist/models/PinnedTimelinesResponse.js +54 -0
- package/dist/models/PinnedTimelinesResponseData.d.ts +31 -0
- package/dist/models/PinnedTimelinesResponseData.js +51 -0
- package/dist/models/PromotedTrend.d.ts +30 -0
- package/dist/models/PromotedTrend.js +50 -0
- package/dist/models/RichMessage.d.ts +5 -0
- package/dist/models/RichMessage.js +3 -0
- package/dist/models/RichMessageEntity.d.ts +39 -0
- package/dist/models/RichMessageEntity.js +59 -0
- package/dist/models/RichMessageEntityRef.d.ts +51 -0
- package/dist/models/RichMessageEntityRef.js +65 -0
- package/dist/models/SearchTimeline.d.ts +1 -1
- package/dist/models/SearchTimeline.js +1 -3
- package/dist/models/SliceInfo.d.ts +30 -0
- package/dist/models/SliceInfo.js +50 -0
- package/dist/models/TimelineCommunity.d.ts +11 -2
- package/dist/models/TimelineCommunity.js +18 -2
- package/dist/models/TimelineEventSummary.d.ts +64 -0
- package/dist/models/TimelineEventSummary.js +84 -0
- package/dist/models/TimelineMessagePrompt.d.ts +11 -2
- package/dist/models/TimelineMessagePrompt.js +18 -2
- package/dist/models/TimelineMessagePromptButton.d.ts +35 -0
- package/dist/models/TimelineMessagePromptButton.js +55 -0
- package/dist/models/TimelineMessagePromptButtonAction.d.ts +34 -0
- package/dist/models/TimelineMessagePromptButtonAction.js +54 -0
- package/dist/models/TimelineMessagePromptContent.d.ts +56 -0
- package/dist/models/TimelineMessagePromptContent.js +70 -0
- package/dist/models/TimelineMessagePromptRichText.d.ts +35 -0
- package/dist/models/TimelineMessagePromptRichText.js +55 -0
- package/dist/models/TimelineMessagePromptRichTextEntity.d.ts +39 -0
- package/dist/models/TimelineMessagePromptRichTextEntity.js +59 -0
- package/dist/models/TimelineMessagePromptRichTextEntityRef.d.ts +52 -0
- package/dist/models/TimelineMessagePromptRichTextEntityRef.js +75 -0
- package/dist/models/TimelinePrompt.d.ts +16 -2
- package/dist/models/TimelinePrompt.js +23 -2
- package/dist/models/TimelinePromptCallback.d.ts +30 -0
- package/dist/models/TimelinePromptCallback.js +50 -0
- package/dist/models/TimelinePromptContent.d.ts +73 -0
- package/dist/models/TimelinePromptContent.js +96 -0
- package/dist/models/TimelineTrend.d.ts +14 -0
- package/dist/models/TimelineTrend.js +8 -0
- package/dist/models/TopicCarouselQueryResponse.d.ts +36 -0
- package/dist/models/TopicCarouselQueryResponse.js +54 -0
- package/dist/models/TopicCarouselQueryResponseData.d.ts +31 -0
- package/dist/models/TopicCarouselQueryResponseData.js +51 -0
- package/dist/models/TrendMetadata.d.ts +4 -0
- package/dist/models/TrendMetadata.js +2 -0
- package/dist/models/TrendPromotedMetadata.d.ts +60 -0
- package/dist/models/TrendPromotedMetadata.js +80 -0
- package/dist/models/TypeName.d.ts +3 -0
- package/dist/models/TypeName.js +3 -0
- package/dist/models/UsersVerifiedAvatarsResponse.d.ts +36 -0
- package/dist/models/UsersVerifiedAvatarsResponse.js +54 -0
- package/dist/models/UsersVerifiedAvatarsResponseData.d.ts +31 -0
- package/dist/models/UsersVerifiedAvatarsResponseData.js +51 -0
- package/dist/models/VerifiedAvatarUser.d.ts +52 -0
- package/dist/models/VerifiedAvatarUser.js +72 -0
- package/dist/models/VerifiedAvatarUserResults.d.ts +31 -0
- package/dist/models/VerifiedAvatarUserResults.js +51 -0
- package/dist/models/index.d.ts +115 -0
- package/dist/models/index.js +115 -0
- package/package.json +1 -1
|
@@ -25,7 +25,9 @@ import { FollowResponseFromJSON, } from '../models/FollowResponse';
|
|
|
25
25
|
import { ListMembersResponseFromJSON, } from '../models/ListMembersResponse';
|
|
26
26
|
import { ListRecommendedUsersResponseFromJSON, } from '../models/ListRecommendedUsersResponse';
|
|
27
27
|
import { ListResponseFromJSON, } from '../models/ListResponse';
|
|
28
|
+
import { ListSearchTimelineResponseFromJSON, } from '../models/ListSearchTimelineResponse';
|
|
28
29
|
import { ListSubscribersResponseFromJSON, } from '../models/ListSubscribersResponse';
|
|
30
|
+
import { ListsManagementPageTimelineResponseFromJSON, } from '../models/ListsManagementPageTimelineResponse';
|
|
29
31
|
import { TweetFavoritersResponseFromJSON, } from '../models/TweetFavoritersResponse';
|
|
30
32
|
import { TweetRetweetersResponseFromJSON, } from '../models/TweetRetweetersResponse';
|
|
31
33
|
import { UserTweetsResponseFromJSON, } from '../models/UserTweetsResponse';
|
|
@@ -148,6 +150,121 @@ export class UserListApi extends runtime.BaseAPI {
|
|
|
148
150
|
return yield response.value();
|
|
149
151
|
});
|
|
150
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* Creates request options for getCombinedLists without sending the request
|
|
155
|
+
*/
|
|
156
|
+
getCombinedListsRequestOpts(requestParameters) {
|
|
157
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
159
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getCombinedLists().');
|
|
160
|
+
}
|
|
161
|
+
if (requestParameters['features'] == null) {
|
|
162
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getCombinedLists().');
|
|
163
|
+
}
|
|
164
|
+
if (requestParameters['variables'] == null) {
|
|
165
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getCombinedLists().');
|
|
166
|
+
}
|
|
167
|
+
const queryParameters = {};
|
|
168
|
+
if (requestParameters['features'] != null) {
|
|
169
|
+
queryParameters['features'] = requestParameters['features'];
|
|
170
|
+
}
|
|
171
|
+
if (requestParameters['variables'] != null) {
|
|
172
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
173
|
+
}
|
|
174
|
+
const headerParameters = {};
|
|
175
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
176
|
+
headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
|
|
177
|
+
}
|
|
178
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
179
|
+
headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
180
|
+
}
|
|
181
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
182
|
+
headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
|
|
183
|
+
}
|
|
184
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
185
|
+
headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
|
|
186
|
+
}
|
|
187
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
188
|
+
headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
189
|
+
}
|
|
190
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
191
|
+
headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
192
|
+
}
|
|
193
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
194
|
+
headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
195
|
+
}
|
|
196
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
197
|
+
headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
198
|
+
}
|
|
199
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
200
|
+
headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
201
|
+
}
|
|
202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
203
|
+
const token = this.configuration.accessToken;
|
|
204
|
+
const tokenString = yield token("BearerAuth", []);
|
|
205
|
+
if (tokenString) {
|
|
206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
210
|
+
headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
211
|
+
}
|
|
212
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
213
|
+
headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
214
|
+
}
|
|
215
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
216
|
+
headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
217
|
+
}
|
|
218
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
219
|
+
headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
220
|
+
}
|
|
221
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
222
|
+
headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
223
|
+
}
|
|
224
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
225
|
+
headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
226
|
+
}
|
|
227
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
228
|
+
headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
229
|
+
}
|
|
230
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
231
|
+
headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
232
|
+
}
|
|
233
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
234
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
235
|
+
}
|
|
236
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
237
|
+
headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
238
|
+
}
|
|
239
|
+
let urlPath = `/graphql/{pathQueryId}/CombinedLists`;
|
|
240
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
241
|
+
return {
|
|
242
|
+
path: urlPath,
|
|
243
|
+
method: 'GET',
|
|
244
|
+
headers: headerParameters,
|
|
245
|
+
query: queryParameters,
|
|
246
|
+
};
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* lists a user owns or follows
|
|
251
|
+
*/
|
|
252
|
+
getCombinedListsRaw(requestParameters, initOverrides) {
|
|
253
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
254
|
+
const requestOptions = yield this.getCombinedListsRequestOpts(requestParameters);
|
|
255
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
256
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserTweetsResponseFromJSON(jsonValue));
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* lists a user owns or follows
|
|
261
|
+
*/
|
|
262
|
+
getCombinedLists(requestParameters, initOverrides) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
+
const response = yield this.getCombinedListsRaw(requestParameters, initOverrides);
|
|
265
|
+
return yield response.value();
|
|
266
|
+
});
|
|
267
|
+
}
|
|
151
268
|
/**
|
|
152
269
|
* Creates request options for getFavoriters without sending the request
|
|
153
270
|
*/
|
|
@@ -1183,6 +1300,121 @@ export class UserListApi extends runtime.BaseAPI {
|
|
|
1183
1300
|
return yield response.value();
|
|
1184
1301
|
});
|
|
1185
1302
|
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Creates request options for getListSearchTimeline without sending the request
|
|
1305
|
+
*/
|
|
1306
|
+
getListSearchTimelineRequestOpts(requestParameters) {
|
|
1307
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1308
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
1309
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getListSearchTimeline().');
|
|
1310
|
+
}
|
|
1311
|
+
if (requestParameters['features'] == null) {
|
|
1312
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getListSearchTimeline().');
|
|
1313
|
+
}
|
|
1314
|
+
if (requestParameters['variables'] == null) {
|
|
1315
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getListSearchTimeline().');
|
|
1316
|
+
}
|
|
1317
|
+
const queryParameters = {};
|
|
1318
|
+
if (requestParameters['features'] != null) {
|
|
1319
|
+
queryParameters['features'] = requestParameters['features'];
|
|
1320
|
+
}
|
|
1321
|
+
if (requestParameters['variables'] != null) {
|
|
1322
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
1323
|
+
}
|
|
1324
|
+
const headerParameters = {};
|
|
1325
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1326
|
+
headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
|
|
1327
|
+
}
|
|
1328
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1329
|
+
headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1330
|
+
}
|
|
1331
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1332
|
+
headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
|
|
1333
|
+
}
|
|
1334
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1335
|
+
headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
|
|
1336
|
+
}
|
|
1337
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1338
|
+
headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1339
|
+
}
|
|
1340
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1341
|
+
headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1342
|
+
}
|
|
1343
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1344
|
+
headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1345
|
+
}
|
|
1346
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1347
|
+
headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1348
|
+
}
|
|
1349
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1350
|
+
headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
1351
|
+
}
|
|
1352
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1353
|
+
const token = this.configuration.accessToken;
|
|
1354
|
+
const tokenString = yield token("BearerAuth", []);
|
|
1355
|
+
if (tokenString) {
|
|
1356
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1360
|
+
headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1361
|
+
}
|
|
1362
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1363
|
+
headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1364
|
+
}
|
|
1365
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1366
|
+
headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
1367
|
+
}
|
|
1368
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1369
|
+
headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1370
|
+
}
|
|
1371
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1372
|
+
headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1373
|
+
}
|
|
1374
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1375
|
+
headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1376
|
+
}
|
|
1377
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1378
|
+
headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1379
|
+
}
|
|
1380
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1381
|
+
headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1382
|
+
}
|
|
1383
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1384
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1385
|
+
}
|
|
1386
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1387
|
+
headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1388
|
+
}
|
|
1389
|
+
let urlPath = `/graphql/{pathQueryId}/ListSearchTimeline`;
|
|
1390
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
1391
|
+
return {
|
|
1392
|
+
path: urlPath,
|
|
1393
|
+
method: 'GET',
|
|
1394
|
+
headers: headerParameters,
|
|
1395
|
+
query: queryParameters,
|
|
1396
|
+
};
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* search lists
|
|
1401
|
+
*/
|
|
1402
|
+
getListSearchTimelineRaw(requestParameters, initOverrides) {
|
|
1403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1404
|
+
const requestOptions = yield this.getListSearchTimelineRequestOpts(requestParameters);
|
|
1405
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1406
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListSearchTimelineResponseFromJSON(jsonValue));
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* search lists
|
|
1411
|
+
*/
|
|
1412
|
+
getListSearchTimeline(requestParameters, initOverrides) {
|
|
1413
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1414
|
+
const response = yield this.getListSearchTimelineRaw(requestParameters, initOverrides);
|
|
1415
|
+
return yield response.value();
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1186
1418
|
/**
|
|
1187
1419
|
* Creates request options for getListSubscribers without sending the request
|
|
1188
1420
|
*/
|
|
@@ -1298,6 +1530,121 @@ export class UserListApi extends runtime.BaseAPI {
|
|
|
1298
1530
|
return yield response.value();
|
|
1299
1531
|
});
|
|
1300
1532
|
}
|
|
1533
|
+
/**
|
|
1534
|
+
* Creates request options for getListsManagementPageTimeline without sending the request
|
|
1535
|
+
*/
|
|
1536
|
+
getListsManagementPageTimelineRequestOpts(requestParameters) {
|
|
1537
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1538
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
1539
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getListsManagementPageTimeline().');
|
|
1540
|
+
}
|
|
1541
|
+
if (requestParameters['features'] == null) {
|
|
1542
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getListsManagementPageTimeline().');
|
|
1543
|
+
}
|
|
1544
|
+
if (requestParameters['variables'] == null) {
|
|
1545
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getListsManagementPageTimeline().');
|
|
1546
|
+
}
|
|
1547
|
+
const queryParameters = {};
|
|
1548
|
+
if (requestParameters['features'] != null) {
|
|
1549
|
+
queryParameters['features'] = requestParameters['features'];
|
|
1550
|
+
}
|
|
1551
|
+
if (requestParameters['variables'] != null) {
|
|
1552
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
1553
|
+
}
|
|
1554
|
+
const headerParameters = {};
|
|
1555
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1556
|
+
headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
|
|
1557
|
+
}
|
|
1558
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1559
|
+
headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
1560
|
+
}
|
|
1561
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1562
|
+
headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
|
|
1563
|
+
}
|
|
1564
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1565
|
+
headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
|
|
1566
|
+
}
|
|
1567
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1568
|
+
headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
1569
|
+
}
|
|
1570
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1571
|
+
headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
1572
|
+
}
|
|
1573
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1574
|
+
headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
1575
|
+
}
|
|
1576
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1577
|
+
headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
1578
|
+
}
|
|
1579
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1580
|
+
headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
1581
|
+
}
|
|
1582
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1583
|
+
const token = this.configuration.accessToken;
|
|
1584
|
+
const tokenString = yield token("BearerAuth", []);
|
|
1585
|
+
if (tokenString) {
|
|
1586
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1590
|
+
headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
1591
|
+
}
|
|
1592
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1593
|
+
headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
1594
|
+
}
|
|
1595
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1596
|
+
headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
1597
|
+
}
|
|
1598
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1599
|
+
headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
1600
|
+
}
|
|
1601
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1602
|
+
headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
1603
|
+
}
|
|
1604
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1605
|
+
headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
1606
|
+
}
|
|
1607
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1608
|
+
headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
1609
|
+
}
|
|
1610
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1611
|
+
headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
1612
|
+
}
|
|
1613
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1614
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
1615
|
+
}
|
|
1616
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1617
|
+
headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
1618
|
+
}
|
|
1619
|
+
let urlPath = `/graphql/{pathQueryId}/ListsManagementPageTimeline`;
|
|
1620
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
1621
|
+
return {
|
|
1622
|
+
path: urlPath,
|
|
1623
|
+
method: 'GET',
|
|
1624
|
+
headers: headerParameters,
|
|
1625
|
+
query: queryParameters,
|
|
1626
|
+
};
|
|
1627
|
+
});
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* the account\'s lists management page
|
|
1631
|
+
*/
|
|
1632
|
+
getListsManagementPageTimelineRaw(requestParameters, initOverrides) {
|
|
1633
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1634
|
+
const requestOptions = yield this.getListsManagementPageTimelineRequestOpts(requestParameters);
|
|
1635
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1636
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListsManagementPageTimelineResponseFromJSON(jsonValue));
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* the account\'s lists management page
|
|
1641
|
+
*/
|
|
1642
|
+
getListsManagementPageTimeline(requestParameters, initOverrides) {
|
|
1643
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1644
|
+
const response = yield this.getListsManagementPageTimelineRaw(requestParameters, initOverrides);
|
|
1645
|
+
return yield response.value();
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
1301
1648
|
/**
|
|
1302
1649
|
* Creates request options for getRetweeters without sending the request
|
|
1303
1650
|
*/
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type UsersResponse } from '../models/UsersResponse';
|
|
14
|
+
import { type UsersVerifiedAvatarsResponse } from '../models/UsersVerifiedAvatarsResponse';
|
|
14
15
|
export interface GetUsersByRestIdsRequest {
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -25,6 +26,20 @@ export interface GetUsersByRestIdsRequest {
|
|
|
25
26
|
*/
|
|
26
27
|
features: string;
|
|
27
28
|
}
|
|
29
|
+
export interface GetUsersVerifiedAvatarsRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
pathQueryId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
features: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
variables: string;
|
|
42
|
+
}
|
|
28
43
|
/**
|
|
29
44
|
*
|
|
30
45
|
*/
|
|
@@ -41,4 +56,16 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
41
56
|
* get users by rest ids
|
|
42
57
|
*/
|
|
43
58
|
getUsersByRestIds(requestParameters: GetUsersByRestIdsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UsersResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Creates request options for getUsersVerifiedAvatars without sending the request
|
|
61
|
+
*/
|
|
62
|
+
getUsersVerifiedAvatarsRequestOpts(requestParameters: GetUsersVerifiedAvatarsRequest): Promise<runtime.RequestOpts>;
|
|
63
|
+
/**
|
|
64
|
+
* verified-avatar users by ids
|
|
65
|
+
*/
|
|
66
|
+
getUsersVerifiedAvatarsRaw(requestParameters: GetUsersVerifiedAvatarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UsersVerifiedAvatarsResponse>>;
|
|
67
|
+
/**
|
|
68
|
+
* verified-avatar users by ids
|
|
69
|
+
*/
|
|
70
|
+
getUsersVerifiedAvatars(requestParameters: GetUsersVerifiedAvatarsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UsersVerifiedAvatarsResponse>;
|
|
44
71
|
}
|
|
@@ -22,6 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
24
|
import { UsersResponseFromJSON, } from '../models/UsersResponse';
|
|
25
|
+
import { UsersVerifiedAvatarsResponseFromJSON, } from '../models/UsersVerifiedAvatarsResponse';
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
28
|
*/
|
|
@@ -141,4 +142,119 @@ export class UsersApi extends runtime.BaseAPI {
|
|
|
141
142
|
return yield response.value();
|
|
142
143
|
});
|
|
143
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Creates request options for getUsersVerifiedAvatars without sending the request
|
|
147
|
+
*/
|
|
148
|
+
getUsersVerifiedAvatarsRequestOpts(requestParameters) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
if (requestParameters['pathQueryId'] == null) {
|
|
151
|
+
throw new runtime.RequiredError('pathQueryId', 'Required parameter "pathQueryId" was null or undefined when calling getUsersVerifiedAvatars().');
|
|
152
|
+
}
|
|
153
|
+
if (requestParameters['features'] == null) {
|
|
154
|
+
throw new runtime.RequiredError('features', 'Required parameter "features" was null or undefined when calling getUsersVerifiedAvatars().');
|
|
155
|
+
}
|
|
156
|
+
if (requestParameters['variables'] == null) {
|
|
157
|
+
throw new runtime.RequiredError('variables', 'Required parameter "variables" was null or undefined when calling getUsersVerifiedAvatars().');
|
|
158
|
+
}
|
|
159
|
+
const queryParameters = {};
|
|
160
|
+
if (requestParameters['features'] != null) {
|
|
161
|
+
queryParameters['features'] = requestParameters['features'];
|
|
162
|
+
}
|
|
163
|
+
if (requestParameters['variables'] != null) {
|
|
164
|
+
queryParameters['variables'] = requestParameters['variables'];
|
|
165
|
+
}
|
|
166
|
+
const headerParameters = {};
|
|
167
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
168
|
+
headerParameters["Accept"] = yield this.configuration.apiKey("Accept"); // Accept authentication
|
|
169
|
+
}
|
|
170
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
171
|
+
headerParameters["x-twitter-client-language"] = yield this.configuration.apiKey("x-twitter-client-language"); // ClientLanguage authentication
|
|
172
|
+
}
|
|
173
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
174
|
+
headerParameters["Priority"] = yield this.configuration.apiKey("Priority"); // Priority authentication
|
|
175
|
+
}
|
|
176
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
177
|
+
headerParameters["Referer"] = yield this.configuration.apiKey("Referer"); // Referer authentication
|
|
178
|
+
}
|
|
179
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
180
|
+
headerParameters["Sec-Fetch-Dest"] = yield this.configuration.apiKey("Sec-Fetch-Dest"); // SecFetchDest authentication
|
|
181
|
+
}
|
|
182
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
183
|
+
headerParameters["Sec-Ch-Ua-Platform"] = yield this.configuration.apiKey("Sec-Ch-Ua-Platform"); // SecChUaPlatform authentication
|
|
184
|
+
}
|
|
185
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
186
|
+
headerParameters["Sec-Fetch-Mode"] = yield this.configuration.apiKey("Sec-Fetch-Mode"); // SecFetchMode authentication
|
|
187
|
+
}
|
|
188
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
189
|
+
headerParameters["x-csrf-token"] = yield this.configuration.apiKey("x-csrf-token"); // CsrfToken authentication
|
|
190
|
+
}
|
|
191
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
192
|
+
headerParameters["x-client-uuid"] = yield this.configuration.apiKey("x-client-uuid"); // ClientUuid authentication
|
|
193
|
+
}
|
|
194
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
195
|
+
const token = this.configuration.accessToken;
|
|
196
|
+
const tokenString = yield token("BearerAuth", []);
|
|
197
|
+
if (tokenString) {
|
|
198
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
202
|
+
headerParameters["x-guest-token"] = yield this.configuration.apiKey("x-guest-token"); // GuestToken authentication
|
|
203
|
+
}
|
|
204
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
205
|
+
headerParameters["Sec-Ch-Ua"] = yield this.configuration.apiKey("Sec-Ch-Ua"); // SecChUa authentication
|
|
206
|
+
}
|
|
207
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
208
|
+
headerParameters["x-client-transaction-id"] = yield this.configuration.apiKey("x-client-transaction-id"); // ClientTransactionId authentication
|
|
209
|
+
}
|
|
210
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
211
|
+
headerParameters["x-twitter-active-user"] = yield this.configuration.apiKey("x-twitter-active-user"); // ActiveUser authentication
|
|
212
|
+
}
|
|
213
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
214
|
+
headerParameters["user-agent"] = yield this.configuration.apiKey("user-agent"); // UserAgent authentication
|
|
215
|
+
}
|
|
216
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
217
|
+
headerParameters["Accept-Language"] = yield this.configuration.apiKey("Accept-Language"); // AcceptLanguage authentication
|
|
218
|
+
}
|
|
219
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
220
|
+
headerParameters["Sec-Fetch-Site"] = yield this.configuration.apiKey("Sec-Fetch-Site"); // SecFetchSite authentication
|
|
221
|
+
}
|
|
222
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
223
|
+
headerParameters["x-twitter-auth-type"] = yield this.configuration.apiKey("x-twitter-auth-type"); // AuthType authentication
|
|
224
|
+
}
|
|
225
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
226
|
+
headerParameters["Sec-Ch-Ua-Mobile"] = yield this.configuration.apiKey("Sec-Ch-Ua-Mobile"); // SecChUaMobile authentication
|
|
227
|
+
}
|
|
228
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
229
|
+
headerParameters["Accept-Encoding"] = yield this.configuration.apiKey("Accept-Encoding"); // AcceptEncoding authentication
|
|
230
|
+
}
|
|
231
|
+
let urlPath = `/graphql/{pathQueryId}/UsersVerifiedAvatars`;
|
|
232
|
+
urlPath = urlPath.replace('{pathQueryId}', encodeURIComponent(String(requestParameters['pathQueryId'])));
|
|
233
|
+
return {
|
|
234
|
+
path: urlPath,
|
|
235
|
+
method: 'GET',
|
|
236
|
+
headers: headerParameters,
|
|
237
|
+
query: queryParameters,
|
|
238
|
+
};
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* verified-avatar users by ids
|
|
243
|
+
*/
|
|
244
|
+
getUsersVerifiedAvatarsRaw(requestParameters, initOverrides) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const requestOptions = yield this.getUsersVerifiedAvatarsRequestOpts(requestParameters);
|
|
247
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
248
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UsersVerifiedAvatarsResponseFromJSON(jsonValue));
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* verified-avatar users by ids
|
|
253
|
+
*/
|
|
254
|
+
getUsersVerifiedAvatars(requestParameters, initOverrides) {
|
|
255
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
const response = yield this.getUsersVerifiedAvatarsRaw(requestParameters, initOverrides);
|
|
257
|
+
return yield response.value();
|
|
258
|
+
});
|
|
259
|
+
}
|
|
144
260
|
}
|
package/dist/esm/apis/index.d.ts
CHANGED
package/dist/esm/apis/index.js
CHANGED
|
@@ -37,6 +37,7 @@ export function AdMetadataContainerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'renderLegacyWebsiteCard': json['renderLegacyWebsiteCard'],
|
|
38
38
|
'renderSalesCtaWebsiteCard': json['renderSalesCtaWebsiteCard'],
|
|
39
39
|
'showOverlayOnFirstCard': json['showOverlayOnFirstCard'] == null ? undefined : json['showOverlayOnFirstCard'],
|
|
40
|
+
'unifiedCardOverride': json['unifiedCardOverride'] == null ? undefined : json['unifiedCardOverride'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function AdMetadataContainerToJSON(json) {
|
|
@@ -52,5 +53,6 @@ export function AdMetadataContainerToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
52
53
|
'renderLegacyWebsiteCard': value['renderLegacyWebsiteCard'],
|
|
53
54
|
'renderSalesCtaWebsiteCard': value['renderSalesCtaWebsiteCard'],
|
|
54
55
|
'showOverlayOnFirstCard': value['showOverlayOnFirstCard'],
|
|
56
|
+
'unifiedCardOverride': value['unifiedCardOverride'],
|
|
55
57
|
};
|
|
56
58
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { AuthenticatePeriscopeResponseData } from './AuthenticatePeriscopeResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AuthenticatePeriscopeResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AuthenticatePeriscopeResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
data: AuthenticatePeriscopeResponseData;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
errors?: Array<ErrorResponse>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AuthenticatePeriscopeResponse interface.
|
|
31
|
+
*/
|
|
32
|
+
export declare function instanceOfAuthenticatePeriscopeResponse(value: object): value is AuthenticatePeriscopeResponse;
|
|
33
|
+
export declare function AuthenticatePeriscopeResponseFromJSON(json: any): AuthenticatePeriscopeResponse;
|
|
34
|
+
export declare function AuthenticatePeriscopeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatePeriscopeResponse;
|
|
35
|
+
export declare function AuthenticatePeriscopeResponseToJSON(json: any): AuthenticatePeriscopeResponse;
|
|
36
|
+
export declare function AuthenticatePeriscopeResponseToJSONTyped(value?: AuthenticatePeriscopeResponse | null, ignoreDiscriminator?: boolean): any;
|