Socket
Socket
Sign inDemoInstall

@vkontakte/api-schema-typescript

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.5126.0

6

dist/methods/account.d.ts

@@ -116,3 +116,3 @@ /**

*/
filter?: string[];
filter?: string;
}

@@ -129,3 +129,3 @@ export declare type AccountGetCountersResponse = AccountAccountCounters;

*/
fields?: string[];
fields?: string;
}

@@ -329,3 +329,3 @@ export declare type AccountGetInfoResponse = AccountInfo;

*/
value?: string[];
value?: string;
}

@@ -332,0 +332,0 @@ export declare type AccountSetPushSettingsResponse = 1;

@@ -27,4 +27,2 @@ /**

import { AdsUsers } from '../objects/ads/AdsUsers';
import { AdsUserSpecification } from '../objects/ads/AdsUserSpecification';
import { AdsUserSpecificationCutted } from '../objects/ads/AdsUserSpecificationCutted';
/**

@@ -42,4 +40,6 @@ * ads.addOfficeUsers

* Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below.
*
* objects.json#/definitions/ads_user_specification_cutted
*/
data: AdsUserSpecificationCutted[];
data: string;
}

@@ -376,3 +376,3 @@ export declare type AdsAddOfficeUsersResponse = boolean;

campaign_ids?: string;
fields?: string[];
fields?: string;
}

@@ -571,3 +571,3 @@ export declare type AdsGetCampaignsResponse = AdsCampaign[];

*/
stats_fields?: string[];
stats_fields?: string;
}

@@ -798,4 +798,6 @@ export declare type AdsGetStatisticsResponse = AdsStats[];

* Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below.
*
* objects.json#/definitions/ads_user_specification
*/
data: AdsUserSpecification[];
data: string;
}

@@ -802,0 +804,0 @@ export declare type AdsUpdateOfficeUsersResponse = AdsUpdateOfficeUsersResult[];

@@ -7,3 +7,2 @@ /**

import { AppsScope } from '../objects/apps/AppsScope';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersUserFull } from '../objects/users/UsersUserFull';

@@ -32,3 +31,3 @@ import { UsersUserMin } from '../objects/users/UsersUserMin';

*/
app_ids?: string[];
app_ids?: string;
/**

@@ -42,4 +41,6 @@ * platform. Possible values: *'ios' — iOS,, *'android' — Android,, *'winphone' — Windows Phone,, *'web' — приложения на vk.com. By default: 'web'.

* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities', (only if return_friends - 1)
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -84,3 +85,6 @@ * Case for declension of user name and surname: 'nom' — nominative (default),, 'gen' — genitive,, 'dat' — dative,, 'acc' — accusative,, 'ins' — instrumental,, 'abl' — prepositional. (only if 'return_friends' = '1')

return_friends?: 0 | 1;
fields?: UsersFields[];
/**
* objects.json#/definitions/users_fields
*/
fields?: string;
name_case?: string;

@@ -123,4 +127,6 @@ /**

* Additional profile fields, see [vk.com/dev/fields|description].
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
}

@@ -127,0 +133,0 @@ export interface AppsGetFriendsListResponse {

@@ -77,3 +77,3 @@ /**

*/
images: string[];
images: string;
}

@@ -80,0 +80,0 @@ export declare type AppWidgetsGetImagesByIdResponse = AppWidgetsPhoto[];

@@ -36,3 +36,3 @@ /**

*/
attachments?: string[];
attachments?: string;
}

@@ -77,3 +77,3 @@ export declare type BoardAddTopicResponse = number;

*/
attachments?: string[];
attachments?: string;
/**

@@ -154,3 +154,3 @@ * '1' — to post the comment as by the community, '0' — to post the comment as by the user (default)

*/
attachments?: string[];
attachments?: string;
}

@@ -261,3 +261,3 @@ export declare type BoardEditCommentResponse = 1;

*/
topic_ids?: number[];
topic_ids?: string;
/**

@@ -264,0 +264,0 @@ * Sort order: '1' — by date updated in reverse chronological order. '2' — by date created in reverse chronological order. '-1' — by date updated in chronological order. '-2' — by date created in chronological order. If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting.

@@ -85,3 +85,3 @@ /**

*/
city_ids?: number[];
city_ids?: string;
}

@@ -128,3 +128,3 @@ export declare type DatabaseGetCitiesByIdResponse = BaseObject[];

