@replit/protocol 0.4.13 → 0.4.15

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.
Files changed (3) hide show
  1. package/main/index.d.ts +219 -112
  2. package/main/index.js +536 -302
  3. package/package.json +2 -2
package/main/index.js CHANGED
@@ -73633,6 +73633,7 @@
73633
73633
  * @property {boolean|null} [replexec] ReplToken replexec
73634
73634
  * @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
73635
73635
  * @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplToken before
73636
+ * @property {Array.<replit.goval.api.chamber.ChamberSecretName|replit.goval.api.chamber.IChamberSecretName>|null} [chamberSecrets] ReplToken chamberSecrets
73636
73637
  */
73637
73638
 
73638
73639
  /**
@@ -73646,6 +73647,7 @@
73646
73647
  this.flags = [];
73647
73648
  this.features = [];
73648
73649
  this.externalSecrets = [];
73650
+ this.chamberSecrets = [];
73649
73651
  if (properties)
73650
73652
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
73651
73653
  if (properties[keys[i]] != null)
@@ -73812,6 +73814,14 @@
73812
73814
  */
73813
73815
  ReplToken.prototype.before = null;
73814
73816
 
73817
+ /**
73818
+ * ReplToken chamberSecrets.
73819
+ * @member {Array.<replit.goval.api.chamber.ChamberSecretName>} chamberSecrets
73820
+ * @memberof replit.goval.api.token.ReplToken
73821
+ * @instance
73822
+ */
73823
+ ReplToken.prototype.chamberSecrets = $util.emptyArray;
73824
+
73815
73825
  // OneOf field names bound to virtual getters and setters
73816
73826
  var $oneOfFields;
73817
73827
 
@@ -73893,6 +73903,9 @@
73893
73903
  $root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
73894
73904
  if (message.before != null && Object.hasOwnProperty.call(message, "before"))
73895
73905
  $root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
73906
+ if (message.chamberSecrets != null && message.chamberSecrets.length)
73907
+ for (var i = 0; i < message.chamberSecrets.length; ++i)
73908
+ $root.replit.goval.api.chamber.ChamberSecretName.encode(message.chamberSecrets[i], writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
73896
73909
  return writer;
73897
73910
  };
73898
73911
 
@@ -74013,6 +74026,12 @@
74013
74026
  message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
74014
74027
  break;
74015
74028
  }
74029
+ case 24: {
74030
+ if (!(message.chamberSecrets && message.chamberSecrets.length))
74031
+ message.chamberSecrets = [];
74032
+ message.chamberSecrets.push($root.replit.goval.api.chamber.ChamberSecretName.decode(reader, reader.uint32()));
74033
+ break;
74034
+ }
74016
74035
  default:
74017
74036
  reader.skipType(tag & 7);
74018
74037
  break;
@@ -74174,6 +74193,15 @@
74174
74193
  if (error)
74175
74194
  return "before." + error;
74176
74195
  }
74196
+ if (message.chamberSecrets != null && message.hasOwnProperty("chamberSecrets")) {
74197
+ if (!Array.isArray(message.chamberSecrets))
74198
+ return "chamberSecrets: array expected";
74199
+ for (var i = 0; i < message.chamberSecrets.length; ++i) {
74200
+ var error = $root.replit.goval.api.chamber.ChamberSecretName.verify(message.chamberSecrets[i]);
74201
+ if (error)
74202
+ return "chamberSecrets." + error;
74203
+ }
74204
+ }
74177
74205
  return null;
74178
74206
  };
74179
74207
 
@@ -74327,6 +74355,16 @@
74327
74355
  throw TypeError(".replit.goval.api.token.ReplToken.before: object expected");
74328
74356
  message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
74329
74357
  }
74358
+ if (object.chamberSecrets) {
74359
+ if (!Array.isArray(object.chamberSecrets))
74360
+ throw TypeError(".replit.goval.api.token.ReplToken.chamberSecrets: array expected");
74361
+ message.chamberSecrets = [];
74362
+ for (var i = 0; i < object.chamberSecrets.length; ++i) {
74363
+ if (typeof object.chamberSecrets[i] !== "object")
74364
+ throw TypeError(".replit.goval.api.token.ReplToken.chamberSecrets: object expected");
74365
+ message.chamberSecrets[i] = $root.replit.goval.api.chamber.ChamberSecretName.fromObject(object.chamberSecrets[i]);
74366
+ }
74367
+ }
74330
74368
  return message;
74331
74369
  };
74332
74370
 
@@ -74347,6 +74385,7 @@
74347
74385
  object.flags = [];
74348
74386
  object.features = [];
74349
74387
  object.externalSecrets = [];
74388
+ object.chamberSecrets = [];
74350
74389
  }
74351
74390
  if (options.defaults) {
74352
74391
  object.iat = null;
@@ -74422,6 +74461,11 @@
74422
74461
  }
74423
74462
  if (message.before != null && message.hasOwnProperty("before"))
74424
74463
  object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
74464
+ if (message.chamberSecrets && message.chamberSecrets.length) {
74465
+ object.chamberSecrets = [];
74466
+ for (var j = 0; j < message.chamberSecrets.length; ++j)
74467
+ object.chamberSecrets[j] = $root.replit.goval.api.chamber.ChamberSecretName.toObject(message.chamberSecrets[j], options);
74468
+ }
74425
74469
  return object;
