@replit/protocol 0.2.73 → 0.2.75

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.
@@ -176,6 +176,7 @@ declare var npm$namespace$replit$goval$api: {|
176
176
  IDotReplitPort: Class<replit$goval$api$IDotReplitPort>,
177
177
  IDotReplitHint: Class<replit$goval$api$IDotReplitHint>,
178
178
  IGitHubImportConfig: Class<replit$goval$api$IGitHubImportConfig>,
179
+ IDeploymentConfig: Class<replit$goval$api$IDeploymentConfig>,
179
180
  INixConfig: Class<replit$goval$api$INixConfig>,
180
181
  IHostingConfig: Class<replit$goval$api$IHostingConfig>,
181
182
  IAuthConfig: Class<replit$goval$api$IAuthConfig>,
@@ -192,9 +193,6 @@ declare var npm$namespace$replit$goval$api: {|
192
193
  IDapIntegratedAdapterConfig: Class<replit$goval$api$IDapIntegratedAdapterConfig>,
193
194
  IProxyGoingAway: Class<replit$goval$api$IProxyGoingAway>,
194
195
  IFirewallDenied: Class<replit$goval$api$IFirewallDenied>,
195
- IRepl: Class<replit$goval$api$IRepl>,
196
- IResourceLimits: Class<replit$goval$api$IResourceLimits>,
197
- IPermissions: Class<replit$goval$api$IPermissions>,
198
196
  IReplToken: Class<replit$goval$api$IReplToken>,
199
197
  ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
200
198
  IReplTransfer: Class<replit$goval$api$IReplTransfer>,
@@ -362,6 +360,7 @@ declare var npm$namespace$replit$goval$api: {|
362
360
  DotReplitPort: typeof replit$goval$api$DotReplitPort,
363
361
  DotReplitHint: typeof replit$goval$api$DotReplitHint,
364
362
  GitHubImportConfig: typeof replit$goval$api$GitHubImportConfig,
363
+ DeploymentConfig: typeof replit$goval$api$DeploymentConfig,
365
364
  NixConfig: typeof replit$goval$api$NixConfig,
366
365
  HostingConfig: typeof replit$goval$api$HostingConfig,
367
366
  AuthConfig: typeof replit$goval$api$AuthConfig,
@@ -378,9 +377,6 @@ declare var npm$namespace$replit$goval$api: {|
378
377
  DapIntegratedAdapterConfig: typeof replit$goval$api$DapIntegratedAdapterConfig,
379
378
  ProxyGoingAway: typeof replit$goval$api$ProxyGoingAway,
380
379
  FirewallDenied: typeof replit$goval$api$FirewallDenied,
381
- Repl: typeof replit$goval$api$Repl,
382
- ResourceLimits: typeof replit$goval$api$ResourceLimits,
383
- Permissions: typeof replit$goval$api$Permissions,
384
380
  ReplToken: typeof replit$goval$api$ReplToken,
385
381
  TLSCertificate: typeof replit$goval$api$TLSCertificate,
386
382
  ReplTransfer: typeof replit$goval$api$ReplTransfer,
@@ -394,6 +390,7 @@ declare var npm$namespace$replit$goval$api: {|
394
390
  GovalToken: typeof replit$goval$api$GovalToken,
395
391
  GovalReplIdentity: typeof replit$goval$api$GovalReplIdentity,
396
392
  features: typeof npm$namespace$replit$goval$api$features,
393
+ repl: typeof npm$namespace$replit$goval$api$repl,
397
394
  |};
398
395
 
399
396
  /**
@@ -22397,6 +22394,14 @@ declare type replit$goval$api$IDotReplit = {|
22397
22394
  * DotReplit refreshWebViewOnFileChange
22398
22395
  */
22399
22396
  refreshWebViewOnFileChange?: string[] | null,
22397
+
22398
+ /**
22399
+ * DotReplit deployment
22400
+ */
22401
+ deployment?:
22402
+ | replit$goval$api$DeploymentConfig
22403
+ | replit$goval$api$IDeploymentConfig
22404
+ | null,
22400
22405
  |};
22401
22406
 
22402
22407
  /**
@@ -22518,6 +22523,11 @@ declare class replit$goval$api$DotReplit {
22518
22523
  */
22519
22524
  refreshWebViewOnFileChange: string[];
22520
22525
 
22526
+ /**
22527
+ * DotReplit deployment.
22528
+ */
22529
+ deployment?: replit$goval$api$DeploymentConfig | null;
22530
+
22521
22531
  /**
22522
22532
  * Creates a new DotReplit instance using the specified properties.
22523
22533
  * @param [properties] Properties to set
@@ -23123,6 +23133,136 @@ declare class replit$goval$api$GitHubImportConfig {
23123
23133
  |};
23124
23134
  }
23125
23135
 
23136
+ /**
23137
+ * Properties of a DeploymentConfig.
23138
+ */
23139
+ declare type replit$goval$api$IDeploymentConfig = {|
23140
+ /**
23141
+ * DeploymentConfig run
23142
+ */
23143
+ run?: replit$goval$api$Exec | replit$goval$api$IExec | null,
23144
+
23145
+ /**
23146
+ * DeploymentConfig build
23147
+ */
23148
+ build?: replit$goval$api$Exec | replit$goval$api$IExec | null,
23149
+ |};
23150
+
23151
+ /**
23152
+ * Represents a DeploymentConfig.
23153
+ */
23154
+ declare class replit$goval$api$DeploymentConfig {
23155
+ /**
23156
+ * Constructs a new DeploymentConfig.
23157
+ * @param [properties] Properties to set
23158
+ */
23159
+ constructor(properties?: replit$goval$api$IDeploymentConfig): this;
23160
+
23161
+ /**
23162
+ * DeploymentConfig run.
23163
+ */
23164
+ run?: replit$goval$api$Exec | null;
23165
+
23166
+ /**
23167
+ * DeploymentConfig build.
23168
+ */
23169
+ build?: replit$goval$api$Exec | null;
23170
+
23171
+ /**
23172
+ * Creates a new DeploymentConfig instance using the specified properties.
23173
+ * @param [properties] Properties to set
23174
+ * @returns DeploymentConfig instance
23175
+ */
23176
+ static create(
23177
+ properties?: replit$goval$api$IDeploymentConfig
23178
+ ): replit$goval$api$DeploymentConfig;
23179
+
23180
+ /**
23181
+ * [object Object],[object Object],[object Object]
23182
+ * @param message DeploymentConfig message or plain object to encode
23183
+ * @param [writer] Writer to encode to
23184
+ * @returns Writer
23185
+ */
23186
+ static encode(
23187
+ message: replit$goval$api$DeploymentConfig,
23188
+ writer?: $protobuf.Writer
23189
+ ): $protobuf.Writer;
23190
+
23191
+ /**
23192
+ * [object Object],[object Object],[object Object]
23193
+ * @param message DeploymentConfig message or plain object to encode
23194
+ * @param [writer] Writer to encode to
23195
+ * @returns Writer
23196
+ */
23197
+ static encodeDelimited(
23198
+ message: replit$goval$api$DeploymentConfig,
23199
+ writer?: $protobuf.Writer
23200
+ ): $protobuf.Writer;
23201
+
23202
+ /**
23203
+ * Decodes a DeploymentConfig message from the specified reader or buffer.
23204
+ * @param reader Reader or buffer to decode from
23205
+ * @param [length] Message length if known beforehand
23206
+ * @returns DeploymentConfig
23207
+ * @throws {Error} If the payload is not a reader or valid buffer
23208
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23209
+ */
23210
+ static decode(
23211
+ reader: $protobuf.Reader | Uint8Array,
23212
+ length?: number
23213
+ ): replit$goval$api$DeploymentConfig;
23214
+
23215
+ /**
23216
+ * Decodes a DeploymentConfig message from the specified reader or buffer, length delimited.
23217
+ * @param reader Reader or buffer to decode from
23218
+ * @returns DeploymentConfig
23219
+ * @throws {Error} If the payload is not a reader or valid buffer
23220
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23221
+ */
23222
+ static decodeDelimited(
23223
+ reader: $protobuf.Reader | Uint8Array
23224
+ ): replit$goval$api$DeploymentConfig;
23225
+
23226
+ /**
23227
+ * Verifies a DeploymentConfig message.
23228
+ * @param message Plain object to verify
23229
+ * @returns `null` if valid, otherwise the reason why it is not
23230
+ */
23231
+ static verify(message: {|
23232
+ [k: string]: any,
23233
+ |}): string | null;
23234
+
23235
+ /**
23236
+ * Creates a DeploymentConfig message from a plain object. Also converts values to their respective internal types.
23237
+ * @param object Plain object
23238
+ * @returns DeploymentConfig
23239
+ */
23240
+ static fromObject(object: {|
23241
+ [k: string]: any,
23242
+ |}): replit$goval$api$DeploymentConfig;
23243
+
23244
+ /**
23245
+ * Creates a plain object from a DeploymentConfig message. Also converts values to other types if specified.
23246
+ * @param message DeploymentConfig
23247
+ * @param [options] Conversion options
23248
+ * @returns Plain object
23249
+ */
23250
+ static toObject(
23251
+ message: replit$goval$api$DeploymentConfig,
23252
+ options?: $protobuf.IConversionOptions
23253
+ ): {|
23254
+ [k: string]: any,
23255
+ |};
23256
+
23257
+ /**
23258
+ * Converts this DeploymentConfig to JSON.
23259
+ * @returns JSON object
23260
+ */
23261
+ toJSON(): {|
23262
+ [k: string]: any,
23263
+ |};
23264
+ }
23265
+
23126
23266
  /**
23127
23267
  * Properties of a NixConfig.
23128
23268
  */
@@ -25399,335 +25539,239 @@ declare class replit$goval$api$FirewallDenied {
25399
25539
  }
25400
25540
 
25401
25541
  /**
25402
- * Properties of a Repl.
25542
+ * Properties of a ReplToken.
25403
25543
  */
25404
- declare type replit$goval$api$IRepl = {|
25544
+ declare type replit$goval$api$IReplToken = {|
25405
25545
  /**
25406
- * Repl id
25546
+ * ReplToken iat
25407
25547
  */
25408
- id?: string | null,
25548
+ iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
25409
25549
 
25410
25550
  /**
25411
- * Repl language
25551
+ * ReplToken exp
25412
25552
  */
25413
- language?: string | null,
25553
+ exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
25414
25554
 
25415
25555
  /**
25416
- * Repl bucket
25556
+ * ReplToken salt
25417
25557
  */
25418
- bucket?: string | null,
25558
+ salt?: string | null,
25419
25559
 
25420
25560
  /**
25421
- * Repl slug
25561
+ * ReplToken cluster
25422
25562
  */
25423
- slug?: string | null,
25563
+ cluster?: string | null,
25424
25564
 
25425
25565
  /**
25426
- * Repl user
25566
+ * ReplToken persistence
25427
25567
  */
25428
- user?: string | null,
25568
+ persistence?: $Values<typeof replit$goval$api$repl$Persistence> | null,
25429
25569
 
25430
25570
  /**
25431
- * Repl sourceRepl
25571
+ * ReplToken repl
25432
25572
  */
25433
- sourceRepl?: string | null,
25573
+ repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
25434
25574
 
25435
25575
  /**
25436
- * Repl database
25576
+ * ReplToken id
25437
25577
  */
25438
- database?: string | null,
25439
- |};
25578
+ id?:
25579
+ | replit$goval$api$ReplToken$ReplID
25580
+ | replit$goval$api$ReplToken$IReplID
25581
+ | null,
25440
25582
 
25441
- /**
25442
- * Represents a Repl.
25443
- */
25444
- declare class replit$goval$api$Repl {
25445
25583
  /**
25446
- * Constructs a new Repl.
25447
- * @param [properties] Properties to set
25584
+ * ReplToken classroom
25448
25585
  */
25449
- constructor(properties?: replit$goval$api$IRepl): this;
25586
+ classroom?:
25587
+ | replit$goval$api$ReplToken$ClassroomMetadata
25588
+ | replit$goval$api$ReplToken$IClassroomMetadata
25589
+ | null,
25450
25590
 
25451
25591
  /**
25452
- * Repl id.
25592
+ * ReplToken resourceLimits
25453
25593
  */
25454
- id: string;
25594
+ resourceLimits?:
25595
+ | replit$goval$api$repl$ResourceLimits
25596
+ | replit$goval$api$repl$IResourceLimits
25597
+ | null,
25455
25598
 
25456
25599
  /**
25457
- * Repl language.
25600
+ * ReplToken format
25458
25601
  */
25459
- language: string;
25602
+ format?: $Values<typeof replit$goval$api$ReplToken$WireFormat> | null,
25460
25603
 
25461
25604
  /**
25462
- * Repl bucket.
25605
+ * ReplToken presenced
25463
25606
  */
25464
- bucket: string;
25607
+ presenced?:
25608
+ | replit$goval$api$ReplToken$Presenced
25609
+ | replit$goval$api$ReplToken$IPresenced
25610
+ | null,
25465
25611
 
25466
25612
  /**
25467
- * Repl slug.
25613
+ * ReplToken flags
25468
25614
  */
25469
- slug: string;
25615
+ flags?: string[] | null,
25470
25616
 
25471
25617
  /**
25472
- * Repl user.
25618
+ * ReplToken permissions
25473
25619
  */
25474
- user: string;
25620
+ permissions?:
25621
+ | replit$goval$api$repl$Permissions
25622
+ | replit$goval$api$repl$IPermissions
25623
+ | null,
25475
25624
 
25476
25625
  /**
25477
- * Repl sourceRepl.
25626
+ * ReplToken features
25478
25627
  */
25479
- sourceRepl: string;
25628
+ features?:
25629
+ | (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
25630
+ | null,
25631
+ |};
25480
25632
 
25633
+ /**
25634
+ * Represents a ReplToken.
25635
+ */
25636
+ declare class replit$goval$api$ReplToken {
25481
25637
  /**
25482
- * Repl database.
25638
+ * Constructs a new ReplToken.
25639
+ * @param [properties] Properties to set
25483
25640
  */
25484
- database: string;
25641
+ constructor(properties?: replit$goval$api$IReplToken): this;
25485
25642
 
25486
25643
  /**
25487
- * Creates a new Repl instance using the specified properties.
25488
- * @param [properties] Properties to set
25489
- * @returns Repl instance
25644
+ * ReplToken iat.
25490
25645
  */
25491
- static create(properties?: replit$goval$api$IRepl): replit$goval$api$Repl;
25646
+ iat?: google$protobuf$Timestamp | null;
25492
25647
 
25493
25648
  /**
25494
- * [object Object],[object Object],[object Object]
25495
- * @param message Repl message or plain object to encode
25496
- * @param [writer] Writer to encode to
25497
- * @returns Writer
25649
+ * ReplToken exp.
25498
25650
  */
25499
- static encode(
25500
- message: replit$goval$api$Repl,
25501
- writer?: $protobuf.Writer
25502
- ): $protobuf.Writer;
25651
+ exp?: google$protobuf$Timestamp | null;
25503
25652
 
25504
25653
  /**
25505
- * [object Object],[object Object],[object Object]
25506
- * @param message Repl message or plain object to encode
25507
- * @param [writer] Writer to encode to
25508
- * @returns Writer
25654
+ * ReplToken salt.
25509
25655
  */
25510
- static encodeDelimited(
25511
- message: replit$goval$api$Repl,
25512
- writer?: $protobuf.Writer
25513
- ): $protobuf.Writer;
25656
+ salt: string;
25514
25657
 
25515
25658
  /**
25516
- * Decodes a Repl message from the specified reader or buffer.
25517
- * @param reader Reader or buffer to decode from
25518
- * @param [length] Message length if known beforehand
25519
- * @returns Repl
25520
- * @throws {Error} If the payload is not a reader or valid buffer
25521
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
25659
+ * ReplToken cluster.
25522
25660
  */
25523
- static decode(
25524
- reader: $protobuf.Reader | Uint8Array,
25525
- length?: number
25526
- ): replit$goval$api$Repl;
25661
+ cluster: string;
25527
25662
 
25528
25663
  /**
25529
- * Decodes a Repl message from the specified reader or buffer, length delimited.
25530
- * @param reader Reader or buffer to decode from
25531
- * @returns Repl
25532
- * @throws {Error} If the payload is not a reader or valid buffer
25533
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
25664
+ * ReplToken persistence.
25534
25665
  */
25535
- static decodeDelimited(
25536
- reader: $protobuf.Reader | Uint8Array
25537
- ): replit$goval$api$Repl;
25666
+ persistence: $Values<typeof replit$goval$api$repl$Persistence>;
25538
25667
 
25539
25668
  /**
25540
- * Verifies a Repl message.
25541
- * @param message Plain object to verify
25542
- * @returns `null` if valid, otherwise the reason why it is not
25669
+ * ReplToken repl.
25543
25670
  */
25544
- static verify(message: {|
25545
- [k: string]: any,
25546
- |}): string | null;
25671
+ repl?: replit$goval$api$repl$Repl | null;
25547
25672
 
25548
25673
  /**
25549
- * Creates a Repl message from a plain object. Also converts values to their respective internal types.
25550
- * @param object Plain object
25551
- * @returns Repl
25674
+ * ReplToken id.
25552
25675
  */
25553
- static fromObject(object: {|
25554
- [k: string]: any,
25555
- |}): replit$goval$api$Repl;
25676
+ id?: replit$goval$api$ReplToken$ReplID | null;
25556
25677
 
25557
25678
  /**
25558
- * Creates a plain object from a Repl message. Also converts values to other types if specified.
25559
- * @param message Repl
25560
- * @param [options] Conversion options
25561
- * @returns Plain object
25679
+ * ReplToken classroom.
25562
25680
  */
25563
- static toObject(
25564
- message: replit$goval$api$Repl,
25565
- options?: $protobuf.IConversionOptions
25566
- ): {|
25567
- [k: string]: any,
25568
- |};
25681
+ classroom?: replit$goval$api$ReplToken$ClassroomMetadata | null;
25569
25682
 
25570
25683
  /**
25571
- * Converts this Repl to JSON.
25572
- * @returns JSON object
25573
- */
25574
- toJSON(): {|
25575
- [k: string]: any,
25576
- |};
25577
- }
25578
-
25579
- /**
25580
- * Properties of a ResourceLimits.
25581
- */
25582
- declare type replit$goval$api$IResourceLimits = {|
25583
- /**
25584
- * ResourceLimits net
25585
- */
25586
- net?: boolean | null,
25587
-
25588
- /**
25589
- * ResourceLimits memory
25590
- */
25591
- memory?: number | null,
25592
-
25593
- /**
25594
- * ResourceLimits threads
25595
- */
25596
- threads?: number | null,
25597
-
25598
- /**
25599
- * ResourceLimits shares
25600
- */
25601
- shares?: number | null,
25602
-
25603
- /**
25604
- * ResourceLimits disk
25605
- */
25606
- disk?: number | null,
25607
-
25608
- /**
25609
- * ResourceLimits cache
25610
- */
25611
- cache?: $Values<typeof replit$goval$api$ResourceLimits$Cachability> | null,
25612
-
25613
- /**
25614
- * ResourceLimits restrictNetwork
25615
- */
25616
- restrictNetwork?: boolean | null,
25617
-
25618
- /**
25619
- * ResourceLimits preventWakeup
25620
- */
25621
- preventWakeup?: boolean | null,
25622
- |};
25623
-
25624
- /**
25625
- * Represents a ResourceLimits.
25626
- */
25627
- declare class replit$goval$api$ResourceLimits {
25628
- /**
25629
- * Constructs a new ResourceLimits.
25630
- * @param [properties] Properties to set
25631
- */
25632
- constructor(properties?: replit$goval$api$IResourceLimits): this;
25633
-
25634
- /**
25635
- * ResourceLimits net.
25636
- */
25637
- net: boolean;
25638
-
25639
- /**
25640
- * ResourceLimits memory.
25684
+ * ReplToken resourceLimits.
25641
25685
  */
25642
- memory: number;
25686
+ resourceLimits?: replit$goval$api$repl$ResourceLimits | null;
25643
25687
 
25644
25688
  /**
25645
- * ResourceLimits threads.
25689
+ * ReplToken format.
25646
25690
  */
25647
- threads: number;
25691
+ format: $Values<typeof replit$goval$api$ReplToken$WireFormat>;
25648
25692
 
25649
25693
  /**
25650
- * ResourceLimits shares.
25694
+ * ReplToken presenced.
25651
25695
  */
25652
- shares: number;
25696
+ presenced?: replit$goval$api$ReplToken$Presenced | null;
25653
25697
 
25654
25698
  /**
25655
- * ResourceLimits disk.
25699
+ * ReplToken flags.
25656
25700
  */
25657
- disk: number;
25701
+ flags: string[];
25658
25702
 
25659
25703
  /**
25660
- * ResourceLimits cache.
25704
+ * ReplToken permissions.
25661
25705
  */
25662
- cache: $Values<typeof replit$goval$api$ResourceLimits$Cachability>;
25706
+ permissions?: replit$goval$api$repl$Permissions | null;
25663
25707
 
25664
25708
  /**
25665
- * ResourceLimits restrictNetwork.
25709
+ * ReplToken features.
25666
25710
  */
25667
- restrictNetwork: boolean;
25711
+ features: replit$goval$api$features$Feature[];
25668
25712
 
25669
25713
  /**
25670
- * ResourceLimits preventWakeup.
25714
+ * ReplToken metadata.
25671
25715
  */
25672
- preventWakeup: boolean;
25716
+ metadata?: "repl" | "id" | "classroom";
25673
25717
 
25674
25718
  /**
25675
- * Creates a new ResourceLimits instance using the specified properties.
25719
+ * Creates a new ReplToken instance using the specified properties.
25676
25720
  * @param [properties] Properties to set
25677
- * @returns ResourceLimits instance
25721
+ * @returns ReplToken instance
25678
25722
  */
25679
25723
  static create(
25680
- properties?: replit$goval$api$IResourceLimits
25681
- ): replit$goval$api$ResourceLimits;
25724
+ properties?: replit$goval$api$IReplToken
25725
+ ): replit$goval$api$ReplToken;
25682
25726
 
25683
25727
  /**
25684
25728
  * [object Object],[object Object],[object Object]
25685
- * @param message ResourceLimits message or plain object to encode
25729
+ * @param message ReplToken message or plain object to encode
25686
25730
  * @param [writer] Writer to encode to
25687
25731
  * @returns Writer
25688
25732
  */
25689
25733
  static encode(
25690
- message: replit$goval$api$ResourceLimits,
25734
+ message: replit$goval$api$ReplToken,
25691
25735
  writer?: $protobuf.Writer
25692
25736
  ): $protobuf.Writer;
25693
25737
 
25694
25738
  /**
25695
25739
  * [object Object],[object Object],[object Object]
25696
- * @param message ResourceLimits message or plain object to encode
25740
+ * @param message ReplToken message or plain object to encode
25697
25741
  * @param [writer] Writer to encode to
25698
25742
  * @returns Writer
25699
25743
  */
25700
25744
  static encodeDelimited(
25701
- message: replit$goval$api$ResourceLimits,
25745
+ message: replit$goval$api$ReplToken,
25702
25746
  writer?: $protobuf.Writer
25703
25747
  ): $protobuf.Writer;
25704
25748
 
25705
25749
  /**
25706
- * Decodes a ResourceLimits message from the specified reader or buffer.
25750
+ * Decodes a ReplToken message from the specified reader or buffer.
25707
25751
  * @param reader Reader or buffer to decode from
25708
25752
  * @param [length] Message length if known beforehand
25709
- * @returns ResourceLimits
25753
+ * @returns ReplToken
25710
25754
  * @throws {Error} If the payload is not a reader or valid buffer
25711
25755
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
25712
25756
  */
25713
25757
  static decode(
25714
25758
  reader: $protobuf.Reader | Uint8Array,
25715
25759
  length?: number
25716
- ): replit$goval$api$ResourceLimits;
25760
+ ): replit$goval$api$ReplToken;
25717
25761
 
25718
25762
  /**
25719
- * Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
25763
+ * Decodes a ReplToken message from the specified reader or buffer, length delimited.
25720
25764
  * @param reader Reader or buffer to decode from
25721
- * @returns ResourceLimits
25765
+ * @returns ReplToken
25722
25766
  * @throws {Error} If the payload is not a reader or valid buffer
25723
25767
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
25724
25768
  */
25725
25769
  static decodeDelimited(
25726
25770
  reader: $protobuf.Reader | Uint8Array
25727
- ): replit$goval$api$ResourceLimits;
25771
+ ): replit$goval$api$ReplToken;
25728
25772
 
25729
25773
  /**
25730
- * Verifies a ResourceLimits message.
25774
+ * Verifies a ReplToken message.
25731
25775
  * @param message Plain object to verify
25732
25776
  * @returns `null` if valid, otherwise the reason why it is not
25733
25777
  */
@@ -25736,129 +25780,135 @@ declare class replit$goval$api$ResourceLimits {
25736
25780
  |}): string | null;
25737
25781
 
25738
25782
  /**
25739
- * Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
25783
+ * Creates a ReplToken message from a plain object. Also converts values to their respective internal types.
25740
25784
  * @param object Plain object
25741
- * @returns ResourceLimits
25785
+ * @returns ReplToken
25742
25786
  */
25743
25787
  static fromObject(object: {|
25744
25788
  [k: string]: any,
25745
- |}): replit$goval$api$ResourceLimits;
25789
+ |}): replit$goval$api$ReplToken;
25746
25790
 
