@replit/protocol 0.3.17 → 0.3.18

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.
@@ -31063,6 +31063,11 @@ declare type replit$goval$api$IReplToken = {|
31063
31063
  | replit$goval$api$repl$BuildInfo
31064
31064
  | replit$goval$api$repl$IBuildInfo
31065
31065
  | null,
31066
+
31067
+ /**
31068
+ * ReplToken pid2
31069
+ */
31070
+ pid2?: replit$goval$api$repl$Pid2 | replit$goval$api$repl$IPid2 | null,
31066
31071
  |};
31067
31072
 
31068
31073
  /**
@@ -31155,6 +31160,11 @@ declare class replit$goval$api$ReplToken {
31155
31160
  */
31156
31161
  buildInfo?: replit$goval$api$repl$BuildInfo | null;
31157
31162
 
31163
+ /**
31164
+ * ReplToken pid2.
31165
+ */
31166
+ pid2?: replit$goval$api$repl$Pid2 | null;
31167
+
31158
31168
  /**
31159
31169
  * ReplToken metadata.
31160
31170
  */
@@ -35416,6 +35426,7 @@ declare var npm$namespace$replit$goval$api$repl: {|
35416
35426
  IPermissions: Class<replit$goval$api$repl$IPermissions>,
35417
35427
  IMetadata: Class<replit$goval$api$repl$IMetadata>,
35418
35428
  IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
35429
+ IPid2: Class<replit$goval$api$repl$IPid2>,
35419
35430
  Buckets: typeof replit$goval$api$repl$Buckets,
35420
35431
  Repl: typeof replit$goval$api$repl$Repl,
35421
35432
  UserId: typeof replit$goval$api$repl$UserId,
@@ -35423,6 +35434,7 @@ declare var npm$namespace$replit$goval$api$repl: {|
35423
35434
  Permissions: typeof replit$goval$api$repl$Permissions,
35424
35435
  Metadata: typeof replit$goval$api$repl$Metadata,
35425
35436
  BuildInfo: typeof replit$goval$api$repl$BuildInfo,
35437
+ Pid2: typeof replit$goval$api$repl$Pid2,
35426
35438
  |};
35427
35439
 
35428
35440
  /**
@@ -36615,6 +36627,146 @@ declare class replit$goval$api$repl$BuildInfo {
36615
36627
  |};
36616
36628
  }
36617
36629
 
36630
+ /**
36631
+ * Properties of a Pid2.
36632
+ */
36633
+ declare type replit$goval$api$repl$IPid2 = {|
36634
+ /**
36635
+ * Pid2 bucket
36636
+ */
36637
+ bucket?: $Values<typeof replit$goval$api$repl$Pid2$Bucket> | null,
36638
+
36639
+ /**
36640
+ * Pid2 revision
36641
+ */
36642
+ revision?: string | null,
36643
+ |};
36644
+
36645
+ /**
36646
+ * Represents a Pid2.
36647
+ */
36648
+ declare class replit$goval$api$repl$Pid2 {
36649
+ /**
36650
+ * Constructs a new Pid2.
36651
+ * @param [properties] Properties to set
36652
+ */
36653
+ constructor(properties?: replit$goval$api$repl$IPid2): this;
36654
+
36655
+ /**
36656
+ * Pid2 bucket.
36657
+ */
36658
+ bucket: $Values<typeof replit$goval$api$repl$Pid2$Bucket>;
36659
+
36660
+ /**
36661
+ * Pid2 revision.
36662
+ */
36663
+ revision: string;
36664
+
36665
+ /**
36666
+ * Creates a new Pid2 instance using the specified properties.
36667
+ * @param [properties] Properties to set
36668
+ * @returns Pid2 instance
36669
+ */
36670
+ static create(
36671
+ properties?: replit$goval$api$repl$IPid2
36672
+ ): replit$goval$api$repl$Pid2;
36673
+
36674
+ /**
36675
+ * [object Object],[object Object],[object Object]
36676
+ * @param message Pid2 message or plain object to encode
36677
+ * @param [writer] Writer to encode to
36678
+ * @returns Writer
36679
+ */
36680
+ static encode(
36681
+ message: replit$goval$api$repl$Pid2,
36682
+ writer?: $protobuf.Writer
36683
+ ): $protobuf.Writer;
36684
+
36685
+ /**
36686
+ * [object Object],[object Object],[object Object]
36687
+ * @param message Pid2 message or plain object to encode
36688
+ * @param [writer] Writer to encode to
36689
+ * @returns Writer
36690
+ */
36691
+ static encodeDelimited(
36692
+ message: replit$goval$api$repl$Pid2,
36693
+ writer?: $protobuf.Writer
36694
+ ): $protobuf.Writer;
36695
+
36696
+ /**
36697
+ * Decodes a Pid2 message from the specified reader or buffer.
36698
+ * @param reader Reader or buffer to decode from
36699
+ * @param [length] Message length if known beforehand
36700
+ * @returns Pid2
36701
+ * @throws {Error} If the payload is not a reader or valid buffer
36702
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36703
+ */
36704
+ static decode(
36705
+ reader: $protobuf.Reader | Uint8Array,
36706
+ length?: number
36707
+ ): replit$goval$api$repl$Pid2;
36708
+
36709
+ /**
36710
+ * Decodes a Pid2 message from the specified reader or buffer, length delimited.
36711
+ * @param reader Reader or buffer to decode from
36712
+ * @returns Pid2
36713
+ * @throws {Error} If the payload is not a reader or valid buffer
36714
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
36715
+ */
36716
+ static decodeDelimited(
36717
+ reader: $protobuf.Reader | Uint8Array
36718
+ ): replit$goval$api$repl$Pid2;
36719
+
36720
+ /**
36721
+ * Verifies a Pid2 message.
36722
+ * @param message Plain object to verify
36723
+ * @returns `null` if valid, otherwise the reason why it is not
36724
+ */
36725
+ static verify(message: {|
36726
+ [k: string]: any,
36727
+ |}): string | null;
36728
+
36729
+ /**
36730
+ * Creates a Pid2 message from a plain object. Also converts values to their respective internal types.
36731
+ * @param object Plain object
36732
+ * @returns Pid2
36733
+ */
36734
+ static fromObject(object: {|
36735
+ [k: string]: any,
36736
+ |}): replit$goval$api$repl$Pid2;
36737
+
36738
+ /**
36739
+ * Creates a plain object from a Pid2 message. Also converts values to other types if specified.
36740
+ * @param message Pid2
36741
+ * @param [options] Conversion options
36742
+ * @returns Plain object
36743
+ */
36744
+ static toObject(
36745
+ message: replit$goval$api$repl$Pid2,
36746
+ options?: $protobuf.IConversionOptions
36747
+ ): {|
36748
+ [k: string]: any,
36749
+ |};
36750
+
36751
+ /**
36752
+ * Converts this Pid2 to JSON.
36753
+ * @returns JSON object
36754
+ */
36755
+ toJSON(): {|
36756
+ [k: string]: any,
36757
+ |};
36758
+ static Bucket: typeof replit$goval$api$repl$Pid2$Bucket;
36759
+ }
36760
+
36761
+ /**
36762
+ * Bucket enum.
36763
+ */
36764
+
36765
+ declare var replit$goval$api$repl$Pid2$Bucket: {|
36766
+ +PRODUCTION: 0, // 0
36767
+ +DEVELOPMENT: 1, // 1
36768
+ |};
36769
+
36618
36770
  /**
36619
36771
  * Properties of a PrivateReplsPowerup.
36620
36772
  */
@@ -37282,22 +37434,18 @@ declare class replit$goval$api$UserPowerUps {
37282
37434
  declare var npm$namespace$replit$goval$api$pid2: {|
37283
37435
  IClientFrame: Class<replit$goval$api$pid2$IClientFrame>,
37284
37436
  IServerFrame: Class<replit$goval$api$pid2$IServerFrame>,
37285
- IUnaryCallRequest: Class<replit$goval$api$pid2$IUnaryCallRequest>,
37286
- IStreamCallRequest: Class<replit$goval$api$pid2$IStreamCallRequest>,
37437
+ ICallRequest: Class<replit$goval$api$pid2$ICallRequest>,
37287
37438
  IStreamContinuationRequest: Class<replit$goval$api$pid2$IStreamContinuationRequest>,
37288
37439
  IStreamCancelRequest: Class<replit$goval$api$pid2$IStreamCancelRequest>,
37289
- IUnaryCallResponse: Class<replit$goval$api$pid2$IUnaryCallResponse>,
37290
- IStreamContinuationResponse: Class<replit$goval$api$pid2$IStreamContinuationResponse>,
37440
+ ICallResponse: Class<replit$goval$api$pid2$ICallResponse>,
37291
37441
  IError: Class<replit$goval$api$pid2$IError>,
37292
37442
  IPing: Class<replit$goval$api$pid2$IPing>,
37293
37443
  ClientFrame: typeof replit$goval$api$pid2$ClientFrame,
37294
37444
  ServerFrame: typeof replit$goval$api$pid2$ServerFrame,
37295
- UnaryCallRequest: typeof replit$goval$api$pid2$UnaryCallRequest,
37296
- StreamCallRequest: typeof replit$goval$api$pid2$StreamCallRequest,
37445
+ CallRequest: typeof replit$goval$api$pid2$CallRequest,
37297
37446
  StreamContinuationRequest: typeof replit$goval$api$pid2$StreamContinuationRequest,
37298
37447
  StreamCancelRequest: typeof replit$goval$api$pid2$StreamCancelRequest,
37299
- UnaryCallResponse: typeof replit$goval$api$pid2$UnaryCallResponse,
37300
- StreamContinuationResponse: typeof replit$goval$api$pid2$StreamContinuationResponse,
37448
+ CallResponse: typeof replit$goval$api$pid2$CallResponse,
37301
37449
  Error: typeof replit$goval$api$pid2$Error,
37302
37450
  Ping: typeof replit$goval$api$pid2$Ping,
37303
37451
  |};
@@ -37312,19 +37460,11 @@ declare type replit$goval$api$pid2$IClientFrame = {|
37312
37460
  sessionId?: number | null,
37313
37461
 
37314
37462
  /**
37315
- * ClientFrame unaryCall
37463
+ * ClientFrame call
37316
37464
  */
37317
- unaryCall?:
37318
- | replit$goval$api$pid2$UnaryCallRequest
37319
- | replit$goval$api$pid2$IUnaryCallRequest
37320
- | null,
37321
-
37322
- /**
37323
- * ClientFrame streamCall
37324
- */
37325
- streamCall?:
37326
- | replit$goval$api$pid2$StreamCallRequest
37327
- | replit$goval$api$pid2$IStreamCallRequest
37465
+ call?:
37466
+ | replit$goval$api$pid2$CallRequest
37467
+ | replit$goval$api$pid2$ICallRequest
37328
37468
  | null,
37329
37469
 
37330
37470
  /**
@@ -37365,14 +37505,9 @@ declare class replit$goval$api$pid2$ClientFrame {
37365
37505
  sessionId: number;
37366
37506
 
37367
37507
  /**
37368
- * ClientFrame unaryCall.
37369
- */
37370
- unaryCall?: replit$goval$api$pid2$UnaryCallRequest | null;
37371
-
37372
- /**
37373
- * ClientFrame streamCall.
37508
+ * ClientFrame call.
37374
37509
  */
37375
- streamCall?: replit$goval$api$pid2$StreamCallRequest | null;
37510
+ call?: replit$goval$api$pid2$CallRequest | null;
37376
37511
 
37377
37512
  /**
37378
37513
  * ClientFrame streamContinuation.
@@ -37392,12 +37527,7 @@ declare class replit$goval$api$pid2$ClientFrame {
37392
37527
  /**
37393
37528
  * ClientFrame body.
37394
37529
  */
37395
- body?:
37396
- | "unaryCall"
37397
- | "streamCall"
37398
- | "streamContinuation"
37399
- | "streamCancel"
37400
- | "ping";
37530
+ body?: "call" | "streamContinuation" | "streamCancel" | "ping";
37401
37531
 
37402
37532
  /**
37403
37533
  * Creates a new ClientFrame instance using the specified properties.
@@ -37504,19 +37634,11 @@ declare type replit$goval$api$pid2$IServerFrame = {|
37504
37634
  sessionId?: number | null,
37505
37635
 
37506
37636
  /**
37507
- * ServerFrame unaryCall
37637
+ * ServerFrame response
37508
37638
  */
37509
- unaryCall?:
37510
- | replit$goval$api$pid2$UnaryCallResponse
37511
- | replit$goval$api$pid2$IUnaryCallResponse
37512
- | null,
37513
-
37514
- /**
37515
- * ServerFrame streamContinuation
37516
- */
37517
- streamContinuation?:
37518
- | replit$goval$api$pid2$StreamContinuationResponse
37519
- | replit$goval$api$pid2$IStreamContinuationResponse
37639
+ response?:
37640
+ | replit$goval$api$pid2$CallResponse
37641
+ | replit$goval$api$pid2$ICallResponse
37520
37642
  | null,
37521
37643
 
37522
37644
  /**
@@ -37546,14 +37668,9 @@ declare class replit$goval$api$pid2$ServerFrame {
37546
37668
  sessionId: number;
37547
37669
 
37548
37670
  /**
37549
- * ServerFrame unaryCall.
37671
+ * ServerFrame response.
37550
37672
  */
37551
- unaryCall?: replit$goval$api$pid2$UnaryCallResponse | null;
37552
-
37553
- /**
37554
- * ServerFrame streamContinuation.
37555
- */
37556
- streamContinuation?: replit$goval$api$pid2$StreamContinuationResponse | null;
37673
+ response?: replit$goval$api$pid2$CallResponse | null;
37557
37674
 
37558
37675
  /**
37559
37676
  * ServerFrame goaway.
@@ -37568,7 +37685,7 @@ declare class replit$goval$api$pid2$ServerFrame {
37568
37685
  /**
37569
37686
  * ServerFrame body.
37570
37687
  */
37571
- body?: "unaryCall" | "streamContinuation" | "goaway" | "ping";
37688
+ body?: "response" | "goaway" | "ping";
37572
37689
 
37573
37690
  /**
37574
37691
  * Creates a new ServerFrame instance using the specified properties.
@@ -37666,267 +37783,132 @@ declare class replit$goval$api$pid2$ServerFrame {
37666
37783
  }
37667
37784
 
37668
37785
  /**
37669
- * Properties of an UnaryCallRequest.
37786
+ * Properties of a CallRequest.
37670
37787
  */
37671
- declare type replit$goval$api$pid2$IUnaryCallRequest = {|
37788
+ declare type replit$goval$api$pid2$ICallRequest = {|
37672
37789
  /**
37673
- * UnaryCallRequest streamId
37790
+ * CallRequest streamId
37674
37791
  */
37675
37792
  streamId?: number | null,
37676
37793
 
37677
37794
  /**
37678
- * UnaryCallRequest service
37795
+ * CallRequest service
37679
37796
  */
37680
37797
  service?: string | null,
37681
37798
 
37682
37799
  /**
37683
- * UnaryCallRequest method
37800
+ * CallRequest method
37684
37801
  */
37685
37802
  method?: string | null,
37686
37803
 
37687
37804
  /**
37688
- * UnaryCallRequest request
37805
+ * CallRequest unaryRequest
37689
37806
  */
37690
- request?: google$protobuf$Any | google$protobuf$IAny | null,
37807
+ unaryRequest?: google$protobuf$Any | google$protobuf$IAny | null,
37808
+
37809
+ /**
37810
+ * CallRequest streamHeader
37811
+ */
37812
+ streamHeader?: google$protobuf$Any | google$protobuf$IAny | null,
37691
37813
  |};
37692
37814
 
37693
37815
  /**
37694
- * Represents an UnaryCallRequest.
37816
+ * Represents a CallRequest.
37695
37817
  */
37696
- declare class replit$goval$api$pid2$UnaryCallRequest {
37818
+ declare class replit$goval$api$pid2$CallRequest {
37697
37819
  /**
37698
- * Constructs a new UnaryCallRequest.
37820
+ * Constructs a new CallRequest.
37699
37821
  * @param [properties] Properties to set
37700
37822
  */
37701
- constructor(properties?: replit$goval$api$pid2$IUnaryCallRequest): this;
37823
+ constructor(properties?: replit$goval$api$pid2$ICallRequest): this;
37702
37824
 
37703
37825
  /**
37704
- * UnaryCallRequest streamId.
37826
+ * CallRequest streamId.
37705
37827
  */
37706
37828
  streamId: number;
37707
37829
 
37708
37830
  /**
37709
- * UnaryCallRequest service.
37831
+ * CallRequest service.
37710
37832
  */
37711
37833
  service: string;
37712
37834
 
37713
37835
  /**
37714
- * UnaryCallRequest method.
37836
+ * CallRequest method.
37715
37837
  */
37716
37838
  method: string;
37717
37839
 
37718
37840
  /**
37719
- * UnaryCallRequest request.
37720
- */
37721
- request?: google$protobuf$Any | null;
37722
-
37723
- /**
37724
- * Creates a new UnaryCallRequest instance using the specified properties.
37725
- * @param [properties] Properties to set
37726
- * @returns UnaryCallRequest instance
37727
- */
37728
- static create(
37729
- properties?: replit$goval$api$pid2$IUnaryCallRequest
37730
- ): replit$goval$api$pid2$UnaryCallRequest;
37731
-
37732
- /**
37733
- * [object Object],[object Object],[object Object]
37734
- * @param message UnaryCallRequest message or plain object to encode
37735
- * @param [writer] Writer to encode to
37736
- * @returns Writer
37737
- */
37738
- static encode(
37739
- message: replit$goval$api$pid2$UnaryCallRequest,
37740
- writer?: $protobuf.Writer
37741
- ): $protobuf.Writer;
37742
-
37743
- /**
37744
- * [object Object],[object Object],[object Object]
37745
- * @param message UnaryCallRequest message or plain object to encode
37746
- * @param [writer] Writer to encode to
37747
- * @returns Writer
37748
- */
37749
- static encodeDelimited(
37750
- message: replit$goval$api$pid2$UnaryCallRequest,
37751
- writer?: $protobuf.Writer
37752
- ): $protobuf.Writer;
37753
-
37754
- /**
37755
- * Decodes an UnaryCallRequest message from the specified reader or buffer.
37756
- * @param reader Reader or buffer to decode from
37757
- * @param [length] Message length if known beforehand
37758
- * @returns UnaryCallRequest
37759
- * @throws {Error} If the payload is not a reader or valid buffer
37760
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
37761
- */
37762
- static decode(
37763
- reader: $protobuf.Reader | Uint8Array,
37764
- length?: number
37765
- ): replit$goval$api$pid2$UnaryCallRequest;
37766
-
37767
- /**
37768
- * Decodes an UnaryCallRequest message from the specified reader or buffer, length delimited.
37769
- * @param reader Reader or buffer to decode from
37770
- * @returns UnaryCallRequest
37771
- * @throws {Error} If the payload is not a reader or valid buffer
37772
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
37773
- */
37774
- static decodeDelimited(
37775
- reader: $protobuf.Reader | Uint8Array
37776
- ): replit$goval$api$pid2$UnaryCallRequest;
37777
-
37778
- /**
37779
- * Verifies an UnaryCallRequest message.
37780
- * @param message Plain object to verify
37781
- * @returns `null` if valid, otherwise the reason why it is not
37782
- */
37783
- static verify(message: {|
37784
- [k: string]: any,
37785
- |}): string | null;
37786
-
37787
- /**
37788
- * Creates an UnaryCallRequest message from a plain object. Also converts values to their respective internal types.
37789
- * @param object Plain object
37790
- * @returns UnaryCallRequest
37791
- */
37792
- static fromObject(object: {|
37793
- [k: string]: any,
37794
- |}): replit$goval$api$pid2$UnaryCallRequest;
37795
-
37796
- /**
37797
- * Creates a plain object from an UnaryCallRequest message. Also converts values to other types if specified.
37798
- * @param message UnaryCallRequest
37799
- * @param [options] Conversion options
37800
- * @returns Plain object
37801
- */
37802
- static toObject(
37803
- message: replit$goval$api$pid2$UnaryCallRequest,
37804
- options?: $protobuf.IConversionOptions
37805
- ): {|
37806
- [k: string]: any,
37807
- |};
37808
-
37809
- /**
37810
- * Converts this UnaryCallRequest to JSON.
37811
- * @returns JSON object
37812
- */
37813
- toJSON(): {|
37814
- [k: string]: any,
37815
- |};
37816
- }
37817
-
37818
- /**
37819
- * Properties of a StreamCallRequest.
37820
- */
37821
- declare type replit$goval$api$pid2$IStreamCallRequest = {|
37822
- /**
37823
- * StreamCallRequest streamId
37824
- */
37825
- streamId?: number | null,
37826
-
37827
- /**
37828
- * StreamCallRequest service
37829
- */
37830
- service?: string | null,
37831
-
37832
- /**
37833
- * StreamCallRequest method
37834
- */
37835
- method?: string | null,
37836
-
37837
- /**
37838
- * StreamCallRequest header
37839
- */
37840
- header?: google$protobuf$Any | google$protobuf$IAny | null,
37841
- |};
37842
-
37843
- /**
37844
- * Represents a StreamCallRequest.
37845
- */
37846
- declare class replit$goval$api$pid2$StreamCallRequest {
37847
- /**
37848
- * Constructs a new StreamCallRequest.
37849
- * @param [properties] Properties to set
37850
- */
37851
- constructor(properties?: replit$goval$api$pid2$IStreamCallRequest): this;
37852
-
37853
- /**
37854
- * StreamCallRequest streamId.
37841
+ * CallRequest unaryRequest.
37855
37842
  */
37856
- streamId: number;
37857
-
37858
- /**
37859
- * StreamCallRequest service.
37860
- */
37861
- service: string;
37843
+ unaryRequest?: google$protobuf$Any | null;
37862
37844
 
37863
37845
  /**
37864
- * StreamCallRequest method.
37846
+ * CallRequest streamHeader.
37865
37847
  */
37866
- method: string;
37848
+ streamHeader?: google$protobuf$Any | null;
37867
37849
 
37868
37850
  /**
37869
- * StreamCallRequest header.
37851
+ * CallRequest body.
37870
37852
  */
37871
- header?: google$protobuf$Any | null;
37853
+ body?: "unaryRequest" | "streamHeader";
37872
37854
 
37873
37855
  /**
37874
- * Creates a new StreamCallRequest instance using the specified properties.
37856
+ * Creates a new CallRequest instance using the specified properties.
37875
37857
  * @param [properties] Properties to set
37876
- * @returns StreamCallRequest instance
37858
+ * @returns CallRequest instance
37877
37859
  */
37878
37860
  static create(
37879
- properties?: replit$goval$api$pid2$IStreamCallRequest
37880
- ): replit$goval$api$pid2$StreamCallRequest;
37861
+ properties?: replit$goval$api$pid2$ICallRequest
37862
+ ): replit$goval$api$pid2$CallRequest;
37881
37863
 
37882
37864
  /**
37883
37865
  * [object Object],[object Object],[object Object]
37884
- * @param message StreamCallRequest message or plain object to encode
37866
+ * @param message CallRequest message or plain object to encode
37885
37867
  * @param [writer] Writer to encode to
37886
37868
  * @returns Writer
37887
37869
  */
37888
37870
  static encode(
37889
- message: replit$goval$api$pid2$StreamCallRequest,
37871
+ message: replit$goval$api$pid2$CallRequest,
37890
37872
  writer?: $protobuf.Writer
37891
37873
  ): $protobuf.Writer;
37892
37874
 
37893
37875
  /**
37894
37876
  * [object Object],[object Object],[object Object]
37895
- * @param message StreamCallRequest message or plain object to encode
37877
+ * @param message CallRequest message or plain object to encode
37896
37878
  * @param [writer] Writer to encode to
37897
37879
  * @returns Writer
37898
37880
  */
37899
37881
  static encodeDelimited(
37900
- message: replit$goval$api$pid2$StreamCallRequest,
37882
+ message: replit$goval$api$pid2$CallRequest,
37901
37883
  writer?: $protobuf.Writer
37902
37884
  ): $protobuf.Writer;
37903
37885
 
37904
37886
  /**
37905
- * Decodes a StreamCallRequest message from the specified reader or buffer.
37887
+ * Decodes a CallRequest message from the specified reader or buffer.
37906
37888
  * @param reader Reader or buffer to decode from
37907
37889
  * @param [length] Message length if known beforehand
37908
- * @returns StreamCallRequest
37890
+ * @returns CallRequest
37909
37891
  * @throws {Error} If the payload is not a reader or valid buffer
37910
37892
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37911
37893
  */
37912
37894
  static decode(
37913
37895
  reader: $protobuf.Reader | Uint8Array,
37914
37896
  length?: number
37915
- ): replit$goval$api$pid2$StreamCallRequest;
37897
+ ): replit$goval$api$pid2$CallRequest;
37916
37898
 
37917
37899
  /**
37918
- * Decodes a StreamCallRequest message from the specified reader or buffer, length delimited.
37900
+ * Decodes a CallRequest message from the specified reader or buffer, length delimited.
37919
37901
  * @param reader Reader or buffer to decode from
37920
- * @returns StreamCallRequest
37902
+ * @returns CallRequest
37921
37903
  * @throws {Error} If the payload is not a reader or valid buffer
37922
37904
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37923
37905
  */
37924
37906
  static decodeDelimited(
37925
37907
  reader: $protobuf.Reader | Uint8Array
37926
- ): replit$goval$api$pid2$StreamCallRequest;
37908
+ ): replit$goval$api$pid2$CallRequest;
37927
37909
 
37928
37910
  /**
37929
- * Verifies a StreamCallRequest message.
37911
+ * Verifies a CallRequest message.
37930
37912
  * @param message Plain object to verify
37931
37913
  * @returns `null` if valid, otherwise the reason why it is not
37932
37914
  */
@@ -37935,29 +37917,29 @@ declare class replit$goval$api$pid2$StreamCallRequest {
37935
37917
  |}): string | null;
37936
37918
 
37937
37919
  /**
37938
- * Creates a StreamCallRequest message from a plain object. Also converts values to their respective internal types.
37920
+ * Creates a CallRequest message from a plain object. Also converts values to their respective internal types.
37939
37921
  * @param object Plain object
37940
- * @returns StreamCallRequest
37922
+ * @returns CallRequest
37941
37923
  */
37942
37924
  static fromObject(object: {|
37943
37925
  [k: string]: any,
37944
- |}): replit$goval$api$pid2$StreamCallRequest;
37926
+ |}): replit$goval$api$pid2$CallRequest;
37945
37927
 