*/
country_ids?: number[];
country_ids?: string;
}

@@ -182,3 +182,3 @@ export declare type DatabaseGetCountriesByIdResponse = BaseCountry[];

export interface DatabaseGetMetroStationsByIdParams {
station_ids?: number[];
station_ids?: string;
}

@@ -185,0 +185,0 @@ export declare type DatabaseGetMetroStationsByIdResponse = DatabaseStation[];

@@ -67,3 +67,3 @@ /**

*/
tags?: string[];
tags?: string;
}

@@ -108,3 +108,3 @@ export declare type DocsEditResponse = 1;

*/
docs: string[];
docs: string;
return_tags?: 0 | 1;

@@ -111,0 +111,0 @@ }

/**
* This is auto-generated file, don't modify this file manually
*/
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { DonutDonatorSubscriptionInfo } from '../objects/donut/DonutDonatorSubscriptionInfo';

@@ -16,3 +15,3 @@ import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull';

count?: number;
fields?: string[];
fields?: string;
}

@@ -39,3 +38,6 @@ export interface DonutGetFriendsResponse {

export interface DonutGetSubscriptionsParams {
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
offset?: number;

@@ -42,0 +44,0 @@ count?: number;

/**
* This is auto-generated file, don't modify this file manually
*/
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { FaveBookmark } from '../objects/fave/FaveBookmark';

@@ -127,3 +126,6 @@ import { FavePage } from '../objects/fave/FavePage';

type?: 'groups' | 'hints' | 'users';
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
tag_id?: number;

@@ -217,3 +219,3 @@ }

export interface FaveReorderTagsParams {
ids: number[];
ids: string;
}

@@ -227,3 +229,3 @@ export declare type FaveReorderTagsResponse = 1;

group_id?: number;
tag_ids?: number[];
tag_ids?: string;
}

@@ -238,3 +240,3 @@ export declare type FaveSetPageTagsResponse = 1;

item_id?: number;
tag_ids?: number[];
tag_ids?: string;
link_id?: string;

@@ -241,0 +243,0 @@ link_url?: string;

@@ -12,3 +12,2 @@ /**

import { FriendsUserXtrPhone } from '../objects/friends/FriendsUserXtrPhone';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersUserFull } from '../objects/users/UsersUserFull';

@@ -52,3 +51,3 @@ /**

*/
user_ids?: number[];
user_ids?: string;
}

@@ -70,3 +69,3 @@ export interface FriendsAddListResponse {

*/
user_ids: number[];
user_ids: string;
/**

@@ -158,3 +157,3 @@ * '1' — to return 'sign' field. 'sign' is md5("{id}_{user_id}_{friends_status}_{application_secret}"), where id is current user ID. This field allows to check that data has not been modified by the client. By default: '0'.

*/
list_ids?: number[];
list_ids?: string;
}

@@ -179,11 +178,11 @@ export declare type FriendsEditResponse = 1;

*/
user_ids?: number[];
user_ids?: string;
/**
* (Applies if 'user_ids' parameter is not set.), User IDs to add to the friend list.
*/
add_user_ids?: number[];
add_user_ids?: string;
/**
* (Applies if 'user_ids' parameter is not set.), User IDs to delete from the friend list.
*/
delete_user_ids?: number[];
delete_user_ids?: string;
}

@@ -219,4 +218,6 @@ export declare type FriendsEditListResponse = 1;

* Profile fields to return. Sample values: 'uid', 'first_name', 'last_name', 'nickname', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'domain', 'has_mobile', 'rate', 'contacts', 'education'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -259,7 +260,9 @@ * Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

*/
phones?: string[];
phones?: string;
/**
* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online, counters'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
}

@@ -306,3 +309,3 @@ export declare type FriendsGetByPhonesResponse = FriendsUserXtrPhone[];

*/
target_uids?: number[];
target_uids?: string;
/**

@@ -407,3 +410,6 @@ * Sort order: 'random' — random order

ref?: string;
fields?: UsersFields[];
/**
* objects.json#/definitions/users_fields
*/
fields?: string;
}

