commit | author | age
|
3eceb5
|
1 |
// |
W |
2 |
// VKApiConst.h |
|
3 |
// |
|
4 |
// Copyright (c) 2014 VK.com |
|
5 |
// |
|
6 |
// Permission is hereby granted, free of charge, to any person obtaining a copy of |
|
7 |
// this software and associated documentation files (the "Software"), to deal in |
|
8 |
// the Software without restriction, including without limitation the rights to |
|
9 |
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of |
|
10 |
// the Software, and to permit persons to whom the Software is furnished to do so, |
|
11 |
// subject to the following conditions: |
|
12 |
// |
|
13 |
// The above copyright notice and this permission notice shall be included in all |
|
14 |
// copies or substantial portions of the Software. |
|
15 |
// |
|
16 |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
17 |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
|
18 |
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
|
19 |
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
|
20 |
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
|
21 |
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
22 |
|
|
23 |
typedef NSString *VKDisplayType; |
|
24 |
extern VKDisplayType const VK_DISPLAY_IOS; |
|
25 |
extern VKDisplayType const VK_DISPLAY_MOBILE; |
|
26 |
//Commons |
|
27 |
extern NSString *const VK_ORIGINAL_CLIENT_BUNDLE; |
|
28 |
extern NSString *const VK_ORIGINAL_HD_CLIENT_BUNDLE; |
|
29 |
extern NSString *const VK_DEBUG_CLIENT_BUNDLE; |
|
30 |
extern NSString *const VK_API_USER_ID; |
|
31 |
extern NSString *const VK_API_USER_IDS; |
|
32 |
extern NSString *const VK_API_FIELDS; |
|
33 |
extern NSString *const VK_API_SORT; |
|
34 |
extern NSString *const VK_API_OFFSET; |
|
35 |
extern NSString *const VK_API_COUNT; |
|
36 |
extern NSString *const VK_API_OWNER_ID; |
|
37 |
|
|
38 |
//auth |
|
39 |
extern NSString *const VK_API_LANG; |
|
40 |
extern NSString *const VK_API_ACCESS_TOKEN; |
|
41 |
extern NSString *const VK_API_SIG; |
|
42 |
|
|
43 |
//get users |
|
44 |
extern NSString *const VK_API_NAME_CASE; |
|
45 |
extern NSString *const VK_API_ORDER; |
|
46 |
|
|
47 |
//Get subscriptions |
|
48 |
extern NSString *const VK_API_EXTENDED; |
|
49 |
|
|
50 |
//Search |
|
51 |
extern NSString *const VK_API_Q; |
|
52 |
extern NSString *const VK_API_CITY; |
|
53 |
extern NSString *const VK_API_COUNTRY; |
|
54 |
extern NSString *const VK_API_HOMETOWN; |
|
55 |
extern NSString *const VK_API_UNIVERSITY_COUNTRY; |
|
56 |
extern NSString *const VK_API_UNIVERSITY; |
|
57 |
extern NSString *const VK_API_UNIVERSITY_YEAR; |
|
58 |
extern NSString *const VK_API_SEX; |
|
59 |
extern NSString *const VK_API_STATUS; |
|
60 |
extern NSString *const VK_API_AGE_FROM; |
|
61 |
extern NSString *const VK_API_AGE_TO; |
|
62 |
extern NSString *const VK_API_BIRTH_DAY; |
|
63 |
extern NSString *const VK_API_BIRTH_MONTH; |
|
64 |
extern NSString *const VK_API_BIRTH_YEAR; |
|
65 |
extern NSString *const VK_API_ONLINE; |
|
66 |
extern NSString *const VK_API_HAS_PHOTO; |
|
67 |
extern NSString *const VK_API_SCHOOL_COUNTRY; |
|
68 |
extern NSString *const VK_API_SCHOOL_CITY; |
|
69 |
extern NSString *const VK_API_SCHOOL; |
|
70 |
extern NSString *const VK_API_SCHOOL_YEAR; |
|
71 |
extern NSString *const VK_API_RELIGION; |
|
72 |
extern NSString *const VK_API_INTERESTS; |
|
73 |
extern NSString *const VK_API_COMPANY; |
|
74 |
extern NSString *const VK_API_POSITION; |
|
75 |
extern NSString *const VK_API_GROUP_ID; |
|
76 |
extern NSString *const VK_API_GROUP_IDS; |
|
77 |
|
|
78 |
extern NSString *const VK_API_FRIENDS_ONLY; |
|
79 |
extern NSString *const VK_API_FROM_GROUP; |
|
80 |
extern NSString *const VK_API_MESSAGE; |
|
81 |
extern NSString *const VK_API_ATTACHMENT; |
|
82 |
extern NSString *const VK_API_ATTACHMENTS; |
|
83 |
extern NSString *const VK_API_SERVICES; |
|
84 |
extern NSString *const VK_API_SIGNED; |
|
85 |
extern NSString *const VK_API_PUBLISH_DATE; |
|
86 |
extern NSString *const VK_API_LAT; |
|
87 |
extern NSString *const VK_API_LONG; |
|
88 |
extern NSString *const VK_API_PLACE_ID; |
|
89 |
extern NSString *const VK_API_POST_ID; |
|
90 |
|
|
91 |
//Errors |
|
92 |
extern NSString *const VK_API_ERROR_CODE; |
|
93 |
extern NSString *const VK_API_ERROR_MSG; |
|
94 |
extern NSString *const VK_API_ERROR_TEXT; |
|
95 |
extern NSString *const VK_API_REQUEST_PARAMS; |
|
96 |
|
|
97 |
//Captcha |
|
98 |
extern NSString *const VK_API_CAPTCHA_IMG; |
|
99 |
extern NSString *const VK_API_CAPTCHA_SID; |
|
100 |
extern NSString *const VK_API_CAPTCHA_KEY; |
|
101 |
extern NSString *const VK_API_REDIRECT_URI; |
|
102 |
|
|
103 |
// Documents |
|
104 |
extern NSString *const VK_API_DOC_ID; |
|
105 |
extern NSString *const VK_API_ACCESS_KEY; |
|
106 |
extern NSString *const VK_API_FILE; |
|
107 |
extern NSString *const VK_API_TITLE; |
|
108 |
extern NSString *const VK_API_TAGS; |
|
109 |
|
|
110 |
|
|
111 |
//Photos |
|
112 |
extern NSString *const VK_API_PHOTO; |
|
113 |
extern NSString *const VK_API_ALBUM_ID; |
|
114 |
|
|
115 |
//Events |
|
116 |
extern NSString *const VKCaptchaAnsweredEvent; |
|
117 |
|
|
118 |
//Enums |
|
119 |
typedef NS_ENUM(NSInteger, VKProgressType) { |
|
120 |
VKProgressTypeUpload, |
|
121 |
VKProgressTypeDownload |
|
122 |
}; |
|
123 |
|