├── .eslintignore ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ └── publish.yml ├── .gitignore ├── .npmignore ├── .yarnrc ├── LICENSE ├── Readme.md ├── package.json ├── src ├── common │ └── common.ts ├── index.ts ├── methods │ ├── account.ts │ ├── ads.ts │ ├── appWidgets.ts │ ├── apps.ts │ ├── auth.ts │ ├── board.ts │ ├── bugtracker.ts │ ├── calls.ts │ ├── database.ts │ ├── docs.ts │ ├── donut.ts │ ├── downloadedGames.ts │ ├── execute.ts │ ├── fave.ts │ ├── friends.ts │ ├── gifts.ts │ ├── groups.ts │ ├── leadForms.ts │ ├── likes.ts │ ├── market.ts │ ├── messages.ts │ ├── newsfeed.ts │ ├── notes.ts │ ├── notifications.ts │ ├── orders.ts │ ├── pages.ts │ ├── photos.ts │ ├── podcasts.ts │ ├── polls.ts │ ├── prettyCards.ts │ ├── search.ts │ ├── secure.ts │ ├── stats.ts │ ├── status.ts │ ├── storage.ts │ ├── store.ts │ ├── stories.ts │ ├── streaming.ts │ ├── translations.ts │ ├── users.ts │ ├── utils.ts │ ├── video.ts │ ├── wall.ts │ └── widgets.ts └── objects │ ├── account │ ├── AccountAccountCounters.ts │ ├── AccountCountersFilter.ts │ ├── AccountInfo.ts │ ├── AccountNameRequest.ts │ ├── AccountNameRequestStatus.ts │ ├── AccountOffer.ts │ ├── AccountPushConversations.ts │ ├── AccountPushConversationsItem.ts │ ├── AccountPushParams.ts │ ├── AccountPushParamsMode.ts │ ├── AccountPushParamsOnoff.ts │ ├── AccountPushParamsSettings.ts │ ├── AccountPushSettings.ts │ ├── AccountUserSettings.ts │ ├── AccountUserSettingsInterest.ts │ └── AccountUserSettingsInterests.ts │ ├── address │ └── AddressFields.ts │ ├── ads │ ├── AdsAccessRole.ts │ ├── AdsAccesses.ts │ ├── AdsAccount.ts │ ├── AdsAccountType.ts │ ├── AdsAd.ts │ ├── AdsAdApproved.ts │ ├── AdsAdCostType.ts │ ├── AdsAdLayout.ts │ ├── AdsAdStatus.ts │ ├── AdsCampaign.ts │ ├── AdsCampaignStatus.ts │ ├── AdsCampaignType.ts │ ├── AdsCategory.ts │ ├── AdsClient.ts │ ├── AdsClipItem.ts │ ├── AdsClipItemLink.ts │ ├── AdsCreateAdStatus.ts │ ├── AdsCreateCampaignStatus.ts │ ├── AdsCreateClientsStatus.ts │ ├── AdsCriteriaSex.ts │ ├── AdsDemoStats.ts │ ├── AdsDemostatsFormat.ts │ ├── AdsEventsRetargetingGroup.ts │ ├── AdsFloodStats.ts │ ├── AdsFloodStatsByUserItem.ts │ ├── AdsLinkStatus.ts │ ├── AdsLookalikeRequest.ts │ ├── AdsLookalikeRequestSaveAudienceLevel.ts │ ├── AdsMobileStatItem.ts │ ├── AdsMusician.ts │ ├── AdsObjectType.ts │ ├── AdsOrdClientType.ts │ ├── AdsOrdData.ts │ ├── AdsOrdSubagent.ts │ ├── AdsPost.ts │ ├── AdsPostComments.ts │ ├── AdsPostDonut.ts │ ├── AdsPostEasyPromote.ts │ ├── AdsPostLikes.ts │ ├── AdsPostOwner.ts │ ├── AdsPostReposts.ts │ ├── AdsPostViews.ts │ ├── AdsPromotedPostReach.ts │ ├── AdsRejectReason.ts │ ├── AdsRules.ts │ ├── AdsStats.ts │ ├── AdsStatsAge.ts │ ├── AdsStatsCities.ts │ ├── AdsStatsFormat.ts │ ├── AdsStatsSex.ts │ ├── AdsStatsSexAge.ts │ ├── AdsStatsSexValue.ts │ ├── AdsStatsViewsTimes.ts │ ├── AdsStories.ts │ ├── AdsStoriesOwner.ts │ ├── AdsStoryItem.ts │ ├── AdsStoryItemLink.ts │ ├── AdsStoryItemStats.ts │ ├── AdsStoryItemStatsFollow.ts │ ├── AdsStoryItemStatsUrlView.ts │ ├── AdsTargSettings.ts │ ├── AdsTargStats.ts │ ├── AdsTargSuggestions.ts │ ├── AdsTargSuggestionsCities.ts │ ├── AdsTargSuggestionsRegions.ts │ ├── AdsTargSuggestionsSchools.ts │ ├── AdsTargSuggestionsSchoolsType.ts │ ├── AdsTargetGroup.ts │ ├── AdsTargetGroupTargetPixelRule.ts │ ├── AdsTargetPixelInfo.ts │ ├── AdsUpdateAdsStatus.ts │ ├── AdsUpdateClientsStatus.ts │ ├── AdsUpdateOfficeUsersResult.ts │ └── AdsUsers.ts │ ├── appWidgets │ ├── AppWidgetsPhoto.ts │ └── AppWidgetsPhotos.ts │ ├── apps │ ├── AppsApp.ts │ ├── AppsAppFields.ts │ ├── AppsAppLeaderboardType.ts │ ├── AppsAppMin.ts │ ├── AppsAppType.ts │ ├── AppsCatalogList.ts │ ├── AppsCustomSnippet.ts │ ├── AppsLeaderboard.ts │ ├── AppsScope.ts │ └── AppsTestingGroup.ts │ ├── audio │ └── AudioAudio.ts │ ├── base │ ├── BaseCity.ts │ ├── BaseCommentsInfo.ts │ ├── BaseCountry.ts │ ├── BaseCropPhoto.ts │ ├── BaseCropPhotoCrop.ts │ ├── BaseCropPhotoRect.ts │ ├── BaseError.ts │ ├── BaseGeo.ts │ ├── BaseGeoCoordinates.ts │ ├── BaseGradientPoint.ts │ ├── BaseImage.ts │ ├── BaseLikes.ts │ ├── BaseLikesInfo.ts │ ├── BaseLink.ts │ ├── BaseLinkApplication.ts │ ├── BaseLinkApplicationStore.ts │ ├── BaseLinkButton.ts │ ├── BaseLinkButtonAction.ts │ ├── BaseLinkButtonActionType.ts │ ├── BaseLinkButtonStyle.ts │ ├── BaseLinkProduct.ts │ ├── BaseLinkProductStatus.ts │ ├── BaseLinkRating.ts │ ├── BaseMessageError.ts │ ├── BaseObject.ts │ ├── BaseObjectCount.ts │ ├── BaseObjectWithName.ts │ ├── BaseOwnerCover.ts │ ├── BaseOwnerCoverCropParams.ts │ ├── BasePlace.ts │ ├── BaseRepostsInfo.ts │ ├── BaseRequestParam.ts │ ├── BaseSex.ts │ ├── BaseSticker.ts │ ├── BaseStickerAnimation.ts │ ├── BaseStickerNew.ts │ ├── BaseUploadServer.ts │ ├── BaseUserGroupFields.ts │ └── BaseUserId.ts │ ├── board │ ├── BoardDefaultOrder.ts │ ├── BoardTopic.ts │ └── BoardTopicComment.ts │ ├── bugtracker │ ├── BugtrackerAddCompanyGroupsMembersError.ts │ ├── BugtrackerAttachment.ts │ ├── BugtrackerBugreport.ts │ ├── BugtrackerBugreportSubscribeState.ts │ ├── BugtrackerComment.ts │ ├── BugtrackerCommentAuthor.ts │ ├── BugtrackerCompanyMember.ts │ └── BugtrackerCompanyMemberProduct.ts │ ├── calls │ ├── CallsCall.ts │ ├── CallsEndState.ts │ ├── CallsParticipants.ts │ └── CallsShortCredentials.ts │ ├── comment │ └── CommentThread.ts │ ├── database │ ├── DatabaseCitiesFields.ts │ ├── DatabaseCity.ts │ ├── DatabaseCityById.ts │ ├── DatabaseFaculty.ts │ ├── DatabaseLanguageFull.ts │ ├── DatabaseRegion.ts │ ├── DatabaseSchool.ts │ ├── DatabaseSchoolClass.ts │ ├── DatabaseStation.ts │ └── DatabaseUniversity.ts │ ├── docs │ ├── DocsDoc.ts │ ├── DocsDocAttachmentType.ts │ ├── DocsDocPreview.ts │ ├── DocsDocPreviewAudioMsg.ts │ ├── DocsDocPreviewGraffiti.ts │ ├── DocsDocPreviewPhoto.ts │ ├── DocsDocPreviewPhotoSizes.ts │ ├── DocsDocPreviewVideo.ts │ └── DocsDocTypes.ts │ ├── donut │ └── DonutDonatorSubscriptionInfo.ts │ ├── events │ └── EventsEventAttach.ts │ ├── fave │ ├── FaveBookmark.ts │ ├── FaveBookmarkType.ts │ ├── FavePage.ts │ ├── FavePageType.ts │ └── FaveTag.ts │ ├── friends │ ├── FriendsFriendExtendedStatus.ts │ ├── FriendsFriendStatus.ts │ ├── FriendsFriendStatusStatus.ts │ ├── FriendsFriendsList.ts │ ├── FriendsMutualFriend.ts │ ├── FriendsOnlineUsers.ts │ ├── FriendsOnlineUsersWithMobile.ts │ ├── FriendsRequestsMutual.ts │ ├── FriendsRequestsXtrMessage.ts │ └── FriendsRequestsXtrMutual.ts │ ├── gifts │ ├── GiftsGift.ts │ ├── GiftsGiftPrivacy.ts │ └── GiftsLayout.ts │ ├── groups │ ├── GroupsAddress.ts │ ├── GroupsAddressTimetable.ts │ ├── GroupsAddressTimetableDay.ts │ ├── GroupsAddressWorkInfoStatus.ts │ ├── GroupsAddressesInfo.ts │ ├── GroupsBanInfo.ts │ ├── GroupsBanInfoReason.ts │ ├── GroupsCallbackServer.ts │ ├── GroupsCallbackSettings.ts │ ├── GroupsContactsItem.ts │ ├── GroupsCountersGroup.ts │ ├── GroupsFields.ts │ ├── GroupsFilter.ts │ ├── GroupsGroup.ts │ ├── GroupsGroupAccess.ts │ ├── GroupsGroupAdminLevel.ts │ ├── GroupsGroupAgeLimits.ts │ ├── GroupsGroupAttach.ts │ ├── GroupsGroupAudio.ts │ ├── GroupsGroupBanInfo.ts │ ├── GroupsGroupCategory.ts │ ├── GroupsGroupCategoryFull.ts │ ├── GroupsGroupCategoryType.ts │ ├── GroupsGroupDocs.ts │ ├── GroupsGroupFull.ts │ ├── GroupsGroupFullAgeLimits.ts │ ├── GroupsGroupFullMemberStatus.ts │ ├── GroupsGroupFullSection.ts │ ├── GroupsGroupIsClosed.ts │ ├── GroupsGroupPhotos.ts │ ├── GroupsGroupPublicCategoryList.ts │ ├── GroupsGroupSubcategory.ts │ ├── GroupsGroupSuggestedPrivacy.ts │ ├── GroupsGroupTag.ts │ ├── GroupsGroupTopics.ts │ ├── GroupsGroupType.ts │ ├── GroupsGroupVideo.ts │ ├── GroupsGroupWall.ts │ ├── GroupsGroupWiki.ts │ ├── GroupsGroupsArray.ts │ ├── GroupsLinksItem.ts │ ├── GroupsLiveCovers.ts │ ├── GroupsLongPollEvents.ts │ ├── GroupsLongPollServer.ts │ ├── GroupsLongPollSettings.ts │ ├── GroupsMarketInfo.ts │ ├── GroupsMemberRole.ts │ ├── GroupsMemberRolePermission.ts │ ├── GroupsMemberRoleStatus.ts │ ├── GroupsMemberStatus.ts │ ├── GroupsMemberStatusFull.ts │ ├── GroupsOnlineStatus.ts │ ├── GroupsOnlineStatusType.ts │ ├── GroupsOwnerXtrBanInfo.ts │ ├── GroupsPhotoSize.ts │ ├── GroupsProfileItem.ts │ ├── GroupsRoleOptions.ts │ ├── GroupsSectionsListItem.ts │ ├── GroupsSettingsTwitter.ts │ ├── GroupsSubjectItem.ts │ ├── GroupsTokenPermissionSetting.ts │ └── GroupsUserXtrRole.ts │ ├── leadForms │ ├── LeadFormsAnswer.ts │ ├── LeadFormsAnswerItem.ts │ ├── LeadFormsForm.ts │ ├── LeadFormsLead.ts │ ├── LeadFormsQuestionItem.ts │ └── LeadFormsQuestionItemOption.ts │ ├── link │ └── LinkTargetObject.ts │ ├── market │ ├── MarketCurrency.ts │ ├── MarketGlobalSearchFilters.ts │ ├── MarketItemOwnerInfo.ts │ ├── MarketItemPromotionInfo.ts │ ├── MarketMarketAlbum.ts │ ├── MarketMarketCategory.ts │ ├── MarketMarketCategoryNested.ts │ ├── MarketMarketCategoryTree.ts │ ├── MarketMarketCategoryTreeView.ts │ ├── MarketMarketItem.ts │ ├── MarketMarketItemAvailability.ts │ ├── MarketMarketItemBasicWithGroup.ts │ ├── MarketMarketItemFull.ts │ ├── MarketOrder.ts │ ├── MarketOrderItem.ts │ ├── MarketOwnerType.ts │ ├── MarketPrice.ts │ ├── MarketProperty.ts │ ├── MarketPropertyVariant.ts │ ├── MarketServicesViewType.ts │ └── MarketUploadPhotoData.ts │ ├── messages │ ├── MessagesActionOneOf.ts │ ├── MessagesAudioMessage.ts │ ├── MessagesChat.ts │ ├── MessagesChatFull.ts │ ├── MessagesChatPreview.ts │ ├── MessagesChatPushSettings.ts │ ├── MessagesChatRestrictions.ts │ ├── MessagesChatSettings.ts │ ├── MessagesChatSettingsAcl.ts │ ├── MessagesChatSettingsPermissions.ts │ ├── MessagesChatSettingsPhoto.ts │ ├── MessagesChatSettingsState.ts │ ├── MessagesConversation.ts │ ├── MessagesConversationCanWrite.ts │ ├── MessagesConversationMember.ts │ ├── MessagesConversationPeer.ts │ ├── MessagesConversationPeerType.ts │ ├── MessagesConversationSortId.ts │ ├── MessagesConversationWithMessage.ts │ ├── MessagesDeleteFullResponseItem.ts │ ├── MessagesForeignMessage.ts │ ├── MessagesFwdMessages.ts │ ├── MessagesGetConversationById.ts │ ├── MessagesGetConversationByIdExtended.ts │ ├── MessagesGetConversationMembers.ts │ ├── MessagesGetInviteLinkByOwnerResponseItem.ts │ ├── MessagesGraffiti.ts │ ├── MessagesHistoryAttachment.ts │ ├── MessagesHistoryMessageAttachment.ts │ ├── MessagesHistoryMessageAttachmentType.ts │ ├── MessagesKeyboard.ts │ ├── MessagesKeyboardButton.ts │ ├── MessagesKeyboardButtonActionCallback.ts │ ├── MessagesKeyboardButtonActionLocation.ts │ ├── MessagesKeyboardButtonActionOpenApp.ts │ ├── MessagesKeyboardButtonActionOpenLink.ts │ ├── MessagesKeyboardButtonActionOpenPhoto.ts │ ├── MessagesKeyboardButtonActionText.ts │ ├── MessagesKeyboardButtonActionVkpay.ts │ ├── MessagesLastActivity.ts │ ├── MessagesLongpollMessages.ts │ ├── MessagesLongpollParams.ts │ ├── MessagesMessage.ts │ ├── MessagesMessageAttachment.ts │ ├── MessagesMessageAttachmentType.ts │ ├── MessagesMessageRequestData.ts │ ├── MessagesMessagesArray.ts │ ├── MessagesOutReadBy.ts │ ├── MessagesPinnedMessage.ts │ ├── MessagesPushSettings.ts │ ├── MessagesReactionAssetItem.ts │ ├── MessagesReactionAssetItemLinks.ts │ ├── MessagesReactionCounterResponseItem.ts │ ├── MessagesReactionCountersResponseItem.ts │ ├── MessagesReactionResponseItem.ts │ ├── MessagesSendUserIdsResponseItem.ts │ └── MessagesUserXtrInvitedBy.ts │ ├── newsfeed │ ├── NewsfeedCommentsBase.ts │ ├── NewsfeedCommentsFilters.ts │ ├── NewsfeedCommentsItem.ts │ ├── NewsfeedCommentsItemTypeMarket.ts │ ├── NewsfeedCommentsItemTypeNotes.ts │ ├── NewsfeedCommentsItemTypePhoto.ts │ ├── NewsfeedCommentsItemTypePost.ts │ ├── NewsfeedCommentsItemTypeTopic.ts │ ├── NewsfeedCommentsItemTypeVideo.ts │ ├── NewsfeedItemAudio.ts │ ├── NewsfeedItemAudioAudio.ts │ ├── NewsfeedItemDigest.ts │ ├── NewsfeedItemDigestButton.ts │ ├── NewsfeedItemDigestFooter.ts │ ├── NewsfeedItemDigestHeader.ts │ ├── NewsfeedItemDigestItem.ts │ ├── NewsfeedItemFriend.ts │ ├── NewsfeedItemFriendFriends.ts │ ├── NewsfeedItemPhoto.ts │ ├── NewsfeedItemPhotoPhotos.ts │ ├── NewsfeedItemPhotoTag.ts │ ├── NewsfeedItemPhotoTagPhotoTags.ts │ ├── NewsfeedItemPromoButton.ts │ ├── NewsfeedItemPromoButtonAction.ts │ ├── NewsfeedItemPromoButtonImage.ts │ ├── NewsfeedItemTopic.ts │ ├── NewsfeedItemVideo.ts │ ├── NewsfeedItemVideoVideo.ts │ ├── NewsfeedItemWallpost.ts │ ├── NewsfeedItemWallpostFeedback.ts │ ├── NewsfeedItemWallpostFeedbackAnswer.ts │ ├── NewsfeedItemWallpostFeedbackType.ts │ ├── NewsfeedList.ts │ ├── NewsfeedListFull.ts │ ├── NewsfeedNewsfeedItem.ts │ └── NewsfeedNewsfeedItemType.ts │ ├── notes │ ├── NotesNote.ts │ └── NotesNoteComment.ts │ ├── notifications │ ├── NotificationsNotificationItem.ts │ ├── NotificationsSendMessageError.ts │ └── NotificationsSendMessageItem.ts │ ├── orders │ ├── OrdersAmount.ts │ ├── OrdersAmountItem.ts │ ├── OrdersOrder.ts │ └── OrdersSubscription.ts │ ├── owner │ └── OwnerState.ts │ ├── pages │ ├── PagesPrivacySettings.ts │ ├── PagesWikipage.ts │ ├── PagesWikipageFull.ts │ └── PagesWikipageHistory.ts │ ├── photos │ ├── PhotosImage.ts │ ├── PhotosImageType.ts │ ├── PhotosPhoto.ts │ ├── PhotosPhotoAlbum.ts │ ├── PhotosPhotoAlbumFull.ts │ ├── PhotosPhotoSizes.ts │ ├── PhotosPhotoSizesType.ts │ ├── PhotosPhotoTag.ts │ ├── PhotosPhotoUpload.ts │ └── PhotosPhotoXtrTagInfo.ts │ ├── podcast │ ├── PodcastCover.ts │ └── PodcastExternalData.ts │ ├── polls │ ├── PollsAnswer.ts │ ├── PollsBackground.ts │ ├── PollsFieldsVoters.ts │ ├── PollsFriend.ts │ ├── PollsPoll.ts │ ├── PollsPollExtended.ts │ ├── PollsVoters.ts │ ├── PollsVotersFieldsUsers.ts │ └── PollsVotersUsers.ts │ ├── prettyCards │ ├── PrettyCardsPrettyCard.ts │ └── PrettyCardsPrettyCardOrError.ts │ ├── search │ ├── SearchHint.ts │ ├── SearchHintSection.ts │ └── SearchHintType.ts │ ├── secure │ ├── SecureGiveEventStickerItem.ts │ ├── SecureLevel.ts │ ├── SecureSetCounterItem.ts │ ├── SecureSmsNotification.ts │ ├── SecureTokenChecked.ts │ └── SecureTransaction.ts │ ├── stats │ ├── StatsActivity.ts │ ├── StatsCity.ts │ ├── StatsCountry.ts │ ├── StatsPeriod.ts │ ├── StatsReach.ts │ ├── StatsSexAge.ts │ ├── StatsViews.ts │ └── StatsWallpostStat.ts │ ├── status │ └── StatusStatus.ts │ ├── storage │ └── StorageValue.ts │ ├── store │ ├── StoreProduct.ts │ ├── StoreProductIcon.ts │ ├── StoreStickersKeyword.ts │ └── StoreStickersKeywordSticker.ts │ ├── stories │ ├── StoriesClickableArea.ts │ ├── StoriesClickableSticker.ts │ ├── StoriesClickableStickers.ts │ ├── StoriesFeedItem.ts │ ├── StoriesPromoBlock.ts │ ├── StoriesReplies.ts │ ├── StoriesStory.ts │ ├── StoriesStoryLink.ts │ ├── StoriesStoryStats.ts │ ├── StoriesStoryStatsStat.ts │ ├── StoriesStoryStatsState.ts │ ├── StoriesStoryType.ts │ └── StoriesViewersItem.ts │ ├── streaming │ ├── StreamingStats.ts │ └── StreamingStatsPoint.ts │ ├── users │ ├── UsersCareer.ts │ ├── UsersExports.ts │ ├── UsersFields.ts │ ├── UsersLastSeen.ts │ ├── UsersMilitary.ts │ ├── UsersOccupation.ts │ ├── UsersOnlineInfo.ts │ ├── UsersPersonal.ts │ ├── UsersRelative.ts │ ├── UsersSchool.ts │ ├── UsersSubscriptionsItem.ts │ ├── UsersUniversity.ts │ ├── UsersUser.ts │ ├── UsersUserConnections.ts │ ├── UsersUserCounters.ts │ ├── UsersUserFull.ts │ ├── UsersUserMin.ts │ ├── UsersUserRelation.ts │ ├── UsersUserType.ts │ └── UsersUsersArray.ts │ ├── utils │ ├── UtilsDomainResolved.ts │ ├── UtilsDomainResolvedType.ts │ ├── UtilsLastShortenedLink.ts │ ├── UtilsLinkChecked.ts │ ├── UtilsLinkCheckedStatus.ts │ ├── UtilsLinkStats.ts │ ├── UtilsLinkStatsExtended.ts │ ├── UtilsShortLink.ts │ ├── UtilsStats.ts │ ├── UtilsStatsCity.ts │ ├── UtilsStatsCountry.ts │ ├── UtilsStatsExtended.ts │ └── UtilsStatsSexAge.ts │ ├── video │ ├── VideoEpisode.ts │ ├── VideoLiveCategory.ts │ ├── VideoLiveInfo.ts │ ├── VideoLiveSettings.ts │ ├── VideoPlaylistPrivacyCategory.ts │ ├── VideoSaveResult.ts │ ├── VideoStreamInputParams.ts │ ├── VideoVideo.ts │ ├── VideoVideoAlbum.ts │ ├── VideoVideoAlbumFull.ts │ ├── VideoVideoFiles.ts │ ├── VideoVideoFull.ts │ └── VideoVideoImage.ts │ ├── wall │ ├── WallAppPost.ts │ ├── WallAttachedNote.ts │ ├── WallCommentAttachment.ts │ ├── WallCommentAttachmentType.ts │ ├── WallGeo.ts │ ├── WallGraffiti.ts │ ├── WallPostCopyright.ts │ ├── WallPostSource.ts │ ├── WallPostSourceType.ts │ ├── WallPostType.ts │ ├── WallPostedPhoto.ts │ ├── WallViews.ts │ ├── WallWallComment.ts │ ├── WallWallCommentDonut.ts │ ├── WallWallCommentDonutPlaceholder.ts │ ├── WallWallItem.ts │ ├── WallWallpostAttachment.ts │ ├── WallWallpostAttachmentType.ts │ ├── WallWallpostCommentsDonut.ts │ ├── WallWallpostCommentsDonutPlaceholder.ts │ ├── WallWallpostDonut.ts │ ├── WallWallpostDonutPlaceholder.ts │ └── WallWallpostFull.ts │ └── widgets │ ├── WidgetsCommentMedia.ts │ ├── WidgetsCommentMediaType.ts │ ├── WidgetsCommentReplies.ts │ ├── WidgetsCommentRepliesItem.ts │ ├── WidgetsWidgetComment.ts │ ├── WidgetsWidgetLikes.ts │ └── WidgetsWidgetPage.ts ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | .github/dependabot.yml @VKCOM/vk-sec 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: 'npm' 4 | directory: '/' 5 | schedule: 6 | interval: 'daily' 7 | allow: 8 | - dependency-type: 'direct' 9 | reviewers: 10 | - 'VKCOM/vk-sec' 11 | 12 | - package-ecosystem: 'github-actions' 13 | directory: '/' 14 | schedule: 15 | interval: 'daily' 16 | reviewers: 17 | - 'VKCOM/vk-sec' 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | node_modules/ 3 | src/ 4 | -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- 1 | frozen-lockfile true 2 | -------------------------------------------------------------------------------- /src/common/common.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | export const API_VERSION = '5.199' 6 | 7 | export type ValueOf = T[keyof T]; 8 | 9 | export interface BaseAPIParams { 10 | v: string; 11 | access_token: string; 12 | lang?: number; 13 | device_id?: string; 14 | } 15 | -------------------------------------------------------------------------------- /src/methods/downloadedGames.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | /** 6 | * downloadedGames.getPaidStatus 7 | */ 8 | 9 | export interface DownloadedGamesGetPaidStatusParams { 10 | user_id?: number; 11 | } 12 | 13 | // downloadedGames.getPaidStatus_response 14 | export interface DownloadedGamesGetPaidStatusResponse { 15 | /** 16 | * Game has been paid 17 | */ 18 | is_paid?: boolean; 19 | } 20 | -------------------------------------------------------------------------------- /src/methods/execute.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | /** 6 | * execute 7 | */ 8 | 9 | export interface ExecuteParams {} 10 | 11 | // execute_response 12 | export interface ExecuteResponse { 13 | // empty interface 14 | [key: string]: any; 15 | } 16 | -------------------------------------------------------------------------------- /src/methods/gifts.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GiftsGift } from '../objects/gifts/GiftsGift'; 6 | 7 | /** 8 | * gifts.get 9 | * 10 | * Returns a list of user gifts. 11 | */ 12 | 13 | export interface GiftsGetParams { 14 | /** 15 | * User ID. 16 | */ 17 | user_id?: number; 18 | /** 19 | * Number of gifts to return. 20 | */ 21 | count?: number; 22 | /** 23 | * Offset needed to return a specific subset of results. 24 | */ 25 | offset?: number; 26 | } 27 | 28 | // gifts.get_response 29 | export interface GiftsGetResponse { 30 | /** 31 | * Total number 32 | */ 33 | count?: number; 34 | items?: GiftsGift[]; 35 | } 36 | -------------------------------------------------------------------------------- /src/methods/podcasts.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PodcastExternalData } from '../objects/podcast/PodcastExternalData'; 6 | 7 | /** 8 | * podcasts.searchPodcast 9 | */ 10 | 11 | export interface PodcastsSearchPodcastParams { 12 | search_string: string; 13 | offset?: number; 14 | count?: number; 15 | } 16 | 17 | // podcasts.searchPodcast_response 18 | export interface PodcastsSearchPodcastResponse { 19 | podcasts?: PodcastExternalData[]; 20 | /** 21 | * Total amount of found results 22 | */ 23 | results_total?: number; 24 | } 25 | -------------------------------------------------------------------------------- /src/methods/translations.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | /** 6 | * translations.translate 7 | */ 8 | 9 | export interface TranslationsTranslateParams { 10 | texts: string; 11 | translation_language: string; 12 | } 13 | 14 | // translations.translate_response 15 | export interface TranslationsTranslateResponse { 16 | texts?: string[]; 17 | source_lang?: string; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/account/AccountCountersFilter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // account_counters_filter 6 | export type AccountCountersFilter = 'app_requests' | 'events' | 'friends' | 'friends_recommendations' | 'games' | 'gifts' | 'groups' | 'messages' | 'notes' | 'notifications' | 'photos' | 'faves' | 'memories'; 7 | -------------------------------------------------------------------------------- /src/objects/account/AccountNameRequestStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // account_name_request_status 6 | /** 7 | * Request status 8 | */ 9 | export type AccountNameRequestStatus = 'success' | 'processing' | 'declined' | 'was_accepted' | 'was_declined' | 'declined_with_link' | 'response' | 'response_with_link'; 10 | -------------------------------------------------------------------------------- /src/objects/account/AccountPushConversations.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AccountPushConversationsItem } from './AccountPushConversationsItem'; 6 | 7 | // account_push_conversations 8 | export interface AccountPushConversations { 9 | /** 10 | * Items count 11 | */ 12 | count?: number; 13 | items?: AccountPushConversationsItem[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/account/AccountPushParamsMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // account_push_params_mode 6 | /** 7 | * Settings parameters 8 | */ 9 | export type AccountPushParamsMode = 'on' | 'off' | 'no_sound' | 'no_text'; 10 | -------------------------------------------------------------------------------- /src/objects/account/AccountPushParamsOnoff.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // account_push_params_onoff 6 | /** 7 | * Settings parameters 8 | */ 9 | export type AccountPushParamsOnoff = 'on' | 'off' | 'no_sound'; 10 | -------------------------------------------------------------------------------- /src/objects/account/AccountPushParamsSettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // account_push_params_settings 6 | /** 7 | * Settings parameters 8 | */ 9 | export type AccountPushParamsSettings = 'on' | 'off' | 'fr_of_fr' | 'no_sound'; 10 | -------------------------------------------------------------------------------- /src/objects/account/AccountPushSettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AccountPushConversations } from './AccountPushConversations'; 6 | import { AccountPushParams } from './AccountPushParams'; 7 | 8 | // account_push_settings 9 | export interface AccountPushSettings { 10 | /** 11 | * Information whether notifications are disabled 12 | */ 13 | disabled?: 0 | 1; 14 | /** 15 | * Time until that notifications are disabled in Unixtime 16 | */ 17 | disabled_until?: number; 18 | settings?: AccountPushParams; 19 | conversations?: AccountPushConversations; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/account/AccountUserSettingsInterest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // account_user_settings_interest 6 | export interface AccountUserSettingsInterest { 7 | title?: string; 8 | value?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/account/AccountUserSettingsInterests.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AccountUserSettingsInterest } from './AccountUserSettingsInterest'; 6 | 7 | // account_user_settings_interests 8 | export interface AccountUserSettingsInterests { 9 | activities?: AccountUserSettingsInterest; 10 | interests?: AccountUserSettingsInterest; 11 | music?: AccountUserSettingsInterest; 12 | tv?: AccountUserSettingsInterest; 13 | movies?: AccountUserSettingsInterest; 14 | books?: AccountUserSettingsInterest; 15 | games?: AccountUserSettingsInterest; 16 | quotes?: AccountUserSettingsInterest; 17 | about?: AccountUserSettingsInterest; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/address/AddressFields.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // address_fields 6 | export type AddressFields = 'id' | 'title' | 'address' | 'additional_address' | 'country_id' | 'city_id' | 'city' | 'metro_station_id' | 'metro_station' | 'latitude' | 'longitude' | 'distance' | 'work_info_status' | 'timetable' | 'phone' | 'time_offset'; 7 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAccessRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_access_role 6 | /** 7 | * Current user's role 8 | */ 9 | export type AdsAccessRole = 'admin' | 'manager' | 'reports'; 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAccesses.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsAccessRole } from './AdsAccessRole'; 6 | 7 | // ads_accesses 8 | export interface AdsAccesses { 9 | /** 10 | * Client ID 11 | */ 12 | client_id?: string; 13 | role?: AdsAccessRole; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAccount.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsAccessRole } from './AdsAccessRole'; 6 | import { AdsAccountType } from './AdsAccountType'; 7 | 8 | // ads_account 9 | export interface AdsAccount { 10 | access_role?: AdsAccessRole; 11 | /** 12 | * Account ID 13 | */ 14 | account_id?: number; 15 | /** 16 | * Information whether account is active 17 | */ 18 | account_status?: 0 | 1; 19 | account_type?: AdsAccountType; 20 | /** 21 | * Account name 22 | */ 23 | account_name?: string; 24 | /** 25 | * Can user view account budget 26 | */ 27 | can_view_budget?: boolean; 28 | } 29 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAccountType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_account_type 6 | /** 7 | * Account type 8 | */ 9 | export type AdsAccountType = 'general' | 'agency'; 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAdApproved.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_ad_approved enumNames 6 | export const AdsAdApprovedEnumNames = { 7 | NOT_MODERATED: 0, 8 | PENDING_MODERATION: 1, 9 | APPROVED: 2, 10 | REJECTED: 3, 11 | } as const; 12 | 13 | // ads_ad_approved 14 | /** 15 | * Review status 16 | * 17 | * @note This enum have auto-generated constant with keys and values 18 | * @see AdsAdApprovedEnumNames 19 | * 20 | * `0` — not moderated 21 | * `1` — pending moderation 22 | * `2` — approved 23 | * `3` — rejected 24 | */ 25 | export type AdsAdApproved = 0 | 1 | 2 | 3; 26 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAdCostType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_ad_cost_type enumNames 6 | export const AdsAdCostTypeEnumNames = { 7 | PER_CLICKS: 0, 8 | PER_IMPRESSIONS: 1, 9 | PER_ACTIONS: 2, 10 | PER_IMPRESSIONS_OPTIMIZED: 3, 11 | } as const; 12 | 13 | // ads_ad_cost_type 14 | /** 15 | * Cost type 16 | * 17 | * @note This enum have auto-generated constant with keys and values 18 | * @see AdsAdCostTypeEnumNames 19 | * 20 | * `0` — per clicks 21 | * `1` — per impressions 22 | * `2` — per actions 23 | * `3` — per impressions optimized 24 | */ 25 | export type AdsAdCostType = 0 | 1 | 2 | 3; 26 | -------------------------------------------------------------------------------- /src/objects/ads/AdsAdStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_ad_status enumNames 6 | export const AdsAdStatusEnumNames = { 7 | STOPPED: 0, 8 | STARTED: 1, 9 | DELETED: 2, 10 | } as const; 11 | 12 | // ads_ad_status 13 | /** 14 | * Ad atatus 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see AdsAdStatusEnumNames 18 | * 19 | * `0` — stopped 20 | * `1` — started 21 | * `2` — deleted 22 | */ 23 | export type AdsAdStatus = 0 | 1 | 2; 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCampaignStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_campaign_status enumNames 6 | export const AdsCampaignStatusEnumNames = { 7 | STOPPED: 0, 8 | STARTED: 1, 9 | DELETED: 2, 10 | } as const; 11 | 12 | // ads_campaign_status 13 | /** 14 | * Campaign status 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see AdsCampaignStatusEnumNames 18 | * 19 | * `0` — stopped 20 | * `1` — started 21 | * `2` — deleted 22 | */ 23 | export type AdsCampaignStatus = 0 | 1 | 2; 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCampaignType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_campaign_type 6 | /** 7 | * Campaign type 8 | */ 9 | export type AdsCampaignType = 'normal' | 'vk_apps_managed' | 'mobile_apps' | 'promoted_posts' | 'adaptive_ads' | 'stories'; 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_category 6 | export interface AdsCategory { 7 | /** 8 | * Category ID 9 | */ 10 | id?: number; 11 | /** 12 | * Category name 13 | */ 14 | name?: string; 15 | subcategories?: AdsCategory[]; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/ads/AdsClient.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsOrdData } from './AdsOrdData'; 6 | 7 | // ads_client 8 | export interface AdsClient { 9 | /** 10 | * Client's total limit, rubles 11 | */ 12 | all_limit?: string; 13 | /** 14 | * Client's day limit, rubles 15 | */ 16 | day_limit?: string; 17 | /** 18 | * Client ID 19 | */ 20 | id?: number; 21 | /** 22 | * Client name 23 | */ 24 | name?: string; 25 | /** 26 | * Ord data 27 | */ 28 | ord_data?: AdsOrdData; 29 | } 30 | -------------------------------------------------------------------------------- /src/objects/ads/AdsClipItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsClipItemLink } from './AdsClipItemLink'; 6 | 7 | // ads_clip_item 8 | export interface AdsClipItem { 9 | /** 10 | * Video id 11 | */ 12 | video_id?: number; 13 | /** 14 | * Preview url 15 | */ 16 | preview_url?: string; 17 | link?: AdsClipItemLink; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/ads/AdsClipItemLink.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_clip_item_link 6 | export interface AdsClipItemLink { 7 | /** 8 | * Text 9 | */ 10 | text?: string; 11 | /** 12 | * Key 13 | */ 14 | key?: string; 15 | /** 16 | * Url 17 | */ 18 | url?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCreateAdStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_create_ad_status 6 | export interface AdsCreateAdStatus { 7 | /** 8 | * Ad ID 9 | */ 10 | id?: number; 11 | /** 12 | * Stealth Post ID 13 | */ 14 | post_id?: number; 15 | /** 16 | * Error code 17 | */ 18 | error_code?: number; 19 | /** 20 | * Error description 21 | */ 22 | error_desc?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCreateCampaignStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_create_campaign_status 6 | export interface AdsCreateCampaignStatus { 7 | /** 8 | * Campaign ID 9 | */ 10 | id?: number; 11 | /** 12 | * Error code 13 | */ 14 | error_code?: number; 15 | /** 16 | * Error description 17 | */ 18 | error_desc?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCreateClientsStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_create_clients_status 6 | export interface AdsCreateClientsStatus { 7 | /** 8 | * Client ID 9 | */ 10 | id?: number; 11 | /** 12 | * Error code 13 | */ 14 | error_code?: number; 15 | /** 16 | * Error description 17 | */ 18 | error_desc?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsCriteriaSex.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_criteria_sex enumNames 6 | export const AdsCriteriaSexEnumNames = { 7 | ANY: '0', 8 | MALE: '1', 9 | FEMALE: '2', 10 | } as const; 11 | 12 | // ads_criteria_sex 13 | /** 14 | * Sex 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see AdsCriteriaSexEnumNames 18 | * 19 | * `0` — any 20 | * `1` — male 21 | * `2` — female 22 | */ 23 | export type AdsCriteriaSex = '0' | '1' | '2'; 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsDemoStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsDemostatsFormat } from './AdsDemostatsFormat'; 6 | import { AdsObjectType } from './AdsObjectType'; 7 | 8 | // ads_demo_stats 9 | export interface AdsDemoStats { 10 | /** 11 | * Object ID 12 | */ 13 | id?: number; 14 | stats?: AdsDemostatsFormat[]; 15 | type?: AdsObjectType; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/ads/AdsEventsRetargetingGroup.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_events_retargeting_group 6 | export interface AdsEventsRetargetingGroup { 7 | id?: number; 8 | value?: number[]; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsFloodStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsFloodStatsByUserItem } from './AdsFloodStatsByUserItem'; 6 | 7 | // ads_flood_stats 8 | export interface AdsFloodStats { 9 | /** 10 | * Requests left 11 | */ 12 | left?: number; 13 | /** 14 | * Time to refresh in seconds 15 | */ 16 | refresh?: number; 17 | /** 18 | * Used requests per user 19 | */ 20 | stats_by_user?: AdsFloodStatsByUserItem[]; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/ads/AdsFloodStatsByUserItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_flood_stats_by_user_item 6 | export interface AdsFloodStatsByUserItem { 7 | /** 8 | * User ID 9 | */ 10 | user_id?: number; 11 | /** 12 | * Used requests 13 | */ 14 | requests_count?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/ads/AdsLinkStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_link_status 6 | export interface AdsLinkStatus { 7 | /** 8 | * Reject reason 9 | */ 10 | description?: string; 11 | /** 12 | * URL 13 | */ 14 | redirect_url?: string; 15 | /** 16 | * Link status 17 | */ 18 | status?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsLookalikeRequestSaveAudienceLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_lookalike_request_save_audience_level 6 | export interface AdsLookalikeRequestSaveAudienceLevel { 7 | /** 8 | * Save audience level id, which is used in save audience queries 9 | */ 10 | level?: number; 11 | /** 12 | * Saved audience audience size for according level 13 | */ 14 | audience_count?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/ads/AdsMobileStatItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_mobile_stat_item 6 | export interface AdsMobileStatItem { 7 | key?: string; 8 | value?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsMusician.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_musician 6 | export interface AdsMusician { 7 | /** 8 | * Targeting music artist ID 9 | */ 10 | id?: number; 11 | /** 12 | * Music artist ID as in VKMusic 13 | */ 14 | original_id?: string; 15 | /** 16 | * Music artist name 17 | */ 18 | name?: string; 19 | /** 20 | * Music artist photo 21 | */ 22 | avatar?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsObjectType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_object_type 6 | /** 7 | * Object type 8 | */ 9 | export type AdsObjectType = 'ad' | 'campaign' | 'client' | 'office'; 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsOrdClientType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_ord_client_type 6 | export type AdsOrdClientType = 'person' | 'individual' | 'legal' | 'foreign' | 'unknown'; 7 | -------------------------------------------------------------------------------- /src/objects/ads/AdsOrdData.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsOrdClientType } from './AdsOrdClientType'; 6 | import { AdsOrdSubagent } from './AdsOrdSubagent'; 7 | 8 | // ads_ord_data 9 | export interface AdsOrdData { 10 | client_type?: AdsOrdClientType; 11 | client_name?: string; 12 | inn?: string; 13 | phone?: string; 14 | agency_phone?: string; 15 | subagent?: AdsOrdSubagent; 16 | contract_number?: string; 17 | contract_date?: string; 18 | contract_type?: string; 19 | contract_object?: string; 20 | with_vat?: boolean; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/ads/AdsOrdSubagent.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsOrdClientType } from './AdsOrdClientType'; 6 | 7 | // ads_ord_subagent 8 | export interface AdsOrdSubagent { 9 | type?: AdsOrdClientType; 10 | name?: string; 11 | inn?: string; 12 | phone?: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostComments.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_comments 6 | export interface AdsPostComments { 7 | /** 8 | * Count 9 | */ 10 | count?: number; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostDonut.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_donut 6 | export interface AdsPostDonut { 7 | /** 8 | * Is donut 9 | */ 10 | is_donut?: boolean; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostEasyPromote.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_easy_promote 6 | export interface AdsPostEasyPromote { 7 | /** 8 | * Type 9 | */ 10 | type?: number; 11 | /** 12 | * Text 13 | */ 14 | text?: string; 15 | /** 16 | * Label text 17 | */ 18 | label_text?: string; 19 | /** 20 | * Button text 21 | */ 22 | button_text?: string; 23 | /** 24 | * Is ad not easy 25 | */ 26 | is_ad_not_easy?: boolean; 27 | /** 28 | * Ad id 29 | */ 30 | ad_id?: number; 31 | /** 32 | * Top union id 33 | */ 34 | top_union_id?: number; 35 | } 36 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostLikes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_likes 6 | export interface AdsPostLikes { 7 | /** 8 | * Can like 9 | */ 10 | can_like?: number; 11 | /** 12 | * Count 13 | */ 14 | count?: number; 15 | /** 16 | * User likes 17 | */ 18 | user_likes?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostOwner.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_owner 6 | export interface AdsPostOwner { 7 | /** 8 | * Owner id 9 | */ 10 | id?: number; 11 | /** 12 | * Name 13 | */ 14 | name?: string; 15 | /** 16 | * Photo url 17 | */ 18 | photo?: string; 19 | /** 20 | * Profile url 21 | */ 22 | url?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostReposts.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_reposts 6 | export interface AdsPostReposts { 7 | /** 8 | * Count 9 | */ 10 | count?: number; 11 | /** 12 | * Wall count 13 | */ 14 | wall_count?: number; 15 | /** 16 | * Mail count 17 | */ 18 | mail_count?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsPostViews.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_post_views 6 | export interface AdsPostViews { 7 | /** 8 | * Count 9 | */ 10 | count?: number; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/ads/AdsRejectReason.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsRules } from './AdsRules'; 6 | 7 | // ads_reject_reason 8 | export interface AdsRejectReason { 9 | /** 10 | * Comment text 11 | */ 12 | comment?: string; 13 | rules?: AdsRules[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/ads/AdsRules.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_rules 6 | export interface AdsRules { 7 | /** 8 | * Help url 9 | */ 10 | help_url?: string | boolean; 11 | /** 12 | * Label 13 | */ 14 | help_label?: string; 15 | /** 16 | * Content Html 17 | */ 18 | content_html?: string; 19 | /** 20 | * Help chat 21 | */ 22 | help_chat?: boolean; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsObjectType } from './AdsObjectType'; 6 | import { AdsStatsFormat } from './AdsStatsFormat'; 7 | import { AdsStatsViewsTimes } from './AdsStatsViewsTimes'; 8 | 9 | // ads_stats 10 | export interface AdsStats { 11 | /** 12 | * Object ID 13 | */ 14 | id?: number; 15 | stats?: AdsStatsFormat[]; 16 | type?: AdsObjectType; 17 | views_times?: AdsStatsViewsTimes; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStatsAge.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_stats_age 6 | export interface AdsStatsAge { 7 | /** 8 | * Age interval 9 | */ 10 | value?: string; 11 | /** 12 | * Clicks rate 13 | */ 14 | clicks_rate?: number; 15 | /** 16 | * Impressions rate 17 | */ 18 | impressions_rate?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStatsCities.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_stats_cities 6 | export interface AdsStatsCities { 7 | /** 8 | * City name 9 | */ 10 | name?: string; 11 | /** 12 | * City ID 13 | */ 14 | value?: number | string; 15 | /** 16 | * Clicks rate 17 | */ 18 | clicks_rate?: number; 19 | /** 20 | * Impressions rate 21 | */ 22 | impressions_rate?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStatsSex.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsStatsSexValue } from './AdsStatsSexValue'; 6 | 7 | // ads_stats_sex 8 | export interface AdsStatsSex { 9 | value?: AdsStatsSexValue; 10 | /** 11 | * Clicks rate 12 | */ 13 | clicks_rate?: number; 14 | /** 15 | * Impressions rate 16 | */ 17 | impressions_rate?: number; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStatsSexAge.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_stats_sex_age 6 | export interface AdsStatsSexAge { 7 | /** 8 | * Sex and age interval 9 | */ 10 | value?: string; 11 | /** 12 | * Clicks rate 13 | */ 14 | clicks_rate?: number; 15 | /** 16 | * Impressions rate 17 | */ 18 | impressions_rate?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStatsSexValue.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_stats_sex_value 6 | /** 7 | * Sex 8 | * 9 | * `f` — female 10 | * `m` — male 11 | */ 12 | export type AdsStatsSexValue = 'f' | 'm'; 13 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStatsViewsTimes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_stats_views_times 6 | export interface AdsStatsViewsTimes { 7 | views_ads_times_1?: number; 8 | views_ads_times_2?: number; 9 | views_ads_times_3?: number; 10 | views_ads_times_4?: number; 11 | views_ads_times_5?: string; 12 | views_ads_times_6?: number; 13 | views_ads_times_7?: number; 14 | views_ads_times_8?: number; 15 | views_ads_times_9?: number; 16 | views_ads_times_10?: number; 17 | views_ads_times_11_plus?: number; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStories.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsStoriesOwner } from './AdsStoriesOwner'; 6 | import { AdsStoryItem } from './AdsStoryItem'; 7 | 8 | // ads_stories 9 | export interface AdsStories { 10 | stories?: AdsStoryItem[]; 11 | owner?: AdsStoriesOwner; 12 | /** 13 | * Stories disclaimers text 14 | */ 15 | stories_disclaimers_text?: string; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStoryItemLink.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_story_item_link 6 | export interface AdsStoryItemLink { 7 | /** 8 | * Key 9 | */ 10 | key?: string; 11 | /** 12 | * Text 13 | */ 14 | text?: string; 15 | /** 16 | * Url 17 | */ 18 | url?: string; 19 | /** 20 | * Raw url 21 | */ 22 | raw_url?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStoryItemStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsStoryItemStatsFollow } from './AdsStoryItemStatsFollow'; 6 | import { AdsStoryItemStatsUrlView } from './AdsStoryItemStatsUrlView'; 7 | 8 | // ads_story_item_stats 9 | export interface AdsStoryItemStats { 10 | follow?: AdsStoryItemStatsFollow; 11 | url_view?: AdsStoryItemStatsUrlView; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStoryItemStatsFollow.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_story_item_stats_follow 6 | export interface AdsStoryItemStatsFollow { 7 | /** 8 | * Event type 9 | */ 10 | event_type?: string; 11 | /** 12 | * Event hash 13 | */ 14 | rhash?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/ads/AdsStoryItemStatsUrlView.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_story_item_stats_url_view 6 | export interface AdsStoryItemStatsUrlView { 7 | /** 8 | * Event type 9 | */ 10 | event_type?: string; 11 | /** 12 | * Event hash 13 | */ 14 | rhash?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargSuggestions.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_targ_suggestions 6 | export interface AdsTargSuggestions { 7 | /** 8 | * Object ID 9 | */ 10 | id?: number; 11 | /** 12 | * Object name 13 | */ 14 | name?: string; 15 | /** 16 | * Object type 17 | */ 18 | type?: string; 19 | /** 20 | * Parent 21 | */ 22 | parent?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargSuggestionsCities.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_targ_suggestions_cities 6 | export interface AdsTargSuggestionsCities { 7 | /** 8 | * Object ID 9 | */ 10 | id?: number; 11 | /** 12 | * Object name 13 | */ 14 | name?: string; 15 | /** 16 | * Parent object 17 | */ 18 | parent?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargSuggestionsRegions.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_targ_suggestions_regions 6 | export interface AdsTargSuggestionsRegions { 7 | /** 8 | * Object ID 9 | */ 10 | id?: number; 11 | /** 12 | * Object name 13 | */ 14 | name?: string; 15 | /** 16 | * Object type 17 | */ 18 | type?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargSuggestionsSchools.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsTargSuggestionsSchoolsType } from './AdsTargSuggestionsSchoolsType'; 6 | 7 | // ads_targ_suggestions_schools 8 | export interface AdsTargSuggestionsSchools { 9 | /** 10 | * Full school title 11 | */ 12 | desc?: string; 13 | /** 14 | * School ID 15 | */ 16 | id?: number; 17 | /** 18 | * School title 19 | */ 20 | name?: string; 21 | /** 22 | * City name 23 | */ 24 | parent?: string; 25 | type?: AdsTargSuggestionsSchoolsType; 26 | } 27 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargSuggestionsSchoolsType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_targ_suggestions_schools_type 6 | /** 7 | * School type 8 | */ 9 | export type AdsTargSuggestionsSchoolsType = 'school' | 'university' | 'faculty' | 'chair'; 10 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargetGroupTargetPixelRule.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_target_group_target_pixel_rule 6 | export interface AdsTargetGroupTargetPixelRule { 7 | url_full_match?: string; 8 | event_full_match?: string; 9 | url_substrings_match?: string[]; 10 | event_substrings_match?: string[]; 11 | url_regex_match?: string; 12 | event_regex_match?: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/ads/AdsTargetPixelInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_target_pixel_info 6 | export interface AdsTargetPixelInfo { 7 | target_pixel_id?: number; 8 | name?: string; 9 | domain?: string; 10 | category_id?: number; 11 | last_updated?: number; 12 | pixel?: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/ads/AdsUpdateAdsStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_update_ads_status 6 | export interface AdsUpdateAdsStatus { 7 | /** 8 | * Ad ID 9 | */ 10 | id?: number; 11 | /** 12 | * Error code 13 | */ 14 | error_code?: number; 15 | /** 16 | * Error description 17 | */ 18 | error_desc?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsUpdateClientsStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // ads_update_clients_status 6 | export interface AdsUpdateClientsStatus { 7 | /** 8 | * Client ID 9 | */ 10 | id?: number; 11 | /** 12 | * Error code 13 | */ 14 | error_code?: number; 15 | /** 16 | * Error description 17 | */ 18 | error_desc?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/ads/AdsUpdateOfficeUsersResult.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseError } from '../base/BaseError'; 6 | 7 | // ads_updateOfficeUsers_result 8 | export interface AdsUpdateOfficeUsersResult { 9 | user_id?: number; 10 | is_success?: boolean; 11 | error?: BaseError; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/ads/AdsUsers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AdsAccesses } from './AdsAccesses'; 6 | 7 | // ads_users 8 | export interface AdsUsers { 9 | accesses?: AdsAccesses[]; 10 | /** 11 | * User ID 12 | */ 13 | user_id?: number; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/appWidgets/AppWidgetsPhoto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseImage } from '../base/BaseImage'; 6 | 7 | // appWidgets_photo 8 | export interface AppWidgetsPhoto { 9 | /** 10 | * Image ID 11 | */ 12 | id?: string; 13 | images?: BaseImage[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/appWidgets/AppWidgetsPhotos.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AppWidgetsPhoto } from './AppWidgetsPhoto'; 6 | 7 | // appWidgets_photos 8 | export interface AppWidgetsPhotos { 9 | count?: number; 10 | items?: AppWidgetsPhoto[]; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/apps/AppsAppLeaderboardType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // apps_app_leaderboard_type enumNames 6 | export const AppsAppLeaderboardTypeEnumNames = { 7 | NOT_SUPPORTED: 0, 8 | LEVELS: 1, 9 | POINTS: 2, 10 | } as const; 11 | 12 | // apps_app_leaderboard_type 13 | /** 14 | * Leaderboard type 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see AppsAppLeaderboardTypeEnumNames 18 | * 19 | * `0` — not supported 20 | * `1` — levels 21 | * `2` — points 22 | */ 23 | export type AppsAppLeaderboardType = 0 | 1 | 2; 24 | -------------------------------------------------------------------------------- /src/objects/apps/AppsAppType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // apps_app_type 6 | /** 7 | * Application type 8 | */ 9 | export type AppsAppType = 'app' | 'game' | 'site' | 'standalone' | 'vk_app' | 'community_app' | 'html5_game' | 'mini_app'; 10 | -------------------------------------------------------------------------------- /src/objects/apps/AppsCatalogList.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UsersUserMin } from '../users/UsersUserMin'; 6 | import { AppsApp } from './AppsApp'; 7 | 8 | // apps_catalog_list 9 | export interface AppsCatalogList { 10 | /** 11 | * Total number 12 | */ 13 | count?: number; 14 | items?: AppsApp[]; 15 | profiles?: UsersUserMin[]; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/apps/AppsCustomSnippet.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // apps_custom_snippet 6 | export interface AppsCustomSnippet { 7 | vk_ref?: Array<'snippet_im' | 'snippet_post'>; 8 | group_id?: number[]; 9 | hash?: string[]; 10 | snippet_id?: number; 11 | title?: string; 12 | description?: string; 13 | expired_at?: number; 14 | image_url?: string; 15 | small_image_url?: string; 16 | button?: 'buy' | 'buy_ticket' | 'contact' | 'create' | 'enroll' | 'fill' | 'go' | 'open' | 'play'; 17 | } 18 | -------------------------------------------------------------------------------- /src/objects/apps/AppsLeaderboard.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // apps_leaderboard 6 | export interface AppsLeaderboard { 7 | /** 8 | * Level 9 | */ 10 | level?: number; 11 | /** 12 | * Points number 13 | */ 14 | points?: number; 15 | /** 16 | * Score number 17 | */ 18 | score?: number; 19 | /** 20 | * User ID 21 | */ 22 | user_id?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/apps/AppsTestingGroup.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // apps_testing_group 6 | export interface AppsTestingGroup { 7 | user_ids?: number[]; 8 | group_id?: number; 9 | name?: string; 10 | webview?: string; 11 | platforms?: Array<'mobile' | 'web' | 'mvk'>; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/base/BaseCity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_city 6 | export interface BaseCity { 7 | /** 8 | * City ID 9 | */ 10 | id?: number; 11 | /** 12 | * City title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseCountry.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_country 6 | export interface BaseCountry { 7 | /** 8 | * Country ID 9 | */ 10 | id?: number; 11 | /** 12 | * Country title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseCropPhoto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhoto } from '../photos/PhotosPhoto'; 6 | import { BaseCropPhotoCrop } from './BaseCropPhotoCrop'; 7 | import { BaseCropPhotoRect } from './BaseCropPhotoRect'; 8 | 9 | // base_crop_photo 10 | export interface BaseCropPhoto { 11 | photo?: PhotosPhoto; 12 | crop?: BaseCropPhotoCrop; 13 | rect?: BaseCropPhotoRect; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/base/BaseCropPhotoCrop.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_crop_photo_crop 6 | export interface BaseCropPhotoCrop { 7 | /** 8 | * Coordinate X of the left upper corner 9 | */ 10 | x?: number; 11 | /** 12 | * Coordinate Y of the left upper corner 13 | */ 14 | y?: number; 15 | /** 16 | * Coordinate X of the right lower corner 17 | */ 18 | x2?: number; 19 | /** 20 | * Coordinate Y of the right lower corner 21 | */ 22 | y2?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/base/BaseCropPhotoRect.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_crop_photo_rect 6 | export interface BaseCropPhotoRect { 7 | /** 8 | * Coordinate X of the left upper corner 9 | */ 10 | x?: number; 11 | /** 12 | * Coordinate Y of the left upper corner 13 | */ 14 | y?: number; 15 | /** 16 | * Coordinate X of the right lower corner 17 | */ 18 | x2?: number; 19 | /** 20 | * Coordinate Y of the right lower corner 21 | */ 22 | y2?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/base/BaseError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseRequestParam } from './BaseRequestParam'; 6 | 7 | // base_error 8 | export interface BaseError { 9 | inner_type?: 'base_error'; 10 | /** 11 | * Error code 12 | */ 13 | error_code?: number; 14 | /** 15 | * Error subcode 16 | */ 17 | error_subcode?: number; 18 | /** 19 | * Error message 20 | */ 21 | error_msg?: string; 22 | /** 23 | * Localized error message 24 | */ 25 | error_text?: string; 26 | request_params?: BaseRequestParam[]; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/base/BaseGeo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseGeoCoordinates } from './BaseGeoCoordinates'; 6 | import { BasePlace } from './BasePlace'; 7 | 8 | // base_geo 9 | export interface BaseGeo { 10 | coordinates?: BaseGeoCoordinates; 11 | place?: BasePlace; 12 | /** 13 | * Information whether a map is showed 14 | */ 15 | showmap?: number; 16 | /** 17 | * Place type 18 | */ 19 | type?: string; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/base/BaseGeoCoordinates.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_geo_coordinates 6 | export interface BaseGeoCoordinates { 7 | latitude?: number; 8 | longitude?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/base/BaseGradientPoint.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_gradient_point 6 | export interface BaseGradientPoint { 7 | /** 8 | * Hex color code without # 9 | */ 10 | color?: string; 11 | /** 12 | * Point position 13 | */ 14 | position?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseImage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_image 6 | export interface BaseImage { 7 | id?: string; 8 | /** 9 | * Image url 10 | */ 11 | url?: string; 12 | /** 13 | * Image width 14 | */ 15 | width?: number; 16 | /** 17 | * Image height 18 | */ 19 | height?: number; 20 | theme?: 'light' | 'dark'; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/base/BaseLikes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_likes 6 | export interface BaseLikes { 7 | /** 8 | * Likes number 9 | */ 10 | count?: number; 11 | /** 12 | * Information whether current user likes the photo 13 | */ 14 | user_likes?: 0 | 1; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkApplication.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseLinkApplicationStore } from './BaseLinkApplicationStore'; 6 | 7 | // base_link_application 8 | export interface BaseLinkApplication { 9 | /** 10 | * Application Id 11 | */ 12 | app_id?: number; 13 | store?: BaseLinkApplicationStore; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkApplicationStore.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_link_application_store 6 | export interface BaseLinkApplicationStore { 7 | /** 8 | * Store Id 9 | */ 10 | id?: number; 11 | /** 12 | * Store name 13 | */ 14 | name?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkButtonAction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseLinkButtonActionType } from './BaseLinkButtonActionType'; 6 | 7 | // base_link_button_action 8 | export interface BaseLinkButtonAction { 9 | type?: BaseLinkButtonActionType; 10 | /** 11 | * Action URL 12 | */ 13 | url?: string; 14 | consume_reason?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkButtonActionType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_link_button_action_type 6 | /** 7 | * Action type 8 | */ 9 | export type BaseLinkButtonActionType = 'open_url' | 'market_clear_recent_queries' | 'close_web_app' | 'add_playlist' | 'open_search_tab' | 'open_search_filters' | 'reset_search_filters' | 'import_contacts' | 'add_friends' | 'onboarding' | 'show_filters'; 10 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkProduct.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MarketMarketCategoryNested } from '../market/MarketMarketCategoryNested'; 6 | import { MarketPrice } from '../market/MarketPrice'; 7 | import { BaseGeoCoordinates } from './BaseGeoCoordinates'; 8 | import { BaseLinkProductStatus } from './BaseLinkProductStatus'; 9 | 10 | // base_link_product 11 | export interface BaseLinkProduct { 12 | price?: MarketPrice; 13 | merchant?: string; 14 | category?: string | MarketMarketCategoryNested; 15 | geo?: BaseGeoCoordinates; 16 | distance?: number; 17 | city?: string; 18 | status?: BaseLinkProductStatus; 19 | orders_count?: number; 20 | type?: 'product'; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkProductStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_link_product_status 6 | /** 7 | * Status representation 8 | */ 9 | export type BaseLinkProductStatus = 'active' | 'blocked' | 'sold' | 'deleted' | 'archived'; 10 | -------------------------------------------------------------------------------- /src/objects/base/BaseLinkRating.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_link_rating 6 | export interface BaseLinkRating { 7 | /** 8 | * Count of reviews 9 | */ 10 | reviews_count?: number; 11 | /** 12 | * Count of stars 13 | */ 14 | stars?: number; 15 | type?: 'rating'; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/base/BaseMessageError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_message_error 6 | export interface BaseMessageError { 7 | /** 8 | * Error code 9 | */ 10 | code?: number; 11 | /** 12 | * Error message 13 | */ 14 | description?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseObject.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_object 6 | export interface BaseObject { 7 | /** 8 | * Object ID 9 | */ 10 | id?: number; 11 | /** 12 | * Object title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseObjectCount.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_object_count 6 | export interface BaseObjectCount { 7 | /** 8 | * Items count 9 | */ 10 | count?: number; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/base/BaseObjectWithName.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_object_with_name 6 | export interface BaseObjectWithName { 7 | /** 8 | * Object ID 9 | */ 10 | id?: number; 11 | /** 12 | * Object name 13 | */ 14 | name?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseOwnerCover.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseImage } from './BaseImage'; 6 | import { BaseOwnerCoverCropParams } from './BaseOwnerCoverCropParams'; 7 | 8 | // base_owner_cover 9 | export interface BaseOwnerCover { 10 | /** 11 | * Information whether cover is enabled 12 | */ 13 | enabled?: 0 | 1; 14 | images?: BaseImage[]; 15 | crop_params?: BaseOwnerCoverCropParams; 16 | original_image?: BaseImage; 17 | photo_id?: number; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/base/BaseOwnerCoverCropParams.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_owner_cover_crop_params 6 | export interface BaseOwnerCoverCropParams { 7 | x?: number; 8 | y?: number; 9 | width?: number; 10 | height?: number; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/base/BaseRepostsInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_reposts_info 6 | export interface BaseRepostsInfo { 7 | /** 8 | * Total reposts counter. Sum of wall and mail reposts counters 9 | */ 10 | count?: number; 11 | /** 12 | * Wall reposts counter 13 | */ 14 | wall_count?: number; 15 | /** 16 | * Mail reposts counter 17 | */ 18 | mail_count?: number; 19 | /** 20 | * Information whether current user has reposted the post 21 | */ 22 | user_reposted?: 0 | 1; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/base/BaseRequestParam.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_request_param 6 | export interface BaseRequestParam { 7 | /** 8 | * Parameter name 9 | */ 10 | key?: string; 11 | /** 12 | * Parameter value 13 | */ 14 | value?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseSex.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_sex enumNames 6 | export const BaseSexEnumNames = { 7 | UNKNOWN: 0, 8 | FEMALE: 1, 9 | MALE: 2, 10 | } as const; 11 | 12 | // base_sex 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see BaseSexEnumNames 16 | * 17 | * `0` — unknown 18 | * `1` — female 19 | * `2` — male 20 | */ 21 | export type BaseSex = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/base/BaseSticker.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_sticker 6 | export interface BaseSticker { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/base/BaseStickerAnimation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_sticker_animation 6 | export interface BaseStickerAnimation { 7 | /** 8 | * Type of animation script 9 | */ 10 | type?: 'light' | 'dark'; 11 | /** 12 | * URL of animation script 13 | */ 14 | url?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/base/BaseUploadServer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_upload_server 6 | export interface BaseUploadServer { 7 | /** 8 | * Upload URL 9 | */ 10 | upload_url?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/base/BaseUserId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // base_user_id 6 | export interface BaseUserId { 7 | /** 8 | * User ID 9 | */ 10 | user_id?: number; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/board/BoardDefaultOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // board_default_order enumNames 6 | export const BoardDefaultOrderEnumNames = { 7 | DESC_UPDATED: 1, 8 | DESC_CREATED: 2, 9 | ASC_UPDATED: -1, 10 | ASC_CREATED: -2, 11 | } as const; 12 | 13 | // board_default_order 14 | /** 15 | * Sort type 16 | * 17 | * @note This enum have auto-generated constant with keys and values 18 | * @see BoardDefaultOrderEnumNames 19 | * 20 | * `1` — desc_updated 21 | * `2` — desc_created 22 | * `-1` — asc_updated 23 | * `-2` — asc_created 24 | */ 25 | export type BoardDefaultOrder = 1 | 2 | -1 | -2; 26 | -------------------------------------------------------------------------------- /src/objects/bugtracker/BugtrackerAddCompanyGroupsMembersError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // bugtracker_add_company_groups_members_error 6 | export interface BugtrackerAddCompanyGroupsMembersError { 7 | group_id?: number; 8 | user_id?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/bugtracker/BugtrackerAttachment.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { DocsDoc } from '../docs/DocsDoc'; 6 | import { PhotosPhoto } from '../photos/PhotosPhoto'; 7 | 8 | // bugtracker_attachment 9 | export interface BugtrackerAttachment { 10 | doc?: DocsDoc; 11 | photo?: PhotosPhoto; 12 | type?: 'photo' | 'doc'; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/bugtracker/BugtrackerBugreportSubscribeState.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // bugtracker_bugreport_subscribe_state 6 | export interface BugtrackerBugreportSubscribeState { 7 | can_set_subscribe?: boolean; 8 | is_subscribed?: boolean; 9 | set_subscribe_hash?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/bugtracker/BugtrackerCommentAuthor.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // bugtracker_comment_author 6 | export interface BugtrackerCommentAuthor { 7 | author_id?: number; 8 | name?: string; 9 | photo?: string; 10 | moder_name?: string; 11 | moder_number?: number; 12 | link?: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/bugtracker/BugtrackerCompanyMember.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BugtrackerCompanyMemberProduct } from './BugtrackerCompanyMemberProduct'; 6 | 7 | // bugtracker_company_member 8 | export interface BugtrackerCompanyMember { 9 | user_id?: number; 10 | company_id?: number; 11 | role?: number; 12 | role_name?: string; 13 | ts?: number; 14 | groups_count?: number; 15 | products_count?: number; 16 | reporter_url?: string; 17 | groups?: number[]; 18 | products?: BugtrackerCompanyMemberProduct[]; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/bugtracker/BugtrackerCompanyMemberProduct.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // bugtracker_company_member_product 6 | export interface BugtrackerCompanyMemberProduct { 7 | id?: number; 8 | title?: string; 9 | photo_url?: string; 10 | access?: number; 11 | status?: number; 12 | licence_status_text?: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/calls/CallsCall.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { CallsEndState } from './CallsEndState'; 6 | import { CallsParticipants } from './CallsParticipants'; 7 | 8 | // calls_call 9 | export interface CallsCall { 10 | /** 11 | * Call duration 12 | */ 13 | duration?: number; 14 | /** 15 | * Caller initiator 16 | */ 17 | initiator_id?: number; 18 | /** 19 | * Caller receiver 20 | */ 21 | receiver_id?: number; 22 | state?: CallsEndState; 23 | /** 24 | * Timestamp for call 25 | */ 26 | time?: number; 27 | /** 28 | * Was this call initiated as video call 29 | */ 30 | video?: boolean; 31 | participants?: CallsParticipants; 32 | } 33 | -------------------------------------------------------------------------------- /src/objects/calls/CallsEndState.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // calls_end_state 6 | /** 7 | * State in which call ended up 8 | */ 9 | export type CallsEndState = 'canceled_by_initiator' | 'canceled_by_receiver' | 'reached'; 10 | -------------------------------------------------------------------------------- /src/objects/calls/CallsParticipants.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // calls_participants 6 | export interface CallsParticipants { 7 | list?: number[]; 8 | /** 9 | * Participants count 10 | */ 11 | count?: number; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/calls/CallsShortCredentials.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // calls_short_credentials 6 | export interface CallsShortCredentials { 7 | /** 8 | * Short numeric ID of a call 9 | */ 10 | id?: string; 11 | /** 12 | * Password that can be used to join a call by short numeric ID 13 | */ 14 | password?: string; 15 | /** 16 | * Link without a password 17 | */ 18 | link_without_password?: string; 19 | /** 20 | * Link with a password 21 | */ 22 | link_with_password?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseCitiesFields.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_cities_fields 6 | export type DatabaseCitiesFields = string; 7 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseCity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_city 6 | export interface DatabaseCity { 7 | /** 8 | * Object ID 9 | */ 10 | id?: number; 11 | /** 12 | * Object title 13 | */ 14 | title?: string; 15 | /** 16 | * Area title 17 | */ 18 | area?: string; 19 | /** 20 | * Region title 21 | */ 22 | region?: string; 23 | /** 24 | * Information whether the city is included in important cities list 25 | */ 26 | important?: 0 | 1; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseCityById.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_city_by_id 6 | export interface DatabaseCityById { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseFaculty.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_faculty 6 | export interface DatabaseFaculty { 7 | /** 8 | * Faculty ID 9 | */ 10 | id?: number; 11 | /** 12 | * Faculty title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseLanguageFull.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_language_full 6 | export interface DatabaseLanguageFull { 7 | /** 8 | * Language ID 9 | */ 10 | id?: number; 11 | /** 12 | * Language native name 13 | */ 14 | native_name?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseRegion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_region 6 | export interface DatabaseRegion { 7 | /** 8 | * Region ID 9 | */ 10 | id?: number; 11 | /** 12 | * Region title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseSchool.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_school 6 | export interface DatabaseSchool { 7 | /** 8 | * School ID 9 | */ 10 | id?: number; 11 | /** 12 | * School title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseSchoolClass.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_school_class 6 | export interface DatabaseSchoolClass { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseStation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_station 6 | export interface DatabaseStation { 7 | /** 8 | * City ID 9 | */ 10 | city_id?: number; 11 | /** 12 | * Hex color code without # 13 | */ 14 | color?: string; 15 | /** 16 | * Station ID 17 | */ 18 | id?: number; 19 | /** 20 | * Station name 21 | */ 22 | name?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/database/DatabaseUniversity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // database_university 6 | export interface DatabaseUniversity { 7 | /** 8 | * University ID 9 | */ 10 | id?: number; 11 | /** 12 | * University title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocAttachmentType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // docs_doc_attachment_type 6 | /** 7 | * Doc attachment type 8 | */ 9 | export type DocsDocAttachmentType = 'doc' | 'graffiti' | 'audio_message'; 10 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocPreview.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { DocsDocPreviewAudioMsg } from './DocsDocPreviewAudioMsg'; 6 | import { DocsDocPreviewGraffiti } from './DocsDocPreviewGraffiti'; 7 | import { DocsDocPreviewPhoto } from './DocsDocPreviewPhoto'; 8 | import { DocsDocPreviewVideo } from './DocsDocPreviewVideo'; 9 | 10 | // docs_doc_preview 11 | export interface DocsDocPreview { 12 | audio_msg?: DocsDocPreviewAudioMsg; 13 | graffiti?: DocsDocPreviewGraffiti; 14 | photo?: DocsDocPreviewPhoto; 15 | video?: DocsDocPreviewVideo; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocPreviewAudioMsg.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // docs_doc_preview_audio_msg 6 | export interface DocsDocPreviewAudioMsg { 7 | /** 8 | * Audio message duration in seconds 9 | */ 10 | duration?: number; 11 | /** 12 | * MP3 file URL 13 | */ 14 | link_mp3?: string; 15 | /** 16 | * OGG file URL 17 | */ 18 | link_ogg?: string; 19 | waveform?: number[]; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocPreviewGraffiti.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // docs_doc_preview_graffiti 6 | export interface DocsDocPreviewGraffiti { 7 | /** 8 | * Graffiti file URL 9 | */ 10 | src?: string; 11 | /** 12 | * Graffiti width 13 | */ 14 | width?: number; 15 | /** 16 | * Graffiti height 17 | */ 18 | height?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocPreviewPhoto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { DocsDocPreviewPhotoSizes } from './DocsDocPreviewPhotoSizes'; 6 | 7 | // docs_doc_preview_photo 8 | export interface DocsDocPreviewPhoto { 9 | sizes?: DocsDocPreviewPhotoSizes[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocPreviewPhotoSizes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhotoSizesType } from '../photos/PhotosPhotoSizesType'; 6 | 7 | // docs_doc_preview_photo_sizes 8 | export interface DocsDocPreviewPhotoSizes { 9 | /** 10 | * URL of the image 11 | */ 12 | src?: string; 13 | /** 14 | * Width in px 15 | */ 16 | width?: number; 17 | /** 18 | * Height in px 19 | */ 20 | height?: number; 21 | type?: PhotosPhotoSizesType; 22 | } 23 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocPreviewVideo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // docs_doc_preview_video 6 | export interface DocsDocPreviewVideo { 7 | /** 8 | * Video URL 9 | */ 10 | src?: string; 11 | /** 12 | * Video's width in pixels 13 | */ 14 | width?: number; 15 | /** 16 | * Video's height in pixels 17 | */ 18 | height?: number; 19 | /** 20 | * Video file size in bites 21 | */ 22 | file_size?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/docs/DocsDocTypes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // docs_doc_types 6 | export interface DocsDocTypes { 7 | /** 8 | * Doc type ID 9 | */ 10 | id?: number; 11 | /** 12 | * Doc type title 13 | */ 14 | name?: string; 15 | /** 16 | * Number of docs 17 | */ 18 | count?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/donut/DonutDonatorSubscriptionInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // donut_donator_subscription_info 6 | export interface DonutDonatorSubscriptionInfo { 7 | owner_id?: number; 8 | next_payment_date?: number; 9 | amount?: number; 10 | status?: 'active' | 'expiring'; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/fave/FaveBookmarkType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // fave_bookmark_type 6 | export type FaveBookmarkType = 'post' | 'video' | 'product' | 'article' | 'link' | 'clip' | 'game' | 'mini_app'; 7 | -------------------------------------------------------------------------------- /src/objects/fave/FavePage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroupFull } from '../groups/GroupsGroupFull'; 6 | import { UsersUserFull } from '../users/UsersUserFull'; 7 | import { FavePageType } from './FavePageType'; 8 | import { FaveTag } from './FaveTag'; 9 | 10 | // fave_page 11 | export interface FavePage { 12 | /** 13 | * Some info about user or group 14 | */ 15 | description?: string; 16 | group?: GroupsGroupFull; 17 | tags?: FaveTag[]; 18 | /** 19 | * Item type 20 | */ 21 | type?: FavePageType; 22 | /** 23 | * Timestamp, when this page was bookmarked 24 | */ 25 | updated_date?: number; 26 | user?: UsersUserFull; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/fave/FavePageType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // fave_page_type 6 | export type FavePageType = 'user' | 'group' | 'hints'; 7 | -------------------------------------------------------------------------------- /src/objects/fave/FaveTag.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // fave_tag 6 | export interface FaveTag { 7 | /** 8 | * Tag id 9 | */ 10 | id?: number; 11 | /** 12 | * Tag name 13 | */ 14 | name?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsFriendExtendedStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { FriendsFriendStatusStatus } from './FriendsFriendStatusStatus'; 6 | 7 | // friends_friend_extended_status 8 | export interface FriendsFriendExtendedStatus { 9 | friend_status?: FriendsFriendStatusStatus; 10 | /** 11 | * MD5 hash for the result validation 12 | */ 13 | sign?: string; 14 | /** 15 | * User ID 16 | */ 17 | user_id?: number; 18 | /** 19 | * Is friend request from other user unread 20 | */ 21 | is_request_unread?: boolean; 22 | } 23 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsFriendStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { FriendsFriendStatusStatus } from './FriendsFriendStatusStatus'; 6 | 7 | // friends_friend_status 8 | export interface FriendsFriendStatus { 9 | friend_status?: FriendsFriendStatusStatus; 10 | /** 11 | * MD5 hash for the result validation 12 | */ 13 | sign?: string; 14 | /** 15 | * User ID 16 | */ 17 | user_id?: number; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsFriendStatusStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // friends_friend_status_status enumNames 6 | export const FriendsFriendStatusStatusEnumNames = { 7 | NOT_A_FRIEND: 0, 8 | OUTCOMING_REQUEST: 1, 9 | INCOMING_REQUEST: 2, 10 | IS_FRIEND: 3, 11 | } as const; 12 | 13 | // friends_friend_status_status 14 | /** 15 | * Friend status with the user 16 | * 17 | * @note This enum have auto-generated constant with keys and values 18 | * @see FriendsFriendStatusStatusEnumNames 19 | * 20 | * `0` — not a friend 21 | * `1` — outcoming request 22 | * `2` — incoming request 23 | * `3` — is friend 24 | */ 25 | export type FriendsFriendStatusStatus = 0 | 1 | 2 | 3; 26 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsFriendsList.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // friends_friends_list 6 | export interface FriendsFriendsList { 7 | /** 8 | * List ID 9 | */ 10 | id?: number; 11 | /** 12 | * List title 13 | */ 14 | name?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsMutualFriend.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // friends_mutual_friend 6 | export interface FriendsMutualFriend { 7 | /** 8 | * Total mutual friends number 9 | */ 10 | common_count?: number; 11 | common_friends?: number[]; 12 | /** 13 | * User ID 14 | */ 15 | id?: number; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsOnlineUsers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // friends_online_users 6 | export interface FriendsOnlineUsers { 7 | online?: number[]; 8 | /** 9 | * Total online friends number 10 | */ 11 | total_count?: number; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsOnlineUsersWithMobile.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // friends_online_users_with_mobile 6 | export interface FriendsOnlineUsersWithMobile { 7 | online?: number[]; 8 | online_mobile?: number[]; 9 | /** 10 | * Total online friends number 11 | */ 12 | total_count?: number; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/friends/FriendsRequestsMutual.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // friends_requests_mutual 6 | export interface FriendsRequestsMutual { 7 | /** 8 | * Total mutual friends number 9 | */ 10 | count?: number; 11 | users?: number[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/gifts/GiftsGift.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GiftsGiftPrivacy } from './GiftsGiftPrivacy'; 6 | import { GiftsLayout } from './GiftsLayout'; 7 | 8 | // gifts_gift 9 | export interface GiftsGift { 10 | /** 11 | * Date when gist has been sent in Unixtime 12 | */ 13 | date?: number; 14 | /** 15 | * Gift sender ID 16 | */ 17 | from_id?: number; 18 | gift?: GiftsLayout; 19 | /** 20 | * Hash 21 | */ 22 | gift_hash?: string; 23 | /** 24 | * Gift ID 25 | */ 26 | id?: number; 27 | /** 28 | * Comment text 29 | */ 30 | message?: string; 31 | privacy?: GiftsGiftPrivacy; 32 | } 33 | -------------------------------------------------------------------------------- /src/objects/gifts/GiftsGiftPrivacy.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // gifts_gift_privacy enumNames 6 | export const GiftsGiftPrivacyEnumNames = { 7 | NAME_AND_MESSAGE_FOR_ALL: 0, 8 | NAME_FOR_ALL: 1, 9 | NAME_AND_MESSAGE_FOR_RECIPIENT_ONLY: 2, 10 | } as const; 11 | 12 | // gifts_gift_privacy 13 | /** 14 | * Gift privacy 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see GiftsGiftPrivacyEnumNames 18 | * 19 | * `0` — name and message for all 20 | * `1` — name for all 21 | * `2` — name and message for recipient only 22 | */ 23 | export type GiftsGiftPrivacy = 0 | 1 | 2; 24 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsAddressTimetableDay.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_address_timetable_day 6 | export interface GroupsAddressTimetableDay { 7 | /** 8 | * Close time of the break in minutes 9 | */ 10 | break_close_time?: number; 11 | /** 12 | * Start time of the break in minutes 13 | */ 14 | break_open_time?: number; 15 | /** 16 | * Close time in minutes 17 | */ 18 | close_time?: number; 19 | /** 20 | * Open time in minutes 21 | */ 22 | open_time?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsAddressWorkInfoStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_address_work_info_status 6 | /** 7 | * Status of information about timetable 8 | */ 9 | export type GroupsAddressWorkInfoStatus = 'no_information' | 'temporarily_closed' | 'always_opened' | 'timetable' | 'forever_closed'; 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsAddressesInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsAddress } from './GroupsAddress'; 6 | 7 | // groups_addresses_info 8 | export interface GroupsAddressesInfo { 9 | /** 10 | * Information whether addresses is enabled 11 | */ 12 | is_enabled?: boolean; 13 | /** 14 | * Main address id for group 15 | */ 16 | main_address_id?: number; 17 | /** 18 | * Main address 19 | */ 20 | main_address?: GroupsAddress; 21 | /** 22 | * Count of addresses 23 | */ 24 | count?: number; 25 | } 26 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsBanInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsBanInfoReason } from './GroupsBanInfoReason'; 6 | 7 | // groups_ban_info 8 | export interface GroupsBanInfo { 9 | /** 10 | * Administrator ID 11 | */ 12 | admin_id?: number; 13 | /** 14 | * Comment for a ban 15 | */ 16 | comment?: string; 17 | /** 18 | * Show comment for user 19 | */ 20 | comment_visible?: boolean; 21 | is_closed?: boolean; 22 | /** 23 | * Date when user has been added to blacklist in Unixtime 24 | */ 25 | date?: number; 26 | /** 27 | * Date when user will be removed from blacklist in Unixtime 28 | */ 29 | end_date?: number; 30 | reason?: GroupsBanInfoReason; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsBanInfoReason.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_ban_info_reason enumNames 6 | export const GroupsBanInfoReasonEnumNames = { 7 | OTHER: 0, 8 | SPAM: 1, 9 | VERBAL_ABUSE: 2, 10 | STRONG_LANGUAGE: 3, 11 | FLOOD: 4, 12 | } as const; 13 | 14 | // groups_ban_info_reason 15 | /** 16 | * Ban reason 17 | * 18 | * @note This enum have auto-generated constant with keys and values 19 | * @see GroupsBanInfoReasonEnumNames 20 | * 21 | * `0` — other 22 | * `1` — spam 23 | * `2` — verbal abuse 24 | * `3` — strong language 25 | * `4` — flood 26 | */ 27 | export type GroupsBanInfoReason = 0 | 1 | 2 | 3 | 4; 28 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsCallbackServer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_callback_server 6 | export interface GroupsCallbackServer { 7 | id?: number; 8 | title?: string; 9 | creator_id?: number; 10 | url?: string; 11 | secret_key?: string; 12 | status?: 'unconfigured' | 'failed' | 'wait' | 'ok'; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsCallbackSettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsLongPollEvents } from './GroupsLongPollEvents'; 6 | 7 | // groups_callback_settings 8 | export interface GroupsCallbackSettings { 9 | /** 10 | * API version used for the events 11 | */ 12 | api_version?: string; 13 | events?: GroupsLongPollEvents; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsContactsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_contacts_item 6 | export interface GroupsContactsItem { 7 | /** 8 | * User ID 9 | */ 10 | user_id?: number; 11 | /** 12 | * Contact description 13 | */ 14 | desc?: string; 15 | /** 16 | * Contact phone 17 | */ 18 | phone?: string; 19 | /** 20 | * Contact email 21 | */ 22 | email?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsFilter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_filter 6 | export type GroupsFilter = 'admin' | 'editor' | 'moder' | 'advertiser' | 'groups' | 'publics' | 'events' | 'has_addresses'; 7 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupAccess.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_access enumNames 6 | export const GroupsGroupAccessEnumNames = { 7 | OPEN: 0, 8 | CLOSED: 1, 9 | PRIVATE: 2, 10 | } as const; 11 | 12 | // groups_group_access 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupAccessEnumNames 16 | * 17 | * `0` — open 18 | * `1` — closed 19 | * `2` — private 20 | */ 21 | export type GroupsGroupAccess = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupAdminLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_admin_level enumNames 6 | export const GroupsGroupAdminLevelEnumNames = { 7 | MODERATOR: 1, 8 | EDITOR: 2, 9 | ADMINISTRATOR: 3, 10 | } as const; 11 | 12 | // groups_group_admin_level 13 | /** 14 | * Level of current user's credentials as manager 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see GroupsGroupAdminLevelEnumNames 18 | * 19 | * `1` — moderator 20 | * `2` — editor 21 | * `3` — administrator 22 | */ 23 | export type GroupsGroupAdminLevel = 1 | 2 | 3; 24 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupAgeLimits.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_age_limits enumNames 6 | export const GroupsGroupAgeLimitsEnumNames = { 7 | 'UNLIMITED': 1, 8 | '16_PLUS': 2, 9 | '18_PLUS': 3, 10 | } as const; 11 | 12 | // groups_group_age_limits 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupAgeLimitsEnumNames 16 | * 17 | * `1` — unlimited 18 | * `2` — 16 plus 19 | * `3` — 18 plus 20 | */ 21 | export type GroupsGroupAgeLimits = 1 | 2 | 3; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupAttach.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_attach 6 | export interface GroupsGroupAttach { 7 | /** 8 | * group ID 9 | */ 10 | id?: number; 11 | /** 12 | * text of attach 13 | */ 14 | text?: string; 15 | /** 16 | * activity or category of group 17 | */ 18 | status?: string; 19 | /** 20 | * size of group 21 | */ 22 | size?: number; 23 | /** 24 | * is favorite 25 | */ 26 | is_favorite?: boolean; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupAudio.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_audio enumNames 6 | export const GroupsGroupAudioEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | } as const; 11 | 12 | // groups_group_audio 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupAudioEnumNames 16 | * 17 | * `0` — disabled 18 | * `1` — open 19 | * `2` — limited 20 | */ 21 | export type GroupsGroupAudio = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupBanInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsBanInfoReason } from './GroupsBanInfoReason'; 6 | 7 | // groups_group_ban_info 8 | export interface GroupsGroupBanInfo { 9 | /** 10 | * Ban comment 11 | */ 12 | comment?: string; 13 | /** 14 | * End date of ban in Unixtime 15 | */ 16 | end_date?: number; 17 | reason?: GroupsBanInfoReason; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroupSubcategory } from './GroupsGroupSubcategory'; 6 | 7 | // groups_group_category 8 | export interface GroupsGroupCategory { 9 | /** 10 | * Category ID 11 | */ 12 | id?: number; 13 | /** 14 | * Category name 15 | */ 16 | name?: string; 17 | subcategories?: GroupsGroupSubcategory[]; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupCategoryFull.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroup } from './GroupsGroup'; 6 | import { GroupsGroupCategory } from './GroupsGroupCategory'; 7 | 8 | // groups_group_category_full 9 | export interface GroupsGroupCategoryFull { 10 | /** 11 | * Category ID 12 | */ 13 | id?: number; 14 | /** 15 | * Category name 16 | */ 17 | name?: string; 18 | /** 19 | * Pages number 20 | */ 21 | page_count?: number; 22 | page_previews?: GroupsGroup[]; 23 | subcategories?: GroupsGroupCategory[]; 24 | } 25 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupCategoryType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_category_type 6 | export interface GroupsGroupCategoryType { 7 | id?: number; 8 | name?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupDocs.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_docs enumNames 6 | export const GroupsGroupDocsEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | } as const; 11 | 12 | // groups_group_docs 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupDocsEnumNames 16 | * 17 | * `0` — disabled 18 | * `1` — open 19 | * `2` — limited 20 | */ 21 | export type GroupsGroupDocs = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupFullAgeLimits.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_full_age_limits enumNames 6 | export const GroupsGroupFullAgeLimitsEnumNames = { 7 | NO: 1, 8 | OVER_16: 2, 9 | OVER_18: 3, 10 | } as const; 11 | 12 | // groups_group_full_age_limits 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupFullAgeLimitsEnumNames 16 | * 17 | * `1` — no 18 | * `2` — over 16 19 | * `3` — over 18 20 | */ 21 | export type GroupsGroupFullAgeLimits = 1 | 2 | 3; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupIsClosed.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_is_closed enumNames 6 | export const GroupsGroupIsClosedEnumNames = { 7 | OPEN: 0, 8 | CLOSED: 1, 9 | PRIVATE: 2, 10 | } as const; 11 | 12 | // groups_group_is_closed 13 | /** 14 | * Information whether community is closed 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see GroupsGroupIsClosedEnumNames 18 | * 19 | * `0` — open 20 | * `1` — closed 21 | * `2` — private 22 | */ 23 | export type GroupsGroupIsClosed = 0 | 1 | 2; 24 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupPhotos.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_photos enumNames 6 | export const GroupsGroupPhotosEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | } as const; 11 | 12 | // groups_group_photos 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupPhotosEnumNames 16 | * 17 | * `0` — disabled 18 | * `1` — open 19 | * `2` — limited 20 | */ 21 | export type GroupsGroupPhotos = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupPublicCategoryList.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroupCategoryType } from './GroupsGroupCategoryType'; 6 | 7 | // groups_group_public_category_list 8 | export interface GroupsGroupPublicCategoryList { 9 | id?: number; 10 | name?: string; 11 | subcategories?: GroupsGroupCategoryType[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupSubcategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseObjectWithName } from '../base/BaseObjectWithName'; 6 | 7 | // groups_group_subcategory 8 | export interface GroupsGroupSubcategory { 9 | /** 10 | * Object ID 11 | */ 12 | id?: number; 13 | /** 14 | * Object name 15 | */ 16 | name?: string; 17 | genders?: BaseObjectWithName[]; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupSuggestedPrivacy.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_suggested_privacy enumNames 6 | export const GroupsGroupSuggestedPrivacyEnumNames = { 7 | NONE: 0, 8 | ALL: 1, 9 | SUBSCRIBERS: 2, 10 | } as const; 11 | 12 | // groups_group_suggested_privacy 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupSuggestedPrivacyEnumNames 16 | * 17 | * `0` — none 18 | * `1` — all 19 | * `2` — subscribers 20 | */ 21 | export type GroupsGroupSuggestedPrivacy = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupTag.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_tag 6 | export interface GroupsGroupTag { 7 | id?: number; 8 | name?: string; 9 | color?: '454647' | 10 | '45678f' | 11 | '4bb34b' | 12 | '5181b8' | 13 | '539b9c' | 14 | '5c9ce6' | 15 | '63b9ba' | 16 | '6bc76b' | 17 | '76787a' | 18 | '792ec0' | 19 | '7a6c4f' | 20 | '7ececf' | 21 | '9e8d6b' | 22 | 'a162de' | 23 | 'aaaeb3' | 24 | 'bbaa84' | 25 | 'e64646' | 26 | 'ff5c5c' | 27 | 'ffa000' | 28 | 'ffc107'; 29 | uses?: number; 30 | } 31 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupTopics.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_topics enumNames 6 | export const GroupsGroupTopicsEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | } as const; 11 | 12 | // groups_group_topics 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupTopicsEnumNames 16 | * 17 | * `0` — disabled 18 | * `1` — open 19 | * `2` — limited 20 | */ 21 | export type GroupsGroupTopics = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_type 6 | /** 7 | * Community type 8 | */ 9 | export type GroupsGroupType = 'group' | 'page' | 'event'; 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupVideo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_video enumNames 6 | export const GroupsGroupVideoEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | } as const; 11 | 12 | // groups_group_video 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupVideoEnumNames 16 | * 17 | * `0` — disabled 18 | * `1` — open 19 | * `2` — limited 20 | */ 21 | export type GroupsGroupVideo = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupWall.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_wall enumNames 6 | export const GroupsGroupWallEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | CLOSED: 3, 11 | } as const; 12 | 13 | // groups_group_wall 14 | /** 15 | * @note This enum have auto-generated constant with keys and values 16 | * @see GroupsGroupWallEnumNames 17 | * 18 | * `0` — disabled 19 | * `1` — open 20 | * `2` — limited 21 | * `3` — closed 22 | */ 23 | export type GroupsGroupWall = 0 | 1 | 2 | 3; 24 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupWiki.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_group_wiki enumNames 6 | export const GroupsGroupWikiEnumNames = { 7 | DISABLED: 0, 8 | OPEN: 1, 9 | LIMITED: 2, 10 | } as const; 11 | 12 | // groups_group_wiki 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see GroupsGroupWikiEnumNames 16 | * 17 | * `0` — disabled 18 | * `1` — open 19 | * `2` — limited 20 | */ 21 | export type GroupsGroupWiki = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsGroupsArray.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_groups_array 6 | export interface GroupsGroupsArray { 7 | /** 8 | * Communities number 9 | */ 10 | count?: number; 11 | items?: number[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsLiveCovers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_live_covers 6 | export interface GroupsLiveCovers { 7 | /** 8 | * Information whether live covers is enabled 9 | */ 10 | is_enabled?: boolean; 11 | /** 12 | * Information whether live covers photo scaling is enabled 13 | */ 14 | is_scalable?: boolean; 15 | story_ids?: string[]; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsLongPollServer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_long_poll_server 6 | export interface GroupsLongPollServer { 7 | /** 8 | * Long Poll key 9 | */ 10 | key?: string; 11 | /** 12 | * Long Poll server address 13 | */ 14 | server?: string; 15 | /** 16 | * Number of the last event 17 | */ 18 | ts?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsLongPollSettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsLongPollEvents } from './GroupsLongPollEvents'; 6 | 7 | // groups_long_poll_settings 8 | export interface GroupsLongPollSettings { 9 | /** 10 | * API version used for the events 11 | */ 12 | api_version?: string; 13 | events?: GroupsLongPollEvents; 14 | /** 15 | * Shows whether Long Poll is enabled 16 | */ 17 | is_enabled?: boolean; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsMemberRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsMemberRolePermission } from './GroupsMemberRolePermission'; 6 | import { GroupsMemberRoleStatus } from './GroupsMemberRoleStatus'; 7 | 8 | // groups_member_role 9 | export interface GroupsMemberRole { 10 | /** 11 | * User ID 12 | */ 13 | id?: number; 14 | /** 15 | * Allow the manager to accept community calls. 16 | */ 17 | is_call_operator?: boolean; 18 | permissions?: GroupsMemberRolePermission[]; 19 | role?: GroupsMemberRoleStatus; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsMemberRolePermission.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_member_role_permission 6 | export type GroupsMemberRolePermission = 'ads'; 7 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsMemberRoleStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_member_role_status 6 | /** 7 | * User's credentials as community admin 8 | */ 9 | export type GroupsMemberRoleStatus = 'moderator' | 'editor' | 'administrator' | 'creator' | 'advertiser'; 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsMemberStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_member_status 6 | export interface GroupsMemberStatus { 7 | /** 8 | * Information whether user is a member of the group 9 | */ 10 | member?: 0 | 1; 11 | /** 12 | * User ID 13 | */ 14 | user_id?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsOnlineStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsOnlineStatusType } from './GroupsOnlineStatusType'; 6 | 7 | // groups_online_status 8 | export interface GroupsOnlineStatus { 9 | /** 10 | * Estimated time of answer (for status = answer_mark) 11 | */ 12 | minutes?: number; 13 | status?: GroupsOnlineStatusType; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsOnlineStatusType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_online_status_type 6 | /** 7 | * Type of online status of group 8 | */ 9 | export type GroupsOnlineStatusType = 'none' | 'online' | 'answer_mark'; 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsOwnerXtrBanInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UsersUser } from '../users/UsersUser'; 6 | import { GroupsBanInfo } from './GroupsBanInfo'; 7 | import { GroupsGroup } from './GroupsGroup'; 8 | 9 | // groups_owner_xtr_ban_info 10 | export interface GroupsOwnerXtrBanInfo { 11 | ban_info?: GroupsBanInfo; 12 | /** 13 | * Information about group if type = group 14 | */ 15 | group?: GroupsGroup; 16 | /** 17 | * Information about group if type = profile 18 | */ 19 | profile?: UsersUser; 20 | type?: 'group' | 'profile'; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsPhotoSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_photo_size 6 | export interface GroupsPhotoSize { 7 | /** 8 | * Image height 9 | */ 10 | height?: number; 11 | /** 12 | * Image width 13 | */ 14 | width?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsProfileItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_profile_item 6 | export interface GroupsProfileItem { 7 | /** 8 | * User id 9 | */ 10 | id?: number; 11 | /** 12 | * Url for user photo 13 | */ 14 | photo_50?: string; 15 | /** 16 | * Url for user photo 17 | */ 18 | photo_100?: string; 19 | /** 20 | * User first name 21 | */ 22 | first_name?: string; 23 | /** 24 | * User last name 25 | */ 26 | last_name?: string; 27 | /** 28 | * Domain of the user page 29 | */ 30 | screen_name?: string; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsRoleOptions.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_role_options 6 | /** 7 | * User's credentials as community admin 8 | */ 9 | export type GroupsRoleOptions = 'moderator' | 'editor' | 'administrator' | 'creator'; 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsSectionsListItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_sections_list_item 6 | export interface GroupsSectionsListItem { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsSettingsTwitter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_settings_twitter 6 | export interface GroupsSettingsTwitter { 7 | status?: 'loading' | 'sync'; 8 | name?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsSubjectItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_subject_item 6 | export interface GroupsSubjectItem { 7 | /** 8 | * Subject ID 9 | */ 10 | id?: number; 11 | /** 12 | * Subject title 13 | */ 14 | name?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/groups/GroupsTokenPermissionSetting.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // groups_token_permission_setting 6 | export interface GroupsTokenPermissionSetting { 7 | name?: string; 8 | setting?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/leadForms/LeadFormsAnswer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { LeadFormsAnswerItem } from './LeadFormsAnswerItem'; 6 | 7 | // leadForms_answer 8 | export interface LeadFormsAnswer { 9 | key?: string; 10 | answer?: LeadFormsAnswerItem | LeadFormsAnswerItem[]; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/leadForms/LeadFormsAnswerItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // leadForms_answer_item 6 | export interface LeadFormsAnswerItem { 7 | key?: string; 8 | value?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/leadForms/LeadFormsForm.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { LeadFormsQuestionItem } from './LeadFormsQuestionItem'; 6 | 7 | // leadForms_form 8 | export interface LeadFormsForm { 9 | form_id?: number; 10 | group_id?: number; 11 | photo?: string; 12 | name?: string; 13 | title?: string; 14 | description?: string; 15 | confirmation?: string; 16 | site_link_url?: string; 17 | policy_link_url?: string; 18 | questions?: LeadFormsQuestionItem[]; 19 | active?: 0 | 1; 20 | leads_count?: number; 21 | pixel_code?: string; 22 | once_per_user?: number; 23 | notify_admins?: string; 24 | notify_emails?: string; 25 | url?: string; 26 | } 27 | -------------------------------------------------------------------------------- /src/objects/leadForms/LeadFormsLead.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { LeadFormsAnswer } from './LeadFormsAnswer'; 6 | 7 | // leadForms_lead 8 | export interface LeadFormsLead { 9 | lead_id?: number; 10 | user_id?: number; 11 | date?: number; 12 | answers?: LeadFormsAnswer[]; 13 | ad_id?: number; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/leadForms/LeadFormsQuestionItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { LeadFormsQuestionItemOption } from './LeadFormsQuestionItemOption'; 6 | 7 | // leadForms_question_item 8 | export interface LeadFormsQuestionItem { 9 | key?: string; 10 | type?: 'input' | 'textarea' | 'radio' | 'checkbox' | 'select'; 11 | label?: string; 12 | /** 13 | * Опции выбора для типов radio, checkbox, select 14 | */ 15 | options?: LeadFormsQuestionItemOption[]; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/leadForms/LeadFormsQuestionItemOption.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // leadForms_question_item_option 6 | export interface LeadFormsQuestionItemOption { 7 | key?: string; 8 | label?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/link/LinkTargetObject.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // link_target_object 6 | export interface LinkTargetObject { 7 | /** 8 | * Object type 9 | */ 10 | type?: string; 11 | /** 12 | * Owner ID 13 | */ 14 | owner_id?: number; 15 | /** 16 | * Item ID 17 | */ 18 | item_id?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/market/MarketCurrency.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_currency 6 | export interface MarketCurrency { 7 | /** 8 | * Currency ID 9 | */ 10 | id?: number; 11 | /** 12 | * Currency sign 13 | */ 14 | name?: string; 15 | /** 16 | * Currency title 17 | */ 18 | title?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/market/MarketGlobalSearchFilters.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseCity } from '../base/BaseCity'; 6 | import { BaseCountry } from '../base/BaseCountry'; 7 | 8 | // market_global_search_filters 9 | export interface MarketGlobalSearchFilters { 10 | city?: BaseCity; 11 | country?: BaseCountry; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/market/MarketItemPromotionInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_item_promotion_info 6 | export interface MarketItemPromotionInfo { 7 | /** 8 | * Can the item be promoted? 9 | */ 10 | is_available?: boolean; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/market/MarketMarketCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_market_category 6 | export interface MarketMarketCategory { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/market/MarketMarketCategoryNested.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_market_category_nested 6 | export interface MarketMarketCategoryNested { 7 | inner_type?: 'market_market_category_nested'; 8 | /** 9 | * Category ID 10 | */ 11 | id?: number; 12 | /** 13 | * Category name 14 | */ 15 | name?: string; 16 | /** 17 | * Is v2 category 18 | */ 19 | is_v2?: boolean; 20 | parent?: MarketMarketCategoryNested; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/market/MarketMarketCategoryTreeView.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_market_category_tree_view 6 | export interface MarketMarketCategoryTreeView { 7 | type?: 'tab_root'; 8 | selected?: boolean; 9 | root_path?: string[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/market/MarketMarketItemAvailability.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_market_item_availability enumNames 6 | export const MarketMarketItemAvailabilityEnumNames = { 7 | AVAILABLE: 0, 8 | REMOVED: 1, 9 | UNAVAILABLE: 2, 10 | } as const; 11 | 12 | // market_market_item_availability 13 | /** 14 | * Information whether the item is available 15 | * 16 | * @note This enum have auto-generated constant with keys and values 17 | * @see MarketMarketItemAvailabilityEnumNames 18 | * 19 | * `0` — available 20 | * `1` — removed 21 | * `2` — unavailable 22 | */ 23 | export type MarketMarketItemAvailability = 0 | 1 | 2; 24 | -------------------------------------------------------------------------------- /src/objects/market/MarketOrderItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhoto } from '../photos/PhotosPhoto'; 6 | import { MarketMarketItem } from './MarketMarketItem'; 7 | import { MarketPrice } from './MarketPrice'; 8 | 9 | // market_order_item 10 | export interface MarketOrderItem { 11 | owner_id?: number; 12 | item_id?: number; 13 | price?: MarketPrice; 14 | quantity?: number; 15 | item?: MarketMarketItem; 16 | title?: string; 17 | photo?: PhotosPhoto; 18 | variants?: string[]; 19 | /** 20 | * Extended field. Can current viewer add review for this ordered item 21 | */ 22 | can_add_review?: boolean; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/market/MarketOwnerType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_owner_type 6 | /** 7 | * Type of the market group 8 | */ 9 | export type MarketOwnerType = 'base' | 'pro' | 'disabled'; 10 | -------------------------------------------------------------------------------- /src/objects/market/MarketProperty.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MarketPropertyVariant } from './MarketPropertyVariant'; 6 | 7 | // market_property 8 | export interface MarketProperty { 9 | id?: number; 10 | /** 11 | * Property name 12 | */ 13 | title?: string; 14 | /** 15 | * Property type 16 | */ 17 | type?: 'text' | 'color'; 18 | variants?: MarketPropertyVariant[]; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/market/MarketPropertyVariant.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_property_variant 6 | export interface MarketPropertyVariant { 7 | id?: number; 8 | /** 9 | * Property name 10 | */ 11 | title?: string; 12 | /** 13 | * Property value corresponding to property type 14 | */ 15 | value?: string; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/market/MarketServicesViewType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // market_services_view_type enumNames 6 | export const MarketServicesViewTypeEnumNames = { 7 | CARDS: 1, 8 | ROWS: 2, 9 | } as const; 10 | 11 | // market_services_view_type 12 | /** 13 | * Type of view. 1 - cards, 2 - rows 14 | * 15 | * @note This enum have auto-generated constant with keys and values 16 | * @see MarketServicesViewTypeEnumNames 17 | * 18 | * `1` — cards 19 | * `2` — rows 20 | */ 21 | export type MarketServicesViewType = 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/market/MarketUploadPhotoData.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhoto } from '../photos/PhotosPhoto'; 6 | 7 | // market_upload_photo_data 8 | export interface MarketUploadPhotoData { 9 | /** 10 | * Photo ID 11 | */ 12 | photo_id?: number; 13 | photo?: PhotosPhoto; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesActionOneOf.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_action_one_of 6 | export interface MessagesActionOneOf { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesAudioMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_audio_message 6 | export interface MessagesAudioMessage { 7 | /** 8 | * Access key for audio message 9 | */ 10 | access_key?: string; 11 | transcript_error?: number; 12 | /** 13 | * Audio message duration in seconds 14 | */ 15 | duration?: number; 16 | /** 17 | * Audio message ID 18 | */ 19 | id?: number; 20 | /** 21 | * MP3 file URL 22 | */ 23 | link_mp3?: string; 24 | /** 25 | * OGG file URL 26 | */ 27 | link_ogg?: string; 28 | /** 29 | * Audio message owner ID 30 | */ 31 | owner_id?: number; 32 | waveform?: number[]; 33 | } 34 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesChatPreview.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseLinkButton } from '../base/BaseLinkButton'; 6 | import { MessagesChatSettingsPhoto } from './MessagesChatSettingsPhoto'; 7 | 8 | // messages_chat_preview 9 | export interface MessagesChatPreview { 10 | admin_id?: number; 11 | joined?: boolean; 12 | local_id?: number; 13 | members?: number[]; 14 | members_count?: number; 15 | title?: string; 16 | is_member?: boolean; 17 | photo?: MessagesChatSettingsPhoto; 18 | is_don?: boolean; 19 | is_nft?: boolean; 20 | is_group_channel?: boolean; 21 | button?: BaseLinkButton; 22 | } 23 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesChatPushSettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_chat_push_settings 6 | export interface MessagesChatPushSettings { 7 | /** 8 | * Time until that notifications are disabled 9 | */ 10 | disabled_until?: number; 11 | /** 12 | * Information whether the sound is on 13 | */ 14 | sound?: 0 | 1; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesChatRestrictions.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_chat_restrictions 6 | export interface MessagesChatRestrictions { 7 | /** 8 | * Only admins can promote users to admins 9 | */ 10 | admins_promote_users?: boolean; 11 | /** 12 | * Only admins can change chat info 13 | */ 14 | only_admins_edit_info?: boolean; 15 | /** 16 | * Only admins can edit pinned message 17 | */ 18 | only_admins_edit_pin?: boolean; 19 | /** 20 | * Only admins can invite users to this chat 21 | */ 22 | only_admins_invite?: boolean; 23 | /** 24 | * Only admins can kick users from this chat 25 | */ 26 | only_admins_kick?: boolean; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesChatSettingsPhoto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_chat_settings_photo 6 | export interface MessagesChatSettingsPhoto { 7 | /** 8 | * URL of the preview image with 50px in width 9 | */ 10 | photo_50?: string; 11 | /** 12 | * URL of the preview image with 100px in width 13 | */ 14 | photo_100?: string; 15 | /** 16 | * URL of the preview image with 200px in width 17 | */ 18 | photo_200?: string; 19 | /** 20 | * If provided photo is default 21 | */ 22 | is_default_photo?: boolean; 23 | /** 24 | * If provided photo is default call photo 25 | */ 26 | is_default_call_photo?: boolean; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesChatSettingsState.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_chat_settings_state 6 | export type MessagesChatSettingsState = 'in' | 'kicked' | 'left' | 'out'; 7 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesConversationCanWrite.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_conversation_can_write 6 | export interface MessagesConversationCanWrite { 7 | allowed?: boolean; 8 | reason?: number; 9 | until?: number; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesConversationMember.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_conversation_member 6 | export interface MessagesConversationMember { 7 | /** 8 | * Is it possible for user to kick this member 9 | */ 10 | can_kick?: boolean; 11 | /** 12 | * Does this member have write permission 13 | */ 14 | is_restricted_to_write?: boolean; 15 | invited_by?: number; 16 | is_admin?: boolean; 17 | is_owner?: boolean; 18 | is_message_request?: boolean; 19 | join_date?: number; 20 | /** 21 | * Message request date 22 | */ 23 | request_date?: number; 24 | member_id?: number; 25 | } 26 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesConversationPeer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesConversationPeerType } from './MessagesConversationPeerType'; 6 | 7 | // messages_conversation_peer 8 | export interface MessagesConversationPeer { 9 | id?: number; 10 | local_id?: number; 11 | type?: MessagesConversationPeerType; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesConversationPeerType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_conversation_peer_type 6 | /** 7 | * Peer type 8 | */ 9 | export type MessagesConversationPeerType = 'chat' | 'email' | 'user' | 'group'; 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesConversationSortId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_conversation_sort_id 6 | export interface MessagesConversationSortId { 7 | /** 8 | * Major id for sorting conversations 9 | */ 10 | major_id?: number; 11 | /** 12 | * Minor id for sorting conversations 13 | */ 14 | minor_id?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesConversationWithMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesConversation } from './MessagesConversation'; 6 | import { MessagesMessage } from './MessagesMessage'; 7 | 8 | // messages_conversation_with_message 9 | export interface MessagesConversationWithMessage { 10 | conversation?: MessagesConversation; 11 | last_message?: MessagesMessage; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesDeleteFullResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseMessageError } from '../base/BaseMessageError'; 6 | 7 | // messages_delete_full_response_item 8 | export interface MessagesDeleteFullResponseItem { 9 | peer_id?: number; 10 | message_id?: number; 11 | conversation_message_id?: number; 12 | response?: 0 | 1; 13 | error?: BaseMessageError; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesFwdMessages.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesForeignMessage } from './MessagesForeignMessage'; 6 | 7 | // messages_fwd_messages 8 | /** 9 | * Forwarded messages 10 | */ 11 | export type MessagesFwdMessages = MessagesForeignMessage[]; 12 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesGetConversationById.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesConversation } from './MessagesConversation'; 6 | 7 | // messages_getConversationById 8 | export interface MessagesGetConversationById { 9 | /** 10 | * Total number 11 | */ 12 | count?: number; 13 | items?: MessagesConversation[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesGetConversationByIdExtended.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroupFull } from '../groups/GroupsGroupFull'; 6 | import { UsersUserFull } from '../users/UsersUserFull'; 7 | import { MessagesConversation } from './MessagesConversation'; 8 | 9 | // messages_getConversationById_extended 10 | export interface MessagesGetConversationByIdExtended { 11 | /** 12 | * Total number 13 | */ 14 | count?: number; 15 | items?: MessagesConversation[]; 16 | profiles?: UsersUserFull[]; 17 | groups?: GroupsGroupFull[]; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesGetConversationMembers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroupFull } from '../groups/GroupsGroupFull'; 6 | import { UsersUserFull } from '../users/UsersUserFull'; 7 | import { MessagesChatRestrictions } from './MessagesChatRestrictions'; 8 | import { MessagesConversationMember } from './MessagesConversationMember'; 9 | 10 | // messages_getConversationMembers 11 | export interface MessagesGetConversationMembers { 12 | items?: MessagesConversationMember[]; 13 | /** 14 | * Chat members count 15 | */ 16 | count?: number; 17 | chat_restrictions?: MessagesChatRestrictions; 18 | profiles?: UsersUserFull[]; 19 | groups?: GroupsGroupFull[]; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesGetInviteLinkByOwnerResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseMessageError } from '../base/BaseMessageError'; 6 | 7 | // messages_getInviteLink_by_owner_response_item 8 | export interface MessagesGetInviteLinkByOwnerResponseItem { 9 | owner_id?: number; 10 | link?: string; 11 | error?: BaseMessageError; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesGraffiti.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_graffiti 6 | export interface MessagesGraffiti { 7 | /** 8 | * Access key for graffiti 9 | */ 10 | access_key?: string; 11 | /** 12 | * Graffiti ID 13 | */ 14 | id?: number; 15 | /** 16 | * Graffiti owner ID 17 | */ 18 | owner_id?: number; 19 | /** 20 | * Graffiti URL 21 | */ 22 | url?: string; 23 | /** 24 | * Graffiti width 25 | */ 26 | width?: number; 27 | /** 28 | * Graffiti height 29 | */ 30 | height?: number; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesHistoryMessageAttachmentType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_history_message_attachment_type 6 | /** 7 | * Attachments type 8 | */ 9 | export type MessagesHistoryMessageAttachmentType = 'app_action' | 'audio' | 'doc' | 'link' | 'market' | 'photo' | 'video' | 'wall' | 'graffiti' | 'audio_message'; 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboard.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesKeyboardButton } from './MessagesKeyboardButton'; 6 | 7 | // messages_keyboard 8 | export interface MessagesKeyboard { 9 | /** 10 | * Should this keyboard disappear on first use 11 | */ 12 | one_time?: boolean; 13 | buttons?: MessagesKeyboardButton[][]; 14 | /** 15 | * Community or bot, which set this keyboard 16 | */ 17 | author_id?: number; 18 | inline?: boolean; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboardButtonActionCallback.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_keyboard_button_action_callback 6 | export interface MessagesKeyboardButtonActionCallback { 7 | /** 8 | * Label for button 9 | */ 10 | label?: string; 11 | /** 12 | * Additional data sent along with message for developer convenience 13 | */ 14 | payload?: string; 15 | type?: 'callback'; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboardButtonActionLocation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_keyboard_button_action_location 6 | export interface MessagesKeyboardButtonActionLocation { 7 | /** 8 | * Additional data sent along with message for developer convenience 9 | */ 10 | payload?: string; 11 | type?: 'location'; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboardButtonActionOpenLink.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_keyboard_button_action_open_link 6 | export interface MessagesKeyboardButtonActionOpenLink { 7 | /** 8 | * Label for button 9 | */ 10 | label?: string; 11 | /** 12 | * link for button 13 | */ 14 | link?: string; 15 | /** 16 | * Additional data sent along with message for developer convenience 17 | */ 18 | payload?: string; 19 | type?: 'open_link'; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboardButtonActionOpenPhoto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_keyboard_button_action_open_photo 6 | export interface MessagesKeyboardButtonActionOpenPhoto { 7 | type?: 'open_photo'; 8 | } 9 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboardButtonActionText.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_keyboard_button_action_text 6 | export interface MessagesKeyboardButtonActionText { 7 | /** 8 | * Label for button 9 | */ 10 | label?: string; 11 | /** 12 | * Additional data sent along with message for developer convenience 13 | */ 14 | payload?: string; 15 | type?: 'text'; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesKeyboardButtonActionVkpay.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_keyboard_button_action_vkpay 6 | export interface MessagesKeyboardButtonActionVkpay { 7 | /** 8 | * Fragment value in app link like vk.com/app123456_-654321#{hash} 9 | */ 10 | hash?: string; 11 | /** 12 | * Additional data sent along with message for developer convenience 13 | */ 14 | payload?: string; 15 | type?: 'vkpay'; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesLastActivity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_last_activity 6 | export interface MessagesLastActivity { 7 | /** 8 | * Information whether user is online 9 | */ 10 | online?: 0 | 1; 11 | /** 12 | * Time when user was online in Unixtime 13 | */ 14 | time?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesLongpollMessages.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_longpoll_messages 6 | export interface MessagesLongpollMessages { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesLongpollParams.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_longpoll_params 6 | export interface MessagesLongpollParams { 7 | /** 8 | * Server URL 9 | */ 10 | server?: string; 11 | /** 12 | * Key 13 | */ 14 | key?: string; 15 | /** 16 | * Timestamp 17 | */ 18 | ts?: number; 19 | /** 20 | * Persistent timestamp 21 | */ 22 | pts?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesMessageAttachmentType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_message_attachment_type 6 | /** 7 | * Attachment type 8 | */ 9 | export type MessagesMessageAttachmentType = 'photo' | 'audio' | 'video' | 'video_playlist' | 'doc' | 'link' | 'market' | 'gift' | 'sticker' | 'wall' | 'wall_reply' | 'article' | 'poll' | 'podcasts' | 'call' | 'graffiti' | 'audio_message'; 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesMessageRequestData.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_message_request_data 6 | export interface MessagesMessageRequestData { 7 | /** 8 | * Status of message request 9 | */ 10 | status?: string; 11 | /** 12 | * Message request sender id 13 | */ 14 | inviter_id?: number; 15 | /** 16 | * Message request date 17 | */ 18 | request_date?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesMessagesArray.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesMessage } from './MessagesMessage'; 6 | 7 | // messages_messages_array 8 | export interface MessagesMessagesArray { 9 | count?: number; 10 | items?: MessagesMessage[]; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesOutReadBy.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_out_read_by 6 | export interface MessagesOutReadBy { 7 | count?: number; 8 | member_ids?: number[]; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesReactionAssetItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesReactionAssetItemLinks } from './MessagesReactionAssetItemLinks'; 6 | 7 | // messages_reaction_asset_item 8 | export interface MessagesReactionAssetItem { 9 | reaction_id?: number; 10 | /** 11 | * Liks to reactions assets for each asset type 12 | */ 13 | links?: MessagesReactionAssetItemLinks; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesReactionAssetItemLinks.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_reaction_asset_item_links 6 | export interface MessagesReactionAssetItemLinks { 7 | /** 8 | * Big reaction animation json file 9 | */ 10 | big_animation?: string; 11 | /** 12 | * Small reaction animation json file 13 | */ 14 | small_animation?: string; 15 | /** 16 | * Reaction image file 17 | */ 18 | static?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesReactionCounterResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_reaction_counter_response_item 6 | export interface MessagesReactionCounterResponseItem { 7 | reaction_id?: number; 8 | count?: number; 9 | user_ids?: number[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesReactionCountersResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { MessagesReactionCounterResponseItem } from './MessagesReactionCounterResponseItem'; 6 | 7 | // messages_reaction_counters_response_item 8 | export interface MessagesReactionCountersResponseItem { 9 | cmid?: number; 10 | counters?: MessagesReactionCounterResponseItem[]; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesReactionResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // messages_reaction_response_item 6 | export interface MessagesReactionResponseItem { 7 | user_id?: number; 8 | reaction_id?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/messages/MessagesSendUserIdsResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseMessageError } from '../base/BaseMessageError'; 6 | 7 | // messages_send_user_ids_response_item 8 | export interface MessagesSendUserIdsResponseItem { 9 | peer_id?: number; 10 | message_id?: number; 11 | conversation_message_id?: number; 12 | error?: BaseMessageError; 13 | } 14 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedCommentsFilters.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_comments_filters 6 | export type NewsfeedCommentsFilters = 'post' | 'photo' | 'video' | 'topic' | 'note'; 7 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedCommentsItemTypeNotes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseLikes } from '../base/BaseLikes'; 6 | import { NewsfeedCommentsBase } from './NewsfeedCommentsBase'; 7 | import { NewsfeedNewsfeedItemType } from './NewsfeedNewsfeedItemType'; 8 | 9 | // newsfeed_comments_item_type_notes 10 | export interface NewsfeedCommentsItemTypeNotes { 11 | type?: NewsfeedNewsfeedItemType; 12 | source_id?: number; 13 | date?: number; 14 | post_id?: number; 15 | text?: string; 16 | comments?: NewsfeedCommentsBase; 17 | likes?: BaseLikes; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedCommentsItemTypeTopic.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseLikes } from '../base/BaseLikes'; 6 | import { NewsfeedCommentsBase } from './NewsfeedCommentsBase'; 7 | import { NewsfeedNewsfeedItemType } from './NewsfeedNewsfeedItemType'; 8 | 9 | // newsfeed_comments_item_type_topic 10 | export interface NewsfeedCommentsItemTypeTopic { 11 | type?: NewsfeedNewsfeedItemType; 12 | source_id?: number; 13 | date?: number; 14 | post_id?: number; 15 | text?: string; 16 | comments?: NewsfeedCommentsBase; 17 | likes?: BaseLikes; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemAudioAudio.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AudioAudio } from '../audio/AudioAudio'; 6 | 7 | // newsfeed_item_audio_audio 8 | export interface NewsfeedItemAudioAudio { 9 | /** 10 | * Audios number 11 | */ 12 | count?: number; 13 | items?: AudioAudio[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemDigestButton.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_item_digest_button 6 | export interface NewsfeedItemDigestButton { 7 | title?: string; 8 | style?: 'primary'; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemDigestFooter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { NewsfeedItemDigestButton } from './NewsfeedItemDigestButton'; 6 | 7 | // newsfeed_item_digest_footer 8 | export interface NewsfeedItemDigestFooter { 9 | style?: 'text' | 'button'; 10 | /** 11 | * text for invite to enable smart feed 12 | */ 13 | text?: string; 14 | button?: NewsfeedItemDigestButton; 15 | feed_id?: string; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemDigestHeader.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { NewsfeedItemDigestButton } from './NewsfeedItemDigestButton'; 6 | 7 | // newsfeed_item_digest_header 8 | export interface NewsfeedItemDigestHeader { 9 | /** 10 | * Title of the header 11 | */ 12 | title?: string; 13 | /** 14 | * Subtitle of the header, when title have two strings 15 | */ 16 | subtitle?: string; 17 | /** 18 | * Optional field for red badge in Trends feed blocks 19 | */ 20 | badge_text?: string; 21 | style?: 'singleline' | 'multiline'; 22 | button?: NewsfeedItemDigestButton; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemDigestItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_item_digest_item 6 | export interface NewsfeedItemDigestItem { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemFriendFriends.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseUserId } from '../base/BaseUserId'; 6 | 7 | // newsfeed_item_friend_friends 8 | export interface NewsfeedItemFriendFriends { 9 | /** 10 | * Number of friends has been added 11 | */ 12 | count?: number; 13 | items?: BaseUserId[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemPhotoPhotos.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhoto } from '../photos/PhotosPhoto'; 6 | 7 | // newsfeed_item_photo_photos 8 | export interface NewsfeedItemPhotoPhotos { 9 | /** 10 | * Photos number 11 | */ 12 | count?: number; 13 | items?: PhotosPhoto[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemPhotoTagPhotoTags.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhoto } from '../photos/PhotosPhoto'; 6 | 7 | // newsfeed_item_photo_tag_photo_tags 8 | export interface NewsfeedItemPhotoTagPhotoTags { 9 | /** 10 | * Tags number 11 | */ 12 | count?: number; 13 | items?: PhotosPhoto[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemPromoButtonAction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_item_promo_button_action 6 | export interface NewsfeedItemPromoButtonAction { 7 | url?: string; 8 | type?: string; 9 | target?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemPromoButtonImage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_item_promo_button_image 6 | export interface NewsfeedItemPromoButtonImage { 7 | width?: number; 8 | height?: number; 9 | url?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemVideoVideo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { VideoVideoFull } from '../video/VideoVideoFull'; 6 | 7 | // newsfeed_item_video_video 8 | export interface NewsfeedItemVideoVideo { 9 | /** 10 | * Tags number 11 | */ 12 | count?: number; 13 | items?: VideoVideoFull[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemWallpostFeedback.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { NewsfeedItemWallpostFeedbackAnswer } from './NewsfeedItemWallpostFeedbackAnswer'; 6 | import { NewsfeedItemWallpostFeedbackType } from './NewsfeedItemWallpostFeedbackType'; 7 | 8 | // newsfeed_item_wallpost_feedback 9 | export interface NewsfeedItemWallpostFeedback { 10 | type?: NewsfeedItemWallpostFeedbackType; 11 | question?: string; 12 | answers?: NewsfeedItemWallpostFeedbackAnswer[]; 13 | stars_count?: number; 14 | descriptions?: string[]; 15 | gratitude?: string; 16 | track_code?: string; 17 | } 18 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemWallpostFeedbackAnswer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_item_wallpost_feedback_answer 6 | export interface NewsfeedItemWallpostFeedbackAnswer { 7 | title?: string; 8 | id?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedItemWallpostFeedbackType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_item_wallpost_feedback_type 6 | export type NewsfeedItemWallpostFeedbackType = 'buttons' | 'stars'; 7 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedList.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_list 6 | export interface NewsfeedList { 7 | /** 8 | * List ID 9 | */ 10 | id?: number; 11 | /** 12 | * List title 13 | */ 14 | title?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedListFull.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_list_full 6 | export interface NewsfeedListFull { 7 | /** 8 | * List ID 9 | */ 10 | id?: number; 11 | /** 12 | * List title 13 | */ 14 | title?: string; 15 | /** 16 | * Information whether reposts hiding is enabled 17 | */ 18 | no_reposts?: 0 | 1; 19 | source_ids?: number[]; 20 | } 21 | -------------------------------------------------------------------------------- /src/objects/newsfeed/NewsfeedNewsfeedItemType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // newsfeed_newsfeed_item_type 6 | /** 7 | * Item type 8 | */ 9 | export type NewsfeedNewsfeedItemType = 'post' | 'photo' | 'photo_tag' | 'wall_photo' | 'friend' | 'audio' | 'video' | 'topic' | 'digest' | 'stories' | 'note' | 'audio_playlist' | 'clip' | 'clips_retention'; 10 | -------------------------------------------------------------------------------- /src/objects/notes/NotesNoteComment.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // notes_note_comment 6 | export interface NotesNoteComment { 7 | /** 8 | * Date when the comment has beed added in Unixtime 9 | */ 10 | date?: number; 11 | /** 12 | * Comment ID 13 | */ 14 | id?: number; 15 | /** 16 | * Comment text 17 | */ 18 | message?: string; 19 | /** 20 | * Note ID 21 | */ 22 | nid?: number; 23 | /** 24 | * Note ID 25 | */ 26 | oid?: number; 27 | /** 28 | * ID of replied comment 29 | */ 30 | reply_to?: number; 31 | /** 32 | * Comment author's ID 33 | */ 34 | uid?: number; 35 | } 36 | -------------------------------------------------------------------------------- /src/objects/notifications/NotificationsNotificationItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // notifications_notification_item 6 | export interface NotificationsNotificationItem { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/notifications/NotificationsSendMessageItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { NotificationsSendMessageError } from './NotificationsSendMessageError'; 6 | 7 | // notifications_send_message_item 8 | export interface NotificationsSendMessageItem { 9 | /** 10 | * User ID 11 | */ 12 | user_id?: number; 13 | /** 14 | * Notification status 15 | */ 16 | status?: boolean; 17 | error?: NotificationsSendMessageError; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/orders/OrdersAmount.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { OrdersAmountItem } from './OrdersAmountItem'; 6 | 7 | // orders_amount 8 | export interface OrdersAmount { 9 | amounts?: OrdersAmountItem[]; 10 | /** 11 | * Currency name 12 | */ 13 | currency?: string; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/orders/OrdersAmountItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // orders_amount_item 6 | export interface OrdersAmountItem { 7 | /** 8 | * Votes amount in user's currency 9 | */ 10 | amount?: number; 11 | /** 12 | * Amount description 13 | */ 14 | description?: string; 15 | /** 16 | * Votes number 17 | */ 18 | votes?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/owner/OwnerState.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // owner_state state enumNames 6 | export const OwnerStateStateEnumNames = { 7 | BANNED: 1, 8 | ADULT: 2, 9 | HIDDEN: 3, 10 | DELETED: 4, 11 | BLACKLISTED: 5, 12 | } as const; 13 | 14 | // owner_state 15 | export interface OwnerState { 16 | /** 17 | * `1` — banned 18 | * `2` — adult 19 | * `3` — hidden 20 | * `4` — deleted 21 | * `5` — blacklisted 22 | */ 23 | state?: 1 | 2 | 3 | 4 | 5; 24 | /** 25 | * wiki text to describe user state 26 | */ 27 | description?: string; 28 | } 29 | -------------------------------------------------------------------------------- /src/objects/pages/PagesPrivacySettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // pages_privacy_settings enumNames 6 | export const PagesPrivacySettingsEnumNames = { 7 | COMMUNITY_MANAGERS_ONLY: 0, 8 | COMMUNITY_MEMBERS_ONLY: 1, 9 | EVERYONE: 2, 10 | } as const; 11 | 12 | // pages_privacy_settings 13 | /** 14 | * @note This enum have auto-generated constant with keys and values 15 | * @see PagesPrivacySettingsEnumNames 16 | * 17 | * `0` — community managers only 18 | * `1` — community members only 19 | * `2` — everyone 20 | */ 21 | export type PagesPrivacySettings = 0 | 1 | 2; 22 | -------------------------------------------------------------------------------- /src/objects/pages/PagesWikipageHistory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // pages_wikipage_history 6 | export interface PagesWikipageHistory { 7 | /** 8 | * Version ID 9 | */ 10 | id?: number; 11 | /** 12 | * Page size in bytes 13 | */ 14 | length?: number; 15 | /** 16 | * Date when the page has been edited in Unixtime 17 | */ 18 | date?: number; 19 | /** 20 | * Last editor ID 21 | */ 22 | editor_id?: number; 23 | /** 24 | * Last editor name 25 | */ 26 | editor_name?: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/photos/PhotosImage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosImageType } from './PhotosImageType'; 6 | 7 | // photos_image 8 | export interface PhotosImage { 9 | /** 10 | * Height of the photo in px. 11 | */ 12 | height?: number; 13 | type?: PhotosImageType; 14 | /** 15 | * Photo URL. 16 | */ 17 | url?: string; 18 | /** 19 | * Width of the photo in px. 20 | */ 21 | width?: number; 22 | } 23 | -------------------------------------------------------------------------------- /src/objects/photos/PhotosImageType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // photos_image_type 6 | /** 7 | * Photo's type. 8 | */ 9 | export type PhotosImageType = 's' | 'm' | 'x' | 'l' | 'o' | 'p' | 'q' | 'r' | 'y' | 'z' | 'w' | 'base'; 10 | -------------------------------------------------------------------------------- /src/objects/photos/PhotosPhotoSizes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhotoSizesType } from './PhotosPhotoSizesType'; 6 | 7 | // photos_photo_sizes 8 | export interface PhotosPhotoSizes { 9 | /** 10 | * Height in px 11 | */ 12 | height?: number; 13 | /** 14 | * URL of the image 15 | */ 16 | url?: string; 17 | /** 18 | * URL of the image 19 | */ 20 | src?: string; 21 | type?: PhotosPhotoSizesType; 22 | /** 23 | * Width in px 24 | */ 25 | width?: number; 26 | } 27 | -------------------------------------------------------------------------------- /src/objects/photos/PhotosPhotoSizesType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // photos_photo_sizes_type 6 | /** 7 | * Size type 8 | */ 9 | export type PhotosPhotoSizesType = 't' | 's' | 'm' | 'x' | 'o' | 'p' | 'q' | 'r' | 'k' | 'l' | 'y' | 'z' | 'c' | 'w' | 'a' | 'b' | 'e' | 'i' | 'd' | 'j' | 'temp' | 'h' | 'g' | 'n' | 'f' | 'max' | 'base' | 'u' | 'v' | 'orig'; 10 | -------------------------------------------------------------------------------- /src/objects/photos/PhotosPhotoUpload.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // photos_photo_upload 6 | export interface PhotosPhotoUpload { 7 | /** 8 | * Album ID 9 | */ 10 | album_id?: number; 11 | /** 12 | * URL to upload photo 13 | */ 14 | upload_url?: string; 15 | /** 16 | * Fallback URL if upload_url returned error 17 | */ 18 | fallback_upload_url?: string; 19 | /** 20 | * User ID 21 | */ 22 | user_id?: number; 23 | /** 24 | * Group ID 25 | */ 26 | group_id?: number; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/podcast/PodcastCover.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PhotosPhotoSizes } from '../photos/PhotosPhotoSizes'; 6 | 7 | // podcast_cover 8 | export interface PodcastCover { 9 | sizes?: PhotosPhotoSizes[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/podcast/PodcastExternalData.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PodcastCover } from './PodcastCover'; 6 | 7 | // podcast_external_data 8 | export interface PodcastExternalData { 9 | /** 10 | * Url of the podcast page 11 | */ 12 | url?: string; 13 | /** 14 | * Url of the podcasts owner community 15 | */ 16 | owner_url?: string; 17 | /** 18 | * Podcast title 19 | */ 20 | title?: string; 21 | /** 22 | * Name of the podcasts owner community 23 | */ 24 | owner_name?: string; 25 | /** 26 | * Podcast cover 27 | */ 28 | cover?: PodcastCover; 29 | } 30 | -------------------------------------------------------------------------------- /src/objects/polls/PollsAnswer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // polls_answer 6 | export interface PollsAnswer { 7 | /** 8 | * Answer ID 9 | */ 10 | id?: number; 11 | /** 12 | * Answer rate in percents 13 | */ 14 | rate?: number; 15 | /** 16 | * Answer text 17 | */ 18 | text?: string; 19 | /** 20 | * Votes number 21 | */ 22 | votes?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/polls/PollsFieldsVoters.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PollsVotersFieldsUsers } from './PollsVotersFieldsUsers'; 6 | 7 | // polls_fields_voters 8 | export interface PollsFieldsVoters { 9 | /** 10 | * Answer ID 11 | */ 12 | answer_id?: number; 13 | users?: PollsVotersFieldsUsers; 14 | /** 15 | * Answer offset 16 | */ 17 | answer_offset?: string; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/polls/PollsFriend.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // polls_friend 6 | export interface PollsFriend { 7 | id?: number; 8 | } 9 | -------------------------------------------------------------------------------- /src/objects/polls/PollsVoters.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { PollsVotersUsers } from './PollsVotersUsers'; 6 | 7 | // polls_voters 8 | export interface PollsVoters { 9 | /** 10 | * Answer ID 11 | */ 12 | answer_id?: number; 13 | users?: PollsVotersUsers; 14 | /** 15 | * Answer offset 16 | */ 17 | answer_offset?: string; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/polls/PollsVotersFieldsUsers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UsersUserFull } from '../users/UsersUserFull'; 6 | 7 | // polls_voters_fields_users 8 | export interface PollsVotersFieldsUsers { 9 | /** 10 | * Votes number 11 | */ 12 | count?: number; 13 | items?: UsersUserFull[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/polls/PollsVotersUsers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // polls_voters_users 6 | export interface PollsVotersUsers { 7 | /** 8 | * Votes number 9 | */ 10 | count?: number; 11 | items?: number[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/prettyCards/PrettyCardsPrettyCardOrError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseError } from '../base/BaseError'; 6 | import { PrettyCardsPrettyCard } from './PrettyCardsPrettyCard'; 7 | 8 | // prettyCards_prettyCardOrError 9 | export type PrettyCardsPrettyCardOrError = PrettyCardsPrettyCard | BaseError; 10 | -------------------------------------------------------------------------------- /src/objects/search/SearchHintSection.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // search_hint_section 6 | /** 7 | * Section title 8 | */ 9 | export type SearchHintSection = 'groups' | 'events' | 'publics' | 'correspondents' | 'people' | 'friends' | 'mutual_friends' | 'promo'; 10 | -------------------------------------------------------------------------------- /src/objects/search/SearchHintType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // search_hint_type 6 | /** 7 | * Object type 8 | */ 9 | export type SearchHintType = 'group' | 'profile' | 'vk_app' | 'app' | 'html5_game' | 'link'; 10 | -------------------------------------------------------------------------------- /src/objects/secure/SecureGiveEventStickerItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // secure_giveEventSticker_item 6 | export interface SecureGiveEventStickerItem { 7 | user_id?: number; 8 | status?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/secure/SecureLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // secure_level 6 | export interface SecureLevel { 7 | /** 8 | * Level 9 | */ 10 | level?: number; 11 | /** 12 | * User ID 13 | */ 14 | uid?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/secure/SecureSetCounterItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // secure_setCounter_item 6 | export interface SecureSetCounterItem { 7 | /** 8 | * User ID 9 | */ 10 | id?: number; 11 | result?: 0 | 1; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/secure/SecureSmsNotification.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // secure_sms_notification 6 | export interface SecureSmsNotification { 7 | /** 8 | * Application ID 9 | */ 10 | app_id?: string; 11 | /** 12 | * Date when message has been sent in Unixtime 13 | */ 14 | date?: string; 15 | /** 16 | * Notification ID 17 | */ 18 | id?: string; 19 | /** 20 | * Messsage text 21 | */ 22 | message?: string; 23 | /** 24 | * User ID 25 | */ 26 | user_id?: string; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/secure/SecureTokenChecked.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // secure_token_checked 6 | export interface SecureTokenChecked { 7 | /** 8 | * Date when access_token has been generated in Unixtime 9 | */ 10 | date?: number; 11 | /** 12 | * Date when access_token will expire in Unixtime 13 | */ 14 | expire?: number; 15 | /** 16 | * Returns if successfully processed 17 | */ 18 | success?: number; 19 | /** 20 | * User ID 21 | */ 22 | user_id?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/secure/SecureTransaction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // secure_transaction 6 | export interface SecureTransaction { 7 | /** 8 | * Transaction date in Unixtime 9 | */ 10 | date?: number; 11 | /** 12 | * Transaction ID 13 | */ 14 | id?: number; 15 | /** 16 | * From ID 17 | */ 18 | uid_from?: number; 19 | /** 20 | * To ID 21 | */ 22 | uid_to?: number; 23 | /** 24 | * Votes number 25 | */ 26 | votes?: number; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/stats/StatsActivity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stats_activity 6 | export interface StatsActivity { 7 | /** 8 | * Comments number 9 | */ 10 | comments?: number; 11 | /** 12 | * Reposts number 13 | */ 14 | copies?: number; 15 | /** 16 | * Hidden from news count 17 | */ 18 | hidden?: number; 19 | /** 20 | * Likes number 21 | */ 22 | likes?: number; 23 | /** 24 | * New subscribers count 25 | */ 26 | subscribed?: number; 27 | /** 28 | * Unsubscribed count 29 | */ 30 | unsubscribed?: number; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/stats/StatsCity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stats_city 6 | export interface StatsCity { 7 | /** 8 | * Visitors number 9 | */ 10 | count?: number; 11 | /** 12 | * City name 13 | */ 14 | name?: string; 15 | /** 16 | * City ID 17 | */ 18 | value?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/stats/StatsCountry.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stats_country 6 | export interface StatsCountry { 7 | /** 8 | * Country code 9 | */ 10 | code?: string; 11 | /** 12 | * Visitors number 13 | */ 14 | count?: number; 15 | /** 16 | * Country name 17 | */ 18 | name?: string; 19 | /** 20 | * Country ID 21 | */ 22 | value?: number; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/stats/StatsPeriod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StatsActivity } from './StatsActivity'; 6 | import { StatsReach } from './StatsReach'; 7 | import { StatsViews } from './StatsViews'; 8 | 9 | // stats_period 10 | export interface StatsPeriod { 11 | activity?: StatsActivity; 12 | period_from?: number; 13 | period_to?: number; 14 | reach?: StatsReach; 15 | visitors?: StatsViews; 16 | } 17 | -------------------------------------------------------------------------------- /src/objects/stats/StatsReach.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StatsCity } from './StatsCity'; 6 | import { StatsCountry } from './StatsCountry'; 7 | import { StatsSexAge } from './StatsSexAge'; 8 | 9 | // stats_reach 10 | export interface StatsReach { 11 | age?: StatsSexAge[]; 12 | cities?: StatsCity[]; 13 | countries?: StatsCountry[]; 14 | /** 15 | * Reach count from mobile devices 16 | */ 17 | mobile_reach?: number; 18 | /** 19 | * Reach count 20 | */ 21 | reach?: number; 22 | /** 23 | * Subscribers reach count 24 | */ 25 | reach_subscribers?: number; 26 | sex?: StatsSexAge[]; 27 | sex_age?: StatsSexAge[]; 28 | } 29 | -------------------------------------------------------------------------------- /src/objects/stats/StatsSexAge.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stats_sex_age 6 | export interface StatsSexAge { 7 | /** 8 | * Visitors number 9 | */ 10 | count?: number; 11 | /** 12 | * Sex/age value 13 | */ 14 | value?: string; 15 | reach?: number; 16 | reach_subscribers?: number; 17 | count_subscribers?: number; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/stats/StatsViews.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StatsCity } from './StatsCity'; 6 | import { StatsCountry } from './StatsCountry'; 7 | import { StatsSexAge } from './StatsSexAge'; 8 | 9 | // stats_views 10 | export interface StatsViews { 11 | age?: StatsSexAge[]; 12 | cities?: StatsCity[]; 13 | countries?: StatsCountry[]; 14 | /** 15 | * Number of views from mobile devices 16 | */ 17 | mobile_views?: number; 18 | sex?: StatsSexAge[]; 19 | sex_age?: StatsSexAge[]; 20 | /** 21 | * Views number 22 | */ 23 | views?: number; 24 | /** 25 | * Visitors number 26 | */ 27 | visitors?: number; 28 | } 29 | -------------------------------------------------------------------------------- /src/objects/status/StatusStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { AudioAudio } from '../audio/AudioAudio'; 6 | 7 | // status_status 8 | export interface StatusStatus { 9 | /** 10 | * Status text 11 | */ 12 | text?: string; 13 | audio?: AudioAudio; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/storage/StorageValue.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // storage_value 6 | export interface StorageValue { 7 | key?: string; 8 | value?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/store/StoreProductIcon.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // store_product_icon 6 | export interface StoreProductIcon { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/store/StoreStickersKeyword.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseStickerNew } from '../base/BaseStickerNew'; 6 | import { StoreStickersKeywordSticker } from './StoreStickersKeywordSticker'; 7 | 8 | // store_stickers_keyword 9 | export interface StoreStickersKeyword { 10 | words?: string[]; 11 | user_stickers?: BaseStickerNew[]; 12 | promoted_stickers?: BaseStickerNew[]; 13 | stickers?: StoreStickersKeywordSticker[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/store/StoreStickersKeywordSticker.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // store_stickers_keyword_sticker 6 | export interface StoreStickersKeywordSticker { 7 | /** 8 | * Pack id 9 | */ 10 | pack_id?: number; 11 | /** 12 | * Sticker id 13 | */ 14 | sticker_id?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesClickableArea.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stories_clickable_area 6 | export interface StoriesClickableArea { 7 | x?: number; 8 | y?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesClickableStickers.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StoriesClickableSticker } from './StoriesClickableSticker'; 6 | 7 | // stories_clickable_stickers 8 | export interface StoriesClickableStickers { 9 | clickable_stickers?: StoriesClickableSticker[]; 10 | original_height?: number; 11 | original_width?: number; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesPromoBlock.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stories_promo_block 6 | export interface StoriesPromoBlock { 7 | /** 8 | * Promo story title 9 | */ 10 | name?: string; 11 | /** 12 | * RL of square photo of the story with 50 pixels in width 13 | */ 14 | photo_50?: string; 15 | /** 16 | * RL of square photo of the story with 100 pixels in width 17 | */ 18 | photo_100?: string; 19 | /** 20 | * Hide animation for promo story 21 | */ 22 | not_animated?: boolean; 23 | /** 24 | * Promo story from advice 25 | */ 26 | is_advice?: boolean; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesReplies.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stories_replies 6 | export interface StoriesReplies { 7 | /** 8 | * Replies number. 9 | */ 10 | count?: number; 11 | /** 12 | * New replies number. 13 | */ 14 | new?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesStoryLink.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stories_story_link 6 | export interface StoriesStoryLink { 7 | /** 8 | * Link text 9 | */ 10 | text?: string; 11 | /** 12 | * Link URL 13 | */ 14 | url?: string; 15 | /** 16 | * How to open url 17 | */ 18 | link_url_target?: string; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesStoryStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StoriesStoryStatsStat } from './StoriesStoryStatsStat'; 6 | 7 | // stories_story_stats 8 | export interface StoriesStoryStats { 9 | answer?: StoriesStoryStatsStat; 10 | bans?: StoriesStoryStatsStat; 11 | open_link?: StoriesStoryStatsStat; 12 | replies?: StoriesStoryStatsStat; 13 | shares?: StoriesStoryStatsStat; 14 | subscribers?: StoriesStoryStatsStat; 15 | views?: StoriesStoryStatsStat; 16 | likes?: StoriesStoryStatsStat; 17 | } 18 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesStoryStatsStat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StoriesStoryStatsState } from './StoriesStoryStatsState'; 6 | 7 | // stories_story_stats_stat 8 | export interface StoriesStoryStatsStat { 9 | /** 10 | * Stat value 11 | */ 12 | count?: number; 13 | state?: StoriesStoryStatsState; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesStoryStatsState.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stories_story_stats_state 6 | /** 7 | * Statistic state 8 | */ 9 | export type StoriesStoryStatsState = 'on' | 'off' | 'hidden'; 10 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesStoryType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // stories_story_type 6 | /** 7 | * Story type. 8 | */ 9 | export type StoriesStoryType = 'photo' | 'video' | 'live_active' | 'live_finished'; 10 | -------------------------------------------------------------------------------- /src/objects/stories/StoriesViewersItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UsersUserFull } from '../users/UsersUserFull'; 6 | 7 | // stories_viewers_item 8 | export interface StoriesViewersItem { 9 | /** 10 | * user has like for this object 11 | */ 12 | is_liked?: boolean; 13 | /** 14 | * user id 15 | */ 16 | user_id?: number; 17 | user?: UsersUserFull; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/streaming/StreamingStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { StreamingStatsPoint } from './StreamingStatsPoint'; 6 | 7 | // streaming_stats 8 | export interface StreamingStats { 9 | /** 10 | * Events type 11 | */ 12 | event_type?: 'post' | 'comment' | 'share'; 13 | /** 14 | * Statistics 15 | */ 16 | stats?: StreamingStatsPoint[]; 17 | } 18 | -------------------------------------------------------------------------------- /src/objects/streaming/StreamingStatsPoint.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // streaming_stats_point 6 | export interface StreamingStatsPoint { 7 | timestamp?: number; 8 | value?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/users/UsersCareer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_career 6 | export interface UsersCareer { 7 | /** 8 | * City ID 9 | */ 10 | city_id?: number; 11 | /** 12 | * City name 13 | */ 14 | city_name?: string; 15 | /** 16 | * Company name 17 | */ 18 | company?: string; 19 | /** 20 | * From year 21 | */ 22 | from?: number; 23 | /** 24 | * Community ID 25 | */ 26 | group_id?: number; 27 | /** 28 | * Career ID 29 | */ 30 | id?: number; 31 | /** 32 | * Position 33 | */ 34 | position?: string; 35 | /** 36 | * Till year 37 | */ 38 | until?: number; 39 | } 40 | -------------------------------------------------------------------------------- /src/objects/users/UsersExports.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_exports 6 | export interface UsersExports { 7 | facebook?: number; 8 | livejournal?: number; 9 | twitter?: number; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/users/UsersLastSeen.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_last_seen 6 | export interface UsersLastSeen { 7 | /** 8 | * Type of the platform that used for the last authorization 9 | */ 10 | platform?: number; 11 | /** 12 | * Last visit date (in Unix time) 13 | */ 14 | time?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/users/UsersMilitary.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_military 6 | export interface UsersMilitary { 7 | /** 8 | * From year 9 | */ 10 | from?: number; 11 | /** 12 | * Military ID 13 | */ 14 | id?: number; 15 | /** 16 | * Unit name 17 | */ 18 | unit?: string; 19 | /** 20 | * Unit ID 21 | */ 22 | unit_id?: number; 23 | /** 24 | * Till year 25 | */ 26 | until?: number; 27 | } 28 | -------------------------------------------------------------------------------- /src/objects/users/UsersOccupation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_occupation 6 | export interface UsersOccupation { 7 | /** 8 | * ID of school, university, company group 9 | */ 10 | id?: number; 11 | /** 12 | * Name of occupation 13 | */ 14 | name?: string; 15 | /** 16 | * Type of occupation 17 | */ 18 | type?: 'school' | 'university' | 'work'; 19 | graduate_year?: number; 20 | city_id?: number; 21 | } 22 | -------------------------------------------------------------------------------- /src/objects/users/UsersRelative.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_relative 6 | export interface UsersRelative { 7 | /** 8 | * Date of child birthday (format dd.mm.yyyy) 9 | */ 10 | birth_date?: string; 11 | /** 12 | * Relative ID 13 | */ 14 | id?: number; 15 | /** 16 | * Name of relative 17 | */ 18 | name?: string; 19 | /** 20 | * Relative type 21 | */ 22 | type?: 'parent' | 'child' | 'grandparent' | 'grandchild' | 'sibling'; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/users/UsersSubscriptionsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { GroupsGroupFull } from '../groups/GroupsGroupFull'; 6 | import { UsersUserFull } from './UsersUserFull'; 7 | 8 | // users_subscriptions_item 9 | export type UsersSubscriptionsItem = UsersUserFull | GroupsGroupFull; 10 | -------------------------------------------------------------------------------- /src/objects/users/UsersUserConnections.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_user_connections 6 | export interface UsersUserConnections { 7 | /** 8 | * User's Skype nickname 9 | */ 10 | skype?: string; 11 | /** 12 | * User's Facebook account 13 | */ 14 | facebook?: string; 15 | /** 16 | * User's Facebook name 17 | */ 18 | facebook_name?: string; 19 | /** 20 | * User's Twitter account 21 | */ 22 | twitter?: string; 23 | /** 24 | * User's Livejournal account 25 | */ 26 | livejournal?: string; 27 | /** 28 | * User's Instagram account 29 | */ 30 | instagram?: string; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/users/UsersUserMin.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_user_min 6 | export interface UsersUserMin { 7 | /** 8 | * Returns if a profile is deleted or blocked 9 | */ 10 | deactivated?: string; 11 | /** 12 | * User first name 13 | */ 14 | first_name?: string; 15 | /** 16 | * Returns if a profile is hidden. 17 | */ 18 | hidden?: number; 19 | /** 20 | * User ID 21 | */ 22 | id?: number; 23 | /** 24 | * User last name 25 | */ 26 | last_name?: string; 27 | can_access_closed?: boolean; 28 | is_closed?: boolean; 29 | } 30 | -------------------------------------------------------------------------------- /src/objects/users/UsersUserType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_user_type 6 | /** 7 | * Object type 8 | */ 9 | export type UsersUserType = 'profile'; 10 | -------------------------------------------------------------------------------- /src/objects/users/UsersUsersArray.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // users_users_array 6 | export interface UsersUsersArray { 7 | /** 8 | * Users number 9 | */ 10 | count?: number; 11 | items?: number[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsDomainResolved.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UtilsDomainResolvedType } from './UtilsDomainResolvedType'; 6 | 7 | // utils_domain_resolved 8 | export interface UtilsDomainResolved { 9 | /** 10 | * Object ID 11 | */ 12 | object_id?: number; 13 | /** 14 | * Group ID 15 | */ 16 | group_id?: number; 17 | type?: UtilsDomainResolvedType; 18 | } 19 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsDomainResolvedType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_domain_resolved_type 6 | /** 7 | * Object type 8 | */ 9 | export type UtilsDomainResolvedType = 'user' | 'group' | 'application' | 'event' | 'page' | 'vk_app' | 'community_application'; 10 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsLastShortenedLink.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_last_shortened_link 6 | export interface UtilsLastShortenedLink { 7 | /** 8 | * Access key for private stats 9 | */ 10 | access_key?: string; 11 | /** 12 | * Link key (characters after vk.cc/) 13 | */ 14 | key?: string; 15 | /** 16 | * Short link URL 17 | */ 18 | short_url?: string; 19 | /** 20 | * Creation time in Unixtime 21 | */ 22 | timestamp?: number; 23 | /** 24 | * Full URL 25 | */ 26 | url?: string; 27 | /** 28 | * Total views number 29 | */ 30 | views?: number; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsLinkChecked.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UtilsLinkCheckedStatus } from './UtilsLinkCheckedStatus'; 6 | 7 | // utils_link_checked 8 | export interface UtilsLinkChecked { 9 | /** 10 | * Link URL 11 | */ 12 | link?: string; 13 | status?: UtilsLinkCheckedStatus; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsLinkCheckedStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_link_checked_status 6 | /** 7 | * Link status 8 | */ 9 | export type UtilsLinkCheckedStatus = 'not_banned' | 'banned' | 'processing'; 10 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsLinkStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UtilsStats } from './UtilsStats'; 6 | 7 | // utils_link_stats 8 | export interface UtilsLinkStats { 9 | /** 10 | * Link key (characters after vk.cc/) 11 | */ 12 | key?: string; 13 | stats?: UtilsStats[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsLinkStatsExtended.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UtilsStatsExtended } from './UtilsStatsExtended'; 6 | 7 | // utils_link_stats_extended 8 | export interface UtilsLinkStatsExtended { 9 | /** 10 | * Link key (characters after vk.cc/) 11 | */ 12 | key?: string; 13 | stats?: UtilsStatsExtended[]; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsShortLink.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_short_link 6 | export interface UtilsShortLink { 7 | /** 8 | * Access key for private stats 9 | */ 10 | access_key?: string; 11 | /** 12 | * Link key (characters after vk.cc/) 13 | */ 14 | key?: string; 15 | /** 16 | * Short link URL 17 | */ 18 | short_url?: string; 19 | /** 20 | * Full URL 21 | */ 22 | url?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsStats.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_stats 6 | export interface UtilsStats { 7 | /** 8 | * Start time 9 | */ 10 | timestamp?: number; 11 | /** 12 | * Total views number 13 | */ 14 | views?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsStatsCity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_stats_city 6 | export interface UtilsStatsCity { 7 | /** 8 | * City ID 9 | */ 10 | city_id?: number; 11 | /** 12 | * Views number 13 | */ 14 | views?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsStatsCountry.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_stats_country 6 | export interface UtilsStatsCountry { 7 | /** 8 | * Country ID 9 | */ 10 | country_id?: number; 11 | /** 12 | * Views number 13 | */ 14 | views?: number; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsStatsExtended.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UtilsStatsCity } from './UtilsStatsCity'; 6 | import { UtilsStatsCountry } from './UtilsStatsCountry'; 7 | import { UtilsStatsSexAge } from './UtilsStatsSexAge'; 8 | 9 | // utils_stats_extended 10 | export interface UtilsStatsExtended { 11 | cities?: UtilsStatsCity[]; 12 | countries?: UtilsStatsCountry[]; 13 | sex_age?: UtilsStatsSexAge[]; 14 | /** 15 | * Start time 16 | */ 17 | timestamp?: number; 18 | /** 19 | * Total views number 20 | */ 21 | views?: number; 22 | } 23 | -------------------------------------------------------------------------------- /src/objects/utils/UtilsStatsSexAge.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // utils_stats_sex_age 6 | export interface UtilsStatsSexAge { 7 | /** 8 | * Age denotation 9 | */ 10 | age_range?: string; 11 | /** 12 | * Views by female users 13 | */ 14 | female?: number; 15 | /** 16 | * Views by male users 17 | */ 18 | male?: number; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/video/VideoEpisode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_episode 6 | export interface VideoEpisode { 7 | /** 8 | * Seconds from start of the video 9 | */ 10 | time?: number; 11 | /** 12 | * Description of episode 13 | */ 14 | text?: string; 15 | } 16 | -------------------------------------------------------------------------------- /src/objects/video/VideoLiveCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_live_category 6 | export interface VideoLiveCategory { 7 | id?: number; 8 | label?: string; 9 | sublist?: VideoLiveCategory[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/video/VideoLiveInfo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_live_info 6 | export interface VideoLiveInfo { 7 | enabled?: 0 | 1; 8 | is_notifications_blocked?: 0 | 1; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/video/VideoLiveSettings.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_live_settings 6 | export interface VideoLiveSettings { 7 | /** 8 | * If user car rewind live or not 9 | */ 10 | can_rewind?: 0 | 1; 11 | /** 12 | * If live is endless or not 13 | */ 14 | is_endless?: 0 | 1; 15 | /** 16 | * Max possible time for rewind 17 | */ 18 | max_duration?: number; 19 | /** 20 | * If live in clips apps 21 | */ 22 | is_clips_live?: 0 | 1; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/video/VideoPlaylistPrivacyCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_playlist_privacy_category 6 | /** 7 | * `all` — all 8 | * `friends` — friends 9 | * `friends_of_friends` — friends of friends 10 | * `friends_of_friends_only` — friends of friends only 11 | * `only_me` — only me 12 | */ 13 | export type VideoPlaylistPrivacyCategory = 'all' | 'friends' | 'friends_of_friends' | 'friends_of_friends_only' | 'only_me'; 14 | -------------------------------------------------------------------------------- /src/objects/video/VideoSaveResult.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_save_result 6 | export interface VideoSaveResult { 7 | /** 8 | * Video access key 9 | */ 10 | access_key?: string; 11 | /** 12 | * Video description 13 | */ 14 | description?: string; 15 | /** 16 | * Video owner ID 17 | */ 18 | owner_id?: number; 19 | /** 20 | * Video title 21 | */ 22 | title?: string; 23 | /** 24 | * URL for the video uploading 25 | */ 26 | upload_url?: string; 27 | /** 28 | * Video ID 29 | */ 30 | video_id?: number; 31 | } 32 | -------------------------------------------------------------------------------- /src/objects/video/VideoStreamInputParams.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_stream_input_params 6 | export interface VideoStreamInputParams { 7 | url?: string; 8 | key?: string; 9 | okmp_url?: string; 10 | webrtc_url?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/video/VideoVideoAlbum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_video_album 6 | export interface VideoVideoAlbum { 7 | /** 8 | * Album ID 9 | */ 10 | id?: number; 11 | /** 12 | * Album owner's ID 13 | */ 14 | owner_id?: number; 15 | /** 16 | * Album title 17 | */ 18 | title?: string; 19 | /** 20 | * Album trackcode 21 | */ 22 | track_code?: string; 23 | response_type?: 'min' | 'full'; 24 | } 25 | -------------------------------------------------------------------------------- /src/objects/video/VideoVideoImage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // video_video_image 6 | export interface VideoVideoImage { 7 | id?: string; 8 | /** 9 | * Image url 10 | */ 11 | url?: string; 12 | /** 13 | * Image width 14 | */ 15 | width?: number; 16 | /** 17 | * Image height 18 | */ 19 | height?: number; 20 | theme?: 'light' | 'dark'; 21 | with_padding?: 1; 22 | size?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/wall/WallAppPost.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_app_post 6 | export interface WallAppPost { 7 | /** 8 | * Application ID 9 | */ 10 | id?: number; 11 | /** 12 | * Application name 13 | */ 14 | name?: string; 15 | /** 16 | * URL of the preview image with 130 px in width 17 | */ 18 | photo_130?: string; 19 | /** 20 | * URL of the preview image with 604 px in width 21 | */ 22 | photo_604?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/wall/WallCommentAttachmentType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_comment_attachment_type 6 | /** 7 | * Attachment type 8 | */ 9 | export type WallCommentAttachmentType = 'photo' | 'audio' | 'audio_playlist' | 'video' | 'doc' | 'link' | 'note' | 'page' | 'market_market_album' | 'market' | 'sticker' | 'graffiti'; 10 | -------------------------------------------------------------------------------- /src/objects/wall/WallGeo.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_geo 6 | export interface WallGeo { 7 | /** 8 | * Coordinates as string. 9 | */ 10 | coordinates?: string; 11 | /** 12 | * Information whether a map is showed 13 | */ 14 | showmap?: number; 15 | /** 16 | * Place type 17 | */ 18 | type?: 'place' | 'point'; 19 | } 20 | -------------------------------------------------------------------------------- /src/objects/wall/WallPostCopyright.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_post_copyright 6 | export interface WallPostCopyright { 7 | id?: number; 8 | link?: string; 9 | name?: string; 10 | type?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/wall/WallPostSource.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { BaseLink } from '../base/BaseLink'; 6 | import { WallPostSourceType } from './WallPostSourceType'; 7 | 8 | // wall_post_source 9 | export interface WallPostSource { 10 | /** 11 | * Additional data 12 | */ 13 | data?: string; 14 | /** 15 | * Platform name 16 | */ 17 | platform?: string; 18 | type?: WallPostSourceType; 19 | /** 20 | * URL to an external site used to publish the post 21 | */ 22 | url?: string; 23 | link?: BaseLink; 24 | } 25 | -------------------------------------------------------------------------------- /src/objects/wall/WallPostSourceType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_post_source_type 6 | /** 7 | * Type of post source 8 | */ 9 | export type WallPostSourceType = 'vk' | 'widget' | 'api' | 'rss' | 'sms' | 'mvk'; 10 | -------------------------------------------------------------------------------- /src/objects/wall/WallPostType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_post_type 6 | /** 7 | * Post type 8 | */ 9 | export type WallPostType = 'post' | 'copy' | 'reply' | 'postpone' | 'suggest' | 'post_ads' | 'photo' | 'video' | 'clip'; 10 | -------------------------------------------------------------------------------- /src/objects/wall/WallPostedPhoto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_posted_photo 6 | export interface WallPostedPhoto { 7 | /** 8 | * Photo ID 9 | */ 10 | id?: number; 11 | /** 12 | * Photo owner's ID 13 | */ 14 | owner_id?: number; 15 | /** 16 | * URL of the preview image with 130 px in width 17 | */ 18 | photo_130?: string; 19 | /** 20 | * URL of the preview image with 604 px in width 21 | */ 22 | photo_604?: string; 23 | } 24 | -------------------------------------------------------------------------------- /src/objects/wall/WallViews.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_views 6 | export interface WallViews { 7 | /** 8 | * Count 9 | */ 10 | count?: number; 11 | } 12 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallCommentDonut.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { WallWallCommentDonutPlaceholder } from './WallWallCommentDonutPlaceholder'; 6 | 7 | // wall_wall_comment_donut 8 | export interface WallWallCommentDonut { 9 | /** 10 | * Means commentator is donator 11 | */ 12 | is_don?: boolean; 13 | placeholder?: WallWallCommentDonutPlaceholder; 14 | } 15 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallCommentDonutPlaceholder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_wall_comment_donut_placeholder 6 | export interface WallWallCommentDonutPlaceholder { 7 | text?: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_wall_item 6 | export interface WallWallItem { 7 | // empty interface 8 | [key: string]: any; 9 | } 10 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallpostAttachmentType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_wallpost_attachment_type 6 | /** 7 | * Attachment type 8 | */ 9 | export type WallWallpostAttachmentType = 'photo' | 'photos_list' | 'posted_photo' | 'audio' | 'audio_playlist' | 'video' | 'clip' | 'video_playlist' | 'doc' | 'link' | 'graffiti' | 'note' | 'app' | 'poll' | 'page' | 'album' | 'market_album' | 'market' | 'event' | 'donut_link' | 'article' | 'textlive' | 'textpost' | 'textpost_publish' | 'situational_theme' | 'group' | 'sticker' | 'podcast'; 10 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallpostCommentsDonut.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { WallWallpostCommentsDonutPlaceholder } from './WallWallpostCommentsDonutPlaceholder'; 6 | 7 | // wall_wallpost_comments_donut 8 | export interface WallWallpostCommentsDonut { 9 | placeholder?: WallWallpostCommentsDonutPlaceholder; 10 | } 11 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallpostCommentsDonutPlaceholder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_wallpost_comments_donut_placeholder 6 | export interface WallWallpostCommentsDonutPlaceholder { 7 | text?: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/objects/wall/WallWallpostDonutPlaceholder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // wall_wallpost_donut_placeholder 6 | export interface WallWallpostDonutPlaceholder { 7 | text?: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/objects/widgets/WidgetsCommentMedia.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { WidgetsCommentMediaType } from './WidgetsCommentMediaType'; 6 | 7 | // widgets_comment_media 8 | export interface WidgetsCommentMedia { 9 | /** 10 | * Media item ID 11 | */ 12 | item_id?: number; 13 | /** 14 | * Media owner's ID 15 | */ 16 | owner_id?: number; 17 | /** 18 | * URL of the preview image (type=photo only) 19 | */ 20 | thumb_src?: string; 21 | type?: WidgetsCommentMediaType; 22 | } 23 | -------------------------------------------------------------------------------- /src/objects/widgets/WidgetsCommentMediaType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // widgets_comment_media_type 6 | /** 7 | * Media type 8 | */ 9 | export type WidgetsCommentMediaType = 'audio' | 'photo' | 'video'; 10 | -------------------------------------------------------------------------------- /src/objects/widgets/WidgetsCommentReplies.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { WidgetsCommentRepliesItem } from './WidgetsCommentRepliesItem'; 6 | 7 | // widgets_comment_replies 8 | export interface WidgetsCommentReplies { 9 | /** 10 | * Information whether current user can comment the post 11 | */ 12 | can_post?: 0 | 1; 13 | /** 14 | * Comments number 15 | */ 16 | count?: number; 17 | replies?: WidgetsCommentRepliesItem[]; 18 | /** 19 | * Information whether groups can comment the post 20 | */ 21 | groups_can_post?: 0 | 1; 22 | /** 23 | * Information whether current user can view the comments 24 | */ 25 | can_view?: 0 | 1; 26 | } 27 | -------------------------------------------------------------------------------- /src/objects/widgets/WidgetsCommentRepliesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | import { UsersUserFull } from '../users/UsersUserFull'; 6 | import { WidgetsWidgetLikes } from './WidgetsWidgetLikes'; 7 | 8 | // widgets_comment_replies_item 9 | export interface WidgetsCommentRepliesItem { 10 | /** 11 | * Comment ID 12 | */ 13 | cid?: number; 14 | /** 15 | * Date when the comment has been added in Unixtime 16 | */ 17 | date?: number; 18 | likes?: WidgetsWidgetLikes; 19 | /** 20 | * Comment text 21 | */ 22 | text?: string; 23 | /** 24 | * User ID 25 | */ 26 | uid?: number; 27 | user?: UsersUserFull; 28 | } 29 | -------------------------------------------------------------------------------- /src/objects/widgets/WidgetsWidgetLikes.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is auto-generated file, don't modify this file manually 3 | */ 4 | 5 | // widgets_widget_likes 6 | export interface WidgetsWidgetLikes { 7 | /** 8 | * Likes number 9 | */ 10 | count?: number; 11 | } 12 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "esnext", 4 | "lib": ["es6", "dom"], 5 | "esModuleInterop": true, 6 | "allowSyntheticDefaultImports": true, 7 | "noUnusedLocals": true, 8 | "noUnusedParameters": true, 9 | "noImplicitThis": true, 10 | "noImplicitReturns": true, 11 | "noFallthroughCasesInSwitch": true, 12 | "moduleResolution": "node", 13 | "isolatedModules": false, 14 | "noImplicitAny": true, 15 | "noEmitOnError": true, 16 | "outDir": "./dist", 17 | "declaration": true, 18 | "module": "es6" 19 | }, 20 | "include": ["src/**/*.ts"], 21 | "exclude": ["node_modules"] 22 | } 23 | --------------------------------------------------------------------------------