@vkontakte/api-schema-typescript
Advanced tools
Comparing version 0.5126.0 to 0.5126.1
@@ -89,2 +89,3 @@ /** | ||
export { NewsfeedNewsfeedItemType, } from './objects/newsfeed/NewsfeedNewsfeedItemType'; | ||
export { VideoVideoLiveStatusEnum, VideoVideoTypeEnum, } from './objects/notifications/NotificationsNotificationParent'; | ||
export { NotificationsSendMessageErrorCodeEnum, } from './objects/notifications/NotificationsSendMessageError'; | ||
@@ -111,3 +112,2 @@ export { OwnerStateStateEnum, } from './objects/owner/OwnerState'; | ||
export { VideoRestrictionButtonActionEnum, } from './objects/video/VideoRestrictionButton'; | ||
export { VideoVideoLiveStatusEnum, VideoVideoTypeEnum, } from './objects/video/VideoVideo'; | ||
export { WallCommentAttachmentType, } from './objects/wall/WallCommentAttachmentType'; | ||
@@ -114,0 +114,0 @@ export { WallPostSourceType, } from './objects/wall/WallPostSourceType'; |
@@ -488,2 +488,14 @@ /** | ||
/** | ||
* ads.getMusiciansByIds | ||
*/ | ||
export interface AdsGetMusiciansByIdsParams { | ||
ids: string; | ||
} | ||
export interface AdsGetMusiciansByIdsResponse { | ||
/** | ||
* Musicians | ||
*/ | ||
items: AdsMusician[]; | ||
} | ||
/** | ||
* ads.getOfficeUsers | ||
@@ -490,0 +502,0 @@ * |
@@ -170,2 +170,23 @@ /** | ||
/** | ||
* apps.getMiniAppPolicies | ||
* | ||
* Returns policies and terms given to a mini app. | ||
*/ | ||
export interface AppsGetMiniAppPoliciesParams { | ||
/** | ||
* Mini App ID | ||
*/ | ||
app_id: number; | ||
} | ||
export interface AppsGetMiniAppPoliciesResponse { | ||
/** | ||
* URL of the app's privacy policy | ||
*/ | ||
privacy_policy?: string; | ||
/** | ||
* URL of the app's terms | ||
*/ | ||
terms?: string; | ||
} | ||
/** | ||
* apps.getScopes | ||
@@ -172,0 +193,0 @@ * |
@@ -17,2 +17,18 @@ /** | ||
/** | ||
* fave.addClassified | ||
* | ||
* Adds a link to user faves. | ||
*/ | ||
export interface FaveAddClassifiedParams { | ||
/** | ||
* Classifieds item source | ||
*/ | ||
item_source: 'youla'; | ||
/** | ||
* Classifieds item id | ||
*/ | ||
item_id: string; | ||
} | ||
export declare type FaveAddClassifiedResponse = 1; | ||
/** | ||
* fave.addLink | ||
@@ -161,2 +177,18 @@ * | ||
/** | ||
* fave.removeClassified | ||
* | ||
* Removes link from the user's faves. | ||
*/ | ||
export interface FaveRemoveClassifiedParams { | ||
/** | ||
* Classifieds item source | ||
*/ | ||
item_source: 'youla'; | ||
/** | ||
* Classifieds item id | ||
*/ | ||
item_id: string; | ||
} | ||
export declare type FaveRemoveClassifiedResponse = 1; | ||
/** | ||
* fave.removeLink | ||
@@ -163,0 +195,0 @@ * |
@@ -491,3 +491,3 @@ /** | ||
*/ | ||
name_case?: 'nom' | 'gen' | 'dat' | 'acc' | 'ins' | 'abl'; | ||
name_case?: 'Nom' | 'Gen' | 'Dat' | 'Acc' | 'Ins' | 'Abl'; | ||
/** | ||
@@ -494,0 +494,0 @@ * Offset needed to return a specific subset of friends. |
@@ -939,3 +939,3 @@ /** | ||
/** | ||
* Information whether the stopwords filter is enabled | ||
* Information whether the stop words filter is enabled | ||
*/ | ||
@@ -972,3 +972,3 @@ obscene_stopwords: 0 | 1; | ||
/** | ||
* Finish date in Unixtime format | ||
* Finish date in Unix-time format | ||
*/ | ||
@@ -975,0 +975,0 @@ finish_date?: number; |
@@ -378,3 +378,3 @@ /** | ||
* | ||
* Returns community's collections list. | ||
* Returns community's market collections list. | ||
*/ | ||
@@ -381,0 +381,0 @@ export interface MarketGetAlbumsParams { |
@@ -431,3 +431,4 @@ /** | ||
items: MessagesConversation[]; | ||
profiles?: UsersUser[]; | ||
profiles?: UsersUserFull[]; | ||
groups?: GroupsGroupFull[]; | ||
} | ||
@@ -968,4 +969,11 @@ /** | ||
*/ | ||
count?: number; | ||
items?: MessagesConversation[]; | ||
count: number; | ||
items: MessagesConversation[]; | ||
} | ||
export interface MessagesSearchConversationsExtendedResponse { | ||
/** | ||
* Total results number | ||
*/ | ||
count: number; | ||
items: MessagesConversation[]; | ||
profiles?: UsersUserFull[]; | ||
@@ -972,0 +980,0 @@ groups?: GroupsGroupFull[]; |
@@ -13,2 +13,6 @@ /** | ||
name: string; | ||
/** | ||
* Music artist photo | ||
*/ | ||
avatar?: string; | ||
} |
@@ -6,2 +6,6 @@ /** | ||
/** | ||
* Access key for the audio | ||
*/ | ||
access_key?: string; | ||
/** | ||
* Artist name | ||
@@ -15,2 +19,6 @@ */ | ||
/** | ||
* Audio owner's ID | ||
*/ | ||
owner_id: number; | ||
/** | ||
* Title | ||
@@ -17,0 +25,0 @@ */ |
@@ -40,3 +40,3 @@ /** | ||
*/ | ||
thumb_photo: string; | ||
thumb_photo?: string; | ||
/** | ||
@@ -43,0 +43,0 @@ * Item title |
@@ -44,3 +44,3 @@ /** | ||
*/ | ||
thumb_photo: string; | ||
thumb_photo?: string; | ||
/** | ||
@@ -47,0 +47,0 @@ * Item title |
@@ -9,4 +9,4 @@ /** | ||
*/ | ||
amount?: string; | ||
currency?: MarketCurrency; | ||
amount: string; | ||
currency: MarketCurrency; | ||
discount_rate?: number; | ||
@@ -17,3 +17,3 @@ old_amount?: string; | ||
*/ | ||
text?: string; | ||
text: string; | ||
/** | ||
@@ -20,0 +20,0 @@ * Textual representation of old price |
@@ -7,4 +7,4 @@ /** | ||
export interface MessagesConversationWithMessage { | ||
conversation?: MessagesConversation; | ||
conversation: MessagesConversation; | ||
last_message?: MessagesMessage; | ||
} |
@@ -10,3 +10,2 @@ /** | ||
FRIEND = "friend", | ||
RECOMMENDED_GROUPS = "recommended_groups", | ||
NOTE = "note", | ||
@@ -16,5 +15,3 @@ AUDIO = "audio", | ||
AUDIO_PLAYLIST = "audio_playlist", | ||
GAMES_CAROUSEL = "games_carousel", | ||
CLIP = "clip", | ||
RECOMMENDED_GAME = "recommended_game" | ||
CLIP = "clip" | ||
} |
@@ -12,3 +12,2 @@ /** | ||
NewsfeedFilters["FRIEND"] = "friend"; | ||
NewsfeedFilters["RECOMMENDED_GROUPS"] = "recommended_groups"; | ||
NewsfeedFilters["NOTE"] = "note"; | ||
@@ -18,5 +17,3 @@ NewsfeedFilters["AUDIO"] = "audio"; | ||
NewsfeedFilters["AUDIO_PLAYLIST"] = "audio_playlist"; | ||
NewsfeedFilters["GAMES_CAROUSEL"] = "games_carousel"; | ||
NewsfeedFilters["CLIP"] = "clip"; | ||
NewsfeedFilters["RECOMMENDED_GAME"] = "recommended_game"; | ||
})(NewsfeedFilters || (NewsfeedFilters = {})); |
/** | ||
* This is auto-generated file, don't modify this file manually | ||
*/ | ||
export interface NotificationsNotificationItem { | ||
[key: string]: any; | ||
} | ||
import { NotificationsNotification } from './NotificationsNotification'; | ||
export declare type NotificationsNotificationItem = NotificationsNotification; |
{ | ||
"name": "@vkontakte/api-schema-typescript", | ||
"version": "0.5126.0", | ||
"version": "0.5126.1", | ||
"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.126.11", | ||
"@vkontakte/api-schema": "https://github.com/VKCOM/vk-api-schema.git#v5.126.13", | ||
"@vkontakte/api-schema-typescript-generator": "0.5.0", | ||
@@ -18,0 +18,0 @@ "typescript": "^3.9.6" |
@@ -8,3 +8,3 @@ # VK API Schema Typescript | ||
The package versions will follow API versions. It means that for **5.126** API version the package version will be **5.126.\***. | ||
The package versions will follow API versions. It means that for **5.126** API version the package version will be **\*.5126.\***. | ||
@@ -11,0 +11,0 @@ ## Install |
Sorry, the diff of this file is too big to display
811835
997
29216