steamutils 1.3.65 → 1.3.67

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.
Files changed (167) hide show
  1. package/SteamClient.js +6 -3
  2. package/package.json +2 -2
  3. package/protos/csgo/base_gcmessages.proto +553 -0
  4. package/protos/csgo/connectionless_netmessages.proto +0 -2
  5. package/protos/csgo/cs_gameevents.proto +1 -0
  6. package/protos/csgo/cstrike15_gcmessages.proto +41 -12
  7. package/protos/csgo/cstrike15_usermessages.proto +0 -4
  8. package/protos/csgo/demo.proto +5 -0
  9. package/protos/csgo/econ_gcmessages.proto +0 -9
  10. package/protos/csgo/gcsdk_gcmessages.proto +2 -2
  11. package/protos/csgo/gcsystemmsgs.proto +1 -0
  12. package/protos/csgo/netmessages.proto +22 -8
  13. package/protos/csgo/networkbasetypes.proto +2 -0
  14. package/protos/csgo/steammessages.proto +23 -0
  15. package/protos/csgo/usercmd.proto +2 -1
  16. package/protos/csgo/usermessages.proto +31 -0
  17. package/protos/steam/enums.proto +58 -1
  18. package/protos/steam/enums_clientserver.proto +3 -34
  19. package/protos/steam/enums_productinfo.proto +1 -0
  20. package/protos/steam/htmlmessages.proto +12 -0
  21. package/protos/steam/steamdatagram_messages_sdr.proto +1 -1
  22. package/protos/steam/steammessages_accounthardware.steamclient.proto +18 -52
  23. package/protos/steam/steammessages_appoverview.proto +18 -1
  24. package/protos/steam/steammessages_auth.steamclient.proto +128 -188
  25. package/protos/steam/steammessages_base.proto +3 -0
  26. package/protos/steam/steammessages_broadcast.steamclient.proto +126 -267
  27. package/protos/steam/steammessages_chat.steamclient.proto +79 -290
  28. package/protos/steam/steammessages_client_objects.proto +4 -0
  29. package/protos/steam/steammessages_clientlanp2p.proto +1 -0
  30. package/protos/steam/steammessages_clientmetrics.steamclient.proto +0 -2
  31. package/protos/steam/steammessages_clientnotificationtypes.proto +19 -0
  32. package/protos/steam/steammessages_clientserver_2.proto +11 -0
  33. package/protos/steam/steammessages_clientserver_login.proto +1 -1
  34. package/protos/steam/steammessages_clientserver_mms.proto +228 -235
  35. package/protos/steam/steammessages_clientserver_ucm.proto +2 -0
  36. package/protos/steam/steammessages_clientserver_uds.proto +1 -0
  37. package/protos/steam/steammessages_clientserver_ufs.proto +0 -127
  38. package/protos/steam/steammessages_clientsettings.proto +46 -6
  39. package/protos/steam/steammessages_cloud.steamclient.proto +158 -249
  40. package/protos/steam/steammessages_contentsystem.steamclient.proto +16 -8
  41. package/protos/steam/steammessages_credentials.steamclient.proto +7 -26
  42. package/protos/steam/steammessages_datapublisher.steamclient.proto +30 -44
  43. package/protos/steam/steammessages_depotbuilder.steamclient.proto +6 -25
  44. package/protos/steam/steammessages_deviceauth.steamclient.proto +11 -45
  45. package/protos/steam/steammessages_econ.steamclient.proto +12 -25
  46. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -0
  47. package/protos/steam/steammessages_friendmessages.steamclient.proto +19 -46
  48. package/protos/steam/steammessages_gamenetworking.steamclient.proto +2 -9
  49. package/protos/steam/steammessages_gamenotifications.steamclient.proto +57 -82
  50. package/protos/steam/steammessages_gameservers.steamclient.proto +13 -29
  51. package/protos/steam/steammessages_inventory.steamclient.proto +21 -73
  52. package/protos/steam/steammessages_linkfilter.steamclient.proto +14 -24
  53. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +1 -5
  54. package/protos/steam/steammessages_market.steamclient.proto +9 -13
  55. package/protos/steam/steammessages_marketingmessages.steamclient.proto +59 -60
  56. package/protos/steam/steammessages_offline.steamclient.proto +2 -9
  57. package/protos/steam/steammessages_parental.steamclient.proto +100 -66
  58. package/protos/steam/steammessages_parties.steamclient.proto +6 -25
  59. package/protos/steam/steammessages_partnerapps.steamclient.proto +11 -43
  60. package/protos/steam/steammessages_player.steamclient.proto +133 -278
  61. package/protos/steam/steammessages_publishedfile.steamclient.proto +213 -289
  62. package/protos/steam/steammessages_qms.steamclient.proto +4 -18
  63. package/protos/steam/steammessages_remoteclient.proto +2 -1
  64. package/protos/steam/steammessages_remoteclient_discovery.proto +9 -0
  65. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +18 -73
  66. package/protos/steam/steammessages_remoteplay.proto +1 -2
  67. package/protos/steam/steammessages_secrets.steamclient.proto +1 -5
  68. package/protos/steam/steammessages_shader.steamclient.proto +6 -25
  69. package/protos/steam/steammessages_site_license.steamclient.proto +8 -33
  70. package/protos/steam/steammessages_steamtv.steamclient.proto +169 -266
  71. package/protos/steam/steammessages_store.steamclient.proto +110 -77
  72. package/protos/steam/steammessages_storebrowse.steamclient.proto +170 -115
  73. package/protos/steam/steammessages_timedtrial.steamclient.proto +3 -13
  74. package/protos/steam/steammessages_twofactor.steamclient.proto +92 -121
  75. package/protos/steam/steammessages_unified_base.steamclient.proto +12 -0
  76. package/protos/steam/steammessages_unified_test.steamclient.proto +10 -20
  77. package/protos/steam/steammessages_useraccount.steamclient.proto +26 -64
  78. package/protos/steam/steammessages_vac.steamclient.proto +2 -9
  79. package/protos/steam/steammessages_video.steamclient.proto +25 -128
  80. package/protos/steam/steammessages_workshop.steamclient.proto +1 -5
  81. package/protos/steam/webuimessages_achievements.proto +29 -0
  82. package/protos/steam/webuimessages_gamescope.proto +57 -0
  83. package/protos/steam/webuimessages_steamengine.proto +9 -0
  84. package/protos/steam/webuimessages_steamos.proto +114 -0
  85. package/protos/steam/webuimessages_transport.proto +4 -0
  86. package/protos/steam/webuimessages_transportvalidation.proto +14 -0
  87. package/test_steamclient.js +7 -11
  88. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +0 -357
  89. package/protos/steam/renderer/rendermessages.proto +0 -893
  90. package/protos/steam/steammessages_star.steamclient.proto +0 -64
  91. package/protos/webui/common.proto +0 -5508
  92. package/protos/webui/common_base.proto +0 -27
  93. package/protos/webui/service_accountlinking.proto +0 -27
  94. package/protos/webui/service_accountprivacy.proto +0 -42
  95. package/protos/webui/service_auction.proto +0 -97
  96. package/protos/webui/service_authentication.proto +0 -222
  97. package/protos/webui/service_authenticationsupport.proto +0 -74
  98. package/protos/webui/service_broadcast.proto +0 -562
  99. package/protos/webui/service_chat.proto +0 -11
  100. package/protos/webui/service_chatroom.proto +0 -810
  101. package/protos/webui/service_chatusability.proto +0 -107
  102. package/protos/webui/service_clan.proto +0 -41
  103. package/protos/webui/service_clanchatrooms.proto +0 -25
  104. package/protos/webui/service_clanfaqs.proto +0 -202
  105. package/protos/webui/service_clientcomm.proto +0 -150
  106. package/protos/webui/service_clientmetrics.proto +0 -63
  107. package/protos/webui/service_cloud.proto +0 -222
  108. package/protos/webui/service_cloudconfigstore.proto +0 -51
  109. package/protos/webui/service_cloudgaming.proto +0 -30
  110. package/protos/webui/service_community.proto +0 -365
  111. package/protos/webui/service_econ.proto +0 -134
  112. package/protos/webui/service_embedded.proto +0 -24
  113. package/protos/webui/service_experimentservice.proto +0 -6
  114. package/protos/webui/service_fovasvideo.proto +0 -15
  115. package/protos/webui/service_friendmessages.proto +0 -133
  116. package/protos/webui/service_friendslist.proto +0 -70
  117. package/protos/webui/service_gamenotes.proto +0 -15
  118. package/protos/webui/service_helprequestlogs.proto +0 -26
  119. package/protos/webui/service_loyaltyrewards.proto +0 -252
  120. package/protos/webui/service_marketingmessages.proto +0 -184
  121. package/protos/webui/service_mobileapp.proto +0 -18
  122. package/protos/webui/service_mobileauth.proto +0 -24
  123. package/protos/webui/service_mobiledevice.proto +0 -26
  124. package/protos/webui/service_mobileperaccount.proto +0 -31
  125. package/protos/webui/service_news.proto +0 -101
  126. package/protos/webui/service_parental.proto +0 -178
  127. package/protos/webui/service_partnermembershipinvite.proto +0 -29
  128. package/protos/webui/service_partnerstorebrowse.proto +0 -6
  129. package/protos/webui/service_phone.proto +0 -51
  130. package/protos/webui/service_physicalgoods.proto +0 -15
  131. package/protos/webui/service_player.proto +0 -885
  132. package/protos/webui/service_promotioneventinvites.proto +0 -50
  133. package/protos/webui/service_promotionplanning.proto +0 -72
  134. package/protos/webui/service_publishedfile.proto +0 -687
  135. package/protos/webui/service_publishing.proto +0 -119
  136. package/protos/webui/service_quest.proto +0 -127
  137. package/protos/webui/service_salefeature.proto +0 -315
  138. package/protos/webui/service_saleitemrewards.proto +0 -54
  139. package/protos/webui/service_shoppingcart.proto +0 -108
  140. package/protos/webui/service_steamawards.proto +0 -19
  141. package/protos/webui/service_steamcharts.proto +0 -75
  142. package/protos/webui/service_steamengine.proto +0 -36
  143. package/protos/webui/service_steamlearn.proto +0 -727
  144. package/protos/webui/service_steamnotification.proto +0 -84
  145. package/protos/webui/service_steamtv.proto +0 -495
  146. package/protos/webui/service_steamvrvoicechat.proto +0 -67
  147. package/protos/webui/service_steamvrwebrtc.proto +0 -48
  148. package/protos/webui/service_storagedevicemanager.proto +0 -104
  149. package/protos/webui/service_store.proto +0 -289
  150. package/protos/webui/service_storeappsimilarity.proto +0 -76
  151. package/protos/webui/service_storebrowse.proto +0 -73
  152. package/protos/webui/service_storequery.proto +0 -97
  153. package/protos/webui/service_storesales.proto +0 -15
  154. package/protos/webui/service_storetopsellers.proto +0 -44
  155. package/protos/webui/service_systemmanager.proto +0 -11
  156. package/protos/webui/service_test_transporterror.proto +0 -6
  157. package/protos/webui/service_transportauth.proto +0 -12
  158. package/protos/webui/service_transportvalidation.proto +0 -69
  159. package/protos/webui/service_twofactor.proto +0 -181
  160. package/protos/webui/service_useraccount.proto +0 -138
  161. package/protos/webui/service_usergameactivity.proto +0 -34
  162. package/protos/webui/service_usergamenotes.proto +0 -53
  163. package/protos/webui/service_usernews.proto +0 -68
  164. package/protos/webui/service_userreviews.proto +0 -96
  165. package/protos/webui/service_video.proto +0 -128
  166. package/protos/webui/service_voicechat.proto +0 -139
  167. package/protos/webui/service_webrtc.proto +0 -52
