@rstreamlabs/webtty 1.9.0 → 1.9.1

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/dist/index.d.mts CHANGED
@@ -26,7 +26,7 @@ declare namespace rstream {
26
26
  */
27
27
  constructor(properties?: rstream.webtty.protobuf.Options.$Properties);
28
28
 
29
- /** Unknown fields preserved while decoding */
29
+ /** Unknown fields preserved while decoding when enabled */
30
30
  $unknowns?: Uint8Array[];
31
31
 
32
32
  /** Options interactive. */
@@ -131,7 +131,7 @@ declare namespace rstream {
131
131
  /** Options sendHeartbeat */
132
132
  sendHeartbeat?: (boolean|null);
133
133
 
134
- /** Unknown fields preserved while decoding */
134
+ /** Unknown fields preserved while decoding when enabled */
135
135
  $unknowns?: Uint8Array[];
136
136
  }
137
137
 
@@ -155,7 +155,7 @@ declare namespace rstream {
155
155
  */
156
156
  constructor(properties?: rstream.webtty.protobuf.Environment.$Properties);
157
157
 
158
- /** Unknown fields preserved while decoding */
158
+ /** Unknown fields preserved while decoding when enabled */
159
159
  $unknowns?: Uint8Array[];
160
160
 
161
161
  /** Environment key. */
@@ -254,7 +254,7 @@ declare namespace rstream {
254
254
  /** Environment value */
255
255
  value?: (string|null);
256
256
 
257
- /** Unknown fields preserved while decoding */
257
+ /** Unknown fields preserved while decoding when enabled */
258
258
  $unknowns?: Uint8Array[];
259
259
  }
260
260
 
@@ -278,7 +278,7 @@ declare namespace rstream {
278
278
  */
279
279
  constructor(properties?: rstream.webtty.protobuf.Username.$Properties);
280
280
 
281
- /** Unknown fields preserved while decoding */
281
+ /** Unknown fields preserved while decoding when enabled */
282
282
  $unknowns?: Uint8Array[];
283
283
 
284
284
  /** Username name. */
@@ -383,18 +383,18 @@ declare namespace rstream {
383
383
  /** Username payload */
384
384
  payload?: ("name"|"id");
385
385
 
386
- /** Unknown fields preserved while decoding */
386
+ /** Unknown fields preserved while decoding when enabled */
387
387
  $unknowns?: Uint8Array[];
388
388
  }
389
389
 
390
390
  /** Narrowed shape of a Username. */
391
391
  type $Shape = {
392
- name?: string|null;
393
- id?: number|null;
394
- $unknowns?: Uint8Array[];
395
- } & (
396
- ({ payload?: undefined; name?: null; id?: null }|{ payload?: "name"; name: string; id?: null }|{ payload?: "id"; name?: null; id: number })
397
- );
392
+ name?: string|null;
393
+ id?: number|null;
394
+ $unknowns?: Uint8Array[];
395
+ } & (
396
+ ({ payload?: undefined; name?: null; id?: null }|{ payload?: "name"; name: string; id?: null }|{ payload?: "id"; name?: null; id: number })
397
+ );
398
398
  }
399
399
 
400
400
  /**
@@ -413,7 +413,7 @@ declare namespace rstream {
413
413
  */
414
414
  constructor(properties?: rstream.webtty.protobuf.Workdir.$Properties);
415
415
 
416
- /** Unknown fields preserved while decoding */
416
+ /** Unknown fields preserved while decoding when enabled */
417
417
  $unknowns?: Uint8Array[];
418
418
 
419
419
  /** Workdir value. */
@@ -506,7 +506,7 @@ declare namespace rstream {
506
506
  /** Workdir value */
507
507
  value?: (string|null);
508
508
 
509
- /** Unknown fields preserved while decoding */
509
+ /** Unknown fields preserved while decoding when enabled */
510
510
  $unknowns?: Uint8Array[];
511
511
  }
512
512
 
@@ -530,7 +530,7 @@ declare namespace rstream {
530
530
  */
531
531
  constructor(properties?: rstream.webtty.protobuf.Config.$Properties);
532
532
 
533
- /** Unknown fields preserved while decoding */
533
+ /** Unknown fields preserved while decoding when enabled */
534
534
  $unknowns?: Uint8Array[];
535
535
 
536
536
  /** Config options. */
@@ -647,19 +647,19 @@ declare namespace rstream {
647
647
  /** Config username */
648
648
  username?: (rstream.webtty.protobuf.Username.$Properties|null);
649
649
 
650
- /** Unknown fields preserved while decoding */
650
+ /** Unknown fields preserved while decoding when enabled */
651
651
  $unknowns?: Uint8Array[];
652
652
  }
653
653
 
654
654
  /** Shape of a Config. */
655
655
  type $Shape = {
656
- options?: rstream.webtty.protobuf.Options.$Shape|null;
657
- cmdArgs?: string[]|null;
658
- envVars?: rstream.webtty.protobuf.Environment.$Shape[]|null;
659
- workdir?: rstream.webtty.protobuf.Workdir.$Shape|null;
660
- username?: rstream.webtty.protobuf.Username.$Shape|null;
661
- $unknowns?: Uint8Array[];
662
- };
656
+ options?: rstream.webtty.protobuf.Options.$Shape|null;
657
+ cmdArgs?: string[]|null;
658
+ envVars?: rstream.webtty.protobuf.Environment.$Shape[]|null;
659
+ workdir?: rstream.webtty.protobuf.Workdir.$Shape|null;
660
+ username?: rstream.webtty.protobuf.Username.$Shape|null;
661
+ $unknowns?: Uint8Array[];
662
+ };
663
663
  }