74426
74470
  };
74427
74471
 
@@ -79896,8 +79940,6 @@
79896
79940
  * @property {string|null} [continent] CreateReplRequest continent
79897
79941
  * @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] CreateReplRequest replLocation
79898
79942
  * @property {replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null} [sourceRepl] CreateReplRequest sourceRepl
79899
- * @property {replit.goval.api.lore.CreateReplRequest.SourceFiles|replit.goval.api.lore.CreateReplRequest.ISourceFiles|null} [sourceFiles] CreateReplRequest sourceFiles
79900
- * @property {string|null} [overrideFilesBucket] CreateReplRequest overrideFilesBucket
79901
79943
  */
79902
79944
 
79903
79945
  /**
@@ -79954,22 +79996,6 @@
79954
79996
  */
79955
79997
  CreateReplRequest.prototype.sourceRepl = null;
79956
79998
 
79957
- /**
79958
- * CreateReplRequest sourceFiles.
79959
- * @member {replit.goval.api.lore.CreateReplRequest.SourceFiles|null|undefined} sourceFiles
79960
- * @memberof replit.goval.api.lore.CreateReplRequest
79961
- * @instance
79962
- */
79963
- CreateReplRequest.prototype.sourceFiles = null;
79964
-
79965
- /**
79966
- * CreateReplRequest overrideFilesBucket.
79967
- * @member {string} overrideFilesBucket
79968
- * @memberof replit.goval.api.lore.CreateReplRequest
79969
- * @instance
79970
- */
79971
- CreateReplRequest.prototype.overrideFilesBucket = "";
79972
-
79973
79999
  // OneOf field names bound to virtual getters and setters
79974
80000
  var $oneOfFields;
79975
80001
 
@@ -79984,17 +80010,6 @@
79984
80010
  set: $util.oneOfSetter($oneOfFields)
79985
80011
  });
79986
80012
 