@@ -56,128 +56,128 @@ enum EAuthTokenState {
56
56
  }
57
57
 
58
58
  message CAuthentication_GetPasswordRSAPublicKey_Request {
59
- optional string account_name = 1 [(description) = "user-provided account name to get an RSA key for"];
59
+ optional string account_name = 1;
60
60
  }
61
61
 
62
62
  message CAuthentication_GetPasswordRSAPublicKey_Response {
63
- optional string publickey_mod = 1 [(description) = "the public key modulus"];
64
- optional string publickey_exp = 2 [(description) = "the public key exponent"];
65
- optional uint64 timestamp = 3 [(description) = "the timestamp the key was generated"];
63
+ optional string publickey_mod = 1;
64
+ optional string publickey_exp = 2;
65
+ optional uint64 timestamp = 3;
66
66
  }
67
67
 
68
68
  message CAuthentication_DeviceDetails {
69
- optional string device_friendly_name = 1 [(description) = "User-supplied, or client-supplied, friendly name of device"];
70
- optional .EAuthTokenPlatformType platform_type = 2 [default = k_EAuthTokenPlatformType_Unknown, (description) = "EAuthTokenPlatformType, claimed, of device"];
71
- optional int32 os_type = 3 [(description) = "EOSType, claimed, of authorized device"];
72
- optional uint32 gaming_device_type = 4 [(description) = "EGamingDeviceType, claimed, of authorized device for steam client-type devices"];
73
- optional uint32 client_count = 5 [(description) = "For desktop clients, quantized number of users in history"];
74
- optional bytes machine_id = 6 [(description) = "Additional device context"];
69
+ optional string device_friendly_name = 1;
70
+ optional .EAuthTokenPlatformType platform_type = 2 [default = k_EAuthTokenPlatformType_Unknown];
71
+ optional int32 os_type = 3;
72
+ optional uint32 gaming_device_type = 4;
73
+ optional uint32 client_count = 5;
74
+ optional bytes machine_id = 6;
75
75
  }