@@ -444,3 +450,3 @@ export interface FriendsGetRequestsResponse {

*/
filter?: string[];
filter?: string;
/**

@@ -456,4 +462,6 @@ * Number of suggestions to return.

* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', 'counters'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -487,4 +495,6 @@ * Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online',
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -491,0 +501,0 @@ * Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

/**
* This is auto-generated file, don't modify this file manually
*/
import { AddressesFields } from '../objects/addresses/AddressesFields';
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { GroupsAddress } from '../objects/groups/GroupsAddress';

@@ -10,4 +8,2 @@ import { GroupsBannedItem } from '../objects/groups/GroupsBannedItem';

import { GroupsCallbackSettings } from '../objects/groups/GroupsCallbackSettings';
import { GroupsFields } from '../objects/groups/GroupsFields';
import { GroupsFilter } from '../objects/groups/GroupsFilter';
import { GroupsGroup } from '../objects/groups/GroupsGroup';

@@ -40,3 +36,2 @@ import { GroupsGroupAccess } from '../objects/groups/GroupsGroupAccess';

import { GroupsUserXtrRole } from '../objects/groups/GroupsUserXtrRole';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersUserFull } from '../objects/users/UsersUserFull';

@@ -325,7 +320,7 @@ import { UsersUserMin } from '../objects/users/UsersUserMin';

*/
market_country?: number[];
market_country?: string;
/**
* Market delivery cities (if only one country is specified).
*/
market_city?: number[];
market_city?: string;
/**

@@ -354,3 +349,3 @@ * Market currency settings. Possbile values: , *'643' – Russian rubles,, *'980' – Ukrainian hryvnia,, *'398' – Kazakh tenge,, *'978' – Euro,, *'840' – US dollars

*/
obscene_words?: string[];
obscene_words?: string;
main_section?: number;

@@ -478,8 +473,12 @@ secondary_section?: number;

* Types of communities to return: 'admin' — to return communities administered by the user , 'editor' — to return communities where the user is an administrator or editor, 'moder' — to return communities where the user is an administrator, editor, or moderator, 'groups' — to return only groups, 'publics' — to return only public pages, 'events' — to return only events
*
* objects.json#/definitions/groups_filter
*/
filter?: GroupsFilter[];
filter?: string;
/**
* Profile fields to return.
*
* objects.json#/definitions/groups_fields
*/
fields?: GroupsFields[];
fields?: string;
/**

@@ -518,3 +517,3 @@ * Offset needed to return a specific subset of communities.

group_id: number;
address_ids?: number[];
address_ids?: string;
/**

@@ -538,4 +537,6 @@ * Latitude of the user geo position.

* Address fields
*
* objects.json#/definitions/addresses_fields
*/
fields?: AddressesFields[];
fields?: string;
}

@@ -567,3 +568,6 @@ export interface GroupsGetAddressesResponse {

count?: number;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
owner_id?: number;

@@ -587,3 +591,3 @@ }

*/
group_ids?: string[];
group_ids?: string;
/**

@@ -595,4 +599,6 @@ * ID or screen name of the community.

* Group fields to return.
*
* objects.json#/definitions/groups_fields
*/
fields?: GroupsFields[];
fields?: string;
}

@@ -622,3 +628,3 @@ export declare type GroupsGetByIdResponse = GroupsGroupFull[];

group_id: number;
server_ids?: number[];
server_ids?: string;
}

@@ -716,4 +722,6 @@ export interface GroupsGetCallbackServersResponse {

* List of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -814,4 +822,6 @@ * Case for declension of user name and surname. Possible values: *'nom' — nominative (default),, *'gen' — genitive,, *'dat' — dative,, *'acc' — accusative, , *'ins' — instrumental,, *'abl' — prepositional.

* List of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -863,4 +873,6 @@ * *'friends' – only friends in this community will be returned,, *'unsure' – only those who pressed 'I may attend' will be returned (if it's an event).

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
}

@@ -1067,3 +1079,3 @@ export interface GroupsGetRequestsResponse {

*/
user_ids?: number[];
user_ids?: string;
/**

@@ -1070,0 +1082,0 @@ * '1' — to return an extended response with additional fields. By default: '0'.

@@ -11,3 +11,2 @@ /**

import { MarketOrderItem } from '../objects/market/MarketOrderItem';
import { UsersFields } from '../objects/users/UsersFields';
import { WallWallComment } from '../objects/wall/WallWallComment';

@@ -52,3 +51,3 @@ /**

*/
photo_ids?: number[];
photo_ids?: string;
/**

@@ -115,3 +114,3 @@ * Url for button in market item.

*/
album_ids: number[];
album_ids: string;
}

@@ -140,3 +139,3 @@ export declare type MarketAddToAlbumResponse = 1;

*/
attachments?: string[];
attachments?: string;
/**

@@ -249,3 +248,3 @@ * '1' - comment will be published on behalf of a community, '0' - on behalf of a user (by default).

*/
photo_ids?: number[];
photo_ids?: string;
/**

@@ -306,3 +305,3 @@ * Url for button in market item.

*/
attachments?: string[];
attachments?: string;
}

