@vkontakte/api-schema-typescript
Advanced tools
Comparing version 1.5131.1 to 1.5131.2
@@ -11,3 +11,3 @@ /** | ||
import { GroupsGroup } from '../objects/groups/GroupsGroup'; | ||
import { UsersUserMin } from '../objects/users/UsersUserMin'; | ||
import { UsersUserFull } from '../objects/users/UsersUserFull'; | ||
/** | ||
@@ -105,3 +105,3 @@ * account.ban | ||
items: number[]; | ||
profiles?: UsersUserMin[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroup[]; | ||
@@ -108,0 +108,0 @@ } |
@@ -39,4 +39,2 @@ /** | ||
* Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below. | ||
* | ||
* objects.json#/definitions/ads_user_specification_cutted | ||
*/ | ||
@@ -280,6 +278,14 @@ data: string; | ||
/** | ||
* Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown. | ||
* 'For advertising agencies.' ID of the client ads are retrieved from. | ||
*/ | ||
ad_ids?: string; | ||
client_id?: number; | ||
/** | ||
* Flag that specifies whether archived ads shall be shown. *0 — show only active ads,, *1 — show all ads. | ||
*/ | ||
include_deleted?: 0 | 1; | ||
/** | ||
* Flag that specifies whether to show only archived ads: *0 — show all ads,, *1 — show only archived ads. Available when include_deleted flag is *1 | ||
*/ | ||
only_deleted?: 0 | 1; | ||
/** | ||
* Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown. | ||
@@ -289,10 +295,6 @@ */ | ||
/** | ||
* 'For advertising agencies.' ID of the client ads are retrieved from. | ||
* Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown. | ||
*/ | ||
client_id?: number; | ||
ad_ids?: string; | ||
/** | ||
* Flag that specifies whether archived ads shall be shown. *0 — show only active ads,, *1 — show all ads. | ||
*/ | ||
include_deleted?: 0 | 1; | ||
/** | ||
* Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign. | ||
@@ -810,4 +812,2 @@ */ | ||
* Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below. | ||
* | ||
* objects.json#/definitions/ads_user_specification | ||
*/ | ||
@@ -814,0 +814,0 @@ data: string; |
@@ -10,3 +10,2 @@ /** | ||
import { FriendsRequestsXtrMessage } from '../objects/friends/FriendsRequestsXtrMessage'; | ||
import { FriendsUserXtrLists } from '../objects/friends/FriendsUserXtrLists'; | ||
import { FriendsUserXtrPhone } from '../objects/friends/FriendsUserXtrPhone'; | ||
@@ -250,3 +249,3 @@ import { UsersUserFull } from '../objects/users/UsersUserFull'; | ||
count: number; | ||
items: FriendsUserXtrLists[]; | ||
items: UsersUserFull[]; | ||
} | ||
@@ -253,0 +252,0 @@ /** |
@@ -17,3 +17,2 @@ /** | ||
import { GroupsGroupFullSection } from '../objects/groups/GroupsGroupFullSection'; | ||
import { GroupsGroupLink } from '../objects/groups/GroupsGroupLink'; | ||
import { GroupsGroupPhotos } from '../objects/groups/GroupsGroupPhotos'; | ||
@@ -27,2 +26,3 @@ import { GroupsGroupPublicCategoryList } from '../objects/groups/GroupsGroupPublicCategoryList'; | ||
import { GroupsGroupWiki } from '../objects/groups/GroupsGroupWiki'; | ||
import { GroupsLinksItem } from '../objects/groups/GroupsLinksItem'; | ||
import { GroupsLongPollServer } from '../objects/groups/GroupsLongPollServer'; | ||
@@ -90,3 +90,3 @@ import { GroupsLongPollSettings } from '../objects/groups/GroupsLongPollSettings'; | ||
} | ||
export declare type GroupsAddLinkResponse = GroupsGroupLink; | ||
export declare type GroupsAddLinkResponse = GroupsLinksItem; | ||
/** | ||
@@ -143,2 +143,6 @@ * groups.approveRequest | ||
/** | ||
* Public page subcategory ID. | ||
*/ | ||
public_subcategory?: number; | ||
/** | ||
* Public page subtype. Possible values: *'1' - place or small business,, *'2' - company, organization or website,, *'3' - famous person or group of people,, *'4' - product or work of art. | ||
@@ -145,0 +149,0 @@ */ |
@@ -360,2 +360,10 @@ /** | ||
date_to?: string; | ||
/** | ||
* Add variants to response if exist | ||
*/ | ||
need_variants?: 0 | 1; | ||
/** | ||
* Add disabled items to response | ||
*/ | ||
with_disabled?: 0 | 1; | ||
} | ||
@@ -368,2 +376,3 @@ export interface MarketGetResponse { | ||
items?: MarketMarketItem[]; | ||
variants?: MarketMarketItem[]; | ||
} | ||
@@ -376,2 +385,3 @@ export interface MarketGetExtendedResponse { | ||
items?: MarketMarketItemFull[]; | ||
variants?: MarketMarketItemFull[]; | ||
} | ||
@@ -790,2 +800,6 @@ /** | ||
status?: 0 | 2; | ||
/** | ||
* Add variants to response if exist | ||
*/ | ||
need_variants?: 0 | 1; | ||
} | ||
@@ -799,2 +813,3 @@ export interface MarketSearchResponse { | ||
items: MarketMarketItem[]; | ||
variants?: MarketMarketItem[]; | ||
} | ||
@@ -808,2 +823,3 @@ export interface MarketSearchExtendedResponse { | ||
items: MarketMarketItemFull[]; | ||
variants?: MarketMarketItemFull[]; | ||
} |
@@ -12,2 +12,4 @@ /** | ||
import { MessagesConversationWithMessage } from '../objects/messages/MessagesConversationWithMessage'; | ||
import { MessagesGetConversationById } from '../objects/messages/MessagesGetConversationById'; | ||
import { MessagesGetConversationByIdExtended } from '../objects/messages/MessagesGetConversationByIdExtended'; | ||
import { MessagesHistoryAttachment } from '../objects/messages/MessagesHistoryAttachment'; | ||
@@ -20,2 +22,3 @@ import { MessagesLastActivity } from '../objects/messages/MessagesLastActivity'; | ||
import { MessagesPinnedMessage } from '../objects/messages/MessagesPinnedMessage'; | ||
import { MessagesSendUserIdsResponseItem } from '../objects/messages/MessagesSendUserIdsResponseItem'; | ||
import { UsersUser } from '../objects/users/UsersUser'; | ||
@@ -370,3 +373,3 @@ import { UsersUserFull } from '../objects/users/UsersUserFull'; | ||
*/ | ||
filter?: 'all' | 'important' | 'unanswered' | 'unread'; | ||
filter?: 'all' | 'archive' | 'important' | 'unanswered' | 'unread'; | ||
/** | ||
@@ -429,18 +432,4 @@ * '1' — return extra information about users and communities | ||
} | ||
export interface MessagesGetConversationsByIdResponse { | ||
/** | ||
* Total number | ||
*/ | ||
count: number; | ||
items: MessagesConversation[]; | ||
} | ||
export interface MessagesGetConversationsByIdExtendedResponse { | ||
/** | ||
* Total number | ||
*/ | ||
count: number; | ||
items: MessagesConversation[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroupFull[]; | ||
} | ||
export declare type MessagesGetConversationsByIdResponse = MessagesGetConversationById; | ||
export declare type MessagesGetConversationsByIdExtendedResponse = MessagesGetConversationByIdExtended; | ||
/** | ||
@@ -1072,3 +1061,3 @@ * messages.getHistory | ||
export declare type MessagesSendResponse = number; | ||
export declare type MessagesSendUserIdsResponse = {}[]; | ||
export declare type MessagesSendUserIdsResponse = MessagesSendUserIdsResponseItem[]; | ||
/** | ||
@@ -1075,0 +1064,0 @@ * messages.sendMessageEventAnswer |
@@ -122,4 +122,4 @@ /** | ||
export interface NewsfeedGetBannedExtendedResponse { | ||
groups?: UsersUserFull[]; | ||
profiles?: GroupsGroupFull[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroupFull[]; | ||
} | ||
@@ -126,0 +126,0 @@ /** |
@@ -64,3 +64,3 @@ /** | ||
} | ||
export declare type OrdersGetAmountResponse = OrdersAmount; | ||
export declare type OrdersGetAmountResponse = OrdersAmount[]; | ||
/** | ||
@@ -67,0 +67,0 @@ * orders.getById |
@@ -7,3 +7,2 @@ /** | ||
import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull'; | ||
import { PhotosCommentXtrPid } from '../objects/photos/PhotosCommentXtrPid'; | ||
import { PhotosPhoto } from '../objects/photos/PhotosPhoto'; | ||
@@ -446,3 +445,3 @@ import { PhotosPhotoAlbumFull } from '../objects/photos/PhotosPhotoAlbumFull'; | ||
count?: number; | ||
items?: PhotosCommentXtrPid[]; | ||
items?: WallWallComment[]; | ||
} | ||
@@ -1088,3 +1087,5 @@ /** | ||
} | ||
export declare type PhotosSaveOwnerCoverPhotoResponse = BaseImage[]; | ||
export interface PhotosSaveOwnerCoverPhotoResponse { | ||
images?: BaseImage[]; | ||
} | ||
/** | ||
@@ -1091,0 +1092,0 @@ * photos.saveOwnerPhoto |
/** | ||
* This is auto-generated file, don't modify this file manually | ||
*/ | ||
import { SecureGiveEventStickerItem } from '../objects/secure/SecureGiveEventStickerItem'; | ||
import { SecureLevel } from '../objects/secure/SecureLevel'; | ||
@@ -105,3 +106,3 @@ import { SecureSmsNotification } from '../objects/secure/SecureSmsNotification'; | ||
} | ||
export declare type SecureGiveEventStickerResponse = {}[]; | ||
export declare type SecureGiveEventStickerResponse = SecureGiveEventStickerItem[]; | ||
/** | ||
@@ -108,0 +109,0 @@ * secure.sendNotification |
@@ -63,3 +63,3 @@ /** | ||
items: StoriesFeedItem[]; | ||
profiles?: UsersUser[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroup[]; | ||
@@ -212,3 +212,3 @@ need_upload_screen?: boolean; | ||
items: StoriesFeedItem[]; | ||
profiles?: UsersUser[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroup[]; | ||
@@ -309,2 +309,3 @@ need_upload_screen?: boolean; | ||
hidden_reason?: string; | ||
next_from?: string; | ||
} | ||
@@ -318,2 +319,3 @@ export interface StoriesGetViewersExtendedResponse { | ||
hidden_reason?: string; | ||
next_from?: string; | ||
} | ||
@@ -380,3 +382,3 @@ /** | ||
items: StoriesFeedItem[]; | ||
profiles?: UsersUser[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroup[]; | ||
@@ -383,0 +385,0 @@ need_upload_screen?: boolean; |
@@ -5,2 +5,3 @@ /** | ||
import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull'; | ||
import { UsersUser } from '../objects/users/UsersUser'; | ||
import { UsersUserMin } from '../objects/users/UsersUserMin'; | ||
@@ -619,2 +620,3 @@ import { VideoSaveResult } from '../objects/video/VideoSaveResult'; | ||
adult?: 0 | 1; | ||
live?: 0 | 1; | ||
/** | ||
@@ -650,4 +652,4 @@ * Filters to apply: 'youtube' — return YouTube videos only, 'vimeo' — return Vimeo videos only, 'short' — return short videos only, 'long' — return long videos only | ||
items: VideoVideoFull[]; | ||
profiles: UsersUserMin[]; | ||
profiles: UsersUser[]; | ||
groups: GroupsGroupFull[]; | ||
} |
@@ -387,5 +387,10 @@ /** | ||
/** | ||
* Count of replies of current level | ||
*/ | ||
current_level_count?: number; | ||
/** | ||
* Information whether current user can comment the post | ||
*/ | ||
can_post?: boolean; | ||
show_reply_button?: boolean; | ||
/** | ||
@@ -395,6 +400,2 @@ * Information whether groups can comment the post | ||
groups_can_post?: boolean; | ||
/** | ||
* Count of replies of current level | ||
*/ | ||
current_level_count?: number; | ||
} | ||
@@ -407,7 +408,13 @@ export interface WallGetCommentsExtendedResponse { | ||
items: WallWallComment[]; | ||
show_reply_button?: boolean; | ||
profiles: UsersUser[]; | ||
groups: GroupsGroup[]; | ||
/** | ||
* Count of replies of current level | ||
*/ | ||
current_level_count?: number; | ||
/** | ||
* Information whether current user can comment the post | ||
*/ | ||
can_post?: boolean; | ||
show_reply_button?: boolean; | ||
/** | ||
@@ -417,8 +424,2 @@ * Information whether groups can comment the post | ||
groups_can_post?: boolean; | ||
/** | ||
* Count of replies of current level | ||
*/ | ||
current_level_count?: number; | ||
profiles: UsersUser[]; | ||
groups: GroupsGroup[]; | ||
} | ||
@@ -425,0 +426,0 @@ /** |
@@ -41,3 +41,3 @@ /** | ||
'own_posts_default'?: 0 | 1; | ||
'subscriptions'?: number[]; | ||
'subscriptions'?: {}; | ||
} |
@@ -28,2 +28,6 @@ /** | ||
/** | ||
* Video album id | ||
*/ | ||
album_id?: number; | ||
/** | ||
* Owner id | ||
@@ -30,0 +34,0 @@ */ |
@@ -7,2 +7,7 @@ /** | ||
/** | ||
* Comments number | ||
*/ | ||
count: number; | ||
items?: WallWallComment[]; | ||
/** | ||
* Information whether current user can comment the post | ||
@@ -12,5 +17,5 @@ */ | ||
/** | ||
* Comments number | ||
* Information whether recommended to display reply button | ||
*/ | ||
count: number; | ||
show_reply_button?: boolean; | ||
/** | ||
@@ -20,7 +25,2 @@ * Information whether groups can comment the post | ||
groups_can_post?: boolean; | ||
items?: WallWallComment[]; | ||
/** | ||
* Information whether recommended to display reply button | ||
*/ | ||
show_reply_button?: boolean; | ||
} |
@@ -404,2 +404,9 @@ /** | ||
/** | ||
* Contact person ID | ||
*/ | ||
contact_id?: number; | ||
is_message_request?: boolean; | ||
descriptions?: string[]; | ||
lists?: number[]; | ||
/** | ||
* User phone | ||
@@ -406,0 +413,0 @@ */ |
@@ -41,2 +41,26 @@ /** | ||
videos?: number; | ||
/** | ||
* Market services number | ||
*/ | ||
market_services?: number; | ||
/** | ||
* Podcasts number | ||
*/ | ||
podcasts?: number; | ||
/** | ||
* Articles number | ||
*/ | ||
articles?: number; | ||
/** | ||
* Narratives number | ||
*/ | ||
narratives?: number; | ||
/** | ||
* Clips number | ||
*/ | ||
clips?: number; | ||
/** | ||
* Clips followers number | ||
*/ | ||
clips_followers?: number; | ||
} |
/** | ||
* This is auto-generated file, don't modify this file manually | ||
*/ | ||
import { VideoLiveInfo } from '../video/VideoLiveInfo'; | ||
import { GroupsGroupAdminLevel } from './GroupsGroupAdminLevel'; | ||
import { GroupsGroupIsClosed } from './GroupsGroupIsClosed'; | ||
import { GroupsGroupType } from './GroupsGroupType'; | ||
import { GroupsPhotoSize } from './GroupsPhotoSize'; | ||
export interface GroupsGroup { | ||
@@ -59,2 +61,33 @@ /** | ||
photo_200?: string; | ||
/** | ||
* URL of square photo of the community with 200 pixels in width original | ||
*/ | ||
photo_200_orig?: string; | ||
/** | ||
* URL of square photo of the community with 400 pixels in width | ||
*/ | ||
photo_400?: string; | ||
/** | ||
* URL of square photo of the community with 400 pixels in width original | ||
*/ | ||
photo_400_orig?: string; | ||
/** | ||
* URL of square photo of the community with max pixels in width | ||
*/ | ||
photo_max?: string; | ||
/** | ||
* URL of square photo of the community with max pixels in width original | ||
*/ | ||
photo_max_orig?: string; | ||
/** | ||
* Established date | ||
*/ | ||
est_date?: string; | ||
/** | ||
* Public date label | ||
*/ | ||
public_date_label?: string; | ||
photo_max_size?: GroupsPhotoSize; | ||
is_video_live_notifications_blocked?: 0 | 1; | ||
video_live?: VideoLiveInfo; | ||
} |
@@ -8,2 +8,3 @@ /** | ||
import { BaseObject } from '../base/BaseObject'; | ||
import { VideoLiveInfo } from '../video/VideoLiveInfo'; | ||
import { GroupsAddressesInfo } from './GroupsAddressesInfo'; | ||
@@ -24,2 +25,3 @@ import { GroupsContactsItem } from './GroupsContactsItem'; | ||
import { GroupsOnlineStatus } from './GroupsOnlineStatus'; | ||
import { GroupsPhotoSize } from './GroupsPhotoSize'; | ||
export declare const GroupsGroupFullWallEnumNames: { | ||
@@ -83,2 +85,33 @@ readonly DISABLED: 0; | ||
photo_200?: string; | ||
/** | ||
* URL of square photo of the community with 200 pixels in width original | ||
*/ | ||
photo_200_orig?: string; | ||
/** | ||
* URL of square photo of the community with 400 pixels in width | ||
*/ | ||
photo_400?: string; | ||
/** | ||
* URL of square photo of the community with 400 pixels in width original | ||
*/ | ||
photo_400_orig?: string; | ||
/** | ||
* URL of square photo of the community with max pixels in width | ||
*/ | ||
photo_max?: string; | ||
/** | ||
* URL of square photo of the community with max pixels in width original | ||
*/ | ||
photo_max_orig?: string; | ||
/** | ||
* Established date | ||
*/ | ||
est_date?: string; | ||
/** | ||
* Public date label | ||
*/ | ||
public_date_label?: string; | ||
photo_max_size?: GroupsPhotoSize; | ||
is_video_live_notifications_blocked?: 0 | 1; | ||
video_live?: VideoLiveInfo; | ||
market?: GroupsMarketInfo; | ||
@@ -85,0 +118,0 @@ /** |
@@ -6,2 +6,6 @@ /** | ||
/** | ||
* Link title | ||
*/ | ||
name?: string; | ||
/** | ||
* Link description | ||
@@ -19,6 +23,2 @@ */ | ||
/** | ||
* Link title | ||
*/ | ||
name?: string; | ||
/** | ||
* URL of square image of the link with 100 pixels in width | ||
@@ -35,2 +35,6 @@ */ | ||
url?: string; | ||
/** | ||
* Information whether the image on processing | ||
*/ | ||
image_processing?: 0 | 1; | ||
} |
@@ -48,9 +48,9 @@ /** | ||
wall_repost: 0 | 1; | ||
donut_subscription_create?: 0 | 1; | ||
donut_subscription_prolonged?: 0 | 1; | ||
donut_subscription_cancelled?: 0 | 1; | ||
donut_subscription_expired?: 0 | 1; | ||
donut_subscription_price_changed?: 0 | 1; | ||
donut_money_withdraw?: 0 | 1; | ||
donut_money_withdraw_error?: 0 | 1; | ||
donut_subscription_create: 0 | 1; | ||
donut_subscription_prolonged: 0 | 1; | ||
donut_subscription_cancelled: 0 | 1; | ||
donut_subscription_expired: 0 | 1; | ||
donut_subscription_price_changed: 0 | 1; | ||
donut_money_withdraw: 0 | 1; | ||
donut_money_withdraw_error: 0 | 1; | ||
} |
@@ -5,4 +5,9 @@ /** | ||
import { MarketCurrency } from '../market/MarketCurrency'; | ||
import { MarketPrice } from '../market/MarketPrice'; | ||
export interface GroupsMarketInfo { | ||
/** | ||
* Market type | ||
*/ | ||
type?: string; | ||
/** | ||
* Contact person ID | ||
@@ -32,2 +37,3 @@ */ | ||
price_min?: string; | ||
min_order_price?: MarketPrice; | ||
} |
@@ -404,3 +404,10 @@ /** | ||
is_no_index?: boolean; | ||
/** | ||
* Contact person ID | ||
*/ | ||
contact_id?: number; | ||
is_message_request?: boolean; | ||
descriptions?: string[]; | ||
lists?: number[]; | ||
role?: GroupsRoleOptions; | ||
} |
@@ -22,2 +22,10 @@ /** | ||
count: number; | ||
/** | ||
* Is album main for owner | ||
*/ | ||
is_main?: boolean; | ||
/** | ||
* Is album hidden | ||
*/ | ||
is_hidden?: boolean; | ||
photo?: PhotosPhoto; | ||
@@ -24,0 +32,0 @@ /** |
@@ -42,2 +42,4 @@ /** | ||
view_url: string; | ||
privacy_view?: string[]; | ||
privacy_comment?: string[]; | ||
} |
@@ -8,39 +8,39 @@ /** | ||
*/ | ||
amount?: number; | ||
amount: string; | ||
/** | ||
* App order ID | ||
*/ | ||
app_order_id?: number; | ||
app_order_id: string; | ||
/** | ||
* Cancel transaction ID | ||
*/ | ||
cancel_transaction_id?: number; | ||
cancel_transaction_id?: string; | ||
/** | ||
* Date of creation in Unixtime | ||
*/ | ||
date?: number; | ||
date: string; | ||
/** | ||
* Order ID | ||
*/ | ||
id?: number; | ||
id: string; | ||
/** | ||
* Order item | ||
*/ | ||
item?: string; | ||
item: string; | ||
/** | ||
* Receiver ID | ||
*/ | ||
receiver_id?: number; | ||
receiver_id: string; | ||
/** | ||
* Order status | ||
*/ | ||
status?: string; | ||
status: 'created' | 'charged' | 'refunded' | 'chargeable' | 'cancelled' | 'declined'; | ||
/** | ||
* Transaction ID | ||
*/ | ||
transaction_id?: number; | ||
transaction_id?: string; | ||
/** | ||
* User ID | ||
*/ | ||
user_id?: number; | ||
user_id: string; | ||
} |
@@ -66,2 +66,18 @@ /** | ||
who_can_view: PagesPrivacySettings; | ||
/** | ||
* URL | ||
*/ | ||
url?: string; | ||
/** | ||
* Parent | ||
*/ | ||
parent?: string; | ||
/** | ||
* Parent2 | ||
*/ | ||
parent2?: string; | ||
/** | ||
* Owner ID | ||
*/ | ||
owner_id?: number; | ||
} |
/** | ||
* This is auto-generated file, don't modify this file manually | ||
*/ | ||
export declare type UsersFields = 'first_name_nom' | 'first_name_gen' | 'first_name_dat' | 'first_name_acc' | 'first_name_ins' | 'first_name_abl' | 'last_name_nom' | 'last_name_gen' | 'last_name_dat' | 'last_name_acc' | 'last_name_ins' | 'last_name_abl' | 'photo_id' | 'verified' | 'sex' | 'bdate' | 'city' | 'country' | 'home_town' | 'has_photo' | 'photo_50' | 'photo_100' | 'photo_200_orig' | 'photo_200' | 'photo_400' | 'photo_400_orig' | 'photo_max' | 'photo_max_orig' | 'photo_max_size' | 'online' | 'lists' | 'domain' | 'has_mobile' | 'contacts' | 'site' | 'education' | 'universities' | 'schools' | 'status' | 'last_seen' | 'followers_count' | 'counters' | 'common_count' | 'occupation' | 'nickname' | 'relatives' | 'relation' | 'personal' | 'connections' | 'exports' | 'wall_comments' | 'activities' | 'interests' | 'music' | 'movies' | 'tv' | 'books' | 'games' | 'about' | 'quotes' | 'can_post' | 'can_see_all_posts' | 'can_see_audio' | 'can_write_private_message' | 'can_send_friend_request' | 'is_favorite' | 'is_hidden_from_feed' | 'timezone' | 'screen_name' | 'maiden_name' | 'crop_photo' | 'is_friend' | 'friend_status' | 'career' | 'military' | 'blacklisted' | 'blacklisted_by_me' | 'can_subscribe_posts' | 'descriptions' | 'trending' | 'mutual' | 'friendship_weeks' | 'can_invite_to_chats' | 'stories_archive_count' | 'has_unseen_stories' | 'video_live_level' | 'video_live_count' | 'clips_count' | 'service_description' | 'is_dead'; | ||
export declare type UsersFields = 'first_name_nom' | 'first_name_gen' | 'first_name_dat' | 'first_name_acc' | 'first_name_ins' | 'first_name_abl' | 'last_name_nom' | 'last_name_gen' | 'last_name_dat' | 'last_name_acc' | 'last_name_ins' | 'last_name_abl' | 'photo_id' | 'verified' | 'sex' | 'bdate' | 'city' | 'country' | 'home_town' | 'has_photo' | 'photo' | 'photo_rec' | 'photo_50' | 'photo_100' | 'photo_200_orig' | 'photo_200' | 'photo_400' | 'photo_400_orig' | 'photo_big' | 'photo_medium' | 'photo_medium_rec' | 'photo_max' | 'photo_max_orig' | 'photo_max_size' | 'online' | 'lists' | 'domain' | 'has_mobile' | 'contacts' | 'language' | 'site' | 'education' | 'universities' | 'schools' | 'status' | 'last_seen' | 'followers_count' | 'counters' | 'common_count' | 'online_info' | 'occupation' | 'nickname' | 'relatives' | 'relation' | 'personal' | 'connections' | 'exports' | 'wall_comments' | 'wall_default' | 'activities' | 'activity' | 'interests' | 'music' | 'movies' | 'tv' | 'books' | 'is_no_index' | 'games' | 'about' | 'quotes' | 'can_post' | 'can_see_all_posts' | 'can_see_audio' | 'can_see_gifts' | 'work' | 'places' | 'can_write_private_message' | 'can_send_friend_request' | 'can_upload_doc' | 'is_favorite' | 'is_hidden_from_feed' | 'timezone' | 'screen_name' | 'maiden_name' | 'crop_photo' | 'is_friend' | 'friend_status' | 'career' | 'military' | 'blacklisted' | 'blacklisted_by_me' | 'can_subscribe_posts' | 'descriptions' | 'trending' | 'mutual' | 'friendship_weeks' | 'can_invite_to_chats' | 'stories_archive_count' | 'has_unseen_stories' | 'video_live' | 'video_live_level' | 'video_live_count' | 'clips_count' | 'service_description' | 'can_see_wishes' | 'is_subscribed_podcasts' | 'can_subscribe_podcasts'; |
@@ -403,2 +403,9 @@ /** | ||
is_no_index?: boolean; | ||
/** | ||
* Contact person ID | ||
*/ | ||
contact_id?: number; | ||
is_message_request?: boolean; | ||
descriptions?: string[]; | ||
lists?: number[]; | ||
} |
@@ -403,2 +403,9 @@ /** | ||
is_no_index?: boolean; | ||
/** | ||
* Contact person ID | ||
*/ | ||
contact_id?: number; | ||
is_message_request?: boolean; | ||
descriptions?: string[]; | ||
lists?: number[]; | ||
} |
@@ -7,2 +7,14 @@ /** | ||
/** | ||
* Album ID | ||
*/ | ||
id: number; | ||
/** | ||
* Album owner's ID | ||
*/ | ||
owner_id: number; | ||
/** | ||
* Album title | ||
*/ | ||
title: string; | ||
/** | ||
* Total number of videos in album | ||
@@ -12,6 +24,2 @@ */ | ||
/** | ||
* Album ID | ||
*/ | ||
id?: number; | ||
/** | ||
* Album cover image in different sizes | ||
@@ -29,10 +37,2 @@ */ | ||
/** | ||
* Album owner's ID | ||
*/ | ||
owner_id: number; | ||
/** | ||
* Album title | ||
*/ | ||
title: string; | ||
/** | ||
* Date when the album has been updated last time in Unixtime | ||
@@ -39,0 +39,0 @@ */ |
@@ -9,8 +9,6 @@ /** | ||
export interface WallWallComment { | ||
attachments?: WallCommentAttachment[]; | ||
/** | ||
* Date when the comment has been added in Unixtime | ||
* Comment ID | ||
*/ | ||
date: number; | ||
donut?: WallWallCommentDonut; | ||
id: number; | ||
/** | ||
@@ -20,6 +18,18 @@ * Author ID | ||
from_id: number; | ||
can_edit?: 0 | 1; | ||
post_id?: number; | ||
owner_id?: number; | ||
parents_stack?: number[]; | ||
photo_id?: number; | ||
video_id?: number; | ||
/** | ||
* Comment ID | ||
* Date when the comment has been added in Unixtime | ||
*/ | ||
id: number; | ||
date: number; | ||
/** | ||
* Comment text | ||
*/ | ||
text: string; | ||
attachments?: WallCommentAttachment[]; | ||
donut?: WallWallCommentDonut; | ||
likes?: BaseLikesInfo; | ||
@@ -31,6 +41,2 @@ /** | ||
/** | ||
* Replied comment ID | ||
*/ | ||
reply_to_comment?: number; | ||
/** | ||
* Replied user ID | ||
@@ -40,10 +46,11 @@ */ | ||
/** | ||
* Comment text | ||
* Replied comment ID | ||
*/ | ||
text: string; | ||
reply_to_comment?: number; | ||
thread?: CommentThread; | ||
post_id?: number; | ||
owner_id?: number; | ||
parents_stack?: number[]; | ||
deleted?: boolean; | ||
/** | ||
* Photo ID | ||
*/ | ||
pid?: number; | ||
} |
@@ -17,2 +17,3 @@ /** | ||
access_key?: string; | ||
is_deleted?: boolean; | ||
attachments?: WallWallpostAttachment[]; | ||
@@ -19,0 +20,0 @@ /** |
@@ -11,2 +11,3 @@ /** | ||
import { MarketMarketItem } from '../market/MarketMarketItem'; | ||
import { NotesNote } from '../notes/NotesNote'; | ||
import { PagesWikipageFull } from '../pages/PagesWikipageFull'; | ||
@@ -18,3 +19,2 @@ import { PhotosPhoto } from '../photos/PhotosPhoto'; | ||
import { WallAppPost } from './WallAppPost'; | ||
import { WallAttachedNote } from './WallAttachedNote'; | ||
import { WallGraffiti } from './WallGraffiti'; | ||
@@ -38,3 +38,3 @@ import { WallPostedPhoto } from './WallPostedPhoto'; | ||
market_album?: MarketMarketAlbum; | ||
note?: WallAttachedNote; | ||
note?: NotesNote; | ||
page?: PagesWikipageFull; | ||
@@ -41,0 +41,0 @@ photo?: PhotosPhoto; |
@@ -7,2 +7,2 @@ /** | ||
*/ | ||
export declare type WallWallpostAttachmentType = 'photo' | 'posted_photo' | 'audio' | 'video' | 'doc' | 'link' | 'graffiti' | 'note' | 'app' | 'poll' | 'page' | 'album' | 'photos_list' | 'market_market_album' | 'market' | 'event' | 'donut_link' | 'article' | 'textlive' | 'textpost'; | ||
export declare type WallWallpostAttachmentType = 'photo' | 'posted_photo' | 'audio' | 'video' | 'doc' | 'link' | 'graffiti' | 'note' | 'app' | 'poll' | 'page' | 'album' | 'photos_list' | 'market_market_album' | 'market' | 'event' | 'donut_link' | 'article' | 'textlive' | 'textpost' | 'situational_theme' | 'group' | 'sticker'; |
@@ -38,2 +38,3 @@ /** | ||
access_key?: string; | ||
is_deleted?: boolean; | ||
attachments?: WallWallpostAttachment[]; | ||
@@ -149,2 +150,6 @@ /** | ||
short_text_rate?: number; | ||
/** | ||
* Hash for sharing | ||
*/ | ||
hash?: string; | ||
} |
{ | ||
"name": "@vkontakte/api-schema-typescript", | ||
"version": "1.5131.1", | ||
"version": "1.5131.2", | ||
"description": "TypeScript typings for VK API", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@vkontakte/api-schema": "https://github.com/VKCOM/vk-api-schema.git#v5.131.90", | ||
"@vkontakte/api-schema": "https://github.com/VKCOM/vk-api-schema.git#v5.131.110", | ||
"@vkontakte/api-schema-typescript-generator": "0.10.0", | ||
@@ -18,0 +18,0 @@ "typescript": "^3.9.6" |
Sorry, the diff of this file is too big to display
1018
747415
27941