25747
25791
  /**
25748
- * Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
25749
- * @param message ResourceLimits
25792
+ * Creates a plain object from a ReplToken message. Also converts values to other types if specified.
25793
+ * @param message ReplToken
25750
25794
  * @param [options] Conversion options
25751
25795
  * @returns Plain object
25752
25796
  */
25753
25797
  static toObject(
25754
- message: replit$goval$api$ResourceLimits,
25798
+ message: replit$goval$api$ReplToken,
25755
25799
  options?: $protobuf.IConversionOptions
25756
25800
  ): {|
25757
25801
  [k: string]: any,
25758
25802
  |};
25759
25803
 
25760
25804
  /**
25761
- * Converts this ResourceLimits to JSON.
25805
+ * Converts this ReplToken to JSON.
25762
25806
  * @returns JSON object
25763
25807
  */
25764
25808
  toJSON(): {|
25765
25809
  [k: string]: any,
25766
25810
  |};
25767
- static Cachability: typeof replit$goval$api$ResourceLimits$Cachability;
25811
+ static WireFormat: typeof replit$goval$api$ReplToken$WireFormat;
25812
+ static IClassroomMetadata: Class<replit$goval$api$ReplToken$IClassroomMetadata>;
25813
+ static IReplID: Class<replit$goval$api$ReplToken$IReplID>;
25814
+ static IPresenced: Class<replit$goval$api$ReplToken$IPresenced>;
25815
+ static ClassroomMetadata: typeof replit$goval$api$ReplToken$ClassroomMetadata;
25816
+ static ReplID: typeof replit$goval$api$ReplToken$ReplID;
25817
+ static Presenced: typeof replit$goval$api$ReplToken$Presenced;
25768
25818
  }
25769
25819
 
25770
25820
  /**
25771
- * Cachability enum.
25821
+ * Properties of a ClassroomMetadata.
25772
25822
  */
25823
+ declare type replit$goval$api$ReplToken$IClassroomMetadata = {|
25824
+ /**
25825
+ * ClassroomMetadata id
25826
+ */
25827
+ id?: string | null,
25773
25828
 
25774
- declare var replit$goval$api$ResourceLimits$Cachability: {|
25775
- +NONE: 0, // 0
25776
- +USER: 1, // 1
25777
- +REPL: 2, // 2
25778
- |};
25779
-
25780
- /**
25781
- * Properties of a Permissions.
25782
- */
25783
- declare type replit$goval$api$IPermissions = {|
25784
25829
  /**
25785
- * Permissions toggleAlwaysOn
25830
+ * ClassroomMetadata language
25786
25831
  */
25787
- toggleAlwaysOn?: boolean | null,
25832
+ language?: string | null,
25788
25833
  |};
25789
25834
 
25790
25835
  /**
25791
- * Represents a Permissions.
25836
+ * Represents a ClassroomMetadata.
25792
25837
  */
25793
- declare class replit$goval$api$Permissions {
25838
+ declare class replit$goval$api$ReplToken$ClassroomMetadata {
25794
25839
  /**
25795
- * Constructs a new Permissions.
25840
+ * Constructs a new ClassroomMetadata.
25796
25841
  * @param [properties] Properties to set
25797
25842
  */
25798
- constructor(properties?: replit$goval$api$IPermissions): this;
25843
+ constructor(properties?: replit$goval$api$ReplToken$IClassroomMetadata): this;
25799
25844
 
25800
25845
  /**
25801
- * Permissions toggleAlwaysOn.
25846
+ * ClassroomMetadata id.
25802
25847
  */
25803
- toggleAlwaysOn: boolean;
25848
+ id: string;
25804
25849
 
25805
25850
  /**
25806
- * Creates a new Permissions instance using the specified properties.
25851
+ * ClassroomMetadata language.
25852
+ */
25853
+ language: string;
25854
+
25855
+ /**
25856
+ * Creates a new ClassroomMetadata instance using the specified properties.
25807
25857
  * @param [properties] Properties to set
25808
- * @returns Permissions instance
25858
+ * @returns ClassroomMetadata instance
25809
25859
  */
25810
25860
  static create(
25811
- properties?: replit$goval$api$IPermissions
25812
- ): replit$goval$api$Permissions;
25861
+ properties?: replit$goval$api$ReplToken$IClassroomMetadata
25862
+ ): replit$goval$api$ReplToken$ClassroomMetadata;
25813
25863
 
25814
25864
  /**
25815
25865
  * [object Object],[object Object],[object Object]
25816
- * @param message Permissions message or plain object to encode
25866
+ * @param message ClassroomMetadata message or plain object to encode
25817
25867
  * @param [writer] Writer to encode to
25818
25868
  * @returns Writer
25819
25869
  */
25820
25870
  static encode(
25821
- message: replit$goval$api$Permissions,
25871
+ message: replit$goval$api$ReplToken$ClassroomMetadata,
25822
25872
  writer?: $protobuf.Writer
25823
25873
  ): $protobuf.Writer;
25824
25874
 
25825
25875
  /**
25826
25876
  * [object Object],[object Object],[object Object]
25827
- * @param message Permissions message or plain object to encode
25877
+ * @param message ClassroomMetadata message or plain object to encode
25828
25878
  * @param [writer] Writer to encode to
25829
25879
  * @returns Writer
25830
25880
  */
25831
25881
  static encodeDelimited(
25832
- message: replit$goval$api$Permissions,
25882
+ message: replit$goval$api$ReplToken$ClassroomMetadata,
25833
25883
  writer?: $protobuf.Writer
25834
25884
  ): $protobuf.Writer;
25835
25885
 
25836
25886
  /**
25837
- * Decodes a Permissions message from the specified reader or buffer.
25887
+ * Decodes a ClassroomMetadata message from the specified reader or buffer.
25838
25888
  * @param reader Reader or buffer to decode from
25839
25889
  * @param [length] Message length if known beforehand
25840
- * @returns Permissions
25890
+ * @returns ClassroomMetadata
25841
25891
  * @throws {Error} If the payload is not a reader or valid buffer
25842
25892
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
25843
25893
  */
25844
25894
  static decode(
25845
25895
  reader: $protobuf.Reader | Uint8Array,
25846
25896
  length?: number
25847
- ): replit$goval$api$Permissions;
25897
+ ): replit$goval$api$ReplToken$ClassroomMetadata;
25848
25898
 
25849
25899
  /**
25850
- * Decodes a Permissions message from the specified reader or buffer, length delimited.
25900
+ * Decodes a ClassroomMetadata message from the specified reader or buffer, length delimited.
25851
25901
  * @param reader Reader or buffer to decode from
25852
- * @returns Permissions
25902
+ * @returns ClassroomMetadata
25853
25903
  * @throws {Error} If the payload is not a reader or valid buffer
25854
25904
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
25855
25905
  */
25856
25906
  static decodeDelimited(
25857
25907
  reader: $protobuf.Reader | Uint8Array
25858
- ): replit$goval$api$Permissions;
25908
+ ): replit$goval$api$ReplToken$ClassroomMetadata;
25859
25909
 
25860
25910
  /**
25861
- * Verifies a Permissions message.
25911
+ * Verifies a ClassroomMetadata message.
25862
25912
  * @param message Plain object to verify
25863
25913
  * @returns `null` if valid, otherwise the reason why it is not
25864
25914
  */
@@ -25867,29 +25917,29 @@ declare class replit$goval$api$Permissions {
25867
25917
  |}): string | null;
25868
25918
 
25869
25919
  /**
25870
- * Creates a Permissions message from a plain object. Also converts values to their respective internal types.
25920
+ * Creates a ClassroomMetadata message from a plain object. Also converts values to their respective internal types.
25871
25921
  * @param object Plain object
25872
- * @returns Permissions
25922
+ * @returns ClassroomMetadata
25873
25923
  */
25874
25924
  static fromObject(object: {|
25875
25925
  [k: string]: any,
25876
- |}): replit$goval$api$Permissions;
25926
+ |}): replit$goval$api$ReplToken$ClassroomMetadata;
25877
25927
 
25878
25928
  /**
25879
- * Creates a plain object from a Permissions message. Also converts values to other types if specified.
25880
- * @param message Permissions
25929
+ * Creates a plain object from a ClassroomMetadata message. Also converts values to other types if specified.
25930
+ * @param message ClassroomMetadata
25881
25931
  * @param [options] Conversion options
25882
25932
  * @returns Plain object
25883
25933
  */
25884
25934
  static toObject(
25885
- message: replit$goval$api$Permissions,
25935
+ message: replit$goval$api$ReplToken$ClassroomMetadata,
25886
25936
  options?: $protobuf.IConversionOptions
25887
25937
  ): {|
25888
25938
  [k: string]: any,
25889
25939
  |};
25890
25940
 
25891
25941
  /**
25892
- * Converts this Permissions to JSON.
25942
+ * Converts this ClassroomMetadata to JSON.
25893
25943
  * @returns JSON object
25894
25944
  */
25895
25945
  toJSON(): {|
@@ -25898,239 +25948,366 @@ declare class replit$goval$api$Permissions {
25898
25948
  }
25899
25949
 
25900
25950
  /**
25901
- * Properties of a ReplToken.
25951
+ * Properties of a ReplID.
25902
25952
  */
25903
- declare type replit$goval$api$IReplToken = {|
25953
+ declare type replit$goval$api$ReplToken$IReplID = {|
25904
25954
  /**
25905
- * ReplToken iat
25955
+ * ReplID id
25906
25956
  */
25907
- iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
25957
+ id?: string | null,
25908
25958
 
25909
25959
  /**
25910
- * ReplToken exp
25960
+ * ReplID sourceRepl
25911
25961
  */
25912
- exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
25962
+ sourceRepl?: string | null,
25963
+ |};
25913
25964
 
25965
+ /**
25966
+ * Represents a ReplID.
25967
+ */
25968
+ declare class replit$goval$api$ReplToken$ReplID {
25914
25969
  /**
25915
- * ReplToken salt
25970
+ * Constructs a new ReplID.
25971
+ * @param [properties] Properties to set
25916
25972
  */
25917
- salt?: string | null,
25973
+ constructor(properties?: replit$goval$api$ReplToken$IReplID): this;
25918
25974
 
25919
25975
  /**
25920
- * ReplToken cluster
25976
+ * ReplID id.
25921
25977
  */
25922
- cluster?: string | null,
25978
+ id: string;
25923
25979
 
25924
25980
  /**
25925
- * ReplToken persistence
25981
+ * ReplID sourceRepl.
25926
25982
  */
25927
- persistence?: $Values<typeof replit$goval$api$ReplToken$Persistence> | null,
25983
+ sourceRepl: string;
25928
25984
 
25929
25985
  /**
25930
- * ReplToken repl
25986
+ * Creates a new ReplID instance using the specified properties.
25987
+ * @param [properties] Properties to set
25988
+ * @returns ReplID instance
25931
25989
  */
25932
- repl?: replit$goval$api$Repl | replit$goval$api$IRepl | null,
25990
+ static create(
25991
+ properties?: replit$goval$api$ReplToken$IReplID
25992
+ ): replit$goval$api$ReplToken$ReplID;
25933
25993
 
25934
25994
  /**
25935
- * ReplToken id
25995
+ * [object Object],[object Object],[object Object]
25996
+ * @param message ReplID message or plain object to encode
25997
+ * @param [writer] Writer to encode to
25998
+ * @returns Writer
25936
25999
  */
25937
- id?:
25938
- | replit$goval$api$ReplToken$ReplID
25939
- | replit$goval$api$ReplToken$IReplID
25940
- | null,
26000
+ static encode(
26001
+ message: replit$goval$api$ReplToken$ReplID,
26002
+ writer?: $protobuf.Writer
26003
+ ): $protobuf.Writer;
25941
26004
 
25942
26005
  /**
25943
- * ReplToken classroom
26006
+ * [object Object],[object Object],[object Object]
26007
+ * @param message ReplID message or plain object to encode
26008
+ * @param [writer] Writer to encode to
26009
+ * @returns Writer
25944
26010
  */
25945
- classroom?:
25946
- | replit$goval$api$ReplToken$ClassroomMetadata
25947
- | replit$goval$api$ReplToken$IClassroomMetadata
25948
- | null,
26011
+ static encodeDelimited(
26012
+ message: replit$goval$api$ReplToken$ReplID,
26013
+ writer?: $protobuf.Writer
26014
+ ): $protobuf.Writer;
25949
26015
 
25950
26016
  /**
25951
- * ReplToken resourceLimits
26017
+ * Decodes a ReplID message from the specified reader or buffer.
26018
+ * @param reader Reader or buffer to decode from
26019
+ * @param [length] Message length if known beforehand
26020
+ * @returns ReplID
26021
+ * @throws {Error} If the payload is not a reader or valid buffer
26022
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25952
26023
  */
25953
- resourceLimits?:
25954
- | replit$goval$api$ResourceLimits
25955
- | replit$goval$api$IResourceLimits
25956
- | null,
26024
+ static decode(
26025
+ reader: $protobuf.Reader | Uint8Array,
26026
+ length?: number
26027
+ ): replit$goval$api$ReplToken$ReplID;
25957
26028
 
25958
26029
  /**
25959
- * ReplToken format
26030
+ * Decodes a ReplID message from the specified reader or buffer, length delimited.
26031
+ * @param reader Reader or buffer to decode from
26032
+ * @returns ReplID
26033
+ * @throws {Error} If the payload is not a reader or valid buffer
26034
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25960
26035
  */
25961
- format?: $Values<typeof replit$goval$api$ReplToken$WireFormat> | null,
26036
+ static decodeDelimited(
26037
+ reader: $protobuf.Reader | Uint8Array
26038
+ ): replit$goval$api$ReplToken$ReplID;
25962
26039
 
25963
26040
  /**
25964
- * ReplToken presenced
26041
+ * Verifies a ReplID message.
26042
+ * @param message Plain object to verify
26043
+ * @returns `null` if valid, otherwise the reason why it is not
25965
26044
  */
25966
- presenced?:
25967
- | replit$goval$api$ReplToken$Presenced
25968
- | replit$goval$api$ReplToken$IPresenced
25969
- | null,
26045
+ static verify(message: {|
26046
+ [k: string]: any,
26047
+ |}): string | null;
25970
26048
 
25971
26049
  /**
25972
- * ReplToken flags
26050
+ * Creates a ReplID message from a plain object. Also converts values to their respective internal types.
26051
+ * @param object Plain object
26052
+ * @returns ReplID
25973
26053
  */
25974
- flags?: string[] | null,
26054
+ static fromObject(object: {|
26055
+ [k: string]: any,
26056
+ |}): replit$goval$api$ReplToken$ReplID;
25975
26057
 
25976
26058
  /**
25977
- * ReplToken permissions
26059
+ * Creates a plain object from a ReplID message. Also converts values to other types if specified.
26060
+ * @param message ReplID
26061
+ * @param [options] Conversion options
26062
+ * @returns Plain object
25978
26063
  */
25979
- permissions?:
25980
- | replit$goval$api$Permissions
25981
- | replit$goval$api$IPermissions
25982
- | null,
26064
+ static toObject(
26065
+ message: replit$goval$api$ReplToken$ReplID,
26066
+ options?: $protobuf.IConversionOptions
26067
+ ): {|
26068
+ [k: string]: any,
26069
+ |};
25983
26070
 
25984
26071
  /**
25985
- * ReplToken features
26072
+ * Converts this ReplID to JSON.
26073
+ * @returns JSON object
25986
26074
  */
25987
- features?:
25988
- | (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
25989
- | null,
26075
+ toJSON(): {|
26076
+ [k: string]: any,
26077
+ |};
26078
+ }
26079
+
26080
+ /**
26081
+ * WireFormat enum.
26082
+ */
26083
+
26084
+ declare var replit$goval$api$ReplToken$WireFormat: {|
26085
+ +PROTOBUF: 0, // 0
26086
+ +JSON: 1, // 1
25990
26087
  |};
25991
26088
 
25992
26089
  /**
25993
- * Represents a ReplToken.
26090
+ * Properties of a Presenced.
25994
26091
  */
25995
- declare class replit$goval$api$ReplToken {
26092
+ declare type replit$goval$api$ReplToken$IPresenced = {|
25996
26093
  /**
25997
- * Constructs a new ReplToken.
26094
+ * Presenced bearerID
26095
+ */
26096
+ bearerID?: number | null,
26097
+
26098
+ /**
26099
+ * Presenced bearerName
26100
+ */
26101
+ bearerName?: string | null,
26102
+ |};
26103
+
26104
+ /**
26105
+ * Represents a Presenced.
26106
+ */
26107
+ declare class replit$goval$api$ReplToken$Presenced {
26108
+ /**
26109
+ * Constructs a new Presenced.
25998
26110
  * @param [properties] Properties to set
25999
26111
  */
26000
- constructor(properties?: replit$goval$api$IReplToken): this;
26112
+ constructor(properties?: replit$goval$api$ReplToken$IPresenced): this;
26001
26113
 
26002
26114
  /**
26003
- * ReplToken iat.
26115
+ * Presenced bearerID.
26004
26116
  */
26005
- iat?: google$protobuf$Timestamp | null;
26117
+ bearerID: number;
26006
26118
 
26007
26119
  /**
26008
- * ReplToken exp.
26120
+ * Presenced bearerName.
26009
26121
  */
26010
- exp?: google$protobuf$Timestamp | null;
26122
+ bearerName: string;
26011
26123
 
26012
26124
  /**
26013
- * ReplToken salt.
26125
+ * Creates a new Presenced instance using the specified properties.
26126
+ * @param [properties] Properties to set
26127
+ * @returns Presenced instance
26014
26128
  */
26015
- salt: string;
26129
+ static create(
26130
+ properties?: replit$goval$api$ReplToken$IPresenced
26131
+ ): replit$goval$api$ReplToken$Presenced;
26016
26132
 
26017
26133
  /**
26018
- * ReplToken cluster.
26134
+ * [object Object],[object Object],[object Object]
26135
+ * @param message Presenced message or plain object to encode
26136
+ * @param [writer] Writer to encode to
26137
+ * @returns Writer
26019
26138
  */
26020
- cluster: string;
26139
+ static encode(
26140
+ message: replit$goval$api$ReplToken$Presenced,
26141
+ writer?: $protobuf.Writer
26142
+ ): $protobuf.Writer;
26021
26143
 
26022
26144
  /**
26023
- * ReplToken persistence.
26145
+ * [object Object],[object Object],[object Object]
26146
+ * @param message Presenced message or plain object to encode
26147
+ * @param [writer] Writer to encode to
26148
+ * @returns Writer
26024
26149
  */
26025
- persistence: $Values<typeof replit$goval$api$ReplToken$Persistence>;
26150
+ static encodeDelimited(
26151
+ message: replit$goval$api$ReplToken$Presenced,
26152
+ writer?: $protobuf.Writer
26153
+ ): $protobuf.Writer;
26026
26154
 
26027
26155
  /**
26028
- * ReplToken repl.
26156
+ * Decodes a Presenced message from the specified reader or buffer.
26157
+ * @param reader Reader or buffer to decode from
26158
+ * @param [length] Message length if known beforehand
26159
+ * @returns Presenced
26160
+ * @throws {Error} If the payload is not a reader or valid buffer
26161
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26029
26162
  */
26030
- repl?: replit$goval$api$Repl | null;
26163
+ static decode(
26164
+ reader: $protobuf.Reader | Uint8Array,
26165
+ length?: number
26166
+ ): replit$goval$api$ReplToken$Presenced;
26031
26167
 
26032
26168
  /**
26033
- * ReplToken id.
26169
+ * Decodes a Presenced message from the specified reader or buffer, length delimited.
26170
+ * @param reader Reader or buffer to decode from
26171
+ * @returns Presenced
26172
+ * @throws {Error} If the payload is not a reader or valid buffer
26173
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26034
26174
  */
26035
- id?: replit$goval$api$ReplToken$ReplID | null;
26175
+ static decodeDelimited(
26176
+ reader: $protobuf.Reader | Uint8Array
26177
+ ): replit$goval$api$ReplToken$Presenced;
26036
26178
 
26037
26179
  /**
26038
- * ReplToken classroom.
26180
+ * Verifies a Presenced message.
26181
+ * @param message Plain object to verify
26182
+ * @returns `null` if valid, otherwise the reason why it is not
26039
26183
  */
26040
- classroom?: replit$goval$api$ReplToken$ClassroomMetadata | null;
26184
+ static verify(message: {|
26185
+ [k: string]: any,
26186
+ |}): string | null;
26041
26187
 
26042
26188
  /**
26043
- * ReplToken resourceLimits.
26189
+ * Creates a Presenced message from a plain object. Also converts values to their respective internal types.
26190
+ * @param object Plain object
26191
+ * @returns Presenced
26044
26192
  */
26045
- resourceLimits?: replit$goval$api$ResourceLimits | null;
26193
+ static fromObject(object: {|
26194
+ [k: string]: any,
26195
+ |}): replit$goval$api$ReplToken$Presenced;
26046
26196
 
26047
26197
  /**
26048
- * ReplToken format.
26198
+ * Creates a plain object from a Presenced message. Also converts values to other types if specified.
26199
+ * @param message Presenced
26200
+ * @param [options] Conversion options
26201
+ * @returns Plain object
26049
26202
  */
26050
- format: $Values<typeof replit$goval$api$ReplToken$WireFormat>;
26203
+ static toObject(
26204
+ message: replit$goval$api$ReplToken$Presenced,
26205
+ options?: $protobuf.IConversionOptions
26206
+ ): {|
26207
+ [k: string]: any,
26208
+ |};
26051
26209
 
26052
26210
  /**
26053
- * ReplToken presenced.
26211
+ * Converts this Presenced to JSON.
26212
+ * @returns JSON object
26054
26213
  */
26055
- presenced?: replit$goval$api$ReplToken$Presenced | null;
26214
+ toJSON(): {|
26215
+ [k: string]: any,
26216
+ |};
26217
+ }
26056
26218
 
26219
+ /**
26220
+ * Properties of a TLSCertificate.
26221
+ */
26222
+ declare type replit$goval$api$ITLSCertificate = {|
26057
26223
  /**
26058
- * ReplToken flags.
26224
+ * TLSCertificate domain
26059
26225
  */
26060
- flags: string[];
26226
+ domain?: string | null,
26061
26227
 
26062
26228
  /**
26063
- * ReplToken permissions.
26229
+ * TLSCertificate cert
26064
26230
  */
26065
- permissions?: replit$goval$api$Permissions | null;
26231
+ cert?: Uint8Array | null,
26232
+ |};
26066
26233
 
26234
+ /**
26235
+ * Represents a TLSCertificate.
26236
+ */
26237
+ declare class replit$goval$api$TLSCertificate {
26067
26238
  /**
26068
- * ReplToken features.
26239
+ * Constructs a new TLSCertificate.
26240
+ * @param [properties] Properties to set
26069
26241
  */
26070
- features: replit$goval$api$features$Feature[];
26242
+ constructor(properties?: replit$goval$api$ITLSCertificate): this;
26071
26243
 
26072
26244
  /**
26073
- * ReplToken metadata.
26245
+ * TLSCertificate domain.
26074
26246
  */
26075
- metadata?: "repl" | "id" | "classroom";
26247
+ domain: string;
26076
26248
 
26077
26249
  /**
26078
- * Creates a new ReplToken instance using the specified properties.
26250
+ * TLSCertificate cert.
26251
+ */
26252
+ cert: Uint8Array;
26253
+
26254
+ /**
26255
+ * Creates a new TLSCertificate instance using the specified properties.
26079
26256
  * @param [properties] Properties to set
26080
- * @returns ReplToken instance
26257
+ * @returns TLSCertificate instance
26081
26258
  */
26082
26259
  static create(
26083
- properties?: replit$goval$api$IReplToken
26084
- ): replit$goval$api$ReplToken;
26260
+ properties?: replit$goval$api$ITLSCertificate
26261
+ ): replit$goval$api$TLSCertificate;
26085
26262
 
26086
26263
  /**
26087
26264
  * [object Object],[object Object],[object Object]
26088
- * @param message ReplToken message or plain object to encode
26265
+ * @param message TLSCertificate message or plain object to encode
26089
26266
  * @param [writer] Writer to encode to
26090
26267
  * @returns Writer
26091
26268
  */
26092
26269
  static encode(
26093
- message: replit$goval$api$ReplToken,
26270
+ message: replit$goval$api$TLSCertificate,
26094
26271
  writer?: $protobuf.Writer
26095
26272
  ): $protobuf.Writer;
26096
26273
 
26097
26274
  /**
26098
26275
  * [object Object],[object Object],[object Object]
26099
- * @param message ReplToken message or plain object to encode
26276
+ * @param message TLSCertificate message or plain object to encode
26100
26277
  * @param [writer] Writer to encode to
26101
26278
  * @returns Writer
26102
26279
  */
26103
26280
  static encodeDelimited(
26104
- message: replit$goval$api$ReplToken,
26281
+ message: replit$goval$api$TLSCertificate,
26105
26282
  writer?: $protobuf.Writer
26106
26283
  ): $protobuf.Writer;
26107
26284
 
26108
26285
  /**
26109
- * Decodes a ReplToken message from the specified reader or buffer.
26286
+ * Decodes a TLSCertificate message from the specified reader or buffer.
26110
26287
  * @param reader Reader or buffer to decode from
26111
26288
  * @param [length] Message length if known beforehand
26112
- * @returns ReplToken
26289
+ * @returns TLSCertificate
26113
26290
  * @throws {Error} If the payload is not a reader or valid buffer
26114
26291
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26115
26292
  */
26116
26293
  static decode(
26117
26294
  reader: $protobuf.Reader | Uint8Array,
26118
26295
  length?: number
26119
- ): replit$goval$api$ReplToken;
26296
+ ): replit$goval$api$TLSCertificate;
26120
26297
 
26121
26298
  /**
26122
- * Decodes a ReplToken message from the specified reader or buffer, length delimited.
26299
+ * Decodes a TLSCertificate message from the specified reader or buffer, length delimited.
26123
26300
  * @param reader Reader or buffer to decode from
26124
- * @returns ReplToken
26301
+ * @returns TLSCertificate
26125
26302
  * @throws {Error} If the payload is not a reader or valid buffer
26126
26303
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26127
26304
  */
26128
26305
  static decodeDelimited(
26129
26306
  reader: $protobuf.Reader | Uint8Array
26130
- ): replit$goval$api$ReplToken;
26307
+ ): replit$goval$api$TLSCertificate;
26131
26308
 
26132
26309
  /**
26133
- * Verifies a ReplToken message.
26310
+ * Verifies a TLSCertificate message.
26134
26311
  * @param message Plain object to verify
26135
26312
  * @returns `null` if valid, otherwise the reason why it is not
26136
26313
  */
@@ -26139,146 +26316,176 @@ declare class replit$goval$api$ReplToken {
26139
26316
  |}): string | null;
26140
26317
 
26141
26318
  /**
26142
- * Creates a ReplToken message from a plain object. Also converts values to their respective internal types.
26319
+ * Creates a TLSCertificate message from a plain object. Also converts values to their respective internal types.
26143
26320
  * @param object Plain object
26144
- * @returns ReplToken
26321
+ * @returns TLSCertificate
26145
26322
  */
26146
26323
  static fromObject(object: {|
26147
26324
  [k: string]: any,
26148
- |}): replit$goval$api$ReplToken;
26325
+ |}): replit$goval$api$TLSCertificate;
26149
26326
 