37946
37928
  /**
37947
- * Creates a plain object from a StreamCallRequest message. Also converts values to other types if specified.
37948
- * @param message StreamCallRequest
37929
+ * Creates a plain object from a CallRequest message. Also converts values to other types if specified.
37930
+ * @param message CallRequest
37949
37931
  * @param [options] Conversion options
37950
37932
  * @returns Plain object
37951
37933
  */
37952
37934
  static toObject(
37953
- message: replit$goval$api$pid2$StreamCallRequest,
37935
+ message: replit$goval$api$pid2$CallRequest,
37954
37936
  options?: $protobuf.IConversionOptions
37955
37937
  ): {|
37956
37938
  [k: string]: any,
37957
37939
  |};
37958
37940
 
37959
37941
  /**
37960
- * Converts this StreamCallRequest to JSON.
37942
+ * Converts this CallRequest to JSON.
37961
37943
  * @returns JSON object
37962
37944
  */
37963
37945
  toJSON(): {|
@@ -38228,269 +38210,122 @@ declare class replit$goval$api$pid2$StreamCancelRequest {
38228
38210
  }
38229
38211
 
38230
38212
  /**
38231
- * Properties of an UnaryCallResponse.
38232
- */
38233
- declare type replit$goval$api$pid2$IUnaryCallResponse = {|
38234
- /**
38235
- * UnaryCallResponse streamId
38236
- */
38237
- streamId?: number | null,
38238
-
38239
- /**
38240
- * UnaryCallResponse response
38241
- */
38242
- response?: google$protobuf$Any | google$protobuf$IAny | null,
38243
-
38244
- /**
38245
- * UnaryCallResponse error
38246
- */
38247
- error?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
38248
- |};
38249
-
38250
- /**
38251
- * Represents an UnaryCallResponse.
38252
- */
38253
- declare class replit$goval$api$pid2$UnaryCallResponse {
38254
- /**
38255
- * Constructs a new UnaryCallResponse.
38256
- * @param [properties] Properties to set
38257
- */
38258
- constructor(properties?: replit$goval$api$pid2$IUnaryCallResponse): this;
38259
-
38260
- /**
38261
- * UnaryCallResponse streamId.
38262
- */
38263
- streamId: number;
38264
-
38265
- /**
38266
- * UnaryCallResponse response.
38267
- */
38268
- response?: google$protobuf$Any | null;
38269
-
38270
- /**
38271
- * UnaryCallResponse error.
38272
- */
38273
- error?: replit$goval$api$pid2$Error | null;
38274
-
38275
- /**
38276
- * UnaryCallResponse body.
38277
- */
38278
- body?: "response" | "error";
38279
-
38280
- /**
38281
- * Creates a new UnaryCallResponse instance using the specified properties.
38282
- * @param [properties] Properties to set
38283
- * @returns UnaryCallResponse instance
38284
- */
38285
- static create(
38286
- properties?: replit$goval$api$pid2$IUnaryCallResponse
38287
- ): replit$goval$api$pid2$UnaryCallResponse;
38288
-
38289
- /**
38290
- * [object Object],[object Object],[object Object]
38291
- * @param message UnaryCallResponse message or plain object to encode
38292
- * @param [writer] Writer to encode to
38293
- * @returns Writer
38294
- */
38295
- static encode(
38296
- message: replit$goval$api$pid2$UnaryCallResponse,
38297
- writer?: $protobuf.Writer
38298
- ): $protobuf.Writer;
38299
-
38300
- /**
38301
- * [object Object],[object Object],[object Object]
38302
- * @param message UnaryCallResponse message or plain object to encode
38303
- * @param [writer] Writer to encode to
38304
- * @returns Writer
38305
- */
38306
- static encodeDelimited(
38307
- message: replit$goval$api$pid2$UnaryCallResponse,
38308
- writer?: $protobuf.Writer
38309
- ): $protobuf.Writer;
38310
-
38311
- /**
38312
- * Decodes an UnaryCallResponse message from the specified reader or buffer.
38313
- * @param reader Reader or buffer to decode from
38314
- * @param [length] Message length if known beforehand
38315
- * @returns UnaryCallResponse
38316
- * @throws {Error} If the payload is not a reader or valid buffer
38317
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
38318
- */
38319
- static decode(
38320
- reader: $protobuf.Reader | Uint8Array,
38321
- length?: number
38322
- ): replit$goval$api$pid2$UnaryCallResponse;
38323
-
38324
- /**
38325
- * Decodes an UnaryCallResponse message from the specified reader or buffer, length delimited.
38326
- * @param reader Reader or buffer to decode from
38327
- * @returns UnaryCallResponse
38328
- * @throws {Error} If the payload is not a reader or valid buffer
38329
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
38330
- */
38331
- static decodeDelimited(
38332
- reader: $protobuf.Reader | Uint8Array
38333
- ): replit$goval$api$pid2$UnaryCallResponse;
38334
-
38335
- /**
38336
- * Verifies an UnaryCallResponse message.
38337
- * @param message Plain object to verify
38338
- * @returns `null` if valid, otherwise the reason why it is not
38339
- */
38340
- static verify(message: {|
38341
- [k: string]: any,
38342
- |}): string | null;
38343
-
38344
- /**
38345
- * Creates an UnaryCallResponse message from a plain object. Also converts values to their respective internal types.
38346
- * @param object Plain object
38347
- * @returns UnaryCallResponse
38348
- */
38349
- static fromObject(object: {|
38350
- [k: string]: any,
38351
- |}): replit$goval$api$pid2$UnaryCallResponse;
38352
-
38353
- /**
38354
- * Creates a plain object from an UnaryCallResponse message. Also converts values to other types if specified.
38355
- * @param message UnaryCallResponse
38356
- * @param [options] Conversion options
38357
- * @returns Plain object
38358
- */
38359
- static toObject(
38360
- message: replit$goval$api$pid2$UnaryCallResponse,
38361
- options?: $protobuf.IConversionOptions
38362
- ): {|
38363
- [k: string]: any,
38364
- |};
38365
-
38366
- /**
38367
- * Converts this UnaryCallResponse to JSON.
38368
- * @returns JSON object
38369
- */
38370
- toJSON(): {|
38371
- [k: string]: any,
38372
- |};
38373
- }
38374
-
38375
- /**
38376
- * Properties of a StreamContinuationResponse.
38213
+ * Properties of a CallResponse.
38377
38214
  */
38378
- declare type replit$goval$api$pid2$IStreamContinuationResponse = {|
38215
+ declare type replit$goval$api$pid2$ICallResponse = {|
38379
38216
  /**
38380
- * StreamContinuationResponse streamId
38217
+ * CallResponse streamId
38381
38218
  */
38382
38219
  streamId?: number | null,
38383
38220
 
38384
38221
  /**
38385
- * StreamContinuationResponse streamEnd
38222
+ * CallResponse streamEnd
38386
38223
  */
38387
38224
  streamEnd?: boolean | null,
38388
38225
 
38389
38226
  /**
38390
- * StreamContinuationResponse response
38227
+ * CallResponse response
38391
38228
  */
38392
38229
  response?: google$protobuf$Any | google$protobuf$IAny | null,
38393
38230
 
38394
38231
  /**
38395
- * StreamContinuationResponse error
38232
+ * CallResponse error
38396
38233
  */
38397
38234
  error?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
38398
38235
  |};
38399
38236
 
38400
38237
  /**
38401
- * Represents a StreamContinuationResponse.
38238
+ * Represents a CallResponse.
38402
38239
  */
38403
- declare class replit$goval$api$pid2$StreamContinuationResponse {
38240
+ declare class replit$goval$api$pid2$CallResponse {
38404
38241
  /**
38405
- * Constructs a new StreamContinuationResponse.
38242
+ * Constructs a new CallResponse.
38406
38243
  * @param [properties] Properties to set
38407
38244
  */
38408
- constructor(
38409
- properties?: replit$goval$api$pid2$IStreamContinuationResponse
38410
- ): this;
38245
+ constructor(properties?: replit$goval$api$pid2$ICallResponse): this;
38411
38246
 
38412
38247
  /**
38413
- * StreamContinuationResponse streamId.
38248
+ * CallResponse streamId.
38414
38249
  */
38415
38250
  streamId: number;
38416
38251
 
38417
38252
  /**
38418
- * StreamContinuationResponse streamEnd.
38253
+ * CallResponse streamEnd.
38419
38254
  */
38420
38255
  streamEnd: boolean;
38421
38256
 
38422
38257
  /**
38423
- * StreamContinuationResponse response.
38258
+ * CallResponse response.
38424
38259
  */
38425
38260
  response?: google$protobuf$Any | null;
38426
38261
 
38427
38262
  /**
38428
- * StreamContinuationResponse error.
38263
+ * CallResponse error.
38429
38264
  */
38430
38265
  error?: replit$goval$api$pid2$Error | null;
38431
38266
 
38432
38267
  /**
38433
- * StreamContinuationResponse body.
38268
+ * CallResponse body.
38434
38269
  */
38435
38270
  body?: "response" | "error";
38436
38271
 
38437
38272
  /**
38438
- * Creates a new StreamContinuationResponse instance using the specified properties.
38273
+ * Creates a new CallResponse instance using the specified properties.
38439
38274
  * @param [properties] Properties to set
38440
- * @returns StreamContinuationResponse instance
38275
+ * @returns CallResponse instance
38441
38276
  */
38442
38277
  static create(
38443
- properties?: replit$goval$api$pid2$IStreamContinuationResponse
38444
- ): replit$goval$api$pid2$StreamContinuationResponse;
38278
+ properties?: replit$goval$api$pid2$ICallResponse
38279
+ ): replit$goval$api$pid2$CallResponse;
38445
38280
 
38446
38281
  /**
38447
38282
  * [object Object],[object Object],[object Object]
38448
- * @param message StreamContinuationResponse message or plain object to encode
38283
+ * @param message CallResponse message or plain object to encode
38449
38284
  * @param [writer] Writer to encode to
38450
38285
  * @returns Writer
38451
38286
  */
38452
38287
  static encode(
38453
- message: replit$goval$api$pid2$StreamContinuationResponse,
38288
+ message: replit$goval$api$pid2$CallResponse,
38454
38289
  writer?: $protobuf.Writer
38455
38290
  ): $protobuf.Writer;
38456
38291
 
38457
38292
  /**
38458
38293
  * [object Object],[object Object],[object Object]
38459
- * @param message StreamContinuationResponse message or plain object to encode
38294
+ * @param message CallResponse message or plain object to encode
38460
38295
  * @param [writer] Writer to encode to
38461
38296
  * @returns Writer
38462
38297
  */
38463
38298
  static encodeDelimited(
38464
- message: replit$goval$api$pid2$StreamContinuationResponse,
38299
+ message: replit$goval$api$pid2$CallResponse,
38465
38300
  writer?: $protobuf.Writer
38466
38301
  ): $protobuf.Writer;
38467
38302
 
38468
38303
  /**
38469
- * Decodes a StreamContinuationResponse message from the specified reader or buffer.
38304
+ * Decodes a CallResponse message from the specified reader or buffer.
38470
38305
  * @param reader Reader or buffer to decode from
38471
38306
  * @param [length] Message length if known beforehand
38472
- * @returns StreamContinuationResponse
38307
+ * @returns CallResponse
38473
38308
  * @throws {Error} If the payload is not a reader or valid buffer
38474
38309
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
38475
38310
  */
38476
38311
  static decode(
38477
38312
  reader: $protobuf.Reader | Uint8Array,
38478
38313
  length?: number
38479
- ): replit$goval$api$pid2$StreamContinuationResponse;
38314
+ ): replit$goval$api$pid2$CallResponse;
38480
38315
 
38481
38316
  /**
38482
- * Decodes a StreamContinuationResponse message from the specified reader or buffer, length delimited.
38317
+ * Decodes a CallResponse message from the specified reader or buffer, length delimited.
38483
38318
  * @param reader Reader or buffer to decode from
38484
- * @returns StreamContinuationResponse
38319
+ * @returns CallResponse
38485
38320
  * @throws {Error} If the payload is not a reader or valid buffer
38486
38321
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
38487
38322
  */
38488
38323
  static decodeDelimited(
38489
38324
  reader: $protobuf.Reader | Uint8Array
38490
- ): replit$goval$api$pid2$StreamContinuationResponse;
38325
+ ): replit$goval$api$pid2$CallResponse;
38491
38326
 
38492
38327
  /**
38493
- * Verifies a StreamContinuationResponse message.
38328
+ * Verifies a CallResponse message.
38494
38329
  * @param message Plain object to verify
38495
38330
  * @returns `null` if valid, otherwise the reason why it is not
38496
38331
  */
@@ -38499,29 +38334,29 @@ declare class replit$goval$api$pid2$StreamContinuationResponse {
38499
38334
  |}): string | null;
