11import * as $protobuf from "protobufjs" ;
2+ import Long = require( "long" ) ;
23/** Namespace RotomProtos. */
34export namespace RotomProtos {
45
@@ -255,7 +256,11 @@ export namespace RotomProtos {
255256 /** LoginSource enum. */
256257 enum LoginSource {
257258 UNSET = 0 ,
258- PTC = 1
259+ PTC = 1 ,
260+ PTC_OAUTH = 2 ,
261+ FB = 3 ,
262+ GOOGLE = 4 ,
263+ N_KIDS = 5
259264 }
260265 }
261266
@@ -495,6 +500,9 @@ export namespace RotomProtos {
495500
496501 /** MitmResponse rpcResponse */
497502 rpcResponse ?: ( RotomProtos . MitmResponse . IRpcResponse | null ) ;
503+
504+ /** MitmResponse mitmError */
505+ mitmError ?: ( string | null ) ;
498506 }
499507
500508 /** Represents a MitmResponse. */
@@ -518,6 +526,9 @@ export namespace RotomProtos {
518526 /** MitmResponse rpcResponse. */
519527 public rpcResponse ?: ( RotomProtos . MitmResponse . IRpcResponse | null ) ;
520528
529+ /** MitmResponse mitmError. */
530+ public mitmError : string ;
531+
521532 /** MitmResponse payload. */
522533 public payload ?: ( "loginResponse" | "rpcResponse" ) ;
523534
@@ -606,10 +617,9 @@ export namespace RotomProtos {
606617 UNSET = 0 ,
607618 SUCCESS = 200 ,
608619 ERROR_UNKNOWN = 500 ,
609- ERROR_GAME_NOT_READY = 501 ,
610- ERROR_LOGIN_IN_PROGRESS = 502 ,
611- ERROR_TOKEN_REJECTED = 503 ,
612- ERROR_NOT_LOGGED_IN = 504
620+ ERROR_RETRY_LATER = 501 ,
621+ ERROR_WORKER_STOPPED = 502 ,
622+ ERROR_RECONNECT = 503
613623 }
614624
615625 /** Properties of a LoginResponse. */
@@ -623,6 +633,9 @@ export namespace RotomProtos {
623633
624634 /** LoginResponse supportsCompression */
625635 supportsCompression ?: ( boolean | null ) ;
636+
637+ /** LoginResponse useragent */
638+ useragent ?: ( string | null ) ;
626639 }
627640
628641 /** Represents a LoginResponse. */
@@ -643,6 +656,9 @@ export namespace RotomProtos {
643656 /** LoginResponse supportsCompression. */
644657 public supportsCompression : boolean ;
645658
659+ /** LoginResponse useragent. */
660+ public useragent : string ;
661+
646662 /**
647663 * Creates a new LoginResponse instance using the specified properties.
648664 * @param [properties] Properties to set
@@ -1100,6 +1116,8 @@ export namespace RotomProtos {
11001116 RPC_STATUS_ACCESS_SUSPENDED = 16 ,
11011117 RPC_STATUS_DEVICE_INCOMPATIBLE = 17 ,
11021118 RPC_STATUS_ACCESS_RATE_LIMITED = 18 ,
1119+ RPC_STATUS_GOOGLE_PLAY_NOT_READY = 19 ,
1120+ RPC_STATUS_LOGIN_ERROR_BAIL = 20 ,
11031121 RPC_STATUS_MITM_DISALLOWED_REQUEST = 99
11041122 }
11051123}
0 commit comments