26150
26327
  /**
26151
- * Creates a plain object from a ReplToken message. Also converts values to other types if specified.
26152
- * @param message ReplToken
26328
+ * Creates a plain object from a TLSCertificate message. Also converts values to other types if specified.
26329
+ * @param message TLSCertificate
26153
26330
  * @param [options] Conversion options
26154
26331
  * @returns Plain object
26155
26332
  */
26156
26333
  static toObject(
26157
- message: replit$goval$api$ReplToken,
26334
+ message: replit$goval$api$TLSCertificate,
26158
26335
  options?: $protobuf.IConversionOptions
26159
26336
  ): {|
26160
26337
  [k: string]: any,
26161
26338
  |};
26162
26339
 
26163
26340
  /**
26164
- * Converts this ReplToken to JSON.
26341
+ * Converts this TLSCertificate to JSON.
26165
26342
  * @returns JSON object
26166
26343
  */
26167
26344
  toJSON(): {|
26168
26345
  [k: string]: any,
26169
26346
  |};
26170
- static Persistence: typeof replit$goval$api$ReplToken$Persistence;
26171
- static WireFormat: typeof replit$goval$api$ReplToken$WireFormat;
26172
- static IClassroomMetadata: Class<replit$goval$api$ReplToken$IClassroomMetadata>;
26173
- static IReplID: Class<replit$goval$api$ReplToken$IReplID>;
26174
- static IPresenced: Class<replit$goval$api$ReplToken$IPresenced>;
26175
- static ClassroomMetadata: typeof replit$goval$api$ReplToken$ClassroomMetadata;
26176
- static ReplID: typeof replit$goval$api$ReplToken$ReplID;
26177
- static Presenced: typeof replit$goval$api$ReplToken$Presenced;
26178
26347
  }
26179
26348
 
26180
26349
  /**
26181
- * Persistence enum.
26350
+ * Properties of a ReplTransfer.
26182
26351
  */
26352
+ declare type replit$goval$api$IReplTransfer = {|
26353
+ /**
26354
+ * ReplTransfer repl
26355
+ */
26356
+ repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
26183
26357
 
26184
- declare var replit$goval$api$ReplToken$Persistence: {|
26185
- +PERSISTENT: 0, // 0
26186
- +EPHEMERAL: 1, // 1
26187
- +NONE: 2, // 2
26188
- |};
26358
+ /**
26359
+ * ReplTransfer replLimits
26360
+ */
26361
+ replLimits?:
26362
+ | replit$goval$api$repl$ResourceLimits
26363
+ | replit$goval$api$repl$IResourceLimits
26364
+ | null,
26189
26365
 
26190
- /**
26191
- * Properties of a ClassroomMetadata.
26192
- */
26193
- declare type replit$goval$api$ReplToken$IClassroomMetadata = {|
26194
26366
  /**
26195
- * ClassroomMetadata id
26367
+ * ReplTransfer userLimits
26196
26368
  */
26197
- id?: string | null,
26369
+ userLimits?:
26370
+ | replit$goval$api$repl$ResourceLimits
26371
+ | replit$goval$api$repl$IResourceLimits
26372
+ | null,
26198
26373
 
26199
26374
  /**
26200
- * ClassroomMetadata language
26375
+ * ReplTransfer customDomains
26201
26376
  */
26202
- language?: string | null,
26377
+ customDomains?: string[] | null,
26378
+
26379
+ /**
26380
+ * ReplTransfer certificates
26381
+ */
26382
+ certificates?:
26383
+ | (replit$goval$api$TLSCertificate | replit$goval$api$ITLSCertificate)[]
26384
+ | null,
26385
+
26386
+ /**
26387
+ * ReplTransfer flags
26388
+ */
26389
+ flags?: string[] | null,
26203
26390
  |};
26204
26391
 
26205
26392
  /**
26206
- * Represents a ClassroomMetadata.
26393
+ * Represents a ReplTransfer.
26207
26394
  */
26208
- declare class replit$goval$api$ReplToken$ClassroomMetadata {
26395
+ declare class replit$goval$api$ReplTransfer {
26209
26396
  /**
26210
- * Constructs a new ClassroomMetadata.
26397
+ * Constructs a new ReplTransfer.
26211
26398
  * @param [properties] Properties to set
26212
26399
  */
26213
- constructor(properties?: replit$goval$api$ReplToken$IClassroomMetadata): this;
26400
+ constructor(properties?: replit$goval$api$IReplTransfer): this;
26214
26401
 
26215
26402
  /**
26216
- * ClassroomMetadata id.
26403
+ * ReplTransfer repl.
26217
26404
  */
26218
- id: string;
26405
+ repl?: replit$goval$api$repl$Repl | null;
26219
26406
 
26220
26407
  /**
26221
- * ClassroomMetadata language.
26408
+ * ReplTransfer replLimits.
26222
26409
  */
26223
- language: string;
26410
+ replLimits?: replit$goval$api$repl$ResourceLimits | null;
26224
26411
 
26225
26412
  /**
26226
- * Creates a new ClassroomMetadata instance using the specified properties.
26413
+ * ReplTransfer userLimits.
26414
+ */
26415
+ userLimits?: replit$goval$api$repl$ResourceLimits | null;
26416
+
26417
+ /**
26418
+ * ReplTransfer customDomains.
26419
+ */
26420
+ customDomains: string[];
26421
+
26422
+ /**
26423
+ * ReplTransfer certificates.
26424
+ */
26425
+ certificates: replit$goval$api$TLSCertificate[];
26426
+
26427
+ /**
26428
+ * ReplTransfer flags.
26429
+ */
26430
+ flags: string[];
26431
+
26432
+ /**
26433
+ * Creates a new ReplTransfer instance using the specified properties.
26227
26434
  * @param [properties] Properties to set
26228
- * @returns ClassroomMetadata instance
26435
+ * @returns ReplTransfer instance
26229
26436
  */
26230
26437
  static create(
26231
- properties?: replit$goval$api$ReplToken$IClassroomMetadata
26232
- ): replit$goval$api$ReplToken$ClassroomMetadata;
26438
+ properties?: replit$goval$api$IReplTransfer
26439
+ ): replit$goval$api$ReplTransfer;
26233
26440
 
26234
26441
  /**
26235
26442
  * [object Object],[object Object],[object Object]
26236
- * @param message ClassroomMetadata message or plain object to encode
26443
+ * @param message ReplTransfer message or plain object to encode
26237
26444
  * @param [writer] Writer to encode to
26238
26445
  * @returns Writer
26239
26446
  */
26240
26447
  static encode(
26241
- message: replit$goval$api$ReplToken$ClassroomMetadata,
26448
+ message: replit$goval$api$ReplTransfer,
26242
26449
  writer?: $protobuf.Writer
26243
26450
  ): $protobuf.Writer;
26244
26451
 
26245
26452
  /**
26246
26453
  * [object Object],[object Object],[object Object]
26247
- * @param message ClassroomMetadata message or plain object to encode
26454
+ * @param message ReplTransfer message or plain object to encode
26248
26455
  * @param [writer] Writer to encode to
26249
26456
  * @returns Writer
26250
26457
  */
26251
26458
  static encodeDelimited(
26252
- message: replit$goval$api$ReplToken$ClassroomMetadata,
26459
+ message: replit$goval$api$ReplTransfer,
26253
26460
  writer?: $protobuf.Writer
26254
26461
  ): $protobuf.Writer;
26255
26462
 
26256
26463
  /**
26257
- * Decodes a ClassroomMetadata message from the specified reader or buffer.
26464
+ * Decodes a ReplTransfer message from the specified reader or buffer.
26258
26465
  * @param reader Reader or buffer to decode from
26259
26466
  * @param [length] Message length if known beforehand
26260
- * @returns ClassroomMetadata
26467
+ * @returns ReplTransfer
26261
26468
  * @throws {Error} If the payload is not a reader or valid buffer
26262
26469
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26263
26470
  */
26264
26471
  static decode(
26265
26472
  reader: $protobuf.Reader | Uint8Array,
26266
26473
  length?: number
26267
- ): replit$goval$api$ReplToken$ClassroomMetadata;
26474
+ ): replit$goval$api$ReplTransfer;
26268
26475
 
26269
26476
  /**
26270
- * Decodes a ClassroomMetadata message from the specified reader or buffer, length delimited.
26477
+ * Decodes a ReplTransfer message from the specified reader or buffer, length delimited.
26271
26478
  * @param reader Reader or buffer to decode from
26272
- * @returns ClassroomMetadata
26479
+ * @returns ReplTransfer
26273
26480
  * @throws {Error} If the payload is not a reader or valid buffer
26274
26481
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26275
26482
  */
26276
26483
  static decodeDelimited(
26277
26484
  reader: $protobuf.Reader | Uint8Array
26278
- ): replit$goval$api$ReplToken$ClassroomMetadata;
26485
+ ): replit$goval$api$ReplTransfer;
26279
26486
 
26280
26487
  /**
26281
- * Verifies a ClassroomMetadata message.
26488
+ * Verifies a ReplTransfer message.
26282
26489
  * @param message Plain object to verify
26283
26490
  * @returns `null` if valid, otherwise the reason why it is not
26284
26491
  */
@@ -26287,29 +26494,29 @@ declare class replit$goval$api$ReplToken$ClassroomMetadata {
26287
26494
  |}): string | null;
26288
26495
 
26289
26496
  /**
26290
- * Creates a ClassroomMetadata message from a plain object. Also converts values to their respective internal types.
26497
+ * Creates a ReplTransfer message from a plain object. Also converts values to their respective internal types.
26291
26498
  * @param object Plain object
26292
- * @returns ClassroomMetadata
26499
+ * @returns ReplTransfer
26293
26500
  */
26294
26501
  static fromObject(object: {|
26295
26502
  [k: string]: any,
26296
- |}): replit$goval$api$ReplToken$ClassroomMetadata;
26503
+ |}): replit$goval$api$ReplTransfer;
26297
26504
 
26298
26505
  /**
26299
- * Creates a plain object from a ClassroomMetadata message. Also converts values to other types if specified.
26300
- * @param message ClassroomMetadata
26506
+ * Creates a plain object from a ReplTransfer message. Also converts values to other types if specified.
26507
+ * @param message ReplTransfer
26301
26508
  * @param [options] Conversion options
26302
26509
  * @returns Plain object
26303
26510
  */
26304
26511
  static toObject(
26305
- message: replit$goval$api$ReplToken$ClassroomMetadata,
26512
+ message: replit$goval$api$ReplTransfer,
26306
26513
  options?: $protobuf.IConversionOptions
26307
26514
  ): {|
26308
26515
  [k: string]: any,
26309
26516
  |};
26310
26517
 
26311
26518
  /**
26312
- * Converts this ClassroomMetadata to JSON.
26519
+ * Converts this ReplTransfer to JSON.
26313
26520
  * @returns JSON object
26314
26521
  */
26315
26522
  toJSON(): {|
@@ -26318,97 +26525,90 @@ declare class replit$goval$api$ReplToken$ClassroomMetadata {
26318
26525
  }
26319
26526
 
26320
26527
  /**
26321
- * Properties of a ReplID.
26528
+ * Properties of an AllowReplRequest.
26322
26529
  */
26323
- declare type replit$goval$api$ReplToken$IReplID = {|
26324
- /**
26325
- * ReplID id
26326
- */
26327
- id?: string | null,
26328
-
26530
+ declare type replit$goval$api$IAllowReplRequest = {|
26329
26531
  /**
26330
- * ReplID sourceRepl
26532
+ * AllowReplRequest replTransfer
26331
26533
  */
26332
- sourceRepl?: string | null,
26534
+ replTransfer?:
26535
+ | replit$goval$api$ReplTransfer
26536
+ | replit$goval$api$IReplTransfer
26537
+ | null,
26333
26538
  |};
26334
26539
 
26335
26540
  /**
26336
- * Represents a ReplID.
26541
+ * Represents an AllowReplRequest.
26337
26542
  */
26338
- declare class replit$goval$api$ReplToken$ReplID {
26543
+ declare class replit$goval$api$AllowReplRequest {
26339
26544
  /**
26340
- * Constructs a new ReplID.
26545
+ * Constructs a new AllowReplRequest.
26341
26546
  * @param [properties] Properties to set
26342
26547
  */
26343
- constructor(properties?: replit$goval$api$ReplToken$IReplID): this;
26344
-
26345
- /**
26346
- * ReplID id.
26347
- */
26348
- id: string;
26548
+ constructor(properties?: replit$goval$api$IAllowReplRequest): this;
26349
26549
 
26350
26550
  /**
26351
- * ReplID sourceRepl.
26551
+ * AllowReplRequest replTransfer.
26352
26552
  */
26353
- sourceRepl: string;
26553
+ replTransfer?: replit$goval$api$ReplTransfer | null;
26354
26554
 
26355
26555
  /**
26356
- * Creates a new ReplID instance using the specified properties.
26556
+ * Creates a new AllowReplRequest instance using the specified properties.
26357
26557
  * @param [properties] Properties to set
26358
- * @returns ReplID instance
26558
+ * @returns AllowReplRequest instance
26359
26559
  */
26360
26560
  static create(
26361
- properties?: replit$goval$api$ReplToken$IReplID
26362
- ): replit$goval$api$ReplToken$ReplID;
26561
+ properties?: replit$goval$api$IAllowReplRequest
26562
+ ): replit$goval$api$AllowReplRequest;
26363
26563
 
26364
26564
  /**
26365
26565
  * [object Object],[object Object],[object Object]
26366
- * @param message ReplID message or plain object to encode
26566
+ * @param message AllowReplRequest message or plain object to encode
26367
26567
  * @param [writer] Writer to encode to
26368
26568
  * @returns Writer
26369
26569
  */
26370
26570
  static encode(
26371
- message: replit$goval$api$ReplToken$ReplID,
26571
+ message: replit$goval$api$AllowReplRequest,
26372
26572
  writer?: $protobuf.Writer
26373
26573
  ): $protobuf.Writer;
26374
26574
 
26375
26575
  /**
26376
26576
  * [object Object],[object Object],[object Object]
26377
- * @param message ReplID message or plain object to encode
26577
+ * @param message AllowReplRequest message or plain object to encode
26378
26578
  * @param [writer] Writer to encode to
26379
26579
  * @returns Writer
26380
26580
  */
26381
26581
  static encodeDelimited(
26382
- message: replit$goval$api$ReplToken$ReplID,
26582
+ message: replit$goval$api$AllowReplRequest,
26383
26583
  writer?: $protobuf.Writer
26384
26584
  ): $protobuf.Writer;
26385
26585
 
26386
26586
  /**
26387
- * Decodes a ReplID message from the specified reader or buffer.
26587
+ * Decodes an AllowReplRequest message from the specified reader or buffer.
26388
26588
  * @param reader Reader or buffer to decode from
26389
26589
  * @param [length] Message length if known beforehand
26390
- * @returns ReplID
26590
+ * @returns AllowReplRequest
26391
26591
  * @throws {Error} If the payload is not a reader or valid buffer
26392
26592
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26393
26593
  */
26394
26594
  static decode(
26395
26595
  reader: $protobuf.Reader | Uint8Array,
26396
26596
  length?: number
26397
- ): replit$goval$api$ReplToken$ReplID;
26597
+ ): replit$goval$api$AllowReplRequest;
26398
26598
 
26399
26599
  /**
26400
- * Decodes a ReplID message from the specified reader or buffer, length delimited.
26600
+ * Decodes an AllowReplRequest message from the specified reader or buffer, length delimited.
26401
26601
  * @param reader Reader or buffer to decode from
26402
- * @returns ReplID
26602
+ * @returns AllowReplRequest
26403
26603
  * @throws {Error} If the payload is not a reader or valid buffer
26404
26604
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26405
26605
  */
26406
26606
  static decodeDelimited(
26407
26607
  reader: $protobuf.Reader | Uint8Array
26408
- ): replit$goval$api$ReplToken$ReplID;
26608
+ ): replit$goval$api$AllowReplRequest;
26409
26609
 
26410
26610
  /**
26411
- * Verifies a ReplID message.
26611
+ * Verifies an AllowReplRequest message.
26412
26612
  * @param message Plain object to verify
26413
26613
  * @returns `null` if valid, otherwise the reason why it is not
26414
26614
  */
@@ -26417,29 +26617,29 @@ declare class replit$goval$api$ReplToken$ReplID {
26417
26617
  |}): string | null;
26418
26618
 
26419
26619
  /**
26420
- * Creates a ReplID message from a plain object. Also converts values to their respective internal types.
26620
+ * Creates an AllowReplRequest message from a plain object. Also converts values to their respective internal types.
26421
26621
  * @param object Plain object
26422
- * @returns ReplID
26622
+ * @returns AllowReplRequest
26423
26623
  */
26424
26624
  static fromObject(object: {|
26425
26625
  [k: string]: any,
26426
- |}): replit$goval$api$ReplToken$ReplID;
26626
+ |}): replit$goval$api$AllowReplRequest;
26427
26627
 
26428
26628
  /**
26429
- * Creates a plain object from a ReplID message. Also converts values to other types if specified.
26430
- * @param message ReplID
26629
+ * Creates a plain object from an AllowReplRequest message. Also converts values to other types if specified.
26630
+ * @param message AllowReplRequest
26431
26631
  * @param [options] Conversion options
26432
26632
  * @returns Plain object
26433
26633
  */
26434
26634
  static toObject(
26435
- message: replit$goval$api$ReplToken$ReplID,
26635
+ message: replit$goval$api$AllowReplRequest,
26436
26636
  options?: $protobuf.IConversionOptions
26437
26637
  ): {|
26438
26638
  [k: string]: any,
26439
26639
  |};
26440
26640
 
26441
26641
  /**
26442
- * Converts this ReplID to JSON.
26642
+ * Converts this AllowReplRequest to JSON.
26443
26643
  * @returns JSON object
26444
26644
  */