@@ -373,3 +372,3 @@ export declare type MarketEditCommentResponse = 1;

*/
album_ids: number[];
album_ids: string;
}

@@ -418,3 +417,3 @@ export interface MarketGetAlbumByIdResponse {

*/
item_ids: string[];
item_ids: string;
/**

@@ -494,4 +493,6 @@ * '1' – to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.

* List of additional profile fields to return. See the [vk.com/dev/fields|details]
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
}

@@ -592,3 +593,3 @@ export interface MarketGetCommentsResponse {

*/
album_ids: number[];
album_ids: string;
}

@@ -595,0 +596,0 @@ export declare type MarketRemoveFromAlbumResponse = 1;

/**
* This is auto-generated file, don't modify this file manually
*/
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { GroupsGroup } from '../objects/groups/GroupsGroup';

@@ -20,3 +19,2 @@ import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull';

import { MessagesPinnedMessage } from '../objects/messages/MessagesPinnedMessage';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersUser } from '../objects/users/UsersUser';

@@ -63,3 +61,3 @@ import { UsersUserFull } from '../objects/users/UsersUserFull';

*/
user_ids?: number[];
user_ids?: string;
/**

@@ -81,3 +79,3 @@ * Chat title.

*/
message_ids?: number[];
message_ids?: string;
/**

@@ -229,3 +227,3 @@ * '1' — to mark message as spam.

*/
conversation_message_ids: number[];
conversation_message_ids: string;
/**

@@ -237,4 +235,6 @@ * Information whether the response should be extended

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -261,3 +261,3 @@ * Group ID (for group messages with group access token)

*/
message_ids: number[];
message_ids: string;
/**

@@ -273,4 +273,6 @@ * Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -308,4 +310,6 @@ * Group ID (for group messages with group access token)

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
}

@@ -328,4 +332,6 @@ export interface MessagesGetChatPreviewResponse {

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -374,4 +380,6 @@ * Group ID (for group messages with group access token)

* Profile and communities fields to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
/**

@@ -404,3 +412,3 @@ * Group ID (for group messages with group access token)

*/
peer_ids: number[];
peer_ids: string;
/**

@@ -412,4 +420,6 @@ * Return extended properties

* Profile and communities fields to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
/**

@@ -468,4 +478,6 @@ * Group ID (for group messages with group access token)

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -521,4 +533,6 @@ * Group ID (for group messages with group access token)

* Additional profile [vk.com/dev/fields|fields] to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -556,4 +570,6 @@ * Group ID (for group messages with group access token)

* Actors fields to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
/**

@@ -589,4 +605,4 @@ * Return extended properties

extended?: 0 | 1;
name_case?: string[];
fields?: string[];
name_case?: string;
fields?: string;
}

@@ -654,4 +670,6 @@ export interface MessagesGetIntentUsersResponse {

* Additional profile [vk.com/dev/fields|fields] to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -774,3 +792,3 @@ * Maximum number of events to return.

*/
message_ids?: number[];
message_ids?: string;
/**

@@ -811,3 +829,3 @@ * '1' — to add a star (mark as important), '0' — to remove the star

*/
message_ids?: number[];
message_ids?: string;
/**

@@ -912,3 +930,3 @@ * Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "

extended?: 0 | 1;
fields?: string[];
fields?: string;
/**

@@ -956,4 +974,6 @@ * Group ID (for group messages with group access token)

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -994,3 +1014,3 @@ * Group ID (for group messages with user access token)

*/
peer_ids?: number[];
peer_ids?: string;
/**

@@ -1007,3 +1027,3 @@ * User's short address (for example, 'illarionov').

*/
user_ids?: number[];
user_ids?: string;
/**

@@ -1029,3 +1049,3 @@ * (Required if 'attachments' is not set.) Text of the message.

*/
forward_messages?: number[];
forward_messages?: string;
/**

@@ -1032,0 +1052,0 @@ * JSON describing the forwarded message or reply

/**
* This is auto-generated file, don't modify this file manually
*/
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull';
import { NewsfeedCommentsFilters } from '../objects/newsfeed/NewsfeedCommentsFilters';
import { NewsfeedFilters } from '../objects/newsfeed/NewsfeedFilters';
import { NewsfeedList } from '../objects/newsfeed/NewsfeedList';
import { NewsfeedListFull } from '../objects/newsfeed/NewsfeedListFull';
import { NewsfeedNewsfeedItem } from '../objects/newsfeed/NewsfeedNewsfeedItem';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersSubscriptionsItem } from '../objects/users/UsersSubscriptionsItem';

