steamutils 1.3.69 → 1.3.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/SteamClient.js +1 -2
  2. package/index.js +192 -5
  3. package/package.json +1 -1
  4. package/protos/webui/common.proto +4024 -0
  5. package/protos/webui/common_base.proto +27 -0
  6. package/protos/webui/service_accountcart.proto +153 -0
  7. package/protos/webui/service_accountlinking.proto +27 -0
  8. package/protos/webui/service_accountprivacy.proto +42 -0
  9. package/protos/webui/service_accountprivateapps.proto +34 -0
  10. package/protos/webui/service_auction.proto +97 -0
  11. package/protos/webui/service_authentication.proto +222 -0
  12. package/protos/webui/service_authenticationsupport.proto +74 -0
  13. package/protos/webui/service_broadcast.proto +562 -0
  14. package/protos/webui/service_chat.proto +11 -0
  15. package/protos/webui/service_chatroom.proto +810 -0
  16. package/protos/webui/service_chatusability.proto +107 -0
  17. package/protos/webui/service_checkout.proto +84 -0
  18. package/protos/webui/service_clan.proto +41 -0
  19. package/protos/webui/service_clanchatrooms.proto +25 -0
  20. package/protos/webui/service_clanfaqs.proto +202 -0
  21. package/protos/webui/service_clientcomm.proto +151 -0
  22. package/protos/webui/service_clientmetrics.proto +22 -0
  23. package/protos/webui/service_cloud.proto +222 -0
  24. package/protos/webui/service_cloudconfigstore.proto +51 -0
  25. package/protos/webui/service_cloudgaming.proto +30 -0
  26. package/protos/webui/service_community.proto +365 -0
  27. package/protos/webui/service_dailydeal.proto +89 -0
  28. package/protos/webui/service_econ.proto +134 -0
  29. package/protos/webui/service_embedded.proto +24 -0
  30. package/protos/webui/service_experimentservice.proto +6 -0
  31. package/protos/webui/service_familygroups.proto +355 -0
  32. package/protos/webui/service_fovasvideo.proto +15 -0
  33. package/protos/webui/service_friendmessages.proto +133 -0
  34. package/protos/webui/service_friendslist.proto +70 -0
  35. package/protos/webui/service_gamenotes.proto +15 -0
  36. package/protos/webui/service_gamerecording.proto +265 -0
  37. package/protos/webui/service_gamerecordingclip.proto +85 -0
  38. package/protos/webui/service_gamerecordingdebug.proto +52 -0
  39. package/protos/webui/service_helprequestlogs.proto +16 -0
  40. package/protos/webui/service_loyaltyrewards.proto +252 -0
  41. package/protos/webui/service_marketingmessages.proto +215 -0
  42. package/protos/webui/service_mobileapp.proto +18 -0
  43. package/protos/webui/service_mobileauth.proto +24 -0
  44. package/protos/webui/service_mobiledevice.proto +26 -0
  45. package/protos/webui/service_mobileperaccount.proto +31 -0
  46. package/protos/webui/service_news.proto +110 -0
  47. package/protos/webui/service_parental.proto +258 -0
  48. package/protos/webui/service_partnermembershipinvite.proto +34 -0
  49. package/protos/webui/service_partnerstorebrowse.proto +28 -0
  50. package/protos/webui/service_phone.proto +51 -0
  51. package/protos/webui/service_physicalgoods.proto +15 -0
  52. package/protos/webui/service_player.proto +918 -0
  53. package/protos/webui/service_promotioneventinvites.proto +109 -0
  54. package/protos/webui/service_promotionplanning.proto +186 -0
  55. package/protos/webui/service_promotionstats.proto +23 -0
  56. package/protos/webui/service_publishedfile.proto +714 -0
  57. package/protos/webui/service_publishing.proto +200 -0
  58. package/protos/webui/service_quest.proto +127 -0
  59. package/protos/webui/service_salefeature.proto +373 -0
  60. package/protos/webui/service_saleitemrewards.proto +54 -0
  61. package/protos/webui/service_shoppingcart.proto +152 -0
  62. package/protos/webui/service_steamawards.proto +76 -0
  63. package/protos/webui/service_steamcharts.proto +75 -0
  64. package/protos/webui/service_steamengine.proto +36 -0
  65. package/protos/webui/service_steamlearn.proto +876 -0
  66. package/protos/webui/service_steamnotification.proto +73 -0
  67. package/protos/webui/service_steamtv.proto +495 -0
  68. package/protos/webui/service_steamvrvoicechat.proto +67 -0
  69. package/protos/webui/service_steamvrwebrtc.proto +48 -0
  70. package/protos/webui/service_storagedevicemanager.proto +104 -0
  71. package/protos/webui/service_store.proto +359 -0
  72. package/protos/webui/service_storeappsimilarity.proto +76 -0
  73. package/protos/webui/service_storebrowse.proto +103 -0
  74. package/protos/webui/service_storemarketing.proto +44 -0
  75. package/protos/webui/service_storequery.proto +103 -0
  76. package/protos/webui/service_storesales.proto +87 -0
  77. package/protos/webui/service_storetopsellers.proto +44 -0
  78. package/protos/webui/service_systemmanager.proto +11 -0
  79. package/protos/webui/service_test_transporterror.proto +6 -0
  80. package/protos/webui/service_transportauth.proto +17 -0
  81. package/protos/webui/service_transportvalidation.proto +69 -0
  82. package/protos/webui/service_twofactor.proto +170 -0
  83. package/protos/webui/service_useraccount.proto +142 -0
  84. package/protos/webui/service_usergameactivity.proto +34 -0
  85. package/protos/webui/service_usergamenotes.proto +70 -0
  86. package/protos/webui/service_usernews.proto +68 -0
  87. package/protos/webui/service_userreviews.proto +97 -0
  88. package/protos/webui/service_video.proto +50 -0
  89. package/protos/webui/service_videoclip.proto +62 -0
  90. package/protos/webui/service_voicechat.proto +139 -0
  91. package/protos/webui/service_webrtc.proto +52 -0