26445
26645
  toJSON(): {|
@@ -26448,106 +26648,117 @@ declare class replit$goval$api$ReplToken$ReplID {
26448
26648
  }
26449
26649
 
26450
26650
  /**
26451
- * WireFormat enum.
26651
+ * Properties of a ClusterMetadata.
26452
26652
  */
26653
+ declare type replit$goval$api$IClusterMetadata = {|
26654
+ /**
26655
+ * ClusterMetadata id
26656
+ */
26657
+ id?: string | null,
26453
26658
 
26454
- declare var replit$goval$api$ReplToken$WireFormat: {|
26455
- +PROTOBUF: 0, // 0
26456
- +JSON: 1, // 1
26457
- |};
26659
+ /**
26660
+ * ClusterMetadata conmanURL
26661
+ */
26662
+ conmanURL?: string | null,
26458
26663
 
26459
- /**
26460
- * Properties of a Presenced.
26461
- */
26462
- declare type replit$goval$api$ReplToken$IPresenced = {|
26463
26664
  /**
26464
- * Presenced bearerID
26665
+ * ClusterMetadata gurl
26465
26666
  */
26466
- bearerID?: number | null,
26667
+ gurl?: string | null,
26467
26668
 
26468
26669
  /**
26469
- * Presenced bearerName
26670
+ * ClusterMetadata proxy
26470
26671
  */
26471
- bearerName?: string | null,
26672
+ proxy?: string | null,
26472
26673
  |};
26473
26674
 
26474
26675
  /**
26475
- * Represents a Presenced.
26676
+ * Represents a ClusterMetadata.
26476
26677
  */
26477
- declare class replit$goval$api$ReplToken$Presenced {
26678
+ declare class replit$goval$api$ClusterMetadata {
26478
26679
  /**
26479
- * Constructs a new Presenced.
26680
+ * Constructs a new ClusterMetadata.
26480
26681
  * @param [properties] Properties to set
26481
26682
  */
26482
- constructor(properties?: replit$goval$api$ReplToken$IPresenced): this;
26683
+ constructor(properties?: replit$goval$api$IClusterMetadata): this;
26483
26684
 
26484
26685
  /**
26485
- * Presenced bearerID.
26686
+ * ClusterMetadata id.
26486
26687
  */
26487
- bearerID: number;
26688
+ id: string;
26488
26689
 
26489
26690
  /**
26490
- * Presenced bearerName.
26691
+ * ClusterMetadata conmanURL.
26491
26692
  */
26492
- bearerName: string;
26693
+ conmanURL: string;
26493
26694
 
26494
26695
  /**
26495
- * Creates a new Presenced instance using the specified properties.
26696
+ * ClusterMetadata gurl.
26697
+ */
26698
+ gurl: string;
26699
+
26700
+ /**
26701
+ * ClusterMetadata proxy.
26702
+ */
26703
+ proxy: string;
26704
+
26705
+ /**
26706
+ * Creates a new ClusterMetadata instance using the specified properties.
26496
26707
  * @param [properties] Properties to set
26497
- * @returns Presenced instance
26708
+ * @returns ClusterMetadata instance
26498
26709
  */
26499
26710
  static create(
26500
- properties?: replit$goval$api$ReplToken$IPresenced
26501
- ): replit$goval$api$ReplToken$Presenced;
26711
+ properties?: replit$goval$api$IClusterMetadata
26712
+ ): replit$goval$api$ClusterMetadata;
26502
26713
 
26503
26714
  /**
26504
26715
  * [object Object],[object Object],[object Object]
26505
- * @param message Presenced message or plain object to encode
26716
+ * @param message ClusterMetadata message or plain object to encode
26506
26717
  * @param [writer] Writer to encode to
26507
26718
  * @returns Writer
26508
26719
  */
26509
26720
  static encode(
26510
- message: replit$goval$api$ReplToken$Presenced,
26721
+ message: replit$goval$api$ClusterMetadata,
26511
26722
  writer?: $protobuf.Writer
26512
26723
  ): $protobuf.Writer;
26513
26724
 
26514
26725
  /**
26515
26726
  * [object Object],[object Object],[object Object]
26516
- * @param message Presenced message or plain object to encode
26727
+ * @param message ClusterMetadata message or plain object to encode
26517
26728
  * @param [writer] Writer to encode to
26518
26729
  * @returns Writer
26519
26730
  */
26520
26731
  static encodeDelimited(
26521
- message: replit$goval$api$ReplToken$Presenced,
26732
+ message: replit$goval$api$ClusterMetadata,
26522
26733
  writer?: $protobuf.Writer
26523
26734
  ): $protobuf.Writer;
26524
26735
 
26525
26736
  /**
26526
- * Decodes a Presenced message from the specified reader or buffer.
26737
+ * Decodes a ClusterMetadata message from the specified reader or buffer.
26527
26738
  * @param reader Reader or buffer to decode from
26528
26739
  * @param [length] Message length if known beforehand
26529
- * @returns Presenced
26740
+ * @returns ClusterMetadata
26530
26741
  * @throws {Error} If the payload is not a reader or valid buffer
26531
26742
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26532
26743
  */
26533
26744
  static decode(
26534
26745
  reader: $protobuf.Reader | Uint8Array,
26535
26746
  length?: number
26536
- ): replit$goval$api$ReplToken$Presenced;
26747
+ ): replit$goval$api$ClusterMetadata;
26537
26748
 
26538
26749
  /**
26539
- * Decodes a Presenced message from the specified reader or buffer, length delimited.
26750
+ * Decodes a ClusterMetadata message from the specified reader or buffer, length delimited.
26540
26751
  * @param reader Reader or buffer to decode from
26541
- * @returns Presenced
26752
+ * @returns ClusterMetadata
26542
26753
  * @throws {Error} If the payload is not a reader or valid buffer
26543
26754
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26544
26755
  */
26545
26756
  static decodeDelimited(
26546
26757
  reader: $protobuf.Reader | Uint8Array
26547
- ): replit$goval$api$ReplToken$Presenced;
26758
+ ): replit$goval$api$ClusterMetadata;
26548
26759
 
26549
26760
  /**
26550
- * Verifies a Presenced message.
26761
+ * Verifies a ClusterMetadata message.
26551
26762
  * @param message Plain object to verify
26552
26763
  * @returns `null` if valid, otherwise the reason why it is not
26553
26764
  */
@@ -26556,29 +26767,29 @@ declare class replit$goval$api$ReplToken$Presenced {
26556
26767
  |}): string | null;
26557
26768
 
26558
26769
  /**
26559
- * Creates a Presenced message from a plain object. Also converts values to their respective internal types.
26770
+ * Creates a ClusterMetadata message from a plain object. Also converts values to their respective internal types.
26560
26771
  * @param object Plain object
26561
- * @returns Presenced
26772
+ * @returns ClusterMetadata
26562
26773
  */
26563
26774
  static fromObject(object: {|
26564
26775
  [k: string]: any,
26565
- |}): replit$goval$api$ReplToken$Presenced;
26776
+ |}): replit$goval$api$ClusterMetadata;
26566
26777
 
26567
26778
  /**
26568
- * Creates a plain object from a Presenced message. Also converts values to other types if specified.
26569
- * @param message Presenced
26779
+ * Creates a plain object from a ClusterMetadata message. Also converts values to other types if specified.
26780
+ * @param message ClusterMetadata
26570
26781
  * @param [options] Conversion options
26571
26782
  * @returns Plain object
26572
26783
  */
26573
26784
  static toObject(
26574
- message: replit$goval$api$ReplToken$Presenced,
26785
+ message: replit$goval$api$ClusterMetadata,
26575
26786
  options?: $protobuf.IConversionOptions
26576
26787
  ): {|
26577
26788
  [k: string]: any,
26578
26789
  |};
26579
26790
 
26580
26791
  /**
26581
- * Converts this Presenced to JSON.
26792
+ * Converts this ClusterMetadata to JSON.
26582
26793
  * @returns JSON object
26583
26794
  */
26584
26795
  toJSON(): {|
@@ -26587,97 +26798,120 @@ declare class replit$goval$api$ReplToken$Presenced {
26587
26798
  }
26588
26799
 
26589
26800
  /**
26590
- * Properties of a TLSCertificate.
26801
+ * Properties of an EvictReplRequest.
26591
26802
  */
26592
- declare type replit$goval$api$ITLSCertificate = {|
26803
+ declare type replit$goval$api$IEvictReplRequest = {|
26593
26804
  /**
26594
- * TLSCertificate domain
26805
+ * EvictReplRequest clusterMetadata
26595
26806
  */
26596
- domain?: string | null,
26807
+ clusterMetadata?:
26808
+ | replit$goval$api$ClusterMetadata
26809
+ | replit$goval$api$IClusterMetadata
26810
+ | null,
26597
26811
 
26598
26812
  /**
26599
- * TLSCertificate cert
26813
+ * EvictReplRequest token
26600
26814
  */
26601
- cert?: Uint8Array | null,
26815
+ token?: string | null,
26816
+
26817
+ /**
26818
+ * EvictReplRequest user
26819
+ */
26820
+ user?: string | null,
26821
+
26822
+ /**
26823
+ * EvictReplRequest slug
26824
+ */
26825
+ slug?: string | null,
26602
26826
  |};
26603
26827
 
26604
26828
  /**
26605
- * Represents a TLSCertificate.
26829
+ * Represents an EvictReplRequest.
26606
26830
  */
26607
- declare class replit$goval$api$TLSCertificate {
26831
+ declare class replit$goval$api$EvictReplRequest {
26608
26832
  /**
26609
- * Constructs a new TLSCertificate.
26833
+ * Constructs a new EvictReplRequest.
26610
26834
  * @param [properties] Properties to set
26611
26835
  */
26612
- constructor(properties?: replit$goval$api$ITLSCertificate): this;
26836
+ constructor(properties?: replit$goval$api$IEvictReplRequest): this;
26613
26837
 
26614
26838
  /**
26615
- * TLSCertificate domain.
26839
+ * EvictReplRequest clusterMetadata.
26616
26840
  */
26617
- domain: string;
26841
+ clusterMetadata?: replit$goval$api$ClusterMetadata | null;
26618
26842
 
26619
26843
  /**
26620
- * TLSCertificate cert.
26844
+ * EvictReplRequest token.
26621
26845
  */
26622
- cert: Uint8Array;
26846
+ token: string;
26623
26847
 
26624
26848
  /**
26625
- * Creates a new TLSCertificate instance using the specified properties.
26849
+ * EvictReplRequest user.
26850
+ */
26851
+ user: string;
26852
+
26853
+ /**
26854
+ * EvictReplRequest slug.
26855
+ */
26856
+ slug: string;
26857
+
26858
+ /**
26859
+ * Creates a new EvictReplRequest instance using the specified properties.
26626
26860
  * @param [properties] Properties to set
26627
- * @returns TLSCertificate instance
26861
+ * @returns EvictReplRequest instance
26628
26862
  */
26629
26863
  static create(
26630
- properties?: replit$goval$api$ITLSCertificate
26631
- ): replit$goval$api$TLSCertificate;
26864
+ properties?: replit$goval$api$IEvictReplRequest
26865
+ ): replit$goval$api$EvictReplRequest;
26632
26866
 
26633
26867
  /**
26634
26868
  * [object Object],[object Object],[object Object]
26635
- * @param message TLSCertificate message or plain object to encode
26869
+ * @param message EvictReplRequest message or plain object to encode
26636
26870
  * @param [writer] Writer to encode to
26637
26871
  * @returns Writer
26638
26872
  */
26639
26873
  static encode(
26640
- message: replit$goval$api$TLSCertificate,
26874
+ message: replit$goval$api$EvictReplRequest,
26641
26875
  writer?: $protobuf.Writer
26642
26876
  ): $protobuf.Writer;
26643
26877
 
26644
26878
  /**
26645
26879
  * [object Object],[object Object],[object Object]
26646
- * @param message TLSCertificate message or plain object to encode
26880
+ * @param message EvictReplRequest message or plain object to encode
26647
26881
  * @param [writer] Writer to encode to
26648
26882
  * @returns Writer
26649
26883
  */
26650
26884
  static encodeDelimited(
26651
- message: replit$goval$api$TLSCertificate,
26885
+ message: replit$goval$api$EvictReplRequest,
26652
26886
  writer?: $protobuf.Writer
26653
26887
  ): $protobuf.Writer;
26654
26888
 
26655
26889
  /**
26656
- * Decodes a TLSCertificate message from the specified reader or buffer.
26890
+ * Decodes an EvictReplRequest message from the specified reader or buffer.
26657
26891
  * @param reader Reader or buffer to decode from
26658
26892
  * @param [length] Message length if known beforehand
26659
- * @returns TLSCertificate
26893
+ * @returns EvictReplRequest
26660
26894
  * @throws {Error} If the payload is not a reader or valid buffer
26661
26895
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26662
26896
  */
26663
26897
  static decode(
26664
26898
  reader: $protobuf.Reader | Uint8Array,
26665
26899
  length?: number
26666
- ): replit$goval$api$TLSCertificate;
26900
+ ): replit$goval$api$EvictReplRequest;
26667
26901
 
26668
26902
  /**
26669
- * Decodes a TLSCertificate message from the specified reader or buffer, length delimited.
26903
+ * Decodes an EvictReplRequest message from the specified reader or buffer, length delimited.
26670
26904
  * @param reader Reader or buffer to decode from
26671
- * @returns TLSCertificate
26905
+ * @returns EvictReplRequest
26672
26906
  * @throws {Error} If the payload is not a reader or valid buffer
26673
26907
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26674
26908
  */
26675
26909
  static decodeDelimited(
26676
26910
  reader: $protobuf.Reader | Uint8Array
26677
- ): replit$goval$api$TLSCertificate;
26911
+ ): replit$goval$api$EvictReplRequest;
26678
26912
 
26679
26913
  /**
26680
- * Verifies a TLSCertificate message.
26914
+ * Verifies an EvictReplRequest message.
26681
26915
  * @param message Plain object to verify
26682
26916
  * @returns `null` if valid, otherwise the reason why it is not
26683
26917
  */
@@ -26686,29 +26920,29 @@ declare class replit$goval$api$TLSCertificate {
26686
26920
  |}): string | null;
26687
26921
 
26688
26922
  /**
26689
- * Creates a TLSCertificate message from a plain object. Also converts values to their respective internal types.
26923
+ * Creates an EvictReplRequest message from a plain object. Also converts values to their respective internal types.
26690
26924
  * @param object Plain object
26691
- * @returns TLSCertificate
26925
+ * @returns EvictReplRequest
26692
26926
  */
26693
26927
  static fromObject(object: {|
26694
26928
  [k: string]: any,
26695
- |}): replit$goval$api$TLSCertificate;
26929
+ |}): replit$goval$api$EvictReplRequest;
26696
26930
 
26697
26931
  /**
26698
- * Creates a plain object from a TLSCertificate message. Also converts values to other types if specified.
26699
- * @param message TLSCertificate
26932
+ * Creates a plain object from an EvictReplRequest message. Also converts values to other types if specified.
26933
+ * @param message EvictReplRequest
26700
26934
  * @param [options] Conversion options
26701
26935
  * @returns Plain object
26702
26936
  */
26703
26937
  static toObject(
26704
- message: replit$goval$api$TLSCertificate,
26938
+ message: replit$goval$api$EvictReplRequest,
26705
26939
  options?: $protobuf.IConversionOptions
26706
26940
  ): {|
26707
26941
  [k: string]: any,
26708
26942
  |};
26709
26943
 
26710
26944
  /**
26711
- * Converts this TLSCertificate to JSON.
26945
+ * Converts this EvictReplRequest to JSON.
26712
26946
  * @returns JSON object
26713
26947
  */
26714
26948
  toJSON(): {|
@@ -26717,145 +26951,90 @@ declare class replit$goval$api$TLSCertificate {
26717
26951
  }
26718
26952
 
26719
26953
  /**
26720
- * Properties of a ReplTransfer.
26954
+ * Properties of an EvictReplResponse.
26721
26955
  */
26722
- declare type replit$goval$api$IReplTransfer = {|
26723
- /**
26724
- * ReplTransfer repl
26725
- */
26726
- repl?: replit$goval$api$Repl | replit$goval$api$IRepl | null,
26727
-
26728
- /**
26729
- * ReplTransfer replLimits
26730
- */
26731
- replLimits?:
26732
- | replit$goval$api$ResourceLimits
26733
- | replit$goval$api$IResourceLimits
26734
- | null,
26735
-
26736
- /**
26737
- * ReplTransfer userLimits
26738
- */
26739
- userLimits?:
26740
- | replit$goval$api$ResourceLimits
26741
- | replit$goval$api$IResourceLimits
26742
- | null,
26743
-
26744
- /**
26745
- * ReplTransfer customDomains
26746
- */
26747
- customDomains?: string[] | null,
26748
-
26956
+ declare type replit$goval$api$IEvictReplResponse = {|
26749
26957
  /**
26750
- * ReplTransfer certificates
26958
+ * EvictReplResponse replTransfer
26751
26959
  */
26752
- certificates?:
26753
- | (replit$goval$api$TLSCertificate | replit$goval$api$ITLSCertificate)[]
26960
+ replTransfer?:
26961
+ | replit$goval$api$ReplTransfer
26962
+ | replit$goval$api$IReplTransfer
26754
26963
  | null,
26755
-
26756
- /**
26757
- * ReplTransfer flags
26758
- */
26759
- flags?: string[] | null,
26760
26964
  |};
26761
26965
 
26762
26966
  /**
26763
- * Represents a ReplTransfer.
26967
+ * Represents an EvictReplResponse.
26764
26968
  */
26765
- declare class replit$goval$api$ReplTransfer {
26969
+ declare class replit$goval$api$EvictReplResponse {
26766
26970
  /**
26767
- * Constructs a new ReplTransfer.
26971
+ * Constructs a new EvictReplResponse.
26768
26972
  * @param [properties] Properties to set
26769
26973
  */
26770
- constructor(properties?: replit$goval$api$IReplTransfer): this;
26771
-
26772
- /**
26773
- * ReplTransfer repl.
26774
- */
26775
- repl?: replit$goval$api$Repl | null;
26776
-
26777
- /**
26778
- * ReplTransfer replLimits.
26779
- */
26780
- replLimits?: replit$goval$api$ResourceLimits | null;
26781
-
26782
- /**
26783
- * ReplTransfer userLimits.
26784
- */
26785
- userLimits?: replit$goval$api$ResourceLimits | null;
26786
-
26787
- /**
26788
- * ReplTransfer customDomains.
26789
- */
26790
- customDomains: string[];
26791
-
26792
- /**
26793
- * ReplTransfer certificates.
26794
- */
26795
- certificates: replit$goval$api$TLSCertificate[];
26974
+ constructor(properties?: replit$goval$api$IEvictReplResponse): this;
26796
26975
 
26797
26976
  /**
26798
- * ReplTransfer flags.
26977
+ * EvictReplResponse replTransfer.
26799
26978
  */
26800
- flags: string[];
26979
+ replTransfer?: replit$goval$api$ReplTransfer | null;
26801
26980
 
26802
26981
  /**
26803
- * Creates a new ReplTransfer instance using the specified properties.
26982
+ * Creates a new EvictReplResponse instance using the specified properties.
26804
26983
  * @param [properties] Properties to set
26805
- * @returns ReplTransfer instance
26984
+ * @returns EvictReplResponse instance
26806
26985
  */
26807
26986
  static create(
26808
- properties?: replit$goval$api$IReplTransfer
26809
- ): replit$goval$api$ReplTransfer;
26987
+ properties?: replit$goval$api$IEvictReplResponse
26988
+ ): replit$goval$api$EvictReplResponse;
26810
26989
 
26811
26990
  /**
26812
26991
  * [object Object],[object Object],[object Object]
26813
- * @param message ReplTransfer message or plain object to encode
26992
+ * @param message EvictReplResponse message or plain object to encode
26814
26993
  * @param [writer] Writer to encode to
26815
26994
  * @returns Writer
26816
26995
  */
26817
26996
  static encode(
26818
- message: replit$goval$api$ReplTransfer,
26997
+ message: replit$goval$api$EvictReplResponse,
26819
26998
  writer?: $protobuf.Writer
26820
26999
  ): $protobuf.Writer;
26821
27000
 
26822
27001
  /**
26823
27002
  * [object Object],[object Object],[object Object]
26824
- * @param message ReplTransfer message or plain object to encode
27003
+ * @param message EvictReplResponse message or plain object to encode
26825
27004
  * @param [writer] Writer to encode to
26826
27005
  * @returns Writer
26827
27006
  */
26828
27007
  static encodeDelimited(
26829
- message: replit$goval$api$ReplTransfer,
27008
+ message: replit$goval$api$EvictReplResponse,
26830
27009
  writer?: $protobuf.Writer
26831
27010
  ): $protobuf.Writer;
26832
27011
 
26833
27012
  /**
26834
- * Decodes a ReplTransfer message from the specified reader or buffer.
27013
+ * Decodes an EvictReplResponse message from the specified reader or buffer.
26835
27014
  * @param reader Reader or buffer to decode from
26836
27015
  * @param [length] Message length if known beforehand
26837
- * @returns ReplTransfer
27016
+ * @returns EvictReplResponse
26838
27017
  * @throws {Error} If the payload is not a reader or valid buffer
26839
27018
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26840
27019
  */
26841
27020
  static decode(
26842
27021
  reader: $protobuf.Reader | Uint8Array,
26843
27022
  length?: number
26844
- ): replit$goval$api$ReplTransfer;
27023
+ ): replit$goval$api$EvictReplResponse;
26845
27024
 
26846
27025
  /**
26847
- * Decodes a ReplTransfer message from the specified reader or buffer, length delimited.
27026
+ * Decodes an EvictReplResponse message from the specified reader or buffer, length delimited.
26848
27027
  * @param reader Reader or buffer to decode from
26849
- * @returns ReplTransfer
27028
+ * @returns EvictReplResponse
26850
27029
  * @throws {Error} If the payload is not a reader or valid buffer
26851
27030
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26852
27031
  */
26853
27032
  static decodeDelimited(
26854
27033
  reader: $protobuf.Reader | Uint8Array
26855
- ): replit$goval$api$ReplTransfer;
27034
+ ): replit$goval$api$EvictReplResponse;
26856
27035
 
26857
27036
  /**
26858
- * Verifies a ReplTransfer message.
27037
+ * Verifies an EvictReplResponse message.
26859
27038
  * @param message Plain object to verify
26860
27039
  * @returns `null` if valid, otherwise the reason why it is not
26861
27040
  */
@@ -26864,29 +27043,29 @@ declare class replit$goval$api$ReplTransfer {
26864
27043
  |}): string | null;
26865
27044
 
26866
27045
  /**
26867
- * Creates a ReplTransfer message from a plain object. Also converts values to their respective internal types.
27046
+ * Creates an EvictReplResponse message from a plain object. Also converts values to their respective internal types.
26868
27047
  * @param object Plain object
26869
- * @returns ReplTransfer
27048
+ * @returns EvictReplResponse
26870
27049
  */
26871
27050
  static fromObject(object: {|
26872
27051
  [k: string]: any,
26873
- |}): replit$goval$api$ReplTransfer;
27052
+ |}): replit$goval$api$EvictReplResponse;
26874
27053
 
26875
27054
  /**
26876
- * Creates a plain object from a ReplTransfer message. Also converts values to other types if specified.
26877
- * @param message ReplTransfer
27055
+ * Creates a plain object from an EvictReplResponse message. Also converts values to other types if specified.
27056
+ * @param message EvictReplResponse
26878
27057
  * @param [options] Conversion options
26879
27058
  * @returns Plain object
26880
27059
  */
26881
27060
  static toObject(
26882
- message: replit$goval$api$ReplTransfer,
27061
+ message: replit$goval$api$EvictReplResponse,
26883
27062
  options?: $protobuf.IConversionOptions
26884
27063
  ): {|
26885
27064
  [k: string]: any,
26886
27065
  |};
26887
27066
 
26888
27067
  /**
26889
- * Converts this ReplTransfer to JSON.
27068
+ * Converts this EvictReplResponse to JSON.
26890
27069
  * @returns JSON object
26891
27070
  */