76
76
 
77
77
  message CAuthentication_BeginAuthSessionViaQR_Request {
78
78
  optional string device_friendly_name = 1;
79
79
  optional .EAuthTokenPlatformType platform_type = 2 [default = k_EAuthTokenPlatformType_Unknown];
80
- optional .CAuthentication_DeviceDetails device_details = 3 [(description) = "User-supplied details about the device attempting to sign in"];
81
- optional string website_id = 4 [default = "Unknown", (description) = "(EMachineAuthWebDomain) identifier of client requesting auth"];
80
+ optional .CAuthentication_DeviceDetails device_details = 3;
81
+ optional string website_id = 4 [default = "Unknown"];
82
82
  }
83
83
 
84
84
  message CAuthentication_AllowedConfirmation {
85
- optional .EAuthSessionGuardType confirmation_type = 1 [default = k_EAuthSessionGuardType_Unknown, (description) = "authentication can proceed with this confirmation type"];
86
- optional string associated_message = 2 [(description) = "message to be interpreted depending on the confirmation type. for email confirmation, this might be the redacted email address to which email was sent."];
85
+ optional .EAuthSessionGuardType confirmation_type = 1 [default = k_EAuthSessionGuardType_Unknown];
86
+ optional string associated_message = 2;
87
87
  }
88
88
 
89
89
  message CAuthentication_BeginAuthSessionViaQR_Response {
90
- optional uint64 client_id = 1 [(description) = "unique identifier of requestor, also used for routing, portion of QR code"];
91
- optional string challenge_url = 2 [(description) = "URL based on client ID, which will be rendered as QR code"];
92
- optional bytes request_id = 3 [(description) = "unique request ID to be presented by requestor at poll time - must not be rendered in QR"];
93
- optional float interval = 4 [(description) = "refresh interval with which requestor should call PollAuthSessionStatus"];
94
- repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 5 [(description) = "the confirmation types that will be able to confirm the request"];
95
- optional int32 version = 6 [(description) = "version of the QR data"];
90
+ optional uint64 client_id = 1;
91
+ optional string challenge_url = 2;
92
+ optional bytes request_id = 3;
93
+ optional float interval = 4;
94
+ repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 5;
95
+ optional int32 version = 6;
96
96
  }
97
97
 
