@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.
package/main/index.d.ts CHANGED
@@ -21736,6 +21736,9 @@ export namespace replit {
21736
21736
 
21737
21737
  /** ReplToken buildInfo */
21738
21738
  buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
21739
+
21740
+ /** ReplToken pid2 */
21741
+ pid2?: (replit.goval.api.repl.Pid2|replit.goval.api.repl.IPid2|null);
21739
21742
  }
21740
21743
 
21741
21744
  /** Represents a ReplToken. */
@@ -21795,6 +21798,9 @@ export namespace replit {
21795
21798
  /** ReplToken buildInfo. */
21796
21799
  public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
21797
21800
 
21801
+ /** ReplToken pid2. */
21802
+ public pid2?: (replit.goval.api.repl.Pid2|null);
21803
+
21798
21804
  /** ReplToken metadata. */
21799
21805
  public metadata?: ("repl"|"id"|"classroom");
21800
21806
 
@@ -25636,6 +25642,111 @@ export namespace replit {
25636
25642
  */
25637
25643
  public toJSON(): { [k: string]: any };
25638
25644
  }
25645
+
25646
+ /** Properties of a Pid2. */
25647
+ interface IPid2 {
25648
+
25649
+ /** Pid2 bucket */
25650
+ bucket?: (replit.goval.api.repl.Pid2.Bucket|null);
25651
+
25652
+ /** Pid2 revision */
25653
+ revision?: (string|null);
25654
+ }
25655
+
25656
+ /** Represents a Pid2. */
25657
+ class Pid2 {
25658
+
25659
+ /**
25660
+ * Constructs a new Pid2.
25661
+ * @param [properties] Properties to set
25662
+ */
25663
+ private constructor(properties?: replit.goval.api.repl.IPid2);
25664
+
25665
+ /** Pid2 bucket. */
25666
+ public bucket: replit.goval.api.repl.Pid2.Bucket;
25667
+
25668
+ /** Pid2 revision. */
25669
+ public revision: string;
25670
+
25671
+ /**
25672
+ * Creates a new Pid2 instance using the specified properties.
25673
+ * @param [properties] Properties to set
25674
+ * @returns Pid2 instance
25675
+ */
25676
+ public static create(properties?: replit.goval.api.repl.IPid2): replit.goval.api.repl.Pid2;
25677
+
25678
+ /**
25679
+ * Encodes the specified Pid2 message. Does not implicitly {@link replit.goval.api.repl.Pid2.verify|verify} messages.
25680
+ * @param message Pid2 message or plain object to encode
25681
+ * @param [writer] Writer to encode to
25682
+ * @returns Writer
25683
+ */
25684
+ public static encode(message: replit.goval.api.repl.Pid2, writer?: $protobuf.Writer): $protobuf.Writer;
25685
+
25686
+ /**
25687
+ * Encodes the specified Pid2 message, length delimited. Does not implicitly {@link replit.goval.api.repl.Pid2.verify|verify} messages.
25688
+ * @param message Pid2 message or plain object to encode
25689
+ * @param [writer] Writer to encode to
25690
+ * @returns Writer
25691
+ */
25692
+ public static encodeDelimited(message: replit.goval.api.repl.Pid2, writer?: $protobuf.Writer): $protobuf.Writer;
25693
+
25694
+ /**
25695
+ * Decodes a Pid2 message from the specified reader or buffer.
25696
+ * @param reader Reader or buffer to decode from
25697
+ * @param [length] Message length if known beforehand
25698
+ * @returns Pid2
25699
+ * @throws {Error} If the payload is not a reader or valid buffer
25700
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25701
+ */
25702
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Pid2;
25703
+
25704
+ /**
25705
+ * Decodes a Pid2 message from the specified reader or buffer, length delimited.
25706
+ * @param reader Reader or buffer to decode from
25707
+ * @returns Pid2
25708
+ * @throws {Error} If the payload is not a reader or valid buffer
25709
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25710
+ */
25711
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Pid2;
25712
+
25713
+ /**
25714
+ * Verifies a Pid2 message.
25715
+ * @param message Plain object to verify
25716
+ * @returns `null` if valid, otherwise the reason why it is not
25717
+ */
25718
+ public static verify(message: { [k: string]: any }): (string|null);
25719
+
25720
+ /**
25721
+ * Creates a Pid2 message from a plain object. Also converts values to their respective internal types.
25722
+ * @param object Plain object
25723
+ * @returns Pid2
25724
+ */
25725
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Pid2;
25726
+
25727
+ /**
25728
+ * Creates a plain object from a Pid2 message. Also converts values to other types if specified.
25729
+ * @param message Pid2
25730
+ * @param [options] Conversion options
25731
+ * @returns Plain object
25732
+ */
25733
+ public static toObject(message: replit.goval.api.repl.Pid2, options?: $protobuf.IConversionOptions): { [k: string]: any };
25734
+
25735
+ /**
25736
+ * Converts this Pid2 to JSON.
25737
+ * @returns JSON object
25738
+ */
25739
+ public toJSON(): { [k: string]: any };
25740
+ }
25741
+
25742
+ namespace Pid2 {
25743
+
25744
+ /** Bucket enum. */
25745
+ enum Bucket {
25746
+ PRODUCTION = 0,
25747
+ DEVELOPMENT = 1
25748
+ }
25749
+ }
25639
25750
  }