@@ -22,4 +18,4 @@ import { UsersUserFull } from '../objects/users/UsersUserFull';

export interface NewsfeedAddBanParams {
user_ids?: number[];
group_ids?: number[];
user_ids?: string;
group_ids?: string;
}

@@ -33,4 +29,4 @@ export declare type NewsfeedAddBanResponse = 1;

export interface NewsfeedDeleteBanParams {
user_ids?: number[];
group_ids?: number[];
user_ids?: string;
group_ids?: string;
}

@@ -53,4 +49,6 @@ export declare type NewsfeedDeleteBanResponse = 1;

* Filters to apply: 'post' — new wall posts, 'photo' — new photos, 'photo_tag' — new photo tags, 'wall_photo' — new wall photos, 'friend' — new friends
*
* objects.json#/definitions/newsfeed_filters
*/
filters?: NewsfeedFilters[];
filters?: string;
/**

@@ -86,4 +84,6 @@ * '1' — to return news items from banned sources

* Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
section?: string;

@@ -112,4 +112,6 @@ }

* Profile fields to return.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -140,4 +142,6 @@ * Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

* Filters to apply: 'post' — new comments on wall posts, 'photo' — new comments on photos, 'video' — new comments on videos, 'topic' — new comments on discussions, 'note' — new comments on notes,
*
* objects.json#/definitions/newsfeed_comments_filters
*/
filters?: NewsfeedCommentsFilters[];
filters?: string;
/**

@@ -162,4 +166,6 @@ * Object ID, comments on repost of which shall be returned, e.g. 'wall1_45486'. (If the parameter is set, the 'filters' parameter is optional.),

* Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -184,3 +190,3 @@ export interface NewsfeedGetCommentsResponse {

*/
list_ids?: number[];
list_ids?: string;
/**

@@ -267,4 +273,6 @@ * Return additional list info

* Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -300,4 +308,6 @@ export interface NewsfeedGetRecommendedResponse {

* list of extra fields to be returned. See available fields for [vk.com/dev/fields|users] and [vk.com/dev/fields_groups|communities].
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -348,3 +358,3 @@ export interface NewsfeedGetSuggestedSourcesResponse {

*/
source_ids?: number[];
source_ids?: string;
/**

@@ -393,4 +403,6 @@ * reposts display on and off ('1' is for off).

* Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -397,0 +409,0 @@ export interface NewsfeedSearchResponse {

@@ -20,4 +20,4 @@ /**

text: string;
privacy_view?: string[];
privacy_comment?: string[];
privacy_view?: string;
privacy_comment?: string;
}

@@ -96,4 +96,4 @@ export declare type NotesAddResponse = number;

text: string;
privacy_view?: string[];
privacy_comment?: string[];
privacy_view?: string;
privacy_comment?: string;
}

@@ -130,3 +130,3 @@ export declare type NotesEditResponse = 1;

*/
note_ids?: number[];
note_ids?: string;
/**

@@ -133,0 +133,0 @@ * Note owner ID.

@@ -25,3 +25,3 @@ /**

*/
filters?: string[];
filters?: string;
/**

@@ -66,3 +66,3 @@ * Earliest timestamp (in Unix time) of a notification to return. By default, 24 hours ago.

export interface NotificationsSendMessageParams {
user_ids: number[];
user_ids: string;
message: string;

@@ -69,0 +69,0 @@ fragment?: string;

@@ -62,3 +62,3 @@ /**

user_id: number;
votes: string[];
votes: string;
}

@@ -79,3 +79,3 @@ export declare type OrdersGetAmountResponse = OrdersAmount;

*/
order_ids?: number[];
order_ids?: string;
/**

@@ -82,0 +82,0 @@ * if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.

@@ -16,3 +16,2 @@ /**

import { PhotosPhotoXtrTagInfo } from '../objects/photos/PhotosPhotoXtrTagInfo';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersUserFull } from '../objects/users/UsersUserFull';

@@ -78,4 +77,4 @@ import { WallWallComment } from '../objects/wall/WallWallComment';

description?: string;
privacy_view?: string[];
privacy_comment?: string[];
privacy_view?: string;
privacy_comment?: string;
upload_by_admins_only?: 0 | 1;

@@ -106,3 +105,3 @@ comments_disabled?: 0 | 1;

*/
attachments?: string[];
attachments?: string;
/**

@@ -213,4 +212,4 @@ * '1' — to post a comment from the community

owner_id?: number;
privacy_view?: string[];
privacy_comment?: string[];
privacy_view?: string;
privacy_comment?: string;
upload_by_admins_only?: 0 | 1;

@@ -241,3 +240,3 @@ comments_disabled?: 0 | 1;

*/
attachments?: string[];
attachments?: string;
}