38500
38335
 
38501
38336
  /**
38502
- * Creates a StreamContinuationResponse message from a plain object. Also converts values to their respective internal types.
38337
+ * Creates a CallResponse message from a plain object. Also converts values to their respective internal types.
38503
38338
  * @param object Plain object
38504
- * @returns StreamContinuationResponse
38339
+ * @returns CallResponse
38505
38340
  */
38506
38341
  static fromObject(object: {|
38507
38342
  [k: string]: any,
38508
- |}): replit$goval$api$pid2$StreamContinuationResponse;
38343
+ |}): replit$goval$api$pid2$CallResponse;
38509
38344
 
38510
38345
  /**
38511
- * Creates a plain object from a StreamContinuationResponse message. Also converts values to other types if specified.
38512
- * @param message StreamContinuationResponse
38346
+ * Creates a plain object from a CallResponse message. Also converts values to other types if specified.
38347
+ * @param message CallResponse
38513
38348
  * @param [options] Conversion options
38514
38349
  * @returns Plain object
38515
38350
  */
38516
38351
  static toObject(
38517
- message: replit$goval$api$pid2$StreamContinuationResponse,
38352
+ message: replit$goval$api$pid2$CallResponse,
38518
38353
  options?: $protobuf.IConversionOptions
38519
38354
  ): {|
38520
38355
  [k: string]: any,
38521
38356
  |};
38522
38357
 
38523
38358
  /**
38524
- * Converts this StreamContinuationResponse to JSON.
38359
+ * Converts this CallResponse to JSON.
38525
38360
  * @returns JSON object
38526
38361
  */
38527
38362
  toJSON(): {|