25640
25751
 
25641
25752
  /** Properties of a PrivateReplsPowerup. */
@@ -26130,11 +26241,8 @@ export namespace replit {
26130
26241
  /** ClientFrame sessionId */
26131
26242
  sessionId?: (number|null);
26132
26243
 
26133
- /** ClientFrame unaryCall */
26134
- unaryCall?: (replit.goval.api.pid2.UnaryCallRequest|replit.goval.api.pid2.IUnaryCallRequest|null);
26135
-
26136
- /** ClientFrame streamCall */
26137
- streamCall?: (replit.goval.api.pid2.StreamCallRequest|replit.goval.api.pid2.IStreamCallRequest|null);
26244
+ /** ClientFrame call */
26245
+ call?: (replit.goval.api.pid2.CallRequest|replit.goval.api.pid2.ICallRequest|null);
26138
26246
 
26139
26247
  /** ClientFrame streamContinuation */
26140
26248
  streamContinuation?: (replit.goval.api.pid2.StreamContinuationRequest|replit.goval.api.pid2.IStreamContinuationRequest|null);
@@ -26158,11 +26266,8 @@ export namespace replit {
26158
26266
  /** ClientFrame sessionId. */
26159
26267
  public sessionId: number;
26160
26268
 
26161
- /** ClientFrame unaryCall. */
26162
- public unaryCall?: (replit.goval.api.pid2.UnaryCallRequest|null);
26163
-
26164
- /** ClientFrame streamCall. */
26165
- public streamCall?: (replit.goval.api.pid2.StreamCallRequest|null);
26269
+ /** ClientFrame call. */
26270
+ public call?: (replit.goval.api.pid2.CallRequest|null);
26166
26271
 
26167
26272
  /** ClientFrame streamContinuation. */
26168
26273
  public streamContinuation?: (replit.goval.api.pid2.StreamContinuationRequest|null);
@@ -26174,7 +26279,7 @@ export namespace replit {
26174
26279
  public ping?: (replit.goval.api.pid2.Ping|null);
26175
26280
 
26176
26281
  /** ClientFrame body. */
26177
- public body?: ("unaryCall"|"streamCall"|"streamContinuation"|"streamCancel"|"ping");
26282
+ public body?: ("call"|"streamContinuation"|"streamCancel"|"ping");
26178
26283
 
26179
26284
  /**
26180
26285
  * Creates a new ClientFrame instance using the specified properties.
@@ -26253,11 +26358,8 @@ export namespace replit {
26253
26358
  /** ServerFrame sessionId */
26254
26359
  sessionId?: (number|null);
26255
26360
 
26256
- /** ServerFrame unaryCall */
26257
- unaryCall?: (replit.goval.api.pid2.UnaryCallResponse|replit.goval.api.pid2.IUnaryCallResponse|null);
26258
-
26259
- /** ServerFrame streamContinuation */
26260
- streamContinuation?: (replit.goval.api.pid2.StreamContinuationResponse|replit.goval.api.pid2.IStreamContinuationResponse|null);
26361
+ /** ServerFrame response */
26362
+ response?: (replit.goval.api.pid2.CallResponse|replit.goval.api.pid2.ICallResponse|null);
26261
26363
 
26262
26364
  /** ServerFrame goaway */
26263
26365
  goaway?: (replit.goval.api.pid2.Error|replit.goval.api.pid2.IError|null);
@@ -26278,11 +26380,8 @@ export namespace replit {
26278
26380
  /** ServerFrame sessionId. */
26279
26381
  public sessionId: number;
26280
26382
 
26281
- /** ServerFrame unaryCall. */
26282
- public unaryCall?: (replit.goval.api.pid2.UnaryCallResponse|null);
26283
-
26284
- /** ServerFrame streamContinuation. */
26285
- public streamContinuation?: (replit.goval.api.pid2.StreamContinuationResponse|null);
26383
+ /** ServerFrame response. */
26384
+ public response?: (replit.goval.api.pid2.CallResponse|null);
26286
26385
 
26287
26386
  /** ServerFrame goaway. */
26288
26387
  public goaway?: (replit.goval.api.pid2.Error|null);
@@ -26291,7 +26390,7 @@ export namespace replit {
26291
26390
  public ping?: (replit.goval.api.pid2.Ping|null);
26292
26391
 
26293
26392
  /** ServerFrame body. */
26294
- public body?: ("unaryCall"|"streamContinuation"|"goaway"|"ping");
26393
+ public body?: ("response"|"goaway"|"ping");
26295
26394
 
26296
26395
  /**
26297
26396
  * Creates a new ServerFrame instance using the specified properties.
@@ -26364,217 +26463,118 @@ export namespace replit {
26364
26463
  public toJSON(): { [k: string]: any };
26365
26464
  }
26366
26465
 
26367
- /** Properties of an UnaryCallRequest. */
26368
- interface IUnaryCallRequest {
26466
+ /** Properties of a CallRequest. */
26467
+ interface ICallRequest {
26369
26468
 
26370
- /** UnaryCallRequest streamId */
26469
+ /** CallRequest streamId */
26371
26470
  streamId?: (number|null);
26372
26471
 
26373
- /** UnaryCallRequest service */
26472
+ /** CallRequest service */
26374
26473
  service?: (string|null);
26375
26474
 
26376
- /** UnaryCallRequest method */
26475
+ /** CallRequest method */
26377
26476
  method?: (string|null);
26378
26477
 
26379
- /** UnaryCallRequest request */
26380
- request?: (google.protobuf.Any|google.protobuf.IAny|null);
26478
+ /** CallRequest unaryRequest */
26479
+ unaryRequest?: (google.protobuf.Any|google.protobuf.IAny|null);
26480
+
26481
+ /** CallRequest streamHeader */
26482
+ streamHeader?: (google.protobuf.Any|google.protobuf.IAny|null);
26381
26483
  }
26382
26484
 
26383
- /** Represents an UnaryCallRequest. */
26384
- class UnaryCallRequest {
26485
+ /** Represents a CallRequest. */
26486
+ class CallRequest {
26385
26487
 
26386
26488
  /**
26387
- * Constructs a new UnaryCallRequest.
26489
+ * Constructs a new CallRequest.
26388
26490
  * @param [properties] Properties to set
26389
26491
  */
26390
- private constructor(properties?: replit.goval.api.pid2.IUnaryCallRequest);
26492
+ private constructor(properties?: replit.goval.api.pid2.ICallRequest);
26391
26493
 
26392
- /** UnaryCallRequest streamId. */
26494
+ /** CallRequest streamId. */
26393
26495
  public streamId: number;
26394
26496
 
26395
- /** UnaryCallRequest service. */
26497
+ /** CallRequest service. */
26396
26498
  public service: string;
26397
26499
 
26398
- /** UnaryCallRequest method. */
26500
+ /** CallRequest method. */
26399
26501
  public method: string;
26400
26502
 
26401
- /** UnaryCallRequest request. */
26402
- public request?: (google.protobuf.Any|null);
26403
-
26404
- /**
26405
- * Creates a new UnaryCallRequest instance using the specified properties.
26406
- * @param [properties] Properties to set
26407
- * @returns UnaryCallRequest instance
26408
- */
26409
- public static create(properties?: replit.goval.api.pid2.IUnaryCallRequest): replit.goval.api.pid2.UnaryCallRequest;
26410
-
26411
- /**
26412
- * Encodes the specified UnaryCallRequest message. Does not implicitly {@link replit.goval.api.pid2.UnaryCallRequest.verify|verify} messages.
26413
- * @param message UnaryCallRequest message or plain object to encode
26414
- * @param [writer] Writer to encode to
26415
- * @returns Writer
26416
- */
26417
- public static encode(message: replit.goval.api.pid2.UnaryCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26418
-
26419
- /**
26420
- * Encodes the specified UnaryCallRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.UnaryCallRequest.verify|verify} messages.
26421
- * @param message UnaryCallRequest message or plain object to encode
26422
- * @param [writer] Writer to encode to
26423
- * @returns Writer
26424
- */
26425
- public static encodeDelimited(message: replit.goval.api.pid2.UnaryCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26426
-
26427
- /**
26428
- * Decodes an UnaryCallRequest message from the specified reader or buffer.
26429
- * @param reader Reader or buffer to decode from
26430
- * @param [length] Message length if known beforehand
26431
- * @returns UnaryCallRequest
26432
- * @throws {Error} If the payload is not a reader or valid buffer
26433
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26434
- */
26435
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.UnaryCallRequest;
26436
-
26437
- /**
26438
- * Decodes an UnaryCallRequest message from the specified reader or buffer, length delimited.
26439
- * @param reader Reader or buffer to decode from
26440
- * @returns UnaryCallRequest
26441
- * @throws {Error} If the payload is not a reader or valid buffer
26442
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26443
- */
26444
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.UnaryCallRequest;
26445
-
26446
- /**
26447
- * Verifies an UnaryCallRequest message.
26448
- * @param message Plain object to verify
26449
- * @returns `null` if valid, otherwise the reason why it is not
26450
- */
26451
- public static verify(message: { [k: string]: any }): (string|null);
26452
-
26453
- /**
26454
- * Creates an UnaryCallRequest message from a plain object. Also converts values to their respective internal types.
26455
- * @param object Plain object
26456
- * @returns UnaryCallRequest
26457
- */
26458
- public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.UnaryCallRequest;
26459
-
26460
- /**
26461
- * Creates a plain object from an UnaryCallRequest message. Also converts values to other types if specified.
26462
- * @param message UnaryCallRequest
26463
- * @param [options] Conversion options
26464
- * @returns Plain object
26465
- */
26466
- public static toObject(message: replit.goval.api.pid2.UnaryCallRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26467
-
26468
- /**
26469
- * Converts this UnaryCallRequest to JSON.
26470
- * @returns JSON object
26471
- */
26472
- public toJSON(): { [k: string]: any };
26473
- }
26474
-
26475
- /** Properties of a StreamCallRequest. */
26476
- interface IStreamCallRequest {
26477
-
26478
- /** StreamCallRequest streamId */
26479
- streamId?: (number|null);
26480
-
26481
- /** StreamCallRequest service */
26482
- service?: (string|null);
26483
-
26484
- /** StreamCallRequest method */
26485
- method?: (string|null);
26486
-
26487
- /** StreamCallRequest header */
26488
- header?: (google.protobuf.Any|google.protobuf.IAny|null);
26489
- }
26490
-
26491
- /** Represents a StreamCallRequest. */
26492
- class StreamCallRequest {
26503
+ /** CallRequest unaryRequest. */
26504
+ public unaryRequest?: (google.protobuf.Any|null);
26493
26505
 
26494
- /**
26495
- * Constructs a new StreamCallRequest.
26496
- * @param [properties] Properties to set
26497
- */
26498
- private constructor(properties?: replit.goval.api.pid2.IStreamCallRequest);
26506
+ /** CallRequest streamHeader. */
26507
+ public streamHeader?: (google.protobuf.Any|null);
26499
26508
 
26500
- /** StreamCallRequest streamId. */
26501
- public streamId: number;
26502
-
26503
- /** StreamCallRequest service. */
26504
- public service: string;
26505
-
26506
- /** StreamCallRequest method. */
26507
- public method: string;
26508
-
26509
- /** StreamCallRequest header. */
26510
- public header?: (google.protobuf.Any|null);
26509
+ /** CallRequest body. */
26510
+ public body?: ("unaryRequest"|"streamHeader");
26511
26511
 
26512
26512
  /**
26513
- * Creates a new StreamCallRequest instance using the specified properties.
26513
+ * Creates a new CallRequest instance using the specified properties.
26514
26514
  * @param [properties] Properties to set
26515
- * @returns StreamCallRequest instance
26515
+ * @returns CallRequest instance
26516
26516
  */
26517
- public static create(properties?: replit.goval.api.pid2.IStreamCallRequest): replit.goval.api.pid2.StreamCallRequest;
26517
+ public static create(properties?: replit.goval.api.pid2.ICallRequest): replit.goval.api.pid2.CallRequest;
26518
26518
 
26519
26519
  /**
26520
- * Encodes the specified StreamCallRequest message. Does not implicitly {@link replit.goval.api.pid2.StreamCallRequest.verify|verify} messages.
26521
- * @param message StreamCallRequest message or plain object to encode
26520
+ * Encodes the specified CallRequest message. Does not implicitly {@link replit.goval.api.pid2.CallRequest.verify|verify} messages.
26521
+ * @param message CallRequest message or plain object to encode
26522
26522
  * @param [writer] Writer to encode to
26523
26523
  * @returns Writer
26524
26524
  */
26525
- public static encode(message: replit.goval.api.pid2.StreamCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26525
+ public static encode(message: replit.goval.api.pid2.CallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26526
26526
 
26527
26527
  /**
26528
- * Encodes the specified StreamCallRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.StreamCallRequest.verify|verify} messages.
26529
- * @param message StreamCallRequest message or plain object to encode
26528
+ * Encodes the specified CallRequest message, length delimited. Does not implicitly {@link replit.goval.api.pid2.CallRequest.verify|verify} messages.
26529
+ * @param message CallRequest message or plain object to encode
26530
26530
  * @param [writer] Writer to encode to
26531
26531
  * @returns Writer
26532
26532
  */
26533
- public static encodeDelimited(message: replit.goval.api.pid2.StreamCallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26533
+ public static encodeDelimited(message: replit.goval.api.pid2.CallRequest, writer?: $protobuf.Writer): $protobuf.Writer;
26534
26534
 
26535
26535
  /**
26536
- * Decodes a StreamCallRequest message from the specified reader or buffer.
26536
+ * Decodes a CallRequest message from the specified reader or buffer.
26537
26537
  * @param reader Reader or buffer to decode from
26538
26538
  * @param [length] Message length if known beforehand
26539
- * @returns StreamCallRequest
26539
+ * @returns CallRequest
26540
26540
  * @throws {Error} If the payload is not a reader or valid buffer
26541
26541
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26542
26542
  */
26543
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.StreamCallRequest;
26543
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.CallRequest;
26544
26544
 
26545
26545
  /**
26546
- * Decodes a StreamCallRequest message from the specified reader or buffer, length delimited.
26546
+ * Decodes a CallRequest message from the specified reader or buffer, length delimited.
26547
26547
  * @param reader Reader or buffer to decode from
26548
- * @returns StreamCallRequest
26548
+ * @returns CallRequest
26549
26549
  * @throws {Error} If the payload is not a reader or valid buffer
26550
26550
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26551
26551
  */
26552
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.StreamCallRequest;
26552
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.CallRequest;
26553
26553
 
26554
26554
  /**
26555
- * Verifies a StreamCallRequest message.
26555
+ * Verifies a CallRequest message.
26556
26556
  * @param message Plain object to verify
26557
26557
  * @returns `null` if valid, otherwise the reason why it is not
26558
26558
  */
26559
26559
  public static verify(message: { [k: string]: any }): (string|null);
26560
26560
 
26561
26561
  /**
26562
- * Creates a StreamCallRequest message from a plain object. Also converts values to their respective internal types.
26562
+ * Creates a CallRequest message from a plain object. Also converts values to their respective internal types.
26563
26563
  * @param object Plain object
26564
- * @returns StreamCallRequest
26564
+ * @returns CallRequest
26565
26565
  */
26566
- public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.StreamCallRequest;
26566
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.CallRequest;
26567
26567
 
26568
26568
  /**
26569
- * Creates a plain object from a StreamCallRequest message. Also converts values to other types if specified.
26570
- * @param message StreamCallRequest
26569
+ * Creates a plain object from a CallRequest message. Also converts values to other types if specified.
26570
+ * @param message CallRequest
26571
26571
  * @param [options] Conversion options
26572
26572
  * @returns Plain object
26573
26573
  */
26574
- public static toObject(message: replit.goval.api.pid2.StreamCallRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26574
+ public static toObject(message: replit.goval.api.pid2.CallRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
26575
26575
 
26576
26576
  /**
26577
- * Converts this StreamCallRequest to JSON.
26577
+ * Converts this CallRequest to JSON.
26578
26578
  * @returns JSON object
26579
26579
  */
26580
26580
  public toJSON(): { [k: string]: any };
@@ -26772,217 +26772,112 @@ export namespace replit {
26772
26772
  public toJSON(): { [k: string]: any };
26773
26773
  }
26774
26774
 
26775
- /** Properties of an UnaryCallResponse. */
26776
- interface IUnaryCallResponse {
26777
-
26778
- /** UnaryCallResponse streamId */
26779
- streamId?: (number|null);
26780
-
26781
- /** UnaryCallResponse response */
26782
- response?: (google.protobuf.Any|google.protobuf.IAny|null);
26783
-
26784
- /** UnaryCallResponse error */
26785
- error?: (replit.goval.api.pid2.Error|replit.goval.api.pid2.IError|null);
26786
- }
26787
-
26788
- /** Represents an UnaryCallResponse. */
26789
- class UnaryCallResponse {
26790
-
26791
- /**
26792
- * Constructs a new UnaryCallResponse.
26793
- * @param [properties] Properties to set
26794
- */
26795
- private constructor(properties?: replit.goval.api.pid2.IUnaryCallResponse);
26796
-
26797
- /** UnaryCallResponse streamId. */
26798
- public streamId: number;
26799
-
26800
- /** UnaryCallResponse response. */
26801
- public response?: (google.protobuf.Any|null);
26802
-
26803
- /** UnaryCallResponse error. */
26804
- public error?: (replit.goval.api.pid2.Error|null);
26805
-
26806
- /** UnaryCallResponse body. */
26807
- public body?: ("response"|"error");
26808
-
26809
- /**
26810
- * Creates a new UnaryCallResponse instance using the specified properties.
26811
- * @param [properties] Properties to set
26812
- * @returns UnaryCallResponse instance
26813
- */
26814
- public static create(properties?: replit.goval.api.pid2.IUnaryCallResponse): replit.goval.api.pid2.UnaryCallResponse;
26815
-
26816
- /**
26817
- * Encodes the specified UnaryCallResponse message. Does not implicitly {@link replit.goval.api.pid2.UnaryCallResponse.verify|verify} messages.
26818
- * @param message UnaryCallResponse message or plain object to encode
26819
- * @param [writer] Writer to encode to
26820
- * @returns Writer
26821
- */
26822
- public static encode(message: replit.goval.api.pid2.UnaryCallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26823
-
26824
- /**
26825
- * Encodes the specified UnaryCallResponse message, length delimited. Does not implicitly {@link replit.goval.api.pid2.UnaryCallResponse.verify|verify} messages.
26826
- * @param message UnaryCallResponse message or plain object to encode
26827
- * @param [writer] Writer to encode to
26828
- * @returns Writer
26829
- */
26830
- public static encodeDelimited(message: replit.goval.api.pid2.UnaryCallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26831
-
26832
- /**
26833
- * Decodes an UnaryCallResponse message from the specified reader or buffer.
26834
- * @param reader Reader or buffer to decode from
26835
- * @param [length] Message length if known beforehand
26836
- * @returns UnaryCallResponse
26837
- * @throws {Error} If the payload is not a reader or valid buffer
26838
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26839
- */
26840
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.UnaryCallResponse;
26841
-
26842
- /**
26843
- * Decodes an UnaryCallResponse message from the specified reader or buffer, length delimited.
26844
- * @param reader Reader or buffer to decode from
26845
- * @returns UnaryCallResponse
26846
- * @throws {Error} If the payload is not a reader or valid buffer
26847
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26848
- */
26849
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.UnaryCallResponse;
26850
-
26851
- /**
26852
- * Verifies an UnaryCallResponse message.
26853
- * @param message Plain object to verify
26854
- * @returns `null` if valid, otherwise the reason why it is not
26855
- */
26856
- public static verify(message: { [k: string]: any }): (string|null);
26857
-
26858
- /**
26859
- * Creates an UnaryCallResponse message from a plain object. Also converts values to their respective internal types.
26860
- * @param object Plain object
26861
- * @returns UnaryCallResponse
26862
- */
26863
- public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.UnaryCallResponse;
26864
-
26865
- /**
26866
- * Creates a plain object from an UnaryCallResponse message. Also converts values to other types if specified.
26867
- * @param message UnaryCallResponse
26868
- * @param [options] Conversion options
26869
- * @returns Plain object
26870
- */
26871
- public static toObject(message: replit.goval.api.pid2.UnaryCallResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
26872
-
26873
- /**
26874
- * Converts this UnaryCallResponse to JSON.
26875
- * @returns JSON object
26876
- */
26877
- public toJSON(): { [k: string]: any };
26878
- }
26879
-
26880
- /** Properties of a StreamContinuationResponse. */
26881
- interface IStreamContinuationResponse {
26775
+ /** Properties of a CallResponse. */
26776
+ interface ICallResponse {
26882
26777
 
26883
- /** StreamContinuationResponse streamId */
26778
+ /** CallResponse streamId */
26884
26779
  streamId?: (number|null);
26885
26780
 
26886
- /** StreamContinuationResponse streamEnd */
26781
+ /** CallResponse streamEnd */
26887
26782
  streamEnd?: (boolean|null);
26888
26783
 
26889
- /** StreamContinuationResponse response */
26784
+ /** CallResponse response */
26890
26785
  response?: (google.protobuf.Any|google.protobuf.IAny|null);
26891
26786
 
26892
- /** StreamContinuationResponse error */
26787
+ /** CallResponse error */
26893
26788
  error?: (replit.goval.api.pid2.Error|replit.goval.api.pid2.IError|null);
26894
26789
  }
26895
26790
 
26896
- /** Represents a StreamContinuationResponse. */
26897
- class StreamContinuationResponse {
26791
+ /** Represents a CallResponse. */
26792
+ class CallResponse {
26898
26793
 
26899
26794
  /**
26900
- * Constructs a new StreamContinuationResponse.
26795
+ * Constructs a new CallResponse.
26901
26796
  * @param [properties] Properties to set
26902
26797
  */
26903
- private constructor(properties?: replit.goval.api.pid2.IStreamContinuationResponse);
26798
+ private constructor(properties?: replit.goval.api.pid2.ICallResponse);
26904
26799
 
26905
- /** StreamContinuationResponse streamId. */
26800
+ /** CallResponse streamId. */
26906
26801
  public streamId: number;
26907
26802
 
26908
- /** StreamContinuationResponse streamEnd. */
26803
+ /** CallResponse streamEnd. */
26909
26804
  public streamEnd: boolean;
26910
26805
 
26911
- /** StreamContinuationResponse response. */
26806
+ /** CallResponse response. */
26912
26807
  public response?: (google.protobuf.Any|null);
26913
26808
 
26914
- /** StreamContinuationResponse error. */
26809
+ /** CallResponse error. */
26915
26810
  public error?: (replit.goval.api.pid2.Error|null);
26916
26811
 
26917
- /** StreamContinuationResponse body. */
26812
+ /** CallResponse body. */
26918
26813
  public body?: ("response"|"error");
26919
26814
 
26920
26815
  /**
26921
- * Creates a new StreamContinuationResponse instance using the specified properties.
26816
+ * Creates a new CallResponse instance using the specified properties.
26922
26817
  * @param [properties] Properties to set
26923
- * @returns StreamContinuationResponse instance
26818
+ * @returns CallResponse instance
26924
26819
  */
26925
- public static create(properties?: replit.goval.api.pid2.IStreamContinuationResponse): replit.goval.api.pid2.StreamContinuationResponse;
26820
+ public static create(properties?: replit.goval.api.pid2.ICallResponse): replit.goval.api.pid2.CallResponse;
26926
26821
 
26927
26822
  /**
26928
- * Encodes the specified StreamContinuationResponse message. Does not implicitly {@link replit.goval.api.pid2.StreamContinuationResponse.verify|verify} messages.
26929
- * @param message StreamContinuationResponse message or plain object to encode
26823
+ * Encodes the specified CallResponse message. Does not implicitly {@link replit.goval.api.pid2.CallResponse.verify|verify} messages.
26824
+ * @param message CallResponse message or plain object to encode
26930
26825
  * @param [writer] Writer to encode to
26931
26826
  * @returns Writer
26932
26827
  */
26933
- public static encode(message: replit.goval.api.pid2.StreamContinuationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26828
+ public static encode(message: replit.goval.api.pid2.CallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26934
26829
 
26935
26830
  /**
26936
- * Encodes the specified StreamContinuationResponse message, length delimited. Does not implicitly {@link replit.goval.api.pid2.StreamContinuationResponse.verify|verify} messages.
26937
- * @param message StreamContinuationResponse message or plain object to encode
26831
+ * Encodes the specified CallResponse message, length delimited. Does not implicitly {@link replit.goval.api.pid2.CallResponse.verify|verify} messages.
26832
+ * @param message CallResponse message or plain object to encode
26938
26833
  * @param [writer] Writer to encode to
26939
26834
  * @returns Writer
26940
26835
  */
26941
- public static encodeDelimited(message: replit.goval.api.pid2.StreamContinuationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26836
+ public static encodeDelimited(message: replit.goval.api.pid2.CallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
26942
26837
 
26943
26838
  /**
26944
- * Decodes a StreamContinuationResponse message from the specified reader or buffer.
26839
+ * Decodes a CallResponse message from the specified reader or buffer.
26945
26840
  * @param reader Reader or buffer to decode from
26946
26841
  * @param [length] Message length if known beforehand
26947
- * @returns StreamContinuationResponse
26842
+ * @returns CallResponse
26948
26843
  * @throws {Error} If the payload is not a reader or valid buffer
26949
26844
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26950
26845
  */
26951
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.StreamContinuationResponse;
26846
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.pid2.CallResponse;
26952
26847
 
26953
26848
  /**
26954
- * Decodes a StreamContinuationResponse message from the specified reader or buffer, length delimited.
26849
+ * Decodes a CallResponse message from the specified reader or buffer, length delimited.
26955
26850
  * @param reader Reader or buffer to decode from
26956
- * @returns StreamContinuationResponse
26851
+ * @returns CallResponse
26957
26852
  * @throws {Error} If the payload is not a reader or valid buffer
26958
26853
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26959
26854
  */
26960
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.StreamContinuationResponse;
26855
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.pid2.CallResponse;
26961
26856
 
26962
26857
  /**
26963
- * Verifies a StreamContinuationResponse message.
26858
+ * Verifies a CallResponse message.
26964
26859
  * @param message Plain object to verify
26965
26860
  * @returns `null` if valid, otherwise the reason why it is not
26966
26861
  */
26967
26862
  public static verify(message: { [k: string]: any }): (string|null);
26968
26863
 
26969
26864
  /**
26970
- * Creates a StreamContinuationResponse message from a plain object. Also converts values to their respective internal types.
26865
+ * Creates a CallResponse message from a plain object. Also converts values to their respective internal types.
26971
26866
  * @param object Plain object
26972
- * @returns StreamContinuationResponse
26867
+ * @returns CallResponse
26973
26868
  */
26974
- public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.StreamContinuationResponse;
26869
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.pid2.CallResponse;
26975
26870
 
26976
26871
  /**
26977
- * Creates a plain object from a StreamContinuationResponse message. Also converts values to other types if specified.
26978
- * @param message StreamContinuationResponse
26872
+ * Creates a plain object from a CallResponse message. Also converts values to other types if specified.
26873
+ * @param message CallResponse
26979
26874
  * @param [options] Conversion options
26980
26875
  * @returns Plain object
26981
26876
  */
26982
- public static toObject(message: replit.goval.api.pid2.StreamContinuationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
26877
+ public static toObject(message: replit.goval.api.pid2.CallResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
26983
26878
 
26984
26879
  /**
26985
- * Converts this StreamContinuationResponse to JSON.
26880
+ * Converts this CallResponse to JSON.
26986
26881
  * @returns JSON object
26987
26882
  */
26988
26883
  public toJSON(): { [k: string]: any };