steamcommunity 3.47.1 → 3.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +22 -22
- package/classes/CConfirmation.js +37 -37
- package/classes/CEconItem.js +120 -120
- package/classes/CSteamSharedFile.js +221 -221
- package/classes/CSteamUser.js +225 -225
- package/components/confirmations.js +428 -428
- package/components/groups.js +798 -798
- package/components/help.js +64 -64
- package/components/helpers.js +128 -128
- package/components/http.js +150 -150
- package/components/inventoryhistory.js +173 -173
- package/components/login.js +110 -110
- package/components/market.js +387 -387
- package/components/profile.js +475 -475
- package/components/sharedfiles.js +158 -158
- package/components/twofactor.js +152 -152
- package/components/users.js +831 -831
- package/components/webapi.js +128 -25
- package/examples/README.md +35 -35
- package/examples/accept_all_confirmations.js +173 -173
- package/examples/disable_twofactor.js +98 -135
- package/examples/enable_twofactor.js +143 -182
- package/index.js +462 -462
- package/package.json +44 -44
- package/resources/EChatState.js +14 -14
- package/resources/EConfirmationType.js +12 -12
- package/resources/EFriendRelationship.js +23 -23
- package/resources/EPersonaState.js +23 -23
- package/resources/EPersonaStateFlag.js +32 -32
- package/resources/EResult.js +254 -254
- package/resources/ESharedFileType.js +13 -13
package/resources/EResult.js
CHANGED
|
@@ -1,254 +1,254 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @enum EResult
|
|
3
|
-
*/
|
|
4
|
-
module.exports = {
|
|
5
|
-
"Invalid": 0,
|
|
6
|
-
"OK": 1,
|
|
7
|
-
"Fail": 2,
|
|
8
|
-
"NoConnection": 3,
|
|
9
|
-
"InvalidPassword": 5,
|
|
10
|
-
"LoggedInElsewhere": 6,
|
|
11
|
-
"InvalidProtocolVer": 7,
|
|
12
|
-
"InvalidParam": 8,
|
|
13
|
-
"FileNotFound": 9,
|
|
14
|
-
"Busy": 10,
|
|
15
|
-
"InvalidState": 11,
|
|
16
|
-
"InvalidName": 12,
|
|
17
|
-
"InvalidEmail": 13,
|
|
18
|
-
"DuplicateName": 14,
|
|
19
|
-
"AccessDenied": 15,
|
|
20
|
-
"Timeout": 16,
|
|
21
|
-
"Banned": 17,
|
|
22
|
-
"AccountNotFound": 18,
|
|
23
|
-
"InvalidSteamID": 19,
|
|
24
|
-
"ServiceUnavailable": 20,
|
|
25
|
-
"NotLoggedOn": 21,
|
|
26
|
-
"Pending": 22,
|
|
27
|
-
"EncryptionFailure": 23,
|
|
28
|
-
"InsufficientPrivilege": 24,
|
|
29
|
-
"LimitExceeded": 25,
|
|
30
|
-
"Revoked": 26,
|
|
31
|
-
"Expired": 27,
|
|
32
|
-
"AlreadyRedeemed": 28,
|
|
33
|
-
"DuplicateRequest": 29,
|
|
34
|
-
"AlreadyOwned": 30,
|
|
35
|
-
"IPNotFound": 31,
|
|
36
|
-
"PersistFailed": 32,
|
|
37
|
-
"LockingFailed": 33,
|
|
38
|
-
"LogonSessionReplaced": 34,
|
|
39
|
-
"ConnectFailed": 35,
|
|
40
|
-
"HandshakeFailed": 36,
|
|
41
|
-
"IOFailure": 37,
|
|
42
|
-
"RemoteDisconnect": 38,
|
|
43
|
-
"ShoppingCartNotFound": 39,
|
|
44
|
-
"Blocked": 40,
|
|
45
|
-
"Ignored": 41,
|
|
46
|
-
"NoMatch": 42,
|
|
47
|
-
"AccountDisabled": 43,
|
|
48
|
-
"ServiceReadOnly": 44,
|
|
49
|
-
"AccountNotFeatured": 45,
|
|
50
|
-
"AdministratorOK": 46,
|
|
51
|
-
"ContentVersion": 47,
|
|
52
|
-
"TryAnotherCM": 48,
|
|
53
|
-
"PasswordRequiredToKickSession": 49,
|
|
54
|
-
"AlreadyLoggedInElsewhere": 50,
|
|
55
|
-
"Suspended": 51,
|
|
56
|
-
"Cancelled": 52,
|
|
57
|
-
"DataCorruption": 53,
|
|
58
|
-
"DiskFull": 54,
|
|
59
|
-
"RemoteCallFailed": 55,
|
|
60
|
-
"PasswordNotSet": 56, // removed "renamed to PasswordUnset"
|
|
61
|
-
"PasswordUnset": 56,
|
|
62
|
-
"ExternalAccountUnlinked": 57,
|
|
63
|
-
"PSNTicketInvalid": 58,
|
|
64
|
-
"ExternalAccountAlreadyLinked": 59,
|
|
65
|
-
"RemoteFileConflict": 60,
|
|
66
|
-
"IllegalPassword": 61,
|
|
67
|
-
"SameAsPreviousValue": 62,
|
|
68
|
-
"AccountLogonDenied": 63,
|
|
69
|
-
"CannotUseOldPassword": 64,
|
|
70
|
-
"InvalidLoginAuthCode": 65,
|
|
71
|
-
"AccountLogonDeniedNoMailSent": 66, // removed "renamed to AccountLogonDeniedNoMail"
|
|
72
|
-
"AccountLogonDeniedNoMail": 66,
|
|
73
|
-
"HardwareNotCapableOfIPT": 67,
|
|
74
|
-
"IPTInitError": 68,
|
|
75
|
-
"ParentalControlRestricted": 69,
|
|
76
|
-
"FacebookQueryError": 70,
|
|
77
|
-
"ExpiredLoginAuthCode": 71,
|
|
78
|
-
"IPLoginRestrictionFailed": 72,
|
|
79
|
-
"AccountLocked": 73, // removed "renamed to AccountLockedDown"
|
|
80
|
-
"AccountLockedDown": 73,
|
|
81
|
-
"AccountLogonDeniedVerifiedEmailRequired": 74,
|
|
82
|
-
"NoMatchingURL": 75,
|
|
83
|
-
"BadResponse": 76,
|
|
84
|
-
"RequirePasswordReEntry": 77,
|
|
85
|
-
"ValueOutOfRange": 78,
|
|
86
|
-
"UnexpectedError": 79,
|
|
87
|
-
"Disabled": 80,
|
|
88
|
-
"InvalidCEGSubmission": 81,
|
|
89
|
-
"RestrictedDevice": 82,
|
|
90
|
-
"RegionLocked": 83,
|
|
91
|
-
"RateLimitExceeded": 84,
|
|
92
|
-
"AccountLogonDeniedNeedTwoFactorCode": 85, // removed "renamed to AccountLoginDeniedNeedTwoFactor"
|
|
93
|
-
"AccountLoginDeniedNeedTwoFactor": 85,
|
|
94
|
-
"ItemOrEntryHasBeenDeleted": 86, // removed "renamed to ItemDeleted"
|
|
95
|
-
"ItemDeleted": 86,
|
|
96
|
-
"AccountLoginDeniedThrottle": 87,
|
|
97
|
-
"TwoFactorCodeMismatch": 88,
|
|
98
|
-
"TwoFactorActivationCodeMismatch": 89,
|
|
99
|
-
"AccountAssociatedToMultiplePlayers": 90, // removed "renamed to AccountAssociatedToMultiplePartners"
|
|
100
|
-
"AccountAssociatedToMultiplePartners": 90,
|
|
101
|
-
"NotModified": 91,
|
|
102
|
-
"NoMobileDeviceAvailable": 92, // removed "renamed to NoMobileDevice"
|
|
103
|
-
"NoMobileDevice": 92,
|
|
104
|
-
"TimeIsOutOfSync": 93, // removed "renamed to TimeNotSynced"
|
|
105
|
-
"TimeNotSynced": 93,
|
|
106
|
-
"SMSCodeFailed": 94,
|
|
107
|
-
"TooManyAccountsAccessThisResource": 95, // removed "renamed to AccountLimitExceeded"
|
|
108
|
-
"AccountLimitExceeded": 95,
|
|
109
|
-
"AccountActivityLimitExceeded": 96,
|
|
110
|
-
"PhoneActivityLimitExceeded": 97,
|
|
111
|
-
"RefundToWallet": 98,
|
|
112
|
-
"EmailSendFailure": 99,
|
|
113
|
-
"NotSettled": 100,
|
|
114
|
-
"NeedCaptcha": 101,
|
|
115
|
-
"GSLTDenied": 102,
|
|
116
|
-
"GSOwnerDenied": 103,
|
|
117
|
-
"InvalidItemType": 104,
|
|
118
|
-
"IPBanned": 105,
|
|
119
|
-
"GSLTExpired": 106,
|
|
120
|
-
"InsufficientFunds": 107,
|
|
121
|
-
"TooManyPending": 108,
|
|
122
|
-
"NoSiteLicensesFound": 109,
|
|
123
|
-
"WGNetworkSendExceeded": 110,
|
|
124
|
-
"AccountNotFriends": 111,
|
|
125
|
-
"LimitedUserAccount": 112,
|
|
126
|
-
"CantRemoveItem": 113,
|
|
127
|
-
"AccountHasBeenDeleted": 114,
|
|
128
|
-
"AccountHasAnExistingUserCancelledLicense": 115,
|
|
129
|
-
"DeniedDueToCommunityCooldown": 116,
|
|
130
|
-
"NoLauncherSpecified": 117,
|
|
131
|
-
"MustAgreeToSSA": 118,
|
|
132
|
-
"ClientNoLongerSupported": 119,
|
|
133
|
-
|
|
134
|
-
// Value-to-name mapping for convenience
|
|
135
|
-
"0": "Invalid",
|
|
136
|
-
"1": "OK",
|
|
137
|
-
"2": "Fail",
|
|
138
|
-
"3": "NoConnection",
|
|
139
|
-
"5": "InvalidPassword",
|
|
140
|
-
"6": "LoggedInElsewhere",
|
|
141
|
-
"7": "InvalidProtocolVer",
|
|
142
|
-
"8": "InvalidParam",
|
|
143
|
-
"9": "FileNotFound",
|
|
144
|
-
"10": "Busy",
|
|
145
|
-
"11": "InvalidState",
|
|
146
|
-
"12": "InvalidName",
|
|
147
|
-
"13": "InvalidEmail",
|
|
148
|
-
"14": "DuplicateName",
|
|
149
|
-
"15": "AccessDenied",
|
|
150
|
-
"16": "Timeout",
|
|
151
|
-
"17": "Banned",
|
|
152
|
-
"18": "AccountNotFound",
|
|
153
|
-
"19": "InvalidSteamID",
|
|
154
|
-
"20": "ServiceUnavailable",
|
|
155
|
-
"21": "NotLoggedOn",
|
|
156
|
-
"22": "Pending",
|
|
157
|
-
"23": "EncryptionFailure",
|
|
158
|
-
"24": "InsufficientPrivilege",
|
|
159
|
-
"25": "LimitExceeded",
|
|
160
|
-
"26": "Revoked",
|
|
161
|
-
"27": "Expired",
|
|
162
|
-
"28": "AlreadyRedeemed",
|
|
163
|
-
"29": "DuplicateRequest",
|
|
164
|
-
"30": "AlreadyOwned",
|
|
165
|
-
"31": "IPNotFound",
|
|
166
|
-
"32": "PersistFailed",
|
|
167
|
-
"33": "LockingFailed",
|
|
168
|
-
"34": "LogonSessionReplaced",
|
|
169
|
-
"35": "ConnectFailed",
|
|
170
|
-
"36": "HandshakeFailed",
|
|
171
|
-
"37": "IOFailure",
|
|
172
|
-
"38": "RemoteDisconnect",
|
|
173
|
-
"39": "ShoppingCartNotFound",
|
|
174
|
-
"40": "Blocked",
|
|
175
|
-
"41": "Ignored",
|
|
176
|
-
"42": "NoMatch",
|
|
177
|
-
"43": "AccountDisabled",
|
|
178
|
-
"44": "ServiceReadOnly",
|
|
179
|
-
"45": "AccountNotFeatured",
|
|
180
|
-
"46": "AdministratorOK",
|
|
181
|
-
"47": "ContentVersion",
|
|
182
|
-
"48": "TryAnotherCM",
|
|
183
|
-
"49": "PasswordRequiredToKickSession",
|
|
184
|
-
"50": "AlreadyLoggedInElsewhere",
|
|
185
|
-
"51": "Suspended",
|
|
186
|
-
"52": "Cancelled",
|
|
187
|
-
"53": "DataCorruption",
|
|
188
|
-
"54": "DiskFull",
|
|
189
|
-
"55": "RemoteCallFailed",
|
|
190
|
-
"56": "PasswordUnset",
|
|
191
|
-
"57": "ExternalAccountUnlinked",
|
|
192
|
-
"58": "PSNTicketInvalid",
|
|
193
|
-
"59": "ExternalAccountAlreadyLinked",
|
|
194
|
-
"60": "RemoteFileConflict",
|
|
195
|
-
"61": "IllegalPassword",
|
|
196
|
-
"62": "SameAsPreviousValue",
|
|
197
|
-
"63": "AccountLogonDenied",
|
|
198
|
-
"64": "CannotUseOldPassword",
|
|
199
|
-
"65": "InvalidLoginAuthCode",
|
|
200
|
-
"66": "AccountLogonDeniedNoMail",
|
|
201
|
-
"67": "HardwareNotCapableOfIPT",
|
|
202
|
-
"68": "IPTInitError",
|
|
203
|
-
"69": "ParentalControlRestricted",
|
|
204
|
-
"70": "FacebookQueryError",
|
|
205
|
-
"71": "ExpiredLoginAuthCode",
|
|
206
|
-
"72": "IPLoginRestrictionFailed",
|
|
207
|
-
"73": "AccountLockedDown",
|
|
208
|
-
"74": "AccountLogonDeniedVerifiedEmailRequired",
|
|
209
|
-
"75": "NoMatchingURL",
|
|
210
|
-
"76": "BadResponse",
|
|
211
|
-
"77": "RequirePasswordReEntry",
|
|
212
|
-
"78": "ValueOutOfRange",
|
|
213
|
-
"79": "UnexpectedError",
|
|
214
|
-
"80": "Disabled",
|
|
215
|
-
"81": "InvalidCEGSubmission",
|
|
216
|
-
"82": "RestrictedDevice",
|
|
217
|
-
"83": "RegionLocked",
|
|
218
|
-
"84": "RateLimitExceeded",
|
|
219
|
-
"85": "AccountLoginDeniedNeedTwoFactor",
|
|
220
|
-
"86": "ItemDeleted",
|
|
221
|
-
"87": "AccountLoginDeniedThrottle",
|
|
222
|
-
"88": "TwoFactorCodeMismatch",
|
|
223
|
-
"89": "TwoFactorActivationCodeMismatch",
|
|
224
|
-
"90": "AccountAssociatedToMultiplePartners",
|
|
225
|
-
"91": "NotModified",
|
|
226
|
-
"92": "NoMobileDevice",
|
|
227
|
-
"93": "TimeNotSynced",
|
|
228
|
-
"94": "SMSCodeFailed",
|
|
229
|
-
"95": "AccountLimitExceeded",
|
|
230
|
-
"96": "AccountActivityLimitExceeded",
|
|
231
|
-
"97": "PhoneActivityLimitExceeded",
|
|
232
|
-
"98": "RefundToWallet",
|
|
233
|
-
"99": "EmailSendFailure",
|
|
234
|
-
"100": "NotSettled",
|
|
235
|
-
"101": "NeedCaptcha",
|
|
236
|
-
"102": "GSLTDenied",
|
|
237
|
-
"103": "GSOwnerDenied",
|
|
238
|
-
"104": "InvalidItemType",
|
|
239
|
-
"105": "IPBanned",
|
|
240
|
-
"106": "GSLTExpired",
|
|
241
|
-
"107": "InsufficientFunds",
|
|
242
|
-
"108": "TooManyPending",
|
|
243
|
-
"109": "NoSiteLicensesFound",
|
|
244
|
-
"110": "WGNetworkSendExceeded",
|
|
245
|
-
"111": "AccountNotFriends",
|
|
246
|
-
"112": "LimitedUserAccount",
|
|
247
|
-
"113": "CantRemoveItem",
|
|
248
|
-
"114": "AccountHasBeenDeleted",
|
|
249
|
-
"115": "AccountHasAnExistingUserCancelledLicense",
|
|
250
|
-
"116": "DeniedDueToCommunityCooldown",
|
|
251
|
-
"117": "NoLauncherSpecified",
|
|
252
|
-
"118": "MustAgreeToSSA",
|
|
253
|
-
"119": "ClientNoLongerSupported",
|
|
254
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @enum EResult
|
|
3
|
+
*/
|
|
4
|
+
module.exports = {
|
|
5
|
+
"Invalid": 0,
|
|
6
|
+
"OK": 1,
|
|
7
|
+
"Fail": 2,
|
|
8
|
+
"NoConnection": 3,
|
|
9
|
+
"InvalidPassword": 5,
|
|
10
|
+
"LoggedInElsewhere": 6,
|
|
11
|
+
"InvalidProtocolVer": 7,
|
|
12
|
+
"InvalidParam": 8,
|
|
13
|
+
"FileNotFound": 9,
|
|
14
|
+
"Busy": 10,
|
|
15
|
+
"InvalidState": 11,
|
|
16
|
+
"InvalidName": 12,
|
|
17
|
+
"InvalidEmail": 13,
|
|
18
|
+
"DuplicateName": 14,
|
|
19
|
+
"AccessDenied": 15,
|
|
20
|
+
"Timeout": 16,
|
|
21
|
+
"Banned": 17,
|
|
22
|
+
"AccountNotFound": 18,
|
|
23
|
+
"InvalidSteamID": 19,
|
|
24
|
+
"ServiceUnavailable": 20,
|
|
25
|
+
"NotLoggedOn": 21,
|
|
26
|
+
"Pending": 22,
|
|
27
|
+
"EncryptionFailure": 23,
|
|
28
|
+
"InsufficientPrivilege": 24,
|
|
29
|
+
"LimitExceeded": 25,
|
|
30
|
+
"Revoked": 26,
|
|
31
|
+
"Expired": 27,
|
|
32
|
+
"AlreadyRedeemed": 28,
|
|
33
|
+
"DuplicateRequest": 29,
|
|
34
|
+
"AlreadyOwned": 30,
|
|
35
|
+
"IPNotFound": 31,
|
|
36
|
+
"PersistFailed": 32,
|
|
37
|
+
"LockingFailed": 33,
|
|
38
|
+
"LogonSessionReplaced": 34,
|
|
39
|
+
"ConnectFailed": 35,
|
|
40
|
+
"HandshakeFailed": 36,
|
|
41
|
+
"IOFailure": 37,
|
|
42
|
+
"RemoteDisconnect": 38,
|
|
43
|
+
"ShoppingCartNotFound": 39,
|
|
44
|
+
"Blocked": 40,
|
|
45
|
+
"Ignored": 41,
|
|
46
|
+
"NoMatch": 42,
|
|
47
|
+
"AccountDisabled": 43,
|
|
48
|
+
"ServiceReadOnly": 44,
|
|
49
|
+
"AccountNotFeatured": 45,
|
|
50
|
+
"AdministratorOK": 46,
|
|
51
|
+
"ContentVersion": 47,
|
|
52
|
+
"TryAnotherCM": 48,
|
|
53
|
+
"PasswordRequiredToKickSession": 49,
|
|
54
|
+
"AlreadyLoggedInElsewhere": 50,
|
|
55
|
+
"Suspended": 51,
|
|
56
|
+
"Cancelled": 52,
|
|
57
|
+
"DataCorruption": 53,
|
|
58
|
+
"DiskFull": 54,
|
|
59
|
+
"RemoteCallFailed": 55,
|
|
60
|
+
"PasswordNotSet": 56, // removed "renamed to PasswordUnset"
|
|
61
|
+
"PasswordUnset": 56,
|
|
62
|
+
"ExternalAccountUnlinked": 57,
|
|
63
|
+
"PSNTicketInvalid": 58,
|
|
64
|
+
"ExternalAccountAlreadyLinked": 59,
|
|
65
|
+
"RemoteFileConflict": 60,
|
|
66
|
+
"IllegalPassword": 61,
|
|
67
|
+
"SameAsPreviousValue": 62,
|
|
68
|
+
"AccountLogonDenied": 63,
|
|
69
|
+
"CannotUseOldPassword": 64,
|
|
70
|
+
"InvalidLoginAuthCode": 65,
|
|
71
|
+
"AccountLogonDeniedNoMailSent": 66, // removed "renamed to AccountLogonDeniedNoMail"
|
|
72
|
+
"AccountLogonDeniedNoMail": 66,
|
|
73
|
+
"HardwareNotCapableOfIPT": 67,
|
|
74
|
+
"IPTInitError": 68,
|
|
75
|
+
"ParentalControlRestricted": 69,
|
|
76
|
+
"FacebookQueryError": 70,
|
|
77
|
+
"ExpiredLoginAuthCode": 71,
|
|
78
|
+
"IPLoginRestrictionFailed": 72,
|
|
79
|
+
"AccountLocked": 73, // removed "renamed to AccountLockedDown"
|
|
80
|
+
"AccountLockedDown": 73,
|
|
81
|
+
"AccountLogonDeniedVerifiedEmailRequired": 74,
|
|
82
|
+
"NoMatchingURL": 75,
|
|
83
|
+
"BadResponse": 76,
|
|
84
|
+
"RequirePasswordReEntry": 77,
|
|
85
|
+
"ValueOutOfRange": 78,
|
|
86
|
+
"UnexpectedError": 79,
|
|
87
|
+
"Disabled": 80,
|
|
88
|
+
"InvalidCEGSubmission": 81,
|
|
89
|
+
"RestrictedDevice": 82,
|
|
90
|
+
"RegionLocked": 83,
|
|
91
|
+
"RateLimitExceeded": 84,
|
|
92
|
+
"AccountLogonDeniedNeedTwoFactorCode": 85, // removed "renamed to AccountLoginDeniedNeedTwoFactor"
|
|
93
|
+
"AccountLoginDeniedNeedTwoFactor": 85,
|
|
94
|
+
"ItemOrEntryHasBeenDeleted": 86, // removed "renamed to ItemDeleted"
|
|
95
|
+
"ItemDeleted": 86,
|
|
96
|
+
"AccountLoginDeniedThrottle": 87,
|
|
97
|
+
"TwoFactorCodeMismatch": 88,
|
|
98
|
+
"TwoFactorActivationCodeMismatch": 89,
|
|
99
|
+
"AccountAssociatedToMultiplePlayers": 90, // removed "renamed to AccountAssociatedToMultiplePartners"
|
|
100
|
+
"AccountAssociatedToMultiplePartners": 90,
|
|
101
|
+
"NotModified": 91,
|
|
102
|
+
"NoMobileDeviceAvailable": 92, // removed "renamed to NoMobileDevice"
|
|
103
|
+
"NoMobileDevice": 92,
|
|
104
|
+
"TimeIsOutOfSync": 93, // removed "renamed to TimeNotSynced"
|
|
105
|
+
"TimeNotSynced": 93,
|
|
106
|
+
"SMSCodeFailed": 94,
|
|
107
|
+
"TooManyAccountsAccessThisResource": 95, // removed "renamed to AccountLimitExceeded"
|
|
108
|
+
"AccountLimitExceeded": 95,
|
|
109
|
+
"AccountActivityLimitExceeded": 96,
|
|
110
|
+
"PhoneActivityLimitExceeded": 97,
|
|
111
|
+
"RefundToWallet": 98,
|
|
112
|
+
"EmailSendFailure": 99,
|
|
113
|
+
"NotSettled": 100,
|
|
114
|
+
"NeedCaptcha": 101,
|
|
115
|
+
"GSLTDenied": 102,
|
|
116
|
+
"GSOwnerDenied": 103,
|
|
117
|
+
"InvalidItemType": 104,
|
|
118
|
+
"IPBanned": 105,
|
|
119
|
+
"GSLTExpired": 106,
|
|
120
|
+
"InsufficientFunds": 107,
|
|
121
|
+
"TooManyPending": 108,
|
|
122
|
+
"NoSiteLicensesFound": 109,
|
|
123
|
+
"WGNetworkSendExceeded": 110,
|
|
124
|
+
"AccountNotFriends": 111,
|
|
125
|
+
"LimitedUserAccount": 112,
|
|
126
|
+
"CantRemoveItem": 113,
|
|
127
|
+
"AccountHasBeenDeleted": 114,
|
|
128
|
+
"AccountHasAnExistingUserCancelledLicense": 115,
|
|
129
|
+
"DeniedDueToCommunityCooldown": 116,
|
|
130
|
+
"NoLauncherSpecified": 117,
|
|
131
|
+
"MustAgreeToSSA": 118,
|
|
132
|
+
"ClientNoLongerSupported": 119,
|
|
133
|
+
|
|
134
|
+
// Value-to-name mapping for convenience
|
|
135
|
+
"0": "Invalid",
|
|
136
|
+
"1": "OK",
|
|
137
|
+
"2": "Fail",
|
|
138
|
+
"3": "NoConnection",
|
|
139
|
+
"5": "InvalidPassword",
|
|
140
|
+
"6": "LoggedInElsewhere",
|
|
141
|
+
"7": "InvalidProtocolVer",
|
|
142
|
+
"8": "InvalidParam",
|
|
143
|
+
"9": "FileNotFound",
|
|
144
|
+
"10": "Busy",
|
|
145
|
+
"11": "InvalidState",
|
|
146
|
+
"12": "InvalidName",
|
|
147
|
+
"13": "InvalidEmail",
|
|
148
|
+
"14": "DuplicateName",
|
|
149
|
+
"15": "AccessDenied",
|
|
150
|
+
"16": "Timeout",
|
|
151
|
+
"17": "Banned",
|
|
152
|
+
"18": "AccountNotFound",
|
|
153
|
+
"19": "InvalidSteamID",
|
|
154
|
+
"20": "ServiceUnavailable",
|
|
155
|
+
"21": "NotLoggedOn",
|
|
156
|
+
"22": "Pending",
|
|
157
|
+
"23": "EncryptionFailure",
|
|
158
|
+
"24": "InsufficientPrivilege",
|
|
159
|
+
"25": "LimitExceeded",
|
|
160
|
+
"26": "Revoked",
|
|
161
|
+
"27": "Expired",
|
|
162
|
+
"28": "AlreadyRedeemed",
|
|
163
|
+
"29": "DuplicateRequest",
|
|
164
|
+
"30": "AlreadyOwned",
|
|
165
|
+
"31": "IPNotFound",
|
|
166
|
+
"32": "PersistFailed",
|
|
167
|
+
"33": "LockingFailed",
|
|
168
|
+
"34": "LogonSessionReplaced",
|
|
169
|
+
"35": "ConnectFailed",
|
|
170
|
+
"36": "HandshakeFailed",
|
|
171
|
+
"37": "IOFailure",
|
|
172
|
+
"38": "RemoteDisconnect",
|
|
173
|
+
"39": "ShoppingCartNotFound",
|
|
174
|
+
"40": "Blocked",
|
|
175
|
+
"41": "Ignored",
|
|
176
|
+
"42": "NoMatch",
|
|
177
|
+
"43": "AccountDisabled",
|
|
178
|
+
"44": "ServiceReadOnly",
|
|
179
|
+
"45": "AccountNotFeatured",
|
|
180
|
+
"46": "AdministratorOK",
|
|
181
|
+
"47": "ContentVersion",
|
|
182
|
+
"48": "TryAnotherCM",
|
|
183
|
+
"49": "PasswordRequiredToKickSession",
|
|
184
|
+
"50": "AlreadyLoggedInElsewhere",
|
|
185
|
+
"51": "Suspended",
|
|
186
|
+
"52": "Cancelled",
|
|
187
|
+
"53": "DataCorruption",
|
|
188
|
+
"54": "DiskFull",
|
|
189
|
+
"55": "RemoteCallFailed",
|
|
190
|
+
"56": "PasswordUnset",
|
|
191
|
+
"57": "ExternalAccountUnlinked",
|
|
192
|
+
"58": "PSNTicketInvalid",
|
|
193
|
+
"59": "ExternalAccountAlreadyLinked",
|
|
194
|
+
"60": "RemoteFileConflict",
|
|
195
|
+
"61": "IllegalPassword",
|
|
196
|
+
"62": "SameAsPreviousValue",
|
|
197
|
+
"63": "AccountLogonDenied",
|
|
198
|
+
"64": "CannotUseOldPassword",
|
|
199
|
+
"65": "InvalidLoginAuthCode",
|
|
200
|
+
"66": "AccountLogonDeniedNoMail",
|
|
201
|
+
"67": "HardwareNotCapableOfIPT",
|
|
202
|
+
"68": "IPTInitError",
|
|
203
|
+
"69": "ParentalControlRestricted",
|
|
204
|
+
"70": "FacebookQueryError",
|
|
205
|
+
"71": "ExpiredLoginAuthCode",
|
|
206
|
+
"72": "IPLoginRestrictionFailed",
|
|
207
|
+
"73": "AccountLockedDown",
|
|
208
|
+
"74": "AccountLogonDeniedVerifiedEmailRequired",
|
|
209
|
+
"75": "NoMatchingURL",
|
|
210
|
+
"76": "BadResponse",
|
|
211
|
+
"77": "RequirePasswordReEntry",
|
|
212
|
+
"78": "ValueOutOfRange",
|
|
213
|
+
"79": "UnexpectedError",
|
|
214
|
+
"80": "Disabled",
|
|
215
|
+
"81": "InvalidCEGSubmission",
|
|
216
|
+
"82": "RestrictedDevice",
|
|
217
|
+
"83": "RegionLocked",
|
|
218
|
+
"84": "RateLimitExceeded",
|
|
219
|
+
"85": "AccountLoginDeniedNeedTwoFactor",
|
|
220
|
+
"86": "ItemDeleted",
|
|
221
|
+
"87": "AccountLoginDeniedThrottle",
|
|
222
|
+
"88": "TwoFactorCodeMismatch",
|
|
223
|
+
"89": "TwoFactorActivationCodeMismatch",
|
|
224
|
+
"90": "AccountAssociatedToMultiplePartners",
|
|
225
|
+
"91": "NotModified",
|
|
226
|
+
"92": "NoMobileDevice",
|
|
227
|
+
"93": "TimeNotSynced",
|
|
228
|
+
"94": "SMSCodeFailed",
|
|
229
|
+
"95": "AccountLimitExceeded",
|
|
230
|
+
"96": "AccountActivityLimitExceeded",
|
|
231
|
+
"97": "PhoneActivityLimitExceeded",
|
|
232
|
+
"98": "RefundToWallet",
|
|
233
|
+
"99": "EmailSendFailure",
|
|
234
|
+
"100": "NotSettled",
|
|
235
|
+
"101": "NeedCaptcha",
|
|
236
|
+
"102": "GSLTDenied",
|
|
237
|
+
"103": "GSOwnerDenied",
|
|
238
|
+
"104": "InvalidItemType",
|
|
239
|
+
"105": "IPBanned",
|
|
240
|
+
"106": "GSLTExpired",
|
|
241
|
+
"107": "InsufficientFunds",
|
|
242
|
+
"108": "TooManyPending",
|
|
243
|
+
"109": "NoSiteLicensesFound",
|
|
244
|
+
"110": "WGNetworkSendExceeded",
|
|
245
|
+
"111": "AccountNotFriends",
|
|
246
|
+
"112": "LimitedUserAccount",
|
|
247
|
+
"113": "CantRemoveItem",
|
|
248
|
+
"114": "AccountHasBeenDeleted",
|
|
249
|
+
"115": "AccountHasAnExistingUserCancelledLicense",
|
|
250
|
+
"116": "DeniedDueToCommunityCooldown",
|
|
251
|
+
"117": "NoLauncherSpecified",
|
|
252
|
+
"118": "MustAgreeToSSA",
|
|
253
|
+
"119": "ClientNoLongerSupported",
|
|
254
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @enum ESharedFileType
|
|
3
|
-
*/
|
|
4
|
-
module.exports = {
|
|
5
|
-
"Screenshot": 0,
|
|
6
|
-
"Artwork": 1,
|
|
7
|
-
"Guide": 2,
|
|
8
|
-
|
|
9
|
-
// Value-to-name mapping for convenience
|
|
10
|
-
"0": "Screenshot",
|
|
11
|
-
"1": "Artwork",
|
|
12
|
-
"2": "Guide"
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @enum ESharedFileType
|
|
3
|
+
*/
|
|
4
|
+
module.exports = {
|
|
5
|
+
"Screenshot": 0,
|
|
6
|
+
"Artwork": 1,
|
|
7
|
+
"Guide": 2,
|
|
8
|
+
|
|
9
|
+
// Value-to-name mapping for convenience
|
|
10
|
+
"0": "Screenshot",
|
|
11
|
+
"1": "Artwork",
|
|
12
|
+
"2": "Guide"
|
|
13
|
+
};
|