@n4tzz/n4lyx 2.7.1 → 2.7.2

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.
@@ -6469,6 +6469,1009 @@ export namespace proto {
6469
6469
  }
6470
6470
  }
6471
6471
 
6472
+ /** Properties of a ClientPayload. */
6473
+ interface IClientPayload {
6474
+
6475
+ /** ClientPayload username */
6476
+ username?: (number|Long|null);
6477
+
6478
+ /** ClientPayload passive */
6479
+ passive?: (boolean|null);
6480
+
6481
+ /** ClientPayload userAgent */
6482
+ userAgent?: (proto.ClientPayload.IUserAgent|null);
6483
+
6484
+ /** ClientPayload webInfo */
6485
+ webInfo?: (proto.ClientPayload.IWebInfo|null);
6486
+
6487
+ /** ClientPayload connectType */
6488
+ connectType?: (proto.ClientPayload.ConnectType|null);
6489
+
6490
+ /** ClientPayload connectReason */
6491
+ connectReason?: (proto.ClientPayload.ConnectReason|null);
6492
+
6493
+ /** ClientPayload shards */
6494
+ shards?: (Uint8Array|null);
6495
+
6496
+ /** ClientPayload dnsSource */
6497
+ dnsSource?: (proto.ClientPayload.IDNSSource|null);
6498
+
6499
+ /** ClientPayload device */
6500
+ device?: (number|null);
6501
+
6502
+ /** ClientPayload devicePairingData */
6503
+ devicePairingData?: (proto.ClientPayload.IDevicePairingRegistrationData|null);
6504
+
6505
+ /** ClientPayload pull */
6506
+ pull?: (boolean|null);
6507
+
6508
+ /** ClientPayload recoverFromCompanionSession */
6509
+ recoverFromCompanionSession?: (boolean|null);
6510
+
6511
+ /** ClientPayload recoverFromSessionPairSignedLtkMessage */
6512
+ recoverFromSessionPairSignedLtkMessage?: (boolean|null);
6513
+
6514
+ /** ClientPayload productType */
6515
+ productType?: (string|null);
6516
+
6517
+ /** ClientPayload fidoBrowserEnabled */
6518
+ fidoBrowserEnabled?: (boolean|null);
6519
+
6520
+ /** ClientPayload iosPhoneNumberMigration */
6521
+ iosPhoneNumberMigration?: (boolean|null);
6522
+
6523
+ /** ClientPayload lidDbMigrated */
6524
+ lidDbMigrated?: (boolean|null);
6525
+ }
6526
+
6527
+ /** Represents a ClientPayload. */
6528
+ class ClientPayload implements IClientPayload {
6529
+
6530
+ /**
6531
+ * Constructs a new ClientPayload.
6532
+ * @param [properties] Properties to set
6533
+ */
6534
+ constructor(properties?: proto.IClientPayload);
6535
+
6536
+ /** ClientPayload username. */
6537
+ public username?: (number|Long|null);
6538
+
6539
+ /** ClientPayload passive. */
6540
+ public passive?: (boolean|null);
6541
+
6542
+ /** ClientPayload userAgent. */
6543
+ public userAgent?: (proto.ClientPayload.IUserAgent|null);
6544
+
6545
+ /** ClientPayload webInfo. */
6546
+ public webInfo?: (proto.ClientPayload.IWebInfo|null);
6547
+
6548
+ /** ClientPayload connectType. */
6549
+ public connectType?: (proto.ClientPayload.ConnectType|null);
6550
+
6551
+ /** ClientPayload connectReason. */
6552
+ public connectReason?: (proto.ClientPayload.ConnectReason|null);
6553
+
6554
+ /** ClientPayload shards. */
6555
+ public shards?: (Uint8Array|null);
6556
+
6557
+ /** ClientPayload dnsSource. */
6558
+ public dnsSource?: (proto.ClientPayload.IDNSSource|null);
6559
+
6560
+ /** ClientPayload device. */
6561
+ public device?: (number|null);
6562
+
6563
+ /** ClientPayload devicePairingData. */
6564
+ public devicePairingData?: (proto.ClientPayload.IDevicePairingRegistrationData|null);
6565
+
6566
+ /** ClientPayload pull. */
6567
+ public pull?: (boolean|null);
6568
+
6569
+ /** ClientPayload recoverFromCompanionSession. */
6570
+ public recoverFromCompanionSession?: (boolean|null);
6571
+
6572
+ /** ClientPayload recoverFromSessionPairSignedLtkMessage. */
6573
+ public recoverFromSessionPairSignedLtkMessage?: (boolean|null);
6574
+
6575
+ /** ClientPayload productType. */
6576
+ public productType?: (string|null);
6577
+
6578
+ /** ClientPayload fidoBrowserEnabled. */
6579
+ public fidoBrowserEnabled?: (boolean|null);
6580
+
6581
+ /** ClientPayload iosPhoneNumberMigration. */
6582
+ public iosPhoneNumberMigration?: (boolean|null);
6583
+
6584
+ /** ClientPayload lidDbMigrated. */
6585
+ public lidDbMigrated?: (boolean|null);
6586
+
6587
+ /** ClientPayload _username. */
6588
+ public _username?: "username";
6589
+
6590
+ /** ClientPayload _passive. */
6591
+ public _passive?: "passive";
6592
+
6593
+ /** ClientPayload _userAgent. */
6594
+ public _userAgent?: "userAgent";
6595
+
6596
+ /** ClientPayload _webInfo. */
6597
+ public _webInfo?: "webInfo";
6598
+
6599
+ /** ClientPayload _connectType. */
6600
+ public _connectType?: "connectType";
6601
+
6602
+ /** ClientPayload _connectReason. */
6603
+ public _connectReason?: "connectReason";
6604
+
6605
+ /** ClientPayload _shards. */
6606
+ public _shards?: "shards";
6607
+
6608
+ /** ClientPayload _dnsSource. */
6609
+ public _dnsSource?: "dnsSource";
6610
+
6611
+ /** ClientPayload _device. */
6612
+ public _device?: "device";
6613
+
6614
+ /** ClientPayload _devicePairingData. */
6615
+ public _devicePairingData?: "devicePairingData";
6616
+
6617
+ /** ClientPayload _pull. */
6618
+ public _pull?: "pull";
6619
+
6620
+ /** ClientPayload _recoverFromCompanionSession. */
6621
+ public _recoverFromCompanionSession?: "recoverFromCompanionSession";
6622
+
6623
+ /** ClientPayload _recoverFromSessionPairSignedLtkMessage. */
6624
+ public _recoverFromSessionPairSignedLtkMessage?: "recoverFromSessionPairSignedLtkMessage";
6625
+
6626
+ /** ClientPayload _productType. */
6627
+ public _productType?: "productType";
6628
+
6629
+ /** ClientPayload _fidoBrowserEnabled. */
6630
+ public _fidoBrowserEnabled?: "fidoBrowserEnabled";
6631
+
6632
+ /** ClientPayload _iosPhoneNumberMigration. */
6633
+ public _iosPhoneNumberMigration?: "iosPhoneNumberMigration";
6634
+
6635
+ /** ClientPayload _lidDbMigrated. */
6636
+ public _lidDbMigrated?: "lidDbMigrated";
6637
+
6638
+ /**
6639
+ * Creates a new ClientPayload instance using the specified properties.
6640
+ * @param [properties] Properties to set
6641
+ * @returns ClientPayload instance
6642
+ */
6643
+ public static create(properties?: proto.IClientPayload): proto.ClientPayload;
6644
+
6645
+ /**
6646
+ * Encodes the specified ClientPayload message. Does not implicitly {@link proto.ClientPayload.verify|verify} messages.
6647
+ * @param message ClientPayload message or plain object to encode
6648
+ * @param [writer] Writer to encode to
6649
+ * @returns Writer
6650
+ */
6651
+ public static encode(message: proto.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer;
6652
+
6653
+ /**
6654
+ * Encodes the specified ClientPayload message, length delimited. Does not implicitly {@link proto.ClientPayload.verify|verify} messages.
6655
+ * @param message ClientPayload message or plain object to encode
6656
+ * @param [writer] Writer to encode to
6657
+ * @returns Writer
6658
+ */
6659
+ public static encodeDelimited(message: proto.IClientPayload, writer?: $protobuf.Writer): $protobuf.Writer;
6660
+
6661
+ /**
6662
+ * Decodes a ClientPayload message from the specified reader or buffer.
6663
+ * @param reader Reader or buffer to decode from
6664
+ * @param [length] Message length if known beforehand
6665
+ * @returns ClientPayload
6666
+ * @throws {Error} If the payload is not a reader or valid buffer
6667
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6668
+ */
6669
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload;
6670
+
6671
+ /**
6672
+ * Decodes a ClientPayload message from the specified reader or buffer, length delimited.
6673
+ * @param reader Reader or buffer to decode from
6674
+ * @returns ClientPayload
6675
+ * @throws {Error} If the payload is not a reader or valid buffer
6676
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6677
+ */
6678
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload;
6679
+
6680
+ /**
6681
+ * Verifies a ClientPayload message.
6682
+ * @param message Plain object to verify
6683
+ * @returns `null` if valid, otherwise the reason why it is not
6684
+ */
6685
+ public static verify(message: { [k: string]: any }): (string|null);
6686
+
6687
+ /**
6688
+ * Creates a ClientPayload message from a plain object. Also converts values to their respective internal types.
6689
+ * @param object Plain object
6690
+ * @returns ClientPayload
6691
+ */
6692
+ public static fromObject(object: { [k: string]: any }): proto.ClientPayload;
6693
+
6694
+ /**
6695
+ * Creates a plain object from a ClientPayload message. Also converts values to other types if specified.
6696
+ * @param message ClientPayload
6697
+ * @param [options] Conversion options
6698
+ * @returns Plain object
6699
+ */
6700
+ public static toObject(message: proto.ClientPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
6701
+
6702
+ /**
6703
+ * Converts this ClientPayload to JSON.
6704
+ * @returns JSON object
6705
+ */
6706
+ public toJSON(): { [k: string]: any };
6707
+ }
6708
+
6709
+ namespace ClientPayload {
6710
+
6711
+ /** ConnectReason enum. */
6712
+ enum ConnectReason {
6713
+ PUSH = 0,
6714
+ USER_ACTIVATED = 1,
6715
+ SCHEDULED = 2,
6716
+ ERROR_RECONNECT = 3,
6717
+ NETWORK_SWITCH = 4,
6718
+ PING_RECONNECT = 5
6719
+ }
6720
+
6721
+ /** ConnectType enum. */
6722
+ enum ConnectType {
6723
+ CELLULAR_UNKNOWN = 0,
6724
+ WIFI_UNKNOWN = 1,
6725
+ CELLULAR_EDGE = 100,
6726
+ CELLULAR_IDEN = 101,
6727
+ CELLULAR_UMTS = 102,
6728
+ CELLULAR_EVDO = 103,
6729
+ CELLULAR_GPRS = 104,
6730
+ CELLULAR_HSDPA = 105,
6731
+ CELLULAR_HSUPA = 106,
6732
+ CELLULAR_HSPA = 107,
6733
+ CELLULAR_CDMA = 108,
6734
+ CELLULAR_1XRTT = 109,
6735
+ CELLULAR_EHRPD = 110,
6736
+ CELLULAR_LTE = 111,
6737
+ CELLULAR_HSPAP = 112,
6738
+ CELLULAR_NR = 113
6739
+ }
6740
+
6741
+ /** Properties of a DevicePairingRegistrationData. */
6742
+ interface IDevicePairingRegistrationData {
6743
+
6744
+ /** DevicePairingRegistrationData eRegid */
6745
+ eRegid?: (Uint8Array|null);
6746
+
6747
+ /** DevicePairingRegistrationData eKeytype */
6748
+ eKeytype?: (Uint8Array|null);
6749
+
6750
+ /** DevicePairingRegistrationData eIdent */
6751
+ eIdent?: (Uint8Array|null);
6752
+
6753
+ /** DevicePairingRegistrationData eSkeyId */
6754
+ eSkeyId?: (Uint8Array|null);
6755
+
6756
+ /** DevicePairingRegistrationData eSkeyVal */
6757
+ eSkeyVal?: (Uint8Array|null);
6758
+
6759
+ /** DevicePairingRegistrationData eSkeySig */
6760
+ eSkeySig?: (Uint8Array|null);
6761
+
6762
+ /** DevicePairingRegistrationData buildHash */
6763
+ buildHash?: (Uint8Array|null);
6764
+
6765
+ /** DevicePairingRegistrationData deviceProps */
6766
+ deviceProps?: (Uint8Array|null);
6767
+ }
6768
+
6769
+ /** Represents a DevicePairingRegistrationData. */
6770
+ class DevicePairingRegistrationData implements IDevicePairingRegistrationData {
6771
+
6772
+ /**
6773
+ * Constructs a new DevicePairingRegistrationData.
6774
+ * @param [properties] Properties to set
6775
+ */
6776
+ constructor(properties?: proto.ClientPayload.IDevicePairingRegistrationData);
6777
+
6778
+ /** DevicePairingRegistrationData eRegid. */
6779
+ public eRegid?: (Uint8Array|null);
6780
+
6781
+ /** DevicePairingRegistrationData eKeytype. */
6782
+ public eKeytype?: (Uint8Array|null);
6783
+
6784
+ /** DevicePairingRegistrationData eIdent. */
6785
+ public eIdent?: (Uint8Array|null);
6786
+
6787
+ /** DevicePairingRegistrationData eSkeyId. */
6788
+ public eSkeyId?: (Uint8Array|null);
6789
+
6790
+ /** DevicePairingRegistrationData eSkeyVal. */
6791
+ public eSkeyVal?: (Uint8Array|null);
6792
+
6793
+ /** DevicePairingRegistrationData eSkeySig. */
6794
+ public eSkeySig?: (Uint8Array|null);
6795
+
6796
+ /** DevicePairingRegistrationData buildHash. */
6797
+ public buildHash?: (Uint8Array|null);
6798
+
6799
+ /** DevicePairingRegistrationData deviceProps. */
6800
+ public deviceProps?: (Uint8Array|null);
6801
+
6802
+ /** DevicePairingRegistrationData _eRegid. */
6803
+ public _eRegid?: "eRegid";
6804
+
6805
+ /** DevicePairingRegistrationData _eKeytype. */
6806
+ public _eKeytype?: "eKeytype";
6807
+
6808
+ /** DevicePairingRegistrationData _eIdent. */
6809
+ public _eIdent?: "eIdent";
6810
+
6811
+ /** DevicePairingRegistrationData _eSkeyId. */
6812
+ public _eSkeyId?: "eSkeyId";
6813
+
6814
+ /** DevicePairingRegistrationData _eSkeyVal. */
6815
+ public _eSkeyVal?: "eSkeyVal";
6816
+
6817
+ /** DevicePairingRegistrationData _eSkeySig. */
6818
+ public _eSkeySig?: "eSkeySig";
6819
+
6820
+ /** DevicePairingRegistrationData _buildHash. */
6821
+ public _buildHash?: "buildHash";
6822
+
6823
+ /** DevicePairingRegistrationData _deviceProps. */
6824
+ public _deviceProps?: "deviceProps";
6825
+
6826
+ /**
6827
+ * Creates a new DevicePairingRegistrationData instance using the specified properties.
6828
+ * @param [properties] Properties to set
6829
+ * @returns DevicePairingRegistrationData instance
6830
+ */
6831
+ public static create(properties?: proto.ClientPayload.IDevicePairingRegistrationData): proto.ClientPayload.DevicePairingRegistrationData;
6832
+
6833
+ /**
6834
+ * Encodes the specified DevicePairingRegistrationData message. Does not implicitly {@link proto.ClientPayload.DevicePairingRegistrationData.verify|verify} messages.
6835
+ * @param message DevicePairingRegistrationData message or plain object to encode
6836
+ * @param [writer] Writer to encode to
6837
+ * @returns Writer
6838
+ */
6839
+ public static encode(message: proto.ClientPayload.IDevicePairingRegistrationData, writer?: $protobuf.Writer): $protobuf.Writer;
6840
+
6841
+ /**
6842
+ * Encodes the specified DevicePairingRegistrationData message, length delimited. Does not implicitly {@link proto.ClientPayload.DevicePairingRegistrationData.verify|verify} messages.
6843
+ * @param message DevicePairingRegistrationData message or plain object to encode
6844
+ * @param [writer] Writer to encode to
6845
+ * @returns Writer
6846
+ */
6847
+ public static encodeDelimited(message: proto.ClientPayload.IDevicePairingRegistrationData, writer?: $protobuf.Writer): $protobuf.Writer;
6848
+
6849
+ /**
6850
+ * Decodes a DevicePairingRegistrationData message from the specified reader or buffer.
6851
+ * @param reader Reader or buffer to decode from
6852
+ * @param [length] Message length if known beforehand
6853
+ * @returns DevicePairingRegistrationData
6854
+ * @throws {Error} If the payload is not a reader or valid buffer
6855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6856
+ */
6857
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload.DevicePairingRegistrationData;
6858
+
6859
+ /**
6860
+ * Decodes a DevicePairingRegistrationData message from the specified reader or buffer, length delimited.
6861
+ * @param reader Reader or buffer to decode from
6862
+ * @returns DevicePairingRegistrationData
6863
+ * @throws {Error} If the payload is not a reader or valid buffer
6864
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6865
+ */
6866
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload.DevicePairingRegistrationData;
6867
+
6868
+ /**
6869
+ * Verifies a DevicePairingRegistrationData message.
6870
+ * @param message Plain object to verify
6871
+ * @returns `null` if valid, otherwise the reason why it is not
6872
+ */
6873
+ public static verify(message: { [k: string]: any }): (string|null);
6874
+
6875
+ /**
6876
+ * Creates a DevicePairingRegistrationData message from a plain object. Also converts values to their respective internal types.
6877
+ * @param object Plain object
6878
+ * @returns DevicePairingRegistrationData
6879
+ */
6880
+ public static fromObject(object: { [k: string]: any }): proto.ClientPayload.DevicePairingRegistrationData;
6881
+
6882
+ /**
6883
+ * Creates a plain object from a DevicePairingRegistrationData message. Also converts values to other types if specified.
6884
+ * @param message DevicePairingRegistrationData
6885
+ * @param [options] Conversion options
6886
+ * @returns Plain object
6887
+ */
6888
+ public static toObject(message: proto.ClientPayload.DevicePairingRegistrationData, options?: $protobuf.IConversionOptions): { [k: string]: any };
6889
+
6890
+ /**
6891
+ * Converts this DevicePairingRegistrationData to JSON.
6892
+ * @returns JSON object
6893
+ */
6894
+ public toJSON(): { [k: string]: any };
6895
+ }
6896
+
6897
+ /** Properties of a DNSSource. */
6898
+ interface IDNSSource {
6899
+
6900
+ /** DNSSource dnsMethod */
6901
+ dnsMethod?: (string|null);
6902
+
6903
+ /** DNSSource appCached */
6904
+ appCached?: (boolean|null);
6905
+ }
6906
+
6907
+ /** Represents a DNSSource. */
6908
+ class DNSSource implements IDNSSource {
6909
+
6910
+ /**
6911
+ * Constructs a new DNSSource.
6912
+ * @param [properties] Properties to set
6913
+ */
6914
+ constructor(properties?: proto.ClientPayload.IDNSSource);
6915
+
6916
+ /** DNSSource dnsMethod. */
6917
+ public dnsMethod?: (string|null);
6918
+
6919
+ /** DNSSource appCached. */
6920
+ public appCached?: (boolean|null);
6921
+
6922
+ /** DNSSource _dnsMethod. */
6923
+ public _dnsMethod?: "dnsMethod";
6924
+
6925
+ /** DNSSource _appCached. */
6926
+ public _appCached?: "appCached";
6927
+
6928
+ /**
6929
+ * Creates a new DNSSource instance using the specified properties.
6930
+ * @param [properties] Properties to set
6931
+ * @returns DNSSource instance
6932
+ */
6933
+ public static create(properties?: proto.ClientPayload.IDNSSource): proto.ClientPayload.DNSSource;
6934
+
6935
+ /**
6936
+ * Encodes the specified DNSSource message. Does not implicitly {@link proto.ClientPayload.DNSSource.verify|verify} messages.
6937
+ * @param message DNSSource message or plain object to encode
6938
+ * @param [writer] Writer to encode to
6939
+ * @returns Writer
6940
+ */
6941
+ public static encode(message: proto.ClientPayload.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer;
6942
+
6943
+ /**
6944
+ * Encodes the specified DNSSource message, length delimited. Does not implicitly {@link proto.ClientPayload.DNSSource.verify|verify} messages.
6945
+ * @param message DNSSource message or plain object to encode
6946
+ * @param [writer] Writer to encode to
6947
+ * @returns Writer
6948
+ */
6949
+ public static encodeDelimited(message: proto.ClientPayload.IDNSSource, writer?: $protobuf.Writer): $protobuf.Writer;
6950
+
6951
+ /**
6952
+ * Decodes a DNSSource message from the specified reader or buffer.
6953
+ * @param reader Reader or buffer to decode from
6954
+ * @param [length] Message length if known beforehand
6955
+ * @returns DNSSource
6956
+ * @throws {Error} If the payload is not a reader or valid buffer
6957
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6958
+ */
6959
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload.DNSSource;
6960
+
6961
+ /**
6962
+ * Decodes a DNSSource message from the specified reader or buffer, length delimited.
6963
+ * @param reader Reader or buffer to decode from
6964
+ * @returns DNSSource
6965
+ * @throws {Error} If the payload is not a reader or valid buffer
6966
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
6967
+ */
6968
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload.DNSSource;
6969
+
6970
+ /**
6971
+ * Verifies a DNSSource message.
6972
+ * @param message Plain object to verify
6973
+ * @returns `null` if valid, otherwise the reason why it is not
6974
+ */
6975
+ public static verify(message: { [k: string]: any }): (string|null);
6976
+
6977
+ /**
6978
+ * Creates a DNSSource message from a plain object. Also converts values to their respective internal types.
6979
+ * @param object Plain object
6980
+ * @returns DNSSource
6981
+ */
6982
+ public static fromObject(object: { [k: string]: any }): proto.ClientPayload.DNSSource;
6983
+
6984
+ /**
6985
+ * Creates a plain object from a DNSSource message. Also converts values to other types if specified.
6986
+ * @param message DNSSource
6987
+ * @param [options] Conversion options
6988
+ * @returns Plain object
6989
+ */
6990
+ public static toObject(message: proto.ClientPayload.DNSSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
6991
+
6992
+ /**
6993
+ * Converts this DNSSource to JSON.
6994
+ * @returns JSON object
6995
+ */
6996
+ public toJSON(): { [k: string]: any };
6997
+ }
6998
+
6999
+ /** Properties of a UserAgent. */
7000
+ interface IUserAgent {
7001
+
7002
+ /** UserAgent platform */
7003
+ platform?: (proto.ClientPayload.UserAgent.Platform|null);
7004
+
7005
+ /** UserAgent appVersion */
7006
+ appVersion?: (proto.ClientPayload.UserAgent.IAppVersion|null);
7007
+
7008
+ /** UserAgent mcc */
7009
+ mcc?: (string|null);
7010
+
7011
+ /** UserAgent mnc */
7012
+ mnc?: (string|null);
7013
+
7014
+ /** UserAgent osVersion */
7015
+ osVersion?: (string|null);
7016
+
7017
+ /** UserAgent manufacturer */
7018
+ manufacturer?: (string|null);
7019
+
7020
+ /** UserAgent device */
7021
+ device?: (string|null);
7022
+
7023
+ /** UserAgent osBuildNumber */
7024
+ osBuildNumber?: (string|null);
7025
+
7026
+ /** UserAgent phoneId */
7027
+ phoneId?: (string|null);
7028
+
7029
+ /** UserAgent releaseChannel */
7030
+ releaseChannel?: (proto.ClientPayload.UserAgent.ReleaseChannel|null);
7031
+
7032
+ /** UserAgent localeLanguageIso6391 */
7033
+ localeLanguageIso6391?: (string|null);
7034
+
7035
+ /** UserAgent localeCountryIso31661Alpha2 */
7036
+ localeCountryIso31661Alpha2?: (string|null);
7037
+
7038
+ /** UserAgent deviceBoard */
7039
+ deviceBoard?: (string|null);
7040
+ }
7041
+
7042
+ /** Represents a UserAgent. */
7043
+ class UserAgent implements IUserAgent {
7044
+
7045
+ /**
7046
+ * Constructs a new UserAgent.
7047
+ * @param [properties] Properties to set
7048
+ */
7049
+ constructor(properties?: proto.ClientPayload.IUserAgent);
7050
+
7051
+ /** UserAgent platform. */
7052
+ public platform?: (proto.ClientPayload.UserAgent.Platform|null);
7053
+
7054
+ /** UserAgent appVersion. */
7055
+ public appVersion?: (proto.ClientPayload.UserAgent.IAppVersion|null);
7056
+
7057
+ /** UserAgent mcc. */
7058
+ public mcc?: (string|null);
7059
+
7060
+ /** UserAgent mnc. */
7061
+ public mnc?: (string|null);
7062
+
7063
+ /** UserAgent osVersion. */
7064
+ public osVersion?: (string|null);
7065
+
7066
+ /** UserAgent manufacturer. */
7067
+ public manufacturer?: (string|null);
7068
+
7069
+ /** UserAgent device. */
7070
+ public device?: (string|null);
7071
+
7072
+ /** UserAgent osBuildNumber. */
7073
+ public osBuildNumber?: (string|null);
7074
+
7075
+ /** UserAgent phoneId. */
7076
+ public phoneId?: (string|null);
7077
+
7078
+ /** UserAgent releaseChannel. */
7079
+ public releaseChannel?: (proto.ClientPayload.UserAgent.ReleaseChannel|null);
7080
+
7081
+ /** UserAgent localeLanguageIso6391. */
7082
+ public localeLanguageIso6391?: (string|null);
7083
+
7084
+ /** UserAgent localeCountryIso31661Alpha2. */
7085
+ public localeCountryIso31661Alpha2?: (string|null);
7086
+
7087
+ /** UserAgent deviceBoard. */
7088
+ public deviceBoard?: (string|null);
7089
+
7090
+ /** UserAgent _platform. */
7091
+ public _platform?: "platform";
7092
+
7093
+ /** UserAgent _appVersion. */
7094
+ public _appVersion?: "appVersion";
7095
+
7096
+ /** UserAgent _mcc. */
7097
+ public _mcc?: "mcc";
7098
+
7099
+ /** UserAgent _mnc. */
7100
+ public _mnc?: "mnc";
7101
+
7102
+ /** UserAgent _osVersion. */
7103
+ public _osVersion?: "osVersion";
7104
+
7105
+ /** UserAgent _manufacturer. */
7106
+ public _manufacturer?: "manufacturer";
7107
+
7108
+ /** UserAgent _device. */
7109
+ public _device?: "device";
7110
+
7111
+ /** UserAgent _osBuildNumber. */
7112
+ public _osBuildNumber?: "osBuildNumber";
7113
+
7114
+ /** UserAgent _phoneId. */
7115
+ public _phoneId?: "phoneId";
7116
+
7117
+ /** UserAgent _releaseChannel. */
7118
+ public _releaseChannel?: "releaseChannel";
7119
+
7120
+ /** UserAgent _localeLanguageIso6391. */
7121
+ public _localeLanguageIso6391?: "localeLanguageIso6391";
7122
+
7123
+ /** UserAgent _localeCountryIso31661Alpha2. */
7124
+ public _localeCountryIso31661Alpha2?: "localeCountryIso31661Alpha2";
7125
+
7126
+ /** UserAgent _deviceBoard. */
7127
+ public _deviceBoard?: "deviceBoard";
7128
+
7129
+ /**
7130
+ * Creates a new UserAgent instance using the specified properties.
7131
+ * @param [properties] Properties to set
7132
+ * @returns UserAgent instance
7133
+ */
7134
+ public static create(properties?: proto.ClientPayload.IUserAgent): proto.ClientPayload.UserAgent;
7135
+
7136
+ /**
7137
+ * Encodes the specified UserAgent message. Does not implicitly {@link proto.ClientPayload.UserAgent.verify|verify} messages.
7138
+ * @param message UserAgent message or plain object to encode
7139
+ * @param [writer] Writer to encode to
7140
+ * @returns Writer
7141
+ */
7142
+ public static encode(message: proto.ClientPayload.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer;
7143
+
7144
+ /**
7145
+ * Encodes the specified UserAgent message, length delimited. Does not implicitly {@link proto.ClientPayload.UserAgent.verify|verify} messages.
7146
+ * @param message UserAgent message or plain object to encode
7147
+ * @param [writer] Writer to encode to
7148
+ * @returns Writer
7149
+ */
7150
+ public static encodeDelimited(message: proto.ClientPayload.IUserAgent, writer?: $protobuf.Writer): $protobuf.Writer;
7151
+
7152
+ /**
7153
+ * Decodes a UserAgent message from the specified reader or buffer.
7154
+ * @param reader Reader or buffer to decode from
7155
+ * @param [length] Message length if known beforehand
7156
+ * @returns UserAgent
7157
+ * @throws {Error} If the payload is not a reader or valid buffer
7158
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7159
+ */
7160
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload.UserAgent;
7161
+
7162
+ /**
7163
+ * Decodes a UserAgent message from the specified reader or buffer, length delimited.
7164
+ * @param reader Reader or buffer to decode from
7165
+ * @returns UserAgent
7166
+ * @throws {Error} If the payload is not a reader or valid buffer
7167
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7168
+ */
7169
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload.UserAgent;
7170
+
7171
+ /**
7172
+ * Verifies a UserAgent message.
7173
+ * @param message Plain object to verify
7174
+ * @returns `null` if valid, otherwise the reason why it is not
7175
+ */
7176
+ public static verify(message: { [k: string]: any }): (string|null);
7177
+
7178
+ /**
7179
+ * Creates a UserAgent message from a plain object. Also converts values to their respective internal types.
7180
+ * @param object Plain object
7181
+ * @returns UserAgent
7182
+ */
7183
+ public static fromObject(object: { [k: string]: any }): proto.ClientPayload.UserAgent;
7184
+
7185
+ /**
7186
+ * Creates a plain object from a UserAgent message. Also converts values to other types if specified.
7187
+ * @param message UserAgent
7188
+ * @param [options] Conversion options
7189
+ * @returns Plain object
7190
+ */
7191
+ public static toObject(message: proto.ClientPayload.UserAgent, options?: $protobuf.IConversionOptions): { [k: string]: any };
7192
+
7193
+ /**
7194
+ * Converts this UserAgent to JSON.
7195
+ * @returns JSON object
7196
+ */
7197
+ public toJSON(): { [k: string]: any };
7198
+ }
7199
+
7200
+ namespace UserAgent {
7201
+
7202
+ /** Properties of an AppVersion. */
7203
+ interface IAppVersion {
7204
+
7205
+ /** AppVersion primary */
7206
+ primary?: (number|null);
7207
+
7208
+ /** AppVersion secondary */
7209
+ secondary?: (number|null);
7210
+
7211
+ /** AppVersion tertiary */
7212
+ tertiary?: (number|null);
7213
+
7214
+ /** AppVersion quaternary */
7215
+ quaternary?: (number|null);
7216
+
7217
+ /** AppVersion quinary */
7218
+ quinary?: (number|null);
7219
+ }
7220
+
7221
+ /** Represents an AppVersion. */
7222
+ class AppVersion implements IAppVersion {
7223
+
7224
+ /**
7225
+ * Constructs a new AppVersion.
7226
+ * @param [properties] Properties to set
7227
+ */
7228
+ constructor(properties?: proto.ClientPayload.UserAgent.IAppVersion);
7229
+
7230
+ /** AppVersion primary. */
7231
+ public primary?: (number|null);
7232
+
7233
+ /** AppVersion secondary. */
7234
+ public secondary?: (number|null);
7235
+
7236
+ /** AppVersion tertiary. */
7237
+ public tertiary?: (number|null);
7238
+
7239
+ /** AppVersion quaternary. */
7240
+ public quaternary?: (number|null);
7241
+
7242
+ /** AppVersion quinary. */
7243
+ public quinary?: (number|null);
7244
+
7245
+ /** AppVersion _primary. */
7246
+ public _primary?: "primary";
7247
+
7248
+ /** AppVersion _secondary. */
7249
+ public _secondary?: "secondary";
7250
+
7251
+ /** AppVersion _tertiary. */
7252
+ public _tertiary?: "tertiary";
7253
+
7254
+ /** AppVersion _quaternary. */
7255
+ public _quaternary?: "quaternary";
7256
+
7257
+ /** AppVersion _quinary. */
7258
+ public _quinary?: "quinary";
7259
+
7260
+ /**
7261
+ * Creates a new AppVersion instance using the specified properties.
7262
+ * @param [properties] Properties to set
7263
+ * @returns AppVersion instance
7264
+ */
7265
+ public static create(properties?: proto.ClientPayload.UserAgent.IAppVersion): proto.ClientPayload.UserAgent.AppVersion;
7266
+
7267
+ /**
7268
+ * Encodes the specified AppVersion message. Does not implicitly {@link proto.ClientPayload.UserAgent.AppVersion.verify|verify} messages.
7269
+ * @param message AppVersion message or plain object to encode
7270
+ * @param [writer] Writer to encode to
7271
+ * @returns Writer
7272
+ */
7273
+ public static encode(message: proto.ClientPayload.UserAgent.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
7274
+
7275
+ /**
7276
+ * Encodes the specified AppVersion message, length delimited. Does not implicitly {@link proto.ClientPayload.UserAgent.AppVersion.verify|verify} messages.
7277
+ * @param message AppVersion message or plain object to encode
7278
+ * @param [writer] Writer to encode to
7279
+ * @returns Writer
7280
+ */
7281
+ public static encodeDelimited(message: proto.ClientPayload.UserAgent.IAppVersion, writer?: $protobuf.Writer): $protobuf.Writer;
7282
+
7283
+ /**
7284
+ * Decodes an AppVersion message from the specified reader or buffer.
7285
+ * @param reader Reader or buffer to decode from
7286
+ * @param [length] Message length if known beforehand
7287
+ * @returns AppVersion
7288
+ * @throws {Error} If the payload is not a reader or valid buffer
7289
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7290
+ */
7291
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload.UserAgent.AppVersion;
7292
+
7293
+ /**
7294
+ * Decodes an AppVersion message from the specified reader or buffer, length delimited.
7295
+ * @param reader Reader or buffer to decode from
7296
+ * @returns AppVersion
7297
+ * @throws {Error} If the payload is not a reader or valid buffer
7298
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7299
+ */
7300
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload.UserAgent.AppVersion;
7301
+
7302
+ /**
7303
+ * Verifies an AppVersion message.
7304
+ * @param message Plain object to verify
7305
+ * @returns `null` if valid, otherwise the reason why it is not
7306
+ */
7307
+ public static verify(message: { [k: string]: any }): (string|null);
7308
+
7309
+ /**
7310
+ * Creates an AppVersion message from a plain object. Also converts values to their respective internal types.
7311
+ * @param object Plain object
7312
+ * @returns AppVersion
7313
+ */
7314
+ public static fromObject(object: { [k: string]: any }): proto.ClientPayload.UserAgent.AppVersion;
7315
+
7316
+ /**
7317
+ * Creates a plain object from an AppVersion message. Also converts values to other types if specified.
7318
+ * @param message AppVersion
7319
+ * @param [options] Conversion options
7320
+ * @returns Plain object
7321
+ */
7322
+ public static toObject(message: proto.ClientPayload.UserAgent.AppVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
7323
+
7324
+ /**
7325
+ * Converts this AppVersion to JSON.
7326
+ * @returns JSON object
7327
+ */
7328
+ public toJSON(): { [k: string]: any };
7329
+ }
7330
+
7331
+ /** Platform enum. */
7332
+ enum Platform {
7333
+ ANDROID = 0,
7334
+ IOS = 1,
7335
+ WINDOWS_PHONE = 2,
7336
+ BLACKBERRY = 3,
7337
+ BLACKBERRY10 = 4,
7338
+ WEB = 5,
7339
+ PORTAL = 7,
7340
+ FBLITE_ANDROID = 9,
7341
+ MLITE_ANDROID = 11,
7342
+ IPAD = 12,
7343
+ FBLITE_IOS = 16,
7344
+ MLITE_IOS = 17,
7345
+ OCULUS_MSG = 18,
7346
+ OCULUS_CALL = 19,
7347
+ MILAN = 20,
7348
+ NIOS = 21
7349
+ }
7350
+
7351
+ /** ReleaseChannel enum. */
7352
+ enum ReleaseChannel {
7353
+ RELEASE = 0,
7354
+ BETA = 1,
7355
+ ALPHA = 2,
7356
+ NIGHTLY = 3
7357
+ }
7358
+ }
7359
+
7360
+ /** Properties of a WebInfo. */
7361
+ interface IWebInfo {
7362
+
7363
+ /** WebInfo webdPayload */
7364
+ webdPayload?: (string|null);
7365
+
7366
+ /** WebInfo webSubPlatform */
7367
+ webSubPlatform?: (proto.ClientPayload.WebInfo.WebSubPlatform|null);
7368
+ }
7369
+
7370
+ /** Represents a WebInfo. */
7371
+ class WebInfo implements IWebInfo {
7372
+
7373
+ /**
7374
+ * Constructs a new WebInfo.
7375
+ * @param [properties] Properties to set
7376
+ */
7377
+ constructor(properties?: proto.ClientPayload.IWebInfo);
7378
+
7379
+ /** WebInfo webdPayload. */
7380
+ public webdPayload?: (string|null);
7381
+
7382
+ /** WebInfo webSubPlatform. */
7383
+ public webSubPlatform?: (proto.ClientPayload.WebInfo.WebSubPlatform|null);
7384
+
7385
+ /** WebInfo _webdPayload. */
7386
+ public _webdPayload?: "webdPayload";
7387
+
7388
+ /** WebInfo _webSubPlatform. */
7389
+ public _webSubPlatform?: "webSubPlatform";
7390
+
7391
+ /**
7392
+ * Creates a new WebInfo instance using the specified properties.
7393
+ * @param [properties] Properties to set
7394
+ * @returns WebInfo instance
7395
+ */
7396
+ public static create(properties?: proto.ClientPayload.IWebInfo): proto.ClientPayload.WebInfo;
7397
+
7398
+ /**
7399
+ * Encodes the specified WebInfo message. Does not implicitly {@link proto.ClientPayload.WebInfo.verify|verify} messages.
7400
+ * @param message WebInfo message or plain object to encode
7401
+ * @param [writer] Writer to encode to
7402
+ * @returns Writer
7403
+ */
7404
+ public static encode(message: proto.ClientPayload.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer;
7405
+
7406
+ /**
7407
+ * Encodes the specified WebInfo message, length delimited. Does not implicitly {@link proto.ClientPayload.WebInfo.verify|verify} messages.
7408
+ * @param message WebInfo message or plain object to encode
7409
+ * @param [writer] Writer to encode to
7410
+ * @returns Writer
7411
+ */
7412
+ public static encodeDelimited(message: proto.ClientPayload.IWebInfo, writer?: $protobuf.Writer): $protobuf.Writer;
7413
+
7414
+ /**
7415
+ * Decodes a WebInfo message from the specified reader or buffer.
7416
+ * @param reader Reader or buffer to decode from
7417
+ * @param [length] Message length if known beforehand
7418
+ * @returns WebInfo
7419
+ * @throws {Error} If the payload is not a reader or valid buffer
7420
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7421
+ */
7422
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ClientPayload.WebInfo;
7423
+
7424
+ /**
7425
+ * Decodes a WebInfo message from the specified reader or buffer, length delimited.
7426
+ * @param reader Reader or buffer to decode from
7427
+ * @returns WebInfo
7428
+ * @throws {Error} If the payload is not a reader or valid buffer
7429
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7430
+ */
7431
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ClientPayload.WebInfo;
7432
+
7433
+ /**
7434
+ * Verifies a WebInfo message.
7435
+ * @param message Plain object to verify
7436
+ * @returns `null` if valid, otherwise the reason why it is not
7437
+ */
7438
+ public static verify(message: { [k: string]: any }): (string|null);
7439
+
7440
+ /**
7441
+ * Creates a WebInfo message from a plain object. Also converts values to their respective internal types.
7442
+ * @param object Plain object
7443
+ * @returns WebInfo
7444
+ */
7445
+ public static fromObject(object: { [k: string]: any }): proto.ClientPayload.WebInfo;
7446
+
7447
+ /**
7448
+ * Creates a plain object from a WebInfo message. Also converts values to other types if specified.
7449
+ * @param message WebInfo
7450
+ * @param [options] Conversion options
7451
+ * @returns Plain object
7452
+ */
7453
+ public static toObject(message: proto.ClientPayload.WebInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
7454
+
7455
+ /**
7456
+ * Converts this WebInfo to JSON.
7457
+ * @returns JSON object
7458
+ */
7459
+ public toJSON(): { [k: string]: any };
7460
+ }
7461
+
7462
+ namespace WebInfo {
7463
+
7464
+ /** WebSubPlatform enum. */
7465
+ enum WebSubPlatform {
7466
+ WEB_BROWSER = 0,
7467
+ APP_STORE = 1,
7468
+ WIN_STORE = 2,
7469
+ DARWIN = 3,
7470
+ WIN32 = 4
7471
+ }
7472
+ }
7473
+ }
7474
+
6472
7475
  /** Properties of a ChatLockSettings. */
6473
7476
  interface IChatLockSettings {
6474
7477