@replit/protocol 0.2.75 → 0.2.77

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
@@ -77,6 +77,9 @@ export namespace replit {
77
77
  /** Command log */
78
78
  log?: (string|null);
79
79
 
80
+ /** Command record */
81
+ record?: (string|null);
82
+
80
83
  /** Command saneTerm */
81
84
  saneTerm?: (replit.goval.api.SaneTerm|replit.goval.api.ISaneTerm|null);
82
85
 
@@ -582,6 +585,9 @@ export namespace replit {
582
585
  /** Command log. */
583
586
  public log?: (string|null);
584
587
 
588
+ /** Command record. */
589
+ public record?: (string|null);
590
+
585
591
  /** Command saneTerm. */
586
592
  public saneTerm?: (replit.goval.api.SaneTerm|null);
587
593
 
@@ -1012,7 +1018,7 @@ export namespace replit {
1012
1018
  public traceInfo: { [k: string]: string };
1013
1019
 
1014
1020
  /** Command body. */
1015
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
1021
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
1016
1022
 
1017
1023
  /**
1018
1024
  * Creates a new Command instance using the specified properties.
@@ -17940,6 +17946,114 @@ export namespace replit {
17940
17946
  public toJSON(): { [k: string]: any };
17941
17947
  }
17942
17948
 
17949
+ /** Properties of a ReplLogMessage. */
17950
+ interface IReplLogMessage {
17951
+
17952
+ /** ReplLogMessage timestamp */
17953
+ timestamp?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
17954
+
17955
+ /** ReplLogMessage replId */
17956
+ replId?: (string|null);
17957
+
17958
+ /** ReplLogMessage logLine */
17959
+ logLine?: (string|null);
17960
+
17961
+ /** ReplLogMessage userName */
17962
+ userName?: (string|null);
17963
+ }
17964
+
17965
+ /** Represents a ReplLogMessage. */
17966
+ class ReplLogMessage {
17967
+
17968
+ /**
17969
+ * Constructs a new ReplLogMessage.
17970
+ * @param [properties] Properties to set
17971
+ */
17972
+ private constructor(properties?: replit.goval.api.IReplLogMessage);
17973
+
17974
+ /** ReplLogMessage timestamp. */
17975
+ public timestamp?: (google.protobuf.Timestamp|null);
17976
+
17977
+ /** ReplLogMessage replId. */
17978
+ public replId: string;
17979
+
17980
+ /** ReplLogMessage logLine. */
17981
+ public logLine: string;
17982
+
17983
+ /** ReplLogMessage userName. */
17984
+ public userName: string;
17985
+
17986
+ /**
17987
+ * Creates a new ReplLogMessage instance using the specified properties.
17988
+ * @param [properties] Properties to set
17989
+ * @returns ReplLogMessage instance
17990
+ */
17991
+ public static create(properties?: replit.goval.api.IReplLogMessage): replit.goval.api.ReplLogMessage;
17992
+
17993
+ /**
17994
+ * Encodes the specified ReplLogMessage message. Does not implicitly {@link replit.goval.api.ReplLogMessage.verify|verify} messages.
17995
+ * @param message ReplLogMessage message or plain object to encode
17996
+ * @param [writer] Writer to encode to
17997
+ * @returns Writer
17998
+ */
17999
+ public static encode(message: replit.goval.api.ReplLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
18000
+
18001
+ /**
18002
+ * Encodes the specified ReplLogMessage message, length delimited. Does not implicitly {@link replit.goval.api.ReplLogMessage.verify|verify} messages.
18003
+ * @param message ReplLogMessage message or plain object to encode
18004
+ * @param [writer] Writer to encode to
18005
+ * @returns Writer
18006
+ */
18007
+ public static encodeDelimited(message: replit.goval.api.ReplLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
18008
+
18009
+ /**
18010
+ * Decodes a ReplLogMessage message from the specified reader or buffer.
18011
+ * @param reader Reader or buffer to decode from
18012
+ * @param [length] Message length if known beforehand
18013
+ * @returns ReplLogMessage
18014
+ * @throws {Error} If the payload is not a reader or valid buffer
18015
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18016
+ */
18017
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplLogMessage;
18018
+
18019
+ /**
18020
+ * Decodes a ReplLogMessage message from the specified reader or buffer, length delimited.
18021
+ * @param reader Reader or buffer to decode from
18022
+ * @returns ReplLogMessage
18023
+ * @throws {Error} If the payload is not a reader or valid buffer
18024
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18025
+ */
18026
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplLogMessage;
18027
+
18028
+ /**
18029
+ * Verifies a ReplLogMessage message.
18030
+ * @param message Plain object to verify
18031
+ * @returns `null` if valid, otherwise the reason why it is not
18032
+ */
18033
+ public static verify(message: { [k: string]: any }): (string|null);
18034
+
18035
+ /**
18036
+ * Creates a ReplLogMessage message from a plain object. Also converts values to their respective internal types.
18037
+ * @param object Plain object
18038
+ * @returns ReplLogMessage
18039
+ */
18040
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplLogMessage;
18041
+
18042
+ /**
18043
+ * Creates a plain object from a ReplLogMessage message. Also converts values to other types if specified.
18044
+ * @param message ReplLogMessage
18045
+ * @param [options] Conversion options
18046
+ * @returns Plain object
18047
+ */
18048
+ public static toObject(message: replit.goval.api.ReplLogMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
18049
+
18050
+ /**
18051
+ * Converts this ReplLogMessage to JSON.
18052
+ * @returns JSON object
18053
+ */
18054
+ public toJSON(): { [k: string]: any };
18055
+ }
18056
+
17943
18057
  /** Properties of a ReplToken. */
17944
18058
  interface IReplToken {
17945
18059
 
@@ -19604,6 +19718,612 @@ export namespace replit {
19604
19718
  public toJSON(): { [k: string]: any };
19605
19719
  }
19606
19720
 
19721
+ /** Properties of a LoreCommand. */
19722
+ interface ILoreCommand {
19723
+
19724
+ /** LoreCommand clusterTransfer */
19725
+ clusterTransfer?: (replit.goval.api.ClusterTransfer|replit.goval.api.IClusterTransfer|null);
19726
+
19727
+ /** LoreCommand softTakedown */
19728
+ softTakedown?: (replit.goval.api.SoftTakedown|replit.goval.api.ISoftTakedown|null);
19729
+
19730
+ /** LoreCommand govalCommand */
19731
+ govalCommand?: (replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand|null);
19732
+
19733
+ /** LoreCommand restore */
19734
+ restore?: (replit.goval.api.Restore|replit.goval.api.IRestore|null);
19735
+ }
19736
+
19737
+ /** Represents a LoreCommand. */
19738
+ class LoreCommand {
19739
+
19740
+ /**
19741
+ * Constructs a new LoreCommand.
19742
+ * @param [properties] Properties to set
19743
+ */
19744
+ private constructor(properties?: replit.goval.api.ILoreCommand);
19745
+
19746
+ /** LoreCommand clusterTransfer. */
19747
+ public clusterTransfer?: (replit.goval.api.ClusterTransfer|null);
19748
+
19749
+ /** LoreCommand softTakedown. */
19750
+ public softTakedown?: (replit.goval.api.SoftTakedown|null);
19751
+
19752
+ /** LoreCommand govalCommand. */
19753
+ public govalCommand?: (replit.goval.api.GovalCommand|null);
19754
+
19755
+ /** LoreCommand restore. */
19756
+ public restore?: (replit.goval.api.Restore|null);
19757
+
19758
+ /** LoreCommand command. */
19759
+ public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"restore");
19760
+
19761
+ /**
19762
+ * Creates a new LoreCommand instance using the specified properties.
19763
+ * @param [properties] Properties to set
19764
+ * @returns LoreCommand instance
19765
+ */
19766
+ public static create(properties?: replit.goval.api.ILoreCommand): replit.goval.api.LoreCommand;
19767
+
19768
+ /**
19769
+ * Encodes the specified LoreCommand message. Does not implicitly {@link replit.goval.api.LoreCommand.verify|verify} messages.
19770
+ * @param message LoreCommand message or plain object to encode
19771
+ * @param [writer] Writer to encode to
19772
+ * @returns Writer
19773
+ */
19774
+ public static encode(message: replit.goval.api.LoreCommand, writer?: $protobuf.Writer): $protobuf.Writer;
19775
+
19776
+ /**
19777
+ * Encodes the specified LoreCommand message, length delimited. Does not implicitly {@link replit.goval.api.LoreCommand.verify|verify} messages.
19778
+ * @param message LoreCommand message or plain object to encode
19779
+ * @param [writer] Writer to encode to
19780
+ * @returns Writer
19781
+ */
19782
+ public static encodeDelimited(message: replit.goval.api.LoreCommand, writer?: $protobuf.Writer): $protobuf.Writer;
19783
+
19784
+ /**
19785
+ * Decodes a LoreCommand message from the specified reader or buffer.
19786
+ * @param reader Reader or buffer to decode from
19787
+ * @param [length] Message length if known beforehand
19788
+ * @returns LoreCommand
19789
+ * @throws {Error} If the payload is not a reader or valid buffer
19790
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19791
+ */
19792
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.LoreCommand;
19793
+
19794
+ /**
19795
+ * Decodes a LoreCommand message from the specified reader or buffer, length delimited.
19796
+ * @param reader Reader or buffer to decode from
19797
+ * @returns LoreCommand
19798
+ * @throws {Error} If the payload is not a reader or valid buffer
19799
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19800
+ */
19801
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.LoreCommand;
19802
+
19803
+ /**
19804
+ * Verifies a LoreCommand message.
19805
+ * @param message Plain object to verify
19806
+ * @returns `null` if valid, otherwise the reason why it is not
19807
+ */
19808
+ public static verify(message: { [k: string]: any }): (string|null);
19809
+
19810
+ /**
19811
+ * Creates a LoreCommand message from a plain object. Also converts values to their respective internal types.
19812
+ * @param object Plain object
19813
+ * @returns LoreCommand
19814
+ */
19815
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.LoreCommand;
19816
+
19817
+ /**
19818
+ * Creates a plain object from a LoreCommand message. Also converts values to other types if specified.
19819
+ * @param message LoreCommand
19820
+ * @param [options] Conversion options
19821
+ * @returns Plain object
19822
+ */
19823
+ public static toObject(message: replit.goval.api.LoreCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
19824
+
19825
+ /**
19826
+ * Converts this LoreCommand to JSON.
19827
+ * @returns JSON object
19828
+ */
19829
+ public toJSON(): { [k: string]: any };
19830
+ }
19831
+
19832
+ /** Properties of a ClusterTransfer. */
19833
+ interface IClusterTransfer {
19834
+
19835
+ /** ClusterTransfer replId */
19836
+ replId?: (string|null);
19837
+
19838
+ /** ClusterTransfer user */
19839
+ user?: (string|null);
19840
+
19841
+ /** ClusterTransfer newClusterId */
19842
+ newClusterId?: (string|null);
19843
+
19844
+ /** ClusterTransfer transferId */
19845
+ transferId?: (string|null);
19846
+ }
19847
+
19848
+ /** Represents a ClusterTransfer. */
19849
+ class ClusterTransfer {
19850
+
19851
+ /**
19852
+ * Constructs a new ClusterTransfer.
19853
+ * @param [properties] Properties to set
19854
+ */
19855
+ private constructor(properties?: replit.goval.api.IClusterTransfer);
19856
+
19857
+ /** ClusterTransfer replId. */
19858
+ public replId: string;
19859
+
19860
+ /** ClusterTransfer user. */
19861
+ public user: string;
19862
+
19863
+ /** ClusterTransfer newClusterId. */
19864
+ public newClusterId: string;
19865
+
19866
+ /** ClusterTransfer transferId. */
19867
+ public transferId: string;
19868
+
19869
+ /**
19870
+ * Creates a new ClusterTransfer instance using the specified properties.
19871
+ * @param [properties] Properties to set
19872
+ * @returns ClusterTransfer instance
19873
+ */
19874
+ public static create(properties?: replit.goval.api.IClusterTransfer): replit.goval.api.ClusterTransfer;
19875
+
19876
+ /**
19877
+ * Encodes the specified ClusterTransfer message. Does not implicitly {@link replit.goval.api.ClusterTransfer.verify|verify} messages.
19878
+ * @param message ClusterTransfer message or plain object to encode
19879
+ * @param [writer] Writer to encode to
19880
+ * @returns Writer
19881
+ */
19882
+ public static encode(message: replit.goval.api.ClusterTransfer, writer?: $protobuf.Writer): $protobuf.Writer;
19883
+
19884
+ /**
19885
+ * Encodes the specified ClusterTransfer message, length delimited. Does not implicitly {@link replit.goval.api.ClusterTransfer.verify|verify} messages.
19886
+ * @param message ClusterTransfer message or plain object to encode
19887
+ * @param [writer] Writer to encode to
19888
+ * @returns Writer
19889
+ */
19890
+ public static encodeDelimited(message: replit.goval.api.ClusterTransfer, writer?: $protobuf.Writer): $protobuf.Writer;
19891
+
19892
+ /**
19893
+ * Decodes a ClusterTransfer message from the specified reader or buffer.
19894
+ * @param reader Reader or buffer to decode from
19895
+ * @param [length] Message length if known beforehand
19896
+ * @returns ClusterTransfer
19897
+ * @throws {Error} If the payload is not a reader or valid buffer
19898
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19899
+ */
19900
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ClusterTransfer;
19901
+
19902
+ /**
19903
+ * Decodes a ClusterTransfer message from the specified reader or buffer, length delimited.
19904
+ * @param reader Reader or buffer to decode from
19905
+ * @returns ClusterTransfer
19906
+ * @throws {Error} If the payload is not a reader or valid buffer
19907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19908
+ */
19909
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ClusterTransfer;
19910
+
19911
+ /**
19912
+ * Verifies a ClusterTransfer message.
19913
+ * @param message Plain object to verify
19914
+ * @returns `null` if valid, otherwise the reason why it is not
19915
+ */
19916
+ public static verify(message: { [k: string]: any }): (string|null);
19917
+
19918
+ /**
19919
+ * Creates a ClusterTransfer message from a plain object. Also converts values to their respective internal types.
19920
+ * @param object Plain object
19921
+ * @returns ClusterTransfer
19922
+ */
19923
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.ClusterTransfer;
19924
+
19925
+ /**
19926
+ * Creates a plain object from a ClusterTransfer message. Also converts values to other types if specified.
19927
+ * @param message ClusterTransfer
19928
+ * @param [options] Conversion options
19929
+ * @returns Plain object
19930
+ */
19931
+ public static toObject(message: replit.goval.api.ClusterTransfer, options?: $protobuf.IConversionOptions): { [k: string]: any };
19932
+
19933
+ /**
19934
+ * Converts this ClusterTransfer to JSON.
19935
+ * @returns JSON object
19936
+ */
19937
+ public toJSON(): { [k: string]: any };
19938
+ }
19939
+
19940
+ /** Properties of a SoftTakedown. */
19941
+ interface ISoftTakedown {
19942
+
19943
+ /** SoftTakedown replId */
19944
+ replId?: (string|null);
19945
+
19946
+ /** SoftTakedown softTakedownId */
19947
+ softTakedownId?: (string|null);
19948
+ }
19949
+
19950
+ /** Represents a SoftTakedown. */
19951
+ class SoftTakedown {
19952
+
19953
+ /**
19954
+ * Constructs a new SoftTakedown.
19955
+ * @param [properties] Properties to set
19956
+ */
19957
+ private constructor(properties?: replit.goval.api.ISoftTakedown);
19958
+
19959
+ /** SoftTakedown replId. */
19960
+ public replId: string;
19961
+
19962
+ /** SoftTakedown softTakedownId. */
19963
+ public softTakedownId: string;
19964
+
19965
+ /**
19966
+ * Creates a new SoftTakedown instance using the specified properties.
19967
+ * @param [properties] Properties to set
19968
+ * @returns SoftTakedown instance
19969
+ */
19970
+ public static create(properties?: replit.goval.api.ISoftTakedown): replit.goval.api.SoftTakedown;
19971
+
19972
+ /**
19973
+ * Encodes the specified SoftTakedown message. Does not implicitly {@link replit.goval.api.SoftTakedown.verify|verify} messages.
19974
+ * @param message SoftTakedown message or plain object to encode
19975
+ * @param [writer] Writer to encode to
19976
+ * @returns Writer
19977
+ */
19978
+ public static encode(message: replit.goval.api.SoftTakedown, writer?: $protobuf.Writer): $protobuf.Writer;
19979
+
19980
+ /**
19981
+ * Encodes the specified SoftTakedown message, length delimited. Does not implicitly {@link replit.goval.api.SoftTakedown.verify|verify} messages.
19982
+ * @param message SoftTakedown message or plain object to encode
19983
+ * @param [writer] Writer to encode to
19984
+ * @returns Writer
19985
+ */
19986
+ public static encodeDelimited(message: replit.goval.api.SoftTakedown, writer?: $protobuf.Writer): $protobuf.Writer;
19987
+
19988
+ /**
19989
+ * Decodes a SoftTakedown message from the specified reader or buffer.
19990
+ * @param reader Reader or buffer to decode from
19991
+ * @param [length] Message length if known beforehand
19992
+ * @returns SoftTakedown
19993
+ * @throws {Error} If the payload is not a reader or valid buffer
19994
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19995
+ */
19996
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SoftTakedown;
19997
+
19998
+ /**
19999
+ * Decodes a SoftTakedown message from the specified reader or buffer, length delimited.
20000
+ * @param reader Reader or buffer to decode from
20001
+ * @returns SoftTakedown
20002
+ * @throws {Error} If the payload is not a reader or valid buffer
20003
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20004
+ */
20005
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SoftTakedown;
20006
+
20007
+ /**
20008
+ * Verifies a SoftTakedown message.
20009
+ * @param message Plain object to verify
20010
+ * @returns `null` if valid, otherwise the reason why it is not
20011
+ */
20012
+ public static verify(message: { [k: string]: any }): (string|null);
20013
+
20014
+ /**
20015
+ * Creates a SoftTakedown message from a plain object. Also converts values to their respective internal types.
20016
+ * @param object Plain object
20017
+ * @returns SoftTakedown
20018
+ */
20019
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.SoftTakedown;
20020
+
20021
+ /**
20022
+ * Creates a plain object from a SoftTakedown message. Also converts values to other types if specified.
20023
+ * @param message SoftTakedown
20024
+ * @param [options] Conversion options
20025
+ * @returns Plain object
20026
+ */
20027
+ public static toObject(message: replit.goval.api.SoftTakedown, options?: $protobuf.IConversionOptions): { [k: string]: any };
20028
+
20029
+ /**
20030
+ * Converts this SoftTakedown to JSON.
20031
+ * @returns JSON object
20032
+ */
20033
+ public toJSON(): { [k: string]: any };
20034
+ }
20035
+
20036
+ /** Properties of a GovalCommand. */
20037
+ interface IGovalCommand {
20038
+
20039
+ /** GovalCommand updateMetadata */
20040
+ updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
20041
+
20042
+ /** GovalCommand partialUpdateMetadata */
20043
+ partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|replit.goval.api.IPartialUpdateMetadata|null);
20044
+ }
20045
+
20046
+ /** Represents a GovalCommand. */
20047
+ class GovalCommand {
20048
+
20049
+ /**
20050
+ * Constructs a new GovalCommand.
20051
+ * @param [properties] Properties to set
20052
+ */
20053
+ private constructor(properties?: replit.goval.api.IGovalCommand);
20054
+
20055
+ /** GovalCommand updateMetadata. */
20056
+ public updateMetadata?: (replit.goval.api.repl.Metadata|null);
20057
+
20058
+ /** GovalCommand partialUpdateMetadata. */
20059
+ public partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|null);
20060
+
20061
+ /** GovalCommand command. */
20062
+ public command?: ("updateMetadata"|"partialUpdateMetadata");
20063
+
20064
+ /**
20065
+ * Creates a new GovalCommand instance using the specified properties.
20066
+ * @param [properties] Properties to set
20067
+ * @returns GovalCommand instance
20068
+ */
20069
+ public static create(properties?: replit.goval.api.IGovalCommand): replit.goval.api.GovalCommand;
20070
+
20071
+ /**
20072
+ * Encodes the specified GovalCommand message. Does not implicitly {@link replit.goval.api.GovalCommand.verify|verify} messages.
20073
+ * @param message GovalCommand message or plain object to encode
20074
+ * @param [writer] Writer to encode to
20075
+ * @returns Writer
20076
+ */
20077
+ public static encode(message: replit.goval.api.GovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
20078
+
20079
+ /**
20080
+ * Encodes the specified GovalCommand message, length delimited. Does not implicitly {@link replit.goval.api.GovalCommand.verify|verify} messages.
20081
+ * @param message GovalCommand message or plain object to encode
20082
+ * @param [writer] Writer to encode to
20083
+ * @returns Writer
20084
+ */
20085
+ public static encodeDelimited(message: replit.goval.api.GovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
20086
+
20087
+ /**
20088
+ * Decodes a GovalCommand message from the specified reader or buffer.
20089
+ * @param reader Reader or buffer to decode from
20090
+ * @param [length] Message length if known beforehand
20091
+ * @returns GovalCommand
20092
+ * @throws {Error} If the payload is not a reader or valid buffer
20093
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20094
+ */
20095
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.GovalCommand;
20096
+
20097
+ /**
20098
+ * Decodes a GovalCommand message from the specified reader or buffer, length delimited.
20099
+ * @param reader Reader or buffer to decode from
20100
+ * @returns GovalCommand
20101
+ * @throws {Error} If the payload is not a reader or valid buffer
20102
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20103
+ */
20104
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.GovalCommand;
20105
+
20106
+ /**
20107
+ * Verifies a GovalCommand message.
20108
+ * @param message Plain object to verify
20109
+ * @returns `null` if valid, otherwise the reason why it is not
20110
+ */
20111
+ public static verify(message: { [k: string]: any }): (string|null);
20112
+
20113
+ /**
20114
+ * Creates a GovalCommand message from a plain object. Also converts values to their respective internal types.
20115
+ * @param object Plain object
20116
+ * @returns GovalCommand
20117
+ */
20118
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.GovalCommand;
20119
+
20120
+ /**
20121
+ * Creates a plain object from a GovalCommand message. Also converts values to other types if specified.
20122
+ * @param message GovalCommand
20123
+ * @param [options] Conversion options
20124
+ * @returns Plain object
20125
+ */
20126
+ public static toObject(message: replit.goval.api.GovalCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
20127
+
20128
+ /**
20129
+ * Converts this GovalCommand to JSON.
20130
+ * @returns JSON object
20131
+ */
20132
+ public toJSON(): { [k: string]: any };
20133
+ }
20134
+
20135
+ /** Properties of a PartialUpdateMetadata. */
20136
+ interface IPartialUpdateMetadata {
20137
+
20138
+ /** PartialUpdateMetadata fieldMask */
20139
+ fieldMask?: (google.protobuf.FieldMask|google.protobuf.IFieldMask|null);
20140
+
20141
+ /** PartialUpdateMetadata updateMetadata */
20142
+ updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
20143
+ }
20144
+
20145
+ /** Represents a PartialUpdateMetadata. */
20146
+ class PartialUpdateMetadata {
20147
+
20148
+ /**
20149
+ * Constructs a new PartialUpdateMetadata.
20150
+ * @param [properties] Properties to set
20151
+ */
20152
+ private constructor(properties?: replit.goval.api.IPartialUpdateMetadata);
20153
+
20154
+ /** PartialUpdateMetadata fieldMask. */
20155
+ public fieldMask?: (google.protobuf.FieldMask|null);
20156
+
20157
+ /** PartialUpdateMetadata updateMetadata. */
20158
+ public updateMetadata?: (replit.goval.api.repl.Metadata|null);
20159
+
20160
+ /**
20161
+ * Creates a new PartialUpdateMetadata instance using the specified properties.
20162
+ * @param [properties] Properties to set
20163
+ * @returns PartialUpdateMetadata instance
20164
+ */
20165
+ public static create(properties?: replit.goval.api.IPartialUpdateMetadata): replit.goval.api.PartialUpdateMetadata;
20166
+
20167
+ /**
20168
+ * Encodes the specified PartialUpdateMetadata message. Does not implicitly {@link replit.goval.api.PartialUpdateMetadata.verify|verify} messages.
20169
+ * @param message PartialUpdateMetadata message or plain object to encode
20170
+ * @param [writer] Writer to encode to
20171
+ * @returns Writer
20172
+ */
20173
+ public static encode(message: replit.goval.api.PartialUpdateMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
20174
+
20175
+ /**
20176
+ * Encodes the specified PartialUpdateMetadata message, length delimited. Does not implicitly {@link replit.goval.api.PartialUpdateMetadata.verify|verify} messages.
20177
+ * @param message PartialUpdateMetadata message or plain object to encode
20178
+ * @param [writer] Writer to encode to
20179
+ * @returns Writer
20180
+ */
20181
+ public static encodeDelimited(message: replit.goval.api.PartialUpdateMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
20182
+
20183
+ /**
20184
+ * Decodes a PartialUpdateMetadata message from the specified reader or buffer.
20185
+ * @param reader Reader or buffer to decode from
20186
+ * @param [length] Message length if known beforehand
20187
+ * @returns PartialUpdateMetadata
20188
+ * @throws {Error} If the payload is not a reader or valid buffer
20189
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20190
+ */
20191
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.PartialUpdateMetadata;
20192
+
20193
+ /**
20194
+ * Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
20195
+ * @param reader Reader or buffer to decode from
20196
+ * @returns PartialUpdateMetadata
20197
+ * @throws {Error} If the payload is not a reader or valid buffer
20198
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20199
+ */
20200
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.PartialUpdateMetadata;
20201
+
20202
+ /**
20203
+ * Verifies a PartialUpdateMetadata message.
20204
+ * @param message Plain object to verify
20205
+ * @returns `null` if valid, otherwise the reason why it is not
20206
+ */
20207
+ public static verify(message: { [k: string]: any }): (string|null);
20208
+
20209
+ /**
20210
+ * Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
20211
+ * @param object Plain object
20212
+ * @returns PartialUpdateMetadata
20213
+ */
20214
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.PartialUpdateMetadata;
20215
+
20216
+ /**
20217
+ * Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
20218
+ * @param message PartialUpdateMetadata
20219
+ * @param [options] Conversion options
20220
+ * @returns Plain object
20221
+ */
20222
+ public static toObject(message: replit.goval.api.PartialUpdateMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
20223
+
20224
+ /**
20225
+ * Converts this PartialUpdateMetadata to JSON.
20226
+ * @returns JSON object
20227
+ */
20228
+ public toJSON(): { [k: string]: any };
20229
+ }
20230
+
20231
+ /** Properties of a Restore. */
20232
+ interface IRestore {
20233
+
20234
+ /** Restore replId */
20235
+ replId?: (string|null);
20236
+
20237
+ /** Restore restoreReplId */
20238
+ restoreReplId?: (string|null);
20239
+ }
20240
+
20241
+ /** Represents a Restore. */
20242
+ class Restore {
20243
+
20244
+ /**
20245
+ * Constructs a new Restore.
20246
+ * @param [properties] Properties to set
20247
+ */
20248
+ private constructor(properties?: replit.goval.api.IRestore);
20249
+
20250
+ /** Restore replId. */
20251
+ public replId: string;
20252
+
20253
+ /** Restore restoreReplId. */
20254
+ public restoreReplId: string;
20255
+
20256
+ /**
20257
+ * Creates a new Restore instance using the specified properties.
20258
+ * @param [properties] Properties to set
20259
+ * @returns Restore instance
20260
+ */
20261
+ public static create(properties?: replit.goval.api.IRestore): replit.goval.api.Restore;
20262
+
20263
+ /**
20264
+ * Encodes the specified Restore message. Does not implicitly {@link replit.goval.api.Restore.verify|verify} messages.
20265
+ * @param message Restore message or plain object to encode
20266
+ * @param [writer] Writer to encode to
20267
+ * @returns Writer
20268
+ */
20269
+ public static encode(message: replit.goval.api.Restore, writer?: $protobuf.Writer): $protobuf.Writer;
20270
+
20271
+ /**
20272
+ * Encodes the specified Restore message, length delimited. Does not implicitly {@link replit.goval.api.Restore.verify|verify} messages.
20273
+ * @param message Restore message or plain object to encode
20274
+ * @param [writer] Writer to encode to
20275
+ * @returns Writer
20276
+ */
20277
+ public static encodeDelimited(message: replit.goval.api.Restore, writer?: $protobuf.Writer): $protobuf.Writer;
20278
+
20279
+ /**
20280
+ * Decodes a Restore message from the specified reader or buffer.
20281
+ * @param reader Reader or buffer to decode from
20282
+ * @param [length] Message length if known beforehand
20283
+ * @returns Restore
20284
+ * @throws {Error} If the payload is not a reader or valid buffer
20285
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20286
+ */
20287
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Restore;
20288
+
20289
+ /**
20290
+ * Decodes a Restore message from the specified reader or buffer, length delimited.
20291
+ * @param reader Reader or buffer to decode from
20292
+ * @returns Restore
20293
+ * @throws {Error} If the payload is not a reader or valid buffer
20294
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20295
+ */
20296
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Restore;
20297
+
20298
+ /**
20299
+ * Verifies a Restore message.
20300
+ * @param message Plain object to verify
20301
+ * @returns `null` if valid, otherwise the reason why it is not
20302
+ */
20303
+ public static verify(message: { [k: string]: any }): (string|null);
20304
+
20305
+ /**
20306
+ * Creates a Restore message from a plain object. Also converts values to their respective internal types.
20307
+ * @param object Plain object
20308
+ * @returns Restore
20309
+ */
20310
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.Restore;
20311
+
20312
+ /**
20313
+ * Creates a plain object from a Restore message. Also converts values to other types if specified.
20314
+ * @param message Restore
20315
+ * @param [options] Conversion options
20316
+ * @returns Plain object
20317
+ */
20318
+ public static toObject(message: replit.goval.api.Restore, options?: $protobuf.IConversionOptions): { [k: string]: any };
20319
+
20320
+ /**
20321
+ * Converts this Restore to JSON.
20322
+ * @returns JSON object
20323
+ */
20324
+ public toJSON(): { [k: string]: any };
20325
+ }
20326
+
19607
20327
  /** Namespace features. */
19608
20328
  namespace features {
19609
20329
 
@@ -20782,6 +21502,96 @@ export namespace google {
20782
21502
  */
20783
21503
  public toJSON(): { [k: string]: any };
20784
21504
  }
21505
+
21506
+ /** Properties of a FieldMask. */
21507
+ interface IFieldMask {
21508
+
21509
+ /** FieldMask paths */
21510
+ paths?: (string[]|null);
21511
+ }
21512
+
21513
+ /** Represents a FieldMask. */
21514
+ class FieldMask {
21515
+
21516
+ /**
21517
+ * Constructs a new FieldMask.
21518
+ * @param [properties] Properties to set
21519
+ */
21520
+ private constructor(properties?: google.protobuf.IFieldMask);
21521
+
21522
+ /** FieldMask paths. */
21523
+ public paths: string[];
21524
+
21525
+ /**
21526
+ * Creates a new FieldMask instance using the specified properties.
21527
+ * @param [properties] Properties to set
21528
+ * @returns FieldMask instance
21529
+ */
21530
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
21531
+
21532
+ /**
21533
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
21534
+ * @param message FieldMask message or plain object to encode
21535
+ * @param [writer] Writer to encode to
21536
+ * @returns Writer
21537
+ */
21538
+ public static encode(message: google.protobuf.FieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
21539
+
21540
+ /**
21541
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
21542
+ * @param message FieldMask message or plain object to encode
21543
+ * @param [writer] Writer to encode to
21544
+ * @returns Writer
21545
+ */
21546
+ public static encodeDelimited(message: google.protobuf.FieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
21547
+
21548
+ /**
21549
+ * Decodes a FieldMask message from the specified reader or buffer.
21550
+ * @param reader Reader or buffer to decode from
21551
+ * @param [length] Message length if known beforehand
21552
+ * @returns FieldMask
21553
+ * @throws {Error} If the payload is not a reader or valid buffer
21554
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21555
+ */
21556
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
21557
+
21558
+ /**
21559
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
21560
+ * @param reader Reader or buffer to decode from
21561
+ * @returns FieldMask
21562
+ * @throws {Error} If the payload is not a reader or valid buffer
21563
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21564
+ */
21565
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
21566
+
21567
+ /**
21568
+ * Verifies a FieldMask message.
21569
+ * @param message Plain object to verify
21570
+ * @returns `null` if valid, otherwise the reason why it is not
21571
+ */
21572
+ public static verify(message: { [k: string]: any }): (string|null);
21573
+
21574
+ /**
21575
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
21576
+ * @param object Plain object
21577
+ * @returns FieldMask
21578
+ */
21579
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
21580
+
21581
+ /**
21582
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
21583
+ * @param message FieldMask
21584
+ * @param [options] Conversion options
21585
+ * @returns Plain object
21586
+ */
21587
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
21588
+
21589
+ /**
21590
+ * Converts this FieldMask to JSON.
21591
+ * @returns JSON object
21592
+ */
21593
+ public toJSON(): { [k: string]: any };
21594
+ }
20785
21595
  }
20786
21596
  }
20787
21597
  import api = replit.goval.api; export { api };