@replit/protocol 0.3.60 → 0.3.61

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.
Files changed (3) hide show
  1. package/main/index.d.ts +1052 -156
  2. package/main/index.js +2312 -230
  3. package/package.json +1 -1
package/main/index.d.ts CHANGED
@@ -4001,6 +4001,9 @@ export namespace replit {
4001
4001
 
4002
4002
  /** Pid1Config noninteractiveFSChange */
4003
4003
  noninteractiveFSChange?: (boolean|null);
4004
+
4005
+ /** Pid1Config pid2Info */
4006
+ pid2Info?: (replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null);
4004
4007
  }
4005
4008
 
4006
4009
  /** Represents a Pid1Config. */
@@ -4027,6 +4030,9 @@ export namespace replit {
4027
4030
  /** Pid1Config noninteractiveFSChange. */
4028
4031
  public noninteractiveFSChange: boolean;
4029
4032
 
4033
+ /** Pid1Config pid2Info. */
4034
+ public pid2Info?: (replit.goval.api.repl.Pid2Binary|null);
4035
+
4030
4036
  /**
4031
4037
  * Creates a new Pid1Config instance using the specified properties.
4032
4038
  * @param [properties] Properties to set
@@ -24841,6 +24847,9 @@ export namespace replit {
24841
24847
 
24842
24848
  /** RunOption optionalFileParam */
24843
24849
  optionalFileParam?: (boolean|null);
24850
+
24851
+ /** RunOption displayVersion */
24852
+ displayVersion?: (string|null);
24844
24853
  }
24845
24854
 
24846
24855
  /** Represents a RunOption. */
@@ -24873,6 +24882,9 @@ export namespace replit {
24873
24882
  /** RunOption optionalFileParam. */
24874
24883
  public optionalFileParam: boolean;
24875
24884
 
24885
+ /** RunOption displayVersion. */
24886
+ public displayVersion: string;
24887
+
24876
24888
  /**
24877
24889
  * Creates a new RunOption instance using the specified properties.
24878
24890
  * @param [properties] Properties to set
@@ -24968,6 +24980,9 @@ export namespace replit {
24968
24980
 
24969
24981
  /** DebuggerOption fileTypeAttrs */
24970
24982
  fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null);
24983
+
24984
+ /** DebuggerOption displayVersion */
24985
+ displayVersion?: (string|null);
24971
24986
  }
24972
24987
 
24973
24988
  /** Represents a DebuggerOption. */
@@ -24994,6 +25009,9 @@ export namespace replit {
24994
25009
  /** DebuggerOption fileTypeAttrs. */
24995
25010
  public fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|null);
24996
25011
 