26892
27071
  toJSON(): {|
@@ -26895,90 +27074,131 @@ declare class replit$goval$api$ReplTransfer {
26895
27074
  }
26896
27075
 
26897
27076
  /**
26898
- * Properties of an AllowReplRequest.
27077
+ * TokenVersion enum.
26899
27078
  */
26900
- declare type replit$goval$api$IAllowReplRequest = {|
27079
+
27080
+ declare var replit$goval$api$TokenVersion: {|
27081
+ +BARE_REPL_TOKEN: 0, // 0
27082
+ +TYPE_AWARE_TOKEN: 1, // 1
27083
+ |};
27084
+
27085
+ /**
27086
+ * Properties of a GovalSigningAuthority.
27087
+ */
27088
+ declare type replit$goval$api$IGovalSigningAuthority = {|
26901
27089
  /**
26902
- * AllowReplRequest replTransfer
27090
+ * GovalSigningAuthority keyId
26903
27091
  */
26904
- replTransfer?:
26905
- | replit$goval$api$ReplTransfer
26906
- | replit$goval$api$IReplTransfer
26907
- | null,
27092
+ keyId?: string | null,
27093
+
27094
+ /**
27095
+ * GovalSigningAuthority signedCert
27096
+ */
27097
+ signedCert?: string | null,
27098
+
27099
+ /**
27100
+ * GovalSigningAuthority version
27101
+ */
27102
+ version?: $Values<typeof replit$goval$api$TokenVersion> | null,
27103
+
27104
+ /**
27105
+ * GovalSigningAuthority issuer
27106
+ */
27107
+ issuer?: string | null,
26908
27108
  |};
26909
27109
 
26910
27110
  /**
26911
- * Represents an AllowReplRequest.
27111
+ * Represents a GovalSigningAuthority.
26912
27112
  */
26913
- declare class replit$goval$api$AllowReplRequest {
27113
+ declare class replit$goval$api$GovalSigningAuthority {
26914
27114
  /**
26915
- * Constructs a new AllowReplRequest.
27115
+ * Constructs a new GovalSigningAuthority.
26916
27116
  * @param [properties] Properties to set
26917
27117
  */
26918
- constructor(properties?: replit$goval$api$IAllowReplRequest): this;
27118
+ constructor(properties?: replit$goval$api$IGovalSigningAuthority): this;
26919
27119
 
26920
27120
  /**
26921
- * AllowReplRequest replTransfer.
27121
+ * GovalSigningAuthority keyId.
26922
27122
  */
26923
- replTransfer?: replit$goval$api$ReplTransfer | null;
27123
+ keyId?: string | null;
26924
27124
 
26925
27125
  /**
26926
- * Creates a new AllowReplRequest instance using the specified properties.
27126
+ * GovalSigningAuthority signedCert.
27127
+ */
27128
+ signedCert?: string | null;
27129
+
27130
+ /**
27131
+ * GovalSigningAuthority version.
27132
+ */
27133
+ version: $Values<typeof replit$goval$api$TokenVersion>;
27134
+
27135
+ /**
27136
+ * GovalSigningAuthority issuer.
27137
+ */
27138
+ issuer: string;
27139
+
27140
+ /**
27141
+ * GovalSigningAuthority cert.
27142
+ */
27143
+ cert?: "keyId" | "signedCert";
27144
+
27145
+ /**
27146
+ * Creates a new GovalSigningAuthority instance using the specified properties.
26927
27147
  * @param [properties] Properties to set
26928
- * @returns AllowReplRequest instance
27148
+ * @returns GovalSigningAuthority instance
26929
27149
  */
26930
27150
  static create(
26931
- properties?: replit$goval$api$IAllowReplRequest
26932
- ): replit$goval$api$AllowReplRequest;
27151
+ properties?: replit$goval$api$IGovalSigningAuthority
27152
+ ): replit$goval$api$GovalSigningAuthority;
26933
27153
 
26934
27154
  /**
26935
27155
  * [object Object],[object Object],[object Object]
26936
- * @param message AllowReplRequest message or plain object to encode
27156
+ * @param message GovalSigningAuthority message or plain object to encode
26937
27157
  * @param [writer] Writer to encode to
26938
27158
  * @returns Writer
26939
27159
  */
26940
27160
  static encode(
26941
- message: replit$goval$api$AllowReplRequest,
27161
+ message: replit$goval$api$GovalSigningAuthority,
26942
27162
  writer?: $protobuf.Writer
26943
27163
  ): $protobuf.Writer;
26944
27164
 
26945
27165
  /**
26946
27166
  * [object Object],[object Object],[object Object]
26947
- * @param message AllowReplRequest message or plain object to encode
27167
+ * @param message GovalSigningAuthority message or plain object to encode
26948
27168
  * @param [writer] Writer to encode to
26949
27169
  * @returns Writer
26950
27170
  */
26951
27171
  static encodeDelimited(
26952
- message: replit$goval$api$AllowReplRequest,
27172
+ message: replit$goval$api$GovalSigningAuthority,
26953
27173
  writer?: $protobuf.Writer
26954
27174
  ): $protobuf.Writer;
26955
27175
 
26956
27176
  /**
26957
- * Decodes an AllowReplRequest message from the specified reader or buffer.
27177
+ * Decodes a GovalSigningAuthority message from the specified reader or buffer.
26958
27178
  * @param reader Reader or buffer to decode from
26959
27179
  * @param [length] Message length if known beforehand
26960
- * @returns AllowReplRequest
27180
+ * @returns GovalSigningAuthority
26961
27181
  * @throws {Error} If the payload is not a reader or valid buffer
26962
27182
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26963
27183
  */
26964
27184
  static decode(
26965
27185
  reader: $protobuf.Reader | Uint8Array,
26966
27186
  length?: number
26967
- ): replit$goval$api$AllowReplRequest;
27187
+ ): replit$goval$api$GovalSigningAuthority;
26968
27188
 
26969
27189
  /**
26970
- * Decodes an AllowReplRequest message from the specified reader or buffer, length delimited.
27190
+ * Decodes a GovalSigningAuthority message from the specified reader or buffer, length delimited.
26971
27191
  * @param reader Reader or buffer to decode from
26972
- * @returns AllowReplRequest
27192
+ * @returns GovalSigningAuthority
26973
27193
  * @throws {Error} If the payload is not a reader or valid buffer
26974
27194
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26975
27195
  */
26976
27196
  static decodeDelimited(
26977
27197
  reader: $protobuf.Reader | Uint8Array
26978
- ): replit$goval$api$AllowReplRequest;
27198
+ ): replit$goval$api$GovalSigningAuthority;
26979
27199
 
26980
27200
  /**
26981
- * Verifies an AllowReplRequest message.
27201
+ * Verifies a GovalSigningAuthority message.
26982
27202
  * @param message Plain object to verify
26983
27203
  * @returns `null` if valid, otherwise the reason why it is not
26984
27204
  */
@@ -26987,29 +27207,29 @@ declare class replit$goval$api$AllowReplRequest {
26987
27207
  |}): string | null;
26988
27208
 
26989
27209
  /**
26990
- * Creates an AllowReplRequest message from a plain object. Also converts values to their respective internal types.
27210
+ * Creates a GovalSigningAuthority message from a plain object. Also converts values to their respective internal types.
26991
27211
  * @param object Plain object
26992
- * @returns AllowReplRequest
27212
+ * @returns GovalSigningAuthority
26993
27213
  */
26994
27214
  static fromObject(object: {|
26995
27215
  [k: string]: any,
26996
- |}): replit$goval$api$AllowReplRequest;
27216
+ |}): replit$goval$api$GovalSigningAuthority;
26997
27217
 
26998
27218
  /**
26999
- * Creates a plain object from an AllowReplRequest message. Also converts values to other types if specified.
27000
- * @param message AllowReplRequest
27219
+ * Creates a plain object from a GovalSigningAuthority message. Also converts values to other types if specified.
27220
+ * @param message GovalSigningAuthority
27001
27221
  * @param [options] Conversion options
27002
27222
  * @returns Plain object
27003
27223
  */
27004
27224
  static toObject(
27005
- message: replit$goval$api$AllowReplRequest,
27225
+ message: replit$goval$api$GovalSigningAuthority,
27006
27226
  options?: $protobuf.IConversionOptions
27007
27227
  ): {|
27008
27228
  [k: string]: any,
27009
27229
  |};
27010
27230
 
27011
27231
  /**
27012
- * Converts this AllowReplRequest to JSON.
27232
+ * Converts this GovalSigningAuthority to JSON.
27013
27233
  * @returns JSON object
27014
27234
  */
27015
27235
  toJSON(): {|
@@ -27018,117 +27238,136 @@ declare class replit$goval$api$AllowReplRequest {
27018
27238
  }
27019
27239
 
27020
27240
  /**
27021
- * Properties of a ClusterMetadata.
27241
+ * FlagClaim enum.
27242
+ */
27243
+
27244
+ declare var replit$goval$api$FlagClaim: {|
27245
+ +MINT_GOVAL_TOKEN: 0, // 0
27246
+ +SIGN_INTERMEDIATE_CERT: 1, // 1
27247
+ +IDENTITY: 5, // 5
27248
+ +GHOSTWRITER: 6, // 6
27249
+ +ANY_REPLID: 2, // 2
27250
+ +ANY_USER: 3, // 3
27251
+ +ANY_CLUSTER: 4, // 4
27252
+ |};
27253
+
27254
+ /**
27255
+ * Properties of a CertificateClaim.
27022
27256
  */
27023
- declare type replit$goval$api$IClusterMetadata = {|
27257
+ declare type replit$goval$api$ICertificateClaim = {|
27024
27258
  /**
27025
- * ClusterMetadata id
27259
+ * CertificateClaim replid
27026
27260
  */
27027
- id?: string | null,
27261
+ replid?: string | null,
27028
27262
 
27029
27263
  /**
27030
- * ClusterMetadata conmanURL
27264
+ * CertificateClaim user
27031
27265
  */
27032
- conmanURL?: string | null,
27266
+ user?: string | null,
27033
27267
 
27034
27268
  /**
27035
- * ClusterMetadata gurl
27269
+ * CertificateClaim cluster
27036
27270
  */
27037
- gurl?: string | null,
27271
+ cluster?: string | null,
27038
27272
 
27039
27273
  /**
27040
- * ClusterMetadata proxy
27274
+ * CertificateClaim flag
27041
27275
  */
27042
- proxy?: string | null,
27276
+ flag?: $Values<typeof replit$goval$api$FlagClaim> | null,
27043
27277
  |};
27044
27278
 
27045
27279
  /**
27046
- * Represents a ClusterMetadata.
27280
+ * Represents a CertificateClaim.
27047
27281
  */
27048
- declare class replit$goval$api$ClusterMetadata {
27282
+ declare class replit$goval$api$CertificateClaim {
27049
27283
  /**
27050
- * Constructs a new ClusterMetadata.
27284
+ * Constructs a new CertificateClaim.
27051
27285
  * @param [properties] Properties to set
27052
27286
  */
27053
- constructor(properties?: replit$goval$api$IClusterMetadata): this;
27287
+ constructor(properties?: replit$goval$api$ICertificateClaim): this;
27054
27288
 
27055
27289
  /**
27056
- * ClusterMetadata id.
27290
+ * CertificateClaim replid.
27057
27291
  */
27058
- id: string;
27292
+ replid?: string | null;
27059
27293
 
27060
27294
  /**
27061
- * ClusterMetadata conmanURL.
27295
+ * CertificateClaim user.
27062
27296
  */
27063
- conmanURL: string;
27297
+ user?: string | null;
27064
27298
 
27065
27299
  /**
27066
- * ClusterMetadata gurl.
27300
+ * CertificateClaim cluster.
27067
27301
  */
27068
- gurl: string;
27302
+ cluster?: string | null;
27069
27303
 
27070
27304
  /**
27071
- * ClusterMetadata proxy.
27305
+ * CertificateClaim flag.
27072
27306
  */
27073
- proxy: string;
27307
+ flag?: $Values<typeof replit$goval$api$FlagClaim> | null;
27074
27308
 
27075
27309
  /**
27076
- * Creates a new ClusterMetadata instance using the specified properties.
27310
+ * CertificateClaim claim.
27311
+ */
27312
+ claim?: "replid" | "user" | "cluster" | "flag";
27313
+
27314
+ /**
27315
+ * Creates a new CertificateClaim instance using the specified properties.
27077
27316
  * @param [properties] Properties to set
27078
- * @returns ClusterMetadata instance
27317
+ * @returns CertificateClaim instance
27079
27318
  */
27080
27319
  static create(
27081
- properties?: replit$goval$api$IClusterMetadata
27082
- ): replit$goval$api$ClusterMetadata;
27320
+ properties?: replit$goval$api$ICertificateClaim
27321
+ ): replit$goval$api$CertificateClaim;
27083
27322
 
27084
27323
  /**
27085
27324
  * [object Object],[object Object],[object Object]
27086
- * @param message ClusterMetadata message or plain object to encode
27325
+ * @param message CertificateClaim message or plain object to encode
27087
27326
  * @param [writer] Writer to encode to
27088
27327
  * @returns Writer
27089
27328
  */
27090
27329
  static encode(
27091
- message: replit$goval$api$ClusterMetadata,
27330
+ message: replit$goval$api$CertificateClaim,
27092
27331
  writer?: $protobuf.Writer
27093
27332
  ): $protobuf.Writer;
27094
27333
 
27095
27334
  /**
27096
27335
  * [object Object],[object Object],[object Object]
27097
- * @param message ClusterMetadata message or plain object to encode
27336
+ * @param message CertificateClaim message or plain object to encode
27098
27337
  * @param [writer] Writer to encode to
27099
27338
  * @returns Writer
27100
27339
  */
27101
27340
  static encodeDelimited(
27102
- message: replit$goval$api$ClusterMetadata,
27341
+ message: replit$goval$api$CertificateClaim,
27103
27342
  writer?: $protobuf.Writer
27104
27343
  ): $protobuf.Writer;
27105
27344
 
27106
27345
  /**
27107
- * Decodes a ClusterMetadata message from the specified reader or buffer.
27346
+ * Decodes a CertificateClaim message from the specified reader or buffer.
27108
27347
  * @param reader Reader or buffer to decode from
27109
27348
  * @param [length] Message length if known beforehand
27110
- * @returns ClusterMetadata
27349
+ * @returns CertificateClaim
27111
27350
  * @throws {Error} If the payload is not a reader or valid buffer
27112
27351
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27113
27352
  */
27114
27353
  static decode(
27115
27354
  reader: $protobuf.Reader | Uint8Array,
27116
27355
  length?: number
27117
- ): replit$goval$api$ClusterMetadata;
27356
+ ): replit$goval$api$CertificateClaim;
27118
27357
 
27119
27358
  /**
27120
- * Decodes a ClusterMetadata message from the specified reader or buffer, length delimited.
27359
+ * Decodes a CertificateClaim message from the specified reader or buffer, length delimited.
27121
27360
  * @param reader Reader or buffer to decode from
27122
- * @returns ClusterMetadata
27361
+ * @returns CertificateClaim
27123
27362
  * @throws {Error} If the payload is not a reader or valid buffer
27124
27363
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27125
27364
  */
27126
27365
  static decodeDelimited(
27127
27366
  reader: $protobuf.Reader | Uint8Array
27128
- ): replit$goval$api$ClusterMetadata;
27367
+ ): replit$goval$api$CertificateClaim;
27129
27368
 
27130
27369
  /**
27131
- * Verifies a ClusterMetadata message.
27370
+ * Verifies a CertificateClaim message.
27132
27371
  * @param message Plain object to verify
27133
27372
  * @returns `null` if valid, otherwise the reason why it is not
27134
27373
  */
@@ -27137,29 +27376,29 @@ declare class replit$goval$api$ClusterMetadata {
27137
27376
  |}): string | null;
27138
27377
 
27139
27378
  /**
27140
- * Creates a ClusterMetadata message from a plain object. Also converts values to their respective internal types.
27379
+ * Creates a CertificateClaim message from a plain object. Also converts values to their respective internal types.
27141
27380
  * @param object Plain object
27142
- * @returns ClusterMetadata
27381
+ * @returns CertificateClaim
27143
27382
  */
27144
27383
  static fromObject(object: {|
27145
27384
  [k: string]: any,
27146
- |}): replit$goval$api$ClusterMetadata;
27385
+ |}): replit$goval$api$CertificateClaim;
27147
27386
 
27148
27387
  /**
27149
- * Creates a plain object from a ClusterMetadata message. Also converts values to other types if specified.
27150
- * @param message ClusterMetadata
27388
+ * Creates a plain object from a CertificateClaim message. Also converts values to other types if specified.
27389
+ * @param message CertificateClaim
27151
27390
  * @param [options] Conversion options
27152
27391
  * @returns Plain object
27153
27392
  */
27154
27393
  static toObject(
27155
- message: replit$goval$api$ClusterMetadata,
27394
+ message: replit$goval$api$CertificateClaim,
27156
27395
  options?: $protobuf.IConversionOptions
27157
27396
  ): {|
27158
27397
  [k: string]: any,
27159
27398
  |};
27160
27399
 
27161
27400
  /**
27162
- * Converts this ClusterMetadata to JSON.
27401
+ * Converts this CertificateClaim to JSON.
27163
27402
  * @returns JSON object
27164
27403
  */
27165
27404
  toJSON(): {|
@@ -27168,120 +27407,119 @@ declare class replit$goval$api$ClusterMetadata {
27168
27407
  }
27169
27408
 
27170
27409
  /**
27171
- * Properties of an EvictReplRequest.
27410
+ * Properties of a GovalCert.
27172
27411
  */
27173
- declare type replit$goval$api$IEvictReplRequest = {|
27412
+ declare type replit$goval$api$IGovalCert = {|
27174
27413
  /**
27175
- * EvictReplRequest clusterMetadata
27414
+ * GovalCert iat
27176
27415
  */
27177
- clusterMetadata?:
27178
- | replit$goval$api$ClusterMetadata
27179
- | replit$goval$api$IClusterMetadata
27180
- | null,
27416
+ iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
27181
27417
 
27182
27418
  /**
27183
- * EvictReplRequest token
27419
+ * GovalCert exp
27184
27420
  */
27185
- token?: string | null,
27421
+ exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
27186
27422
 
27187
27423
  /**
27188
- * EvictReplRequest user
27424
+ * GovalCert claims
27189
27425
  */
27190
- user?: string | null,
27426
+ claims?:
27427
+ | (replit$goval$api$CertificateClaim | replit$goval$api$ICertificateClaim)[]
27428
+ | null,
27191
27429
 
27192
27430
  /**
27193
- * EvictReplRequest slug
27431
+ * GovalCert publicKey
27194
27432
  */
27195
- slug?: string | null,
27433
+ publicKey?: string | null,
27196
27434
  |};
27197
27435
 
27198
27436
  /**
27199
- * Represents an EvictReplRequest.
27437
+ * Represents a GovalCert.
27200
27438
  */
27201
- declare class replit$goval$api$EvictReplRequest {
27439
+ declare class replit$goval$api$GovalCert {
27202
27440
  /**
27203
- * Constructs a new EvictReplRequest.
27441
+ * Constructs a new GovalCert.
27204
27442
  * @param [properties] Properties to set
27205
27443
  */
27206
- constructor(properties?: replit$goval$api$IEvictReplRequest): this;
27444
+ constructor(properties?: replit$goval$api$IGovalCert): this;
27207
27445
 
27208
27446
  /**
27209
- * EvictReplRequest clusterMetadata.
27447
+ * GovalCert iat.
27210
27448
  */
27211
- clusterMetadata?: replit$goval$api$ClusterMetadata | null;
27449
+ iat?: google$protobuf$Timestamp | null;
27212
27450
 
27213
27451
  /**
27214
- * EvictReplRequest token.
27452
+ * GovalCert exp.
27215
27453
  */
27216
- token: string;
27454
+ exp?: google$protobuf$Timestamp | null;
27217
27455
 
27218
27456
  /**
27219
- * EvictReplRequest user.
27457
+ * GovalCert claims.
27220
27458
  */
27221
- user: string;
27459
+ claims: replit$goval$api$CertificateClaim[];
27222
27460
 
27223
27461
  /**
27224
- * EvictReplRequest slug.
27462
+ * GovalCert publicKey.
27225
27463
  */
27226
- slug: string;
27464
+ publicKey: string;
27227
27465
 
27228
27466
  /**
27229
- * Creates a new EvictReplRequest instance using the specified properties.
27467
+ * Creates a new GovalCert instance using the specified properties.
27230
27468
  * @param [properties] Properties to set
27231
- * @returns EvictReplRequest instance
27469
+ * @returns GovalCert instance
27232
27470
  */
27233
27471
  static create(
27234
- properties?: replit$goval$api$IEvictReplRequest
27235
- ): replit$goval$api$EvictReplRequest;
27472
+ properties?: replit$goval$api$IGovalCert
27473
+ ): replit$goval$api$GovalCert;
27236
27474
 
27237
27475
  /**
27238
27476
  * [object Object],[object Object],[object Object]
27239
- * @param message EvictReplRequest message or plain object to encode
27477
+ * @param message GovalCert message or plain object to encode
27240
27478
  * @param [writer] Writer to encode to
27241
27479
  * @returns Writer
27242
27480
  */
27243
27481
  static encode(
27244
- message: replit$goval$api$EvictReplRequest,
27482
+ message: replit$goval$api$GovalCert,
27245
27483
  writer?: $protobuf.Writer
27246
27484
  ): $protobuf.Writer;
27247
27485
 
27248
27486
  /**
27249
27487
  * [object Object],[object Object],[object Object]
27250
- * @param message EvictReplRequest message or plain object to encode
27488
+ * @param message GovalCert message or plain object to encode
27251
27489
  * @param [writer] Writer to encode to
27252
27490
  * @returns Writer
27253
27491
  */
27254
27492
  static encodeDelimited(
27255
- message: replit$goval$api$EvictReplRequest,
27493
+ message: replit$goval$api$GovalCert,
27256
27494
  writer?: $protobuf.Writer
27257
27495
  ): $protobuf.Writer;
27258
27496
 
27259
27497
  /**
27260
- * Decodes an EvictReplRequest message from the specified reader or buffer.
27498
+ * Decodes a GovalCert message from the specified reader or buffer.
27261
27499
  * @param reader Reader or buffer to decode from
27262
27500
  * @param [length] Message length if known beforehand
27263
- * @returns EvictReplRequest
27501
+ * @returns GovalCert
27264
27502
  * @throws {Error} If the payload is not a reader or valid buffer
27265
27503
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27266
27504
  */
27267
27505
  static decode(
27268
27506
  reader: $protobuf.Reader | Uint8Array,
27269
27507
  length?: number
27270
- ): replit$goval$api$EvictReplRequest;
27508
+ ): replit$goval$api$GovalCert;
27271
27509
 
27272
27510
  /**
27273
- * Decodes an EvictReplRequest message from the specified reader or buffer, length delimited.
27511
+ * Decodes a GovalCert message from the specified reader or buffer, length delimited.
27274
27512
  * @param reader Reader or buffer to decode from
27275
- * @returns EvictReplRequest
27513
+ * @returns GovalCert
27276
27514
  * @throws {Error} If the payload is not a reader or valid buffer
27277
27515
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27278
27516
  */
27279
27517
  static decodeDelimited(
27280
27518
  reader: $protobuf.Reader | Uint8Array
27281
- ): replit$goval$api$EvictReplRequest;
27519
+ ): replit$goval$api$GovalCert;
27282
27520
 
27283
27521
  /**
27284
- * Verifies an EvictReplRequest message.
27522
+ * Verifies a GovalCert message.
27285
27523
  * @param message Plain object to verify
27286
27524
  * @returns `null` if valid, otherwise the reason why it is not
27287
27525
  */
@@ -27290,29 +27528,29 @@ declare class replit$goval$api$EvictReplRequest {
27290
27528
  |}): string | null;
27291
27529
 
27292
27530
  /**
27293
- * Creates an EvictReplRequest message from a plain object. Also converts values to their respective internal types.
27531
+ * Creates a GovalCert message from a plain object. Also converts values to their respective internal types.
27294
27532
  * @param object Plain object
27295
- * @returns EvictReplRequest
27533
+ * @returns GovalCert
27296
27534
  */
27297
27535
  static fromObject(object: {|
27298
27536
  [k: string]: any,
27299
- |}): replit$goval$api$EvictReplRequest;
27537
+ |}): replit$goval$api$GovalCert;
27300
27538
 
27301
27539
  /**
27302
- * Creates a plain object from an EvictReplRequest message. Also converts values to other types if specified.
27303
- * @param message EvictReplRequest
27540
+ * Creates a plain object from a GovalCert message. Also converts values to other types if specified.
27541
+ * @param message GovalCert
27304
27542
  * @param [options] Conversion options
27305
27543
  * @returns Plain object
27306
27544
  */