79987
- /**
79988
- * CreateReplRequest source.
79989
- * @member {"sourceRepl"|"sourceFiles"|undefined} source
79990
- * @memberof replit.goval.api.lore.CreateReplRequest
79991
- * @instance
79992
- */
79993
- Object.defineProperty(CreateReplRequest.prototype, "source", {
79994
- get: $util.oneOfGetter($oneOfFields = ["sourceRepl", "sourceFiles"]),
79995
- set: $util.oneOfSetter($oneOfFields)
79996
- });
79997
-
79998
80013
  /**
79999
80014
  * Creates a new CreateReplRequest instance using the specified properties.
80000
80015
  * @function create
@@ -80025,10 +80040,6 @@
80025
80040
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.cluster);
80026
80041
  if (message.sourceRepl != null && Object.hasOwnProperty.call(message, "sourceRepl"))
80027
80042
  $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.encode(message.sourceRepl, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
80028
- if (message.sourceFiles != null && Object.hasOwnProperty.call(message, "sourceFiles"))
80029
- $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.encode(message.sourceFiles, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
80030
- if (message.overrideFilesBucket != null && Object.hasOwnProperty.call(message, "overrideFilesBucket"))
80031
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.overrideFilesBucket);
80032
80043
  if (message.continent != null && Object.hasOwnProperty.call(message, "continent"))
80033
80044
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.continent);
80034
80045
  if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
@@ -80087,14 +80098,6 @@
80087
80098
  message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.decode(reader, reader.uint32());
80088
80099
  break;
80089
80100
  }
80090
- case 4: {
80091
- message.sourceFiles = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.decode(reader, reader.uint32());
80092
- break;
80093
- }
80094
- case 5: {
80095
- message.overrideFilesBucket = reader.string();
80096
- break;
80097
- }
80098
80101
  default:
80099
80102
  reader.skipType(tag & 7);
80100
80103
  break;
@@ -80154,26 +80157,10 @@
80154
80157
  return "replLocation." + error;
80155
80158
  }
80156
80159
  if (message.sourceRepl != null && message.hasOwnProperty("sourceRepl")) {
80157
- properties.source = 1;
80158
- {
80159
- var error = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.verify(message.sourceRepl);
80160
- if (error)
80161
- return "sourceRepl." + error;
80162
- }
80163
- }
80164
- if (message.sourceFiles != null && message.hasOwnProperty("sourceFiles")) {
80165
- if (properties.source === 1)
80166
- return "source: multiple values";
80167
- properties.source = 1;
80168
- {
80169
- var error = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.verify(message.sourceFiles);
80170
- if (error)
80171
- return "sourceFiles." + error;
80172
- }
80160
+ var error = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.verify(message.sourceRepl);
80161
+ if (error)
80162
+ return "sourceRepl." + error;
80173
80163
  }
80174
- if (message.overrideFilesBucket != null && message.hasOwnProperty("overrideFilesBucket"))
80175
- if (!$util.isString(message.overrideFilesBucket))
80176
- return "overrideFilesBucket: string expected";
80177
80164
  return null;
80178
80165
  };
80179
80166
 
@@ -80208,13 +80195,6 @@
80208
80195
  throw TypeError(".replit.goval.api.lore.CreateReplRequest.sourceRepl: object expected");
80209
80196
  message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.fromObject(object.sourceRepl);
80210
80197
  }
80211
- if (object.sourceFiles != null) {
80212
- if (typeof object.sourceFiles !== "object")
80213
- throw TypeError(".replit.goval.api.lore.CreateReplRequest.sourceFiles: object expected");
80214
- message.sourceFiles = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.fromObject(object.sourceFiles);
80215
- }
80216
- if (object.overrideFilesBucket != null)
80217
- message.overrideFilesBucket = String(object.overrideFilesBucket);
80218
80198
  return message;
80219
80199
  };
80220
80200
 
@@ -80233,7 +80213,7 @@
80233
80213
  var object = {};
80234
80214
  if (options.defaults) {
80235
80215
  object.repl = null;
80236
- object.overrideFilesBucket = "";
80216
+ object.sourceRepl = null;
80237
80217
  object.replLocation = null;
80238
80218
  }
80239
80219
  if (message.repl != null && message.hasOwnProperty("repl"))
@@ -80243,18 +80223,8 @@
80243
80223
  if (options.oneofs)
80244
80224
  object.location = "cluster";
80245
80225
  }
80246
- if (message.sourceRepl != null && message.hasOwnProperty("sourceRepl")) {
80226
+ if (message.sourceRepl != null && message.hasOwnProperty("sourceRepl"))
80247
80227
  object.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.toObject(message.sourceRepl, options);
80248
- if (options.oneofs)
80249
- object.source = "sourceRepl";
80250
- }
80251
- if (message.sourceFiles != null && message.hasOwnProperty("sourceFiles")) {
80252
- object.sourceFiles = $root.replit.goval.api.lore.CreateReplRequest.SourceFiles.toObject(message.sourceFiles, options);
80253
- if (options.oneofs)
80254
- object.source = "sourceFiles";
80255
- }
80256
- if (message.overrideFilesBucket != null && message.hasOwnProperty("overrideFilesBucket"))
80257
- object.overrideFilesBucket = message.overrideFilesBucket;
80258
80228
  if (message.continent != null && message.hasOwnProperty("continent")) {
80259
80229
  object.continent = message.continent;
80260
80230
  if (options.oneofs)
@@ -80752,229 +80722,6 @@
80752
80722
  return File;
80753
80723
  })();
80754
80724
 
80755
- CreateReplRequest.SourceFiles = (function() {
80756
-
80757
- /**
80758
- * Properties of a SourceFiles.
80759
- * @memberof replit.goval.api.lore.CreateReplRequest
80760
- * @interface ISourceFiles
80761
- * @property {Array.<replit.goval.api.lore.CreateReplRequest.File|replit.goval.api.lore.CreateReplRequest.IFile>|null} [files] SourceFiles files
80762
- */
80763
-
80764
- /**
80765
- * Constructs a new SourceFiles.
80766
- * @memberof replit.goval.api.lore.CreateReplRequest
80767
- * @classdesc Represents a SourceFiles.
80768
- * @constructor
80769
- * @param {replit.goval.api.lore.CreateReplRequest.ISourceFiles=} [properties] Properties to set
80770
- */
80771
- function SourceFiles(properties) {
80772
- this.files = [];
80773
- if (properties)
80774
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
80775
- if (properties[keys[i]] != null)
80776
- this[keys[i]] = properties[keys[i]];
80777
- }
80778
-
80779
- /**
80780
- * SourceFiles files.
80781
- * @member {Array.<replit.goval.api.lore.CreateReplRequest.File>} files
80782
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80783
- * @instance
80784
- */
80785
- SourceFiles.prototype.files = $util.emptyArray;
80786
-
80787
- /**
80788
- * Creates a new SourceFiles instance using the specified properties.
80789
- * @function create
80790
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80791
- * @static
80792
- * @param {replit.goval.api.lore.CreateReplRequest.ISourceFiles=} [properties] Properties to set
80793
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles instance
80794
- */
80795
- SourceFiles.create = function create(properties) {
80796
- return SourceFiles.fromObject(properties);
80797
- };
80798
-
80799
- /**
80800
- * Encodes the specified SourceFiles message. Does not implicitly {@link replit.goval.api.lore.CreateReplRequest.SourceFiles.verify|verify} messages.
80801
- * @function encode
80802
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80803
- * @static
80804
- * @param {replit.goval.api.lore.CreateReplRequest.SourceFiles} message SourceFiles message or plain object to encode
80805
- * @param {$protobuf.Writer} [writer] Writer to encode to
80806
- * @returns {$protobuf.Writer} Writer
80807
- */
80808
- SourceFiles.encode = function encode(message, writer) {
80809
- if (!writer)
80810
- writer = $Writer.create();
80811
- if (message.files != null && message.files.length)
80812
- for (var i = 0; i < message.files.length; ++i)
80813
- $root.replit.goval.api.lore.CreateReplRequest.File.encode(message.files[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
80814
- return writer;
80815
- };
80816
-
80817
- /**
80818
- * Encodes the specified SourceFiles message, length delimited. Does not implicitly {@link replit.goval.api.lore.CreateReplRequest.SourceFiles.verify|verify} messages.
80819
- * @function encodeDelimited
80820
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80821
- * @static
80822
- * @param {replit.goval.api.lore.CreateReplRequest.SourceFiles} message SourceFiles message or plain object to encode
80823
- * @param {$protobuf.Writer} [writer] Writer to encode to
80824
- * @returns {$protobuf.Writer} Writer
80825
- */
80826
- SourceFiles.encodeDelimited = function encodeDelimited(message, writer) {
80827
- return this.encode(message, writer).ldelim();
80828
- };
80829
-
80830
- /**
80831
- * Decodes a SourceFiles message from the specified reader or buffer.
80832
- * @function decode
80833
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80834
- * @static
80835
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
80836
- * @param {number} [length] Message length if known beforehand
80837
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles
80838
- * @throws {Error} If the payload is not a reader or valid buffer
80839
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
80840
- */
80841
- SourceFiles.decode = function decode(reader, length) {
80842
- if (!(reader instanceof $Reader))
80843
- reader = $Reader.create(reader);
80844
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.CreateReplRequest.SourceFiles();
80845
- while (reader.pos < end) {
80846
- var tag = reader.uint32();
80847
- switch (tag >>> 3) {
80848
- case 1: {
80849
- if (!(message.files && message.files.length))
80850
- message.files = [];
80851
- message.files.push($root.replit.goval.api.lore.CreateReplRequest.File.decode(reader, reader.uint32()));
80852
- break;
80853
- }
80854
- default:
80855
- reader.skipType(tag & 7);
80856
- break;
80857
- }
80858
- }
80859
- return message;
80860
- };
80861
-
80862
- /**
80863
- * Decodes a SourceFiles message from the specified reader or buffer, length delimited.
80864
- * @function decodeDelimited
80865
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80866
- * @static
80867
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
80868
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles
80869
- * @throws {Error} If the payload is not a reader or valid buffer
80870
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
80871
- */
80872
- SourceFiles.decodeDelimited = function decodeDelimited(reader) {
80873
- if (!(reader instanceof $Reader))
80874
- reader = new $Reader(reader);
80875
- return this.decode(reader, reader.uint32());
80876
- };
80877
-
80878
- /**
80879
- * Verifies a SourceFiles message.
80880
- * @function verify
80881
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80882
- * @static
80883
- * @param {Object.<string,*>} message Plain object to verify
80884
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
80885
- */
80886
- SourceFiles.verify = function verify(message) {
80887
- if (typeof message !== "object" || message === null)
80888
- return "object expected";
80889
- if (message.files != null && message.hasOwnProperty("files")) {
80890
- if (!Array.isArray(message.files))
80891
- return "files: array expected";
80892
- for (var i = 0; i < message.files.length; ++i) {
80893
- var error = $root.replit.goval.api.lore.CreateReplRequest.File.verify(message.files[i]);
80894
- if (error)
80895
- return "files." + error;
80896
- }
80897
- }
80898
- return null;
80899
- };
80900
-
80901
- /**
80902
- * Creates a SourceFiles message from a plain object. Also converts values to their respective internal types.
80903
- * @function fromObject
80904
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80905
- * @static
80906
- * @param {Object.<string,*>} object Plain object
80907
- * @returns {replit.goval.api.lore.CreateReplRequest.SourceFiles} SourceFiles
80908
- */
80909
- SourceFiles.fromObject = function fromObject(object) {
80910
- if (object instanceof $root.replit.goval.api.lore.CreateReplRequest.SourceFiles)
80911
- return object;
80912
- var message = new $root.replit.goval.api.lore.CreateReplRequest.SourceFiles();
80913
- if (object.files) {
80914
- if (!Array.isArray(object.files))
80915
- throw TypeError(".replit.goval.api.lore.CreateReplRequest.SourceFiles.files: array expected");
80916
- message.files = [];
80917
- for (var i = 0; i < object.files.length; ++i) {
80918
- if (typeof object.files[i] !== "object")
80919
- throw TypeError(".replit.goval.api.lore.CreateReplRequest.SourceFiles.files: object expected");
80920
- message.files[i] = $root.replit.goval.api.lore.CreateReplRequest.File.fromObject(object.files[i]);
80921
- }
80922
- }
80923
- return message;
80924
- };
80925
-
80926
- /**
80927
- * Creates a plain object from a SourceFiles message. Also converts values to other types if specified.
80928
- * @function toObject
80929
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80930
- * @static
80931
- * @param {replit.goval.api.lore.CreateReplRequest.SourceFiles} message SourceFiles
80932
- * @param {$protobuf.IConversionOptions} [options] Conversion options
80933
- * @returns {Object.<string,*>} Plain object
80934
- */
80935
- SourceFiles.toObject = function toObject(message, options) {
80936
- if (!options)
80937
- options = {};
80938
- var object = {};
80939
- if (options.arrays || options.defaults)
80940
- object.files = [];
80941
- if (message.files && message.files.length) {
80942
- object.files = [];
80943
- for (var j = 0; j < message.files.length; ++j)
80944
- object.files[j] = $root.replit.goval.api.lore.CreateReplRequest.File.toObject(message.files[j], options);
80945
- }
80946
- return object;
80947
- };
80948
-
80949
- /**
80950
- * Converts this SourceFiles to JSON.
80951
- * @function toJSON
80952
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80953
- * @instance
80954
- * @returns {Object.<string,*>} JSON object
80955
- */
80956
- SourceFiles.prototype.toJSON = function toJSON() {
80957
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
80958
- };
80959
-
80960
- /**
80961
- * Gets the default type url for SourceFiles
80962
- * @function getTypeUrl
80963
- * @memberof replit.goval.api.lore.CreateReplRequest.SourceFiles
80964
- * @static
80965
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
80966
- * @returns {string} The default type url
80967
- */
80968
- SourceFiles.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
80969
- if (typeUrlPrefix === undefined) {
80970
- typeUrlPrefix = "type.googleapis.com";
80971
- }
80972
- return typeUrlPrefix + "/replit.goval.api.lore.CreateReplRequest.SourceFiles";
80973
- };
80974
-
80975
- return SourceFiles;
80976
- })();
80977
-
80978
80725
  CreateReplRequest.Buckets = (function() {
80979
80726
 
80980
80727
  /**
@@ -94014,6 +93761,493 @@
94014
93761
  return UserPowerUps;
94015
93762
  })();
94016
93763
 
93764
+ api.chamber = (function() {
93765
+
93766
+ /**
93767
+ * Namespace chamber.
93768
+ * @memberof replit.goval.api
93769
+ * @namespace
93770
+ */
93771
+ var chamber = {};
93772
+
93773
+ chamber.OrgSecret = (function() {
93774
+
93775
+ /**
93776
+ * Properties of an OrgSecret.
93777
+ * @memberof replit.goval.api.chamber
93778
+ * @interface IOrgSecret
93779
+ * @property {string|null} [orgId] OrgSecret orgId
93780
+ * @property {string|null} [name] OrgSecret name
93781
+ * @property {string|null} [version] OrgSecret version
93782
+ */
93783
+
93784
+ /**
93785
+ * Constructs a new OrgSecret.
93786
+ * @memberof replit.goval.api.chamber
93787
+ * @classdesc Represents an OrgSecret.
93788
+ * @constructor
93789
+ * @param {replit.goval.api.chamber.IOrgSecret=} [properties] Properties to set
93790
+ */
93791
+ function OrgSecret(properties) {
93792
+ if (properties)
93793
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
93794
+ if (properties[keys[i]] != null)
93795
+ this[keys[i]] = properties[keys[i]];
93796
+ }
93797
+
93798
+ /**
93799
+ * OrgSecret orgId.
93800
+ * @member {string} orgId
93801
+ * @memberof replit.goval.api.chamber.OrgSecret
93802
+ * @instance
93803
+ */
93804
+ OrgSecret.prototype.orgId = "";
93805
+
93806
+ /**
93807
+ * OrgSecret name.
93808
+ * @member {string} name
93809
+ * @memberof replit.goval.api.chamber.OrgSecret
93810
+ * @instance
93811
+ */
93812
+ OrgSecret.prototype.name = "";
93813
+
93814
+ /**
93815
+ * OrgSecret version.
93816
+ * @member {string} version
93817
+ * @memberof replit.goval.api.chamber.OrgSecret
93818
+ * @instance
93819
+ */
93820
+ OrgSecret.prototype.version = "";
93821
+
93822
+ /**
93823
+ * Creates a new OrgSecret instance using the specified properties.
93824
+ * @function create
93825
+ * @memberof replit.goval.api.chamber.OrgSecret
93826
+ * @static
93827
+ * @param {replit.goval.api.chamber.IOrgSecret=} [properties] Properties to set
93828
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret instance
93829
+ */
93830
+ OrgSecret.create = function create(properties) {
93831
+ return OrgSecret.fromObject(properties);
93832
+ };
93833
+
93834
+ /**
93835
+ * Encodes the specified OrgSecret message. Does not implicitly {@link replit.goval.api.chamber.OrgSecret.verify|verify} messages.
93836
+ * @function encode
93837
+ * @memberof replit.goval.api.chamber.OrgSecret
93838
+ * @static
93839
+ * @param {replit.goval.api.chamber.OrgSecret} message OrgSecret message or plain object to encode
93840
+ * @param {$protobuf.Writer} [writer] Writer to encode to
93841
+ * @returns {$protobuf.Writer} Writer
93842
+ */
93843
+ OrgSecret.encode = function encode(message, writer) {
93844
+ if (!writer)
93845
+ writer = $Writer.create();
93846
+ if (message.orgId != null && Object.hasOwnProperty.call(message, "orgId"))
93847
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
93848
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
93849
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
93850
+ if (message.version != null && Object.hasOwnProperty.call(message, "version"))
93851
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.version);
93852
+ return writer;
93853
+ };
93854
+
93855
+ /**
93856
+ * Encodes the specified OrgSecret message, length delimited. Does not implicitly {@link replit.goval.api.chamber.OrgSecret.verify|verify} messages.
93857
+ * @function encodeDelimited
93858
+ * @memberof replit.goval.api.chamber.OrgSecret
93859
+ * @static
93860
+ * @param {replit.goval.api.chamber.OrgSecret} message OrgSecret message or plain object to encode
93861
+ * @param {$protobuf.Writer} [writer] Writer to encode to
93862
+ * @returns {$protobuf.Writer} Writer
93863
+ */
93864
+ OrgSecret.encodeDelimited = function encodeDelimited(message, writer) {
93865
+ return this.encode(message, writer).ldelim();
93866
+ };
93867
+
93868
+ /**
93869
+ * Decodes an OrgSecret message from the specified reader or buffer.
93870
+ * @function decode
93871
+ * @memberof replit.goval.api.chamber.OrgSecret
93872
+ * @static
93873
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
93874
+ * @param {number} [length] Message length if known beforehand
93875
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret
93876
+ * @throws {Error} If the payload is not a reader or valid buffer
93877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
93878
+ */
93879
+ OrgSecret.decode = function decode(reader, length) {
93880
+ if (!(reader instanceof $Reader))
93881
+ reader = $Reader.create(reader);
93882
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.chamber.OrgSecret();
93883
+ while (reader.pos < end) {
93884
+ var tag = reader.uint32();
93885
+ switch (tag >>> 3) {
93886
+ case 1: {
93887
+ message.orgId = reader.string();
93888
+ break;
93889
+ }
93890
+ case 2: {
93891
+ message.name = reader.string();
93892
+ break;
93893
+ }
93894
+ case 3: {
93895
+ message.version = reader.string();
93896
+ break;
93897
+ }
93898
+ default:
93899
+ reader.skipType(tag & 7);
93900
+ break;
93901
+ }
93902
+ }
93903
+ return message;
93904
+ };
93905
+
93906
+ /**
93907
+ * Decodes an OrgSecret message from the specified reader or buffer, length delimited.
93908
+ * @function decodeDelimited
93909
+ * @memberof replit.goval.api.chamber.OrgSecret
93910
+ * @static
93911
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
93912
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret
93913
+ * @throws {Error} If the payload is not a reader or valid buffer
93914
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
93915
+ */
93916
+ OrgSecret.decodeDelimited = function decodeDelimited(reader) {
93917
+ if (!(reader instanceof $Reader))
93918
+ reader = new $Reader(reader);
93919
+ return this.decode(reader, reader.uint32());
93920
+ };
93921
+
93922
+ /**
93923
+ * Verifies an OrgSecret message.
93924
+ * @function verify
93925
+ * @memberof replit.goval.api.chamber.OrgSecret
93926
+ * @static
93927
+ * @param {Object.<string,*>} message Plain object to verify
93928
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
93929
+ */
93930
+ OrgSecret.verify = function verify(message) {
93931
+ if (typeof message !== "object" || message === null)
93932
+ return "object expected";
93933
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
93934
+ if (!$util.isString(message.orgId))
93935
+ return "orgId: string expected";
93936
+ if (message.name != null && message.hasOwnProperty("name"))
93937
+ if (!$util.isString(message.name))
93938
+ return "name: string expected";
93939
+ if (message.version != null && message.hasOwnProperty("version"))
93940
+ if (!$util.isString(message.version))
93941
+ return "version: string expected";
93942
+ return null;
93943
+ };
93944
+
93945
+ /**
93946
+ * Creates an OrgSecret message from a plain object. Also converts values to their respective internal types.
93947
+ * @function fromObject
93948
+ * @memberof replit.goval.api.chamber.OrgSecret
93949
+ * @static
93950
+ * @param {Object.<string,*>} object Plain object
93951
+ * @returns {replit.goval.api.chamber.OrgSecret} OrgSecret
93952
+ */
93953
+ OrgSecret.fromObject = function fromObject(object) {
93954
+ if (object instanceof $root.replit.goval.api.chamber.OrgSecret)
93955
+ return object;
93956
+ var message = new $root.replit.goval.api.chamber.OrgSecret();
93957
+ if (object.orgId != null)
93958
+ message.orgId = String(object.orgId);
93959
+ if (object.name != null)
93960
+ message.name = String(object.name);
93961
+ if (object.version != null)
93962
+ message.version = String(object.version);
93963
+ return message;
93964
+ };
93965
+
93966
+ /**
93967
+ * Creates a plain object from an OrgSecret message. Also converts values to other types if specified.
93968
+ * @function toObject
93969
+ * @memberof replit.goval.api.chamber.OrgSecret
93970
+ * @static
93971
+ * @param {replit.goval.api.chamber.OrgSecret} message OrgSecret
93972
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
93973
+ * @returns {Object.<string,*>} Plain object
93974
+ */
93975
+ OrgSecret.toObject = function toObject(message, options) {
93976
+ if (!options)
93977
+ options = {};
93978
+ var object = {};
93979
+ if (options.defaults) {
93980
+ object.orgId = "";
93981
+ object.name = "";
93982
+ object.version = "";
93983
+ }
93984
+ if (message.orgId != null && message.hasOwnProperty("orgId"))
93985
+ object.orgId = message.orgId;
93986
+ if (message.name != null && message.hasOwnProperty("name"))
93987
+ object.name = message.name;
93988
+ if (message.version != null && message.hasOwnProperty("version"))
93989
+ object.version = message.version;
93990
+ return object;
93991
+ };
93992
+
93993
+ /**
93994
+ * Converts this OrgSecret to JSON.
93995
+ * @function toJSON
93996
+ * @memberof replit.goval.api.chamber.OrgSecret
93997
+ * @instance
93998
+ * @returns {Object.<string,*>} JSON object
93999
+ */
94000
+ OrgSecret.prototype.toJSON = function toJSON() {
94001
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
94002
+ };
94003
+
94004
+ /**
94005
+ * Gets the default type url for OrgSecret
94006
+ * @function getTypeUrl
94007
+ * @memberof replit.goval.api.chamber.OrgSecret
94008
+ * @static
94009
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
94010
+ * @returns {string} The default type url
94011
+ */
94012
+ OrgSecret.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
94013
+ if (typeUrlPrefix === undefined) {
94014
+ typeUrlPrefix = "type.googleapis.com";
94015
+ }
94016
+ return typeUrlPrefix + "/replit.goval.api.chamber.OrgSecret";
94017
+ };
94018
+
94019
+ return OrgSecret;
94020
+ })();
94021
+
94022
+ chamber.ChamberSecretName = (function() {
94023
+
94024
+ /**
94025
+ * Properties of a ChamberSecretName.
94026
+ * @memberof replit.goval.api.chamber
94027
+ * @interface IChamberSecretName
94028
+ * @property {replit.goval.api.chamber.OrgSecret|replit.goval.api.chamber.IOrgSecret|null} [orgSecret] ChamberSecretName orgSecret
94029
+ */
94030
+
94031
+ /**
94032
+ * Constructs a new ChamberSecretName.
94033
+ * @memberof replit.goval.api.chamber
94034
+ * @classdesc Represents a ChamberSecretName.
94035
+ * @constructor
94036
+ * @param {replit.goval.api.chamber.IChamberSecretName=} [properties] Properties to set
94037
+ */
94038
+ function ChamberSecretName(properties) {
94039
+ if (properties)
94040
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
94041
+ if (properties[keys[i]] != null)
94042
+ this[keys[i]] = properties[keys[i]];
94043
+ }
94044
+
94045
+ /**
94046
+ * ChamberSecretName orgSecret.
94047
+ * @member {replit.goval.api.chamber.OrgSecret|null|undefined} orgSecret
94048
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94049
+ * @instance
94050
+ */
94051
+ ChamberSecretName.prototype.orgSecret = null;
94052
+
94053
+ // OneOf field names bound to virtual getters and setters
94054
+ var $oneOfFields;
94055
+
94056
+ /**
94057
+ * ChamberSecretName secretType.
94058
+ * @member {"orgSecret"|undefined} secretType
94059
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94060
+ * @instance
94061
+ */
94062
+ Object.defineProperty(ChamberSecretName.prototype, "secretType", {
94063
+ get: $util.oneOfGetter($oneOfFields = ["orgSecret"]),
94064
+ set: $util.oneOfSetter($oneOfFields)
94065
+ });
94066
+
94067
+ /**
94068
+ * Creates a new ChamberSecretName instance using the specified properties.
94069
+ * @function create
94070
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94071
+ * @static
94072
+ * @param {replit.goval.api.chamber.IChamberSecretName=} [properties] Properties to set
94073
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName instance
94074
+ */
94075
+ ChamberSecretName.create = function create(properties) {
94076
+ return ChamberSecretName.fromObject(properties);
94077
+ };
94078
+
94079
+ /**
94080
+ * Encodes the specified ChamberSecretName message. Does not implicitly {@link replit.goval.api.chamber.ChamberSecretName.verify|verify} messages.
94081
+ * @function encode
94082
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94083
+ * @static
94084
+ * @param {replit.goval.api.chamber.ChamberSecretName} message ChamberSecretName message or plain object to encode
94085
+ * @param {$protobuf.Writer} [writer] Writer to encode to
94086
+ * @returns {$protobuf.Writer} Writer
94087
+ */
94088
+ ChamberSecretName.encode = function encode(message, writer) {
94089
+ if (!writer)
94090
+ writer = $Writer.create();
94091
+ if (message.orgSecret != null && Object.hasOwnProperty.call(message, "orgSecret"))
94092
+ $root.replit.goval.api.chamber.OrgSecret.encode(message.orgSecret, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
94093
+ return writer;
94094
+ };
94095
+
94096
+ /**
94097
+ * Encodes the specified ChamberSecretName message, length delimited. Does not implicitly {@link replit.goval.api.chamber.ChamberSecretName.verify|verify} messages.
94098
+ * @function encodeDelimited
94099
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94100
+ * @static
94101
+ * @param {replit.goval.api.chamber.ChamberSecretName} message ChamberSecretName message or plain object to encode
94102
+ * @param {$protobuf.Writer} [writer] Writer to encode to
94103
+ * @returns {$protobuf.Writer} Writer
94104
+ */
94105
+ ChamberSecretName.encodeDelimited = function encodeDelimited(message, writer) {
94106
+ return this.encode(message, writer).ldelim();
94107
+ };
94108
+
94109
+ /**
94110
+ * Decodes a ChamberSecretName message from the specified reader or buffer.
94111
+ * @function decode
94112
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94113
+ * @static
94114
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
94115
+ * @param {number} [length] Message length if known beforehand
94116
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName
94117
+ * @throws {Error} If the payload is not a reader or valid buffer
94118
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
94119
+ */
94120
+ ChamberSecretName.decode = function decode(reader, length) {
94121
+ if (!(reader instanceof $Reader))
94122
+ reader = $Reader.create(reader);
94123
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.chamber.ChamberSecretName();
94124
+ while (reader.pos < end) {
94125
+ var tag = reader.uint32();
94126
+ switch (tag >>> 3) {
94127
+ case 1: {
94128
+ message.orgSecret = $root.replit.goval.api.chamber.OrgSecret.decode(reader, reader.uint32());
94129
+ break;
94130
+ }
94131
+ default:
94132
+ reader.skipType(tag & 7);
94133
+ break;
94134
+ }
94135
+ }
94136
+ return message;
94137
+ };
94138
+
94139
+ /**
94140
+ * Decodes a ChamberSecretName message from the specified reader or buffer, length delimited.
94141
+ * @function decodeDelimited
94142
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94143
+ * @static
94144
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
94145
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName
94146
+ * @throws {Error} If the payload is not a reader or valid buffer
94147
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
94148
+ */
94149
+ ChamberSecretName.decodeDelimited = function decodeDelimited(reader) {
94150
+ if (!(reader instanceof $Reader))
94151
+ reader = new $Reader(reader);
94152
+ return this.decode(reader, reader.uint32());
94153
+ };
94154
+
94155
+ /**
94156
+ * Verifies a ChamberSecretName message.
94157
+ * @function verify
94158
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94159
+ * @static
94160
+ * @param {Object.<string,*>} message Plain object to verify
94161
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
94162
+ */
94163
+ ChamberSecretName.verify = function verify(message) {
94164
+ if (typeof message !== "object" || message === null)
94165
+ return "object expected";
94166
+ var properties = {};
94167
+ if (message.orgSecret != null && message.hasOwnProperty("orgSecret")) {
94168
+ properties.secretType = 1;
94169
+ {
94170
+ var error = $root.replit.goval.api.chamber.OrgSecret.verify(message.orgSecret);
94171
+ if (error)
94172
+ return "orgSecret." + error;
94173
+ }
94174
+ }
94175
+ return null;
94176
+ };
94177
+
94178
+ /**
94179
+ * Creates a ChamberSecretName message from a plain object. Also converts values to their respective internal types.
94180
+ * @function fromObject
94181
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94182
+ * @static
94183
+ * @param {Object.<string,*>} object Plain object
94184
+ * @returns {replit.goval.api.chamber.ChamberSecretName} ChamberSecretName
94185
+ */
94186
+ ChamberSecretName.fromObject = function fromObject(object) {
94187
+ if (object instanceof $root.replit.goval.api.chamber.ChamberSecretName)
94188
+ return object;
94189
+ var message = new $root.replit.goval.api.chamber.ChamberSecretName();
94190
+ if (object.orgSecret != null) {
94191
+ if (typeof object.orgSecret !== "object")
94192
+ throw TypeError(".replit.goval.api.chamber.ChamberSecretName.orgSecret: object expected");
94193
+ message.orgSecret = $root.replit.goval.api.chamber.OrgSecret.fromObject(object.orgSecret);
94194
+ }
94195
+ return message;
94196
+ };
94197
+
94198
+ /**
94199
+ * Creates a plain object from a ChamberSecretName message. Also converts values to other types if specified.
94200
+ * @function toObject
94201
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94202
+ * @static
94203
+ * @param {replit.goval.api.chamber.ChamberSecretName} message ChamberSecretName
94204
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
94205
+ * @returns {Object.<string,*>} Plain object
94206
+ */
94207
+ ChamberSecretName.toObject = function toObject(message, options) {
94208
+ if (!options)
94209
+ options = {};
94210
+ var object = {};
94211
+ if (message.orgSecret != null && message.hasOwnProperty("orgSecret")) {
94212
+ object.orgSecret = $root.replit.goval.api.chamber.OrgSecret.toObject(message.orgSecret, options);
94213
+ if (options.oneofs)
94214
+ object.secretType = "orgSecret";
94215
+ }
94216
+ return object;
94217
+ };
94218
+
94219
+ /**
94220
+ * Converts this ChamberSecretName to JSON.
94221
+ * @function toJSON
94222
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94223
+ * @instance
94224
+ * @returns {Object.<string,*>} JSON object
94225
+ */
94226
+ ChamberSecretName.prototype.toJSON = function toJSON() {
94227
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
94228
+ };
94229
+
94230
+ /**
94231
+ * Gets the default type url for ChamberSecretName
94232
+ * @function getTypeUrl
94233
+ * @memberof replit.goval.api.chamber.ChamberSecretName
94234
+ * @static
94235
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
94236
+ * @returns {string} The default type url
94237
+ */
94238
+ ChamberSecretName.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
94239
+ if (typeUrlPrefix === undefined) {
94240
+ typeUrlPrefix = "type.googleapis.com";
94241
+ }
94242
+ return typeUrlPrefix + "/replit.goval.api.chamber.ChamberSecretName";
94243
+ };
94244
+
94245
+ return ChamberSecretName;
94246
+ })();
94247
+
94248
+ return chamber;
94249
+ })();
94250
+
94017
94251
  return api;
94018
94252
  })();
94019
94253