25012
+ /** DebuggerOption displayVersion. */
25013
+ public displayVersion: string;
25014
+
24997
25015
  /**
24998
25016
  * Creates a new DebuggerOption instance using the specified properties.
24999
25017
  * @param [properties] Properties to set
@@ -34580,263 +34598,1127 @@ export namespace replit {
34580
34598
  public static getTypeUrl(typeUrlPrefix?: string): string;
34581
34599
  }
34582
34600
 
34583
- /** Represents a Lore */
34584
- class Lore extends $protobuf.rpc.Service {
34601
+ /** Properties of an ExportReplRequest. */
34602
+ interface IExportReplRequest {
34585
34603
 
34586
- /**
34587
- * Constructs a new Lore service.
34588
- * @param rpcImpl RPC implementation
34589
- * @param [requestDelimited=false] Whether requests are length-delimited
34590
- * @param [responseDelimited=false] Whether responses are length-delimited
34591
- */
34592
- private constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
34604
+ /** ExportReplRequest replId */
34605
+ replId?: (string|null);
34606
+ }
34593
34607
 
34594
- /**
34595
- * Creates new Lore service using the specified rpc implementation.
34596
- * @param rpcImpl RPC implementation
34597
- * @param [requestDelimited=false] Whether requests are length-delimited
34598
- * @param [responseDelimited=false] Whether responses are length-delimited
34599
- * @returns RPC service. Useful where requests and/or responses are streamed.
34600
- */
34601
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Lore;
34608
+ /** Represents an ExportReplRequest. */
34609
+ class ExportReplRequest {
34602
34610
 
34603
34611
  /**
34604
- * Calls CreateRepl.
34605
- * @param request CreateReplRequest message or plain object
34606
- * @param callback Node-style callback called with the error, if any, and CreateReplResponse
34612
+ * Constructs a new ExportReplRequest.
34613
+ * @param [properties] Properties to set
34607
34614
  */
34608
- public createRepl(request: replit.goval.api.lore.CreateReplRequest, callback: replit.goval.api.lore.Lore.CreateReplCallback): void;
34615
+ private constructor(properties?: replit.goval.api.lore.IExportReplRequest);
34609
34616
 
34610
- /**
34611
- * Calls CreateRepl.
34612
- * @param request CreateReplRequest message or plain object
34613
- * @returns Promise
34614
- */
34615
- public createRepl(request: replit.goval.api.lore.CreateReplRequest): Promise<replit.goval.api.lore.CreateReplResponse>;
34617
+ /** ExportReplRequest replId. */
34618
+ public replId: string;
34616
34619
 
34617
34620
  /**
34618
- * Calls GetRepl.
34619
- * @param request GetReplRequest message or plain object
34620
- * @param callback Node-style callback called with the error, if any, and GetReplResponse
34621
+ * Creates a new ExportReplRequest instance using the specified properties.
34622
+ * @param [properties] Properties to set
34623
+ * @returns ExportReplRequest instance
34621
34624
  */
34622
- public getRepl(request: replit.goval.api.lore.GetReplRequest, callback: replit.goval.api.lore.Lore.GetReplCallback): void;
34625
+ public static create(properties?: replit.goval.api.lore.IExportReplRequest): replit.goval.api.lore.ExportReplRequest;
34623
34626
 
34624
34627
  /**
34625
- * Calls GetRepl.
34626
- * @param request GetReplRequest message or plain object
34627
- * @returns Promise
34628
+ * Encodes the specified ExportReplRequest message. Does not implicitly {@link replit.goval.api.lore.ExportReplRequest.verify|verify} messages.
34629
+ * @param message ExportReplRequest message or plain object to encode
34630
+ * @param [writer] Writer to encode to
34631
+ * @returns Writer
34628
34632
  */
34629
- public getRepl(request: replit.goval.api.lore.GetReplRequest): Promise<replit.goval.api.lore.GetReplResponse>;
34633
+ public static encode(message: replit.goval.api.lore.ExportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
34630
34634
 
34631
34635
  /**
34632
- * Calls GetReplConnectionInfo.
34633
- * @param request GetReplConnectionInfoRequest message or plain object
34634
- * @param callback Node-style callback called with the error, if any, and GetReplConnectionInfoResponse
34636
+ * Encodes the specified ExportReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.ExportReplRequest.verify|verify} messages.
34637
+ * @param message ExportReplRequest message or plain object to encode
34638
+ * @param [writer] Writer to encode to
34639
+ * @returns Writer
34635
34640
  */
34636
- public getReplConnectionInfo(request: replit.goval.api.lore.GetReplConnectionInfoRequest, callback: replit.goval.api.lore.Lore.GetReplConnectionInfoCallback): void;
34641
+ public static encodeDelimited(message: replit.goval.api.lore.ExportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
34637
34642
 
34638
34643
  /**
34639
- * Calls GetReplConnectionInfo.
34640
- * @param request GetReplConnectionInfoRequest message or plain object
34641
- * @returns Promise
34644
+ * Decodes an ExportReplRequest message from the specified reader or buffer.
34645
+ * @param reader Reader or buffer to decode from
34646
+ * @param [length] Message length if known beforehand
34647
+ * @returns ExportReplRequest
34648
+ * @throws {Error} If the payload is not a reader or valid buffer
34649
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34642
34650
  */
34643
- public getReplConnectionInfo(request: replit.goval.api.lore.GetReplConnectionInfoRequest): Promise<replit.goval.api.lore.GetReplConnectionInfoResponse>;
34651
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ExportReplRequest;
34644
34652
 
34645
34653
  /**
34646
- * Calls GetTransferStatus.
34647
- * @param request GetTransferStatusRequest message or plain object
34648
- * @param callback Node-style callback called with the error, if any, and GetTransferStatusResponse
34654
+ * Decodes an ExportReplRequest message from the specified reader or buffer, length delimited.
34655
+ * @param reader Reader or buffer to decode from
34656
+ * @returns ExportReplRequest
34657
+ * @throws {Error} If the payload is not a reader or valid buffer
34658
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34649
34659
  */
34650
- public getTransferStatus(request: replit.goval.api.lore.GetTransferStatusRequest, callback: replit.goval.api.lore.Lore.GetTransferStatusCallback): void;
34660
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ExportReplRequest;
34651
34661
 
34652
34662
  /**
34653
- * Calls GetTransferStatus.
34654
- * @param request GetTransferStatusRequest message or plain object
34655
- * @returns Promise
34663
+ * Verifies an ExportReplRequest message.
34664
+ * @param message Plain object to verify
34665
+ * @returns `null` if valid, otherwise the reason why it is not
34656
34666
  */
34657
- public getTransferStatus(request: replit.goval.api.lore.GetTransferStatusRequest): Promise<replit.goval.api.lore.GetTransferStatusResponse>;
34667
+ public static verify(message: { [k: string]: any }): (string|null);
34658
34668
 
34659
34669
  /**
34660
- * Calls TransferRepls.
34661
- * @param request TransferReplsRequest message or plain object
34662
- * @param callback Node-style callback called with the error, if any, and TransferReplsResponse
34670
+ * Creates an ExportReplRequest message from a plain object. Also converts values to their respective internal types.
34671
+ * @param object Plain object
34672
+ * @returns ExportReplRequest
34663
34673
  */
34664
- public transferRepls(request: replit.goval.api.lore.TransferReplsRequest, callback: replit.goval.api.lore.Lore.TransferReplsCallback): void;
34674
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ExportReplRequest;
34665
34675
 
34666
34676
  /**
34667
- * Calls TransferRepls.
34668
- * @param request TransferReplsRequest message or plain object
34669
- * @returns Promise
34677
+ * Creates a plain object from an ExportReplRequest message. Also converts values to other types if specified.
34678
+ * @param message ExportReplRequest
34679
+ * @param [options] Conversion options
34680
+ * @returns Plain object
34670
34681
  */
34671
- public transferRepls(request: replit.goval.api.lore.TransferReplsRequest): Promise<replit.goval.api.lore.TransferReplsResponse>;
34682
+ public static toObject(message: replit.goval.api.lore.ExportReplRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
34672
34683
 
34673
34684
  /**
34674
- * Calls TransferUser.
34675
- * @param request TransferUserRequest message or plain object
34676
- * @param callback Node-style callback called with the error, if any, and TransferUserResponse
34685
+ * Converts this ExportReplRequest to JSON.
34686
+ * @returns JSON object
34677
34687
  */
34678
- public transferUser(request: replit.goval.api.lore.TransferUserRequest, callback: replit.goval.api.lore.Lore.TransferUserCallback): void;
34688
+ public toJSON(): { [k: string]: any };
34679
34689
 
34680
34690
  /**
34681
- * Calls TransferUser.
34682
- * @param request TransferUserRequest message or plain object
34683
- * @returns Promise
34691
+ * Gets the default type url for ExportReplRequest
34692
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34693
+ * @returns The default type url
34684
34694
  */
34685
- public transferUser(request: replit.goval.api.lore.TransferUserRequest): Promise<replit.goval.api.lore.TransferUserResponse>;
34695
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34696
+ }
34697
+
34698
+ /** Properties of a MargarineBlock. */
34699
+ interface IMargarineBlock {
34700
+
34701
+ /** MargarineBlock name */
34702
+ name?: (string|null);
34703
+
34704
+ /** MargarineBlock offset */
34705
+ offset?: (number|null);
34706
+
34707
+ /** MargarineBlock signedUrl */
34708
+ signedUrl?: (string|null);
34709
+ }
34710
+
34711
+ /** Represents a MargarineBlock. */
34712
+ class MargarineBlock {
34686
34713
 
34687
34714
  /**
34688
- * Calls TakedownRepl.
34689
- * @param request TakedownReplRequest message or plain object
34690
- * @param callback Node-style callback called with the error, if any, and TakedownReplResponse
34715
+ * Constructs a new MargarineBlock.
34716
+ * @param [properties] Properties to set
34691
34717
  */
34692
- public takedownRepl(request: replit.goval.api.lore.TakedownReplRequest, callback: replit.goval.api.lore.Lore.TakedownReplCallback): void;
34718
+ private constructor(properties?: replit.goval.api.lore.IMargarineBlock);
34719
+
34720
+ /** MargarineBlock name. */
34721
+ public name: string;
34722
+
34723
+ /** MargarineBlock offset. */
34724
+ public offset: number;
34725
+
34726
+ /** MargarineBlock signedUrl. */
34727
+ public signedUrl: string;
34693
34728
 
34694
34729
  /**
34695
- * Calls TakedownRepl.
34696
- * @param request TakedownReplRequest message or plain object
34697
- * @returns Promise
34730
+ * Creates a new MargarineBlock instance using the specified properties.
34731
+ * @param [properties] Properties to set
34732
+ * @returns MargarineBlock instance
34698
34733
  */
34699
- public takedownRepl(request: replit.goval.api.lore.TakedownReplRequest): Promise<replit.goval.api.lore.TakedownReplResponse>;
34734
+ public static create(properties?: replit.goval.api.lore.IMargarineBlock): replit.goval.api.lore.MargarineBlock;
34700
34735
 
34701
34736
  /**
34702
- * Calls SoftTakedownRepl.
34703
- * @param request SoftTakedownReplRequest message or plain object
34704
- * @param callback Node-style callback called with the error, if any, and SoftTakedownReplResponse
34737
+ * Encodes the specified MargarineBlock message. Does not implicitly {@link replit.goval.api.lore.MargarineBlock.verify|verify} messages.
34738
+ * @param message MargarineBlock message or plain object to encode
34739
+ * @param [writer] Writer to encode to
34740
+ * @returns Writer
34705
34741
  */
34706
- public softTakedownRepl(request: replit.goval.api.lore.SoftTakedownReplRequest, callback: replit.goval.api.lore.Lore.SoftTakedownReplCallback): void;
34742
+ public static encode(message: replit.goval.api.lore.MargarineBlock, writer?: $protobuf.Writer): $protobuf.Writer;
34707
34743
 
34708
34744
  /**
34709
- * Calls SoftTakedownRepl.
34710
- * @param request SoftTakedownReplRequest message or plain object
34711
- * @returns Promise
34745
+ * Encodes the specified MargarineBlock message, length delimited. Does not implicitly {@link replit.goval.api.lore.MargarineBlock.verify|verify} messages.
34746
+ * @param message MargarineBlock message or plain object to encode
34747
+ * @param [writer] Writer to encode to
34748
+ * @returns Writer
34712
34749
  */
34713
- public softTakedownRepl(request: replit.goval.api.lore.SoftTakedownReplRequest): Promise<replit.goval.api.lore.SoftTakedownReplResponse>;
34750
+ public static encodeDelimited(message: replit.goval.api.lore.MargarineBlock, writer?: $protobuf.Writer): $protobuf.Writer;
34714
34751
 
34715
34752
  /**
34716
- * Calls RestoreRepl.
34717
- * @param request RestoreReplRequest message or plain object
34718
- * @param callback Node-style callback called with the error, if any, and RestoreReplResponse
34753
+ * Decodes a MargarineBlock message from the specified reader or buffer.
34754
+ * @param reader Reader or buffer to decode from
34755
+ * @param [length] Message length if known beforehand
34756
+ * @returns MargarineBlock
34757
+ * @throws {Error} If the payload is not a reader or valid buffer
34758
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34719
34759
  */
34720
- public restoreRepl(request: replit.goval.api.lore.RestoreReplRequest, callback: replit.goval.api.lore.Lore.RestoreReplCallback): void;
34760
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.MargarineBlock;
34721
34761
 
34722
34762
  /**
34723
- * Calls RestoreRepl.
34724
- * @param request RestoreReplRequest message or plain object
34725
- * @returns Promise
34763
+ * Decodes a MargarineBlock message from the specified reader or buffer, length delimited.
34764
+ * @param reader Reader or buffer to decode from
34765
+ * @returns MargarineBlock
34766
+ * @throws {Error} If the payload is not a reader or valid buffer
34767
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34726
34768
  */
34727
- public restoreRepl(request: replit.goval.api.lore.RestoreReplRequest): Promise<replit.goval.api.lore.RestoreReplResponse>;
34769
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.MargarineBlock;
34728
34770
 
34729
34771
  /**
34730
- * Calls BulkRemove.
34731
- * @param request BulkRemoveRequest message or plain object
34732
- * @param callback Node-style callback called with the error, if any, and BulkRemoveResponse
34772
+ * Verifies a MargarineBlock message.
34773
+ * @param message Plain object to verify
34774
+ * @returns `null` if valid, otherwise the reason why it is not
34733
34775
  */
34734
- public bulkRemove(request: replit.goval.api.lore.BulkRemoveRequest, callback: replit.goval.api.lore.Lore.BulkRemoveCallback): void;
34776
+ public static verify(message: { [k: string]: any }): (string|null);
34735
34777
 
34736
34778
  /**
34737
- * Calls BulkRemove.
34738
- * @param request BulkRemoveRequest message or plain object
34739
- * @returns Promise
34779
+ * Creates a MargarineBlock message from a plain object. Also converts values to their respective internal types.
34780
+ * @param object Plain object
34781
+ * @returns MargarineBlock
34740
34782
  */
34741
- public bulkRemove(request: replit.goval.api.lore.BulkRemoveRequest): Promise<replit.goval.api.lore.BulkRemoveResponse>;
34783
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.MargarineBlock;
34742
34784
 
34743
34785
  /**
34744
- * Calls GetClusters.
34745
- * @param request GetClustersRequest message or plain object
34746
- * @param callback Node-style callback called with the error, if any, and GetClustersResponse
34786
+ * Creates a plain object from a MargarineBlock message. Also converts values to other types if specified.
34787
+ * @param message MargarineBlock
34788
+ * @param [options] Conversion options
34789
+ * @returns Plain object
34747
34790
  */
34748
- public getClusters(request: replit.goval.api.lore.GetClustersRequest, callback: replit.goval.api.lore.Lore.GetClustersCallback): void;
34791
+ public static toObject(message: replit.goval.api.lore.MargarineBlock, options?: $protobuf.IConversionOptions): { [k: string]: any };
34749
34792
 
34750
34793
  /**
34751
- * Calls GetClusters.
34752
- * @param request GetClustersRequest message or plain object
34753
- * @returns Promise
34794
+ * Converts this MargarineBlock to JSON.
34795
+ * @returns JSON object
34754
34796
  */
34755
- public getClusters(request: replit.goval.api.lore.GetClustersRequest): Promise<replit.goval.api.lore.GetClustersResponse>;
34797
+ public toJSON(): { [k: string]: any };
34756
34798
 
34757
34799
  /**
34758
- * Calls PushDomain.
34759
- * @param request PushDomainRequest message or plain object
34760
- * @param callback Node-style callback called with the error, if any, and PushDomainResponse
34800
+ * Gets the default type url for MargarineBlock
34801
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34802
+ * @returns The default type url
34761
34803
  */
34762
- public pushDomain(request: replit.goval.api.lore.PushDomainRequest, callback: replit.goval.api.lore.Lore.PushDomainCallback): void;
34804
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34805
+ }
34806
+
34807
+ /** Properties of a MargarineExport. */
34808
+ interface IMargarineExport {
34809
+
34810
+ /** MargarineExport blocks */
34811
+ blocks?: ((replit.goval.api.lore.MargarineBlock|replit.goval.api.lore.IMargarineBlock)[]|null);
34812
+ }
34813
+
34814
+ /** Represents a MargarineExport. */
34815
+ class MargarineExport {
34763
34816
 
34764
34817
  /**
34765
- * Calls PushDomain.
34766
- * @param request PushDomainRequest message or plain object
34767
- * @returns Promise
34818
+ * Constructs a new MargarineExport.
34819
+ * @param [properties] Properties to set
34768
34820
  */
34769
- public pushDomain(request: replit.goval.api.lore.PushDomainRequest): Promise<replit.goval.api.lore.PushDomainResponse>;
34821
+ private constructor(properties?: replit.goval.api.lore.IMargarineExport);
34822
+
34823
+ /** MargarineExport blocks. */
34824
+ public blocks: replit.goval.api.lore.MargarineBlock[];
34770
34825
 
34771
34826
  /**
34772
- * Calls UnlinkDomain.
34773
- * @param request UnlinkDomainRequest message or plain object
34774
- * @param callback Node-style callback called with the error, if any, and UnlinkDomainResponse
34827
+ * Creates a new MargarineExport instance using the specified properties.
34828
+ * @param [properties] Properties to set
34829
+ * @returns MargarineExport instance
34775
34830
  */
34776
- public unlinkDomain(request: replit.goval.api.lore.UnlinkDomainRequest, callback: replit.goval.api.lore.Lore.UnlinkDomainCallback): void;
34831
+ public static create(properties?: replit.goval.api.lore.IMargarineExport): replit.goval.api.lore.MargarineExport;
34777
34832
 
34778
34833
  /**
34779
- * Calls UnlinkDomain.
34780
- * @param request UnlinkDomainRequest message or plain object
34781
- * @returns Promise
34834
+ * Encodes the specified MargarineExport message. Does not implicitly {@link replit.goval.api.lore.MargarineExport.verify|verify} messages.
34835
+ * @param message MargarineExport message or plain object to encode
34836
+ * @param [writer] Writer to encode to
34837
+ * @returns Writer
34782
34838
  */
34783
- public unlinkDomain(request: replit.goval.api.lore.UnlinkDomainRequest): Promise<replit.goval.api.lore.UnlinkDomainResponse>;
34839
+ public static encode(message: replit.goval.api.lore.MargarineExport, writer?: $protobuf.Writer): $protobuf.Writer;
34784
34840
 
34785
34841
  /**
34786
- * Calls TransferReplFromOfflineCluster.
34787
- * @param request TransferReplFromOfflineClusterRequest message or plain object
34788
- * @param callback Node-style callback called with the error, if any, and TransferReplFromOfflineClusterResponse
34842
+ * Encodes the specified MargarineExport message, length delimited. Does not implicitly {@link replit.goval.api.lore.MargarineExport.verify|verify} messages.
34843
+ * @param message MargarineExport message or plain object to encode
34844
+ * @param [writer] Writer to encode to
34845
+ * @returns Writer
34789
34846
  */
34790
- public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest, callback: replit.goval.api.lore.Lore.TransferReplFromOfflineClusterCallback): void;
34847
+ public static encodeDelimited(message: replit.goval.api.lore.MargarineExport, writer?: $protobuf.Writer): $protobuf.Writer;
34791
34848
 
34792
34849
  /**
34793
- * Calls TransferReplFromOfflineCluster.
34794
- * @param request TransferReplFromOfflineClusterRequest message or plain object
34795
- * @returns Promise
34850
+ * Decodes a MargarineExport message from the specified reader or buffer.
34851
+ * @param reader Reader or buffer to decode from
34852
+ * @param [length] Message length if known beforehand
34853
+ * @returns MargarineExport
34854
+ * @throws {Error} If the payload is not a reader or valid buffer
34855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34796
34856
  */
34797
- public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest): Promise<replit.goval.api.lore.TransferReplFromOfflineClusterResponse>;
34798
- }
34799
-
34800
- namespace Lore {
34857
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.MargarineExport;
34801
34858
 
34802
34859
  /**
34803
- * Callback as used by {@link replit.goval.api.lore.Lore#createRepl}.
34804
- * @param error Error, if any
34805
- * @param [response] CreateReplResponse
34860
+ * Decodes a MargarineExport message from the specified reader or buffer, length delimited.
34861
+ * @param reader Reader or buffer to decode from
34862
+ * @returns MargarineExport
34863
+ * @throws {Error} If the payload is not a reader or valid buffer
34864
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34806
34865
  */
34807
- type CreateReplCallback = (error: (Error|null), response?: replit.goval.api.lore.CreateReplResponse) => void;
34866
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.MargarineExport;
34808
34867
 
34809
34868
  /**
34810
- * Callback as used by {@link replit.goval.api.lore.Lore#getRepl}.
34811
- * @param error Error, if any
34812
- * @param [response] GetReplResponse
34869
+ * Verifies a MargarineExport message.
34870
+ * @param message Plain object to verify
34871
+ * @returns `null` if valid, otherwise the reason why it is not
34813
34872
  */
34814
- type GetReplCallback = (error: (Error|null), response?: replit.goval.api.lore.GetReplResponse) => void;
34873
+ public static verify(message: { [k: string]: any }): (string|null);
34815
34874
 
34816
34875
  /**
34817
- * Callback as used by {@link replit.goval.api.lore.Lore#getReplConnectionInfo}.
34818
- * @param error Error, if any
34819
- * @param [response] GetReplConnectionInfoResponse
34876
+ * Creates a MargarineExport message from a plain object. Also converts values to their respective internal types.
34877
+ * @param object Plain object
34878
+ * @returns MargarineExport
34820
34879
  */
34821
- type GetReplConnectionInfoCallback = (error: (Error|null), response?: replit.goval.api.lore.GetReplConnectionInfoResponse) => void;
34880
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.MargarineExport;
34822
34881
 
34823
34882
  /**
34824
- * Callback as used by {@link replit.goval.api.lore.Lore#getTransferStatus}.
34825
- * @param error Error, if any
34826
- * @param [response] GetTransferStatusResponse
34883
+ * Creates a plain object from a MargarineExport message. Also converts values to other types if specified.
34884
+ * @param message MargarineExport
34885
+ * @param [options] Conversion options
34886
+ * @returns Plain object
34827
34887
  */
34828
- type GetTransferStatusCallback = (error: (Error|null), response?: replit.goval.api.lore.GetTransferStatusResponse) => void;
34888
+ public static toObject(message: replit.goval.api.lore.MargarineExport, options?: $protobuf.IConversionOptions): { [k: string]: any };
34829
34889
 
34830
34890
  /**
34831
- * Callback as used by {@link replit.goval.api.lore.Lore#transferRepls}.
34832
- * @param error Error, if any
34833
- * @param [response] TransferReplsResponse
34891
+ * Converts this MargarineExport to JSON.
34892
+ * @returns JSON object
34834
34893
  */
34835
- type TransferReplsCallback = (error: (Error|null), response?: replit.goval.api.lore.TransferReplsResponse) => void;
34894
+ public toJSON(): { [k: string]: any };
34836
34895
 
34837
34896
  /**
34838
- * Callback as used by {@link replit.goval.api.lore.Lore#transferUser}.
34839
- * @param error Error, if any
34897
+ * Gets the default type url for MargarineExport
34898
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34899
+ * @returns The default type url
34900
+ */
34901
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34902
+ }
34903
+
34904
+ /** Properties of a ReplFile. */
34905
+ interface IReplFile {
34906
+
34907
+ /** ReplFile path */
34908
+ path?: (string|null);
34909
+
34910
+ /** ReplFile signedUrl */
34911
+ signedUrl?: (string|null);
34912
+ }
34913
+
34914
+ /** Represents a ReplFile. */
34915
+ class ReplFile {
34916
+
34917
+ /**
34918
+ * Constructs a new ReplFile.
34919
+ * @param [properties] Properties to set
34920
+ */
34921
+ private constructor(properties?: replit.goval.api.lore.IReplFile);
34922
+
34923
+ /** ReplFile path. */
34924
+ public path: string;
34925
+
34926
+ /** ReplFile signedUrl. */
34927
+ public signedUrl: string;
34928
+
34929
+ /**
34930
+ * Creates a new ReplFile instance using the specified properties.
34931
+ * @param [properties] Properties to set
34932
+ * @returns ReplFile instance
34933
+ */
34934
+ public static create(properties?: replit.goval.api.lore.IReplFile): replit.goval.api.lore.ReplFile;
34935
+
34936
+ /**
34937
+ * Encodes the specified ReplFile message. Does not implicitly {@link replit.goval.api.lore.ReplFile.verify|verify} messages.
34938
+ * @param message ReplFile message or plain object to encode
34939
+ * @param [writer] Writer to encode to
34940
+ * @returns Writer
34941
+ */
34942
+ public static encode(message: replit.goval.api.lore.ReplFile, writer?: $protobuf.Writer): $protobuf.Writer;
34943
+
34944
+ /**
34945
+ * Encodes the specified ReplFile message, length delimited. Does not implicitly {@link replit.goval.api.lore.ReplFile.verify|verify} messages.
34946
+ * @param message ReplFile message or plain object to encode
34947
+ * @param [writer] Writer to encode to
34948
+ * @returns Writer
34949
+ */
34950
+ public static encodeDelimited(message: replit.goval.api.lore.ReplFile, writer?: $protobuf.Writer): $protobuf.Writer;
34951
+
34952
+ /**
34953
+ * Decodes a ReplFile message from the specified reader or buffer.
34954
+ * @param reader Reader or buffer to decode from
34955
+ * @param [length] Message length if known beforehand
34956
+ * @returns ReplFile
34957
+ * @throws {Error} If the payload is not a reader or valid buffer
34958
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34959
+ */
34960
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ReplFile;
34961
+
34962
+ /**
34963
+ * Decodes a ReplFile message from the specified reader or buffer, length delimited.
34964
+ * @param reader Reader or buffer to decode from
34965
+ * @returns ReplFile
34966
+ * @throws {Error} If the payload is not a reader or valid buffer
34967
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34968
+ */
34969
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ReplFile;
34970
+
34971
+ /**
34972
+ * Verifies a ReplFile message.
34973
+ * @param message Plain object to verify
34974
+ * @returns `null` if valid, otherwise the reason why it is not
34975
+ */
34976
+ public static verify(message: { [k: string]: any }): (string|null);
34977
+
34978
+ /**
34979
+ * Creates a ReplFile message from a plain object. Also converts values to their respective internal types.
34980
+ * @param object Plain object
34981
+ * @returns ReplFile
34982
+ */
34983
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ReplFile;
34984
+
34985
+ /**
34986
+ * Creates a plain object from a ReplFile message. Also converts values to other types if specified.
34987
+ * @param message ReplFile
34988
+ * @param [options] Conversion options
34989
+ * @returns Plain object
34990
+ */
34991
+ public static toObject(message: replit.goval.api.lore.ReplFile, options?: $protobuf.IConversionOptions): { [k: string]: any };
34992
+
34993
+ /**
34994
+ * Converts this ReplFile to JSON.
34995
+ * @returns JSON object
34996
+ */
34997
+ public toJSON(): { [k: string]: any };
34998
+
34999
+ /**
35000
+ * Gets the default type url for ReplFile
35001
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35002
+ * @returns The default type url
35003
+ */
35004
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35005
+ }
35006
+
35007
+ /** Properties of a ReplExport. */
35008
+ interface IReplExport {
35009
+
35010
+ /** ReplExport files */
35011
+ files?: ((replit.goval.api.lore.ReplFile|replit.goval.api.lore.IReplFile)[]|null);
35012
+
35013
+ /** ReplExport margarineExport */
35014
+ margarineExport?: (replit.goval.api.lore.MargarineExport|replit.goval.api.lore.IMargarineExport|null);
35015
+ }
35016
+
35017
+ /** Represents a ReplExport. */
35018
+ class ReplExport {
35019
+
35020
+ /**
35021
+ * Constructs a new ReplExport.
35022
+ * @param [properties] Properties to set
35023
+ */
35024
+ private constructor(properties?: replit.goval.api.lore.IReplExport);
35025
+
35026
+ /** ReplExport files. */
35027
+ public files: replit.goval.api.lore.ReplFile[];
35028
+
35029
+ /** ReplExport margarineExport. */
35030
+ public margarineExport?: (replit.goval.api.lore.MargarineExport|null);
35031
+
35032
+ /**
35033
+ * Creates a new ReplExport instance using the specified properties.
35034
+ * @param [properties] Properties to set
35035
+ * @returns ReplExport instance
35036
+ */
35037
+ public static create(properties?: replit.goval.api.lore.IReplExport): replit.goval.api.lore.ReplExport;
35038
+
35039
+ /**
35040
+ * Encodes the specified ReplExport message. Does not implicitly {@link replit.goval.api.lore.ReplExport.verify|verify} messages.
35041
+ * @param message ReplExport message or plain object to encode
35042
+ * @param [writer] Writer to encode to
35043
+ * @returns Writer
35044
+ */
35045
+ public static encode(message: replit.goval.api.lore.ReplExport, writer?: $protobuf.Writer): $protobuf.Writer;
35046
+
35047
+ /**
35048
+ * Encodes the specified ReplExport message, length delimited. Does not implicitly {@link replit.goval.api.lore.ReplExport.verify|verify} messages.
35049
+ * @param message ReplExport message or plain object to encode
35050
+ * @param [writer] Writer to encode to
35051
+ * @returns Writer
35052
+ */
35053
+ public static encodeDelimited(message: replit.goval.api.lore.ReplExport, writer?: $protobuf.Writer): $protobuf.Writer;
35054
+
35055
+ /**
35056
+ * Decodes a ReplExport message from the specified reader or buffer.
35057
+ * @param reader Reader or buffer to decode from
35058
+ * @param [length] Message length if known beforehand
35059
+ * @returns ReplExport
35060
+ * @throws {Error} If the payload is not a reader or valid buffer
35061
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35062
+ */
35063
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ReplExport;
35064
+
35065
+ /**
35066
+ * Decodes a ReplExport message from the specified reader or buffer, length delimited.
35067
+ * @param reader Reader or buffer to decode from
35068
+ * @returns ReplExport
35069
+ * @throws {Error} If the payload is not a reader or valid buffer
35070
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35071
+ */
35072
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ReplExport;
35073
+
35074
+ /**
35075
+ * Verifies a ReplExport message.
35076
+ * @param message Plain object to verify
35077
+ * @returns `null` if valid, otherwise the reason why it is not
35078
+ */
35079
+ public static verify(message: { [k: string]: any }): (string|null);
35080
+
35081
+ /**
35082
+ * Creates a ReplExport message from a plain object. Also converts values to their respective internal types.
35083
+ * @param object Plain object
35084
+ * @returns ReplExport
35085
+ */
35086
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ReplExport;
35087
+
35088
+ /**
35089
+ * Creates a plain object from a ReplExport message. Also converts values to other types if specified.
35090
+ * @param message ReplExport
35091
+ * @param [options] Conversion options
35092
+ * @returns Plain object
35093
+ */
35094
+ public static toObject(message: replit.goval.api.lore.ReplExport, options?: $protobuf.IConversionOptions): { [k: string]: any };
35095
+
35096
+ /**
35097
+ * Converts this ReplExport to JSON.
35098
+ * @returns JSON object
35099
+ */
35100
+ public toJSON(): { [k: string]: any };
35101
+
35102
+ /**
35103
+ * Gets the default type url for ReplExport
35104
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35105
+ * @returns The default type url
35106
+ */
35107
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35108
+ }
35109
+
35110
+ /** Properties of an ExportReplResponse. */
35111
+ interface IExportReplResponse {
35112
+
35113
+ /** ExportReplResponse export */
35114
+ "export"?: (replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null);
35115
+ }
35116
+
35117
+ /** Represents an ExportReplResponse. */
35118
+ class ExportReplResponse {
35119
+
35120
+ /**
35121
+ * Constructs a new ExportReplResponse.
35122
+ * @param [properties] Properties to set
35123
+ */
35124
+ private constructor(properties?: replit.goval.api.lore.IExportReplResponse);
35125
+
35126
+ /** ExportReplResponse export. */
35127
+ public export?: (replit.goval.api.lore.ReplExport|null);
35128
+
35129
+ /**
35130
+ * Creates a new ExportReplResponse instance using the specified properties.
35131
+ * @param [properties] Properties to set
35132
+ * @returns ExportReplResponse instance
35133
+ */
35134
+ public static create(properties?: replit.goval.api.lore.IExportReplResponse): replit.goval.api.lore.ExportReplResponse;
35135
+
35136
+ /**
35137
+ * Encodes the specified ExportReplResponse message. Does not implicitly {@link replit.goval.api.lore.ExportReplResponse.verify|verify} messages.
35138
+ * @param message ExportReplResponse message or plain object to encode
35139
+ * @param [writer] Writer to encode to
35140
+ * @returns Writer
35141
+ */
35142
+ public static encode(message: replit.goval.api.lore.ExportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35143
+
35144
+ /**
35145
+ * Encodes the specified ExportReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.ExportReplResponse.verify|verify} messages.
35146
+ * @param message ExportReplResponse message or plain object to encode
35147
+ * @param [writer] Writer to encode to
35148
+ * @returns Writer
35149
+ */
35150
+ public static encodeDelimited(message: replit.goval.api.lore.ExportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35151
+
35152
+ /**
35153
+ * Decodes an ExportReplResponse message from the specified reader or buffer.
35154
+ * @param reader Reader or buffer to decode from
35155
+ * @param [length] Message length if known beforehand
35156
+ * @returns ExportReplResponse
35157
+ * @throws {Error} If the payload is not a reader or valid buffer
35158
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35159
+ */
35160
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ExportReplResponse;
35161
+
35162
+ /**
35163
+ * Decodes an ExportReplResponse message from the specified reader or buffer, length delimited.
35164
+ * @param reader Reader or buffer to decode from
35165
+ * @returns ExportReplResponse
35166
+ * @throws {Error} If the payload is not a reader or valid buffer
35167
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35168
+ */
35169
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ExportReplResponse;
35170
+
35171
+ /**
35172
+ * Verifies an ExportReplResponse message.
35173
+ * @param message Plain object to verify
35174
+ * @returns `null` if valid, otherwise the reason why it is not
35175
+ */
35176
+ public static verify(message: { [k: string]: any }): (string|null);
35177
+
35178
+ /**
35179
+ * Creates an ExportReplResponse message from a plain object. Also converts values to their respective internal types.
35180
+ * @param object Plain object
35181
+ * @returns ExportReplResponse
35182
+ */
35183
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ExportReplResponse;
35184
+
35185
+ /**
35186
+ * Creates a plain object from an ExportReplResponse message. Also converts values to other types if specified.
35187
+ * @param message ExportReplResponse
35188
+ * @param [options] Conversion options
35189
+ * @returns Plain object
35190
+ */
35191
+ public static toObject(message: replit.goval.api.lore.ExportReplResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
35192
+
35193
+ /**
35194
+ * Converts this ExportReplResponse to JSON.
35195
+ * @returns JSON object
35196
+ */
35197
+ public toJSON(): { [k: string]: any };
35198
+
35199
+ /**
35200
+ * Gets the default type url for ExportReplResponse
35201
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35202
+ * @returns The default type url
35203
+ */
35204
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35205
+ }
35206
+
35207
+ /** Properties of an ImportReplRequest. */
35208
+ interface IImportReplRequest {
35209
+
35210
+ /** ImportReplRequest replId */
35211
+ replId?: (string|null);
35212
+
35213
+ /** ImportReplRequest username */
35214
+ username?: (string|null);
35215
+
35216
+ /** ImportReplRequest slug */
35217
+ slug?: (string|null);
35218
+
35219
+ /** ImportReplRequest replLocation */
35220
+ replLocation?: (replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null);
35221
+
35222
+ /** ImportReplRequest export */
35223
+ "export"?: (replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null);
35224
+ }
35225
+
35226
+ /** Represents an ImportReplRequest. */
35227
+ class ImportReplRequest {
35228
+
35229
+ /**
35230
+ * Constructs a new ImportReplRequest.
35231
+ * @param [properties] Properties to set
35232
+ */
35233
+ private constructor(properties?: replit.goval.api.lore.IImportReplRequest);
35234
+
35235
+ /** ImportReplRequest replId. */
35236
+ public replId: string;
35237
+
35238
+ /** ImportReplRequest username. */
35239
+ public username: string;
35240
+
35241
+ /** ImportReplRequest slug. */
35242
+ public slug: string;
35243
+
35244
+ /** ImportReplRequest replLocation. */
35245
+ public replLocation?: (replit.goval.api.lore.ReplLocation|null);
35246
+
35247
+ /** ImportReplRequest export. */
35248
+ public export?: (replit.goval.api.lore.ReplExport|null);
35249
+
35250
+ /**
35251
+ * Creates a new ImportReplRequest instance using the specified properties.
35252
+ * @param [properties] Properties to set
35253
+ * @returns ImportReplRequest instance
35254
+ */
35255
+ public static create(properties?: replit.goval.api.lore.IImportReplRequest): replit.goval.api.lore.ImportReplRequest;
35256
+
35257
+ /**
35258
+ * Encodes the specified ImportReplRequest message. Does not implicitly {@link replit.goval.api.lore.ImportReplRequest.verify|verify} messages.
35259
+ * @param message ImportReplRequest message or plain object to encode
35260
+ * @param [writer] Writer to encode to
35261
+ * @returns Writer
35262
+ */
35263
+ public static encode(message: replit.goval.api.lore.ImportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
35264
+
35265
+ /**
35266
+ * Encodes the specified ImportReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.ImportReplRequest.verify|verify} messages.
35267
+ * @param message ImportReplRequest message or plain object to encode
35268
+ * @param [writer] Writer to encode to
35269
+ * @returns Writer
35270
+ */
35271
+ public static encodeDelimited(message: replit.goval.api.lore.ImportReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
35272
+
35273
+ /**
35274
+ * Decodes an ImportReplRequest message from the specified reader or buffer.
35275
+ * @param reader Reader or buffer to decode from
35276
+ * @param [length] Message length if known beforehand
35277
+ * @returns ImportReplRequest
35278
+ * @throws {Error} If the payload is not a reader or valid buffer
35279
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35280
+ */
35281
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ImportReplRequest;
35282
+
35283
+ /**
35284
+ * Decodes an ImportReplRequest message from the specified reader or buffer, length delimited.
35285
+ * @param reader Reader or buffer to decode from
35286
+ * @returns ImportReplRequest
35287
+ * @throws {Error} If the payload is not a reader or valid buffer
35288
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35289
+ */
35290
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ImportReplRequest;
35291
+
35292
+ /**
35293
+ * Verifies an ImportReplRequest message.
35294
+ * @param message Plain object to verify
35295
+ * @returns `null` if valid, otherwise the reason why it is not
35296
+ */
35297
+ public static verify(message: { [k: string]: any }): (string|null);
35298
+
35299
+ /**
35300
+ * Creates an ImportReplRequest message from a plain object. Also converts values to their respective internal types.
35301
+ * @param object Plain object
35302
+ * @returns ImportReplRequest
35303
+ */
35304
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ImportReplRequest;
35305
+
35306
+ /**
35307
+ * Creates a plain object from an ImportReplRequest message. Also converts values to other types if specified.
35308
+ * @param message ImportReplRequest
35309
+ * @param [options] Conversion options
35310
+ * @returns Plain object
35311
+ */
35312
+ public static toObject(message: replit.goval.api.lore.ImportReplRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
35313
+
35314
+ /**
35315
+ * Converts this ImportReplRequest to JSON.
35316
+ * @returns JSON object
35317
+ */
35318
+ public toJSON(): { [k: string]: any };
35319
+
35320
+ /**
35321
+ * Gets the default type url for ImportReplRequest
35322
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35323
+ * @returns The default type url
35324
+ */
35325
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35326
+ }
35327
+
35328
+ /** Properties of an ImportReplResponse. */
35329
+ interface IImportReplResponse {
35330
+
35331
+ /** ImportReplResponse repl */
35332
+ repl?: (replit.goval.api.lore.Repl|replit.goval.api.lore.IRepl|null);
35333
+
35334
+ /** ImportReplResponse cluster */
35335
+ cluster?: (replit.goval.api.lore.Cluster|replit.goval.api.lore.ICluster|null);
35336
+
35337
+ /** ImportReplResponse buckets */
35338
+ buckets?: (replit.goval.api.lore.Buckets|replit.goval.api.lore.IBuckets|null);
35339
+ }
35340
+
35341
+ /** Represents an ImportReplResponse. */
35342
+ class ImportReplResponse {
35343
+
35344
+ /**
35345
+ * Constructs a new ImportReplResponse.
35346
+ * @param [properties] Properties to set
35347
+ */
35348
+ private constructor(properties?: replit.goval.api.lore.IImportReplResponse);
35349
+
35350
+ /** ImportReplResponse repl. */
35351
+ public repl?: (replit.goval.api.lore.Repl|null);
35352
+
35353
+ /** ImportReplResponse cluster. */
35354
+ public cluster?: (replit.goval.api.lore.Cluster|null);
35355
+
35356
+ /** ImportReplResponse buckets. */
35357
+ public buckets?: (replit.goval.api.lore.Buckets|null);
35358
+
35359
+ /**
35360
+ * Creates a new ImportReplResponse instance using the specified properties.
35361
+ * @param [properties] Properties to set
35362
+ * @returns ImportReplResponse instance
35363
+ */
35364
+ public static create(properties?: replit.goval.api.lore.IImportReplResponse): replit.goval.api.lore.ImportReplResponse;
35365
+
35366
+ /**
35367
+ * Encodes the specified ImportReplResponse message. Does not implicitly {@link replit.goval.api.lore.ImportReplResponse.verify|verify} messages.
35368
+ * @param message ImportReplResponse message or plain object to encode
35369
+ * @param [writer] Writer to encode to
35370
+ * @returns Writer
35371
+ */
35372
+ public static encode(message: replit.goval.api.lore.ImportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35373
+
35374
+ /**
35375
+ * Encodes the specified ImportReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.ImportReplResponse.verify|verify} messages.
35376
+ * @param message ImportReplResponse message or plain object to encode
35377
+ * @param [writer] Writer to encode to
35378
+ * @returns Writer
35379
+ */
35380
+ public static encodeDelimited(message: replit.goval.api.lore.ImportReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
35381
+
35382
+ /**
35383
+ * Decodes an ImportReplResponse message from the specified reader or buffer.
35384
+ * @param reader Reader or buffer to decode from
35385
+ * @param [length] Message length if known beforehand
35386
+ * @returns ImportReplResponse
35387
+ * @throws {Error} If the payload is not a reader or valid buffer
35388
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35389
+ */
35390
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.ImportReplResponse;
35391
+
35392
+ /**
35393
+ * Decodes an ImportReplResponse message from the specified reader or buffer, length delimited.
35394
+ * @param reader Reader or buffer to decode from
35395
+ * @returns ImportReplResponse
35396
+ * @throws {Error} If the payload is not a reader or valid buffer
35397
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35398
+ */
35399
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.ImportReplResponse;
35400
+
35401
+ /**
35402
+ * Verifies an ImportReplResponse message.
35403
+ * @param message Plain object to verify
35404
+ * @returns `null` if valid, otherwise the reason why it is not
35405
+ */
35406
+ public static verify(message: { [k: string]: any }): (string|null);
35407
+
35408
+ /**
35409
+ * Creates an ImportReplResponse message from a plain object. Also converts values to their respective internal types.
35410
+ * @param object Plain object
35411
+ * @returns ImportReplResponse
35412
+ */
35413
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.ImportReplResponse;
35414
+
35415
+ /**
35416
+ * Creates a plain object from an ImportReplResponse message. Also converts values to other types if specified.
35417
+ * @param message ImportReplResponse
35418
+ * @param [options] Conversion options
35419
+ * @returns Plain object
35420
+ */
35421
+ public static toObject(message: replit.goval.api.lore.ImportReplResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
35422
+
35423
+ /**
35424
+ * Converts this ImportReplResponse to JSON.
35425
+ * @returns JSON object
35426
+ */
35427
+ public toJSON(): { [k: string]: any };
35428
+
35429
+ /**
35430
+ * Gets the default type url for ImportReplResponse
35431
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
35432
+ * @returns The default type url
35433
+ */
35434
+ public static getTypeUrl(typeUrlPrefix?: string): string;
35435
+ }
35436
+
35437
+ /** Represents a Lore */
35438
+ class Lore extends $protobuf.rpc.Service {
35439
+
35440
+ /**
35441
+ * Constructs a new Lore service.
35442
+ * @param rpcImpl RPC implementation
35443
+ * @param [requestDelimited=false] Whether requests are length-delimited
35444
+ * @param [responseDelimited=false] Whether responses are length-delimited
35445
+ */
35446
+ private constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
35447
+
35448
+ /**
35449
+ * Creates new Lore service using the specified rpc implementation.
35450
+ * @param rpcImpl RPC implementation
35451
+ * @param [requestDelimited=false] Whether requests are length-delimited
35452
+ * @param [responseDelimited=false] Whether responses are length-delimited
35453
+ * @returns RPC service. Useful where requests and/or responses are streamed.
35454
+ */
35455
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Lore;
35456
+
35457
+ /**
35458
+ * Calls CreateRepl.
35459
+ * @param request CreateReplRequest message or plain object
35460
+ * @param callback Node-style callback called with the error, if any, and CreateReplResponse
35461
+ */
35462
+ public createRepl(request: replit.goval.api.lore.CreateReplRequest, callback: replit.goval.api.lore.Lore.CreateReplCallback): void;
35463
+
35464
+ /**
35465
+ * Calls CreateRepl.
35466
+ * @param request CreateReplRequest message or plain object
35467
+ * @returns Promise
35468
+ */
35469
+ public createRepl(request: replit.goval.api.lore.CreateReplRequest): Promise<replit.goval.api.lore.CreateReplResponse>;
35470
+
35471
+ /**
35472
+ * Calls GetRepl.
35473
+ * @param request GetReplRequest message or plain object
35474
+ * @param callback Node-style callback called with the error, if any, and GetReplResponse
35475
+ */
35476
+ public getRepl(request: replit.goval.api.lore.GetReplRequest, callback: replit.goval.api.lore.Lore.GetReplCallback): void;
35477
+
35478
+ /**
35479
+ * Calls GetRepl.
35480
+ * @param request GetReplRequest message or plain object
35481
+ * @returns Promise
35482
+ */
35483
+ public getRepl(request: replit.goval.api.lore.GetReplRequest): Promise<replit.goval.api.lore.GetReplResponse>;
35484
+
35485
+ /**
35486
+ * Calls GetReplConnectionInfo.
35487
+ * @param request GetReplConnectionInfoRequest message or plain object
35488
+ * @param callback Node-style callback called with the error, if any, and GetReplConnectionInfoResponse
35489
+ */
35490
+ public getReplConnectionInfo(request: replit.goval.api.lore.GetReplConnectionInfoRequest, callback: replit.goval.api.lore.Lore.GetReplConnectionInfoCallback): void;
35491
+
35492
+ /**
35493
+ * Calls GetReplConnectionInfo.
35494
+ * @param request GetReplConnectionInfoRequest message or plain object
35495
+ * @returns Promise
35496
+ */
35497
+ public getReplConnectionInfo(request: replit.goval.api.lore.GetReplConnectionInfoRequest): Promise<replit.goval.api.lore.GetReplConnectionInfoResponse>;
35498
+
35499
+ /**
35500
+ * Calls GetTransferStatus.
35501
+ * @param request GetTransferStatusRequest message or plain object
35502
+ * @param callback Node-style callback called with the error, if any, and GetTransferStatusResponse
35503
+ */
35504
+ public getTransferStatus(request: replit.goval.api.lore.GetTransferStatusRequest, callback: replit.goval.api.lore.Lore.GetTransferStatusCallback): void;
35505
+
35506
+ /**
35507
+ * Calls GetTransferStatus.
35508
+ * @param request GetTransferStatusRequest message or plain object
35509
+ * @returns Promise
35510
+ */
35511
+ public getTransferStatus(request: replit.goval.api.lore.GetTransferStatusRequest): Promise<replit.goval.api.lore.GetTransferStatusResponse>;
35512
+
35513
+ /**
35514
+ * Calls TransferRepls.
35515
+ * @param request TransferReplsRequest message or plain object
35516
+ * @param callback Node-style callback called with the error, if any, and TransferReplsResponse
35517
+ */
35518
+ public transferRepls(request: replit.goval.api.lore.TransferReplsRequest, callback: replit.goval.api.lore.Lore.TransferReplsCallback): void;
35519
+
35520
+ /**
35521
+ * Calls TransferRepls.
35522
+ * @param request TransferReplsRequest message or plain object
35523
+ * @returns Promise
35524
+ */
35525
+ public transferRepls(request: replit.goval.api.lore.TransferReplsRequest): Promise<replit.goval.api.lore.TransferReplsResponse>;
35526
+
35527
+ /**
35528
+ * Calls TransferUser.
35529
+ * @param request TransferUserRequest message or plain object
35530
+ * @param callback Node-style callback called with the error, if any, and TransferUserResponse
35531
+ */
35532
+ public transferUser(request: replit.goval.api.lore.TransferUserRequest, callback: replit.goval.api.lore.Lore.TransferUserCallback): void;
35533
+
35534
+ /**
35535
+ * Calls TransferUser.
35536
+ * @param request TransferUserRequest message or plain object
35537
+ * @returns Promise
35538
+ */
35539
+ public transferUser(request: replit.goval.api.lore.TransferUserRequest): Promise<replit.goval.api.lore.TransferUserResponse>;
35540
+
35541
+ /**
35542
+ * Calls TakedownRepl.
35543
+ * @param request TakedownReplRequest message or plain object
35544
+ * @param callback Node-style callback called with the error, if any, and TakedownReplResponse
35545
+ */
35546
+ public takedownRepl(request: replit.goval.api.lore.TakedownReplRequest, callback: replit.goval.api.lore.Lore.TakedownReplCallback): void;
35547
+
35548
+ /**
35549
+ * Calls TakedownRepl.
35550
+ * @param request TakedownReplRequest message or plain object
35551
+ * @returns Promise
35552
+ */
35553
+ public takedownRepl(request: replit.goval.api.lore.TakedownReplRequest): Promise<replit.goval.api.lore.TakedownReplResponse>;
35554
+
35555
+ /**
35556
+ * Calls SoftTakedownRepl.
35557
+ * @param request SoftTakedownReplRequest message or plain object
35558
+ * @param callback Node-style callback called with the error, if any, and SoftTakedownReplResponse
35559
+ */
35560
+ public softTakedownRepl(request: replit.goval.api.lore.SoftTakedownReplRequest, callback: replit.goval.api.lore.Lore.SoftTakedownReplCallback): void;
35561
+
35562
+ /**
35563
+ * Calls SoftTakedownRepl.
35564
+ * @param request SoftTakedownReplRequest message or plain object
35565
+ * @returns Promise
35566
+ */
35567
+ public softTakedownRepl(request: replit.goval.api.lore.SoftTakedownReplRequest): Promise<replit.goval.api.lore.SoftTakedownReplResponse>;
35568
+
35569
+ /**
35570
+ * Calls RestoreRepl.
35571
+ * @param request RestoreReplRequest message or plain object
35572
+ * @param callback Node-style callback called with the error, if any, and RestoreReplResponse
35573
+ */
35574
+ public restoreRepl(request: replit.goval.api.lore.RestoreReplRequest, callback: replit.goval.api.lore.Lore.RestoreReplCallback): void;
35575
+
35576
+ /**
35577
+ * Calls RestoreRepl.
35578
+ * @param request RestoreReplRequest message or plain object
35579
+ * @returns Promise
35580
+ */
35581
+ public restoreRepl(request: replit.goval.api.lore.RestoreReplRequest): Promise<replit.goval.api.lore.RestoreReplResponse>;
35582
+
35583
+ /**
35584
+ * Calls BulkRemove.
35585
+ * @param request BulkRemoveRequest message or plain object
35586
+ * @param callback Node-style callback called with the error, if any, and BulkRemoveResponse
35587
+ */
35588
+ public bulkRemove(request: replit.goval.api.lore.BulkRemoveRequest, callback: replit.goval.api.lore.Lore.BulkRemoveCallback): void;
35589
+
35590
+ /**
35591
+ * Calls BulkRemove.
35592
+ * @param request BulkRemoveRequest message or plain object
35593
+ * @returns Promise
35594
+ */
35595
+ public bulkRemove(request: replit.goval.api.lore.BulkRemoveRequest): Promise<replit.goval.api.lore.BulkRemoveResponse>;
35596
+
35597
+ /**
35598
+ * Calls GetClusters.
35599
+ * @param request GetClustersRequest message or plain object
35600
+ * @param callback Node-style callback called with the error, if any, and GetClustersResponse
35601
+ */
35602
+ public getClusters(request: replit.goval.api.lore.GetClustersRequest, callback: replit.goval.api.lore.Lore.GetClustersCallback): void;
35603
+
35604
+ /**
35605
+ * Calls GetClusters.
35606
+ * @param request GetClustersRequest message or plain object
35607
+ * @returns Promise
35608
+ */
35609
+ public getClusters(request: replit.goval.api.lore.GetClustersRequest): Promise<replit.goval.api.lore.GetClustersResponse>;
35610
+
35611
+ /**
35612
+ * Calls PushDomain.
35613
+ * @param request PushDomainRequest message or plain object
35614
+ * @param callback Node-style callback called with the error, if any, and PushDomainResponse
35615
+ */
35616
+ public pushDomain(request: replit.goval.api.lore.PushDomainRequest, callback: replit.goval.api.lore.Lore.PushDomainCallback): void;
35617
+
35618
+ /**
35619
+ * Calls PushDomain.
35620
+ * @param request PushDomainRequest message or plain object
35621
+ * @returns Promise
35622
+ */
35623
+ public pushDomain(request: replit.goval.api.lore.PushDomainRequest): Promise<replit.goval.api.lore.PushDomainResponse>;
35624
+
35625
+ /**
35626
+ * Calls UnlinkDomain.
35627
+ * @param request UnlinkDomainRequest message or plain object
35628
+ * @param callback Node-style callback called with the error, if any, and UnlinkDomainResponse
35629
+ */
35630
+ public unlinkDomain(request: replit.goval.api.lore.UnlinkDomainRequest, callback: replit.goval.api.lore.Lore.UnlinkDomainCallback): void;
35631
+
35632
+ /**
35633
+ * Calls UnlinkDomain.
35634
+ * @param request UnlinkDomainRequest message or plain object
35635
+ * @returns Promise
35636
+ */
35637
+ public unlinkDomain(request: replit.goval.api.lore.UnlinkDomainRequest): Promise<replit.goval.api.lore.UnlinkDomainResponse>;
35638
+
35639
+ /**
35640
+ * Calls TransferReplFromOfflineCluster.
35641
+ * @param request TransferReplFromOfflineClusterRequest message or plain object
35642
+ * @param callback Node-style callback called with the error, if any, and TransferReplFromOfflineClusterResponse
35643
+ */
35644
+ public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest, callback: replit.goval.api.lore.Lore.TransferReplFromOfflineClusterCallback): void;
35645
+
35646
+ /**
35647
+ * Calls TransferReplFromOfflineCluster.
35648
+ * @param request TransferReplFromOfflineClusterRequest message or plain object
35649
+ * @returns Promise
35650
+ */
35651
+ public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest): Promise<replit.goval.api.lore.TransferReplFromOfflineClusterResponse>;
35652
+
35653
+ /**
35654
+ * Calls ExportRepl.
35655
+ * @param request ExportReplRequest message or plain object
35656
+ * @param callback Node-style callback called with the error, if any, and ExportReplResponse
35657
+ */
35658
+ public exportRepl(request: replit.goval.api.lore.ExportReplRequest, callback: replit.goval.api.lore.Lore.ExportReplCallback): void;
35659
+
35660
+ /**
35661
+ * Calls ExportRepl.
35662
+ * @param request ExportReplRequest message or plain object
35663
+ * @returns Promise
35664
+ */
35665
+ public exportRepl(request: replit.goval.api.lore.ExportReplRequest): Promise<replit.goval.api.lore.ExportReplResponse>;
35666
+
35667
+ /**
35668
+ * Calls ImportRepl.
35669
+ * @param request ImportReplRequest message or plain object
35670
+ * @param callback Node-style callback called with the error, if any, and ImportReplResponse
35671
+ */
35672
+ public importRepl(request: replit.goval.api.lore.ImportReplRequest, callback: replit.goval.api.lore.Lore.ImportReplCallback): void;
35673
+
35674
+ /**
35675
+ * Calls ImportRepl.
35676
+ * @param request ImportReplRequest message or plain object
35677
+ * @returns Promise
35678
+ */
35679
+ public importRepl(request: replit.goval.api.lore.ImportReplRequest): Promise<replit.goval.api.lore.ImportReplResponse>;
35680
+ }
35681
+
35682
+ namespace Lore {
35683
+
35684
+ /**
35685
+ * Callback as used by {@link replit.goval.api.lore.Lore#createRepl}.
35686
+ * @param error Error, if any
35687
+ * @param [response] CreateReplResponse
35688
+ */
35689
+ type CreateReplCallback = (error: (Error|null), response?: replit.goval.api.lore.CreateReplResponse) => void;
35690
+
35691
+ /**
35692
+ * Callback as used by {@link replit.goval.api.lore.Lore#getRepl}.
35693
+ * @param error Error, if any
35694
+ * @param [response] GetReplResponse
35695
+ */
35696
+ type GetReplCallback = (error: (Error|null), response?: replit.goval.api.lore.GetReplResponse) => void;
35697
+
35698
+ /**
35699
+ * Callback as used by {@link replit.goval.api.lore.Lore#getReplConnectionInfo}.
35700
+ * @param error Error, if any
35701
+ * @param [response] GetReplConnectionInfoResponse
35702
+ */
35703
+ type GetReplConnectionInfoCallback = (error: (Error|null), response?: replit.goval.api.lore.GetReplConnectionInfoResponse) => void;
35704
+
35705
+ /**
35706
+ * Callback as used by {@link replit.goval.api.lore.Lore#getTransferStatus}.
35707
+ * @param error Error, if any
35708
+ * @param [response] GetTransferStatusResponse
35709
+ */
35710
+ type GetTransferStatusCallback = (error: (Error|null), response?: replit.goval.api.lore.GetTransferStatusResponse) => void;
35711
+
35712
+ /**
35713
+ * Callback as used by {@link replit.goval.api.lore.Lore#transferRepls}.
35714
+ * @param error Error, if any
35715
+ * @param [response] TransferReplsResponse
35716
+ */
35717
+ type TransferReplsCallback = (error: (Error|null), response?: replit.goval.api.lore.TransferReplsResponse) => void;
35718
+
35719
+ /**
35720
+ * Callback as used by {@link replit.goval.api.lore.Lore#transferUser}.
35721
+ * @param error Error, if any
34840
35722
  * @param [response] TransferUserResponse
34841
35723
  */
34842
35724
  type TransferUserCallback = (error: (Error|null), response?: replit.goval.api.lore.TransferUserResponse) => void;
@@ -34896,6 +35778,20 @@ export namespace replit {
34896
35778
  * @param [response] TransferReplFromOfflineClusterResponse
34897
35779
  */
34898
35780
  type TransferReplFromOfflineClusterCallback = (error: (Error|null), response?: replit.goval.api.lore.TransferReplFromOfflineClusterResponse) => void;
35781
+
35782
+ /**
35783
+ * Callback as used by {@link replit.goval.api.lore.Lore#exportRepl}.
35784
+ * @param error Error, if any
35785
+ * @param [response] ExportReplResponse
35786
+ */
35787
+ type ExportReplCallback = (error: (Error|null), response?: replit.goval.api.lore.ExportReplResponse) => void;
35788
+
35789
+ /**
35790
+ * Callback as used by {@link replit.goval.api.lore.Lore#importRepl}.
35791
+ * @param error Error, if any
35792
+ * @param [response] ImportReplResponse
35793
+ */
35794
+ type ImportReplCallback = (error: (Error|null), response?: replit.goval.api.lore.ImportReplResponse) => void;
34899
35795
  }
34900
35796
  }
34901
35797