27307
27545
  static toObject(
27308
- message: replit$goval$api$EvictReplRequest,
27546
+ message: replit$goval$api$GovalCert,
27309
27547
  options?: $protobuf.IConversionOptions
27310
27548
  ): {|
27311
27549
  [k: string]: any,
27312
27550
  |};
27313
27551
 
27314
27552
  /**
27315
- * Converts this EvictReplRequest to JSON.
27553
+ * Converts this GovalCert to JSON.
27316
27554
  * @returns JSON object
27317
27555
  */
27318
27556
  toJSON(): {|
@@ -27321,90 +27559,135 @@ declare class replit$goval$api$EvictReplRequest {
27321
27559
  }
27322
27560
 
27323
27561
  /**
27324
- * Properties of an EvictReplResponse.
27562
+ * Properties of a GovalToken.
27325
27563
  */
27326
- declare type replit$goval$api$IEvictReplResponse = {|
27564
+ declare type replit$goval$api$IGovalToken = {|
27327
27565
  /**
27328
- * EvictReplResponse replTransfer
27566
+ * GovalToken iat
27329
27567
  */
27330
- replTransfer?:
27331
- | replit$goval$api$ReplTransfer
27332
- | replit$goval$api$IReplTransfer
27568
+ iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
27569
+
27570
+ /**
27571
+ * GovalToken exp
27572
+ */
27573
+ exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
27574
+
27575
+ /**
27576
+ * GovalToken replid
27577
+ */
27578
+ replid?: string | null,
27579
+
27580
+ /**
27581
+ * GovalToken replToken
27582
+ */
27583
+ replToken?: replit$goval$api$ReplToken | replit$goval$api$IReplToken | null,
27584
+
27585
+ /**
27586
+ * GovalToken replIdentity
27587
+ */
27588
+ replIdentity?:
27589
+ | replit$goval$api$GovalReplIdentity
27590
+ | replit$goval$api$IGovalReplIdentity
27333
27591
  | null,
27334
27592
  |};
27335
27593
 
27336
27594
  /**
27337
- * Represents an EvictReplResponse.
27595
+ * Represents a GovalToken.
27338
27596
  */
27339
- declare class replit$goval$api$EvictReplResponse {
27597
+ declare class replit$goval$api$GovalToken {
27598
+ /**
27599
+ * Constructs a new GovalToken.
27600
+ * @param [properties] Properties to set
27601
+ */
27602
+ constructor(properties?: replit$goval$api$IGovalToken): this;
27603
+
27604
+ /**
27605
+ * GovalToken iat.
27606
+ */
27607
+ iat?: google$protobuf$Timestamp | null;
27608
+
27609
+ /**
27610
+ * GovalToken exp.
27611
+ */
27612
+ exp?: google$protobuf$Timestamp | null;
27613
+
27614
+ /**
27615
+ * GovalToken replid.
27616
+ */
27617
+ replid: string;
27618
+
27619
+ /**
27620
+ * GovalToken replToken.
27621
+ */
27622
+ replToken?: replit$goval$api$ReplToken | null;
27623
+
27340
27624
  /**
27341
- * Constructs a new EvictReplResponse.
27342
- * @param [properties] Properties to set
27625
+ * GovalToken replIdentity.
27343
27626
  */
27344
- constructor(properties?: replit$goval$api$IEvictReplResponse): this;
27627
+ replIdentity?: replit$goval$api$GovalReplIdentity | null;
27345
27628
 
27346
27629
  /**
27347
- * EvictReplResponse replTransfer.
27630
+ * GovalToken Token.
27348
27631
  */
27349
- replTransfer?: replit$goval$api$ReplTransfer | null;
27632
+ Token?: "replToken" | "replIdentity";
27350
27633
 
27351
27634
  /**
27352
- * Creates a new EvictReplResponse instance using the specified properties.
27635
+ * Creates a new GovalToken instance using the specified properties.
27353
27636
  * @param [properties] Properties to set
27354
- * @returns EvictReplResponse instance
27637
+ * @returns GovalToken instance
27355
27638
  */
27356
27639
  static create(
27357
- properties?: replit$goval$api$IEvictReplResponse
27358
- ): replit$goval$api$EvictReplResponse;
27640
+ properties?: replit$goval$api$IGovalToken
27641
+ ): replit$goval$api$GovalToken;
27359
27642
 
27360
27643
  /**
27361
27644
  * [object Object],[object Object],[object Object]
27362
- * @param message EvictReplResponse message or plain object to encode
27645
+ * @param message GovalToken message or plain object to encode
27363
27646
  * @param [writer] Writer to encode to
27364
27647
  * @returns Writer
27365
27648
  */
27366
27649
  static encode(
27367
- message: replit$goval$api$EvictReplResponse,
27650
+ message: replit$goval$api$GovalToken,
27368
27651
  writer?: $protobuf.Writer
27369
27652
  ): $protobuf.Writer;
27370
27653
 
27371
27654
  /**
27372
27655
  * [object Object],[object Object],[object Object]
27373
- * @param message EvictReplResponse message or plain object to encode
27656
+ * @param message GovalToken message or plain object to encode
27374
27657
  * @param [writer] Writer to encode to
27375
27658
  * @returns Writer
27376
27659
  */
27377
27660
  static encodeDelimited(
27378
- message: replit$goval$api$EvictReplResponse,
27661
+ message: replit$goval$api$GovalToken,
27379
27662
  writer?: $protobuf.Writer
27380
27663
  ): $protobuf.Writer;
27381
27664
 
27382
27665
  /**
27383
- * Decodes an EvictReplResponse message from the specified reader or buffer.
27666
+ * Decodes a GovalToken message from the specified reader or buffer.
27384
27667
  * @param reader Reader or buffer to decode from
27385
27668
  * @param [length] Message length if known beforehand
27386
- * @returns EvictReplResponse
27669
+ * @returns GovalToken
27387
27670
  * @throws {Error} If the payload is not a reader or valid buffer
27388
27671
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27389
27672
  */
27390
27673
  static decode(
27391
27674
  reader: $protobuf.Reader | Uint8Array,
27392
27675
  length?: number
27393
- ): replit$goval$api$EvictReplResponse;
27676
+ ): replit$goval$api$GovalToken;
27394
27677
 
27395
27678
  /**
27396
- * Decodes an EvictReplResponse message from the specified reader or buffer, length delimited.
27679
+ * Decodes a GovalToken message from the specified reader or buffer, length delimited.
27397
27680
  * @param reader Reader or buffer to decode from
27398
- * @returns EvictReplResponse
27681
+ * @returns GovalToken
27399
27682
  * @throws {Error} If the payload is not a reader or valid buffer
27400
27683
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27401
27684
  */
27402
27685
  static decodeDelimited(
27403
27686
  reader: $protobuf.Reader | Uint8Array
27404
- ): replit$goval$api$EvictReplResponse;
27687
+ ): replit$goval$api$GovalToken;
27405
27688
 
27406
27689
  /**
27407
- * Verifies an EvictReplResponse message.
27690
+ * Verifies a GovalToken message.
27408
27691
  * @param message Plain object to verify
27409
27692
  * @returns `null` if valid, otherwise the reason why it is not
27410
27693
  */
@@ -27413,29 +27696,29 @@ declare class replit$goval$api$EvictReplResponse {
27413
27696
  |}): string | null;
27414
27697
 
27415
27698
  /**
27416
- * Creates an EvictReplResponse message from a plain object. Also converts values to their respective internal types.
27699
+ * Creates a GovalToken message from a plain object. Also converts values to their respective internal types.
27417
27700
  * @param object Plain object
27418
- * @returns EvictReplResponse
27701
+ * @returns GovalToken
27419
27702
  */
27420
27703
  static fromObject(object: {|
27421
27704
  [k: string]: any,
27422
- |}): replit$goval$api$EvictReplResponse;
27705
+ |}): replit$goval$api$GovalToken;
27423
27706
 
27424
27707
  /**
27425
- * Creates a plain object from an EvictReplResponse message. Also converts values to other types if specified.
27426
- * @param message EvictReplResponse
27708
+ * Creates a plain object from a GovalToken message. Also converts values to other types if specified.
27709
+ * @param message GovalToken
27427
27710
  * @param [options] Conversion options
27428
27711
  * @returns Plain object
27429
27712
  */
27430
27713
  static toObject(
27431
- message: replit$goval$api$EvictReplResponse,
27714
+ message: replit$goval$api$GovalToken,
27432
27715
  options?: $protobuf.IConversionOptions
27433
27716
  ): {|
27434
27717
  [k: string]: any,
27435
27718
  |};
27436
27719
 
27437
27720
  /**
27438
- * Converts this EvictReplResponse to JSON.
27721
+ * Converts this GovalToken to JSON.
27439
27722
  * @returns JSON object
27440
27723
  */
27441
27724
  toJSON(): {|
@@ -27444,131 +27727,137 @@ declare class replit$goval$api$EvictReplResponse {
27444
27727
  }
27445
27728
 
27446
27729
  /**
27447
- * TokenVersion enum.
27730
+ * Properties of a GovalReplIdentity.
27448
27731
  */
27732
+ declare type replit$goval$api$IGovalReplIdentity = {|
27733
+ /**
27734
+ * GovalReplIdentity replid
27735
+ */
27736
+ replid?: string | null,
27449
27737
 
27450
- declare var replit$goval$api$TokenVersion: {|
27451
- +BARE_REPL_TOKEN: 0, // 0
27452
- +TYPE_AWARE_TOKEN: 1, // 1
27453
- |};
27738
+ /**
27739
+ * GovalReplIdentity user
27740
+ */
27741
+ user?: string | null,
27454
27742
 
27455
- /**
27456
- * Properties of a GovalSigningAuthority.
27457
- */
27458
- declare type replit$goval$api$IGovalSigningAuthority = {|
27459
27743
  /**
27460
- * GovalSigningAuthority keyId
27744
+ * GovalReplIdentity slug
27461
27745
  */
27462
- keyId?: string | null,
27746
+ slug?: string | null,
27463
27747
 
27464
27748
  /**
27465
- * GovalSigningAuthority signedCert
27749
+ * GovalReplIdentity aud
27466
27750
  */
27467
- signedCert?: string | null,
27751
+ aud?: string | null,
27468
27752
 
27469
27753
  /**
27470
- * GovalSigningAuthority version
27754
+ * GovalReplIdentity ephemeral
27471
27755
  */
27472
- version?: $Values<typeof replit$goval$api$TokenVersion> | null,
27756
+ ephemeral?: boolean | null,
27473
27757
 
27474
27758
  /**
27475
- * GovalSigningAuthority issuer
27759
+ * GovalReplIdentity originReplid
27476
27760
  */
27477
- issuer?: string | null,
27761
+ originReplid?: string | null,
27478
27762
  |};
27479
27763
 
27480
27764
  /**
27481
- * Represents a GovalSigningAuthority.
27765
+ * Represents a GovalReplIdentity.
27482
27766
  */
27483
- declare class replit$goval$api$GovalSigningAuthority {
27767
+ declare class replit$goval$api$GovalReplIdentity {
27484
27768
  /**
27485
- * Constructs a new GovalSigningAuthority.
27769
+ * Constructs a new GovalReplIdentity.
27486
27770
  * @param [properties] Properties to set
27487
27771
  */
27488
- constructor(properties?: replit$goval$api$IGovalSigningAuthority): this;
27772
+ constructor(properties?: replit$goval$api$IGovalReplIdentity): this;
27489
27773
 
27490
27774
  /**
27491
- * GovalSigningAuthority keyId.
27775
+ * GovalReplIdentity replid.
27492
27776
  */
27493
- keyId?: string | null;
27777
+ replid: string;
27494
27778
 
27495
27779
  /**
27496
- * GovalSigningAuthority signedCert.
27780
+ * GovalReplIdentity user.
27497
27781
  */
27498
- signedCert?: string | null;
27782
+ user: string;
27499
27783
 
27500
27784
  /**
27501
- * GovalSigningAuthority version.
27785
+ * GovalReplIdentity slug.
27502
27786
  */
27503
- version: $Values<typeof replit$goval$api$TokenVersion>;
27787
+ slug: string;
27504
27788
 
27505
27789
  /**
27506
- * GovalSigningAuthority issuer.
27790
+ * GovalReplIdentity aud.
27507
27791
  */
27508
- issuer: string;
27792
+ aud: string;
27509
27793
 
27510
27794
  /**
27511
- * GovalSigningAuthority cert.
27795
+ * GovalReplIdentity ephemeral.
27512
27796
  */
27513
- cert?: "keyId" | "signedCert";
27797
+ ephemeral: boolean;
27514
27798
 
27515
27799
  /**
27516
- * Creates a new GovalSigningAuthority instance using the specified properties.
27800
+ * GovalReplIdentity originReplid.
27801
+ */
27802
+ originReplid: string;
27803
+
27804
+ /**
27805
+ * Creates a new GovalReplIdentity instance using the specified properties.
27517
27806
  * @param [properties] Properties to set
27518
- * @returns GovalSigningAuthority instance
27807
+ * @returns GovalReplIdentity instance
27519
27808
  */
27520
27809
  static create(
27521
- properties?: replit$goval$api$IGovalSigningAuthority
27522
- ): replit$goval$api$GovalSigningAuthority;
27810
+ properties?: replit$goval$api$IGovalReplIdentity
27811
+ ): replit$goval$api$GovalReplIdentity;
27523
27812
 
27524
27813
  /**
27525
27814
  * [object Object],[object Object],[object Object]
27526
- * @param message GovalSigningAuthority message or plain object to encode
27815
+ * @param message GovalReplIdentity message or plain object to encode
27527
27816
  * @param [writer] Writer to encode to
27528
27817
  * @returns Writer
27529
27818
  */
27530
27819
  static encode(
27531
- message: replit$goval$api$GovalSigningAuthority,
27820
+ message: replit$goval$api$GovalReplIdentity,
27532
27821
  writer?: $protobuf.Writer
27533
27822
  ): $protobuf.Writer;
27534
27823
 
27535
27824
  /**
27536
27825
  * [object Object],[object Object],[object Object]
27537
- * @param message GovalSigningAuthority message or plain object to encode
27826
+ * @param message GovalReplIdentity message or plain object to encode
27538
27827
  * @param [writer] Writer to encode to
27539
27828
  * @returns Writer
27540
27829
  */
27541
27830
  static encodeDelimited(
27542
- message: replit$goval$api$GovalSigningAuthority,
27831
+ message: replit$goval$api$GovalReplIdentity,
27543
27832
  writer?: $protobuf.Writer
27544
27833
  ): $protobuf.Writer;
27545
27834
 
27546
27835
  /**
27547
- * Decodes a GovalSigningAuthority message from the specified reader or buffer.
27836
+ * Decodes a GovalReplIdentity message from the specified reader or buffer.
27548
27837
  * @param reader Reader or buffer to decode from
27549
27838
  * @param [length] Message length if known beforehand
27550
- * @returns GovalSigningAuthority
27839
+ * @returns GovalReplIdentity
27551
27840
  * @throws {Error} If the payload is not a reader or valid buffer
27552
27841
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27553
27842
  */
27554
27843
  static decode(
27555
27844
  reader: $protobuf.Reader | Uint8Array,
27556
27845
  length?: number
27557
- ): replit$goval$api$GovalSigningAuthority;
27846
+ ): replit$goval$api$GovalReplIdentity;
27558
27847
 
27559
27848
  /**
27560
- * Decodes a GovalSigningAuthority message from the specified reader or buffer, length delimited.
27849
+ * Decodes a GovalReplIdentity message from the specified reader or buffer, length delimited.
27561
27850
  * @param reader Reader or buffer to decode from
27562
- * @returns GovalSigningAuthority
27851
+ * @returns GovalReplIdentity
27563
27852
  * @throws {Error} If the payload is not a reader or valid buffer
27564
27853
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27565
27854
  */
27566
27855
  static decodeDelimited(
27567
27856
  reader: $protobuf.Reader | Uint8Array
27568
- ): replit$goval$api$GovalSigningAuthority;
27857
+ ): replit$goval$api$GovalReplIdentity;
27569
27858
 
27570
27859
  /**
27571
- * Verifies a GovalSigningAuthority message.
27860
+ * Verifies a GovalReplIdentity message.
27572
27861
  * @param message Plain object to verify
27573
27862
  * @returns `null` if valid, otherwise the reason why it is not
27574
27863
  */
@@ -27577,29 +27866,29 @@ declare class replit$goval$api$GovalSigningAuthority {
27577
27866
  |}): string | null;
27578
27867
 
27579
27868
  /**
27580
- * Creates a GovalSigningAuthority message from a plain object. Also converts values to their respective internal types.
27869
+ * Creates a GovalReplIdentity message from a plain object. Also converts values to their respective internal types.
27581
27870
  * @param object Plain object
27582
- * @returns GovalSigningAuthority
27871
+ * @returns GovalReplIdentity
27583
27872
  */
27584
27873
  static fromObject(object: {|
27585
27874
  [k: string]: any,
27586
- |}): replit$goval$api$GovalSigningAuthority;
27875
+ |}): replit$goval$api$GovalReplIdentity;
27587
27876
 
27588
27877
  /**
27589
- * Creates a plain object from a GovalSigningAuthority message. Also converts values to other types if specified.
27590
- * @param message GovalSigningAuthority
27878
+ * Creates a plain object from a GovalReplIdentity message. Also converts values to other types if specified.
27879
+ * @param message GovalReplIdentity
27591
27880
  * @param [options] Conversion options
27592
27881
  * @returns Plain object
27593
27882
  */
27594
27883
  static toObject(
27595
- message: replit$goval$api$GovalSigningAuthority,
27884
+ message: replit$goval$api$GovalReplIdentity,
27596
27885
  options?: $protobuf.IConversionOptions
27597
27886
  ): {|
27598
27887
  [k: string]: any,
27599
27888
  |};
27600
27889
 
27601
27890
  /**
27602
- * Converts this GovalSigningAuthority to JSON.
27891
+ * Converts this GovalReplIdentity to JSON.
27603
27892
  * @returns JSON object
27604
27893
  */
27605
27894
  toJSON(): {|
@@ -27607,136 +27896,197 @@ declare class replit$goval$api$GovalSigningAuthority {
27607
27896
  |};
27608
27897
  }
27609
27898
 
27899
+ declare var npm$namespace$replit$goval$api$features: {|
27900
+ IGpu: Class<replit$goval$api$features$IGpu>,
27901
+ IBoosted: Class<replit$goval$api$features$IBoosted>,
27902
+ IFeature: Class<replit$goval$api$features$IFeature>,
27903
+ Gpu: typeof replit$goval$api$features$Gpu,
27904
+ Boosted: typeof replit$goval$api$features$Boosted,
27905
+ Feature: typeof replit$goval$api$features$Feature,
27906
+ |};
27907
+
27610
27908
  /**
27611
- * FlagClaim enum.
27909
+ * Properties of a Gpu.
27612
27910
  */
27613
-
27614
- declare var replit$goval$api$FlagClaim: {|
27615
- +MINT_GOVAL_TOKEN: 0, // 0
27616
- +SIGN_INTERMEDIATE_CERT: 1, // 1
27617
- +IDENTITY: 5, // 5
27618
- +ANY_REPLID: 2, // 2
27619
- +ANY_USER: 3, // 3
27620
- +ANY_CLUSTER: 4, // 4
27621
- |};
27911
+ declare type replit$goval$api$features$IGpu = {||};
27622
27912
 
27623
27913
  /**
27624
- * Properties of a CertificateClaim.
27914
+ * Represents a Gpu.
27625
27915
  */
27626
- declare type replit$goval$api$ICertificateClaim = {|
27916
+ declare class replit$goval$api$features$Gpu {
27627
27917
  /**
27628
- * CertificateClaim replid
27918
+ * Constructs a new Gpu.
27919
+ * @param [properties] Properties to set
27629
27920
  */
27630
- replid?: string | null,
27921
+ constructor(properties?: replit$goval$api$features$IGpu): this;
27631
27922
 
27632
27923
  /**
27633
- * CertificateClaim user
27924
+ * Creates a new Gpu instance using the specified properties.
27925
+ * @param [properties] Properties to set
27926
+ * @returns Gpu instance
27634
27927
  */
27635
- user?: string | null,
27928
+ static create(
27929
+ properties?: replit$goval$api$features$IGpu
27930
+ ): replit$goval$api$features$Gpu;
27636
27931
 
27637
27932
  /**
27638
- * CertificateClaim cluster
27933
+ * [object Object],[object Object],[object Object]
27934
+ * @param message Gpu message or plain object to encode
27935
+ * @param [writer] Writer to encode to
27936
+ * @returns Writer
27639
27937
  */
27640
- cluster?: string | null,
27938
+ static encode(
27939
+ message: replit$goval$api$features$Gpu,
27940
+ writer?: $protobuf.Writer
27941
+ ): $protobuf.Writer;
27641
27942
 
27642
27943
  /**
27643
- * CertificateClaim flag
27944
+ * [object Object],[object Object],[object Object]
27945
+ * @param message Gpu message or plain object to encode
27946
+ * @param [writer] Writer to encode to
27947
+ * @returns Writer
27644
27948
  */
27645
- flag?: $Values<typeof replit$goval$api$FlagClaim> | null,
27646
- |};
27949
+ static encodeDelimited(
27950
+ message: replit$goval$api$features$Gpu,
27951
+ writer?: $protobuf.Writer
27952
+ ): $protobuf.Writer;
27647
27953
 
27648
- /**
27649
- * Represents a CertificateClaim.
27650
- */
27651
- declare class replit$goval$api$CertificateClaim {
27652
27954
  /**
27653
- * Constructs a new CertificateClaim.
27654
- * @param [properties] Properties to set
27955
+ * Decodes a Gpu message from the specified reader or buffer.
27956
+ * @param reader Reader or buffer to decode from
27957
+ * @param [length] Message length if known beforehand
27958
+ * @returns Gpu
27959
+ * @throws {Error} If the payload is not a reader or valid buffer
27960
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27655
27961
  */
27656
- constructor(properties?: replit$goval$api$ICertificateClaim): this;
27962
+ static decode(
27963
+ reader: $protobuf.Reader | Uint8Array,
27964
+ length?: number
27965
+ ): replit$goval$api$features$Gpu;
27657
27966
 
27658
27967
  /**
27659
- * CertificateClaim replid.
27968
+ * Decodes a Gpu message from the specified reader or buffer, length delimited.
27969
+ * @param reader Reader or buffer to decode from
27970
+ * @returns Gpu
27971
+ * @throws {Error} If the payload is not a reader or valid buffer
27972
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27973
+ */
27974
+ static decodeDelimited(
27975
+ reader: $protobuf.Reader | Uint8Array
27976
+ ): replit$goval$api$features$Gpu;
27977
+
27978
+ /**
27979
+ * Verifies a Gpu message.
27980
+ * @param message Plain object to verify
27981
+ * @returns `null` if valid, otherwise the reason why it is not
27660
27982
  */
27661
- replid?: string | null;
27983
+ static verify(message: {|
27984
+ [k: string]: any,
27985
+ |}): string | null;
27662
27986
 
27663
27987
  /**
27664
- * CertificateClaim user.
27988
+ * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
27989
+ * @param object Plain object
27990
+ * @returns Gpu
27665
27991
  */
27666
- user?: string | null;
27992
+ static fromObject(object: {|
27993
+ [k: string]: any,
27994
+ |}): replit$goval$api$features$Gpu;
27667
27995
 
27668
27996
  /**
27669
- * CertificateClaim cluster.
27997
+ * Creates a plain object from a Gpu message. Also converts values to other types if specified.
27998
+ * @param message Gpu
27999
+ * @param [options] Conversion options
28000
+ * @returns Plain object
27670
28001
  */
27671
- cluster?: string | null;
28002
+ static toObject(
28003
+ message: replit$goval$api$features$Gpu,
28004
+ options?: $protobuf.IConversionOptions
28005
+ ): {|
28006
+ [k: string]: any,
28007
+ |};
27672
28008
 
27673
28009
  /**
27674
- * CertificateClaim flag.
28010
+ * Converts this Gpu to JSON.
28011
+ * @returns JSON object
27675
28012
  */
27676
- flag?: $Values<typeof replit$goval$api$FlagClaim> | null;
28013
+ toJSON(): {|
28014
+ [k: string]: any,
28015
+ |};
28016
+ }
28017
+
28018
+ /**
28019
+ * Properties of a Boosted.
28020
+ */
28021
+ declare type replit$goval$api$features$IBoosted = {||};
27677
28022
 
28023
+ /**
28024
+ * Represents a Boosted.
28025
+ */
28026
+ declare class replit$goval$api$features$Boosted {
27678
28027
  /**
27679
- * CertificateClaim claim.
28028
+ * Constructs a new Boosted.
28029
+ * @param [properties] Properties to set
27680
28030
  */
27681
- claim?: "replid" | "user" | "cluster" | "flag";
28031
+ constructor(properties?: replit$goval$api$features$IBoosted): this;
27682
28032
 
27683
28033
  /**
27684
- * Creates a new CertificateClaim instance using the specified properties.
28034
+ * Creates a new Boosted instance using the specified properties.
27685
28035
  * @param [properties] Properties to set
27686
- * @returns CertificateClaim instance
28036
+ * @returns Boosted instance
27687
28037
  */
27688
28038
  static create(
27689
- properties?: replit$goval$api$ICertificateClaim
27690
- ): replit$goval$api$CertificateClaim;
28039
+ properties?: replit$goval$api$features$IBoosted
28040
+ ): replit$goval$api$features$Boosted;
27691
28041
 
27692
28042
  /**
27693
28043
  * [object Object],[object Object],[object Object]
27694
- * @param message CertificateClaim message or plain object to encode
28044
+ * @param message Boosted message or plain object to encode
27695
28045
  * @param [writer] Writer to encode to
27696
28046
  * @returns Writer
27697
28047
  */
27698
28048
  static encode(
27699
- message: replit$goval$api$CertificateClaim,
28049
+ message: replit$goval$api$features$Boosted,
27700
28050
  writer?: $protobuf.Writer
27701
28051
  ): $protobuf.Writer;
27702
28052
 
27703
28053
  /**
27704
28054
  * [object Object],[object Object],[object Object]
27705
- * @param message CertificateClaim message or plain object to encode
28055
+ * @param message Boosted message or plain object to encode
27706
28056
  * @param [writer] Writer to encode to
27707
28057
  * @returns Writer
27708
28058
  */
27709
28059
  static encodeDelimited(
27710
- message: replit$goval$api$CertificateClaim,
28060
+ message: replit$goval$api$features$Boosted,
27711
28061
  writer?: $protobuf.Writer
27712
28062
  ): $protobuf.Writer;
27713
28063
 
27714
28064
  /**
27715
- * Decodes a CertificateClaim message from the specified reader or buffer.
28065
+ * Decodes a Boosted message from the specified reader or buffer.
27716
28066
  * @param reader Reader or buffer to decode from
27717
28067
  * @param [length] Message length if known beforehand
27718
- * @returns CertificateClaim
28068
+ * @returns Boosted
27719
28069
  * @throws {Error} If the payload is not a reader or valid buffer
27720
28070
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27721
28071
  */
27722
28072
  static decode(
27723
28073
  reader: $protobuf.Reader | Uint8Array,
27724
28074
  length?: number
27725
- ): replit$goval$api$CertificateClaim;
28075
+ ): replit$goval$api$features$Boosted;
27726
28076
 