664
664
 
665
665
  /** OpenCapability enum. */
@@ -799,7 +799,7 @@ declare namespace rstream {
799
799
  */
800
800
  constructor(properties?: rstream.webtty.protobuf.KeyEnvelope.$Properties);
801
801
 
802
- /** Unknown fields preserved while decoding */
802
+ /** Unknown fields preserved while decoding when enabled */
803
803
  $unknowns?: Uint8Array[];
804
804
 
805
805
  /** KeyEnvelope recipientKeyId. */
@@ -904,7 +904,7 @@ declare namespace rstream {
904
904
  /** KeyEnvelope wrappedKey */
905
905
  wrappedKey?: (Uint8Array|null);
906
906
 
907
- /** Unknown fields preserved while decoding */
907
+ /** Unknown fields preserved while decoding when enabled */
908
908
  $unknowns?: Uint8Array[];
909
909
  }
910
910
 
@@ -928,7 +928,7 @@ declare namespace rstream {
928
928
  */
929
929
  constructor(properties?: rstream.webtty.protobuf.EndpointIdentity.$Properties);
930
930
 
931
- /** Unknown fields preserved while decoding */
931
+ /** Unknown fields preserved while decoding when enabled */
932
932
  $unknowns?: Uint8Array[];
933
933
 
934
934
  /** EndpointIdentity signingKeyId. */
@@ -1051,7 +1051,7 @@ declare namespace rstream {
1051
1051
  /** EndpointIdentity keyEnvelopeSuite */
1052
1052
  keyEnvelopeSuite?: (rstream.webtty.protobuf.KeyEnvelopeSuite|null);
1053
1053
 
1054
- /** Unknown fields preserved while decoding */
1054
+ /** Unknown fields preserved while decoding when enabled */
1055
1055
  $unknowns?: Uint8Array[];
1056
1056
  }
1057
1057
 
@@ -1075,7 +1075,7 @@ declare namespace rstream {
1075
1075
  */
1076
1076
  constructor(properties?: rstream.webtty.protobuf.ServerProof.$Properties);
1077
1077
 
1078
- /** Unknown fields preserved while decoding */
1078
+ /** Unknown fields preserved while decoding when enabled */
1079
1079
  $unknowns?: Uint8Array[];
1080
1080
 
1081
1081
  /** ServerProof signatureSuite. */
@@ -1186,7 +1186,7 @@ declare namespace rstream {
1186
1186
  /** ServerProof signature */
1187
1187
  signature?: (Uint8Array|null);
1188
1188
 
1189
- /** Unknown fields preserved while decoding */
1189
+ /** Unknown fields preserved while decoding when enabled */
1190
1190
  $unknowns?: Uint8Array[];
1191
1191
  }
1192
1192
 
@@ -1210,7 +1210,7 @@ declare namespace rstream {
1210
1210
  */
1211
1211
  constructor(properties?: rstream.webtty.protobuf.ServerHello.$Properties);
1212
1212
 
1213
- /** Unknown fields preserved while decoding */
1213
+ /** Unknown fields preserved while decoding when enabled */
1214
1214
  $unknowns?: Uint8Array[];
1215
1215
 
1216
1216
  /** ServerHello protocolVersion. */
@@ -1369,7 +1369,7 @@ declare namespace rstream {
1369
1369
  /** ServerHello serverProof */
1370
1370
  serverProof?: (rstream.webtty.protobuf.ServerProof.$Properties|null);
1371
1371
 
1372
- /** Unknown fields preserved while decoding */
1372
+ /** Unknown fields preserved while decoding when enabled */
1373
1373
  $unknowns?: Uint8Array[];
1374
1374
  }
1375
1375
 
@@ -1393,7 +1393,7 @@ declare namespace rstream {
1393
1393
  */
1394
1394
  constructor(properties?: rstream.webtty.protobuf.ClientHello.$Properties);
1395
1395
 
1396
- /** Unknown fields preserved while decoding */
1396
+ /** Unknown fields preserved while decoding when enabled */
1397
1397
  $unknowns?: Uint8Array[];
1398
1398
 
1399
1399
  /** ClientHello protocolVersion. */
@@ -1486,7 +1486,7 @@ declare namespace rstream {
1486
1486
  /** ClientHello protocolVersion */
1487
1487
  protocolVersion?: (rstream.webtty.protobuf.ProtocolVersion|null);
1488
1488
 
1489
- /** Unknown fields preserved while decoding */
1489
+ /** Unknown fields preserved while decoding when enabled */
1490
1490
  $unknowns?: Uint8Array[];
1491
1491
  }
1492
1492
 
@@ -1510,7 +1510,7 @@ declare namespace rstream {
1510
1510
  */
1511
1511
  constructor(properties?: rstream.webtty.protobuf.SessionKeyGrant.$Properties);
1512
1512
 
1513
- /** Unknown fields preserved while decoding */
1513
+ /** Unknown fields preserved while decoding when enabled */
1514
1514
  $unknowns?: Uint8Array[];
1515
1515
 
1516
1516
  /** SessionKeyGrant payloadSuite. */
@@ -1627,7 +1627,7 @@ declare namespace rstream {
1627
1627
  /** SessionKeyGrant keyEnvelopeSuite */
1628
1628
  keyEnvelopeSuite?: (rstream.webtty.protobuf.KeyEnvelopeSuite|null);
1629
1629
 
1630
- /** Unknown fields preserved while decoding */
1630
+ /** Unknown fields preserved while decoding when enabled */
1631
1631
  $unknowns?: Uint8Array[];
1632
1632
  }
1633
1633
 
@@ -1651,7 +1651,7 @@ declare namespace rstream {
1651
1651
  */
1652
1652
  constructor(properties?: rstream.webtty.protobuf.PayloadCrypto.$Properties);
1653
1653
 
1654
- /** Unknown fields preserved while decoding */
1654
+ /** Unknown fields preserved while decoding when enabled */
1655
1655
  $unknowns?: Uint8Array[];
1656
1656
 
1657
1657
  /** PayloadCrypto payloadSuite. */
@@ -1762,7 +1762,7 @@ declare namespace rstream {
1762
1762
  /** PayloadCrypto aadContext */
1763
1763
  aadContext?: (Uint8Array|null);
1764
1764
 
1765
- /** Unknown fields preserved while decoding */
1765
+ /** Unknown fields preserved while decoding when enabled */
1766
1766
  $unknowns?: Uint8Array[];
1767
1767
  }
1768
1768
 
@@ -1786,7 +1786,7 @@ declare namespace rstream {
1786
1786
  */
1787
1787
  constructor(properties?: rstream.webtty.protobuf.ClientProof.$Properties);
1788
1788
 
1789
- /** Unknown fields preserved while decoding */
1789
+ /** Unknown fields preserved while decoding when enabled */
1790
1790
  $unknowns?: Uint8Array[];
1791
1791
 
1792
1792
  /** ClientProof principalId. */
@@ -1939,7 +1939,7 @@ declare namespace rstream {
1939
1939
  /** ClientProof credential */
1940
1940
  credential?: (google.protobuf.BytesValue.$Properties|null);
1941
1941
 
1942
- /** Unknown fields preserved while decoding */
1942
+ /** Unknown fields preserved while decoding when enabled */
1943
1943
  $unknowns?: Uint8Array[];
1944
1944
  }
1945
1945
 
@@ -1963,7 +1963,7 @@ declare namespace rstream {
1963
1963
  */
1964
1964
  constructor(properties?: rstream.webtty.protobuf.ProtocolError.$Properties);
1965
1965
 
1966
- /** Unknown fields preserved while decoding */
1966
+ /** Unknown fields preserved while decoding when enabled */
1967
1967
  $unknowns?: Uint8Array[];
1968
1968
 
1969
1969
  /** ProtocolError code. */
@@ -2062,7 +2062,7 @@ declare namespace rstream {
2062
2062
  /** ProtocolError msg */
2063
2063
  msg?: (string|null);
2064
2064
 
2065
- /** Unknown fields preserved while decoding */
2065
+ /** Unknown fields preserved while decoding when enabled */
2066
2066
  $unknowns?: Uint8Array[];
2067
2067
  }
2068
2068
 
@@ -2086,7 +2086,7 @@ declare namespace rstream {
2086
2086
  */
2087
2087
  constructor(properties?: rstream.webtty.protobuf.Open.$Properties);
2088
2088
 
2089
- /** Unknown fields preserved while decoding */
2089
+ /** Unknown fields preserved while decoding when enabled */
2090
2090
  $unknowns?: Uint8Array[];
2091
2091
 
2092
2092
  /** Open config. */
@@ -2197,18 +2197,18 @@ declare namespace rstream {
2197
2197
  /** Open clientProof */
2198
2198
  clientProof?: (rstream.webtty.protobuf.ClientProof.$Properties|null);
2199
2199
 
2200
- /** Unknown fields preserved while decoding */
2200
+ /** Unknown fields preserved while decoding when enabled */
2201
2201
  $unknowns?: Uint8Array[];
2202
2202
  }
2203
2203
 
2204
2204
  /** Shape of an Open. */
2205
2205
  type $Shape = {
2206
- config?: rstream.webtty.protobuf.Config.$Shape|null;
2207
- capabilities?: rstream.webtty.protobuf.OpenCapability[]|null;
2208
- sessionKeyGrant?: rstream.webtty.protobuf.SessionKeyGrant.$Shape|null;
2209
- clientProof?: rstream.webtty.protobuf.ClientProof.$Shape|null;
2210
- $unknowns?: Uint8Array[];
2211
- };
2206
+ config?: rstream.webtty.protobuf.Config.$Shape|null;
2207
+ capabilities?: rstream.webtty.protobuf.OpenCapability[]|null;
2208
+ sessionKeyGrant?: rstream.webtty.protobuf.SessionKeyGrant.$Shape|null;
2209
+ clientProof?: rstream.webtty.protobuf.ClientProof.$Shape|null;
2210
+ $unknowns?: Uint8Array[];
2211
+ };
2212
2212
  }
2213
2213
 
2214
2214
  /** AttachRole enum. */
@@ -2272,7 +2272,7 @@ declare namespace rstream {
2272
2272
  */
2273
2273
  constructor(properties?: rstream.webtty.protobuf.Attach.$Properties);
2274
2274
 
2275
- /** Unknown fields preserved while decoding */
2275
+ /** Unknown fields preserved while decoding when enabled */
2276
2276
  $unknowns?: Uint8Array[];
2277
2277
 
2278
2278
  /** Attach sessionId. */
@@ -2413,7 +2413,7 @@ declare namespace rstream {
2413
2413
  /** Attach clientProof */
2414
2414
  clientProof?: (rstream.webtty.protobuf.ClientProof.$Properties|null);
2415
2415
 
2416
- /** Unknown fields preserved while decoding */
2416
+ /** Unknown fields preserved while decoding when enabled */
2417
2417
  $unknowns?: Uint8Array[];
2418
2418
  }
2419
2419
 
@@ -2437,7 +2437,7 @@ declare namespace rstream {
2437
2437
  */
2438
2438
  constructor(properties?: rstream.webtty.protobuf.Ack.$Properties);
2439
2439
 
2440
- /** Unknown fields preserved while decoding */
2440
+ /** Unknown fields preserved while decoding when enabled */
2441
2441
  $unknowns?: Uint8Array[];
2442
2442
 
2443
2443
  /**
@@ -2524,7 +2524,7 @@ declare namespace rstream {
2524
2524
  /** Properties of an Ack. */
2525
2525
  interface $Properties {
2526
2526
 
2527
- /** Unknown fields preserved while decoding */
2527
+ /** Unknown fields preserved while decoding when enabled */
2528
2528
  $unknowns?: Uint8Array[];
2529
2529
  }
2530
2530
 
@@ -2548,7 +2548,7 @@ declare namespace rstream {
2548
2548
  */
2549
2549
  constructor(properties?: rstream.webtty.protobuf.Error.$Properties);
2550
2550
 
2551
- /** Unknown fields preserved while decoding */
2551
+ /** Unknown fields preserved while decoding when enabled */
2552
2552
  $unknowns?: Uint8Array[];
2553
2553
 
2554
2554
  /** Error msg. */
@@ -2641,7 +2641,7 @@ declare namespace rstream {
2641
2641
  /** Error msg */
2642
2642
  msg?: (string|null);
2643
2643
 
2644
- /** Unknown fields preserved while decoding */
2644
+ /** Unknown fields preserved while decoding when enabled */
2645
2645
  $unknowns?: Uint8Array[];
2646
2646
  }
2647
2647
 
@@ -2665,7 +2665,7 @@ declare namespace rstream {
2665
2665
  */
2666
2666
  constructor(properties?: rstream.webtty.protobuf.Close.$Properties);
2667
2667
 
2668
- /** Unknown fields preserved while decoding */
2668
+ /** Unknown fields preserved while decoding when enabled */
2669
2669
  $unknowns?: Uint8Array[];
2670
2670
 
2671
2671
  /** Close returnCode. */
@@ -2758,7 +2758,7 @@ declare namespace rstream {
2758
2758
  /** Close returnCode */
2759
2759
  returnCode?: (number|null);
2760
2760
 
2761
- /** Unknown fields preserved while decoding */
2761
+ /** Unknown fields preserved while decoding when enabled */
2762
2762
  $unknowns?: Uint8Array[];
2763
2763
  }
2764
2764
 
@@ -2782,7 +2782,7 @@ declare namespace rstream {
2782
2782
  */
2783
2783
  constructor(properties?: rstream.webtty.protobuf.EndOfStream.$Properties);
2784
2784
 
2785
- /** Unknown fields preserved while decoding */
2785
+ /** Unknown fields preserved while decoding when enabled */
2786
2786
  $unknowns?: Uint8Array[];
2787
2787
 
2788
2788
  /**
@@ -2869,7 +2869,7 @@ declare namespace rstream {
2869
2869
  /** Properties of an EndOfStream. */
2870
2870
  interface $Properties {
2871
2871
 
2872
- /** Unknown fields preserved while decoding */
2872
+ /** Unknown fields preserved while decoding when enabled */
2873
2873
  $unknowns?: Uint8Array[];
2874
2874
  }
2875
2875
 
@@ -2893,7 +2893,7 @@ declare namespace rstream {
2893
2893
  */
2894
2894
  constructor(properties?: rstream.webtty.protobuf.EncryptedPayload.$Properties);
2895
2895
 
2896
- /** Unknown fields preserved while decoding */
2896
+ /** Unknown fields preserved while decoding when enabled */
2897
2897
  $unknowns?: Uint8Array[];
2898
2898
 
2899
2899
  /** EncryptedPayload ciphertext. */
@@ -2998,7 +2998,7 @@ declare namespace rstream {
2998
2998
  /** EncryptedPayload payloadCrypto */
2999
2999
  payloadCrypto?: (rstream.webtty.protobuf.PayloadCrypto.$Properties|null);
3000
3000
 
3001
- /** Unknown fields preserved while decoding */
3001
+ /** Unknown fields preserved while decoding when enabled */
3002
3002
  $unknowns?: Uint8Array[];
3003
3003
  }
3004
3004
 
@@ -3022,7 +3022,7 @@ declare namespace rstream {
3022
3022
  */
3023
3023
  constructor(properties?: rstream.webtty.protobuf.Data.$Properties);
3024
3024
 
3025
- /** Unknown fields preserved while decoding */
3025
+ /** Unknown fields preserved while decoding when enabled */
3026
3026
  $unknowns?: Uint8Array[];
3027
3027
 
3028
3028
  /** Data type. */
@@ -3139,20 +3139,20 @@ declare namespace rstream {
3139
3139
  /** Data payload */
3140
3140
  payload?: ("data"|"eos"|"encryptedData");
3141
3141
 
3142
- /** Unknown fields preserved while decoding */
3142
+ /** Unknown fields preserved while decoding when enabled */
3143
3143
  $unknowns?: Uint8Array[];
3144
3144
  }
3145
3145
 
3146
3146
  /** Narrowed shape of a Data. */
3147
3147
  type $Shape = {
3148
- type?: rstream.webtty.protobuf.Data.Type|null;
3149
- data?: Uint8Array|null;
3150
- eos?: rstream.webtty.protobuf.EndOfStream.$Shape|null;
3151
- encryptedData?: rstream.webtty.protobuf.EncryptedPayload.$Shape|null;
3152
- $unknowns?: Uint8Array[];
3153
- } & (
3154
- ({ payload?: undefined; data?: null; eos?: null; encryptedData?: null }|{ payload?: "data"; data: Uint8Array; eos?: null; encryptedData?: null }|{ payload?: "eos"; data?: null; eos: rstream.webtty.protobuf.EndOfStream.$Shape; encryptedData?: null }|{ payload?: "encryptedData"; data?: null; eos?: null; encryptedData: rstream.webtty.protobuf.EncryptedPayload.$Shape })
3155
- );
3148
+ type?: rstream.webtty.protobuf.Data.Type|null;
3149
+ data?: Uint8Array|null;
3150
+ eos?: rstream.webtty.protobuf.EndOfStream.$Shape|null;
3151
+ encryptedData?: rstream.webtty.protobuf.EncryptedPayload.$Shape|null;
3152
+ $unknowns?: Uint8Array[];
3153
+ } & (
3154
+ ({ payload?: undefined; data?: null; eos?: null; encryptedData?: null }|{ payload?: "data"; data: Uint8Array; eos?: null; encryptedData?: null }|{ payload?: "eos"; data?: null; eos: rstream.webtty.protobuf.EndOfStream.$Shape; encryptedData?: null }|{ payload?: "encryptedData"; data?: null; eos?: null; encryptedData: rstream.webtty.protobuf.EncryptedPayload.$Shape })
3155
+ );
3156
3156
 
3157
3157
  /** Type enum. */
3158
3158
  enum Type {
@@ -3184,7 +3184,7 @@ declare namespace rstream {
3184
3184
  */
3185
3185
  constructor(properties?: rstream.webtty.protobuf.TerminalSize.$Properties);
3186
3186
 
3187
- /** Unknown fields preserved while decoding */
3187
+ /** Unknown fields preserved while decoding when enabled */
3188
3188
  $unknowns?: Uint8Array[];
3189
3189
 
3190
3190
  /** TerminalSize row. */
@@ -3295,7 +3295,7 @@ declare namespace rstream {
3295
3295
  /** TerminalSize ypixel */
3296
3296
  ypixel?: (number|null);
3297
3297
 
3298
- /** Unknown fields preserved while decoding */
3298
+ /** Unknown fields preserved while decoding when enabled */
3299
3299
  $unknowns?: Uint8Array[];
3300
3300
  }
3301
3301
 
@@ -3319,7 +3319,7 @@ declare namespace rstream {
3319
3319
  */
3320
3320
  constructor(properties?: rstream.webtty.protobuf.Parameter.$Properties);
3321
3321
 
3322
- /** Unknown fields preserved while decoding */
3322
+ /** Unknown fields preserved while decoding when enabled */
3323
3323
  $unknowns?: Uint8Array[];
3324
3324
 
3325
3325
  /** Parameter terminalSize. */
@@ -3418,17 +3418,17 @@ declare namespace rstream {
3418
3418
  /** Parameter parameter */
3419
3419
  parameter?: "terminalSize";
3420
3420
 
3421
- /** Unknown fields preserved while decoding */
3421
+ /** Unknown fields preserved while decoding when enabled */
3422
3422
  $unknowns?: Uint8Array[];
3423
3423
  }
3424
3424
 
3425
3425
  /** Narrowed shape of a Parameter. */
3426
3426
  type $Shape = {
3427
- terminalSize?: rstream.webtty.protobuf.TerminalSize.$Shape|null;
3428
- $unknowns?: Uint8Array[];
3429
- } & (
3430
- ({ parameter?: undefined; terminalSize?: null }|{ parameter?: "terminalSize"; terminalSize: rstream.webtty.protobuf.TerminalSize.$Shape })
3431
- );
3427
+ terminalSize?: rstream.webtty.protobuf.TerminalSize.$Shape|null;
3428
+ $unknowns?: Uint8Array[];
3429
+ } & (
3430
+ ({ parameter?: undefined; terminalSize?: null }|{ parameter?: "terminalSize"; terminalSize: rstream.webtty.protobuf.TerminalSize.$Shape })
3431
+ );
3432
3432
  }
3433
3433
 
3434
3434
  /**
@@ -3447,7 +3447,7 @@ declare namespace rstream {
3447
3447
  */
3448
3448
  constructor(properties?: rstream.webtty.protobuf.Heartbeat.$Properties);
3449
3449
 
3450
- /** Unknown fields preserved while decoding */
3450
+ /** Unknown fields preserved while decoding when enabled */
3451
3451
  $unknowns?: Uint8Array[];
3452
3452
 
3453
3453
  /**
@@ -3534,7 +3534,7 @@ declare namespace rstream {
3534
3534
  /** Properties of a Heartbeat. */
3535
3535
  interface $Properties {
3536
3536
 
3537
- /** Unknown fields preserved while decoding */
3537
+ /** Unknown fields preserved while decoding when enabled */
3538
3538
  $unknowns?: Uint8Array[];
3539
3539
  }
3540
3540
 
@@ -3558,7 +3558,7 @@ declare namespace rstream {
3558
3558
  */
3559
3559
  constructor(properties?: rstream.webtty.protobuf.Message.$Properties);
3560
3560
 
3561
- /** Unknown fields preserved while decoding */
3561
+ /** Unknown fields preserved while decoding when enabled */
3562
3562
  $unknowns?: Uint8Array[];
3563
3563
 
3564
3564
  /** Message open. */
@@ -3717,27 +3717,27 @@ declare namespace rstream {
3717
3717
  /** Message payload */
3718
3718
  payload?: ("open"|"ack"|"error"|"close"|"data"|"parameter"|"heartbeat"|"attach"|"serverHello"|"protocolError"|"clientHello");
3719
3719
 
3720
- /** Unknown fields preserved while decoding */
3720
+ /** Unknown fields preserved while decoding when enabled */
3721
3721
  $unknowns?: Uint8Array[];
3722
3722
  }
3723
3723
 
3724
3724
  /** Narrowed shape of a Message. */
3725
3725
  type $Shape = {
3726
- open?: rstream.webtty.protobuf.Open.$Shape|null;
3727
- ack?: rstream.webtty.protobuf.Ack.$Shape|null;
3728
- error?: rstream.webtty.protobuf.Error.$Shape|null;
3729
- close?: rstream.webtty.protobuf.Close.$Shape|null;
3730
- data?: rstream.webtty.protobuf.Data.$Shape|null;
3731
- parameter?: rstream.webtty.protobuf.Parameter.$Shape|null;
3732
- heartbeat?: rstream.webtty.protobuf.Heartbeat.$Shape|null;
3733
- attach?: rstream.webtty.protobuf.Attach.$Shape|null;
3734
- serverHello?: rstream.webtty.protobuf.ServerHello.$Shape|null;
3735
- protocolError?: rstream.webtty.protobuf.ProtocolError.$Shape|null;
3736
- clientHello?: rstream.webtty.protobuf.ClientHello.$Shape|null;
3737
- $unknowns?: Uint8Array[];
3738
- } & (
3739
- ({ payload?: undefined; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "open"; open: rstream.webtty.protobuf.Open.$Shape; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "ack"; open?: null; ack: rstream.webtty.protobuf.Ack.$Shape; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "error"; open?: null; ack?: null; error: rstream.webtty.protobuf.Error.$Shape; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "close"; open?: null; ack?: null; error?: null; close: rstream.webtty.protobuf.Close.$Shape; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "data"; open?: null; ack?: null; error?: null; close?: null; data: rstream.webtty.protobuf.Data.$Shape; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "parameter"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter: rstream.webtty.protobuf.Parameter.$Shape; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "heartbeat"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat: rstream.webtty.protobuf.Heartbeat.$Shape; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "attach"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach: rstream.webtty.protobuf.Attach.$Shape; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "serverHello"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello: rstream.webtty.protobuf.ServerHello.$Shape; protocolError?: null; clientHello?: null }|{ payload?: "protocolError"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError: rstream.webtty.protobuf.ProtocolError.$Shape; clientHello?: null }|{ payload?: "clientHello"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello: rstream.webtty.protobuf.ClientHello.$Shape })
3740
- );
3726
+ open?: rstream.webtty.protobuf.Open.$Shape|null;
3727
+ ack?: rstream.webtty.protobuf.Ack.$Shape|null;
3728
+ error?: rstream.webtty.protobuf.Error.$Shape|null;
3729
+ close?: rstream.webtty.protobuf.Close.$Shape|null;
3730
+ data?: rstream.webtty.protobuf.Data.$Shape|null;
3731
+ parameter?: rstream.webtty.protobuf.Parameter.$Shape|null;
3732
+ heartbeat?: rstream.webtty.protobuf.Heartbeat.$Shape|null;
3733
+ attach?: rstream.webtty.protobuf.Attach.$Shape|null;
3734
+ serverHello?: rstream.webtty.protobuf.ServerHello.$Shape|null;
3735
+ protocolError?: rstream.webtty.protobuf.ProtocolError.$Shape|null;
3736
+ clientHello?: rstream.webtty.protobuf.ClientHello.$Shape|null;
3737
+ $unknowns?: Uint8Array[];
3738
+ } & (
3739
+ ({ payload?: undefined; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "open"; open: rstream.webtty.protobuf.Open.$Shape; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "ack"; open?: null; ack: rstream.webtty.protobuf.Ack.$Shape; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "error"; open?: null; ack?: null; error: rstream.webtty.protobuf.Error.$Shape; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "close"; open?: null; ack?: null; error?: null; close: rstream.webtty.protobuf.Close.$Shape; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "data"; open?: null; ack?: null; error?: null; close?: null; data: rstream.webtty.protobuf.Data.$Shape; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "parameter"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter: rstream.webtty.protobuf.Parameter.$Shape; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "heartbeat"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat: rstream.webtty.protobuf.Heartbeat.$Shape; attach?: null; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "attach"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach: rstream.webtty.protobuf.Attach.$Shape; serverHello?: null; protocolError?: null; clientHello?: null }|{ payload?: "serverHello"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello: rstream.webtty.protobuf.ServerHello.$Shape; protocolError?: null; clientHello?: null }|{ payload?: "protocolError"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError: rstream.webtty.protobuf.ProtocolError.$Shape; clientHello?: null }|{ payload?: "clientHello"; open?: null; ack?: null; error?: null; close?: null; data?: null; parameter?: null; heartbeat?: null; attach?: null; serverHello?: null; protocolError?: null; clientHello: rstream.webtty.protobuf.ClientHello.$Shape })
3740
+ );
3741
3741
  }
3742
3742
  }
3743
3743
  }
@@ -3765,7 +3765,7 @@ declare namespace google {
3765
3765
  */
3766
3766
  constructor(properties?: google.protobuf.DoubleValue.$Properties);
3767
3767
 
3768
- /** Unknown fields preserved while decoding */
3768
+ /** Unknown fields preserved while decoding when enabled */
3769
3769
  $unknowns?: Uint8Array[];
3770
3770
 
3771
3771
  /** DoubleValue value. */
@@ -3858,7 +3858,7 @@ declare namespace google {
3858
3858
  /** DoubleValue value */
3859
3859
  value?: (number|null);
3860
3860
 
3861
- /** Unknown fields preserved while decoding */
3861
+ /** Unknown fields preserved while decoding when enabled */
3862
3862
  $unknowns?: Uint8Array[];
3863
3863
  }
3864
3864
 
@@ -3882,7 +3882,7 @@ declare namespace google {
3882
3882
  */
3883
3883
  constructor(properties?: google.protobuf.FloatValue.$Properties);
3884
3884
 
3885
- /** Unknown fields preserved while decoding */
3885
+ /** Unknown fields preserved while decoding when enabled */
3886
3886
  $unknowns?: Uint8Array[];
3887
3887
 
3888
3888
  /** FloatValue value. */
@@ -3975,7 +3975,7 @@ declare namespace google {
3975
3975
  /** FloatValue value */
3976
3976
  value?: (number|null);
3977
3977
 
3978
- /** Unknown fields preserved while decoding */
3978
+ /** Unknown fields preserved while decoding when enabled */
3979
3979
  $unknowns?: Uint8Array[];
3980
3980
  }
3981
3981
 
@@ -3999,7 +3999,7 @@ declare namespace google {
3999
3999
  */
4000
4000
  constructor(properties?: google.protobuf.Int64Value.$Properties);
4001
4001
 
4002
- /** Unknown fields preserved while decoding */
4002
+ /** Unknown fields preserved while decoding when enabled */
4003
4003
  $unknowns?: Uint8Array[];
4004
4004
 
4005
4005
  /** Int64Value value. */
@@ -4092,7 +4092,7 @@ declare namespace google {
4092
4092
  /** Int64Value value */
4093
4093
  value?: (number|Long|null);
4094
4094
 
4095
- /** Unknown fields preserved while decoding */
4095
+ /** Unknown fields preserved while decoding when enabled */
4096
4096
  $unknowns?: Uint8Array[];
4097
4097
  }
4098
4098
 
@@ -4116,7 +4116,7 @@ declare namespace google {
4116
4116
  */
4117
4117
  constructor(properties?: google.protobuf.UInt64Value.$Properties);
4118
4118
 
4119
- /** Unknown fields preserved while decoding */
4119
+ /** Unknown fields preserved while decoding when enabled */
4120
4120
  $unknowns?: Uint8Array[];
4121
4121
 
4122
4122
  /** UInt64Value value. */
@@ -4209,7 +4209,7 @@ declare namespace google {
4209
4209
  /** UInt64Value value */
4210
4210
  value?: (number|Long|null);
4211
4211
 
4212
- /** Unknown fields preserved while decoding */
4212
+ /** Unknown fields preserved while decoding when enabled */
4213
4213
  $unknowns?: Uint8Array[];
4214
4214
  }
4215
4215
 
@@ -4233,7 +4233,7 @@ declare namespace google {
4233
4233
  */
4234
4234
  constructor(properties?: google.protobuf.Int32Value.$Properties);
4235
4235
 
4236
- /** Unknown fields preserved while decoding */
4236
+ /** Unknown fields preserved while decoding when enabled */
4237
4237
  $unknowns?: Uint8Array[];
4238
4238
 
4239
4239
  /** Int32Value value. */
@@ -4326,7 +4326,7 @@ declare namespace google {
4326
4326
  /** Int32Value value */
4327
4327
  value?: (number|null);
4328
4328
 
4329
- /** Unknown fields preserved while decoding */
4329
+ /** Unknown fields preserved while decoding when enabled */
4330
4330
  $unknowns?: Uint8Array[];
4331
4331
  }
4332
4332
 
@@ -4350,7 +4350,7 @@ declare namespace google {
4350
4350
  */
4351
4351
  constructor(properties?: google.protobuf.UInt32Value.$Properties);
4352
4352
 
4353
- /** Unknown fields preserved while decoding */
4353
+ /** Unknown fields preserved while decoding when enabled */
4354
4354
  $unknowns?: Uint8Array[];
4355
4355
 
4356
4356
  /** UInt32Value value. */
@@ -4443,7 +4443,7 @@ declare namespace google {
4443
4443
  /** UInt32Value value */
4444
4444
  value?: (number|null);
4445
4445
 
4446
- /** Unknown fields preserved while decoding */
4446
+ /** Unknown fields preserved while decoding when enabled */
4447
4447
  $unknowns?: Uint8Array[];
4448
4448
  }
4449
4449
 
@@ -4467,7 +4467,7 @@ declare namespace google {
4467
4467
  */
4468
4468
  constructor(properties?: google.protobuf.BoolValue.$Properties);
4469
4469
 
4470
- /** Unknown fields preserved while decoding */
4470
+ /** Unknown fields preserved while decoding when enabled */
4471
4471
  $unknowns?: Uint8Array[];
4472
4472
 
4473
4473
  /** BoolValue value. */
@@ -4560,7 +4560,7 @@ declare namespace google {
4560
4560
  /** BoolValue value */
4561
4561
  value?: (boolean|null);
4562
4562
 
4563
- /** Unknown fields preserved while decoding */
4563
+ /** Unknown fields preserved while decoding when enabled */
4564
4564
  $unknowns?: Uint8Array[];
4565
4565
  }
4566
4566
 
@@ -4584,7 +4584,7 @@ declare namespace google {
4584
4584
  */
4585
4585
  constructor(properties?: google.protobuf.StringValue.$Properties);
4586
4586
 
4587
- /** Unknown fields preserved while decoding */
4587
+ /** Unknown fields preserved while decoding when enabled */
4588
4588
  $unknowns?: Uint8Array[];
4589
4589
 
4590
4590
  /** StringValue value. */
@@ -4677,7 +4677,7 @@ declare namespace google {
4677
4677
  /** StringValue value */
4678
4678
  value?: (string|null);
4679
4679
 
4680
- /** Unknown fields preserved while decoding */
4680
+ /** Unknown fields preserved while decoding when enabled */
4681
4681
  $unknowns?: Uint8Array[];
4682
4682
  }
4683
4683
 
@@ -4701,7 +4701,7 @@ declare namespace google {
4701
4701
  */
4702
4702
  constructor(properties?: google.protobuf.BytesValue.$Properties);
4703
4703
 
4704
- /** Unknown fields preserved while decoding */
4704
+ /** Unknown fields preserved while decoding when enabled */
4705
4705
  $unknowns?: Uint8Array[];
4706
4706
 
4707
4707
  /** BytesValue value. */
@@ -4794,7 +4794,7 @@ declare namespace google {
4794
4794
  /** BytesValue value */
4795
4795
  value?: (Uint8Array|null);
4796
4796
 
4797
- /** Unknown fields preserved while decoding */
4797
+ /** Unknown fields preserved while decoding when enabled */
4798
4798
  $unknowns?: Uint8Array[];
4799
4799
  }
4800
4800