98
98
  message CAuthentication_BeginAuthSessionViaCredentials_Request {
99
99
  optional string device_friendly_name = 1;
100
100
  optional string account_name = 2;
101
- optional string encrypted_password = 3 [(description) = "password, RSA encrypted client side"];
102
- optional uint64 encryption_timestamp = 4 [(description) = "timestamp to map to a key - STime"];
103
- optional bool remember_login = 5 [(description) = "deprecated"];
101
+ optional string encrypted_password = 3;
102
+ optional uint64 encryption_timestamp = 4;
103
+ optional bool remember_login = 5;
104
104
  optional .EAuthTokenPlatformType platform_type = 6 [default = k_EAuthTokenPlatformType_Unknown];
105
- optional .ESessionPersistence persistence = 7 [default = k_ESessionPersistence_Persistent, (description) = "whether we are requesting a persistent or an ephemeral session"];
106
- optional string website_id = 8 [default = "Unknown", (description) = "(EMachineAuthWebDomain) identifier of client requesting auth"];
107
- optional .CAuthentication_DeviceDetails device_details = 9 [(description) = "User-supplied details about the device attempting to sign in"];
108
- optional string guard_data = 10 [(description) = "steam guard data for client login"];
105
+ optional .ESessionPersistence persistence = 7 [default = k_ESessionPersistence_Persistent];
106
+ optional string website_id = 8 [default = "Unknown"];
107
+ optional .CAuthentication_DeviceDetails device_details = 9;
108
+ optional string guard_data = 10;
109
109
  optional uint32 language = 11;
110
- optional int32 qos_level = 12 [default = 2, (description) = "[ENetQOSLevel] client-specified priority for this auth attempt"];
110
+ optional int32 qos_level = 12 [default = 2];
111
111
  }
112
112
 
113
113
  message CAuthentication_BeginAuthSessionViaCredentials_Response {
114
- optional uint64 client_id = 1 [(description) = "unique identifier of requestor, also used for routing"];
115
- optional bytes request_id = 2 [(description) = "unique request ID to be presented by requestor at poll time - must not be transferred or displayed"];
116
- optional float interval = 3 [(description) = "refresh interval with which requestor should call PollAuthSessionStatus"];
117
- repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 4 [(description) = "the confirmation types that will be able to confirm the request"];
118
- optional uint64 steamid = 5 [(description) = "steamid of the account logging in - will only be included if the credentials were correct"];
119
- optional string weak_token = 6 [(description) = "partial-authentication token - limited lifetime and scope, included only if credentials were valid"];
120
- optional string agreement_session_url = 7 [(description) = "agreement the user needs to agree to"];
121
- optional string extended_error_message = 8 [(description) = "error string to display if supported by the client"];
114
+ optional uint64 client_id = 1;
115
+ optional bytes request_id = 2;
116
+ optional float interval = 3;
117
+ repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 4;
118
+ optional uint64 steamid = 5;
119
+ optional string weak_token = 6;
120
+ optional string agreement_session_url = 7;
121
+ optional string extended_error_message = 8;
122
122
  }
123
123
 
124
124
  message CAuthentication_PollAuthSessionStatus_Request {
125
125
  optional uint64 client_id = 1;
126
126
  optional bytes request_id = 2;
127
- optional fixed64 token_to_revoke = 3 [(description) = "If this is set to a token owned by this user, that token will be retired"];
127
+ optional fixed64 token_to_revoke = 3;
128
128
  }
129
129
 
130
130
  message CAuthentication_PollAuthSessionStatus_Response {
131
- optional uint64 new_client_id = 1 [(description) = "if challenge is old, this is the new client id"];
132
- optional string new_challenge_url = 2 [(description) = "if challenge is old, this is the new challenge ID to re-render for mobile confirmation"];
133
- optional string refresh_token = 3 [(description) = "if login has been confirmed, this is the requestor's new refresh token"];
134
- optional string access_token = 4 [(description) = "if login has been confirmed, this is a new token subordinate to refresh_token"];
135
- optional bool had_remote_interaction = 5 [(description) = "whether or not the auth session appears to have had remote interaction from a potential confirmer"];
136
- optional string account_name = 6 [(description) = "account name of authenticating account, for use by UI layer"];
137
- optional string new_guard_data = 7 [(description) = "if login has been confirmed, may contain remembered machine ID for future login"];
138
- optional string agreement_session_url = 8 [(description) = "agreement the user needs to agree to"];
131
+ optional uint64 new_client_id = 1;
132
+ optional string new_challenge_url = 2;
133
+ optional string refresh_token = 3;
134
+ optional string access_token = 4;
135
+ optional bool had_remote_interaction = 5;
136
+ optional string account_name = 6;
137
+ optional string new_guard_data = 7;
138
+ optional string agreement_session_url = 8;
139
139
  }
140
140
 
141
141
  message CAuthentication_GetAuthSessionInfo_Request {
142
- optional uint64 client_id = 1 [(description) = "client ID from scanned QR Code, used for routing"];
142
+ optional uint64 client_id = 1;
143
143
  }
144
144
 