27727
28077
  /**
27728
- * Decodes a CertificateClaim message from the specified reader or buffer, length delimited.
28078
+ * Decodes a Boosted message from the specified reader or buffer, length delimited.
27729
28079
  * @param reader Reader or buffer to decode from
27730
- * @returns CertificateClaim
28080
+ * @returns Boosted
27731
28081
  * @throws {Error} If the payload is not a reader or valid buffer
27732
28082
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27733
28083
  */
27734
28084
  static decodeDelimited(
27735
28085
  reader: $protobuf.Reader | Uint8Array
27736
- ): replit$goval$api$CertificateClaim;
28086
+ ): replit$goval$api$features$Boosted;
27737
28087
 
27738
28088
  /**
27739
- * Verifies a CertificateClaim message.
28089
+ * Verifies a Boosted message.
27740
28090
  * @param message Plain object to verify
27741
28091
  * @returns `null` if valid, otherwise the reason why it is not
27742
28092
  */
@@ -27745,29 +28095,29 @@ declare class replit$goval$api$CertificateClaim {
27745
28095
  |}): string | null;
27746
28096
 
27747
28097
  /**
27748
- * Creates a CertificateClaim message from a plain object. Also converts values to their respective internal types.
28098
+ * Creates a Boosted message from a plain object. Also converts values to their respective internal types.
27749
28099
  * @param object Plain object
27750
- * @returns CertificateClaim
28100
+ * @returns Boosted
27751
28101
  */
27752
28102
  static fromObject(object: {|
27753
28103
  [k: string]: any,
27754
- |}): replit$goval$api$CertificateClaim;
28104
+ |}): replit$goval$api$features$Boosted;
27755
28105
 
27756
28106
  /**
27757
- * Creates a plain object from a CertificateClaim message. Also converts values to other types if specified.
27758
- * @param message CertificateClaim
28107
+ * Creates a plain object from a Boosted message. Also converts values to other types if specified.
28108
+ * @param message Boosted
27759
28109
  * @param [options] Conversion options
27760
28110
  * @returns Plain object
27761
28111
  */
27762
28112
  static toObject(
27763
- message: replit$goval$api$CertificateClaim,
28113
+ message: replit$goval$api$features$Boosted,
27764
28114
  options?: $protobuf.IConversionOptions
27765
28115
  ): {|
27766
28116
  [k: string]: any,
27767
28117
  |};
27768
28118
 
27769
28119
  /**
27770
- * Converts this CertificateClaim to JSON.
28120
+ * Converts this Boosted to JSON.
27771
28121
  * @returns JSON object
27772
28122
  */
27773
28123
  toJSON(): {|
@@ -27776,119 +28126,115 @@ declare class replit$goval$api$CertificateClaim {
27776
28126
  }
27777
28127
 
27778
28128
  /**
27779
- * Properties of a GovalCert.
28129
+ * Properties of a Feature.
27780
28130
  */
27781
- declare type replit$goval$api$IGovalCert = {|
27782
- /**
27783
- * GovalCert iat
27784
- */
27785
- iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
27786
-
28131
+ declare type replit$goval$api$features$IFeature = {|
27787
28132
  /**
27788
- * GovalCert exp
28133
+ * Feature gpu
27789
28134
  */
27790
- exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
28135
+ gpu?: replit$goval$api$features$Gpu | replit$goval$api$features$IGpu | null,
27791
28136
 
27792
28137
  /**
27793
- * GovalCert claims
28138
+ * Feature boosted
27794
28139
  */
27795
- claims?:
27796
- | (replit$goval$api$CertificateClaim | replit$goval$api$ICertificateClaim)[]
28140
+ boosted?:
28141
+ | replit$goval$api$features$Boosted
28142
+ | replit$goval$api$features$IBoosted
27797
28143
  | null,
27798
28144
 
27799
28145
  /**
27800
- * GovalCert publicKey
28146
+ * Feature required
27801
28147
  */
27802
- publicKey?: string | null,
28148
+ required?: boolean | null,
27803
28149
  |};
27804
28150
 
27805
28151
  /**
27806
- * Represents a GovalCert.
28152
+ * Represents a Feature.
27807
28153
  */
27808
- declare class replit$goval$api$GovalCert {
28154
+ declare class replit$goval$api$features$Feature {
27809
28155
  /**
27810
- * Constructs a new GovalCert.
28156
+ * Constructs a new Feature.
27811
28157
  * @param [properties] Properties to set
27812
28158
  */
27813
- constructor(properties?: replit$goval$api$IGovalCert): this;
28159
+ constructor(properties?: replit$goval$api$features$IFeature): this;
27814
28160
 
27815
28161
  /**
27816
- * GovalCert iat.
28162
+ * Feature gpu.
27817
28163
  */
27818
- iat?: google$protobuf$Timestamp | null;
28164
+ gpu?: replit$goval$api$features$Gpu | null;
27819
28165
 
27820
28166
  /**
27821
- * GovalCert exp.
28167
+ * Feature boosted.
27822
28168
  */
27823
- exp?: google$protobuf$Timestamp | null;
28169
+ boosted?: replit$goval$api$features$Boosted | null;
27824
28170
 
27825
28171
  /**
27826
- * GovalCert claims.
28172
+ * Feature required.
27827
28173
  */
27828
- claims: replit$goval$api$CertificateClaim[];
28174
+ required: boolean;
27829
28175
 
27830
28176
  /**
27831
- * GovalCert publicKey.
28177
+ * Feature feature.
27832
28178
  */
27833
- publicKey: string;
28179
+ feature?: "gpu" | "boosted";
27834
28180
 
27835
28181
  /**
27836
- * Creates a new GovalCert instance using the specified properties.
28182
+ * Creates a new Feature instance using the specified properties.
27837
28183
  * @param [properties] Properties to set
27838
- * @returns GovalCert instance
28184
+ * @returns Feature instance
27839
28185
  */
27840
28186
  static create(
27841
- properties?: replit$goval$api$IGovalCert
27842
- ): replit$goval$api$GovalCert;
28187
+ properties?: replit$goval$api$features$IFeature
28188
+ ): replit$goval$api$features$Feature;
27843
28189
 
27844
28190
  /**
27845
28191
  * [object Object],[object Object],[object Object]
27846
- * @param message GovalCert message or plain object to encode
28192
+ * @param message Feature message or plain object to encode
27847
28193
  * @param [writer] Writer to encode to
27848
28194
  * @returns Writer
27849
28195
  */
27850
28196
  static encode(
27851
- message: replit$goval$api$GovalCert,
28197
+ message: replit$goval$api$features$Feature,
27852
28198
  writer?: $protobuf.Writer
27853
28199
  ): $protobuf.Writer;
27854
28200
 
27855
28201
  /**
27856
28202
  * [object Object],[object Object],[object Object]
27857
- * @param message GovalCert message or plain object to encode
28203
+ * @param message Feature message or plain object to encode
27858
28204
  * @param [writer] Writer to encode to
27859
28205
  * @returns Writer
27860
28206
  */
27861
28207
  static encodeDelimited(
27862
- message: replit$goval$api$GovalCert,
28208
+ message: replit$goval$api$features$Feature,
27863
28209
  writer?: $protobuf.Writer
27864
28210
  ): $protobuf.Writer;
27865
28211
 
27866
28212
  /**
27867
- * Decodes a GovalCert message from the specified reader or buffer.
28213
+ * Decodes a Feature message from the specified reader or buffer.
27868
28214
  * @param reader Reader or buffer to decode from
27869
28215
  * @param [length] Message length if known beforehand
27870
- * @returns GovalCert
28216
+ * @returns Feature
27871
28217
  * @throws {Error} If the payload is not a reader or valid buffer
27872
28218
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27873
28219
  */
27874
28220
  static decode(
27875
28221
  reader: $protobuf.Reader | Uint8Array,
27876
28222
  length?: number
27877
- ): replit$goval$api$GovalCert;
28223
+ ): replit$goval$api$features$Feature;
27878
28224
 
27879
28225
  /**
27880
- * Decodes a GovalCert message from the specified reader or buffer, length delimited.
28226
+ * Decodes a Feature message from the specified reader or buffer, length delimited.
27881
28227
  * @param reader Reader or buffer to decode from
27882
- * @returns GovalCert
28228
+ * @returns Feature
27883
28229
  * @throws {Error} If the payload is not a reader or valid buffer
27884
28230
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27885
28231
  */
27886
28232
  static decodeDelimited(
27887
28233
  reader: $protobuf.Reader | Uint8Array
27888
- ): replit$goval$api$GovalCert;
28234
+ ): replit$goval$api$features$Feature;
27889
28235
 
27890
28236
  /**
27891
- * Verifies a GovalCert message.
28237
+ * Verifies a Feature message.
27892
28238
  * @param message Plain object to verify
27893
28239
  * @returns `null` if valid, otherwise the reason why it is not
27894
28240
  */
@@ -27897,29 +28243,29 @@ declare class replit$goval$api$GovalCert {
27897
28243
  |}): string | null;
27898
28244
 
27899
28245
  /**
27900
- * Creates a GovalCert message from a plain object. Also converts values to their respective internal types.
28246
+ * Creates a Feature message from a plain object. Also converts values to their respective internal types.
27901
28247
  * @param object Plain object
27902
- * @returns GovalCert
28248
+ * @returns Feature
27903
28249
  */
27904
28250
  static fromObject(object: {|
27905
28251
  [k: string]: any,
27906
- |}): replit$goval$api$GovalCert;
28252
+ |}): replit$goval$api$features$Feature;
27907
28253
 
27908
28254
  /**
27909
- * Creates a plain object from a GovalCert message. Also converts values to other types if specified.
27910
- * @param message GovalCert
28255
+ * Creates a plain object from a Feature message. Also converts values to other types if specified.
28256
+ * @param message Feature
27911
28257
  * @param [options] Conversion options
27912
28258
  * @returns Plain object
27913
28259
  */
27914
28260
  static toObject(
27915
- message: replit$goval$api$GovalCert,
28261
+ message: replit$goval$api$features$Feature,
27916
28262
  options?: $protobuf.IConversionOptions
27917
28263
  ): {|
27918
28264
  [k: string]: any,
27919
28265
  |};
27920
28266
 
27921
28267
  /**
27922
- * Converts this GovalCert to JSON.
28268
+ * Converts this Feature to JSON.
27923
28269
  * @returns JSON object
27924
28270
  */
27925
28271
  toJSON(): {|
@@ -27927,136 +28273,160 @@ declare class replit$goval$api$GovalCert {
27927
28273
  |};
27928
28274
  }
27929
28275
 
28276
+ declare var npm$namespace$replit$goval$api$repl: {|
28277
+ Persistence: typeof replit$goval$api$repl$Persistence,
28278
+ IRepl: Class<replit$goval$api$repl$IRepl>,
28279
+ IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
28280
+ IPermissions: Class<replit$goval$api$repl$IPermissions>,
28281
+ IMetadata: Class<replit$goval$api$repl$IMetadata>,
28282
+ Repl: typeof replit$goval$api$repl$Repl,
28283
+ ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
28284
+ Permissions: typeof replit$goval$api$repl$Permissions,
28285
+ Metadata: typeof replit$goval$api$repl$Metadata,
28286
+ |};
28287
+
27930
28288
  /**
27931
- * Properties of a GovalToken.
28289
+ * Properties of a Repl.
27932
28290
  */
27933
- declare type replit$goval$api$IGovalToken = {|
28291
+ declare type replit$goval$api$repl$IRepl = {|
27934
28292
  /**
27935
- * GovalToken iat
28293
+ * Repl id
27936
28294
  */
27937
- iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
28295
+ id?: string | null,
27938
28296
 
27939
28297
  /**
27940
- * GovalToken exp
28298
+ * Repl language
27941
28299
  */
27942
- exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
28300
+ language?: string | null,
27943
28301
 
27944
28302
  /**
27945
- * GovalToken replid
28303
+ * Repl bucket
27946
28304
  */
27947
- replid?: string | null,
28305
+ bucket?: string | null,
27948
28306
 
27949
28307
  /**
27950
- * GovalToken replToken
28308
+ * Repl slug
27951
28309
  */
27952
- replToken?: replit$goval$api$ReplToken | replit$goval$api$IReplToken | null,
28310
+ slug?: string | null,
27953
28311
 
27954
28312
  /**
27955
- * GovalToken replIdentity
28313
+ * Repl user
27956
28314
  */
27957
- replIdentity?:
27958
- | replit$goval$api$GovalReplIdentity
27959
- | replit$goval$api$IGovalReplIdentity
27960
- | null,
28315
+ user?: string | null,
28316
+
28317
+ /**
28318
+ * Repl sourceRepl
28319
+ */
28320
+ sourceRepl?: string | null,
28321
+
28322
+ /**
28323
+ * Repl database
28324
+ */
28325
+ database?: string | null,
27961
28326
  |};
27962
28327
 
27963
28328
  /**
27964
- * Represents a GovalToken.
28329
+ * Represents a Repl.
27965
28330
  */
27966
- declare class replit$goval$api$GovalToken {
28331
+ declare class replit$goval$api$repl$Repl {
27967
28332
  /**
27968
- * Constructs a new GovalToken.
28333
+ * Constructs a new Repl.
27969
28334
  * @param [properties] Properties to set
27970
28335
  */
27971
- constructor(properties?: replit$goval$api$IGovalToken): this;
28336
+ constructor(properties?: replit$goval$api$repl$IRepl): this;
27972
28337
 
27973
28338
  /**
27974
- * GovalToken iat.
28339
+ * Repl id.
27975
28340
  */
27976
- iat?: google$protobuf$Timestamp | null;
28341
+ id: string;
27977
28342
 
27978
28343
  /**
27979
- * GovalToken exp.
28344
+ * Repl language.
27980
28345
  */
27981
- exp?: google$protobuf$Timestamp | null;
28346
+ language: string;
27982
28347
 
27983
28348
  /**
27984
- * GovalToken replid.
28349
+ * Repl bucket.
27985
28350
  */
27986
- replid: string;
28351
+ bucket: string;
27987
28352
 
27988
28353
  /**
27989
- * GovalToken replToken.
28354
+ * Repl slug.
27990
28355
  */
27991
- replToken?: replit$goval$api$ReplToken | null;
28356
+ slug: string;
27992
28357
 
27993
28358
  /**
27994
- * GovalToken replIdentity.
28359
+ * Repl user.
27995
28360
  */
27996
- replIdentity?: replit$goval$api$GovalReplIdentity | null;
28361
+ user: string;
27997
28362
 
27998
28363
  /**
27999
- * GovalToken Token.
28364
+ * Repl sourceRepl.
28000
28365
  */
28001
- Token?: "replToken" | "replIdentity";
28366
+ sourceRepl: string;
28002
28367
 
28003
28368
  /**
28004
- * Creates a new GovalToken instance using the specified properties.
28369
+ * Repl database.
28370
+ */
28371
+ database: string;
28372
+
28373
+ /**
28374
+ * Creates a new Repl instance using the specified properties.
28005
28375
  * @param [properties] Properties to set
28006
- * @returns GovalToken instance
28376
+ * @returns Repl instance
28007
28377
  */
28008
28378
  static create(
28009
- properties?: replit$goval$api$IGovalToken
28010
- ): replit$goval$api$GovalToken;
28379
+ properties?: replit$goval$api$repl$IRepl
28380
+ ): replit$goval$api$repl$Repl;
28011
28381
 
28012
28382
  /**
28013
28383
  * [object Object],[object Object],[object Object]
28014
- * @param message GovalToken message or plain object to encode
28384
+ * @param message Repl message or plain object to encode
28015
28385
  * @param [writer] Writer to encode to
28016
28386
  * @returns Writer
28017
28387
  */
28018
28388
  static encode(
28019
- message: replit$goval$api$GovalToken,
28389
+ message: replit$goval$api$repl$Repl,
28020
28390
  writer?: $protobuf.Writer
28021
28391
  ): $protobuf.Writer;
28022
28392
 
28023
28393
  /**
28024
28394
  * [object Object],[object Object],[object Object]
28025
- * @param message GovalToken message or plain object to encode
28395
+ * @param message Repl message or plain object to encode
28026
28396
  * @param [writer] Writer to encode to
28027
28397
  * @returns Writer
28028
28398
  */
28029
28399
  static encodeDelimited(
28030
- message: replit$goval$api$GovalToken,
28400
+ message: replit$goval$api$repl$Repl,
28031
28401
  writer?: $protobuf.Writer
28032
28402
  ): $protobuf.Writer;
28033
28403
 
28034
28404
  /**
28035
- * Decodes a GovalToken message from the specified reader or buffer.
28405
+ * Decodes a Repl message from the specified reader or buffer.
28036
28406
  * @param reader Reader or buffer to decode from
28037
28407
  * @param [length] Message length if known beforehand
28038
- * @returns GovalToken
28408
+ * @returns Repl
28039
28409
  * @throws {Error} If the payload is not a reader or valid buffer
28040
28410
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28041
28411
  */
28042
28412
  static decode(
28043
28413
  reader: $protobuf.Reader | Uint8Array,
28044
28414
  length?: number
28045
- ): replit$goval$api$GovalToken;
28415
+ ): replit$goval$api$repl$Repl;
28046
28416
 
28047
28417
  /**
28048
- * Decodes a GovalToken message from the specified reader or buffer, length delimited.
28418
+ * Decodes a Repl message from the specified reader or buffer, length delimited.
28049
28419
  * @param reader Reader or buffer to decode from
28050
- * @returns GovalToken
28420
+ * @returns Repl
28051
28421
  * @throws {Error} If the payload is not a reader or valid buffer
28052
28422
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28053
28423
  */
28054
28424
  static decodeDelimited(
28055
28425
  reader: $protobuf.Reader | Uint8Array
28056
- ): replit$goval$api$GovalToken;
28426
+ ): replit$goval$api$repl$Repl;
28057
28427
 
28058
28428
  /**
28059
- * Verifies a GovalToken message.
28429
+ * Verifies a Repl message.
28060
28430
  * @param message Plain object to verify
28061
28431
  * @returns `null` if valid, otherwise the reason why it is not
28062
28432
  */
@@ -28065,29 +28435,29 @@ declare class replit$goval$api$GovalToken {
28065
28435
  |}): string | null;
28066
28436
 
28067
28437
  /**
28068
- * Creates a GovalToken message from a plain object. Also converts values to their respective internal types.
28438
+ * Creates a Repl message from a plain object. Also converts values to their respective internal types.
28069
28439
  * @param object Plain object
28070
- * @returns GovalToken
28440
+ * @returns Repl
28071
28441
  */
28072
28442
  static fromObject(object: {|
28073
28443
  [k: string]: any,
28074
- |}): replit$goval$api$GovalToken;
28444
+ |}): replit$goval$api$repl$Repl;
28075
28445
 
28076
28446
  /**
28077
- * Creates a plain object from a GovalToken message. Also converts values to other types if specified.
28078
- * @param message GovalToken
28447
+ * Creates a plain object from a Repl message. Also converts values to other types if specified.
28448
+ * @param message Repl
28079
28449
  * @param [options] Conversion options
28080
28450
  * @returns Plain object
28081
28451
  */
28082
28452
  static toObject(
28083
- message: replit$goval$api$GovalToken,
28453
+ message: replit$goval$api$repl$Repl,
28084
28454
  options?: $protobuf.IConversionOptions
28085
28455
  ): {|
28086
28456
  [k: string]: any,
28087
28457
  |};
28088
28458
 
28089
28459
  /**
28090
- * Converts this GovalToken to JSON.
28460
+ * Converts this Repl to JSON.
28091
28461
  * @returns JSON object
28092
28462
  */