@@ -262,3 +261,3 @@ export declare type PhotosEditCommentResponse = 1;

*/
photo_ids?: string[];
photo_ids?: string;
/**

@@ -314,3 +313,3 @@ * Sort order: '1' — reverse chronological, '0' — chronological

*/
album_ids?: number[];
album_ids?: string;
/**

@@ -464,3 +463,3 @@ * Offset needed to return a specific subset of albums.

*/
photos: string[];
photos: string;
/**

@@ -528,3 +527,6 @@ * '1' — to return additional fields, '0' — (default)

extended?: 0 | 1;
fields?: UsersFields[];
/**
* objects.json#/definitions/users_fields
*/
fields?: string;
}

@@ -531,0 +533,0 @@ export interface PhotosGetCommentsResponse {

@@ -8,3 +8,2 @@ /**

import { PollsVoters } from '../objects/polls/PollsVoters';
import { UsersFields } from '../objects/users/UsersFields';
/**

@@ -24,3 +23,3 @@ * polls.addVote

poll_id: number;
answer_ids: number[];
answer_ids: string;
is_board?: 0 | 1;

@@ -140,3 +139,3 @@ }

friends_count?: number;
fields?: string[];
fields?: string;
name_case?: 'abl' | 'acc' | 'dat' | 'gen' | 'ins' | 'nom';

@@ -169,3 +168,3 @@ }

*/
answer_ids: number[];
answer_ids: string;
is_board?: 0 | 1;

@@ -186,4 +185,6 @@ /**

* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate (birthdate)', 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', 'counters'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -190,0 +191,0 @@ * Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

@@ -91,3 +91,3 @@ /**

owner_id: number;
card_ids: number[];
card_ids: string;
}

@@ -94,0 +94,0 @@ export declare type PrettyCardsGetByIdResponse = PrettyCardsPrettyCard[];

@@ -23,4 +23,4 @@ /**

limit?: number;
filters?: string[];
fields?: string[];
filters?: string;
fields?: string;
search_global?: 0 | 1;

@@ -27,0 +27,0 @@ }

@@ -93,3 +93,3 @@ /**

export interface SecureGetUserLevelParams {
user_ids: number[];
user_ids: string;
}

@@ -103,3 +103,3 @@ export declare type SecureGetUserLevelResponse = SecureLevel[];

export interface SecureGiveEventStickerParams {
user_ids: number[];
user_ids: string;
achievement_id: number;

@@ -114,3 +114,3 @@ }

export interface SecureSendNotificationParams {
user_ids?: number[];
user_ids?: string;
user_id?: number;

@@ -145,3 +145,3 @@ /**

export interface SecureSetCounterParams {
counters?: string[];
counters?: string;
user_id?: number;

@@ -148,0 +148,0 @@ /**

@@ -24,4 +24,4 @@ /**

intervals_count?: number;
filters?: string[];
stats_groups?: string[];
filters?: string;
stats_groups?: string;
extended?: 0 | 1;

@@ -43,3 +43,3 @@ }

*/
post_ids: number[];
post_ids: string;
}

@@ -46,0 +46,0 @@ export declare type StatsGetPostReachResponse = StatsWallpostStat[];

@@ -12,3 +12,3 @@ /**

key?: string;
keys?: string[];
keys?: string;
user_id?: number;

@@ -15,0 +15,0 @@ }

@@ -16,3 +16,3 @@ /**

*/
sticker_ids: number[];
sticker_ids: string;
}

@@ -33,4 +33,4 @@ export declare type StoreAddStickersToFavoriteResponse = 1;