145
145
  message CAuthentication_GetAuthSessionInfo_Response {
146
- optional string ip = 1 [(description) = "IP address of requestor"];
147
- optional string geoloc = 2 [(description) = "geoloc info of requestor"];
148
- optional string city = 3 [(description) = "city of requestor"];
149
- optional string state = 4 [(description) = "state of requestor"];
150
- optional string country = 5 [(description) = "country of requestor"];
151
- optional .EAuthTokenPlatformType platform_type = 6 [default = k_EAuthTokenPlatformType_Unknown, (description) = "platform type of requestor"];
152
- optional string device_friendly_name = 7 [(description) = "name of requestor device"];
153
- optional int32 version = 8 [(description) = "version field"];
154
- optional .EAuthSessionSecurityHistory login_history = 9 [default = k_EAuthSessionSecurityHistory_Invalid, (description) = "whether the ip has previuously been used on the account successfully"];
155
- optional bool requestor_location_mismatch = 10 [(description) = "whether the requestor location matches this requests location"];
156
- optional bool high_usage_login = 11 [(description) = "whether this login has seen high usage recently"];
157
- optional .ESessionPersistence requested_persistence = 12 [default = k_ESessionPersistence_Invalid, (description) = "session persistence requestor has indicated they want"];
146
+ optional string ip = 1;
147
+ optional string geoloc = 2;
148
+ optional string city = 3;
149
+ optional string state = 4;
150
+ optional string country = 5;
151
+ optional .EAuthTokenPlatformType platform_type = 6 [default = k_EAuthTokenPlatformType_Unknown];
152
+ optional string device_friendly_name = 7;
153
+ optional int32 version = 8;
154
+ optional .EAuthSessionSecurityHistory login_history = 9 [default = k_EAuthSessionSecurityHistory_Invalid];
155
+ optional bool requestor_location_mismatch = 10;
156
+ optional bool high_usage_login = 11;
157
+ optional .ESessionPersistence requested_persistence = 12 [default = k_ESessionPersistence_Invalid];
158
158
  }
159
159
 
160
160
  message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
161
- optional int32 version = 1 [(description) = "version field"];
162
- optional uint64 client_id = 2 [(description) = "pending client ID, from scanned QR Code"];
163
- optional fixed64 steamid = 3 [(description) = "user who wants to login"];
164
- optional bytes signature = 4 [(description) = "HMAC digest over {version,client_id,steamid} via user's private key"];
165
- optional bool confirm = 5 [default = false, (description) = "Whether to confirm the login (true) or deny the login (false)"];
166
- optional .ESessionPersistence persistence = 6 [default = k_ESessionPersistence_Persistent, (description) = "whether we are requesting a persistent or an ephemeral session"];
161
+ optional int32 version = 1;
162
+ optional uint64 client_id = 2;
163
+ optional fixed64 steamid = 3;
164
+ optional bytes signature = 4;
165
+ optional bool confirm = 5 [default = false];
166
+ optional .ESessionPersistence persistence = 6 [default = k_ESessionPersistence_Persistent];
167
167
  }
168
168
 
169
169
  message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
170
170
  }
171
171
 
172
172
  message CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
173
- optional uint64 client_id = 1 [(description) = "pending client ID, from initialized session"];
174
- optional fixed64 steamid = 2 [(description) = "user who wants to login"];
175
- optional string code = 3 [(description) = "confirmation code"];
176
- optional .EAuthSessionGuardType code_type = 4 [default = k_EAuthSessionGuardType_Unknown, (description) = "type of confirmation code"];
173
+ optional uint64 client_id = 1;
174
+ optional fixed64 steamid = 2;
175
+ optional string code = 3;
176
+ optional .EAuthSessionGuardType code_type = 4 [default = k_EAuthSessionGuardType_Unknown];
177
177
  }
178
178
 
179
179
  message CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
180
- optional string agreement_session_url = 7 [(description) = "agreement the user needs to agree to"];
180
+ optional string agreement_session_url = 7;
181
181
  }
182
182
 
