@replit/protocol 0.2.75 → 0.2.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.d.ts CHANGED
@@ -19604,6 +19604,510 @@ export namespace replit {
19604
19604
  public toJSON(): { [k: string]: any };
19605
19605
  }
19606
19606
 
19607
+ /** Properties of a LoreCommand. */
19608
+ interface ILoreCommand {
19609
+
19610
+ /** LoreCommand clusterTransfer */
19611
+ clusterTransfer?: (replit.goval.api.ClusterTransfer|replit.goval.api.IClusterTransfer|null);
19612
+
19613
+ /** LoreCommand softTakedown */
19614
+ softTakedown?: (replit.goval.api.SoftTakedown|replit.goval.api.ISoftTakedown|null);
19615
+
19616
+ /** LoreCommand govalCommand */
19617
+ govalCommand?: (replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand|null);
19618
+
19619
+ /** LoreCommand restore */
19620
+ restore?: (replit.goval.api.Restore|replit.goval.api.IRestore|null);
19621
+ }
19622
+
19623
+ /** Represents a LoreCommand. */
19624
+ class LoreCommand {
19625
+
19626
+ /**
19627
+ * Constructs a new LoreCommand.
19628
+ * @param [properties] Properties to set
19629
+ */
19630
+ private constructor(properties?: replit.goval.api.ILoreCommand);
19631
+
19632
+ /** LoreCommand clusterTransfer. */
19633
+ public clusterTransfer?: (replit.goval.api.ClusterTransfer|null);
19634
+
19635
+ /** LoreCommand softTakedown. */
19636
+ public softTakedown?: (replit.goval.api.SoftTakedown|null);
19637
+
19638
+ /** LoreCommand govalCommand. */
19639
+ public govalCommand?: (replit.goval.api.GovalCommand|null);
19640
+
19641
+ /** LoreCommand restore. */
19642
+ public restore?: (replit.goval.api.Restore|null);
19643
+
19644
+ /** LoreCommand command. */
19645
+ public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"restore");
19646
+
19647
+ /**
19648
+ * Creates a new LoreCommand instance using the specified properties.
19649
+ * @param [properties] Properties to set
19650
+ * @returns LoreCommand instance
19651
+ */
19652
+ public static create(properties?: replit.goval.api.ILoreCommand): replit.goval.api.LoreCommand;
19653
+
19654
+ /**
19655
+ * Encodes the specified LoreCommand message. Does not implicitly {@link replit.goval.api.LoreCommand.verify|verify} messages.
19656
+ * @param message LoreCommand message or plain object to encode
19657
+ * @param [writer] Writer to encode to
19658
+ * @returns Writer
19659
+ */
19660
+ public static encode(message: replit.goval.api.LoreCommand, writer?: $protobuf.Writer): $protobuf.Writer;
19661
+
19662
+ /**
19663
+ * Encodes the specified LoreCommand message, length delimited. Does not implicitly {@link replit.goval.api.LoreCommand.verify|verify} messages.
19664
+ * @param message LoreCommand message or plain object to encode
19665
+ * @param [writer] Writer to encode to
19666
+ * @returns Writer
19667
+ */
19668
+ public static encodeDelimited(message: replit.goval.api.LoreCommand, writer?: $protobuf.Writer): $protobuf.Writer;
19669
+
19670
+ /**
19671
+ * Decodes a LoreCommand message from the specified reader or buffer.
19672
+ * @param reader Reader or buffer to decode from
19673
+ * @param [length] Message length if known beforehand
19674
+ * @returns LoreCommand
19675
+ * @throws {Error} If the payload is not a reader or valid buffer
19676
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19677
+ */
19678
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.LoreCommand;
19679
+
19680
+ /**
19681
+ * Decodes a LoreCommand message from the specified reader or buffer, length delimited.
19682
+ * @param reader Reader or buffer to decode from
19683
+ * @returns LoreCommand
19684
+ * @throws {Error} If the payload is not a reader or valid buffer
19685
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19686
+ */
19687
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.LoreCommand;
19688
+
19689
+ /**
19690
+ * Verifies a LoreCommand message.
19691
+ * @param message Plain object to verify
19692
+ * @returns `null` if valid, otherwise the reason why it is not
19693
+ */
19694
+ public static verify(message: { [k: string]: any }): (string|null);
19695
+
19696
+ /**
19697
+ * Creates a LoreCommand message from a plain object. Also converts values to their respective internal types.
19698
+ * @param object Plain object
19699
+ * @returns LoreCommand
19700
+ */
19701
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.LoreCommand;
19702
+
19703
+ /**
19704
+ * Creates a plain object from a LoreCommand message. Also converts values to other types if specified.
19705
+ * @param message LoreCommand
19706
+ * @param [options] Conversion options
19707
+ * @returns Plain object
19708
+ */
19709
+ public static toObject(message: replit.goval.api.LoreCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
19710
+
19711
+ /**
19712
+ * Converts this LoreCommand to JSON.
19713
+ * @returns JSON object
19714
+ */
19715
+ public toJSON(): { [k: string]: any };
19716
+ }
19717
+
19718
+ /** Properties of a ClusterTransfer. */
19719
+ interface IClusterTransfer {
19720
+
19721
+ /** ClusterTransfer replId */
19722
+ replId?: (string|null);
19723
+
19724
+ /** ClusterTransfer user */
19725
+ user?: (string|null);
19726
+
19727
+ /** ClusterTransfer newClusterId */
19728
+ newClusterId?: (string|null);
19729
+
19730
+ /** ClusterTransfer transferId */
19731
+ transferId?: (string|null);
19732
+ }
19733
+
19734
+ /** Represents a ClusterTransfer. */
19735
+ class ClusterTransfer {
19736
+
19737
+ /**
19738
+ * Constructs a new ClusterTransfer.
19739
+ * @param [properties] Properties to set
19740
+ */
19741
+ private constructor(properties?: replit.goval.api.IClusterTransfer);
19742
+
19743
+ /** ClusterTransfer replId. */
19744
+ public replId: string;
19745
+
19746
+ /** ClusterTransfer user. */
19747
+ public user: string;
19748
+
19749
+ /** ClusterTransfer newClusterId. */
19750
+ public newClusterId: string;
19751
+
19752
+ /** ClusterTransfer transferId. */
19753
+ public transferId: string;
19754
+
19755
+ /**
19756
+ * Creates a new ClusterTransfer instance using the specified properties.
19757
+ * @param [properties] Properties to set
19758
+ * @returns ClusterTransfer instance
19759
+ */
19760
+ public static create(properties?: replit.goval.api.IClusterTransfer): replit.goval.api.ClusterTransfer;
19761
+
19762
+ /**
19763
+ * Encodes the specified ClusterTransfer message. Does not implicitly {@link replit.goval.api.ClusterTransfer.verify|verify} messages.
19764
+ * @param message ClusterTransfer message or plain object to encode
19765
+ * @param [writer] Writer to encode to
19766
+ * @returns Writer
19767
+ */
19768
+ public static encode(message: replit.goval.api.ClusterTransfer, writer?: $protobuf.Writer): $protobuf.Writer;
19769
+
19770
+ /**
19771
+ * Encodes the specified ClusterTransfer message, length delimited. Does not implicitly {@link replit.goval.api.ClusterTransfer.verify|verify} messages.
19772
+ * @param message ClusterTransfer message or plain object to encode
19773
+ * @param [writer] Writer to encode to
19774
+ * @returns Writer
19775
+ */
19776
+ public static encodeDelimited(message: replit.goval.api.ClusterTransfer, writer?: $protobuf.Writer): $protobuf.Writer;
19777
+
19778
+ /**
19779
+ * Decodes a ClusterTransfer message from the specified reader or buffer.
19780
+ * @param reader Reader or buffer to decode from
19781
+ * @param [length] Message length if known beforehand
19782
+ * @returns ClusterTransfer
19783
+ * @throws {Error} If the payload is not a reader or valid buffer
19784
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19785
+ */
19786
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ClusterTransfer;
19787
+
19788
+ /**
19789
+ * Decodes a ClusterTransfer message from the specified reader or buffer, length delimited.
19790
+ * @param reader Reader or buffer to decode from
19791
+ * @returns ClusterTransfer
19792
+ * @throws {Error} If the payload is not a reader or valid buffer
19793
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19794
+ */
19795
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ClusterTransfer;
19796
+
19797
+ /**
19798
+ * Verifies a ClusterTransfer message.
19799
+ * @param message Plain object to verify
19800
+ * @returns `null` if valid, otherwise the reason why it is not
19801
+ */
19802
+ public static verify(message: { [k: string]: any }): (string|null);
19803
+
19804
+ /**
19805
+ * Creates a ClusterTransfer message from a plain object. Also converts values to their respective internal types.
19806
+ * @param object Plain object
19807
+ * @returns ClusterTransfer
19808
+ */
19809
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.ClusterTransfer;
19810
+
19811
+ /**
19812
+ * Creates a plain object from a ClusterTransfer message. Also converts values to other types if specified.
19813
+ * @param message ClusterTransfer
19814
+ * @param [options] Conversion options
19815
+ * @returns Plain object
19816
+ */
19817
+ public static toObject(message: replit.goval.api.ClusterTransfer, options?: $protobuf.IConversionOptions): { [k: string]: any };
19818
+
19819
+ /**
19820
+ * Converts this ClusterTransfer to JSON.
19821
+ * @returns JSON object
19822
+ */
19823
+ public toJSON(): { [k: string]: any };
19824
+ }
19825
+
19826
+ /** Properties of a SoftTakedown. */
19827
+ interface ISoftTakedown {
19828
+
19829
+ /** SoftTakedown replId */
19830
+ replId?: (string|null);
19831
+
19832
+ /** SoftTakedown softTakedownId */
19833
+ softTakedownId?: (string|null);
19834
+ }
19835
+
19836
+ /** Represents a SoftTakedown. */
19837
+ class SoftTakedown {
19838
+
19839
+ /**
19840
+ * Constructs a new SoftTakedown.
19841
+ * @param [properties] Properties to set
19842
+ */
19843
+ private constructor(properties?: replit.goval.api.ISoftTakedown);
19844
+
19845
+ /** SoftTakedown replId. */
19846
+ public replId: string;
19847
+
19848
+ /** SoftTakedown softTakedownId. */
19849
+ public softTakedownId: string;
19850
+
19851
+ /**
19852
+ * Creates a new SoftTakedown instance using the specified properties.
19853
+ * @param [properties] Properties to set
19854
+ * @returns SoftTakedown instance
19855
+ */
19856
+ public static create(properties?: replit.goval.api.ISoftTakedown): replit.goval.api.SoftTakedown;
19857
+
19858
+ /**
19859
+ * Encodes the specified SoftTakedown message. Does not implicitly {@link replit.goval.api.SoftTakedown.verify|verify} messages.
19860
+ * @param message SoftTakedown message or plain object to encode
19861
+ * @param [writer] Writer to encode to
19862
+ * @returns Writer
19863
+ */
19864
+ public static encode(message: replit.goval.api.SoftTakedown, writer?: $protobuf.Writer): $protobuf.Writer;
19865
+
19866
+ /**
19867
+ * Encodes the specified SoftTakedown message, length delimited. Does not implicitly {@link replit.goval.api.SoftTakedown.verify|verify} messages.
19868
+ * @param message SoftTakedown message or plain object to encode
19869
+ * @param [writer] Writer to encode to
19870
+ * @returns Writer
19871
+ */
19872
+ public static encodeDelimited(message: replit.goval.api.SoftTakedown, writer?: $protobuf.Writer): $protobuf.Writer;
19873
+
19874
+ /**
19875
+ * Decodes a SoftTakedown message from the specified reader or buffer.
19876
+ * @param reader Reader or buffer to decode from
19877
+ * @param [length] Message length if known beforehand
19878
+ * @returns SoftTakedown
19879
+ * @throws {Error} If the payload is not a reader or valid buffer
19880
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19881
+ */
19882
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SoftTakedown;
19883
+
19884
+ /**
19885
+ * Decodes a SoftTakedown message from the specified reader or buffer, length delimited.
19886
+ * @param reader Reader or buffer to decode from
19887
+ * @returns SoftTakedown
19888
+ * @throws {Error} If the payload is not a reader or valid buffer
19889
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19890
+ */
19891
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SoftTakedown;
19892
+
19893
+ /**
19894
+ * Verifies a SoftTakedown message.
19895
+ * @param message Plain object to verify
19896
+ * @returns `null` if valid, otherwise the reason why it is not
19897
+ */
19898
+ public static verify(message: { [k: string]: any }): (string|null);
19899
+
19900
+ /**
19901
+ * Creates a SoftTakedown message from a plain object. Also converts values to their respective internal types.
19902
+ * @param object Plain object
19903
+ * @returns SoftTakedown
19904
+ */
19905
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.SoftTakedown;
19906
+
19907
+ /**
19908
+ * Creates a plain object from a SoftTakedown message. Also converts values to other types if specified.
19909
+ * @param message SoftTakedown
19910
+ * @param [options] Conversion options
19911
+ * @returns Plain object
19912
+ */
19913
+ public static toObject(message: replit.goval.api.SoftTakedown, options?: $protobuf.IConversionOptions): { [k: string]: any };
19914
+
19915
+ /**
19916
+ * Converts this SoftTakedown to JSON.
19917
+ * @returns JSON object
19918
+ */
19919
+ public toJSON(): { [k: string]: any };
19920
+ }
19921
+
19922
+ /** Properties of a GovalCommand. */
19923
+ interface IGovalCommand {
19924
+
19925
+ /** GovalCommand updateMetadata */
19926
+ updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
19927
+ }
19928
+
19929
+ /** Represents a GovalCommand. */
19930
+ class GovalCommand {
19931
+
19932
+ /**
19933
+ * Constructs a new GovalCommand.
19934
+ * @param [properties] Properties to set
19935
+ */
19936
+ private constructor(properties?: replit.goval.api.IGovalCommand);
19937
+
19938
+ /** GovalCommand updateMetadata. */
19939
+ public updateMetadata?: (replit.goval.api.repl.Metadata|null);
19940
+
19941
+ /** GovalCommand command. */
19942
+ public command?: "updateMetadata";
19943
+
19944
+ /**
19945
+ * Creates a new GovalCommand instance using the specified properties.
19946
+ * @param [properties] Properties to set
19947
+ * @returns GovalCommand instance
19948
+ */
19949
+ public static create(properties?: replit.goval.api.IGovalCommand): replit.goval.api.GovalCommand;
19950
+
19951
+ /**
19952
+ * Encodes the specified GovalCommand message. Does not implicitly {@link replit.goval.api.GovalCommand.verify|verify} messages.
19953
+ * @param message GovalCommand message or plain object to encode
19954
+ * @param [writer] Writer to encode to
19955
+ * @returns Writer
19956
+ */
19957
+ public static encode(message: replit.goval.api.GovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
19958
+
19959
+ /**
19960
+ * Encodes the specified GovalCommand message, length delimited. Does not implicitly {@link replit.goval.api.GovalCommand.verify|verify} messages.
19961
+ * @param message GovalCommand message or plain object to encode
19962
+ * @param [writer] Writer to encode to
19963
+ * @returns Writer
19964
+ */
19965
+ public static encodeDelimited(message: replit.goval.api.GovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
19966
+
19967
+ /**
19968
+ * Decodes a GovalCommand message from the specified reader or buffer.
19969
+ * @param reader Reader or buffer to decode from
19970
+ * @param [length] Message length if known beforehand
19971
+ * @returns GovalCommand
19972
+ * @throws {Error} If the payload is not a reader or valid buffer
19973
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19974
+ */
19975
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.GovalCommand;
19976
+
19977
+ /**
19978
+ * Decodes a GovalCommand message from the specified reader or buffer, length delimited.
19979
+ * @param reader Reader or buffer to decode from
19980
+ * @returns GovalCommand
19981
+ * @throws {Error} If the payload is not a reader or valid buffer
19982
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19983
+ */
19984
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.GovalCommand;
19985
+
19986
+ /**
19987
+ * Verifies a GovalCommand message.
19988
+ * @param message Plain object to verify
19989
+ * @returns `null` if valid, otherwise the reason why it is not
19990
+ */
19991
+ public static verify(message: { [k: string]: any }): (string|null);
19992
+
19993
+ /**
19994
+ * Creates a GovalCommand message from a plain object. Also converts values to their respective internal types.
19995
+ * @param object Plain object
19996
+ * @returns GovalCommand
19997
+ */
19998
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.GovalCommand;
19999
+
20000
+ /**
20001
+ * Creates a plain object from a GovalCommand message. Also converts values to other types if specified.
20002
+ * @param message GovalCommand
20003
+ * @param [options] Conversion options
20004
+ * @returns Plain object
20005
+ */
20006
+ public static toObject(message: replit.goval.api.GovalCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
20007
+
20008
+ /**
20009
+ * Converts this GovalCommand to JSON.
20010
+ * @returns JSON object
20011
+ */
20012
+ public toJSON(): { [k: string]: any };
20013
+ }
20014
+
20015
+ /** Properties of a Restore. */
20016
+ interface IRestore {
20017
+
20018
+ /** Restore replId */
20019
+ replId?: (string|null);
20020
+
20021
+ /** Restore restoreReplId */
20022
+ restoreReplId?: (string|null);
20023
+ }
20024
+
20025
+ /** Represents a Restore. */
20026
+ class Restore {
20027
+
20028
+ /**
20029
+ * Constructs a new Restore.
20030
+ * @param [properties] Properties to set
20031
+ */
20032
+ private constructor(properties?: replit.goval.api.IRestore);
20033
+
20034
+ /** Restore replId. */
20035
+ public replId: string;
20036
+
20037
+ /** Restore restoreReplId. */
20038
+ public restoreReplId: string;
20039
+
20040
+ /**
20041
+ * Creates a new Restore instance using the specified properties.
20042
+ * @param [properties] Properties to set
20043
+ * @returns Restore instance
20044
+ */
20045
+ public static create(properties?: replit.goval.api.IRestore): replit.goval.api.Restore;
20046
+
20047
+ /**
20048
+ * Encodes the specified Restore message. Does not implicitly {@link replit.goval.api.Restore.verify|verify} messages.
20049
+ * @param message Restore message or plain object to encode
20050
+ * @param [writer] Writer to encode to
20051
+ * @returns Writer
20052
+ */
20053
+ public static encode(message: replit.goval.api.Restore, writer?: $protobuf.Writer): $protobuf.Writer;
20054
+
20055
+ /**
20056
+ * Encodes the specified Restore message, length delimited. Does not implicitly {@link replit.goval.api.Restore.verify|verify} messages.
20057
+ * @param message Restore message or plain object to encode
20058
+ * @param [writer] Writer to encode to
20059
+ * @returns Writer
20060
+ */
20061
+ public static encodeDelimited(message: replit.goval.api.Restore, writer?: $protobuf.Writer): $protobuf.Writer;
20062
+
20063
+ /**
20064
+ * Decodes a Restore message from the specified reader or buffer.
20065
+ * @param reader Reader or buffer to decode from
20066
+ * @param [length] Message length if known beforehand
20067
+ * @returns Restore
20068
+ * @throws {Error} If the payload is not a reader or valid buffer
20069
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20070
+ */
20071
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Restore;
20072
+
20073
+ /**
20074
+ * Decodes a Restore message from the specified reader or buffer, length delimited.
20075
+ * @param reader Reader or buffer to decode from
20076
+ * @returns Restore
20077
+ * @throws {Error} If the payload is not a reader or valid buffer
20078
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20079
+ */
20080
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Restore;
20081
+
20082
+ /**
20083
+ * Verifies a Restore message.
20084
+ * @param message Plain object to verify
20085
+ * @returns `null` if valid, otherwise the reason why it is not
20086
+ */
20087
+ public static verify(message: { [k: string]: any }): (string|null);
20088
+
20089
+ /**
20090
+ * Creates a Restore message from a plain object. Also converts values to their respective internal types.
20091
+ * @param object Plain object
20092
+ * @returns Restore
20093
+ */
20094
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.Restore;
20095
+
20096
+ /**
20097
+ * Creates a plain object from a Restore message. Also converts values to other types if specified.
20098
+ * @param message Restore
20099
+ * @param [options] Conversion options
20100
+ * @returns Plain object
20101
+ */
20102
+ public static toObject(message: replit.goval.api.Restore, options?: $protobuf.IConversionOptions): { [k: string]: any };
20103
+
20104
+ /**
20105
+ * Converts this Restore to JSON.
20106
+ * @returns JSON object
20107
+ */
20108
+ public toJSON(): { [k: string]: any };
20109
+ }
20110
+
19607
20111
  /** Namespace features. */
19608
20112
  namespace features {
19609
20113