section?: string;
product_ids?: number[];
filters?: string[];
product_ids?: string;
filters?: string;
extended?: 0 | 1;

@@ -43,4 +43,4 @@ }

export interface StoreGetStickersKeywordsParams {
stickers_ids?: number[];
products_ids?: number[];
stickers_ids?: string;
products_ids?: string;
aliases?: 0 | 1;

@@ -71,4 +71,4 @@ all_products?: 0 | 1;

*/
sticker_ids: number[];
sticker_ids: string;
}
export declare type StoreRemoveStickersFromFavoriteResponse = 1;
/**
* This is auto-generated file, don't modify this file manually
*/
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { GroupsGroup } from '../objects/groups/GroupsGroup';

@@ -22,3 +21,3 @@ import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull';

*/
owners_ids: number[];
owners_ids: string;
}

@@ -40,3 +39,3 @@ export declare type StoriesBanOwnerResponse = 1;

story_id?: number;
stories?: string[];
stories?: string;
}

@@ -58,3 +57,6 @@ export declare type StoriesDeleteResponse = 1;

extended?: 0 | 1;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
}

@@ -80,4 +82,6 @@ export interface StoriesGetResponse {

* Additional fields to return
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -109,3 +113,3 @@ export interface StoriesGetBannedResponse {

*/
stories: string[];
stories: string;
/**

@@ -117,4 +121,6 @@ * '1' — to return additional fields for users and communities. Default value is 0.

* Additional fields to return
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -150,3 +156,3 @@ export interface StoriesGetByIdResponse {

*/
user_ids?: number[];
user_ids?: string;
/**

@@ -204,4 +210,6 @@ * ID of the story to reply with the current.

* Additional fields to return
*
* objects.json#/definitions/base_user_group_fields
*/
fields?: BaseUserGroupFields[];
fields?: string;
}

@@ -244,3 +252,3 @@ export interface StoriesGetRepliesResponse {

*/
user_ids?: number[];
user_ids?: string;
/**

@@ -350,3 +358,3 @@ * ID of the story to reply with the current.

export interface StoriesSaveParams {
upload_results: string[];
upload_results: string;
}

@@ -369,3 +377,3 @@ export interface StoriesSaveResponse {

extended?: 0 | 1;
fields?: string[];
fields?: string;
}

@@ -399,4 +407,4 @@ export interface StoriesSearchResponse {

*/
owners_ids: number[];
owners_ids: string;
}
export declare type StoriesUnbanOwnerResponse = 1;

@@ -5,3 +5,2 @@ /**

import { GroupsGroupsArray } from '../objects/groups/GroupsGroupsArray';
import { UsersFields } from '../objects/users/UsersFields';
import { UsersSubscriptionsItem } from '../objects/users/UsersSubscriptionsItem';

@@ -20,7 +19,9 @@ import { UsersUserFull } from '../objects/users/UsersUserFull';

*/
user_ids?: string[];
user_ids?: string;
/**
* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities', 'can_invite_to_chats'
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -52,4 +53,6 @@ * Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -96,3 +99,6 @@ * Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional

count?: number;
fields?: UsersFields[];
/**
* objects.json#/definitions/users_fields
*/
fields?: string;
}

@@ -154,4 +160,6 @@ export interface UsersGetSubscriptionsResponse {

* Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online',
*
* objects.json#/definitions/users_fields
*/
fields?: UsersFields[];
fields?: string;
/**

@@ -258,3 +266,3 @@ * City ID.

group_id?: number;
from_list?: string[];
from_list?: string;
}

@@ -261,0 +269,0 @@ export interface UsersSearchResponse {

@@ -48,3 +48,3 @@ /**

*/
privacy?: string[];
privacy?: string;
}

@@ -63,3 +63,3 @@ export interface VideoAddAlbumResponse {

album_id?: number;
album_ids?: number[];
album_ids?: string;
owner_id: number;

@@ -90,3 +90,3 @@ video_id: number;

*/
attachments?: string[];
attachments?: string;
/**

@@ -175,7 +175,7 @@ * '1' — to post the comment from a community name (only if 'owner_id'<0)

*/
privacy_view?: string[];
privacy_view?: string;
/**
* Privacy settings for comments in a [vk.com/dev/privacy_setting|special format].
*/
privacy_comment?: string[];
privacy_comment?: string;
/**

@@ -212,3 +212,3 @@ * Disable comments for the group video.

*/
privacy?: string[];
privacy?: string;
}