183
183
  message CAuthentication_AccessToken_GenerateForApp_Request {
@@ -196,26 +196,26 @@ message CAuthentication_RefreshToken_Enumerate_Request {
196
196
 
197
197
  message CAuthentication_RefreshToken_Enumerate_Response {
198
198
  message TokenUsageEvent {
199
- optional uint32 time = 1 [(description) = "Approximate time of history event (may be deliberately fuzzed or omitted)"];
200
- optional .CMsgIPAddress ip = 2 [(description) = "IP at which event was observed"];
199
+ optional uint32 time = 1;
200
+ optional .CMsgIPAddress ip = 2;
201
201
  optional string locale = 3;
202
- optional string country = 4 [(description) = "Location (country code) of event, as inferred from IP"];
203
- optional string state = 5 [(description) = "Location (state code) of event, as inferred from IP"];
204
- optional string city = 6 [(description) = "Location (city) of event, as inferred from IP"];
202
+ optional string country = 4;
203
+ optional string state = 5;
204
+ optional string city = 6;
205
205
  }
206
206
 
207
207
  message RefreshTokenDescription {
208
- optional fixed64 token_id = 1 [(description) = "Persistent token/device identifier"];
209
- optional string token_description = 2 [(description) = "client-supplied friendly name for the device"];
208
+ optional fixed64 token_id = 1;
209
+ optional string token_description = 2;
210
210
  optional uint32 time_updated = 3;
211
- optional .EAuthTokenPlatformType platform_type = 4 [default = k_EAuthTokenPlatformType_Unknown, (description) = "gross platform type (mobile/client/browser)"];
212
- optional bool logged_in = 5 [(description) = "If true, this token is currently valid. False indicates it is a machine token - ok for steamguard if you know the credential"];
213
- optional uint32 os_platform = 6 [(description) = "EPlatformType - rough classification of device OS, if known"];
214
- optional uint32 auth_type = 7 [(description) = "EAuthTokenGuardType - device authorization mechanism, if known"];
215
- optional uint32 gaming_device_type = 8 [(description) = "EGamingDeviceType - classify console/PC/SteamDeck, if known; applies only for Steam Client devices"];
216
- optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent first_seen = 9 [(description) = "Information about original authorization event"];
217
- optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent last_seen = 10 [(description) = "Information about most-recently seen, if known for this device"];
218
- optional int32 os_type = 11 [(description) = "EOSType - specific device OS, if known"];
211
+ optional .EAuthTokenPlatformType platform_type = 4 [default = k_EAuthTokenPlatformType_Unknown];
212
+ optional bool logged_in = 5;
213
+ optional uint32 os_platform = 6;
214
+ optional uint32 auth_type = 7;
215
+ optional uint32 gaming_device_type = 8;
216
+ optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent first_seen = 9;
217
+ optional .CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent last_seen = 10;
218
+ optional int32 os_type = 11;
219
219
  }
220
220
 
221
221
  repeated .CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription refresh_tokens = 1;
@@ -226,13 +226,13 @@ message CAuthentication_GetAuthSessionsForAccount_Request {
226
226
  }
227
227
 
228
228
  message CAuthentication_GetAuthSessionsForAccount_Response {
229
- repeated uint64 client_ids = 1 [(description) = "unique identifier of requestor, also used for routing"];
229
+ repeated uint64 client_ids = 1;
230
230
  }
231
231
 
232
232
  message CAuthentication_MigrateMobileSession_Request {
233
- optional fixed64 steamid = 1 [(description) = "Steam ID of the user to migrate"];
234
- optional string token = 2 [(description) = "WG Token to migrate"];
235
- optional string signature = 3 [(description) = "Signature over the wg token using the user's 2FA token"];
233
+ optional fixed64 steamid = 1;
234
+ optional string token = 2;
235
+ optional string signature = 3;
236
236
  }
237
237
 
238
238
  message CAuthentication_MigrateMobileSession_Response {
@@ -242,7 +242,7 @@ message CAuthentication_MigrateMobileSession_Response {
242
242
 
243
243
  message CAuthentication_Token_Revoke_Request {
244
244
  optional string token = 1;
245
- optional .EAuthTokenRevokeAction revoke_action = 2 [default = k_EAuthTokenRevokePermanent, (description) = "Select between logout and logout-and-forget-machine"];
245
+ optional .EAuthTokenRevokeAction revoke_action = 2 [default = k_EAuthTokenRevokePermanent];
246
246
  }
247
247
 
248
248
  message CAuthentication_Token_Revoke_Response {
@@ -250,26 +250,26 @@ message CAuthentication_Token_Revoke_Response {
250
250
 
251
251
  message CAuthentication_RefreshToken_Revoke_Request {
252
252
  optional fixed64 token_id = 1;
253
- optional fixed64 steamid = 2 [(description) = "Token holder if an admin action on behalf of another user"];
254
- optional .EAuthTokenRevokeAction revoke_action = 3 [default = k_EAuthTokenRevokePermanent, (description) = "Select between logout and logout-and-forget-machine"];
255
- optional bytes signature = 4 [(description) = "required signature over token_id"];
253
+ optional fixed64 steamid = 2;
254
+ optional .EAuthTokenRevokeAction revoke_action = 3 [default = k_EAuthTokenRevokePermanent];
255
+ optional bytes signature = 4;
256
256
  }
257
257
 
258
258
  message CAuthentication_RefreshToken_Revoke_Response {
259
259
  }
260
260
 
261
261
  message CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
262
- optional fixed64 steamid = 1 [(description) = "SteamID of the account to query (required)"];
263
- optional bool include_revoked_tokens = 2 [(description) = "Includes tokens that are revoked or expired in the query"];
262
+ optional fixed64 steamid = 1;
263
+ optional bool include_revoked_tokens = 2;
264
264
  }
265
265
 
266
266
  message CSupportRefreshTokenDescription {
267
267
  message TokenUsageEvent {
268
- optional uint32 time = 1 [(description) = "Approximate time of history event (may be deliberately fuzzed or omitted)"];
269
- optional .CMsgIPAddress ip = 2 [(description) = "IP at which event was observed"];
270
- optional string country = 3 [(description) = "Location (country code) of event, as inferred from IP"];
271
- optional string state = 4 [(description) = "Location (state code) of event, as inferred from IP"];
272
- optional string city = 5 [(description) = "Location (city) of event, as inferred from IP"];
268
+ optional uint32 time = 1;
269
+ optional .CMsgIPAddress ip = 2;
270
+ optional string country = 3;
271
+ optional string state = 4;
272
+ optional string city = 5;
273
273
  }
274
274
 
275
275
  optional fixed64 token_id = 1;
@@ -278,12 +278,12 @@ message CSupportRefreshTokenDescription {
278
278
  optional .EAuthTokenPlatformType platform_type = 4 [default = k_EAuthTokenPlatformType_Unknown];
279
279
  optional .EAuthTokenState token_state = 5 [default = k_EAuthTokenState_Invalid];
280
280
  optional fixed64 owner_steamid = 6;
281
- optional uint32 os_platform = 7 [(description) = "EPlatformType - rough classification of device OS, if known"];
282
- optional int32 os_type = 8 [(description) = "EOSType - specific device OS, if known"];
283
- optional uint32 auth_type = 9 [(description) = "EAuthTokenGuardType - device authorization mechanism, if known"];
284
- optional uint32 gaming_device_type = 10 [(description) = "EGamingDeviceType - classify console/PC/SteamDeck, if known; applies only for Steam Client devices"];
285
- optional .CSupportRefreshTokenDescription.TokenUsageEvent first_seen = 11 [(description) = "Information about original authorization event"];
286
- optional .CSupportRefreshTokenDescription.TokenUsageEvent last_seen = 12 [(description) = "Information about most-recently seen, if known for this device"];
281
+ optional uint32 os_platform = 7;
282
+ optional int32 os_type = 8;
283
+ optional uint32 auth_type = 9;
284
+ optional uint32 gaming_device_type = 10;
285
+ optional .CSupportRefreshTokenDescription.TokenUsageEvent first_seen = 11;
286
+ optional .CSupportRefreshTokenDescription.TokenUsageEvent last_seen = 12;
287
287
  }
288
288
 
289
289
  message CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
@@ -292,7 +292,7 @@ message CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
292
292
  }
293
293
 
294
294
  message CAuthenticationSupport_QueryRefreshTokenByID_Request {
295
- optional fixed64 token_id = 1 [(description) = "Token ID of the token to look up (required)"];
295
+ optional fixed64 token_id = 1;
296
296
  }
297
297
 
298
298
  message CAuthenticationSupport_QueryRefreshTokenByID_Response {
@@ -300,15 +300,15 @@ message CAuthenticationSupport_QueryRefreshTokenByID_Response {
300
300
  }
301
301
 
302
302
  message CAuthenticationSupport_RevokeToken_Request {
303
- optional fixed64 token_id = 1 [(description) = "Token ID of the token to revoke (required)"];
304
- optional fixed64 steamid = 2 [(description) = "Steam ID of the owner of that token (required)"];
303
+ optional fixed64 token_id = 1;
304
+ optional fixed64 steamid = 2;
305
305
  }
306
306
 
307
307
  message CAuthenticationSupport_RevokeToken_Response {
308
308
  }
309
309
 
310
310
  message CAuthenticationSupport_GetTokenHistory_Request {
311
- optional fixed64 token_id = 1 [(description) = "Token ID of the token to get history for (required)"];
311
+ optional fixed64 token_id = 1;
312
312
  }
313
313
 
314
314
  message CSupportRefreshTokenAudit {
@@ -347,89 +347,29 @@ message CCloudGaming_GetTimeRemaining_Response {
347
347
  }
348
348
 
349
349
  service Authentication {
350
- option (service_description) = "Authentication Service";
351
-
352
- rpc GetPasswordRSAPublicKey (.CAuthentication_GetPasswordRSAPublicKey_Request) returns (.CAuthentication_GetPasswordRSAPublicKey_Response) {
353
- option (method_description) = "Fetches RSA public key to use to encrypt passwords for a given account name";
354
- }
355
-
356
- rpc BeginAuthSessionViaQR (.CAuthentication_BeginAuthSessionViaQR_Request) returns (.CAuthentication_BeginAuthSessionViaQR_Response) {
357
- option (method_description) = "start authentication process";
358
- }
359
-
360
- rpc BeginAuthSessionViaCredentials (.CAuthentication_BeginAuthSessionViaCredentials_Request) returns (.CAuthentication_BeginAuthSessionViaCredentials_Response) {
361
- option (method_description) = "start authentication process";
362
- }
363
-
364
- rpc PollAuthSessionStatus (.CAuthentication_PollAuthSessionStatus_Request) returns (.CAuthentication_PollAuthSessionStatus_Response) {
365
- option (method_description) = "poll during authentication process";
366
- }
367
-
368
- rpc GetAuthSessionInfo (.CAuthentication_GetAuthSessionInfo_Request) returns (.CAuthentication_GetAuthSessionInfo_Response) {
369
- option (method_description) = "get metadata of specific auth session, this will also implicitly bind the calling account";
370
- }
371
-
372
- rpc UpdateAuthSessionWithMobileConfirmation (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request) returns (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response) {
373
- option (method_description) = "approve an authentication session via mobile 2fa";
374
- }
375
-
376
- rpc UpdateAuthSessionWithSteamGuardCode (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request) returns (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response) {
377
- option (method_description) = "approve an authentication session via steam guard code";
378
- }
379
-
380
- rpc GenerateAccessTokenForApp (.CAuthentication_AccessToken_GenerateForApp_Request) returns (.CAuthentication_AccessToken_GenerateForApp_Response) {
381
- option (method_description) = "Given a refresh token for a client app audience (e.g. desktop client / mobile client), generate an access token";
382
- }
383
-
384
- rpc EnumerateTokens (.CAuthentication_RefreshToken_Enumerate_Request) returns (.CAuthentication_RefreshToken_Enumerate_Response) {
385
- option (method_description) = "Enumerate durable (refresh) tokens for the given subject account";
386
- }
387
-
388
- rpc GetAuthSessionsForAccount (.CAuthentication_GetAuthSessionsForAccount_Request) returns (.CAuthentication_GetAuthSessionsForAccount_Response) {
389
- option (method_description) = "Gets all active auth sessions for an account for reference by the mobile app";
390
- }
391
-
392
- rpc MigrateMobileSession (.CAuthentication_MigrateMobileSession_Request) returns (.CAuthentication_MigrateMobileSession_Response) {
393
- option (method_description) = "Migrates a WG token to an access and refresh token using a signature generated with the user's 2FA secret";
394
- }
395
-
396
- rpc RevokeToken (.CAuthentication_Token_Revoke_Request) returns (.CAuthentication_Token_Revoke_Response) {
397
- option (method_description) = "Revoke a single token immediately, making it unable to renew or generate new access tokens";
398
- }
399
-
400
- rpc RevokeRefreshToken (.CAuthentication_RefreshToken_Revoke_Request) returns (.CAuthentication_RefreshToken_Revoke_Response) {
401
- option (method_description) = "Mark the given refresh token as revoked";
402
- }
350
+ rpc GetPasswordRSAPublicKey (.CAuthentication_GetPasswordRSAPublicKey_Request) returns (.CAuthentication_GetPasswordRSAPublicKey_Response);
351
+ rpc BeginAuthSessionViaQR (.CAuthentication_BeginAuthSessionViaQR_Request) returns (.CAuthentication_BeginAuthSessionViaQR_Response);
352
+ rpc BeginAuthSessionViaCredentials (.CAuthentication_BeginAuthSessionViaCredentials_Request) returns (.CAuthentication_BeginAuthSessionViaCredentials_Response);
353
+ rpc PollAuthSessionStatus (.CAuthentication_PollAuthSessionStatus_Request) returns (.CAuthentication_PollAuthSessionStatus_Response);
354
+ rpc GetAuthSessionInfo (.CAuthentication_GetAuthSessionInfo_Request) returns (.CAuthentication_GetAuthSessionInfo_Response);
355
+ rpc UpdateAuthSessionWithMobileConfirmation (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request) returns (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response);
356
+ rpc UpdateAuthSessionWithSteamGuardCode (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request) returns (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response);
357
+ rpc GenerateAccessTokenForApp (.CAuthentication_AccessToken_GenerateForApp_Request) returns (.CAuthentication_AccessToken_GenerateForApp_Response);
358
+ rpc EnumerateTokens (.CAuthentication_RefreshToken_Enumerate_Request) returns (.CAuthentication_RefreshToken_Enumerate_Response);
359
+ rpc GetAuthSessionsForAccount (.CAuthentication_GetAuthSessionsForAccount_Request) returns (.CAuthentication_GetAuthSessionsForAccount_Response);
360
+ rpc MigrateMobileSession (.CAuthentication_MigrateMobileSession_Request) returns (.CAuthentication_MigrateMobileSession_Response);
361
+ rpc RevokeToken (.CAuthentication_Token_Revoke_Request) returns (.CAuthentication_Token_Revoke_Response);
362
+ rpc RevokeRefreshToken (.CAuthentication_RefreshToken_Revoke_Request) returns (.CAuthentication_RefreshToken_Revoke_Response);
403
363
  }
404
364
 
405
365
  service AuthenticationSupport {
406
- option (service_description) = "Authentication Support Service";
407
-
408
- rpc QueryRefreshTokensByAccount (.CAuthenticationSupport_QueryRefreshTokensByAccount_Request) returns (.CAuthenticationSupport_QueryRefreshTokensByAccount_Response) {
409
- option (method_description) = "Asks the server for a list of refresh tokens associated with an account";
410
- }
411
-
412
- rpc QueryRefreshTokenByID (.CAuthenticationSupport_QueryRefreshTokenByID_Request) returns (.CAuthenticationSupport_QueryRefreshTokenByID_Response) {
413
- option (method_description) = "Asks the server for a list of refresh tokens associated with an account";
414
- }
415
-
416
- rpc RevokeToken (.CAuthenticationSupport_RevokeToken_Request) returns (.CAuthenticationSupport_RevokeToken_Response) {
417
- option (method_description) = "Revokes a user's auth token";
418
- }
419
-
420
- rpc GetTokenHistory (.CAuthenticationSupport_GetTokenHistory_Request) returns (.CAuthenticationSupport_GetTokenHistory_Response) {
421
- option (method_description) = "Gets the audit history for a user's auth token";
422
- }
366
+ rpc QueryRefreshTokensByAccount (.CAuthenticationSupport_QueryRefreshTokensByAccount_Request) returns (.CAuthenticationSupport_QueryRefreshTokensByAccount_Response);
367
+ rpc QueryRefreshTokenByID (.CAuthenticationSupport_QueryRefreshTokenByID_Request) returns (.CAuthenticationSupport_QueryRefreshTokenByID_Response);
368
+ rpc RevokeToken (.CAuthenticationSupport_RevokeToken_Request) returns (.CAuthenticationSupport_RevokeToken_Response);
369
+ rpc GetTokenHistory (.CAuthenticationSupport_GetTokenHistory_Request) returns (.CAuthenticationSupport_GetTokenHistory_Response);
423
370
  }
424
371
 
425
372
  service CloudGaming {
426
- option (service_description) = "Methods for Steam cloud gaming operations";
427
-
428
- rpc CreateNonce (.CCloudGaming_CreateNonce_Request) returns (.CCloudGaming_CreateNonce_Response) {
429
- option (method_description) = "Create a nonce for a cloud gaming service session";
430
- }
431
-
432
- rpc GetTimeRemaining (.CCloudGaming_GetTimeRemaining_Request) returns (.CCloudGaming_GetTimeRemaining_Response) {
433
- option (method_description) = "Get the amount of streaming time remaining for a set of apps";
434
- }
373
+ rpc CreateNonce (.CCloudGaming_CreateNonce_Request) returns (.CCloudGaming_CreateNonce_Response);
374
+ rpc GetTimeRemaining (.CCloudGaming_GetTimeRemaining_Request) returns (.CCloudGaming_GetTimeRemaining_Response);
435
375
  }
@@ -128,6 +128,7 @@ message CMsgProtoBufHeader {
128
128
  optional .CMsgProtoBufHeader.ESessionDisposition session_disposition = 38 [default = k_ESessionDispositionNormal];
129
129
  optional string wg_token = 39;
130
130
  optional string webui_auth_key = 40;
131
+ repeated int32 exclude_client_sessionids = 41;
131
132
 
132
133
  oneof ip_addr {
133
134
  uint32 ip = 15;
@@ -311,6 +312,8 @@ message CPackageReservationStatus {
311
312
  optional bool expired = 6;
312
313
  optional uint32 time_expires = 7;
313
314
  optional uint32 time_reserved = 8;
315
+ optional uint32 rtime_estimated_notification = 9;
316
+ optional string notificaton_token = 10;
314
317
  }
315
318
 
316
319
  message CMsgKeyValuePair {