@replit/protocol 0.2.86 → 0.2.88

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.
@@ -125,6 +125,10 @@ declare var npm$namespace$replit$goval$api: {|
125
125
  IRoster: Class<replit$goval$api$IRoster>,
126
126
  IOpenFile: Class<replit$goval$api$IOpenFile>,
127
127
  IFileOpened: Class<replit$goval$api$IFileOpened>,
128
+ IReplspaceApiOpenFile: Class<replit$goval$api$IReplspaceApiOpenFile>,
129
+ IReplspaceApiCloseFile: Class<replit$goval$api$IReplspaceApiCloseFile>,
130
+ IReplspaceApiGetGitHubToken: Class<replit$goval$api$IReplspaceApiGetGitHubToken>,
131
+ IReplspaceApiGitHubToken: Class<replit$goval$api$IReplspaceApiGitHubToken>,
128
132
  IUpdateSessionTimestamp: Class<replit$goval$api$IUpdateSessionTimestamp>,
129
133
  ISessionTimestampUpdated: Class<replit$goval$api$ISessionTimestampUpdated>,
130
134
  IFollowUser: Class<replit$goval$api$IFollowUser>,
@@ -321,6 +325,10 @@ declare var npm$namespace$replit$goval$api: {|
321
325
  Roster: typeof replit$goval$api$Roster,
322
326
  OpenFile: typeof replit$goval$api$OpenFile,
323
327
  FileOpened: typeof replit$goval$api$FileOpened,
328
+ ReplspaceApiOpenFile: typeof replit$goval$api$ReplspaceApiOpenFile,
329
+ ReplspaceApiCloseFile: typeof replit$goval$api$ReplspaceApiCloseFile,
330
+ ReplspaceApiGetGitHubToken: typeof replit$goval$api$ReplspaceApiGetGitHubToken,
331
+ ReplspaceApiGitHubToken: typeof replit$goval$api$ReplspaceApiGitHubToken,
324
332
  UpdateSessionTimestamp: typeof replit$goval$api$UpdateSessionTimestamp,
325
333
  SessionTimestampUpdated: typeof replit$goval$api$SessionTimestampUpdated,
326
334
  FollowUser: typeof replit$goval$api$FollowUser,
@@ -1522,6 +1530,38 @@ declare type replit$goval$api$ICommand = {|
1522
1530
  */
1523
1531
  userEvent?: replit$goval$api$UserEvent | replit$goval$api$IUserEvent | null,
1524
1532
 
1533
+ /**
1534
+ * Command replspaceApiOpenFile
1535
+ */
1536
+ replspaceApiOpenFile?:
1537
+ | replit$goval$api$ReplspaceApiOpenFile
1538
+ | replit$goval$api$IReplspaceApiOpenFile
1539
+ | null,
1540
+
1541
+ /**
1542
+ * Command replspaceApiCloseFile
1543
+ */
1544
+ replspaceApiCloseFile?:
1545
+ | replit$goval$api$ReplspaceApiCloseFile
1546
+ | replit$goval$api$IReplspaceApiCloseFile
1547
+ | null,
1548
+
1549
+ /**
1550
+ * Command replspaceApiGetGitHubToken
1551
+ */
1552
+ replspaceApiGetGitHubToken?:
1553
+ | replit$goval$api$ReplspaceApiGetGitHubToken
1554
+ | replit$goval$api$IReplspaceApiGetGitHubToken
1555
+ | null,
1556
+
1557
+ /**
1558
+ * Command replspaceApiGitHubToken
1559
+ */
1560
+ replspaceApiGitHubToken?:
1561
+ | replit$goval$api$ReplspaceApiGitHubToken
1562
+ | replit$goval$api$IReplspaceApiGitHubToken
1563
+ | null,
1564
+
1525
1565
  /**
1526
1566
  * Command ref
1527
1567
  */
@@ -2370,6 +2410,26 @@ declare class replit$goval$api$Command {
2370
2410
  */
2371
2411
  userEvent?: replit$goval$api$UserEvent | null;
2372
2412
 
2413
+ /**
2414
+ * Command replspaceApiOpenFile.
2415
+ */
2416
+ replspaceApiOpenFile?: replit$goval$api$ReplspaceApiOpenFile | null;
2417
+
2418
+ /**
2419
+ * Command replspaceApiCloseFile.
2420
+ */
2421
+ replspaceApiCloseFile?: replit$goval$api$ReplspaceApiCloseFile | null;
2422
+
2423
+ /**
2424
+ * Command replspaceApiGetGitHubToken.
2425
+ */
2426
+ replspaceApiGetGitHubToken?: replit$goval$api$ReplspaceApiGetGitHubToken | null;
2427
+
2428
+ /**
2429
+ * Command replspaceApiGitHubToken.
2430
+ */
2431
+ replspaceApiGitHubToken?: replit$goval$api$ReplspaceApiGitHubToken | null;
2432
+
2373
2433
  /**
2374
2434
  * Command ref.
2375
2435
  */
@@ -2548,7 +2608,11 @@ declare class replit$goval$api$Command {
2548
2608
  | "nixChannelLatestStableResponse"
2549
2609
  | "nixPackageSearchRequest"
2550
2610
  | "nixPackageSearchResponse"
2551
- | "userEvent";
2611
+ | "userEvent"
2612
+ | "replspaceApiOpenFile"
2613
+ | "replspaceApiCloseFile"
2614
+ | "replspaceApiGetGitHubToken"
2615
+ | "replspaceApiGitHubToken";
2552
2616
 
2553
2617
  /**
2554
2618
  * Creates a new Command instance using the specified properties.
@@ -16163,6 +16227,526 @@ declare class replit$goval$api$FileOpened {
16163
16227
  |};
16164
16228
  }
16165
16229
 
16230
+ /**
16231
+ * Properties of a ReplspaceApiOpenFile.
16232
+ */
16233
+ declare type replit$goval$api$IReplspaceApiOpenFile = {|
16234
+ /**
16235
+ * ReplspaceApiOpenFile file
16236
+ */
16237
+ file?: string | null,
16238
+
16239
+ /**
16240
+ * ReplspaceApiOpenFile waitForClose
16241
+ */
16242
+ waitForClose?: boolean | null,
16243
+
16244
+ /**
16245
+ * ReplspaceApiOpenFile nonce
16246
+ */
16247
+ nonce?: string | null,
16248
+ |};
16249
+
16250
+ /**
16251
+ * Represents a ReplspaceApiOpenFile.
16252
+ */
16253
+ declare class replit$goval$api$ReplspaceApiOpenFile {
16254
+ /**
16255
+ * Constructs a new ReplspaceApiOpenFile.
16256
+ * @param [properties] Properties to set
16257
+ */
16258
+ constructor(properties?: replit$goval$api$IReplspaceApiOpenFile): this;
16259
+
16260
+ /**
16261
+ * ReplspaceApiOpenFile file.
16262
+ */
16263
+ file: string;
16264
+
16265
+ /**
16266
+ * ReplspaceApiOpenFile waitForClose.
16267
+ */
16268
+ waitForClose: boolean;
16269
+
16270
+ /**
16271
+ * ReplspaceApiOpenFile nonce.
16272
+ */
16273
+ nonce: string;
16274
+
16275
+ /**
16276
+ * Creates a new ReplspaceApiOpenFile instance using the specified properties.
16277
+ * @param [properties] Properties to set
16278
+ * @returns ReplspaceApiOpenFile instance
16279
+ */
16280
+ static create(
16281
+ properties?: replit$goval$api$IReplspaceApiOpenFile
16282
+ ): replit$goval$api$ReplspaceApiOpenFile;
16283
+
16284
+ /**
16285
+ * [object Object],[object Object],[object Object]
16286
+ * @param message ReplspaceApiOpenFile message or plain object to encode
16287
+ * @param [writer] Writer to encode to
16288
+ * @returns Writer
16289
+ */
16290
+ static encode(
16291
+ message: replit$goval$api$ReplspaceApiOpenFile,
16292
+ writer?: $protobuf.Writer
16293
+ ): $protobuf.Writer;
16294
+
16295
+ /**
16296
+ * [object Object],[object Object],[object Object]
16297
+ * @param message ReplspaceApiOpenFile message or plain object to encode
16298
+ * @param [writer] Writer to encode to
16299
+ * @returns Writer
16300
+ */
16301
+ static encodeDelimited(
16302
+ message: replit$goval$api$ReplspaceApiOpenFile,
16303
+ writer?: $protobuf.Writer
16304
+ ): $protobuf.Writer;
16305
+
16306
+ /**
16307
+ * Decodes a ReplspaceApiOpenFile message from the specified reader or buffer.
16308
+ * @param reader Reader or buffer to decode from
16309
+ * @param [length] Message length if known beforehand
16310
+ * @returns ReplspaceApiOpenFile
16311
+ * @throws {Error} If the payload is not a reader or valid buffer
16312
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16313
+ */
16314
+ static decode(
16315
+ reader: $protobuf.Reader | Uint8Array,
16316
+ length?: number
16317
+ ): replit$goval$api$ReplspaceApiOpenFile;
16318
+
16319
+ /**
16320
+ * Decodes a ReplspaceApiOpenFile message from the specified reader or buffer, length delimited.
16321
+ * @param reader Reader or buffer to decode from
16322
+ * @returns ReplspaceApiOpenFile
16323
+ * @throws {Error} If the payload is not a reader or valid buffer
16324
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16325
+ */
16326
+ static decodeDelimited(
16327
+ reader: $protobuf.Reader | Uint8Array
16328
+ ): replit$goval$api$ReplspaceApiOpenFile;
16329
+
16330
+ /**
16331
+ * Verifies a ReplspaceApiOpenFile message.
16332
+ * @param message Plain object to verify
16333
+ * @returns `null` if valid, otherwise the reason why it is not
16334
+ */
16335
+ static verify(message: {|
16336
+ [k: string]: any,
16337
+ |}): string | null;
16338
+
16339
+ /**
16340
+ * Creates a ReplspaceApiOpenFile message from a plain object. Also converts values to their respective internal types.
16341
+ * @param object Plain object
16342
+ * @returns ReplspaceApiOpenFile
16343
+ */
16344
+ static fromObject(object: {|
16345
+ [k: string]: any,
16346
+ |}): replit$goval$api$ReplspaceApiOpenFile;
16347
+
16348
+ /**
16349
+ * Creates a plain object from a ReplspaceApiOpenFile message. Also converts values to other types if specified.
16350
+ * @param message ReplspaceApiOpenFile
16351
+ * @param [options] Conversion options
16352
+ * @returns Plain object
16353
+ */
16354
+ static toObject(
16355
+ message: replit$goval$api$ReplspaceApiOpenFile,
16356
+ options?: $protobuf.IConversionOptions
16357
+ ): {|
16358
+ [k: string]: any,
16359
+ |};
16360
+
16361
+ /**
16362
+ * Converts this ReplspaceApiOpenFile to JSON.
16363
+ * @returns JSON object
16364
+ */
16365
+ toJSON(): {|
16366
+ [k: string]: any,
16367
+ |};
16368
+ }
16369
+
16370
+ /**
16371
+ * Properties of a ReplspaceApiCloseFile.
16372
+ */
16373
+ declare type replit$goval$api$IReplspaceApiCloseFile = {|
16374
+ /**
16375
+ * ReplspaceApiCloseFile file
16376
+ */
16377
+ file?: string | null,
16378
+
16379
+ /**
16380
+ * ReplspaceApiCloseFile nonce
16381
+ */
16382
+ nonce?: string | null,
16383
+ |};
16384
+
16385
+ /**
16386
+ * Represents a ReplspaceApiCloseFile.
16387
+ */
16388
+ declare class replit$goval$api$ReplspaceApiCloseFile {
16389
+ /**
16390
+ * Constructs a new ReplspaceApiCloseFile.
16391
+ * @param [properties] Properties to set
16392
+ */
16393
+ constructor(properties?: replit$goval$api$IReplspaceApiCloseFile): this;
16394
+
16395
+ /**
16396
+ * ReplspaceApiCloseFile file.
16397
+ */
16398
+ file: string;
16399
+
16400
+ /**
16401
+ * ReplspaceApiCloseFile nonce.
16402
+ */
16403
+ nonce: string;
16404
+
16405
+ /**
16406
+ * Creates a new ReplspaceApiCloseFile instance using the specified properties.
16407
+ * @param [properties] Properties to set
16408
+ * @returns ReplspaceApiCloseFile instance
16409
+ */
16410
+ static create(
16411
+ properties?: replit$goval$api$IReplspaceApiCloseFile
16412
+ ): replit$goval$api$ReplspaceApiCloseFile;
16413
+
16414
+ /**
16415
+ * [object Object],[object Object],[object Object]
16416
+ * @param message ReplspaceApiCloseFile message or plain object to encode
16417
+ * @param [writer] Writer to encode to
16418
+ * @returns Writer
16419
+ */
16420
+ static encode(
16421
+ message: replit$goval$api$ReplspaceApiCloseFile,
16422
+ writer?: $protobuf.Writer
16423
+ ): $protobuf.Writer;
16424
+
16425
+ /**
16426
+ * [object Object],[object Object],[object Object]
16427
+ * @param message ReplspaceApiCloseFile message or plain object to encode
16428
+ * @param [writer] Writer to encode to
16429
+ * @returns Writer
16430
+ */
16431
+ static encodeDelimited(
16432
+ message: replit$goval$api$ReplspaceApiCloseFile,
16433
+ writer?: $protobuf.Writer
16434
+ ): $protobuf.Writer;
16435
+
16436
+ /**
16437
+ * Decodes a ReplspaceApiCloseFile message from the specified reader or buffer.
16438
+ * @param reader Reader or buffer to decode from
16439
+ * @param [length] Message length if known beforehand
16440
+ * @returns ReplspaceApiCloseFile
16441
+ * @throws {Error} If the payload is not a reader or valid buffer
16442
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16443
+ */
16444
+ static decode(
16445
+ reader: $protobuf.Reader | Uint8Array,
16446
+ length?: number
16447
+ ): replit$goval$api$ReplspaceApiCloseFile;
16448
+
16449
+ /**
16450
+ * Decodes a ReplspaceApiCloseFile message from the specified reader or buffer, length delimited.
16451
+ * @param reader Reader or buffer to decode from
16452
+ * @returns ReplspaceApiCloseFile
16453
+ * @throws {Error} If the payload is not a reader or valid buffer
16454
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16455
+ */
16456
+ static decodeDelimited(
16457
+ reader: $protobuf.Reader | Uint8Array
16458
+ ): replit$goval$api$ReplspaceApiCloseFile;
16459
+
16460
+ /**
16461
+ * Verifies a ReplspaceApiCloseFile message.
16462
+ * @param message Plain object to verify
16463
+ * @returns `null` if valid, otherwise the reason why it is not
16464
+ */
16465
+ static verify(message: {|
16466
+ [k: string]: any,
16467
+ |}): string | null;
16468
+
16469
+ /**
16470
+ * Creates a ReplspaceApiCloseFile message from a plain object. Also converts values to their respective internal types.
16471
+ * @param object Plain object
16472
+ * @returns ReplspaceApiCloseFile
16473
+ */
16474
+ static fromObject(object: {|
16475
+ [k: string]: any,
16476
+ |}): replit$goval$api$ReplspaceApiCloseFile;
16477
+
16478
+ /**
16479
+ * Creates a plain object from a ReplspaceApiCloseFile message. Also converts values to other types if specified.
16480
+ * @param message ReplspaceApiCloseFile
16481
+ * @param [options] Conversion options
16482
+ * @returns Plain object
16483
+ */
16484
+ static toObject(
16485
+ message: replit$goval$api$ReplspaceApiCloseFile,
16486
+ options?: $protobuf.IConversionOptions
16487
+ ): {|
16488
+ [k: string]: any,
16489
+ |};
16490
+
16491
+ /**
16492
+ * Converts this ReplspaceApiCloseFile to JSON.
16493
+ * @returns JSON object
16494
+ */
16495
+ toJSON(): {|
16496
+ [k: string]: any,
16497
+ |};
16498
+ }
16499
+
16500
+ /**
16501
+ * Properties of a ReplspaceApiGetGitHubToken.
16502
+ */
16503
+ declare type replit$goval$api$IReplspaceApiGetGitHubToken = {|
16504
+ /**
16505
+ * ReplspaceApiGetGitHubToken nonce
16506
+ */
16507
+ nonce?: string | null,
16508
+ |};
16509
+
16510
+ /**
16511
+ * Represents a ReplspaceApiGetGitHubToken.
16512
+ */
16513
+ declare class replit$goval$api$ReplspaceApiGetGitHubToken {
16514
+ /**
16515
+ * Constructs a new ReplspaceApiGetGitHubToken.
16516
+ * @param [properties] Properties to set
16517
+ */
16518
+ constructor(properties?: replit$goval$api$IReplspaceApiGetGitHubToken): this;
16519
+
16520
+ /**
16521
+ * ReplspaceApiGetGitHubToken nonce.
16522
+ */
16523
+ nonce: string;
16524
+
16525
+ /**
16526
+ * Creates a new ReplspaceApiGetGitHubToken instance using the specified properties.
16527
+ * @param [properties] Properties to set
16528
+ * @returns ReplspaceApiGetGitHubToken instance
16529
+ */
16530
+ static create(
16531
+ properties?: replit$goval$api$IReplspaceApiGetGitHubToken
16532
+ ): replit$goval$api$ReplspaceApiGetGitHubToken;
16533
+
16534
+ /**
16535
+ * [object Object],[object Object],[object Object]
16536
+ * @param message ReplspaceApiGetGitHubToken message or plain object to encode
16537
+ * @param [writer] Writer to encode to
16538
+ * @returns Writer
16539
+ */
16540
+ static encode(
16541
+ message: replit$goval$api$ReplspaceApiGetGitHubToken,
16542
+ writer?: $protobuf.Writer
16543
+ ): $protobuf.Writer;
16544
+
16545
+ /**
16546
+ * [object Object],[object Object],[object Object]
16547
+ * @param message ReplspaceApiGetGitHubToken message or plain object to encode
16548
+ * @param [writer] Writer to encode to
16549
+ * @returns Writer
16550
+ */
16551
+ static encodeDelimited(
16552
+ message: replit$goval$api$ReplspaceApiGetGitHubToken,
16553
+ writer?: $protobuf.Writer
16554
+ ): $protobuf.Writer;
16555
+
16556
+ /**
16557
+ * Decodes a ReplspaceApiGetGitHubToken message from the specified reader or buffer.
16558
+ * @param reader Reader or buffer to decode from
16559
+ * @param [length] Message length if known beforehand
16560
+ * @returns ReplspaceApiGetGitHubToken
16561
+ * @throws {Error} If the payload is not a reader or valid buffer
16562
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16563
+ */
16564
+ static decode(
16565
+ reader: $protobuf.Reader | Uint8Array,
16566
+ length?: number
16567
+ ): replit$goval$api$ReplspaceApiGetGitHubToken;
16568
+
16569
+ /**
16570
+ * Decodes a ReplspaceApiGetGitHubToken message from the specified reader or buffer, length delimited.
16571
+ * @param reader Reader or buffer to decode from
16572
+ * @returns ReplspaceApiGetGitHubToken
16573
+ * @throws {Error} If the payload is not a reader or valid buffer
16574
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16575
+ */
16576
+ static decodeDelimited(
16577
+ reader: $protobuf.Reader | Uint8Array
16578
+ ): replit$goval$api$ReplspaceApiGetGitHubToken;
16579
+
16580
+ /**
16581
+ * Verifies a ReplspaceApiGetGitHubToken message.
16582
+ * @param message Plain object to verify
16583
+ * @returns `null` if valid, otherwise the reason why it is not
16584
+ */
16585
+ static verify(message: {|
16586
+ [k: string]: any,
16587
+ |}): string | null;
16588
+
16589
+ /**
16590
+ * Creates a ReplspaceApiGetGitHubToken message from a plain object. Also converts values to their respective internal types.
16591
+ * @param object Plain object
16592
+ * @returns ReplspaceApiGetGitHubToken
16593
+ */
16594
+ static fromObject(object: {|
16595
+ [k: string]: any,
16596
+ |}): replit$goval$api$ReplspaceApiGetGitHubToken;
16597
+
16598
+ /**
16599
+ * Creates a plain object from a ReplspaceApiGetGitHubToken message. Also converts values to other types if specified.
16600
+ * @param message ReplspaceApiGetGitHubToken
16601
+ * @param [options] Conversion options
16602
+ * @returns Plain object
16603
+ */
16604
+ static toObject(
16605
+ message: replit$goval$api$ReplspaceApiGetGitHubToken,
16606
+ options?: $protobuf.IConversionOptions
16607
+ ): {|
16608
+ [k: string]: any,
16609
+ |};
16610
+
16611
+ /**
16612
+ * Converts this ReplspaceApiGetGitHubToken to JSON.
16613
+ * @returns JSON object
16614
+ */
16615
+ toJSON(): {|
16616
+ [k: string]: any,
16617
+ |};
16618
+ }
16619
+
16620
+ /**
16621
+ * Properties of a ReplspaceApiGitHubToken.
16622
+ */
16623
+ declare type replit$goval$api$IReplspaceApiGitHubToken = {|
16624
+ /**
16625
+ * ReplspaceApiGitHubToken nonce
16626
+ */
16627
+ nonce?: string | null,
16628
+
16629
+ /**
16630
+ * ReplspaceApiGitHubToken token
16631
+ */
16632
+ token?: string | null,
16633
+ |};
16634
+
16635
+ /**
16636
+ * Represents a ReplspaceApiGitHubToken.
16637
+ */
16638
+ declare class replit$goval$api$ReplspaceApiGitHubToken {
16639
+ /**
16640
+ * Constructs a new ReplspaceApiGitHubToken.
16641
+ * @param [properties] Properties to set
16642
+ */
16643
+ constructor(properties?: replit$goval$api$IReplspaceApiGitHubToken): this;
16644
+
16645
+ /**
16646
+ * ReplspaceApiGitHubToken nonce.
16647
+ */
16648
+ nonce: string;
16649
+
16650
+ /**
16651
+ * ReplspaceApiGitHubToken token.
16652
+ */
16653
+ token: string;
16654
+
16655
+ /**
16656
+ * Creates a new ReplspaceApiGitHubToken instance using the specified properties.
16657
+ * @param [properties] Properties to set
16658
+ * @returns ReplspaceApiGitHubToken instance
16659
+ */
16660
+ static create(
16661
+ properties?: replit$goval$api$IReplspaceApiGitHubToken
16662
+ ): replit$goval$api$ReplspaceApiGitHubToken;
16663
+
16664
+ /**
16665
+ * [object Object],[object Object],[object Object]
16666
+ * @param message ReplspaceApiGitHubToken message or plain object to encode
16667
+ * @param [writer] Writer to encode to
16668
+ * @returns Writer
16669
+ */
16670
+ static encode(
16671
+ message: replit$goval$api$ReplspaceApiGitHubToken,
16672
+ writer?: $protobuf.Writer
16673
+ ): $protobuf.Writer;
16674
+
16675
+ /**
16676
+ * [object Object],[object Object],[object Object]
16677
+ * @param message ReplspaceApiGitHubToken message or plain object to encode
16678
+ * @param [writer] Writer to encode to
16679
+ * @returns Writer
16680
+ */
16681
+ static encodeDelimited(
16682
+ message: replit$goval$api$ReplspaceApiGitHubToken,
16683
+ writer?: $protobuf.Writer
16684
+ ): $protobuf.Writer;
16685
+
16686
+ /**
16687
+ * Decodes a ReplspaceApiGitHubToken message from the specified reader or buffer.
16688
+ * @param reader Reader or buffer to decode from
16689
+ * @param [length] Message length if known beforehand
16690
+ * @returns ReplspaceApiGitHubToken
16691
+ * @throws {Error} If the payload is not a reader or valid buffer
16692
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16693
+ */
16694
+ static decode(
16695
+ reader: $protobuf.Reader | Uint8Array,
16696
+ length?: number
16697
+ ): replit$goval$api$ReplspaceApiGitHubToken;
16698
+
16699
+ /**
16700
+ * Decodes a ReplspaceApiGitHubToken message from the specified reader or buffer, length delimited.
16701
+ * @param reader Reader or buffer to decode from
16702
+ * @returns ReplspaceApiGitHubToken
16703
+ * @throws {Error} If the payload is not a reader or valid buffer
16704
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16705
+ */
16706
+ static decodeDelimited(
16707
+ reader: $protobuf.Reader | Uint8Array
16708
+ ): replit$goval$api$ReplspaceApiGitHubToken;
16709
+
16710
+ /**
16711
+ * Verifies a ReplspaceApiGitHubToken message.
16712
+ * @param message Plain object to verify
16713
+ * @returns `null` if valid, otherwise the reason why it is not
16714
+ */
16715
+ static verify(message: {|
16716
+ [k: string]: any,
16717
+ |}): string | null;
16718
+
16719
+ /**
16720
+ * Creates a ReplspaceApiGitHubToken message from a plain object. Also converts values to their respective internal types.
16721
+ * @param object Plain object
16722
+ * @returns ReplspaceApiGitHubToken
16723
+ */
16724
+ static fromObject(object: {|
16725
+ [k: string]: any,
16726
+ |}): replit$goval$api$ReplspaceApiGitHubToken;
16727
+
16728
+ /**
16729
+ * Creates a plain object from a ReplspaceApiGitHubToken message. Also converts values to other types if specified.
16730
+ * @param message ReplspaceApiGitHubToken
16731
+ * @param [options] Conversion options
16732
+ * @returns Plain object
16733
+ */
16734
+ static toObject(
16735
+ message: replit$goval$api$ReplspaceApiGitHubToken,
16736
+ options?: $protobuf.IConversionOptions
16737
+ ): {|
16738
+ [k: string]: any,
16739
+ |};
16740
+
16741
+ /**
16742
+ * Converts this ReplspaceApiGitHubToken to JSON.
16743
+ * @returns JSON object
16744
+ */
16745
+ toJSON(): {|
16746
+ [k: string]: any,
16747
+ |};
16748
+ }
16749
+
16166
16750
  /**
16167
16751
  * Properties of an UpdateSessionTimestamp.
16168
16752
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.86",
3
+ "version": "0.2.88",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",