twitter-openapi-typescript-generated 0.1.1 → 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 +137 -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/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/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/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/SliceInfo.d.ts +30 -0
- package/dist/esm/models/SliceInfo.js +43 -0
- package/dist/esm/models/TimelineEventSummary.d.ts +64 -0
- package/dist/esm/models/TimelineEventSummary.js +77 -0
- package/dist/esm/models/TimelineTrend.d.ts +9 -0
- package/dist/esm/models/TimelineTrend.js +5 -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 +106 -0
- package/dist/esm/models/index.js +106 -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/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/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/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/SliceInfo.d.ts +30 -0
- package/dist/models/SliceInfo.js +50 -0
- package/dist/models/TimelineEventSummary.d.ts +64 -0
- package/dist/models/TimelineEventSummary.js +84 -0
- package/dist/models/TimelineTrend.d.ts +9 -0
- package/dist/models/TimelineTrend.js +5 -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 +106 -0
- package/dist/models/index.js +106 -0
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityPageLeaveActionResult = instanceOfCommunityPageLeaveActionResult;
|
|
17
|
+
exports.CommunityPageLeaveActionResultFromJSON = CommunityPageLeaveActionResultFromJSON;
|
|
18
|
+
exports.CommunityPageLeaveActionResultFromJSONTyped = CommunityPageLeaveActionResultFromJSONTyped;
|
|
19
|
+
exports.CommunityPageLeaveActionResultToJSON = CommunityPageLeaveActionResultToJSON;
|
|
20
|
+
exports.CommunityPageLeaveActionResultToJSONTyped = CommunityPageLeaveActionResultToJSONTyped;
|
|
21
|
+
const TypeName_1 = require("./TypeName");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CommunityPageLeaveActionResult interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCommunityPageLeaveActionResult(value) {
|
|
26
|
+
if ((!('isCommunityLeaveActionResult' in value) && !('__isCommunityLeaveActionResult' in value)) || (value['isCommunityLeaveActionResult'] === undefined && value['__isCommunityLeaveActionResult'] === undefined))
|
|
27
|
+
return false;
|
|
28
|
+
if ((!('typename' in value) && !('__typename' in value)) || (value['typename'] === undefined && value['__typename'] === undefined))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function CommunityPageLeaveActionResultFromJSON(json) {
|
|
37
|
+
return CommunityPageLeaveActionResultFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function CommunityPageLeaveActionResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'isCommunityLeaveActionResult': json['__isCommunityLeaveActionResult'],
|
|
45
|
+
'typename': (0, TypeName_1.TypeNameFromJSON)(json['__typename']),
|
|
46
|
+
'message': json['message'],
|
|
47
|
+
'reason': json['reason'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function CommunityPageLeaveActionResultToJSON(json) {
|
|
51
|
+
return CommunityPageLeaveActionResultToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function CommunityPageLeaveActionResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'__isCommunityLeaveActionResult': value['isCommunityLeaveActionResult'],
|
|
59
|
+
'__typename': (0, TypeName_1.TypeNameToJSON)(value['typename']),
|
|
60
|
+
'message': value['message'],
|
|
61
|
+
'reason': value['reason'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TypeName } from './TypeName';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommunityPagePinActionResult
|
|
17
|
+
*/
|
|
18
|
+
export interface CommunityPagePinActionResult {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
isCommunityTweetPinActionResult: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
typename: TypeName;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CommunityPagePinActionResult interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfCommunityPagePinActionResult(value: object): value is CommunityPagePinActionResult;
|
|
32
|
+
export declare function CommunityPagePinActionResultFromJSON(json: any): CommunityPagePinActionResult;
|
|
33
|
+
export declare function CommunityPagePinActionResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunityPagePinActionResult;
|
|
34
|
+
export declare function CommunityPagePinActionResultToJSON(json: any): CommunityPagePinActionResult;
|
|
35
|
+
export declare function CommunityPagePinActionResultToJSONTyped(value?: CommunityPagePinActionResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityPagePinActionResult = instanceOfCommunityPagePinActionResult;
|
|
17
|
+
exports.CommunityPagePinActionResultFromJSON = CommunityPagePinActionResultFromJSON;
|
|
18
|
+
exports.CommunityPagePinActionResultFromJSONTyped = CommunityPagePinActionResultFromJSONTyped;
|
|
19
|
+
exports.CommunityPagePinActionResultToJSON = CommunityPagePinActionResultToJSON;
|
|
20
|
+
exports.CommunityPagePinActionResultToJSONTyped = CommunityPagePinActionResultToJSONTyped;
|
|
21
|
+
const TypeName_1 = require("./TypeName");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CommunityPagePinActionResult interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCommunityPagePinActionResult(value) {
|
|
26
|
+
if ((!('isCommunityTweetPinActionResult' in value) && !('__isCommunityTweetPinActionResult' in value)) || (value['isCommunityTweetPinActionResult'] === undefined && value['__isCommunityTweetPinActionResult'] === undefined))
|
|
27
|
+
return false;
|
|
28
|
+
if ((!('typename' in value) && !('__typename' in value)) || (value['typename'] === undefined && value['__typename'] === undefined))
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CommunityPagePinActionResultFromJSON(json) {
|
|
33
|
+
return CommunityPagePinActionResultFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CommunityPagePinActionResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'isCommunityTweetPinActionResult': json['__isCommunityTweetPinActionResult'],
|
|
41
|
+
'typename': (0, TypeName_1.TypeNameFromJSON)(json['__typename']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CommunityPagePinActionResultToJSON(json) {
|
|
45
|
+
return CommunityPagePinActionResultToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CommunityPagePinActionResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'__isCommunityTweetPinActionResult': value['isCommunityTweetPinActionResult'],
|
|
53
|
+
'__typename': (0, TypeName_1.TypeNameToJSON)(value['typename']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { CommunityPageCommunity } from './CommunityPageCommunity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommunityPageResults
|
|
17
|
+
*/
|
|
18
|
+
export interface CommunityPageResults {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
result: CommunityPageCommunity;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CommunityPageResults interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfCommunityPageResults(value: object): value is CommunityPageResults;
|
|
32
|
+
export declare function CommunityPageResultsFromJSON(json: any): CommunityPageResults;
|
|
33
|
+
export declare function CommunityPageResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunityPageResults;
|
|
34
|
+
export declare function CommunityPageResultsToJSON(json: any): CommunityPageResults;
|
|
35
|
+
export declare function CommunityPageResultsToJSONTyped(value?: CommunityPageResults | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityPageResults = instanceOfCommunityPageResults;
|
|
17
|
+
exports.CommunityPageResultsFromJSON = CommunityPageResultsFromJSON;
|
|
18
|
+
exports.CommunityPageResultsFromJSONTyped = CommunityPageResultsFromJSONTyped;
|
|
19
|
+
exports.CommunityPageResultsToJSON = CommunityPageResultsToJSON;
|
|
20
|
+
exports.CommunityPageResultsToJSONTyped = CommunityPageResultsToJSONTyped;
|
|
21
|
+
const CommunityPageCommunity_1 = require("./CommunityPageCommunity");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CommunityPageResults interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCommunityPageResults(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CommunityPageResultsFromJSON(json) {
|
|
33
|
+
return CommunityPageResultsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CommunityPageResultsFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'result': (0, CommunityPageCommunity_1.CommunityPageCommunityFromJSON)(json['result']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CommunityPageResultsToJSON(json) {
|
|
45
|
+
return CommunityPageResultsToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CommunityPageResultsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'result': (0, CommunityPageCommunity_1.CommunityPageCommunityToJSON)(value['result']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 CommunityPrimaryTopicName
|
|
16
|
+
*/
|
|
17
|
+
export interface CommunityPrimaryTopicName {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
topicName: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CommunityPrimaryTopicName interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfCommunityPrimaryTopicName(value: object): value is CommunityPrimaryTopicName;
|
|
27
|
+
export declare function CommunityPrimaryTopicNameFromJSON(json: any): CommunityPrimaryTopicName;
|
|
28
|
+
export declare function CommunityPrimaryTopicNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunityPrimaryTopicName;
|
|
29
|
+
export declare function CommunityPrimaryTopicNameToJSON(json: any): CommunityPrimaryTopicName;
|
|
30
|
+
export declare function CommunityPrimaryTopicNameToJSONTyped(value?: CommunityPrimaryTopicName | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityPrimaryTopicName = instanceOfCommunityPrimaryTopicName;
|
|
17
|
+
exports.CommunityPrimaryTopicNameFromJSON = CommunityPrimaryTopicNameFromJSON;
|
|
18
|
+
exports.CommunityPrimaryTopicNameFromJSONTyped = CommunityPrimaryTopicNameFromJSONTyped;
|
|
19
|
+
exports.CommunityPrimaryTopicNameToJSON = CommunityPrimaryTopicNameToJSON;
|
|
20
|
+
exports.CommunityPrimaryTopicNameToJSONTyped = CommunityPrimaryTopicNameToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CommunityPrimaryTopicName interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCommunityPrimaryTopicName(value) {
|
|
25
|
+
if ((!('topicName' in value) && !('topic_name' in value)) || (value['topicName'] === undefined && value['topic_name'] === undefined))
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CommunityPrimaryTopicNameFromJSON(json) {
|
|
30
|
+
return CommunityPrimaryTopicNameFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CommunityPrimaryTopicNameFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'topicName': json['topic_name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CommunityPrimaryTopicNameToJSON(json) {
|
|
41
|
+
return CommunityPrimaryTopicNameToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CommunityPrimaryTopicNameToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'topic_name': value['topicName'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 { CommunityQueryResponseData } from './CommunityQueryResponseData';
|
|
13
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CommunityQueryResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface CommunityQueryResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
data: CommunityQueryResponseData;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
errors?: Array<ErrorResponse>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CommunityQueryResponse interface.
|
|
31
|
+
*/
|
|
32
|
+
export declare function instanceOfCommunityQueryResponse(value: object): value is CommunityQueryResponse;
|
|
33
|
+
export declare function CommunityQueryResponseFromJSON(json: any): CommunityQueryResponse;
|
|
34
|
+
export declare function CommunityQueryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunityQueryResponse;
|
|
35
|
+
export declare function CommunityQueryResponseToJSON(json: any): CommunityQueryResponse;
|
|
36
|
+
export declare function CommunityQueryResponseToJSONTyped(value?: CommunityQueryResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityQueryResponse = instanceOfCommunityQueryResponse;
|
|
17
|
+
exports.CommunityQueryResponseFromJSON = CommunityQueryResponseFromJSON;
|
|
18
|
+
exports.CommunityQueryResponseFromJSONTyped = CommunityQueryResponseFromJSONTyped;
|
|
19
|
+
exports.CommunityQueryResponseToJSON = CommunityQueryResponseToJSON;
|
|
20
|
+
exports.CommunityQueryResponseToJSONTyped = CommunityQueryResponseToJSONTyped;
|
|
21
|
+
const CommunityQueryResponseData_1 = require("./CommunityQueryResponseData");
|
|
22
|
+
const ErrorResponse_1 = require("./ErrorResponse");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CommunityQueryResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCommunityQueryResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CommunityQueryResponseFromJSON(json) {
|
|
32
|
+
return CommunityQueryResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CommunityQueryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'data': (0, CommunityQueryResponseData_1.CommunityQueryResponseDataFromJSON)(json['data']),
|
|
40
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ErrorResponse_1.ErrorResponseFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CommunityQueryResponseToJSON(json) {
|
|
44
|
+
return CommunityQueryResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CommunityQueryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'data': (0, CommunityQueryResponseData_1.CommunityQueryResponseDataToJSON)(value['data']),
|
|
52
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ErrorResponse_1.ErrorResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 { CommunitySettingsResults } from './CommunitySettingsResults';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CommunityQueryResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface CommunityQueryResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
communityResults: CommunitySettingsResults;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the CommunityQueryResponseData interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfCommunityQueryResponseData(value: object): value is CommunityQueryResponseData;
|
|
28
|
+
export declare function CommunityQueryResponseDataFromJSON(json: any): CommunityQueryResponseData;
|
|
29
|
+
export declare function CommunityQueryResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunityQueryResponseData;
|
|
30
|
+
export declare function CommunityQueryResponseDataToJSON(json: any): CommunityQueryResponseData;
|
|
31
|
+
export declare function CommunityQueryResponseDataToJSONTyped(value?: CommunityQueryResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityQueryResponseData = instanceOfCommunityQueryResponseData;
|
|
17
|
+
exports.CommunityQueryResponseDataFromJSON = CommunityQueryResponseDataFromJSON;
|
|
18
|
+
exports.CommunityQueryResponseDataFromJSONTyped = CommunityQueryResponseDataFromJSONTyped;
|
|
19
|
+
exports.CommunityQueryResponseDataToJSON = CommunityQueryResponseDataToJSON;
|
|
20
|
+
exports.CommunityQueryResponseDataToJSONTyped = CommunityQueryResponseDataToJSONTyped;
|
|
21
|
+
const CommunitySettingsResults_1 = require("./CommunitySettingsResults");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CommunityQueryResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCommunityQueryResponseData(value) {
|
|
26
|
+
if (!('communityResults' in value) || value['communityResults'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CommunityQueryResponseDataFromJSON(json) {
|
|
31
|
+
return CommunityQueryResponseDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CommunityQueryResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'communityResults': (0, CommunitySettingsResults_1.CommunitySettingsResultsFromJSON)(json['communityResults']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CommunityQueryResponseDataToJSON(json) {
|
|
42
|
+
return CommunityQueryResponseDataToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CommunityQueryResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'communityResults': (0, CommunitySettingsResults_1.CommunitySettingsResultsToJSON)(value['communityResults']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CommunityRelayRule
|
|
16
|
+
*/
|
|
17
|
+
export interface CommunityRelayRule {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
restId: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the CommunityRelayRule interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfCommunityRelayRule(value: object): value is CommunityRelayRule;
|
|
39
|
+
export declare function CommunityRelayRuleFromJSON(json: any): CommunityRelayRule;
|
|
40
|
+
export declare function CommunityRelayRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunityRelayRule;
|
|
41
|
+
export declare function CommunityRelayRuleToJSON(json: any): CommunityRelayRule;
|
|
42
|
+
export declare function CommunityRelayRuleToJSONTyped(value?: CommunityRelayRule | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Twitter OpenAPI
|
|
6
|
+
* Twitter OpenAPI(Swagger) specification
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
* Contact: yuki@yuki0311.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCommunityRelayRule = instanceOfCommunityRelayRule;
|
|
17
|
+
exports.CommunityRelayRuleFromJSON = CommunityRelayRuleFromJSON;
|
|
18
|
+
exports.CommunityRelayRuleFromJSONTyped = CommunityRelayRuleFromJSONTyped;
|
|
19
|
+
exports.CommunityRelayRuleToJSON = CommunityRelayRuleToJSON;
|
|
20
|
+
exports.CommunityRelayRuleToJSONTyped = CommunityRelayRuleToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CommunityRelayRule interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCommunityRelayRule(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if ((!('restId' in value) && !('rest_id' in value)) || (value['restId'] === undefined && value['rest_id'] === undefined))
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function CommunityRelayRuleFromJSON(json) {
|
|
34
|
+
return CommunityRelayRuleFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function CommunityRelayRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'restId': json['rest_id'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function CommunityRelayRuleToJSON(json) {
|
|
48
|
+
return CommunityRelayRuleToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function CommunityRelayRuleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'description': value['description'],
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'rest_id': value['restId'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Twitter OpenAPI
|
|
3
|
+
* Twitter OpenAPI(Swagger) specification
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
* Contact: yuki@yuki0311.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TypeName } from './TypeName';
|
|
13
|
+
import type { CommunityFacepileUserResults } from './CommunityFacepileUserResults';
|
|
14
|
+
import type { CommunityBannerMedia } from './CommunityBannerMedia';
|
|
15
|
+
import type { CommunityPrimaryTopicName } from './CommunityPrimaryTopicName';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CommunitySearchCommunity
|
|
20
|
+
*/
|
|
21
|
+
export interface CommunitySearchCommunity {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
typename: TypeName;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
customBannerMedia?: CommunityBannerMedia;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
defaultBannerMedia: CommunityBannerMedia;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
isNsfw: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
memberCount: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
membersFacepileResults: Array<CommunityFacepileUserResults>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
primaryCommunityTopic?: CommunityPrimaryTopicName;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
restId: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the CommunitySearchCommunity interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfCommunitySearchCommunity(value: object): value is CommunitySearchCommunity;
|
|
67
|
+
export declare function CommunitySearchCommunityFromJSON(json: any): CommunitySearchCommunity;
|
|
68
|
+
export declare function CommunitySearchCommunityFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommunitySearchCommunity;
|
|
69
|
+
export declare function CommunitySearchCommunityToJSON(json: any): CommunitySearchCommunity;
|
|
70
|
+
export declare function CommunitySearchCommunityToJSONTyped(value?: CommunitySearchCommunity | null, ignoreDiscriminator?: boolean): any;
|