@@ -0,0 +1,876 @@
1
+ import "common_base.proto";
2
+
3
+ message CMsgSteamLearn_BatchOperation_Request {
4
+ repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1;
5
+ repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2;
6
+ repeated .CMsgSteamLearn_Inference_Request inference_requests = 3;
7
+ }
8
+
9
+ message CMsgSteamLearn_BatchOperation_Response {
10
+ repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1;
11
+ repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2;
12
+ repeated .CMsgSteamLearn_Inference_Response inference_responses = 3;
13
+ }
14
+
15
+ message CMsgSteamLearn_CacheData_Request {
16
+ optional string access_token = 1;
17
+ optional .CMsgSteamLearnData data = 3;
18
+ }
19
+
20
+ message CMsgSteamLearn_CacheData_Response {
21
+ optional int32 cache_data_result = 1 [(.description) = "enum"];
22
+ }
23
+
24
+ message CMsgSteamLearn_CreateProject_Request {
25
+ optional string project_name = 1;
26
+ optional string project_description = 2;
27
+ }
28
+
29
+ message CMsgSteamLearn_CreateProject_Response {
30
+ optional int32 result = 1 [(.description) = "enum"];
31
+ optional .CMsgSteamLearnProject project = 2;
32
+ }
33
+
34
+ message CMsgSteamLearn_EditProject_Request {
35
+ optional .CMsgSteamLearnProject project = 1;
36
+ optional uint32 published_version = 2;
37
+ }
38
+
39
+ message CMsgSteamLearn_EditProject_Response {
40
+ optional int32 result = 1 [(.description) = "enum"];
41
+ }
42
+
43
+ message CMsgSteamLearn_GetAccessTokens_Request {
44
+ optional uint32 appid = 1;
45
+ }
46
+
47
+ message CMsgSteamLearn_GetAccessTokens_Response {
48
+ optional int32 result = 1 [(.description) = "enum"];
49
+ optional .CMsgSteamLearnAccessTokens access_tokens = 2;
50
+ }
51
+
52
+ message CMsgSteamLearn_GetBatchedStatus_Request {
53
+ repeated .CMsgSteamLearn_GetFetchStatus_Request fetch_requests = 1;
54
+ repeated .CMsgSteamLearn_GetTrainStatus_Request train_requests = 2;
55
+ }
56
+
57
+ message CMsgSteamLearn_GetBatchedStatus_Response {
58
+ optional int32 result = 1 [(.description) = "enum"];
59
+ repeated .CMsgSteamLearn_GetFetchStatus_Response fetch_responses = 2;
60
+ repeated .CMsgSteamLearn_GetTrainStatus_Response train_responses = 3;
61
+ }
62
+
63
+ message CMsgSteamLearn_GetDataSource_Request {
64
+ optional uint32 data_source_id = 1;
65
+ }
66
+
67
+ message CMsgSteamLearn_GetDataSource_Response {
68
+ optional .CMsgSteamLearnDataSource data_source = 1;
69
+ }
70
+
71
+ message CMsgSteamLearn_GetEmbeddingValues_Request {
72
+ optional uint32 project_id = 1;
73
+ optional uint32 published_version = 2;
74
+ optional uint32 train_id = 3;
75
+ optional string export_name = 4;
76
+ repeated uint32 numerical_values = 5;
77
+ optional uint32 fetch_id = 6;
78
+ }
79
+
80
+ message CMsgSteamLearn_GetEmbeddingValues_Response {
81
+ optional int32 result = 1 [(.description) = "enum"];
82
+ repeated .CMsgSteamLearn_GetEmbeddingValues_Response_EmbeddingData embedding_data = 2;
83
+ }
84
+
85
+ message CMsgSteamLearn_GetEmbeddingValues_Response_EmbeddingData {
86
+ optional uint32 numerical_value = 1;
87
+ repeated float embedding_values = 2;
88
+ }
89
+
90
+ message CMsgSteamLearn_GetFetchStatus_Request {
91
+ optional uint32 project_id = 1;
92
+ optional uint32 fetch_id = 2;
93
+ }
94
+
95
+ message CMsgSteamLearn_GetFetchStatus_Response {
96
+ optional int32 result = 1 [(.description) = "enum"];
97
+ optional uint32 fetch_id = 2;
98
+ optional int32 status = 3 [(.description) = "enum"];
99
+ repeated .CMsgSteamLearn_GetFetchStatus_Response_Worker workers = 4;
100
+ optional uint32 total_rows_written = 5;
101
+ optional uint32 total_rows = 6;
102
+ optional uint32 start_time = 7;
103
+ optional uint32 end_time = 8;
104
+ optional uint32 total_rows_processed = 9;
105
+ optional string error_string = 10;
106
+ optional uint32 project_id = 11;
107
+ }
108
+
109
+ message CMsgSteamLearn_GetFetchStatus_Response_Worker {
110
+ optional uint32 rows_written = 1;
111
+ optional bool complete = 2;
112
+ optional uint32 rows_processed = 3;
113
+ }
114
+
115
+ message CMsgSteamLearn_GetFetchStatusVersions_Request {
116
+ optional uint32 project_id = 1;
117
+ optional uint32 published_version = 2;
118
+ }
119
+
120
+ message CMsgSteamLearn_GetFetchStatusVersions_Response {
121
+ repeated uint32 versions = 1;
122
+ }
123
+
124
+ message CMsgSteamLearn_GetLogEvents_Request {
125
+ optional uint32 start_timestamp = 1;
126
+ optional uint32 end_timestamp = 2;
127
+ }
128
+
129
+ message CMsgSteamLearn_GetLogEvents_Response {
130
+ optional int32 result = 1 [(.description) = "enum"];
131
+ repeated .CMsgSteamLearn_LogEvent event_list = 2;
132
+ }
133
+
134
+ message CMsgSteamLearn_GetNearestEmbedding_Request {
135
+ optional uint32 project_id = 1;
136
+ optional uint32 published_version = 2;
137
+ optional uint32 train_id = 3;
138
+ optional string export_name = 4;
139
+ optional uint32 result_count = 5;
140
+ repeated float values = 6;
141
+ optional uint32 fetch_id = 7;
142
+ }
143
+
144
+ message CMsgSteamLearn_GetNearestEmbedding_Response {
145
+ optional int32 result = 1 [(.description) = "enum"];
146
+ repeated .CMsgSteamLearn_GetNearestEmbedding_Response_NearEmbedding near_embeddings = 2;
147
+ }
148
+
149
+ message CMsgSteamLearn_GetNearestEmbedding_Response_NearEmbedding {
150
+ optional uint32 value = 1;
151
+ optional float distance = 2;
152
+ repeated float embedding_values = 3;
153
+ }
154
+
155
+ message CMsgSteamLearn_GetProject_Request {
156
+ optional uint32 project_id = 1;
157
+ }
158
+
159
+ message CMsgSteamLearn_GetProject_Response {
160
+ optional .CMsgSteamLearnProject project = 1;
161
+ }
162
+
163
+ message CMsgSteamLearn_GetTrainLogs_Request {
164
+ optional uint32 project_id = 1;
165
+ optional uint32 fetch_id = 2;
166
+ optional uint32 train_id = 3;
167
+ }
168
+
169
+ message CMsgSteamLearn_GetTrainLogs_Response {
170
+ optional int32 result = 1 [(.description) = "enum"];
171
+ optional string main_log = 2;
172
+ repeated string fetch_worker_logs = 3;
173
+ optional string gpu_log = 4;
174
+ }
175
+
176
+ message CMsgSteamLearn_GetTrainStatus_Request {
177
+ optional uint32 project_id = 1;
178
+ optional uint32 train_id = 2;
179
+ }
180
+
181
+ message CMsgSteamLearn_GetTrainStatus_Response {
182
+ optional int32 result = 1 [(.description) = "enum"];
183
+ optional uint32 train_id = 2;
184
+ optional uint32 fetch_id = 3;
185
+ optional int32 status = 4 [(.description) = "enum"];
186
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Epoch epochs = 5;
187
+ optional uint32 total_epochs = 6;
188
+ optional uint32 train_batch_count = 7;
189
+ optional uint32 validate_batch_count = 8;
190
+ optional uint32 test_batch_count = 9;
191
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch test_batches = 10;
192
+ optional float test_loss = 11;
193
+ repeated float test_accuracy = 12;
194
+ optional uint32 start_time = 13;
195
+ optional uint32 end_time = 14;
196
+ optional bool scheduled_train = 15;
197
+ optional bool live = 16;
198
+ optional bool active = 17;
199
+ optional uint32 project_id = 18;
200
+ }
201
+
202
+ message CMsgSteamLearn_GetTrainStatus_Response_Batch {
203
+ optional float loss = 1;
204
+ repeated float accuracy = 2;
205
+ }
206
+
207
+ message CMsgSteamLearn_GetTrainStatus_Response_Epoch {
208
+ optional uint32 epoch_number = 1;
209
+ optional float epoch_train_loss = 2;
210
+ repeated float epoch_train_accuracy = 3;
211
+ optional float epoch_validate_loss = 4;
212
+ repeated float epoch_validate_accuracy = 5;
213
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch train_batches = 6;
214
+ repeated .CMsgSteamLearn_GetTrainStatus_Response_Batch validate_batches = 7;
215
+ optional uint32 start_time = 8;
216
+ optional uint32 end_time = 9;
217
+ }
218
+
219
+ message CMsgSteamLearn_GetTrainStatusVersions_Request {
220
+ optional uint32 project_id = 1;
221
+ optional uint32 published_version = 2;
222
+ }
223
+
224
+ message CMsgSteamLearn_GetTrainStatusVersions_Response {
225
+ repeated uint32 versions = 1;
226
+ }
227
+
228
+ message CMsgSteamLearn_Inference_Request {
229
+ optional string access_token = 1;
230
+ optional uint32 project_id = 3;
231
+ optional uint32 published_version = 4;
232
+ optional uint32 override_train_id = 5;
233
+ optional .CMsgSteamLearnDataList data = 6;
234
+ repeated float additional_data = 7;
235
+ repeated uint64 keys = 8;
236
+ optional string named_inference = 9;
237
+ }
238
+
239
+ message CMsgSteamLearn_Inference_Response {
240
+ optional int32 inference_result = 1 [(.description) = "enum"];
241
+ optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2;
242
+ repeated uint64 keys = 3;
243
+ }
244
+
245
+ message CMsgSteamLearn_InferenceBackend_Request {
246
+ optional uint32 project_id = 1;
247
+ optional uint32 fetch_id = 2;
248
+ optional uint32 train_id = 3;
249
+ repeated .CMsgSteamLearnRawDataElement data = 4;
250
+ repeated uint64 keys = 6;
251
+ repeated float additional_data = 7;
252
+ optional string named_inference = 8;
253
+ }
254
+
255
+ message CMsgSteamLearn_InferenceBackend_Response {
256
+ repeated .CMsgSteamLearn_InferenceBackend_Response_Output outputs = 1;
257
+ }
258
+
259
+ message CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput {
260
+ optional float value = 1;
261
+ }
262
+
263
+ message CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput {
264
+ repeated float weight = 1;
265
+ repeated float value = 2;
266
+ }
267
+
268
+ message CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput {
269
+ repeated float weight = 1;
270
+ repeated float value = 2;
271
+ }
272
+
273
+ message CMsgSteamLearn_InferenceBackend_Response_Output {
274
+ optional .CMsgSteamLearn_InferenceBackend_Response_BinaryCrossEntropyOutput binary_crossentropy = 1;
275
+ optional .CMsgSteamLearn_InferenceBackend_Response_CategoricalCrossEntropyOutput categorical_crossentropy = 2;
276
+ optional .CMsgSteamLearn_InferenceBackend_Response_MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3;
277
+ optional .CMsgSteamLearn_InferenceBackend_Response_RegressionOutput regression = 4;
278
+ }
279
+
280
+ message CMsgSteamLearn_InferenceBackend_Response_RegressionOutput {
281
+ repeated float value = 2;
282
+ }
283
+
284
+ message CMsgSteamLearn_InferenceMetadata_Request {
285
+ optional string access_token = 1;
286
+ optional uint32 project_id = 3;
287
+ optional uint32 published_version = 4;
288
+ optional uint32 override_train_id = 5;
289
+ }
290
+
291
+ message CMsgSteamLearn_InferenceMetadata_Response {
292
+ optional int32 inference_metadata_result = 1 [(.description) = "enum"];
293
+ optional .CMsgSteamLearn_InferenceMetadata_Response_RowRange row_range = 2;
294
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_Range ranges = 3;
295
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_StdDev std_devs = 4;
296
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable compact_tables = 5;
297
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans kmeans = 6;
298
+ optional .CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram snapshot_histogram = 7;
299
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry app_info = 8;
300
+ }
301
+
302
+ message CMsgSteamLearn_InferenceMetadata_Response_AppInfo {
303
+ optional string country_allow = 1;
304
+ optional string country_deny = 2;
305
+ optional bool platform_win = 3;
306
+ optional bool platform_mac = 4;
307
+ optional bool platform_linux = 5;
308
+ optional bool adult_violence = 6;
309
+ optional bool adult_sex = 7;
310
+ }
311
+
312
+ message CMsgSteamLearn_InferenceMetadata_Response_AppInfoEntry {
313
+ optional uint32 key = 1;
314
+ optional .CMsgSteamLearn_InferenceMetadata_Response_AppInfo value = 2;
315
+ }
316
+
317
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable {
318
+ optional string name = 1;
319
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry map_values = 2;
320
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry map_mappings = 3;
321
+ optional uint64 total_count = 4;
322
+ }
323
+
324
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry {
325
+ optional uint32 value = 1;
326
+ optional uint32 mapping = 2;
327
+ optional uint64 count = 3;
328
+ }
329
+
330
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapMappingsEntry {
331
+ optional uint32 key = 1;
332
+ optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
333
+ }
334
+
335
+ message CMsgSteamLearn_InferenceMetadata_Response_CompactTable_MapValuesEntry {
336
+ optional uint32 key = 1;
337
+ optional .CMsgSteamLearn_InferenceMetadata_Response_CompactTable_Entry value = 2;
338
+ }
339
+
340
+ message CMsgSteamLearn_InferenceMetadata_Response_KMeans {
341
+ optional string name = 1;
342
+ repeated .CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster clusters = 2;
343
+ }
344
+
345
+ message CMsgSteamLearn_InferenceMetadata_Response_KMeans_Cluster {
346
+ optional float x = 1;
347
+ optional float y = 2;
348
+ optional float radius = 3;
349
+ optional float radius_75pct = 4;
350
+ optional float radius_50pct = 5;
351
+ optional float radius_25pct = 6;
352
+ }
353
+
354
+ message CMsgSteamLearn_InferenceMetadata_Response_Range {
355
+ optional string data_element_path = 1;
356
+ optional float min_value = 2;
357
+ optional float max_value = 3;
358
+ }
359
+
360
+ message CMsgSteamLearn_InferenceMetadata_Response_RowRange {
361
+ optional uint64 min_row = 1;
362
+ optional uint64 max_row = 2;
363
+ }
364
+
365
+ message CMsgSteamLearn_InferenceMetadata_Response_SnapshotHistogram {
366
+ optional float min_value = 1;
367
+ optional float max_value = 2;
368
+ optional uint32 num_buckets = 3;
369
+ repeated uint32 bucket_counts = 4;
370
+ }
371
+
372
+ message CMsgSteamLearn_InferenceMetadata_Response_StdDev {
373
+ optional string data_element_path = 1;
374
+ optional float mean = 2;
375
+ optional float std_dev = 3;
376
+ }
377
+
378
+ message CMsgSteamLearn_ListDataSources_Request {
379
+ }
380
+
381
+ message CMsgSteamLearn_ListDataSources_Response {
382
+ repeated .CMsgSteamLearnDataSource data_sources = 1;
383
+ }
384
+
385
+ message CMsgSteamLearn_ListProjects_Request {
386
+ optional uint32 appid = 1;
387
+ }
388
+
389
+ message CMsgSteamLearn_ListProjects_Response {
390
+ repeated .CMsgSteamLearnProject projects = 1;
391
+ }
392
+
393
+ message CMsgSteamLearn_LogEvent {
394
+ optional int32 event_type = 1 [(.description) = "enum"];
395
+ optional uint32 timestamp = 2;
396
+ optional .CMsgSteamLearn_LogEvent_TrainStarted train_started = 3;
397
+ optional .CMsgSteamLearn_LogEvent_TrainEnded train_ended = 4;
398
+ optional .CMsgSteamLearn_LogEvent_TrainSetLive train_set_live = 5;
399
+ optional .CMsgSteamLearn_LogEvent_ScheduledTrain scheduled_train = 6;
400
+ }
401
+
402
+ message CMsgSteamLearn_LogEvent_ScheduledTrain {
403
+ optional uint32 project_id = 1;
404
+ optional uint32 fetch_id = 2;
405
+ optional uint32 train_id = 3;
406
+ }
407
+
408
+ message CMsgSteamLearn_LogEvent_TrainEnded {
409
+ optional uint32 project_id = 1;
410
+ optional uint32 fetch_id = 2;
411
+ optional uint32 train_id = 3;
412
+ optional float loss = 4;
413
+ optional float accuracy = 5;
414
+ }
415
+
416
+ message CMsgSteamLearn_LogEvent_TrainSetLive {
417
+ optional uint32 project_id = 1;
418
+ optional uint32 fetch_id = 2;
419
+ optional uint32 train_id = 3;
420
+ optional bool manual_set_live = 4;
421
+ optional float accuracy_difference = 5;
422
+ optional float accuracy_threshold = 6;
423
+ }
424
+
425
+ message CMsgSteamLearn_LogEvent_TrainStarted {
426
+ optional uint32 project_id = 1;
427
+ optional uint32 fetch_id = 2;
428
+ optional uint32 train_id = 3;
429
+ }
430
+
431
+ message CMsgSteamLearn_PublishProject_Request {
432
+ optional uint32 project_id = 1;
433
+ }
434
+
435
+ message CMsgSteamLearn_PublishProject_Response {
436
+ optional int32 result = 1 [(.description) = "enum"];
437
+ }
438
+
439
+ message CMsgSteamLearn_RegisterDataSource_Request {
440
+ optional string access_token = 1;
441
+ optional .CMsgSteamLearnDataSource data_source = 3;
442
+ }
443
+
444
+ message CMsgSteamLearn_RegisterDataSource_Response {
445
+ optional int32 result = 1 [(.description) = "enum"];
446
+ optional .CMsgSteamLearnDataSource data_source = 2;
447
+ }
448
+
449
+ message CMsgSteamLearn_SetTrainLive_Request {
450
+ optional uint32 project_id = 1;
451
+ optional uint32 published_version = 2;
452
+ optional uint32 train_id = 3;
453
+ optional bool from_scheduled = 4;
454
+ optional bool deactivate = 5;
455
+ }
456
+
457
+ message CMsgSteamLearn_SetTrainLive_Response {
458
+ optional int32 result = 1 [(.description) = "enum"];
459
+ }
460
+
461
+ message CMsgSteamLearn_SnapshotProject_Request {
462
+ optional string access_token = 1;
463
+ optional uint32 project_id = 3;
464
+ repeated uint64 keys = 4;
465
+ repeated .CMsgSteamLearnData data = 5;
466
+ optional uint32 pending_data_limit_seconds = 6;
467
+ optional uint32 published_version = 7;
468
+ }
469
+
470
+ message CMsgSteamLearn_SnapshotProject_Response {
471
+ optional int32 snapshot_result = 1 [(.description) = "enum"];
472
+ }
473
+
474
+ message CMsgSteamLearn_Train_Request {
475
+ optional .CMsgSteamLearnProjectConfig project_config = 1;
476
+ optional .CMsgSteamLearn_Train_Request_Fetch fetch = 2;
477
+ optional .CMsgSteamLearn_Train_Request_Train train = 3;
478
+ }
479
+
480
+ message CMsgSteamLearn_Train_Request_Fetch {
481
+ optional uint32 fetch_id = 1;
482
+ optional bool request_cancel = 2;
483
+ }
484
+
485
+ message CMsgSteamLearn_Train_Request_Train {
486
+ optional uint32 train_id = 1;
487
+ optional bool request_cancel = 2;
488
+ optional bool scheduled_train = 3;
489
+ }
490
+
491
+ message CMsgSteamLearn_Train_Response {
492
+ optional int32 result = 1 [(.description) = "enum"];
493
+ }
494
+
495
+ message CMsgSteamLearnAccessTokens {
496
+ optional string register_data_source_access_token = 1;
497
+ repeated .CMsgSteamLearnAccessTokens_CacheDataAccessToken cache_data_access_tokens = 2;
498
+ repeated .CMsgSteamLearnAccessTokens_SnapshotProjectAccessToken snapshot_project_access_tokens = 3;
499
+ repeated .CMsgSteamLearnAccessTokens_InferenceAccessToken inference_access_tokens = 4;
500
+ }
501
+
502
+ message CMsgSteamLearnAccessTokens_CacheDataAccessToken {
503
+ optional uint32 data_source_id = 1;
504
+ optional string access_token = 2;
505
+ }
506
+
507
+ message CMsgSteamLearnAccessTokens_InferenceAccessToken {
508
+ optional uint32 project_id = 1;
509
+ optional string access_token = 2;
510
+ }
511
+
512
+ message CMsgSteamLearnAccessTokens_SnapshotProjectAccessToken {
513
+ optional uint32 project_id = 1;
514
+ optional string access_token = 2;
515
+ }
516
+
517
+ message CMsgSteamLearnData {
518
+ optional uint32 data_source_id = 1;
519
+ repeated uint64 keys = 2;
520
+ optional .CMsgSteamLearnDataObject data_object = 3;
521
+ }
522
+
523
+ message CMsgSteamLearnDataElement {
524
+ optional string name = 1;
525
+ repeated int32 data_int32s = 20;
526
+ repeated float data_floats = 21;
527
+ repeated bool data_bools = 22;
528
+ repeated string data_strings = 23;
529
+ repeated .CMsgSteamLearnDataObject data_objects = 24;
530
+ }
531
+
532
+ message CMsgSteamLearnDataList {
533
+ repeated .CMsgSteamLearnData data = 1;
534
+ }
535
+
536
+ message CMsgSteamLearnDataObject {
537
+ repeated .CMsgSteamLearnDataElement elements = 1;
538
+ }
539
+
540
+ message CMsgSteamLearnDataRetentionConfig {
541
+ optional uint32 snapshot_keep_duration_days = 1;
542
+ optional uint32 fetch_keep_count = 2;
543
+ }
544
+
545
+ message CMsgSteamLearnDataSource {
546
+ optional uint32 id = 1;
547
+ optional string name = 2;
548
+ optional uint32 version = 3;
549
+ optional string source_description = 4;
550
+ optional .CMsgSteamLearnDataSourceDescObject structure = 5;
551
+ optional uint32 structure_crc = 6;
552
+ optional uint32 cache_duration_seconds = 7;
553
+ }
554
+
555
+ message CMsgSteamLearnDataSourceDescElement {
556
+ optional string name = 1;
557
+ optional int32 data_type = 2 [(.description) = "enum"];
558
+ optional .CMsgSteamLearnDataSourceDescObject object = 3;
559
+ optional uint32 count = 4;
560
+ }
561
+
562
+ message CMsgSteamLearnDataSourceDescObject {
563
+ repeated .CMsgSteamLearnDataSourceDescElement elements = 1;
564
+ }
565
+
566
+ message CMsgSteamLearnDataSourceElementUsage {
567
+ optional uint32 data_source_id = 1;
568
+ optional string data_element_path = 2;
569
+ optional bool is_string = 3;
570
+ optional uint32 input = 4;
571
+ optional uint32 sql_column = 5;
572
+ optional int32 preprocessing_type = 6 [(.description) = "enum"];
573
+ optional float min_range = 7;
574
+ optional float max_range = 8;
575
+ optional float std_dev = 9;
576
+ optional string compact_table = 10;
577
+ optional uint32 compact_table_count = 11;
578
+ }
579
+
580
+ message CMsgSteamLearnFetchInfo {
581
+ optional uint32 fetch_id = 1;
582
+ }
583
+
584
+ message CMsgSteamLearnModelNodeBatchNormalization {
585
+ }
586
+
587
+ message CMsgSteamLearnModelNodeCombine {
588
+ }
589
+
590
+ message CMsgSteamLearnModelNodeConcatenate {
591
+ }
592
+
593
+ message CMsgSteamLearnModelNodeConditionalExtract {
594
+ optional int32 extract_filter_type = 10 [(.description) = "enum"];
595
+ optional int32 extract_weight_type = 11 [(.description) = "enum"];
596
+ optional .CMsgSteamLearnModelNodeConditionalExtract_FilterInfo filter_info = 12;
597
+ optional .CMsgSteamLearnModelNodeConditionalExtract_WeightInfo weight_info = 13;
598
+ optional string compact_table = 14;
599
+ optional string extracted_compact_table = 15;
600
+ }
601
+
602
+ message CMsgSteamLearnModelNodeConditionalExtract_FilterInfo {
603
+ optional uint32 appid_release_recency_months = 1;
604
+ optional uint32 appid_publisher_id = 2;
605
+ optional uint32 appid_featured_tag_id = 3;
606
+ optional uint32 appid_theme_tag_id = 4;
607
+ }
608
+
609
+ message CMsgSteamLearnModelNodeConditionalExtract_WeightInfo {
610
+ optional float appid_release_recency_bias = 1;
611
+ optional uint32 input_number = 2;
612
+ optional float input_strength = 3;
613
+ }
614
+
615
+ message CMsgSteamLearnModelNodeConditionalSwap {
616
+ }
617
+
618
+ message CMsgSteamLearnModelNodeDense {
619
+ optional int32 activation = 1 [(.description) = "enum"];
620
+ optional uint32 width = 2;
621
+ }
622
+
623
+ message CMsgSteamLearnModelNodeDenseStack {
624
+ optional int32 activation = 1 [(.description) = "enum"];
625
+ repeated uint32 width = 2;
626
+ optional uint32 dropout_pct = 3;
627
+ }
628
+
629
+ message CMsgSteamLearnModelNodeDot {
630
+ optional bool normalize = 1;
631
+ }
632
+
633
+ message CMsgSteamLearnModelNodeDropout {
634
+ optional uint32 dropout_pct = 1;
635
+ }
636
+
637
+ message CMsgSteamLearnModelNodeEmbedding {
638
+ optional uint32 max_value = 1;
639
+ optional string compact_table = 2;
640
+ optional uint32 embedding_width = 3;
641
+ optional bool flatten = 4;
642
+ optional string export_name = 5;
643
+ optional string embed_name = 6;
644
+ }
645
+
646
+ message CMsgSteamLearnModelNodeExplode {
647
+ }
648
+
649
+ message CMsgSteamLearnModelNodeExtract {
650
+ optional int32 input_type = 1 [(.description) = "enum"];
651
+ optional int32 mode = 2 [(.description) = "enum"];
652
+ optional int32 exclusion = 3 [(.description) = "enum"];
653
+ optional int32 selection = 4 [(.description) = "enum"];
654
+ optional float bias_start = 5;
655
+ optional float bias_end = 6;
656
+ optional uint32 input_bias_input_number = 7;
657
+ optional float input_bias_strength = 8;
658
+ optional uint32 positive_sample_percent = 9;
659
+ optional string compact_table = 10;
660
+ optional string extracted_compact_table = 11;
661
+ optional uint32 recency_months = 12;
662
+ }
663
+
664
+ message CMsgSteamLearnModelNodeInput {
665
+ optional uint32 input_num = 1;
666
+ }
667
+
668
+ message CMsgSteamLearnModelNodeKMeansCluster {
669
+ optional uint32 num_clusters = 1;
670
+ optional string name = 2;
671
+ optional bool generate_clusters = 3;
672
+ }
673
+
674
+ message CMsgSteamLearnModelNodeNamedInference {
675
+ optional string name = 1;
676
+ }
677
+
678
+ message CMsgSteamLearnModelNodeNormalize {
679
+ }
680
+
681
+ message CMsgSteamLearnModelNodeOnehot {
682
+ optional uint32 width = 1;
683
+ optional string compact_table = 2;
684
+ }
685
+
686
+ message CMsgSteamLearnModelNodeShuffle {
687
+ optional bool exclude_zeroes = 1;
688
+ }
689
+
690
+ message CMsgSteamLearnModelNodeSyncedShuffle {
691
+ optional bool exclude_zeroes = 1;
692
+ }
693
+
694
+ message CMsgSteamLearnModelNodeTextVectorization {
695
+ optional uint32 vocabulary_size = 1;
696
+ optional int32 standardize = 2 [(.description) = "enum"];
697
+ optional int32 output = 3 [(.description) = "enum"];
698
+ optional uint32 sequence_length = 4;
699
+ }
700
+
701
+ message CMsgSteamLearnModelNodeTrain {
702
+ optional uint32 input_count = 1;
703
+ optional int32 activation = 2 [(.description) = "enum"];
704
+ optional uint32 width = 3;
705
+ optional string compact_table = 4;
706
+ optional int32 loss = 6 [(.description) = "enum"];
707
+ optional float learning_rate = 7;
708
+ }
709
+
710
+ message CMsgSteamLearnProject {
711
+ optional uint32 project_id = 1;
712
+ optional string project_name = 2;
713
+ optional string project_description = 3;
714
+ optional uint32 creator_account_id = 4;
715
+ optional uint32 create_time = 5;
716
+ optional .CMsgSteamLearnProjectConfig unpublished_config = 6;
717
+ repeated .CMsgSteamLearnProjectConfig published_configs = 7;
718
+ }
719
+
720
+ message CMsgSteamLearnProjectConfig {
721
+ optional uint32 project_id = 1;
722
+ optional uint32 publish_time = 2;
723
+ optional uint32 published_version = 3;
724
+ repeated uint32 data_source_ids = 4;
725
+ repeated .CMsgSteamLearnDataSourceElementUsage data_source_element_usages = 5;
726
+ repeated .CMsgSteamLearnProjectNode project_nodes = 6;
727
+ optional .CMsgSteamLearnProjectSnapshotConfig snapshot_config = 7;
728
+ optional .CMsgSteamLearnTrainConfig train_config = 8;
729
+ optional .CMsgSteamLearnProjectSnapshotFilter snapshot_filter = 11;
730
+ repeated .CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry map_data_element_sql_column = 12;
731
+ optional uint32 total_sql_columns = 13;
732
+ optional .CMsgSteamLearnDataRetentionConfig data_retention_config = 14;
733
+ optional .CMsgSteamLearnScheduledTrainConfig scheduled_train_config = 16;
734
+ repeated .CMsgSteamLearnFetchInfo fetch_infos = 17;
735
+ repeated .CMsgSteamLearnTrainInfo train_infos = 18;
736
+ }
737
+
738
+ message CMsgSteamLearnProjectConfig_MapDataElementSqlColumnEntry {
739
+ optional string key = 1;
740
+ optional int32 value = 2;
741
+ }
742
+
743
+ message CMsgSteamLearnProjectNode {
744
+ optional uint32 node_id = 1;
745
+ optional int32 location_x = 2;
746
+ optional int32 location_y = 3;
747
+ optional string comment = 4;
748
+ optional int32 type = 5 [(.description) = "enum"];
749
+ repeated .CMsgSteamLearnProjectNodeConnector connectors = 6;
750
+ optional .CMsgSteamLearnModelNodeInput input = 10;
751
+ optional .CMsgSteamLearnModelNodeDense dense = 11;
752
+ optional .CMsgSteamLearnModelNodeDenseStack dense_stack = 12;
753
+ optional .CMsgSteamLearnModelNodeDropout dropout = 13;
754
+ optional .CMsgSteamLearnModelNodeEmbedding embedding = 14;
755
+ optional .CMsgSteamLearnModelNodeTrain train = 15;
756
+ optional .CMsgSteamLearnModelNodeConditionalExtract conditional_extract = 16;
757
+ optional .CMsgSteamLearnModelNodeConcatenate concatenate = 17;
758
+ optional .CMsgSteamLearnModelNodeShuffle shuffle = 18;
759
+ optional .CMsgSteamLearnModelNodeSyncedShuffle synced_shuffle = 19;
760
+ optional .CMsgSteamLearnModelNodeOnehot onehot = 20;
761
+ optional .CMsgSteamLearnModelNodeExplode explode = 21;
762
+ optional .CMsgSteamLearnModelNodeConditionalSwap conditional_swap = 22;
763
+ optional .CMsgSteamLearnModelNodeKMeansCluster kmeans = 23;
764
+ optional .CMsgSteamLearnModelNodeCombine combine = 24;
765
+ optional .CMsgSteamLearnModelNodeTextVectorization text_vectorization = 25;
766
+ optional .CMsgSteamLearnModelNodeBatchNormalization batch_normalization = 26;
767
+ optional .CMsgSteamLearnModelNodeNormalize normalize = 27;
768
+ optional .CMsgSteamLearnModelNodeNamedInference named_inference = 28;
769
+ optional .CMsgSteamLearnModelNodeDot dot = 29;
770
+ optional .CMsgSteamLearnModelNodeExtract extract = 30;
771
+ }
772
+
773
+ message CMsgSteamLearnProjectNodeConnector {
774
+ optional uint32 connector_id = 1;
775
+ repeated uint32 linked_connector_ids = 2;
776
+ optional bool is_input_connector = 3;
777
+ }
778
+
779
+ message CMsgSteamLearnProjectSnapshotConfig {
780
+ optional int32 snapshot_type = 1 [(.description) = "enum"];
781
+ optional .CMsgSteamLearnProjectSnapshotConfigAccountIDs config_account_ids = 2;
782
+ optional .CMsgSteamLearnProjectSnapshotConfigAppIDs config_app_ids = 3;
783
+ optional .CMsgSteamLearnProjectSnapshotConfigOtherProject config_other_project = 4;
784
+ optional int32 snapshot_schedule_type = 5 [(.description) = "enum"];
785
+ optional uint32 snapshot_schedule_day_of_week = 6;
786
+ optional uint32 snapshot_schedule_day_of_month = 7;
787
+ }
788
+
789
+ message CMsgSteamLearnProjectSnapshotConfigAccountIDs {
790
+ optional uint32 percent = 1;
791
+ optional uint32 activity_recency_days = 2;
792
+ }
793
+
794
+ message CMsgSteamLearnProjectSnapshotConfigAppIDs {
795
+ optional uint32 percent = 1;
796
+ optional uint32 release_recency_days = 2;
797
+ }
798
+
799
+ message CMsgSteamLearnProjectSnapshotConfigOtherProject {
800
+ optional uint32 project_id = 1;
801
+ optional uint32 published_version = 2;
802
+ }
803
+
804
+ message CMsgSteamLearnProjectSnapshotFilter {
805
+ optional uint32 sample_reduce_percent = 1;
806
+ optional .CMsgSteamLearnProjectSnapshotFilterHistogram histogram = 2;
807
+ }
808
+
809
+ message CMsgSteamLearnProjectSnapshotFilterHistogram {
810
+ optional string data_element_path = 1;
811
+ optional float min_value = 2;
812
+ optional float max_value = 3;
813
+ optional uint32 num_buckets = 4;
814
+ }
815
+
816
+ message CMsgSteamLearnRawDataElement {
817
+ optional float float_value = 1;
818
+ optional string string_value = 2;
819
+ }
820
+
821
+ message CMsgSteamLearnScheduledTrainConfig {
822
+ optional int32 scheduled_type = 1 [(.description) = "enum"];
823
+ optional uint32 scheduled_minute = 2;
824
+ optional uint32 scheduled_hour = 3;
825
+ optional uint32 scheduled_day_of_week = 4;
826
+ optional uint32 scheduled_day_of_month = 5;
827
+ optional float auto_activate_accuracy_threshold = 6;
828
+ }
829
+
830
+ message CMsgSteamLearnTrainConfig {
831
+ optional uint32 fetch_workers = 1;
832
+ optional uint32 fetch_chunk_size = 2;
833
+ optional uint32 train_batch_size = 3;
834
+ optional uint32 train_epoch_count = 4;
835
+ optional float train_loss_improvement_threshold = 5;
836
+ optional uint32 train_no_loss_improvement_epoch_limit = 6;
837
+ optional int32 train_optimizer = 7 [(.description) = "enum"];
838
+ optional float train_learning_rate = 8;
839
+ }
840
+
841
+ message CMsgSteamLearnTrainInfo {
842
+ optional uint32 fetch_id = 1;
843
+ optional uint32 train_id = 2;
844
+ optional bool scheduled_train = 3;
845
+ optional bool auto_snapshot_pending = 4;
846
+ }
847
+
848
+ service SteamLearn {
849
+ rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response);
850
+ rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response);
851
+ rpc CreateProject (.CMsgSteamLearn_CreateProject_Request) returns (.CMsgSteamLearn_CreateProject_Response);
852
+ rpc EditProject (.CMsgSteamLearn_EditProject_Request) returns (.CMsgSteamLearn_EditProject_Response);
853
+ rpc GetAccessTokensWeb (.CMsgSteamLearn_GetAccessTokens_Request) returns (.CMsgSteamLearn_GetAccessTokens_Response);
854
+ rpc GetBatchedStatus (.CMsgSteamLearn_GetBatchedStatus_Request) returns (.CMsgSteamLearn_GetBatchedStatus_Response);
855
+ rpc GetDataSource (.CMsgSteamLearn_GetDataSource_Request) returns (.CMsgSteamLearn_GetDataSource_Response);
856
+ rpc GetEmbeddingValues (.CMsgSteamLearn_GetEmbeddingValues_Request) returns (.CMsgSteamLearn_GetEmbeddingValues_Response);
857
+ rpc GetFetchStatus (.CMsgSteamLearn_GetFetchStatus_Request) returns (.CMsgSteamLearn_GetFetchStatus_Response);
858
+ rpc GetFetchStatusVersions (.CMsgSteamLearn_GetFetchStatusVersions_Request) returns (.CMsgSteamLearn_GetFetchStatusVersions_Response);
859
+ rpc GetLogEvents (.CMsgSteamLearn_GetLogEvents_Request) returns (.CMsgSteamLearn_GetLogEvents_Response);
860
+ rpc GetNearestEmbedding (.CMsgSteamLearn_GetNearestEmbedding_Request) returns (.CMsgSteamLearn_GetNearestEmbedding_Response);
861
+ rpc GetProject (.CMsgSteamLearn_GetProject_Request) returns (.CMsgSteamLearn_GetProject_Response);
862
+ rpc GetTrainLogs (.CMsgSteamLearn_GetTrainLogs_Request) returns (.CMsgSteamLearn_GetTrainLogs_Response);
863
+ rpc GetTrainStatus (.CMsgSteamLearn_GetTrainStatus_Request) returns (.CMsgSteamLearn_GetTrainStatus_Response);
864
+ rpc GetTrainStatusVersions (.CMsgSteamLearn_GetTrainStatusVersions_Request) returns (.CMsgSteamLearn_GetTrainStatusVersions_Response);
865
+ rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response);
866
+ rpc InferenceBackend (.CMsgSteamLearn_InferenceBackend_Request) returns (.CMsgSteamLearn_InferenceBackend_Response);
867
+ rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response);
868
+ rpc ListDataSources (.CMsgSteamLearn_ListDataSources_Request) returns (.CMsgSteamLearn_ListDataSources_Response);
869
+ rpc ListProjects (.CMsgSteamLearn_ListProjects_Request) returns (.CMsgSteamLearn_ListProjects_Response);
870
+ rpc PublishProject (.CMsgSteamLearn_PublishProject_Request) returns (.CMsgSteamLearn_PublishProject_Response);
871
+ rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response);
872
+ rpc SetTrainLive (.CMsgSteamLearn_SetTrainLive_Request) returns (.CMsgSteamLearn_SetTrainLive_Response);
873
+ rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response);
874
+ rpc Train (.CMsgSteamLearn_Train_Request) returns (.CMsgSteamLearn_Train_Response);
875
+ }
876
+