@@ -237,3 +237,3 @@ export declare type VideoEditAlbumResponse = 1;

*/
attachments?: string[];
attachments?: string;
}

@@ -254,3 +254,3 @@ export declare type VideoEditCommentResponse = 1;

*/
videos?: string[];
videos?: string;
/**

@@ -392,3 +392,3 @@ * ID of the album containing the video(s).

extended?: 0 | 1;
fields?: string[];
fields?: string;
}

@@ -417,3 +417,3 @@ export interface VideoGetCommentsResponse {

album_id?: number;
album_ids?: number[];
album_ids?: string;
owner_id: number;

@@ -601,4 +601,4 @@ video_id: number;

album_id?: number;
privacy_view?: string[];
privacy_comment?: string[];
privacy_view?: string;
privacy_comment?: string;
no_comments?: 0 | 1;

@@ -637,3 +637,3 @@ /**

*/
filters?: string[];
filters?: string;
search_own?: 0 | 1;

@@ -640,0 +640,0 @@ /**

/**
* This is auto-generated file, don't modify this file manually
*/
import { BaseUserGroupFields } from '../objects/base/BaseUserGroupFields';
import { GroupsGroup } from '../objects/groups/GroupsGroup';

@@ -55,3 +54,3 @@ import { GroupsGroupFull } from '../objects/groups/GroupsGroupFull';

*/
attachments?: string[];
attachments?: string;
/**

@@ -123,3 +122,3 @@ * Sticker ID.

*/
attachments?: string[];
attachments?: string;
services?: string;

@@ -166,3 +165,3 @@ signed?: 0 | 1;

*/
attachments?: string[];
attachments?: string;
/**

@@ -223,3 +222,3 @@ * Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)

*/
attachments?: string[];
attachments?: string;
}

@@ -257,3 +256,6 @@ export declare type WallEditCommentResponse = 1;

extended?: 0 | 1;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
}

@@ -285,3 +287,3 @@ export interface WallGetResponse {

*/
posts: string[];
posts: string;
/**

@@ -295,3 +297,6 @@ * '1' — to return user and community objects needed to display posts, '0' — no additional fields are returned (default)

copy_history_depth?: number;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
}

@@ -319,3 +324,6 @@ export declare type WallGetByIdResponse = WallWallpostFull[];

extended?: 0 | 1;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
}

@@ -366,4 +374,7 @@ export interface WallGetCommentResponse {

extended?: 0 | 1;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
/**
* Comment ID.

@@ -495,3 +506,3 @@ */

*/
attachments?: string[];
attachments?: string;
/**

@@ -555,3 +566,3 @@ * List of services or websites the update will be exported to, if the user has so requested. Sample values: 'twitter', 'facebook'.

*/
attachments?: string[];
attachments?: string;
/**

@@ -750,3 +761,6 @@ * Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)

extended?: 0 | 1;
fields?: BaseUserGroupFields[];
/**
* objects.json#/definitions/base_user_group_fields
*/
fields?: string;
}

@@ -753,0 +767,0 @@ export interface WallSearchResponse {

/**
* This is auto-generated file, don't modify this file manually
*/
import { UsersFields } from '../objects/users/UsersFields';
import { WidgetsWidgetComment } from '../objects/widgets/WidgetsWidgetComment';

@@ -17,3 +16,6 @@ import { WidgetsWidgetPage } from '../objects/widgets/WidgetsWidgetPage';

order?: string;
fields?: UsersFields[];
/**
* objects.json#/definitions/users_fields
*/
fields?: string;
offset?: number;

@@ -20,0 +22,0 @@ count?: number;

@@ -10,9 +10,9 @@ /**

/**
* Views by female users
* Views by female users
*/
female?: number;
/**
* Views by male users
* Views by male users
*/
male?: number;
}
{
"name": "@vkontakte/api-schema-typescript",
"version": "0.0.2",
"version": "0.5126.0",
"description": "TypeScript typings for VK API",

@@ -16,3 +16,3 @@ "license": "MIT",

"@vkontakte/api-schema": "https://github.com/VKCOM/vk-api-schema.git#v5.126.11",
"@vkontakte/api-schema-typescript-generator": "0.4.0",
"@vkontakte/api-schema-typescript-generator": "0.5.0",
"typescript": "^3.9.6"

@@ -19,0 +19,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc