@replit/protocol 0.4.23-dev.3 → 0.4.24-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/iotester/index.js CHANGED
@@ -47936,6 +47936,7 @@
47936
47936
  * @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [run] DeploymentConfig run
47937
47937
  * @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [build] DeploymentConfig build
47938
47938
  * @property {boolean|null} [ignorePorts] DeploymentConfig ignorePorts
47939
+ * @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [postBuild] DeploymentConfig postBuild
47939
47940
  * @property {replit.goval.api.DeploymentConfig.Target|null} [target] DeploymentConfig target
47940
47941
  * @property {string|null} [publicDir] DeploymentConfig publicDir
47941
47942
  * @property {Array.<replit.goval.api.DeploymentConfig.RewriteRule|replit.goval.api.DeploymentConfig.IRewriteRule>|null} [rewrites] DeploymentConfig rewrites
@@ -47982,6 +47983,14 @@
47982
47983
  */
47983
47984
  DeploymentConfig.prototype.ignorePorts = false;
47984
47985
 
47986
+ /**
47987
+ * DeploymentConfig postBuild.
47988
+ * @member {replit.goval.api.Exec|null|undefined} postBuild
47989
+ * @memberof replit.goval.api.DeploymentConfig
47990
+ * @instance
47991
+ */
47992
+ DeploymentConfig.prototype.postBuild = null;
47993
+
47985
47994
  /**
47986
47995
  * DeploymentConfig target.
47987
47996
  * @member {replit.goval.api.DeploymentConfig.Target} target
@@ -48054,6 +48063,8 @@
48054
48063
  if (message.responseHeaders != null && message.responseHeaders.length)
48055
48064
  for (var i = 0; i < message.responseHeaders.length; ++i)
48056
48065
  $root.replit.goval.api.DeploymentConfig.Header.encode(message.responseHeaders[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
48066
+ if (message.postBuild != null && Object.hasOwnProperty.call(message, "postBuild"))
48067
+ $root.replit.goval.api.Exec.encode(message.postBuild, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
48057
48068
  return writer;
48058
48069
  };
48059
48070
 
@@ -48102,6 +48113,10 @@
48102
48113
  message.ignorePorts = reader.bool();
48103
48114
  break;
48104
48115
  }
48116
+ case 8: {
48117
+ message.postBuild = $root.replit.goval.api.Exec.decode(reader, reader.uint32());
48118
+ break;
48119
+ }
48105
48120
  case 4: {
48106
48121
  message.target = reader.int32();
48107
48122
  break;
@@ -48170,6 +48185,11 @@
48170
48185
  if (message.ignorePorts != null && message.hasOwnProperty("ignorePorts"))
48171
48186
  if (typeof message.ignorePorts !== "boolean")
48172
48187
  return "ignorePorts: boolean expected";
48188
+ if (message.postBuild != null && message.hasOwnProperty("postBuild")) {
48189
+ var error = $root.replit.goval.api.Exec.verify(message.postBuild);
48190
+ if (error)
48191
+ return "postBuild." + error;
48192
+ }
48173
48193
  if (message.target != null && message.hasOwnProperty("target"))
48174
48194
  switch (message.target) {
48175
48195
  default:
@@ -48232,6 +48252,11 @@
48232
48252
  }
48233
48253
  if (object.ignorePorts != null)
48234
48254
  message.ignorePorts = Boolean(object.ignorePorts);
48255
+ if (object.postBuild != null) {
48256
+ if (typeof object.postBuild !== "object")
48257
+ throw TypeError(".replit.goval.api.DeploymentConfig.postBuild: object expected");
48258
+ message.postBuild = $root.replit.goval.api.Exec.fromObject(object.postBuild);
48259
+ }
48235
48260
  switch (object.target) {
48236
48261
  default:
48237
48262
  if (typeof object.target === "number") {
@@ -48320,6 +48345,7 @@
48320
48345
  object.ignorePorts = false;
48321
48346
  object.target = options.enums === String ? "GCE" : 0;
48322
48347
  object.publicDir = "";
48348
+ object.postBuild = null;
48323
48349
  }
48324
48350
  if (message.run != null && message.hasOwnProperty("run"))
48325
48351
  object.run = $root.replit.goval.api.Exec.toObject(message.run, options);
@@ -48341,6 +48367,8 @@
48341
48367
  for (var j = 0; j < message.responseHeaders.length; ++j)
48342
48368
  object.responseHeaders[j] = $root.replit.goval.api.DeploymentConfig.Header.toObject(message.responseHeaders[j], options);
48343
48369
  }
48370
+ if (message.postBuild != null && message.hasOwnProperty("postBuild"))
48371
+ object.postBuild = $root.replit.goval.api.Exec.toObject(message.postBuild, options);
48344
48372
  return object;
48345
48373
  };
48346
48374
 
@@ -70488,6 +70516,7 @@
70488
70516
  * @property {string|null} [logFields] Repl logFields
70489
70517
  * @property {boolean|null} [useReplShield] Repl useReplShield
70490
70518
  * @property {string|null} [connectorsHost] Repl connectorsHost
70519
+ * @property {Object.<string,string>|null} [backerJobMetadata] Repl backerJobMetadata
70491
70520
  */
70492
70521
 
70493
70522
  /**
@@ -70499,6 +70528,7 @@
70499
70528
  */
70500
70529
  function Repl(properties) {
70501
70530
  this.roles = [];
70531
+ this.backerJobMetadata = {};
70502
70532
  if (properties)
70503
70533
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
70504
70534
  if (properties[keys[i]] != null)
@@ -70625,6 +70655,14 @@
70625
70655
  */
70626
70656
  Repl.prototype.connectorsHost = "";
70627
70657
 
70658
+ /**
70659
+ * Repl backerJobMetadata.
70660
+ * @member {Object.<string,string>} backerJobMetadata
70661
+ * @memberof replit.goval.api.repl.Repl
70662
+ * @instance
70663
+ */
70664
+ Repl.prototype.backerJobMetadata = $util.emptyObject;
70665
+
70628
70666
  /**
70629
70667
  * Creates a new Repl instance using the specified properties.
70630
70668
  * @function create
@@ -70680,6 +70718,9 @@
70680
70718
  writer.uint32(/* id 15, wireType 0 =*/120).bool(message.useReplShield);
70681
70719
  if (message.connectorsHost != null && Object.hasOwnProperty.call(message, "connectorsHost"))
70682
70720
  writer.uint32(/* id 16, wireType 2 =*/130).string(message.connectorsHost);
70721
+ if (message.backerJobMetadata != null && Object.hasOwnProperty.call(message, "backerJobMetadata"))
70722
+ for (var keys = Object.keys(message.backerJobMetadata), i = 0; i < keys.length; ++i)
70723
+ writer.uint32(/* id 17, wireType 2 =*/138).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.backerJobMetadata[keys[i]]).ldelim();
70683
70724
  return writer;
70684
70725
  };
70685
70726
 
@@ -70710,7 +70751,7 @@
70710
70751
  Repl.decode = function decode(reader, length, error) {
70711
70752
  if (!(reader instanceof $Reader))
70712
70753
  reader = $Reader.create(reader);
70713
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.repl.Repl();
70754
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.repl.Repl(), key, value;
70714
70755
  while (reader.pos < end) {
70715
70756
  var tag = reader.uint32();
70716
70757
  if (tag === error)
@@ -70778,6 +70819,29 @@
70778
70819
  message.connectorsHost = reader.string();
70779
70820
  break;
70780
70821
  }
70822
+ case 17: {
70823
+ if (message.backerJobMetadata === $util.emptyObject)
70824
+ message.backerJobMetadata = {};
70825
+ var end2 = reader.uint32() + reader.pos;
70826
+ key = "";
70827
+ value = "";
70828
+ while (reader.pos < end2) {
70829
+ var tag2 = reader.uint32();
70830
+ switch (tag2 >>> 3) {
70831
+ case 1:
70832
+ key = reader.string();
70833
+ break;
70834
+ case 2:
70835
+ value = reader.string();
70836
+ break;
70837
+ default:
70838
+ reader.skipType(tag2 & 7);
70839
+ break;
70840
+ }
70841
+ }
70842
+ message.backerJobMetadata[key] = value;
70843
+ break;
70844
+ }
70781
70845
  default:
70782
70846
  reader.skipType(tag & 7);
70783
70847
  break;
@@ -70868,6 +70932,14 @@
70868
70932
  if (message.connectorsHost != null && message.hasOwnProperty("connectorsHost"))
70869
70933
  if (!$util.isString(message.connectorsHost))
70870
70934
  return "connectorsHost: string expected";
70935
+ if (message.backerJobMetadata != null && message.hasOwnProperty("backerJobMetadata")) {
70936
+ if (!$util.isObject(message.backerJobMetadata))
70937
+ return "backerJobMetadata: object expected";
70938
+ var key = Object.keys(message.backerJobMetadata);
70939
+ for (var i = 0; i < key.length; ++i)
70940
+ if (!$util.isString(message.backerJobMetadata[key[i]]))
70941
+ return "backerJobMetadata: string{k:string} expected";
70942
+ }
70871
70943
  return null;
70872
70944
  };
70873
70945
 
@@ -70927,6 +70999,13 @@
70927
70999
  message.useReplShield = Boolean(object.useReplShield);
70928
71000
  if (object.connectorsHost != null)
70929
71001
  message.connectorsHost = String(object.connectorsHost);
71002
+ if (object.backerJobMetadata) {
71003
+ if (typeof object.backerJobMetadata !== "object")
71004
+ throw TypeError(".replit.goval.api.repl.Repl.backerJobMetadata: object expected");
71005
+ message.backerJobMetadata = {};
71006
+ for (var keys = Object.keys(object.backerJobMetadata), i = 0; i < keys.length; ++i)
71007
+ message.backerJobMetadata[keys[i]] = String(object.backerJobMetadata[keys[i]]);
71008
+ }
70930
71009
  return message;
70931
71010
  };
70932
71011
 
@@ -70945,6 +71024,8 @@
70945
71024
  var object = {};
70946
71025
  if (options.arrays || options.defaults)
70947
71026
  object.roles = [];
71027
+ if (options.objects || options.defaults)
71028
+ object.backerJobMetadata = {};
70948
71029
  if (options.defaults) {
70949
71030
  object.id = "";
70950
71031
  object.language = "";
@@ -70994,6 +71075,12 @@
70994
71075
  object.useReplShield = message.useReplShield;
70995
71076
  if (message.connectorsHost != null && message.hasOwnProperty("connectorsHost"))
70996
71077
  object.connectorsHost = message.connectorsHost;
71078
+ var keys2;
71079
+ if (message.backerJobMetadata && (keys2 = Object.keys(message.backerJobMetadata)).length) {
71080
+ object.backerJobMetadata = {};
71081
+ for (var j = 0; j < keys2.length; ++j)
71082
+ object.backerJobMetadata[keys2[j]] = message.backerJobMetadata[keys2[j]];
71083
+ }
70997
71084
  return object;
70998
71085
  };
70999
71086
 
@@ -84929,6 +85016,7 @@
84929
85016
  * @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] CreateReplRequest replLocation
84930
85017
  * @property {replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null} [sourceRepl] CreateReplRequest sourceRepl
84931
85018
  * @property {boolean|null} [copyHelium] CreateReplRequest copyHelium
85019
+ * @property {boolean|null} [copyGitsafe] CreateReplRequest copyGitsafe
84932
85020
  */
84933
85021
 
84934
85022
  /**
@@ -84993,6 +85081,14 @@
84993
85081
  */
84994
85082
  CreateReplRequest.prototype.copyHelium = false;
84995
85083
 
85084
+ /**
85085
+ * CreateReplRequest copyGitsafe.
85086
+ * @member {boolean} copyGitsafe
85087
+ * @memberof replit.goval.api.lore.CreateReplRequest
85088
+ * @instance
85089
+ */
85090
+ CreateReplRequest.prototype.copyGitsafe = false;
85091
+
84996
85092
  // OneOf field names bound to virtual getters and setters
84997
85093
  var $oneOfFields;
84998
85094
 
@@ -85043,6 +85139,8 @@
85043
85139
  $root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
85044
85140
  if (message.copyHelium != null && Object.hasOwnProperty.call(message, "copyHelium"))
85045
85141
  writer.uint32(/* id 8, wireType 0 =*/64).bool(message.copyHelium);
85142
+ if (message.copyGitsafe != null && Object.hasOwnProperty.call(message, "copyGitsafe"))
85143
+ writer.uint32(/* id 9, wireType 0 =*/72).bool(message.copyGitsafe);
85046
85144
  return writer;
85047
85145
  };
85048
85146
 
@@ -85103,6 +85201,10 @@
85103
85201
  message.copyHelium = reader.bool();
85104
85202
  break;
85105
85203
  }
85204
+ case 9: {
85205
+ message.copyGitsafe = reader.bool();
85206
+ break;
85207
+ }
85106
85208
  default:
85107
85209
  reader.skipType(tag & 7);
85108
85210
  break;
@@ -85169,6 +85271,9 @@
85169
85271
  if (message.copyHelium != null && message.hasOwnProperty("copyHelium"))
85170
85272
  if (typeof message.copyHelium !== "boolean")
85171
85273
  return "copyHelium: boolean expected";
85274
+ if (message.copyGitsafe != null && message.hasOwnProperty("copyGitsafe"))
85275
+ if (typeof message.copyGitsafe !== "boolean")
85276
+ return "copyGitsafe: boolean expected";
85172
85277
  return null;
85173
85278
  };
85174
85279
 
@@ -85205,6 +85310,8 @@
85205
85310
  }
85206
85311
  if (object.copyHelium != null)
85207
85312
  message.copyHelium = Boolean(object.copyHelium);
85313
+ if (object.copyGitsafe != null)
85314
+ message.copyGitsafe = Boolean(object.copyGitsafe);
85208
85315
  return message;
85209
85316
  };
85210
85317
 
@@ -85226,6 +85333,7 @@
85226
85333
  object.sourceRepl = null;
85227
85334
  object.replLocation = null;
85228
85335
  object.copyHelium = false;
85336
+ object.copyGitsafe = false;
85229
85337
  }
85230
85338
  if (message.repl != null && message.hasOwnProperty("repl"))
85231
85339
  object.repl = $root.replit.goval.api.lore.CreateReplRequest.Repl.toObject(message.repl, options);
@@ -85245,6 +85353,8 @@
85245
85353
  object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
85246
85354
  if (message.copyHelium != null && message.hasOwnProperty("copyHelium"))
85247
85355
  object.copyHelium = message.copyHelium;
85356
+ if (message.copyGitsafe != null && message.hasOwnProperty("copyGitsafe"))
85357
+ object.copyGitsafe = message.copyGitsafe;
85248
85358
  return object;
85249
85359
  };
85250
85360
 
@@ -91404,6 +91514,386 @@
91404
91514
  return BulkRemoveResponse;
91405
91515
  })();
91406
91516
 
91517
+ lore.DeleteReplRequest = (function() {
91518
+
91519
+ /**
91520
+ * Properties of a DeleteReplRequest.
91521
+ * @memberof replit.goval.api.lore
91522
+ * @interface IDeleteReplRequest
91523
+ * @property {string|null} [replId] DeleteReplRequest replId
91524
+ */
91525
+
91526
+ /**
91527
+ * Constructs a new DeleteReplRequest.
91528
+ * @memberof replit.goval.api.lore
91529
+ * @classdesc Represents a DeleteReplRequest.
91530
+ * @constructor
91531
+ * @param {replit.goval.api.lore.IDeleteReplRequest=} [properties] Properties to set
91532
+ */
91533
+ function DeleteReplRequest(properties) {
91534
+ if (properties)
91535
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
91536
+ if (properties[keys[i]] != null)
91537
+ this[keys[i]] = properties[keys[i]];
91538
+ }
91539
+
91540
+ /**
91541
+ * DeleteReplRequest replId.
91542
+ * @member {string} replId
91543
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91544
+ * @instance
91545
+ */
91546
+ DeleteReplRequest.prototype.replId = "";
91547
+
91548
+ /**
91549
+ * Creates a new DeleteReplRequest instance using the specified properties.
91550
+ * @function create
91551
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91552
+ * @static
91553
+ * @param {replit.goval.api.lore.IDeleteReplRequest=} [properties] Properties to set
91554
+ * @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest instance
91555
+ */
91556
+ DeleteReplRequest.create = function create(properties) {
91557
+ return DeleteReplRequest.fromObject(properties);
91558
+ };
91559
+
91560
+ /**
91561
+ * Encodes the specified DeleteReplRequest message. Does not implicitly {@link replit.goval.api.lore.DeleteReplRequest.verify|verify} messages.
91562
+ * @function encode
91563
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91564
+ * @static
91565
+ * @param {replit.goval.api.lore.DeleteReplRequest} message DeleteReplRequest message or plain object to encode
91566
+ * @param {$protobuf.Writer} [writer] Writer to encode to
91567
+ * @returns {$protobuf.Writer} Writer
91568
+ */
91569
+ DeleteReplRequest.encode = function encode(message, writer) {
91570
+ if (!writer)
91571
+ writer = $Writer.create();
91572
+ if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
91573
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
91574
+ return writer;
91575
+ };
91576
+
91577
+ /**
91578
+ * Encodes the specified DeleteReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.DeleteReplRequest.verify|verify} messages.
91579
+ * @function encodeDelimited
91580
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91581
+ * @static
91582
+ * @param {replit.goval.api.lore.DeleteReplRequest} message DeleteReplRequest message or plain object to encode
91583
+ * @param {$protobuf.Writer} [writer] Writer to encode to
91584
+ * @returns {$protobuf.Writer} Writer
91585
+ */
91586
+ DeleteReplRequest.encodeDelimited = function encodeDelimited(message, writer) {
91587
+ return this.encode(message, writer).ldelim();
91588
+ };
91589
+
91590
+ /**
91591
+ * Decodes a DeleteReplRequest message from the specified reader or buffer.
91592
+ * @function decode
91593
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91594
+ * @static
91595
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91596
+ * @param {number} [length] Message length if known beforehand
91597
+ * @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest
91598
+ * @throws {Error} If the payload is not a reader or valid buffer
91599
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
91600
+ */
91601
+ DeleteReplRequest.decode = function decode(reader, length, error) {
91602
+ if (!(reader instanceof $Reader))
91603
+ reader = $Reader.create(reader);
91604
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.DeleteReplRequest();
91605
+ while (reader.pos < end) {
91606
+ var tag = reader.uint32();
91607
+ if (tag === error)
91608
+ break;
91609
+ switch (tag >>> 3) {
91610
+ case 1: {
91611
+ message.replId = reader.string();
91612
+ break;
91613
+ }
91614
+ default:
91615
+ reader.skipType(tag & 7);
91616
+ break;
91617
+ }
91618
+ }
91619
+ return message;
91620
+ };
91621
+
91622
+ /**
91623
+ * Decodes a DeleteReplRequest message from the specified reader or buffer, length delimited.
91624
+ * @function decodeDelimited
91625
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91626
+ * @static
91627
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91628
+ * @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest
91629
+ * @throws {Error} If the payload is not a reader or valid buffer
91630
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
91631
+ */
91632
+ DeleteReplRequest.decodeDelimited = function decodeDelimited(reader) {
91633
+ if (!(reader instanceof $Reader))
91634
+ reader = new $Reader(reader);
91635
+ return this.decode(reader, reader.uint32());
91636
+ };
91637
+
91638
+ /**
91639
+ * Verifies a DeleteReplRequest message.
91640
+ * @function verify
91641
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91642
+ * @static
91643
+ * @param {Object.<string,*>} message Plain object to verify
91644
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
91645
+ */
91646
+ DeleteReplRequest.verify = function verify(message) {
91647
+ if (typeof message !== "object" || message === null)
91648
+ return "object expected";
91649
+ if (message.replId != null && message.hasOwnProperty("replId"))
91650
+ if (!$util.isString(message.replId))
91651
+ return "replId: string expected";
91652
+ return null;
91653
+ };
91654
+
91655
+ /**
91656
+ * Creates a DeleteReplRequest message from a plain object. Also converts values to their respective internal types.
91657
+ * @function fromObject
91658
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91659
+ * @static
91660
+ * @param {Object.<string,*>} object Plain object
91661
+ * @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest
91662
+ */
91663
+ DeleteReplRequest.fromObject = function fromObject(object) {
91664
+ if (object instanceof $root.replit.goval.api.lore.DeleteReplRequest)
91665
+ return object;
91666
+ var message = new $root.replit.goval.api.lore.DeleteReplRequest();
91667
+ if (object.replId != null)
91668
+ message.replId = String(object.replId);
91669
+ return message;
91670
+ };
91671
+
91672
+ /**
91673
+ * Creates a plain object from a DeleteReplRequest message. Also converts values to other types if specified.
91674
+ * @function toObject
91675
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91676
+ * @static
91677
+ * @param {replit.goval.api.lore.DeleteReplRequest} message DeleteReplRequest
91678
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
91679
+ * @returns {Object.<string,*>} Plain object
91680
+ */
91681
+ DeleteReplRequest.toObject = function toObject(message, options) {
91682
+ if (!options)
91683
+ options = {};
91684
+ var object = {};
91685
+ if (options.defaults)
91686
+ object.replId = "";
91687
+ if (message.replId != null && message.hasOwnProperty("replId"))
91688
+ object.replId = message.replId;
91689
+ return object;
91690
+ };
91691
+
91692
+ /**
91693
+ * Converts this DeleteReplRequest to JSON.
91694
+ * @function toJSON
91695
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91696
+ * @instance
91697
+ * @returns {Object.<string,*>} JSON object
91698
+ */
91699
+ DeleteReplRequest.prototype.toJSON = function toJSON() {
91700
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
91701
+ };
91702
+
91703
+ /**
91704
+ * Gets the default type url for DeleteReplRequest
91705
+ * @function getTypeUrl
91706
+ * @memberof replit.goval.api.lore.DeleteReplRequest
91707
+ * @static
91708
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
91709
+ * @returns {string} The default type url
91710
+ */
91711
+ DeleteReplRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
91712
+ if (typeUrlPrefix === undefined) {
91713
+ typeUrlPrefix = "type.googleapis.com";
91714
+ }
91715
+ return typeUrlPrefix + "/replit.goval.api.lore.DeleteReplRequest";
91716
+ };
91717
+
91718
+ return DeleteReplRequest;
91719
+ })();
91720
+
91721
+ lore.DeleteReplResponse = (function() {
91722
+
91723
+ /**
91724
+ * Properties of a DeleteReplResponse.
91725
+ * @memberof replit.goval.api.lore
91726
+ * @interface IDeleteReplResponse
91727
+ */
91728
+
91729
+ /**
91730
+ * Constructs a new DeleteReplResponse.
91731
+ * @memberof replit.goval.api.lore
91732
+ * @classdesc Represents a DeleteReplResponse.
91733
+ * @constructor
91734
+ * @param {replit.goval.api.lore.IDeleteReplResponse=} [properties] Properties to set
91735
+ */
91736
+ function DeleteReplResponse(properties) {
91737
+ if (properties)
91738
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
91739
+ if (properties[keys[i]] != null)
91740
+ this[keys[i]] = properties[keys[i]];
91741
+ }
91742
+
91743
+ /**
91744
+ * Creates a new DeleteReplResponse instance using the specified properties.
91745
+ * @function create
91746
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91747
+ * @static
91748
+ * @param {replit.goval.api.lore.IDeleteReplResponse=} [properties] Properties to set
91749
+ * @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse instance
91750
+ */
91751
+ DeleteReplResponse.create = function create(properties) {
91752
+ return DeleteReplResponse.fromObject(properties);
91753
+ };
91754
+
91755
+ /**
91756
+ * Encodes the specified DeleteReplResponse message. Does not implicitly {@link replit.goval.api.lore.DeleteReplResponse.verify|verify} messages.
91757
+ * @function encode
91758
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91759
+ * @static
91760
+ * @param {replit.goval.api.lore.DeleteReplResponse} message DeleteReplResponse message or plain object to encode
91761
+ * @param {$protobuf.Writer} [writer] Writer to encode to
91762
+ * @returns {$protobuf.Writer} Writer
91763
+ */
91764
+ DeleteReplResponse.encode = function encode(message, writer) {
91765
+ if (!writer)
91766
+ writer = $Writer.create();
91767
+ return writer;
91768
+ };
91769
+
91770
+ /**
91771
+ * Encodes the specified DeleteReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.DeleteReplResponse.verify|verify} messages.
91772
+ * @function encodeDelimited
91773
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91774
+ * @static
91775
+ * @param {replit.goval.api.lore.DeleteReplResponse} message DeleteReplResponse message or plain object to encode
91776
+ * @param {$protobuf.Writer} [writer] Writer to encode to
91777
+ * @returns {$protobuf.Writer} Writer
91778
+ */
91779
+ DeleteReplResponse.encodeDelimited = function encodeDelimited(message, writer) {
91780
+ return this.encode(message, writer).ldelim();
91781
+ };
91782
+
91783
+ /**
91784
+ * Decodes a DeleteReplResponse message from the specified reader or buffer.
91785
+ * @function decode
91786
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91787
+ * @static
91788
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91789
+ * @param {number} [length] Message length if known beforehand
91790
+ * @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse
91791
+ * @throws {Error} If the payload is not a reader or valid buffer
91792
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
91793
+ */
91794
+ DeleteReplResponse.decode = function decode(reader, length, error) {
91795
+ if (!(reader instanceof $Reader))
91796
+ reader = $Reader.create(reader);
91797
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.DeleteReplResponse();
91798
+ while (reader.pos < end) {
91799
+ var tag = reader.uint32();
91800
+ if (tag === error)
91801
+ break;
91802
+ switch (tag >>> 3) {
91803
+ default:
91804
+ reader.skipType(tag & 7);
91805
+ break;
91806
+ }
91807
+ }
91808
+ return message;
91809
+ };
91810
+
91811
+ /**
91812
+ * Decodes a DeleteReplResponse message from the specified reader or buffer, length delimited.
91813
+ * @function decodeDelimited
91814
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91815
+ * @static
91816
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
91817
+ * @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse
91818
+ * @throws {Error} If the payload is not a reader or valid buffer
91819
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
91820
+ */
91821
+ DeleteReplResponse.decodeDelimited = function decodeDelimited(reader) {
91822
+ if (!(reader instanceof $Reader))
91823
+ reader = new $Reader(reader);
91824
+ return this.decode(reader, reader.uint32());
91825
+ };
91826
+
91827
+ /**
91828
+ * Verifies a DeleteReplResponse message.
91829
+ * @function verify
91830
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91831
+ * @static
91832
+ * @param {Object.<string,*>} message Plain object to verify
91833
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
91834
+ */
91835
+ DeleteReplResponse.verify = function verify(message) {
91836
+ if (typeof message !== "object" || message === null)
91837
+ return "object expected";
91838
+ return null;
91839
+ };
91840
+
91841
+ /**
91842
+ * Creates a DeleteReplResponse message from a plain object. Also converts values to their respective internal types.
91843
+ * @function fromObject
91844
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91845
+ * @static
91846
+ * @param {Object.<string,*>} object Plain object
91847
+ * @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse
91848
+ */
91849
+ DeleteReplResponse.fromObject = function fromObject(object) {
91850
+ if (object instanceof $root.replit.goval.api.lore.DeleteReplResponse)
91851
+ return object;
91852
+ return new $root.replit.goval.api.lore.DeleteReplResponse();
91853
+ };
91854
+
91855
+ /**
91856
+ * Creates a plain object from a DeleteReplResponse message. Also converts values to other types if specified.
91857
+ * @function toObject
91858
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91859
+ * @static
91860
+ * @param {replit.goval.api.lore.DeleteReplResponse} message DeleteReplResponse
91861
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
91862
+ * @returns {Object.<string,*>} Plain object
91863
+ */
91864
+ DeleteReplResponse.toObject = function toObject() {
91865
+ return {};
91866
+ };
91867
+
91868
+ /**
91869
+ * Converts this DeleteReplResponse to JSON.
91870
+ * @function toJSON
91871
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91872
+ * @instance
91873
+ * @returns {Object.<string,*>} JSON object
91874
+ */
91875
+ DeleteReplResponse.prototype.toJSON = function toJSON() {
91876
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
91877
+ };
91878
+
91879
+ /**
91880
+ * Gets the default type url for DeleteReplResponse
91881
+ * @function getTypeUrl
91882
+ * @memberof replit.goval.api.lore.DeleteReplResponse
91883
+ * @static
91884
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
91885
+ * @returns {string} The default type url
91886
+ */
91887
+ DeleteReplResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
91888
+ if (typeUrlPrefix === undefined) {
91889
+ typeUrlPrefix = "type.googleapis.com";
91890
+ }
91891
+ return typeUrlPrefix + "/replit.goval.api.lore.DeleteReplResponse";
91892
+ };
91893
+
91894
+ return DeleteReplResponse;
91895
+ })();
91896
+
91407
91897
  lore.GetClustersRequest = (function() {
91408
91898
 
91409
91899
  /**
@@ -94102,6 +94592,39 @@
94102
94592
  * @variation 2
94103
94593
  */
94104
94594
 
94595
+ /**
94596
+ * Callback as used by {@link replit.goval.api.lore.Lore#deleteRepl}.
94597
+ * @memberof replit.goval.api.lore.Lore
94598
+ * @typedef DeleteReplCallback
94599
+ * @type {function}
94600
+ * @param {Error|null} error Error, if any
94601
+ * @param {replit.goval.api.lore.DeleteReplResponse} [response] DeleteReplResponse
94602
+ */
94603
+
94604
+ /**
94605
+ * Calls DeleteRepl.
94606
+ * @function deleteRepl
94607
+ * @memberof replit.goval.api.lore.Lore
94608
+ * @instance
94609
+ * @param {replit.goval.api.lore.DeleteReplRequest} request DeleteReplRequest message or plain object
94610
+ * @param {replit.goval.api.lore.Lore.DeleteReplCallback} callback Node-style callback called with the error, if any, and DeleteReplResponse
94611
+ * @returns {undefined}
94612
+ * @variation 1
94613
+ */
94614
+ Object.defineProperty(Lore.prototype.deleteRepl = function deleteRepl(request, callback) {
94615
+ return this.rpcCall(deleteRepl, $root.replit.goval.api.lore.DeleteReplRequest, $root.replit.goval.api.lore.DeleteReplResponse, request, callback);
94616
+ }, "name", { value: "DeleteRepl" });
94617
+
94618
+ /**
94619
+ * Calls DeleteRepl.
94620
+ * @function deleteRepl
94621
+ * @memberof replit.goval.api.lore.Lore
94622
+ * @instance
94623
+ * @param {replit.goval.api.lore.DeleteReplRequest} request DeleteReplRequest message or plain object
94624
+ * @returns {Promise<replit.goval.api.lore.DeleteReplResponse>} Promise
94625
+ * @variation 2
94626
+ */
94627
+
94105
94628
  /**
94106
94629
  * Callback as used by {@link replit.goval.api.lore.Lore#getClusters}.
94107
94630
  * @memberof replit.goval.api.lore.Lore