28093
28463
  toJSON(): {|
@@ -28096,137 +28466,159 @@ declare class replit$goval$api$GovalToken {
28096
28466
  }
28097
28467
 
28098
28468
  /**
28099
- * Properties of a GovalReplIdentity.
28469
+ * Properties of a ResourceLimits.
28100
28470
  */
28101
- declare type replit$goval$api$IGovalReplIdentity = {|
28471
+ declare type replit$goval$api$repl$IResourceLimits = {|
28102
28472
  /**
28103
- * GovalReplIdentity replid
28473
+ * ResourceLimits net
28104
28474
  */
28105
- replid?: string | null,
28475
+ net?: boolean | null,
28106
28476
 
28107
28477
  /**
28108
- * GovalReplIdentity user
28478
+ * ResourceLimits memory
28109
28479
  */
28110
- user?: string | null,
28480
+ memory?: number | null,
28111
28481
 
28112
28482
  /**
28113
- * GovalReplIdentity slug
28483
+ * ResourceLimits threads
28114
28484
  */
28115
- slug?: string | null,
28485
+ threads?: number | null,
28116
28486
 
28117
28487
  /**
28118
- * GovalReplIdentity aud
28488
+ * ResourceLimits shares
28119
28489
  */
28120
- aud?: string | null,
28490
+ shares?: number | null,
28121
28491
 
28122
28492
  /**
28123
- * GovalReplIdentity ephemeral
28493
+ * ResourceLimits disk
28124
28494
  */
28125
- ephemeral?: boolean | null,
28495
+ disk?: number | null,
28126
28496
 
28127
28497
  /**
28128
- * GovalReplIdentity originReplid
28498
+ * ResourceLimits cache
28129
28499
  */
28130
- originReplid?: string | null,
28500
+ cache?: $Values<
28501
+ typeof replit$goval$api$repl$ResourceLimits$Cachability
28502
+ > | null,
28503
+
28504
+ /**
28505
+ * ResourceLimits restrictNetwork
28506
+ */
28507
+ restrictNetwork?: boolean | null,
28508
+
28509
+ /**
28510
+ * ResourceLimits preventWakeup
28511
+ */
28512
+ preventWakeup?: boolean | null,
28131
28513
  |};
28132
28514
 
28133
28515
  /**
28134
- * Represents a GovalReplIdentity.
28516
+ * Represents a ResourceLimits.
28135
28517
  */
28136
- declare class replit$goval$api$GovalReplIdentity {
28518
+ declare class replit$goval$api$repl$ResourceLimits {
28137
28519
  /**
28138
- * Constructs a new GovalReplIdentity.
28520
+ * Constructs a new ResourceLimits.
28139
28521
  * @param [properties] Properties to set
28140
28522
  */
28141
- constructor(properties?: replit$goval$api$IGovalReplIdentity): this;
28523
+ constructor(properties?: replit$goval$api$repl$IResourceLimits): this;
28142
28524
 
28143
28525
  /**
28144
- * GovalReplIdentity replid.
28526
+ * ResourceLimits net.
28145
28527
  */
28146
- replid: string;
28528
+ net: boolean;
28147
28529
 
28148
28530
  /**
28149
- * GovalReplIdentity user.
28531
+ * ResourceLimits memory.
28150
28532
  */
28151
- user: string;
28533
+ memory: number;
28152
28534
 
28153
28535
  /**
28154
- * GovalReplIdentity slug.
28536
+ * ResourceLimits threads.
28155
28537
  */
28156
- slug: string;
28538
+ threads: number;
28157
28539
 
28158
28540
  /**
28159
- * GovalReplIdentity aud.
28541
+ * ResourceLimits shares.
28160
28542
  */
28161
- aud: string;
28543
+ shares: number;
28162
28544
 
28163
28545
  /**
28164
- * GovalReplIdentity ephemeral.
28546
+ * ResourceLimits disk.
28165
28547
  */
28166
- ephemeral: boolean;
28548
+ disk: number;
28167
28549
 
28168
28550
  /**
28169
- * GovalReplIdentity originReplid.
28551
+ * ResourceLimits cache.
28170
28552
  */
28171
- originReplid: string;
28553
+ cache: $Values<typeof replit$goval$api$repl$ResourceLimits$Cachability>;
28172
28554
 
28173
28555
  /**
28174
- * Creates a new GovalReplIdentity instance using the specified properties.
28556
+ * ResourceLimits restrictNetwork.
28557
+ */
28558
+ restrictNetwork: boolean;
28559
+
28560
+ /**
28561
+ * ResourceLimits preventWakeup.
28562
+ */
28563
+ preventWakeup: boolean;
28564
+
28565
+ /**
28566
+ * Creates a new ResourceLimits instance using the specified properties.
28175
28567
  * @param [properties] Properties to set
28176
- * @returns GovalReplIdentity instance
28568
+ * @returns ResourceLimits instance
28177
28569
  */
28178
28570
  static create(
28179
- properties?: replit$goval$api$IGovalReplIdentity
28180
- ): replit$goval$api$GovalReplIdentity;
28571
+ properties?: replit$goval$api$repl$IResourceLimits
28572
+ ): replit$goval$api$repl$ResourceLimits;
28181
28573
 
28182
28574
  /**
28183
28575
  * [object Object],[object Object],[object Object]
28184
- * @param message GovalReplIdentity message or plain object to encode
28576
+ * @param message ResourceLimits message or plain object to encode
28185
28577
  * @param [writer] Writer to encode to
28186
28578
  * @returns Writer
28187
28579
  */
28188
28580
  static encode(
28189
- message: replit$goval$api$GovalReplIdentity,
28581
+ message: replit$goval$api$repl$ResourceLimits,
28190
28582
  writer?: $protobuf.Writer
28191
28583
  ): $protobuf.Writer;
28192
28584
 
28193
28585
  /**
28194
28586
  * [object Object],[object Object],[object Object]
28195
- * @param message GovalReplIdentity message or plain object to encode
28587
+ * @param message ResourceLimits message or plain object to encode
28196
28588
  * @param [writer] Writer to encode to
28197
28589
  * @returns Writer
28198
28590
  */
28199
28591
  static encodeDelimited(
28200
- message: replit$goval$api$GovalReplIdentity,
28592
+ message: replit$goval$api$repl$ResourceLimits,
28201
28593
  writer?: $protobuf.Writer
28202
28594
  ): $protobuf.Writer;
28203
28595
 
28204
28596
  /**
28205
- * Decodes a GovalReplIdentity message from the specified reader or buffer.
28597
+ * Decodes a ResourceLimits message from the specified reader or buffer.
28206
28598
  * @param reader Reader or buffer to decode from
28207
28599
  * @param [length] Message length if known beforehand
28208
- * @returns GovalReplIdentity
28600
+ * @returns ResourceLimits
28209
28601
  * @throws {Error} If the payload is not a reader or valid buffer
28210
28602
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28211
28603
  */
28212
28604
  static decode(
28213
28605
  reader: $protobuf.Reader | Uint8Array,
28214
28606
  length?: number
28215
- ): replit$goval$api$GovalReplIdentity;
28607
+ ): replit$goval$api$repl$ResourceLimits;
28216
28608
 
28217
28609
  /**
28218
- * Decodes a GovalReplIdentity message from the specified reader or buffer, length delimited.
28610
+ * Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
28219
28611
  * @param reader Reader or buffer to decode from
28220
- * @returns GovalReplIdentity
28612
+ * @returns ResourceLimits
28221
28613
  * @throws {Error} If the payload is not a reader or valid buffer
28222
28614
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28223
28615
  */
28224
28616
  static decodeDelimited(
28225
28617
  reader: $protobuf.Reader | Uint8Array
28226
- ): replit$goval$api$GovalReplIdentity;
28618
+ ): replit$goval$api$repl$ResourceLimits;
28227
28619
 
28228
28620
  /**
28229
- * Verifies a GovalReplIdentity message.
28621
+ * Verifies a ResourceLimits message.
28230
28622
  * @param message Plain object to verify
28231
28623
  * @returns `null` if valid, otherwise the reason why it is not
28232
28624
  */
@@ -28235,115 +28627,129 @@ declare class replit$goval$api$GovalReplIdentity {
28235
28627
  |}): string | null;
28236
28628
 
28237
28629
  /**
28238
- * Creates a GovalReplIdentity message from a plain object. Also converts values to their respective internal types.
28630
+ * Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
28239
28631
  * @param object Plain object
28240
- * @returns GovalReplIdentity
28632
+ * @returns ResourceLimits
28241
28633
  */
28242
28634
  static fromObject(object: {|
28243
28635
  [k: string]: any,
28244
- |}): replit$goval$api$GovalReplIdentity;
28636
+ |}): replit$goval$api$repl$ResourceLimits;
28245
28637
 
28246
28638
  /**
28247
- * Creates a plain object from a GovalReplIdentity message. Also converts values to other types if specified.
28248
- * @param message GovalReplIdentity
28639
+ * Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
28640
+ * @param message ResourceLimits
28249
28641
  * @param [options] Conversion options
28250
28642
  * @returns Plain object
28251
28643
  */
28252
28644
  static toObject(
28253
- message: replit$goval$api$GovalReplIdentity,
28645
+ message: replit$goval$api$repl$ResourceLimits,
28254
28646
  options?: $protobuf.IConversionOptions
28255
28647
  ): {|
28256
28648
  [k: string]: any,
28257
28649
  |};
28258
28650
 
28259
28651
  /**
28260
- * Converts this GovalReplIdentity to JSON.
28652
+ * Converts this ResourceLimits to JSON.
28261
28653
  * @returns JSON object
28262
28654
  */
28263
28655
  toJSON(): {|
28264
28656
  [k: string]: any,
28265
28657
  |};
28658
+ static Cachability: typeof replit$goval$api$repl$ResourceLimits$Cachability;
28266
28659
  }
28267
28660
 
28268
- declare var npm$namespace$replit$goval$api$features: {|
28269
- IGpu: Class<replit$goval$api$features$IGpu>,
28270
- IFeature: Class<replit$goval$api$features$IFeature>,
28271
- Gpu: typeof replit$goval$api$features$Gpu,
28272
- Feature: typeof replit$goval$api$features$Feature,
28661
+ /**
28662
+ * Cachability enum.
28663
+ */
28664
+
28665
+ declare var replit$goval$api$repl$ResourceLimits$Cachability: {|
28666
+ +NONE: 0, // 0
28667
+ +USER: 1, // 1
28668
+ +REPL: 2, // 2
28273
28669
  |};
28274
28670
 
28275
28671
  /**
28276
- * Properties of a Gpu.
28672
+ * Properties of a Permissions.
28277
28673
  */
28278
- declare type replit$goval$api$features$IGpu = {||};
28674
+ declare type replit$goval$api$repl$IPermissions = {|
28675
+ /**
28676
+ * Permissions toggleAlwaysOn
28677
+ */
28678
+ toggleAlwaysOn?: boolean | null,
28679
+ |};
28279
28680
 
28280
28681
  /**
28281
- * Represents a Gpu.
28682
+ * Represents a Permissions.
28282
28683
  */
28283
- declare class replit$goval$api$features$Gpu {
28684
+ declare class replit$goval$api$repl$Permissions {
28284
28685
  /**
28285
- * Constructs a new Gpu.
28686
+ * Constructs a new Permissions.
28286
28687
  * @param [properties] Properties to set
28287
28688
  */
28288
- constructor(properties?: replit$goval$api$features$IGpu): this;
28689
+ constructor(properties?: replit$goval$api$repl$IPermissions): this;
28289
28690
 
28290
28691
  /**
28291
- * Creates a new Gpu instance using the specified properties.
28692
+ * Permissions toggleAlwaysOn.
28693
+ */
28694
+ toggleAlwaysOn: boolean;
28695
+
28696
+ /**
28697
+ * Creates a new Permissions instance using the specified properties.
28292
28698
  * @param [properties] Properties to set
28293
- * @returns Gpu instance
28699
+ * @returns Permissions instance
28294
28700
  */
28295
28701
  static create(
28296
- properties?: replit$goval$api$features$IGpu
28297
- ): replit$goval$api$features$Gpu;
28702
+ properties?: replit$goval$api$repl$IPermissions
28703
+ ): replit$goval$api$repl$Permissions;
28298
28704
 
28299
28705
  /**
28300
28706
  * [object Object],[object Object],[object Object]
28301
- * @param message Gpu message or plain object to encode
28707
+ * @param message Permissions message or plain object to encode
28302
28708
  * @param [writer] Writer to encode to
28303
28709
  * @returns Writer
28304
28710
  */
28305
28711
  static encode(
28306
- message: replit$goval$api$features$Gpu,
28712
+ message: replit$goval$api$repl$Permissions,
28307
28713
  writer?: $protobuf.Writer
28308
28714
  ): $protobuf.Writer;
28309
28715
 
28310
28716
  /**
28311
28717
  * [object Object],[object Object],[object Object]
28312
- * @param message Gpu message or plain object to encode
28718
+ * @param message Permissions message or plain object to encode
28313
28719
  * @param [writer] Writer to encode to
28314
28720
  * @returns Writer
28315
28721
  */
28316
28722
  static encodeDelimited(
28317
- message: replit$goval$api$features$Gpu,
28723
+ message: replit$goval$api$repl$Permissions,
28318
28724
  writer?: $protobuf.Writer
28319
28725
  ): $protobuf.Writer;
28320
28726
 
28321
28727
  /**
28322
- * Decodes a Gpu message from the specified reader or buffer.
28728
+ * Decodes a Permissions message from the specified reader or buffer.
28323
28729
  * @param reader Reader or buffer to decode from
28324
28730
  * @param [length] Message length if known beforehand
28325
- * @returns Gpu
28731
+ * @returns Permissions
28326
28732
  * @throws {Error} If the payload is not a reader or valid buffer
28327
28733
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28328
28734
  */
28329
28735
  static decode(
28330
28736
  reader: $protobuf.Reader | Uint8Array,
28331
28737
  length?: number
28332
- ): replit$goval$api$features$Gpu;
28738
+ ): replit$goval$api$repl$Permissions;
28333
28739
 
28334
28740
  /**
28335
- * Decodes a Gpu message from the specified reader or buffer, length delimited.
28741
+ * Decodes a Permissions message from the specified reader or buffer, length delimited.
28336
28742
  * @param reader Reader or buffer to decode from
28337
- * @returns Gpu
28743
+ * @returns Permissions
28338
28744
  * @throws {Error} If the payload is not a reader or valid buffer
28339
28745
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28340
28746
  */
28341
28747
  static decodeDelimited(
28342
28748
  reader: $protobuf.Reader | Uint8Array
28343
- ): replit$goval$api$features$Gpu;
28749
+ ): replit$goval$api$repl$Permissions;
28344
28750
 
28345
28751
  /**
28346
- * Verifies a Gpu message.
28752
+ * Verifies a Permissions message.
28347
28753
  * @param message Plain object to verify
28348
28754
  * @returns `null` if valid, otherwise the reason why it is not
28349
28755
  */
@@ -28352,29 +28758,29 @@ declare class replit$goval$api$features$Gpu {
28352
28758
  |}): string | null;
28353
28759
 
28354
28760
  /**
28355
- * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
28761
+ * Creates a Permissions message from a plain object. Also converts values to their respective internal types.
28356
28762
  * @param object Plain object
28357
- * @returns Gpu
28763
+ * @returns Permissions
28358
28764
  */
28359
28765
  static fromObject(object: {|
28360
28766
  [k: string]: any,
28361
- |}): replit$goval$api$features$Gpu;
28767
+ |}): replit$goval$api$repl$Permissions;
28362
28768
 
28363
28769
  /**
28364
- * Creates a plain object from a Gpu message. Also converts values to other types if specified.
28365
- * @param message Gpu
28770
+ * Creates a plain object from a Permissions message. Also converts values to other types if specified.
28771
+ * @param message Permissions
28366
28772
  * @param [options] Conversion options
28367
28773
  * @returns Plain object
28368
28774
  */
28369
28775
  static toObject(
28370
- message: replit$goval$api$features$Gpu,
28776
+ message: replit$goval$api$repl$Permissions,
28371
28777
  options?: $protobuf.IConversionOptions
28372
28778
  ): {|
28373
28779
  [k: string]: any,
28374
28780
  |};
28375
28781
 
28376
28782
  /**
28377
- * Converts this Gpu to JSON.
28783
+ * Converts this Permissions to JSON.
28378
28784
  * @returns JSON object
28379
28785
  */
28380
28786
  toJSON(): {|
@@ -28383,102 +28789,155 @@ declare class replit$goval$api$features$Gpu {
28383
28789
  }
28384
28790
 
28385
28791
  /**
28386
- * Properties of a Feature.
28792
+ * Persistence enum.
28387
28793
  */
28388
- declare type replit$goval$api$features$IFeature = {|
28794
+
28795
+ declare var replit$goval$api$repl$Persistence: {|
28796
+ +PERSISTENT: 0, // 0
28797
+ +EPHEMERAL: 1, // 1
28798
+ +NONE: 2, // 2
28799
+ |};
28800
+
28801
+ /**
28802
+ * Properties of a Metadata.
28803
+ */
28804
+ declare type replit$goval$api$repl$IMetadata = {|
28389
28805
  /**
28390
- * Feature gpu
28806
+ * Metadata repl
28391
28807
  */
28392
- gpu?: replit$goval$api$features$Gpu | replit$goval$api$features$IGpu | null,
28808
+ repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
28393
28809
 
28394
28810
  /**
28395
- * Feature required
28811
+ * Metadata resourceLimits
28396
28812
  */
28397
- required?: boolean | null,
28813
+ resourceLimits?:
28814
+ | replit$goval$api$repl$ResourceLimits
28815
+ | replit$goval$api$repl$IResourceLimits
28816
+ | null,
28817
+
28818
+ /**
28819
+ * Metadata persistence
28820
+ */
28821
+ persistence?: $Values<typeof replit$goval$api$repl$Persistence> | null,
28822
+
28823
+ /**
28824
+ * Metadata flags
28825
+ */
28826
+ flags?: string[] | null,
28827
+
28828
+ /**
28829
+ * Metadata permissions
28830
+ */
28831
+ permissions?:
28832
+ | replit$goval$api$repl$Permissions
28833
+ | replit$goval$api$repl$IPermissions
28834
+ | null,
28835
+
28836
+ /**
28837
+ * Metadata features
28838
+ */
28839
+ features?:
28840
+ | (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
28841
+ | null,
28398
28842
  |};
28399
28843
 
28400
28844
  /**
28401
- * Represents a Feature.
28845
+ * Represents a Metadata.
28402
28846
  */
28403
- declare class replit$goval$api$features$Feature {
28847
+ declare class replit$goval$api$repl$Metadata {
28404
28848
  /**
28405
- * Constructs a new Feature.
28849
+ * Constructs a new Metadata.
28406
28850
  * @param [properties] Properties to set
28407
28851
  */
28408
- constructor(properties?: replit$goval$api$features$IFeature): this;
28852
+ constructor(properties?: replit$goval$api$repl$IMetadata): this;
28409
28853
 
28410
28854
  /**
28411
- * Feature gpu.
28855
+ * Metadata repl.
28412
28856
  */
28413
- gpu?: replit$goval$api$features$Gpu | null;
28857
+ repl?: replit$goval$api$repl$Repl | null;
28414
28858
 
28415
28859
  /**
28416
- * Feature required.
28860
+ * Metadata resourceLimits.
28417
28861
  */
28418
- required: boolean;
28862
+ resourceLimits?: replit$goval$api$repl$ResourceLimits | null;
28419
28863
 
28420
28864
  /**
28421
- * Feature feature.
28865
+ * Metadata persistence.
28422
28866
  */
28423
- feature?: "gpu";
28867
+ persistence: $Values<typeof replit$goval$api$repl$Persistence>;
28424
28868
 
28425
28869
  /**
28426
- * Creates a new Feature instance using the specified properties.
28870
+ * Metadata flags.
28871
+ */
28872
+ flags: string[];
28873
+
28874
+ /**
28875
+ * Metadata permissions.
28876
+ */
28877
+ permissions?: replit$goval$api$repl$Permissions | null;
28878
+
28879
+ /**
28880
+ * Metadata features.
28881
+ */
28882
+ features: replit$goval$api$features$Feature[];
28883
+
28884
+ /**
28885
+ * Creates a new Metadata instance using the specified properties.
28427
28886
  * @param [properties] Properties to set
28428
- * @returns Feature instance
28887
+ * @returns Metadata instance
28429
28888
  */
28430
28889
  static create(
28431
- properties?: replit$goval$api$features$IFeature
28432
- ): replit$goval$api$features$Feature;
28890
+ properties?: replit$goval$api$repl$IMetadata
28891
+ ): replit$goval$api$repl$Metadata;
28433
28892
 
28434
28893
  /**
28435
28894
  * [object Object],[object Object],[object Object]
28436
- * @param message Feature message or plain object to encode
28895
+ * @param message Metadata message or plain object to encode
28437
28896
  * @param [writer] Writer to encode to
28438
28897
  * @returns Writer
28439
28898
  */
28440
28899
  static encode(
28441
- message: replit$goval$api$features$Feature,
28900
+ message: replit$goval$api$repl$Metadata,
28442
28901
  writer?: $protobuf.Writer
28443
28902
  ): $protobuf.Writer;
28444
28903
 
28445
28904
  /**
28446
28905
  * [object Object],[object Object],[object Object]
28447
- * @param message Feature message or plain object to encode
28906
+ * @param message Metadata message or plain object to encode
28448
28907
  * @param [writer] Writer to encode to
28449
28908
  * @returns Writer
28450
28909
  */
28451
28910
  static encodeDelimited(
28452
- message: replit$goval$api$features$Feature,
28911
+ message: replit$goval$api$repl$Metadata,
28453
28912
  writer?: $protobuf.Writer
28454
28913
  ): $protobuf.Writer;
28455
28914
 
28456
28915
  /**
28457
- * Decodes a Feature message from the specified reader or buffer.
28916
+ * Decodes a Metadata message from the specified reader or buffer.
28458
28917
  * @param reader Reader or buffer to decode from
28459
28918
  * @param [length] Message length if known beforehand
28460
- * @returns Feature
28919
+ * @returns Metadata
28461
28920
  * @throws {Error} If the payload is not a reader or valid buffer
28462
28921
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28463
28922
  */
28464
28923
  static decode(
28465
28924
  reader: $protobuf.Reader | Uint8Array,
28466
28925
  length?: number
28467
- ): replit$goval$api$features$Feature;
28926
+ ): replit$goval$api$repl$Metadata;
28468
28927
 
28469
28928
  /**
28470
- * Decodes a Feature message from the specified reader or buffer, length delimited.
28929
+ * Decodes a Metadata message from the specified reader or buffer, length delimited.
28471
28930
  * @param reader Reader or buffer to decode from
28472
- * @returns Feature
28931
+ * @returns Metadata
28473
28932
  * @throws {Error} If the payload is not a reader or valid buffer
28474
28933
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28475
28934
  */
28476
28935
  static decodeDelimited(
28477
28936
  reader: $protobuf.Reader | Uint8Array
28478
- ): replit$goval$api$features$Feature;
28937
+ ): replit$goval$api$repl$Metadata;
28479
28938
 
28480
28939
  /**
28481
- * Verifies a Feature message.
28940
+ * Verifies a Metadata message.
28482
28941
  * @param message Plain object to verify
28483
28942
  * @returns `null` if valid, otherwise the reason why it is not
28484
28943
  */
@@ -28487,29 +28946,29 @@ declare class replit$goval$api$features$Feature {
28487
28946
  |}): string | null;
28488
28947
 
28489
28948
  /**
28490
- * Creates a Feature message from a plain object. Also converts values to their respective internal types.
28949
+ * Creates a Metadata message from a plain object. Also converts values to their respective internal types.
28491
28950
  * @param object Plain object
28492
- * @returns Feature
28951
+ * @returns Metadata
28493
28952
  */
28494
28953
  static fromObject(object: {|
28495
28954
  [k: string]: any,
28496
- |}): replit$goval$api$features$Feature;
28955
+ |}): replit$goval$api$repl$Metadata;
28497
28956
 
28498
28957
  /**
28499
- * Creates a plain object from a Feature message. Also converts values to other types if specified.
28500
- * @param message Feature
28958
+ * Creates a plain object from a Metadata message. Also converts values to other types if specified.
28959
+ * @param message Metadata
28501
28960
  * @param [options] Conversion options
28502
28961
  * @returns Plain object
28503
28962
  */
28504
28963
  static toObject(
28505
- message: replit$goval$api$features$Feature,
28964
+ message: replit$goval$api$repl$Metadata,
28506
28965
  options?: $protobuf.IConversionOptions
28507
28966
  ): {|
28508
28967
  [k: string]: any,
28509
28968
  |};
28510
28969
 
28511
28970
  /**
28512
- * Converts this Feature to JSON.
28971
+ * Converts this Metadata to JSON.
28513
28972
  * @returns JSON object
28514
28973
  */
28515
28974
  toJSON(): {|