@sjcrh/proteinpaint-types 2.178.0 → 2.179.0

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 (38) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-GAYJUXNZ.js → chunk-4J5BPYYR.js} +429 -201
  3. package/dist/{chunk-WXCXZRKP.js → chunk-6DWX22RA.js} +707 -479
  4. package/dist/{chunk-UWAVSKMD.js → chunk-7V7USAKJ.js} +705 -477
  5. package/dist/{chunk-2XQJCZEO.js → chunk-A2FMYVMI.js} +520 -292
  6. package/dist/{chunk-FQYNRDHB.js → chunk-CC4IBTKW.js} +429 -201
  7. package/dist/{chunk-2Y7WE3JU.js → chunk-CSK3ZCDF.js} +705 -477
  8. package/dist/{chunk-UFYKXOY2.js → chunk-DUFHC6EI.js} +1073 -625
  9. package/dist/{chunk-NRV6MPRM.js → chunk-E2O4N7OC.js} +1346 -898
  10. package/dist/{chunk-CYQDO4FX.js → chunk-FQLGK65A.js} +742 -456
  11. package/dist/{chunk-HZEV7D5E.js → chunk-JTZQYNIT.js} +705 -477
  12. package/dist/{chunk-CX2Y673E.js → chunk-MKM4A5NU.js} +429 -201
  13. package/dist/{chunk-26UKKPK2.js → chunk-QQNDJ6BY.js} +713 -485
  14. package/dist/{chunk-PHRILOVX.js → chunk-RANWGPF7.js} +429 -201
  15. package/dist/{chunk-VBNF7BRI.js → chunk-XAHE4RNZ.js} +452 -224
  16. package/dist/{chunk-YHKFJCXG.js → chunk-YI63CW7Y.js} +646 -426
  17. package/dist/correlationVolcano.js +1 -1
  18. package/dist/grin2.js +1 -1
  19. package/dist/index.js +15 -15
  20. package/dist/termdb.boxplot.js +1 -1
  21. package/dist/termdb.categories.js +1 -1
  22. package/dist/termdb.chat.js +429 -201
  23. package/dist/termdb.chat2.js +1 -1
  24. package/dist/termdb.cluster.js +1 -1
  25. package/dist/termdb.descrstats.js +1 -1
  26. package/dist/termdb.dmr.js +1 -1
  27. package/dist/termdb.numericcategories.js +1 -1
  28. package/dist/termdb.percentile.js +1 -1
  29. package/dist/termdb.termsbyids.js +1 -1
  30. package/dist/termdb.topTermsByType.js +1 -1
  31. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  32. package/dist/termdb.violin.js +1 -1
  33. package/package.json +1 -1
  34. package/src/dataset.ts +28 -8
  35. package/src/filter.ts +33 -4
  36. package/src/routes/termdb.chat2.ts +13 -2
  37. package/src/routes/termdb.dmr.ts +17 -2
  38. package/src/terms/termCollection.ts +0 -3
@@ -13,9 +13,9 @@ var validChatRequest = (input) => {
13
13
  const __is = (input2) => {
14
14
  const $join = import_typia.createValidate.join;
15
15
  const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.prompt && true;
16
- const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
17
- const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
18
- const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
16
+ const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem))) && (void 0 === input3.$id || "string" === typeof input3.$id);
17
+ const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
18
+ const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
19
19
  const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
20
20
  const $io5 = (input3) => Object.keys(input3).every((key) => {
21
21
  const value = input3[key];
@@ -34,11 +34,11 @@ var validChatRequest = (input) => {
34
34
  const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
35
35
  const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
36
36
  const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
37
- const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
37
+ const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
38
38
  const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
39
39
  const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
40
- const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
41
- const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
40
+ const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
41
+ const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
42
42
  const $io18 = (input3) => Object.keys(input3).every((key) => {
43
43
  const value = input3[key];
44
44
  if (void 0 === value)
@@ -50,7 +50,7 @@ var validChatRequest = (input) => {
50
50
  const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
51
51
  const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
52
52
  const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
53
- const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
53
+ const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
54
54
  const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
55
55
  const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
56
56
  const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
@@ -60,29 +60,40 @@ var validChatRequest = (input) => {
60
60
  const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
61
61
  const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
62
62
  const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
63
- const $io32 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
64
- const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
65
- const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
66
- const $io35 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
67
- const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io37(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io42(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
68
- const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
69
- const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
70
- const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
71
- const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
72
- const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
73
- const $io42 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
74
- const $io43 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && "number" === typeof input3.ratio;
75
- const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
76
- const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
77
- const $io46 = (input3) => Object.keys(input3).every((key) => {
63
+ const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
64
+ const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
65
+ const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $io35(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io36(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
66
+ const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
67
+ const $io36 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
68
+ const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
69
+ if (["key", "label"].some((prop) => key === prop))
70
+ return true;
71
+ const value = input3[key];
72
+ if (void 0 === value)
73
+ return true;
74
+ if (RegExp(/(.*)/).test(key))
75
+ return true;
76
+ return true;
77
+ });
78
+ const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
79
+ const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
80
+ const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
81
+ const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
82
+ const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
83
+ const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
84
+ const $io44 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
85
+ const $io45 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
86
+ const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
87
+ const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
88
+ const $io48 = (input3) => Object.keys(input3).every((key) => {
78
89
  const value = input3[key];
79
90
  if (void 0 === value)
80
91
  return true;
81
92
  if (RegExp(/(.*)/).test(key))
82
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io47(value);
93
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
83
94
  return true;
84
95
  });
85
- const $io47 = (input3) => Object.keys(input3).every((key) => {
96
+ const $io49 = (input3) => Object.keys(input3).every((key) => {
86
97
  const value = input3[key];
87
98
  if (void 0 === value)
88
99
  return true;
@@ -90,8 +101,8 @@ var validChatRequest = (input) => {
90
101
  return true;
91
102
  return true;
92
103
  });
93
- const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
94
- const $io49 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
104
+ const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
105
+ const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
95
106
  const $iu0 = (input3) => (() => {
96
107
  if ("tvslst" === input3.type)
97
108
  return $io1(input3);
@@ -111,31 +122,40 @@ var validChatRequest = (input) => {
111
122
  return $io19(input3);
112
123
  if (true === input3.stopunbounded)
113
124
  return $io21(input3);
125
+ if (void 0 !== input3.value)
126
+ return $io32(input3);
114
127
  return $io20(input3);
115
128
  })();
116
129
  const $iu3 = (input3) => (() => {
117
130
  if ("gene" === input3.kind)
118
- return $io39(input3);
131
+ return $io41(input3);
119
132
  if ("coord" === input3.kind)
120
- return $io40(input3);
133
+ return $io42(input3);
121
134
  return false;
122
135
  })();
123
136
  const $iu4 = (input3) => (() => {
137
+ if (true === input3.startunbounded)
138
+ return $io19(input3);
139
+ if (true === input3.stopunbounded)
140
+ return $io21(input3);
141
+ return $io20(input3);
142
+ })();
143
+ const $iu5 = (input3) => (() => {
124
144
  if (void 0 !== input3.ranges)
125
145
  return $io13(input3);
126
146
  if (void 0 !== input3.ratio)
127
- return $io43(input3);
147
+ return $io45(input3);
128
148
  return (() => {
129
149
  if ($io3(input3))
130
150
  return $io3(input3);
131
- if ($io33(input3))
132
- return $io33(input3);
133
- if ($io36(input3))
134
- return $io36(input3);
151
+ if ($io34(input3))
152
+ return $io34(input3);
153
+ if ($io38(input3))
154
+ return $io38(input3);
135
155
  return false;
136
156
  })();
137
157
  })();
138
- const $iu5 = (input3) => (() => {
158
+ const $iu6 = (input3) => (() => {
139
159
  if ("integer" === input3.type || "float" === input3.type)
140
160
  return $io14(input3);
141
161
  if ("metaboliteIntensity" === input3.type)
@@ -160,39 +180,39 @@ var validChatRequest = (input) => {
160
180
  return false;
161
181
  })();
162
182
  })();
163
- const $iu6 = (input3) => (() => {
183
+ const $iu7 = (input3) => (() => {
164
184
  if ("regular-bin" === input3.type)
165
185
  return $io17(input3);
166
186
  if ("custom-bin" === input3.type)
167
187
  return $io22(input3);
168
188
  return false;
169
189
  })();
170
- const $iu7 = (input3) => (() => {
190
+ const $iu8 = (input3) => (() => {
171
191
  if (true === input3.startunbounded)
172
192
  return $io19(input3);
173
193
  if (void 0 !== input3.start)
174
194
  return $io20(input3);
175
195
  return false;
176
196
  })();
177
- const $iu8 = (input3) => (() => {
197
+ const $iu9 = (input3) => (() => {
178
198
  if (void 0 !== input3.stop)
179
199
  return $io20(input3);
180
200
  if (true === input3.stopunbounded)
181
201
  return $io21(input3);
182
202
  return false;
183
203
  })();
184
- const $iu9 = (input3) => (() => {
204
+ const $iu10 = (input3) => (() => {
185
205
  if ("gene" === input3.kind)
186
- return $io38(input3);
206
+ return $io40(input3);
187
207
  if ("coord" === input3.kind)
188
- return $io41(input3);
208
+ return $io43(input3);
189
209
  return false;
190
210
  })();
191
- const $iu10 = (input3) => (() => {
211
+ const $iu11 = (input3) => (() => {
192
212
  if ("numeric" === input3.memberType)
193
- return $io44(input3);
213
+ return $io46(input3);
194
214
  if ("categorical" === input3.memberType)
195
- return $io48(input3);
215
+ return $io50(input3);
196
216
  return false;
197
217
  })();
198
218
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -254,6 +274,10 @@ var validChatRequest = (input) => {
254
274
  path: _path2 + ".lst",
255
275
  expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
256
276
  value: input3.lst
277
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
278
+ path: _path2 + ".$id",
279
+ expected: "(string | undefined)",
280
+ value: input3.$id
257
281
  })].every((flag) => flag);
258
282
  const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
259
283
  path: _path2 + ".type",
@@ -263,7 +287,7 @@ var validChatRequest = (input) => {
263
287
  path: _path2 + ".tvs",
264
288
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
265
289
  value: input3.tvs
266
- })) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
290
+ })) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
267
291
  path: _path2 + ".tvs",
268
292
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
269
293
  value: input3.tvs
@@ -276,6 +300,26 @@ var validChatRequest = (input) => {
276
300
  path: _path2 + ".isnot",
277
301
  expected: "(boolean | undefined)",
278
302
  value: input3.isnot
303
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
304
+ path: _path2 + ".bar_by_grade",
305
+ expected: "(boolean | undefined)",
306
+ value: input3.bar_by_grade
307
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
308
+ path: _path2 + ".bar_by_children",
309
+ expected: "(boolean | undefined)",
310
+ value: input3.bar_by_children
311
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
312
+ path: _path2 + ".value_by_max_grade",
313
+ expected: "(boolean | undefined)",
314
+ value: input3.value_by_max_grade
315
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
316
+ path: _path2 + ".value_by_most_recent",
317
+ expected: "(boolean | undefined)",
318
+ value: input3.value_by_most_recent
319
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
320
+ path: _path2 + ".value_by_computable_grade",
321
+ expected: "(boolean | undefined)",
322
+ value: input3.value_by_computable_grade
279
323
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
280
324
  path: _path2 + ".term",
281
325
  expected: "CategoricalTerm",
@@ -304,6 +348,10 @@ var validChatRequest = (input) => {
304
348
  path: _path2 + ".values",
305
349
  expected: "Array<BaseValue>",
306
350
  value: input3.values
351
+ }), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
352
+ path: _path2 + ".valueset",
353
+ expected: "(Set<any> | undefined)",
354
+ value: input3.valueset
307
355
  })].every((flag) => flag);
308
356
  const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
309
357
  path: _path2 + ".id",
@@ -571,45 +619,65 @@ var validChatRequest = (input) => {
571
619
  path: _path2 + ".isnot",
572
620
  expected: "(boolean | undefined)",
573
621
  value: input3.isnot
622
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
623
+ path: _path2 + ".bar_by_grade",
624
+ expected: "(boolean | undefined)",
625
+ value: input3.bar_by_grade
626
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
627
+ path: _path2 + ".bar_by_children",
628
+ expected: "(boolean | undefined)",
629
+ value: input3.bar_by_children
630
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
631
+ path: _path2 + ".value_by_max_grade",
632
+ expected: "(boolean | undefined)",
633
+ value: input3.value_by_max_grade
634
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
635
+ path: _path2 + ".value_by_most_recent",
636
+ expected: "(boolean | undefined)",
637
+ value: input3.value_by_most_recent
638
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
639
+ path: _path2 + ".value_by_computable_grade",
640
+ expected: "(boolean | undefined)",
641
+ value: input3.value_by_computable_grade
574
642
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
575
643
  path: _path2 + ".term",
576
644
  expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
577
645
  value: input3.term
578
- })) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
646
+ })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
579
647
  path: _path2 + ".term",
580
648
  expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
581
649
  value: input3.term
582
650
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
583
651
  path: _path2 + ".ranges",
584
- expected: "Array<NumericBin>",
652
+ expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
585
653
  value: input3.ranges
586
654
  })) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
587
655
  path: _path2 + ".ranges[" + _index8 + "]",
588
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
656
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
589
657
  value: elem
590
658
  })) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
591
659
  path: _path2 + ".ranges[" + _index8 + "]",
592
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
660
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
593
661
  value: elem
594
662
  })).every((flag) => flag) || $report(_exceptionable2, {
595
663
  path: _path2 + ".ranges",
596
- expected: "Array<NumericBin>",
664
+ expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
597
665
  value: input3.ranges
598
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
666
+ }), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
599
667
  path: _path2 + ".values",
600
- expected: "Array<__type>.o1",
668
+ expected: "(Array<__type>.o1 | undefined)",
601
669
  value: input3.values
602
670
  })) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
603
671
  path: _path2 + ".values[" + _index9 + "]",
604
- expected: "__type.o4",
672
+ expected: "__type.o5",
605
673
  value: elem
606
- })) && $vo32(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
674
+ })) && $vo33(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
607
675
  path: _path2 + ".values[" + _index9 + "]",
608
- expected: "__type.o4",
676
+ expected: "__type.o5",
609
677
  value: elem
610
678
  })).every((flag) => flag) || $report(_exceptionable2, {
611
679
  path: _path2 + ".values",
612
- expected: "Array<__type>.o1",
680
+ expected: "(Array<__type>.o1 | undefined)",
613
681
  value: input3.values
614
682
  })].every((flag) => flag);
615
683
  const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
@@ -710,7 +778,7 @@ var validChatRequest = (input) => {
710
778
  path: _path2 + '["default"]',
711
779
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
712
780
  value: input3["default"]
713
- })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
781
+ })) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
714
782
  path: _path2 + '["default"]',
715
783
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
716
784
  value: input3["default"]
@@ -718,7 +786,7 @@ var validChatRequest = (input) => {
718
786
  path: _path2 + ".less",
719
787
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
720
788
  value: input3.less
721
- })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
789
+ })) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
722
790
  path: _path2 + ".less",
723
791
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
724
792
  value: input3.less
@@ -779,7 +847,7 @@ var validChatRequest = (input) => {
779
847
  path: _path2 + ".first_bin",
780
848
  expected: "(FullyBoundedBin | StartUnboundedBin)",
781
849
  value: input3.first_bin
782
- })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
850
+ })) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
783
851
  path: _path2 + ".first_bin",
784
852
  expected: "(FullyBoundedBin | StartUnboundedBin)",
785
853
  value: input3.first_bin
@@ -787,7 +855,7 @@ var validChatRequest = (input) => {
787
855
  path: _path2 + ".last_bin",
788
856
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
789
857
  value: input3.last_bin
790
- })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
858
+ })) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
791
859
  path: _path2 + ".last_bin",
792
860
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
793
861
  value: input3.last_bin
@@ -952,7 +1020,7 @@ var validChatRequest = (input) => {
952
1020
  path: _path2 + ".lst[0]",
953
1021
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
954
1022
  value: input3.lst[0]
955
- })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1023
+ })) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
956
1024
  path: _path2 + ".lst[0]",
957
1025
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
958
1026
  value: input3.lst[0]
@@ -965,7 +1033,7 @@ var validChatRequest = (input) => {
965
1033
  path: _path2 + ".lst[" + (1 + _index12) + "]",
966
1034
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
967
1035
  value: elem
968
- })) && $vu2(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
1036
+ })) && $vu4(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
969
1037
  path: _path2 + ".lst[" + (1 + _index12) + "]",
970
1038
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
971
1039
  value: elem
@@ -1871,7 +1939,20 @@ var validChatRequest = (input) => {
1871
1939
  expected: "number",
1872
1940
  value: input3.stop
1873
1941
  })].every((flag) => flag);
1874
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1942
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
1943
+ path: _path2 + ".value",
1944
+ expected: "number",
1945
+ value: input3.value
1946
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1947
+ path: _path2 + ".label",
1948
+ expected: "(string | undefined)",
1949
+ value: input3.label
1950
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1951
+ path: _path2 + ".name",
1952
+ expected: "(string | undefined)",
1953
+ value: input3.name
1954
+ })].every((flag) => flag);
1955
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1875
1956
  path: _path2 + ".key",
1876
1957
  expected: "string",
1877
1958
  value: input3.key
@@ -1888,7 +1969,7 @@ var validChatRequest = (input) => {
1888
1969
  expected: "(string | undefined)",
1889
1970
  value: input3.label
1890
1971
  })].every((flag) => flag);
1891
- const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1972
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1892
1973
  path: _path2 + ".join",
1893
1974
  expected: "(string | undefined)",
1894
1975
  value: input3.join
@@ -1896,14 +1977,14 @@ var validChatRequest = (input) => {
1896
1977
  path: _path2 + ".isnot",
1897
1978
  expected: "(boolean | undefined)",
1898
1979
  value: input3.isnot
1899
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1900
- path: _path2 + ".term",
1901
- expected: "ConditionTerm",
1902
- value: input3.term
1903
- })) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1904
- path: _path2 + ".term",
1905
- expected: "ConditionTerm",
1906
- value: input3.term
1980
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
1981
+ path: _path2 + ".bar_by_grade",
1982
+ expected: "(boolean | undefined)",
1983
+ value: input3.bar_by_grade
1984
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
1985
+ path: _path2 + ".bar_by_children",
1986
+ expected: "(boolean | undefined)",
1987
+ value: input3.bar_by_children
1907
1988
  }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1908
1989
  path: _path2 + ".value_by_max_grade",
1909
1990
  expected: "(boolean | undefined)",
@@ -1916,6 +1997,14 @@ var validChatRequest = (input) => {
1916
1997
  path: _path2 + ".value_by_computable_grade",
1917
1998
  expected: "(boolean | undefined)",
1918
1999
  value: input3.value_by_computable_grade
2000
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2001
+ path: _path2 + ".term",
2002
+ expected: "ConditionTerm",
2003
+ value: input3.term
2004
+ })) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2005
+ path: _path2 + ".term",
2006
+ expected: "ConditionTerm",
2007
+ value: input3.term
1919
2008
  }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1920
2009
  path: _path2 + ".grade_and_child",
1921
2010
  expected: "(Array<GradeAndChildEntry> | undefined)",
@@ -1924,7 +2013,7 @@ var validChatRequest = (input) => {
1924
2013
  path: _path2 + ".grade_and_child[" + _index32 + "]",
1925
2014
  expected: "GradeAndChildEntry",
1926
2015
  value: elem
1927
- })) && $vo35(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
2016
+ })) && $vo36(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1928
2017
  path: _path2 + ".grade_and_child[" + _index32 + "]",
1929
2018
  expected: "GradeAndChildEntry",
1930
2019
  value: elem
@@ -1932,8 +2021,24 @@ var validChatRequest = (input) => {
1932
2021
  path: _path2 + ".grade_and_child",
1933
2022
  expected: "(Array<GradeAndChildEntry> | undefined)",
1934
2023
  value: input3.grade_and_child
2024
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2025
+ path: _path2 + ".values",
2026
+ expected: "Array<__type>.o2",
2027
+ value: input3.values
2028
+ })) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2029
+ path: _path2 + ".values[" + _index33 + "]",
2030
+ expected: "__type.o6",
2031
+ value: elem
2032
+ })) && $vo37(elem, _path2 + ".values[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
2033
+ path: _path2 + ".values[" + _index33 + "]",
2034
+ expected: "__type.o6",
2035
+ value: elem
2036
+ })).every((flag) => flag) || $report(_exceptionable2, {
2037
+ path: _path2 + ".values",
2038
+ expected: "Array<__type>.o2",
2039
+ value: input3.values
1935
2040
  })].every((flag) => flag);
1936
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2041
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1937
2042
  path: _path2 + ".id",
1938
2043
  expected: "string",
1939
2044
  value: input3.id
@@ -1949,8 +2054,8 @@ var validChatRequest = (input) => {
1949
2054
  path: _path2 + ".child_types",
1950
2055
  expected: "(Array<string> | undefined)",
1951
2056
  value: input3.child_types
1952
- })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1953
- path: _path2 + ".child_types[" + _index33 + "]",
2057
+ })) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
2058
+ path: _path2 + ".child_types[" + _index34 + "]",
1954
2059
  expected: "string",
1955
2060
  value: elem
1956
2061
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1965,8 +2070,8 @@ var validChatRequest = (input) => {
1965
2070
  path: _path2 + ".included_types",
1966
2071
  expected: "(Array<string> | undefined)",
1967
2072
  value: input3.included_types
1968
- })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1969
- path: _path2 + ".included_types[" + _index34 + "]",
2073
+ })) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
2074
+ path: _path2 + ".included_types[" + _index35 + "]",
1970
2075
  expected: "string",
1971
2076
  value: elem
1972
2077
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1998,7 +2103,7 @@ var validChatRequest = (input) => {
1998
2103
  expected: "(__type.o1 | undefined)",
1999
2104
  value: input3.valueConversion
2000
2105
  })].every((flag) => flag);
2001
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
2106
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
2002
2107
  path: _path2 + ".grade",
2003
2108
  expected: "number",
2004
2109
  value: input3.grade
@@ -2015,7 +2120,25 @@ var validChatRequest = (input) => {
2015
2120
  expected: "string",
2016
2121
  value: input3.child_label
2017
2122
  })].every((flag) => flag);
2018
- const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2123
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
2124
+ path: _path2 + ".key",
2125
+ expected: "(number | string)",
2126
+ value: input3.key
2127
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2128
+ path: _path2 + ".label",
2129
+ expected: "(string | undefined)",
2130
+ value: input3.label
2131
+ }), false === _exceptionable2 || Object.keys(input3).map((key) => {
2132
+ if (["key", "label"].some((prop) => key === prop))
2133
+ return true;
2134
+ const value = input3[key];
2135
+ if (void 0 === value)
2136
+ return true;
2137
+ if (RegExp(/(.*)/).test(key))
2138
+ return true;
2139
+ return true;
2140
+ }).every((flag) => flag)].every((flag) => flag);
2141
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2019
2142
  path: _path2 + ".join",
2020
2143
  expected: "(string | undefined)",
2021
2144
  value: input3.join
@@ -2023,29 +2146,49 @@ var validChatRequest = (input) => {
2023
2146
  path: _path2 + ".isnot",
2024
2147
  expected: "(boolean | undefined)",
2025
2148
  value: input3.isnot
2149
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2150
+ path: _path2 + ".bar_by_grade",
2151
+ expected: "(boolean | undefined)",
2152
+ value: input3.bar_by_grade
2153
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2154
+ path: _path2 + ".bar_by_children",
2155
+ expected: "(boolean | undefined)",
2156
+ value: input3.bar_by_children
2157
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2158
+ path: _path2 + ".value_by_max_grade",
2159
+ expected: "(boolean | undefined)",
2160
+ value: input3.value_by_max_grade
2161
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2162
+ path: _path2 + ".value_by_most_recent",
2163
+ expected: "(boolean | undefined)",
2164
+ value: input3.value_by_most_recent
2165
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2166
+ path: _path2 + ".value_by_computable_grade",
2167
+ expected: "(boolean | undefined)",
2168
+ value: input3.value_by_computable_grade
2026
2169
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2027
2170
  path: _path2 + ".term",
2028
2171
  expected: "DtTerm",
2029
2172
  value: input3.term
2030
- })) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2173
+ })) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2031
2174
  path: _path2 + ".term",
2032
2175
  expected: "DtTerm",
2033
2176
  value: input3.term
2034
2177
  }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2035
2178
  path: _path2 + ".values",
2036
- expected: "Array<__type>.o2",
2179
+ expected: "Array<GeneVariantValue>",
2037
2180
  value: input3.values
2038
- })) && input3.values.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2039
- path: _path2 + ".values[" + _index35 + "]",
2040
- expected: "__type.o5",
2181
+ })) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2182
+ path: _path2 + ".values[" + _index36 + "]",
2183
+ expected: "GeneVariantValue",
2041
2184
  value: elem
2042
- })) && $vo42(elem, _path2 + ".values[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
2043
- path: _path2 + ".values[" + _index35 + "]",
2044
- expected: "__type.o5",
2185
+ })) && $vo44(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
2186
+ path: _path2 + ".values[" + _index36 + "]",
2187
+ expected: "GeneVariantValue",
2045
2188
  value: elem
2046
2189
  })).every((flag) => flag) || $report(_exceptionable2, {
2047
2190
  path: _path2 + ".values",
2048
- expected: "Array<__type>.o2",
2191
+ expected: "Array<GeneVariantValue>",
2049
2192
  value: input3.values
2050
2193
  }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
2051
2194
  path: _path2 + ".includeNotTested",
@@ -2055,8 +2198,40 @@ var validChatRequest = (input) => {
2055
2198
  path: _path2 + ".excludeGeneName",
2056
2199
  expected: "(boolean | undefined)",
2057
2200
  value: input3.excludeGeneName
2201
+ }), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
2202
+ path: _path2 + ".genotype",
2203
+ expected: '("nt" | "variant" | "wt" | undefined)',
2204
+ value: input3.genotype
2205
+ }), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
2206
+ path: _path2 + ".mcount",
2207
+ expected: '("all" | "any" | "multiple" | "single" | undefined)',
2208
+ value: input3.mcount
2209
+ }), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
2210
+ path: _path2 + ".continuousCnv",
2211
+ expected: "(boolean | undefined)",
2212
+ value: input3.continuousCnv
2213
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2214
+ path: _path2 + ".cnvLossCutoff",
2215
+ expected: "(number | undefined)",
2216
+ value: input3.cnvLossCutoff
2217
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2218
+ path: _path2 + ".cnvGainCutoff",
2219
+ expected: "(number | undefined)",
2220
+ value: input3.cnvGainCutoff
2221
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2222
+ path: _path2 + ".cnvMaxLength",
2223
+ expected: "(number | undefined)",
2224
+ value: input3.cnvMaxLength
2225
+ }), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
2226
+ path: _path2 + ".cnvWT",
2227
+ expected: "(boolean | undefined)",
2228
+ value: input3.cnvWT
2229
+ }), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
2230
+ path: _path2 + ".fractionOverlap",
2231
+ expected: "(number | undefined)",
2232
+ value: input3.fractionOverlap
2058
2233
  })].every((flag) => flag);
2059
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2234
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2060
2235
  path: _path2 + ".id",
2061
2236
  expected: "string",
2062
2237
  value: input3.id
@@ -2076,7 +2251,7 @@ var validChatRequest = (input) => {
2076
2251
  path: _path2 + ".parentTerm",
2077
2252
  expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
2078
2253
  value: input3.parentTerm
2079
- })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2254
+ })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2080
2255
  path: _path2 + ".parentTerm",
2081
2256
  expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
2082
2257
  value: input3.parentTerm
@@ -2105,7 +2280,7 @@ var validChatRequest = (input) => {
2105
2280
  expected: "TermValues",
2106
2281
  value: input3.values
2107
2282
  })].every((flag) => flag);
2108
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2283
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2109
2284
  path: _path2 + ".id",
2110
2285
  expected: "string",
2111
2286
  value: input3.id
@@ -2121,8 +2296,8 @@ var validChatRequest = (input) => {
2121
2296
  path: _path2 + ".child_types",
2122
2297
  expected: "(Array<string> | undefined)",
2123
2298
  value: input3.child_types
2124
- })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2125
- path: _path2 + ".child_types[" + _index36 + "]",
2299
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2300
+ path: _path2 + ".child_types[" + _index37 + "]",
2126
2301
  expected: "string",
2127
2302
  value: elem
2128
2303
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2137,8 +2312,8 @@ var validChatRequest = (input) => {
2137
2312
  path: _path2 + ".included_types",
2138
2313
  expected: "(Array<string> | undefined)",
2139
2314
  value: input3.included_types
2140
- })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2141
- path: _path2 + ".included_types[" + _index37 + "]",
2315
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2316
+ path: _path2 + ".included_types[" + _index38 + "]",
2142
2317
  expected: "string",
2143
2318
  value: elem
2144
2319
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2193,12 +2368,12 @@ var validChatRequest = (input) => {
2193
2368
  path: _path2 + ".genes",
2194
2369
  expected: "Array<GvGeneTerm>",
2195
2370
  value: input3.genes
2196
- })) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2197
- path: _path2 + ".genes[" + _index38 + "]",
2371
+ })) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2372
+ path: _path2 + ".genes[" + _index39 + "]",
2198
2373
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2199
2374
  value: elem
2200
- })) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
2201
- path: _path2 + ".genes[" + _index38 + "]",
2375
+ })) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2376
+ path: _path2 + ".genes[" + _index39 + "]",
2202
2377
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2203
2378
  value: elem
2204
2379
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2217,12 +2392,12 @@ var validChatRequest = (input) => {
2217
2392
  path: _path2 + ".childTerms",
2218
2393
  expected: "(Array<DtTerm> | undefined)",
2219
2394
  value: input3.childTerms
2220
- })) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2221
- path: _path2 + ".childTerms[" + _index39 + "]",
2395
+ })) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2396
+ path: _path2 + ".childTerms[" + _index40 + "]",
2222
2397
  expected: "DtTerm",
2223
2398
  value: elem
2224
- })) && $vo37(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2225
- path: _path2 + ".childTerms[" + _index39 + "]",
2399
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2400
+ path: _path2 + ".childTerms[" + _index40 + "]",
2226
2401
  expected: "DtTerm",
2227
2402
  value: elem
2228
2403
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2230,7 +2405,7 @@ var validChatRequest = (input) => {
2230
2405
  expected: "(Array<DtTerm> | undefined)",
2231
2406
  value: input3.childTerms
2232
2407
  })].every((flag) => flag);
2233
- const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2408
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2234
2409
  path: _path2 + ".id",
2235
2410
  expected: "string",
2236
2411
  value: input3.id
@@ -2246,8 +2421,8 @@ var validChatRequest = (input) => {
2246
2421
  path: _path2 + ".child_types",
2247
2422
  expected: "(Array<string> | undefined)",
2248
2423
  value: input3.child_types
2249
- })) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2250
- path: _path2 + ".child_types[" + _index40 + "]",
2424
+ })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2425
+ path: _path2 + ".child_types[" + _index41 + "]",
2251
2426
  expected: "string",
2252
2427
  value: elem
2253
2428
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2262,8 +2437,8 @@ var validChatRequest = (input) => {
2262
2437
  path: _path2 + ".included_types",
2263
2438
  expected: "(Array<string> | undefined)",
2264
2439
  value: input3.included_types
2265
- })) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2266
- path: _path2 + ".included_types[" + _index41 + "]",
2440
+ })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2441
+ path: _path2 + ".included_types[" + _index42 + "]",
2267
2442
  expected: "string",
2268
2443
  value: elem
2269
2444
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2315,7 +2490,7 @@ var validChatRequest = (input) => {
2315
2490
  expected: "(number | undefined)",
2316
2491
  value: input3.stop
2317
2492
  })].every((flag) => flag);
2318
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2493
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2319
2494
  path: _path2 + ".id",
2320
2495
  expected: "string",
2321
2496
  value: input3.id
@@ -2331,8 +2506,8 @@ var validChatRequest = (input) => {
2331
2506
  path: _path2 + ".child_types",
2332
2507
  expected: "(Array<string> | undefined)",
2333
2508
  value: input3.child_types
2334
- })) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2335
- path: _path2 + ".child_types[" + _index42 + "]",
2509
+ })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2510
+ path: _path2 + ".child_types[" + _index43 + "]",
2336
2511
  expected: "string",
2337
2512
  value: elem
2338
2513
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2347,8 +2522,8 @@ var validChatRequest = (input) => {
2347
2522
  path: _path2 + ".included_types",
2348
2523
  expected: "(Array<string> | undefined)",
2349
2524
  value: input3.included_types
2350
- })) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2351
- path: _path2 + ".included_types[" + _index43 + "]",
2525
+ })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2526
+ path: _path2 + ".included_types[" + _index44 + "]",
2352
2527
  expected: "string",
2353
2528
  value: elem
2354
2529
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2396,7 +2571,7 @@ var validChatRequest = (input) => {
2396
2571
  expected: "number",
2397
2572
  value: input3.stop
2398
2573
  })].every((flag) => flag);
2399
- const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2574
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2400
2575
  path: _path2 + ".id",
2401
2576
  expected: "string",
2402
2577
  value: input3.id
@@ -2412,8 +2587,8 @@ var validChatRequest = (input) => {
2412
2587
  path: _path2 + ".child_types",
2413
2588
  expected: "(Array<string> | undefined)",
2414
2589
  value: input3.child_types
2415
- })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2416
- path: _path2 + ".child_types[" + _index44 + "]",
2590
+ })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2591
+ path: _path2 + ".child_types[" + _index45 + "]",
2417
2592
  expected: "string",
2418
2593
  value: elem
2419
2594
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2428,8 +2603,8 @@ var validChatRequest = (input) => {
2428
2603
  path: _path2 + ".included_types",
2429
2604
  expected: "(Array<string> | undefined)",
2430
2605
  value: input3.included_types
2431
- })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2432
- path: _path2 + ".included_types[" + _index45 + "]",
2606
+ })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2607
+ path: _path2 + ".included_types[" + _index46 + "]",
2433
2608
  expected: "string",
2434
2609
  value: elem
2435
2610
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2480,12 +2655,12 @@ var validChatRequest = (input) => {
2480
2655
  path: _path2 + ".genes",
2481
2656
  expected: "Array<GvGeneTerm>",
2482
2657
  value: input3.genes
2483
- })) && input3.genes.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2484
- path: _path2 + ".genes[" + _index46 + "]",
2658
+ })) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2659
+ path: _path2 + ".genes[" + _index47 + "]",
2485
2660
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2486
2661
  value: elem
2487
- })) && $vu3(elem, _path2 + ".genes[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
2488
- path: _path2 + ".genes[" + _index46 + "]",
2662
+ })) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
2663
+ path: _path2 + ".genes[" + _index47 + "]",
2489
2664
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2490
2665
  value: elem
2491
2666
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2504,12 +2679,12 @@ var validChatRequest = (input) => {
2504
2679
  path: _path2 + ".childTerms",
2505
2680
  expected: "(Array<DtTerm> | undefined)",
2506
2681
  value: input3.childTerms
2507
- })) && input3.childTerms.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2508
- path: _path2 + ".childTerms[" + _index47 + "]",
2682
+ })) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2683
+ path: _path2 + ".childTerms[" + _index48 + "]",
2509
2684
  expected: "DtTerm",
2510
2685
  value: elem
2511
- })) && $vo37(elem, _path2 + ".childTerms[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
2512
- path: _path2 + ".childTerms[" + _index47 + "]",
2686
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
2687
+ path: _path2 + ".childTerms[" + _index48 + "]",
2513
2688
  expected: "DtTerm",
2514
2689
  value: elem
2515
2690
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2517,20 +2692,52 @@ var validChatRequest = (input) => {
2517
2692
  expected: "(Array<DtTerm> | undefined)",
2518
2693
  value: input3.childTerms
2519
2694
  })].every((flag) => flag);
2520
- const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2695
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2521
2696
  path: _path2 + ".key",
2522
- expected: "string",
2697
+ expected: "(string | undefined)",
2523
2698
  value: input3.key
2524
- }), "string" === typeof input3.label || $report(_exceptionable2, {
2699
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2525
2700
  path: _path2 + ".label",
2526
- expected: "string",
2701
+ expected: "(number | string | undefined)",
2527
2702
  value: input3.label
2528
- }), "string" === typeof input3.value || $report(_exceptionable2, {
2703
+ }), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2529
2704
  path: _path2 + ".value",
2530
- expected: "string",
2705
+ expected: "(string | undefined)",
2531
2706
  value: input3.value
2707
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2708
+ path: _path2 + ".dt",
2709
+ expected: "(number | undefined)",
2710
+ value: input3.dt
2711
+ }), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
2712
+ path: _path2 + ".mclasslst",
2713
+ expected: "(Array<string> | undefined)",
2714
+ value: input3.mclasslst
2715
+ })) && input3.mclasslst.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2716
+ path: _path2 + ".mclasslst[" + _index49 + "]",
2717
+ expected: "string",
2718
+ value: elem
2719
+ })).every((flag) => flag) || $report(_exceptionable2, {
2720
+ path: _path2 + ".mclasslst",
2721
+ expected: "(Array<string> | undefined)",
2722
+ value: input3.mclasslst
2723
+ }), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
2724
+ path: _path2 + ".mclassExcludeLst",
2725
+ expected: "(Array<string> | undefined)",
2726
+ value: input3.mclassExcludeLst
2727
+ })) && input3.mclassExcludeLst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2728
+ path: _path2 + ".mclassExcludeLst[" + _index50 + "]",
2729
+ expected: "string",
2730
+ value: elem
2731
+ })).every((flag) => flag) || $report(_exceptionable2, {
2732
+ path: _path2 + ".mclassExcludeLst",
2733
+ expected: "(Array<string> | undefined)",
2734
+ value: input3.mclassExcludeLst
2735
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2736
+ path: _path2 + ".origin",
2737
+ expected: "(string | undefined)",
2738
+ value: input3.origin
2532
2739
  })].every((flag) => flag);
2533
- const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2740
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2534
2741
  path: _path2 + ".join",
2535
2742
  expected: "(string | undefined)",
2536
2743
  value: input3.join
@@ -2538,11 +2745,31 @@ var validChatRequest = (input) => {
2538
2745
  path: _path2 + ".isnot",
2539
2746
  expected: "(boolean | undefined)",
2540
2747
  value: input3.isnot
2748
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2749
+ path: _path2 + ".bar_by_grade",
2750
+ expected: "(boolean | undefined)",
2751
+ value: input3.bar_by_grade
2752
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2753
+ path: _path2 + ".bar_by_children",
2754
+ expected: "(boolean | undefined)",
2755
+ value: input3.bar_by_children
2756
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2757
+ path: _path2 + ".value_by_max_grade",
2758
+ expected: "(boolean | undefined)",
2759
+ value: input3.value_by_max_grade
2760
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2761
+ path: _path2 + ".value_by_most_recent",
2762
+ expected: "(boolean | undefined)",
2763
+ value: input3.value_by_most_recent
2764
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2765
+ path: _path2 + ".value_by_computable_grade",
2766
+ expected: "(boolean | undefined)",
2767
+ value: input3.value_by_computable_grade
2541
2768
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2542
2769
  path: _path2 + ".term",
2543
2770
  expected: "(CategoricalTermCollection | NumericTermCollection)",
2544
2771
  value: input3.term
2545
- })) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2772
+ })) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2546
2773
  path: _path2 + ".term",
2547
2774
  expected: "(CategoricalTermCollection | NumericTermCollection)",
2548
2775
  value: input3.term
@@ -2551,7 +2778,7 @@ var validChatRequest = (input) => {
2551
2778
  expected: "number",
2552
2779
  value: input3.ratio
2553
2780
  })].every((flag) => flag);
2554
- const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2781
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2555
2782
  path: _path2 + ".id",
2556
2783
  expected: "string",
2557
2784
  value: input3.id
@@ -2567,8 +2794,8 @@ var validChatRequest = (input) => {
2567
2794
  path: _path2 + ".child_types",
2568
2795
  expected: "(Array<string> | undefined)",
2569
2796
  value: input3.child_types
2570
- })) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
2571
- path: _path2 + ".child_types[" + _index48 + "]",
2797
+ })) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
2798
+ path: _path2 + ".child_types[" + _index51 + "]",
2572
2799
  expected: "string",
2573
2800
  value: elem
2574
2801
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2583,8 +2810,8 @@ var validChatRequest = (input) => {
2583
2810
  path: _path2 + ".included_types",
2584
2811
  expected: "(Array<string> | undefined)",
2585
2812
  value: input3.included_types
2586
- })) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2587
- path: _path2 + ".included_types[" + _index49 + "]",
2813
+ })) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
2814
+ path: _path2 + ".included_types[" + _index52 + "]",
2588
2815
  expected: "string",
2589
2816
  value: elem
2590
2817
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2615,16 +2842,12 @@ var validChatRequest = (input) => {
2615
2842
  path: _path2 + ".valueConversion",
2616
2843
  expected: "(__type.o1 | undefined)",
2617
2844
  value: input3.valueConversion
2618
- }), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
2619
- path: _path2 + ".collectionId",
2620
- expected: "(string | undefined)",
2621
- value: input3.collectionId
2622
2845
  }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2623
2846
  path: _path2 + ".termIds",
2624
2847
  expected: "(Array<string> | undefined)",
2625
2848
  value: input3.termIds
2626
- })) && input3.termIds.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2627
- path: _path2 + ".termIds[" + _index50 + "]",
2849
+ })) && input3.termIds.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2850
+ path: _path2 + ".termIds[" + _index53 + "]",
2628
2851
  expected: "string",
2629
2852
  value: elem
2630
2853
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2635,12 +2858,12 @@ var validChatRequest = (input) => {
2635
2858
  path: _path2 + ".termlst",
2636
2859
  expected: "Array<BaseTerm>",
2637
2860
  value: input3.termlst
2638
- })) && input3.termlst.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2639
- path: _path2 + ".termlst[" + _index51 + "]",
2861
+ })) && input3.termlst.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2862
+ path: _path2 + ".termlst[" + _index54 + "]",
2640
2863
  expected: "BaseTerm",
2641
2864
  value: elem
2642
- })) && $vo45(elem, _path2 + ".termlst[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
2643
- path: _path2 + ".termlst[" + _index51 + "]",
2865
+ })) && $vo47(elem, _path2 + ".termlst[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
2866
+ path: _path2 + ".termlst[" + _index54 + "]",
2644
2867
  expected: "BaseTerm",
2645
2868
  value: elem
2646
2869
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2653,11 +2876,11 @@ var validChatRequest = (input) => {
2653
2876
  value: input3.newTvs
2654
2877
  }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
2655
2878
  path: _path2 + ".propsByTermId",
2656
- expected: "__type.o6",
2879
+ expected: "__type.o7",
2657
2880
  value: input3.propsByTermId
2658
- })) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2881
+ })) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2659
2882
  path: _path2 + ".propsByTermId",
2660
- expected: "__type.o6",
2883
+ expected: "__type.o7",
2661
2884
  value: input3.propsByTermId
2662
2885
  }), "numeric" === input3.memberType || $report(_exceptionable2, {
2663
2886
  path: _path2 + ".memberType",
@@ -2667,8 +2890,8 @@ var validChatRequest = (input) => {
2667
2890
  path: _path2 + ".numerators",
2668
2891
  expected: "(Array<string> | undefined)",
2669
2892
  value: input3.numerators
2670
- })) && input3.numerators.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
2671
- path: _path2 + ".numerators[" + _index52 + "]",
2893
+ })) && input3.numerators.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
2894
+ path: _path2 + ".numerators[" + _index55 + "]",
2672
2895
  expected: "string",
2673
2896
  value: elem
2674
2897
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2676,7 +2899,7 @@ var validChatRequest = (input) => {
2676
2899
  expected: "(Array<string> | undefined)",
2677
2900
  value: input3.numerators
2678
2901
  })].every((flag) => flag);
2679
- const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2902
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2680
2903
  path: _path2 + ".id",
2681
2904
  expected: "string",
2682
2905
  value: input3.id
@@ -2692,8 +2915,8 @@ var validChatRequest = (input) => {
2692
2915
  path: _path2 + ".child_types",
2693
2916
  expected: "(Array<string> | undefined)",
2694
2917
  value: input3.child_types
2695
- })) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2696
- path: _path2 + ".child_types[" + _index53 + "]",
2918
+ })) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
2919
+ path: _path2 + ".child_types[" + _index56 + "]",
2697
2920
  expected: "string",
2698
2921
  value: elem
2699
2922
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2708,8 +2931,8 @@ var validChatRequest = (input) => {
2708
2931
  path: _path2 + ".included_types",
2709
2932
  expected: "(Array<string> | undefined)",
2710
2933
  value: input3.included_types
2711
- })) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2712
- path: _path2 + ".included_types[" + _index54 + "]",
2934
+ })) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
2935
+ path: _path2 + ".included_types[" + _index57 + "]",
2713
2936
  expected: "string",
2714
2937
  value: elem
2715
2938
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2741,23 +2964,23 @@ var validChatRequest = (input) => {
2741
2964
  expected: "(__type.o1 | undefined)",
2742
2965
  value: input3.valueConversion
2743
2966
  })].every((flag) => flag);
2744
- const $vo46 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2967
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2745
2968
  const value = input3[key];
2746
2969
  if (void 0 === value)
2747
2970
  return true;
2748
2971
  if (RegExp(/(.*)/).test(key))
2749
2972
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
2750
2973
  path: _path2 + $join(key),
2751
- expected: "__type.o7",
2974
+ expected: "__type.o8",
2752
2975
  value
2753
- })) && $vo47(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2976
+ })) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2754
2977
  path: _path2 + $join(key),
2755
- expected: "__type.o7",
2978
+ expected: "__type.o8",
2756
2979
  value
2757
2980
  });
2758
2981
  return true;
2759
2982
  }).every((flag) => flag)].every((flag) => flag);
2760
- const $vo47 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2983
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2761
2984
  const value = input3[key];
2762
2985
  if (void 0 === value)
2763
2986
  return true;
@@ -2765,7 +2988,7 @@ var validChatRequest = (input) => {
2765
2988
  return true;
2766
2989
  return true;
2767
2990
  }).every((flag) => flag)].every((flag) => flag);
2768
- const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2991
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2769
2992
  path: _path2 + ".id",
2770
2993
  expected: "string",
2771
2994
  value: input3.id
@@ -2781,8 +3004,8 @@ var validChatRequest = (input) => {
2781
3004
  path: _path2 + ".child_types",
2782
3005
  expected: "(Array<string> | undefined)",
2783
3006
  value: input3.child_types
2784
- })) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
2785
- path: _path2 + ".child_types[" + _index55 + "]",
3007
+ })) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
3008
+ path: _path2 + ".child_types[" + _index58 + "]",
2786
3009
  expected: "string",
2787
3010
  value: elem
2788
3011
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2797,8 +3020,8 @@ var validChatRequest = (input) => {
2797
3020
  path: _path2 + ".included_types",
2798
3021
  expected: "(Array<string> | undefined)",
2799
3022
  value: input3.included_types
2800
- })) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
2801
- path: _path2 + ".included_types[" + _index56 + "]",
3023
+ })) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
3024
+ path: _path2 + ".included_types[" + _index59 + "]",
2802
3025
  expected: "string",
2803
3026
  value: elem
2804
3027
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2829,16 +3052,12 @@ var validChatRequest = (input) => {
2829
3052
  path: _path2 + ".valueConversion",
2830
3053
  expected: "(__type.o1 | undefined)",
2831
3054
  value: input3.valueConversion
2832
- }), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
2833
- path: _path2 + ".collectionId",
2834
- expected: "(string | undefined)",
2835
- value: input3.collectionId
2836
3055
  }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2837
3056
  path: _path2 + ".termIds",
2838
3057
  expected: "(Array<string> | undefined)",
2839
3058
  value: input3.termIds
2840
- })) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
2841
- path: _path2 + ".termIds[" + _index57 + "]",
3059
+ })) && input3.termIds.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
3060
+ path: _path2 + ".termIds[" + _index60 + "]",
2842
3061
  expected: "string",
2843
3062
  value: elem
2844
3063
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2849,12 +3068,12 @@ var validChatRequest = (input) => {
2849
3068
  path: _path2 + ".termlst",
2850
3069
  expected: "Array<BaseTerm>",
2851
3070
  value: input3.termlst
2852
- })) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2853
- path: _path2 + ".termlst[" + _index58 + "]",
3071
+ })) && input3.termlst.map((elem, _index61) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3072
+ path: _path2 + ".termlst[" + _index61 + "]",
2854
3073
  expected: "BaseTerm",
2855
3074
  value: elem
2856
- })) && $vo45(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
2857
- path: _path2 + ".termlst[" + _index58 + "]",
3075
+ })) && $vo47(elem, _path2 + ".termlst[" + _index61 + "]", _exceptionable2) || $report(_exceptionable2, {
3076
+ path: _path2 + ".termlst[" + _index61 + "]",
2858
3077
  expected: "BaseTerm",
2859
3078
  value: elem
2860
3079
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2867,11 +3086,11 @@ var validChatRequest = (input) => {
2867
3086
  value: input3.newTvs
2868
3087
  }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
2869
3088
  path: _path2 + ".propsByTermId",
2870
- expected: "__type.o6",
3089
+ expected: "__type.o7",
2871
3090
  value: input3.propsByTermId
2872
- })) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
3091
+ })) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2873
3092
  path: _path2 + ".propsByTermId",
2874
- expected: "__type.o6",
3093
+ expected: "__type.o7",
2875
3094
  value: input3.propsByTermId
2876
3095
  }), "categorical" === input3.memberType || $report(_exceptionable2, {
2877
3096
  path: _path2 + ".memberType",
@@ -2881,12 +3100,12 @@ var validChatRequest = (input) => {
2881
3100
  path: _path2 + ".categoryKeys",
2882
3101
  expected: "Array<CategoryKey>",
2883
3102
  value: input3.categoryKeys
2884
- })) && input3.categoryKeys.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2885
- path: _path2 + ".categoryKeys[" + _index59 + "]",
3103
+ })) && input3.categoryKeys.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3104
+ path: _path2 + ".categoryKeys[" + _index62 + "]",
2886
3105
  expected: "CategoryKey",
2887
3106
  value: elem
2888
- })) && $vo49(elem, _path2 + ".categoryKeys[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
2889
- path: _path2 + ".categoryKeys[" + _index59 + "]",
3107
+ })) && $vo51(elem, _path2 + ".categoryKeys[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
3108
+ path: _path2 + ".categoryKeys[" + _index62 + "]",
2890
3109
  expected: "CategoryKey",
2891
3110
  value: elem
2892
3111
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2894,7 +3113,7 @@ var validChatRequest = (input) => {
2894
3113
  expected: "Array<CategoryKey>",
2895
3114
  value: input3.categoryKeys
2896
3115
  })].every((flag) => flag);
2897
- const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
3116
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2898
3117
  path: _path2 + ".key",
2899
3118
  expected: "string",
2900
3119
  value: input3.key
@@ -2930,13 +3149,15 @@ var validChatRequest = (input) => {
2930
3149
  return $vo19(input3, _path2, _exceptionable2);
2931
3150
  if (true === input3.stopunbounded)
2932
3151
  return $vo21(input3, _path2, _exceptionable2);
3152
+ if (void 0 !== input3.value)
3153
+ return $vo32(input3, _path2, _exceptionable2);
2933
3154
  return $vo20(input3, _path2, _exceptionable2);
2934
3155
  })();
2935
3156
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
2936
3157
  if ("gene" === input3.kind)
2937
- return $vo39(input3, _path2, _exceptionable2);
3158
+ return $vo41(input3, _path2, _exceptionable2);
2938
3159
  if ("coord" === input3.kind)
2939
- return $vo40(input3, _path2, _exceptionable2);
3160
+ return $vo42(input3, _path2, _exceptionable2);
2940
3161
  return $report(_exceptionable2, {
2941
3162
  path: _path2,
2942
3163
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -2944,13 +3165,20 @@ var validChatRequest = (input) => {
2944
3165
  });
2945
3166
  })();
2946
3167
  const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3168
+ if (true === input3.startunbounded)
3169
+ return $vo19(input3, _path2, _exceptionable2);
3170
+ if (true === input3.stopunbounded)
3171
+ return $vo21(input3, _path2, _exceptionable2);
3172
+ return $vo20(input3, _path2, _exceptionable2);
3173
+ })();
3174
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
2947
3175
  if (void 0 !== input3.ranges)
2948
3176
  return $vo13(input3, _path2, _exceptionable2);
2949
3177
  if (void 0 !== input3.ratio)
2950
- return $vo43(input3, _path2, _exceptionable2);
2951
- return $vo3(input3, _path2, false) || $vo33(input3, _path2, false) || $vo36(input3, _path2, false);
3178
+ return $vo45(input3, _path2, _exceptionable2);
3179
+ return $vo3(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
2952
3180
  })();
2953
- const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3181
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
2954
3182
  if ("integer" === input3.type || "float" === input3.type)
2955
3183
  return $vo14(input3, _path2, _exceptionable2);
2956
3184
  if ("metaboliteIntensity" === input3.type)
@@ -2965,7 +3193,7 @@ var validChatRequest = (input) => {
2965
3193
  return $vo29(input3, _path2, _exceptionable2);
2966
3194
  return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
2967
3195
  })();
2968
- const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3196
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
2969
3197
  if ("regular-bin" === input3.type)
2970
3198
  return $vo17(input3, _path2, _exceptionable2);
2971
3199
  if ("custom-bin" === input3.type)
@@ -2976,7 +3204,7 @@ var validChatRequest = (input) => {
2976
3204
  value: input3
2977
3205
  });
2978
3206
  })();
2979
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3207
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
2980
3208
  if (true === input3.startunbounded)
2981
3209
  return $vo19(input3, _path2, _exceptionable2);
2982
3210
  if (void 0 !== input3.start)
@@ -2987,7 +3215,7 @@ var validChatRequest = (input) => {
2987
3215
  value: input3
2988
3216
  });
2989
3217
  })();
2990
- const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3218
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
2991
3219
  if (void 0 !== input3.stop)
2992
3220
  return $vo20(input3, _path2, _exceptionable2);
2993
3221
  if (true === input3.stopunbounded)
@@ -2998,22 +3226,22 @@ var validChatRequest = (input) => {
2998
3226
  value: input3
2999
3227
  });
3000
3228
  })();
3001
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3229
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3002
3230
  if ("gene" === input3.kind)
3003
- return $vo38(input3, _path2, _exceptionable2);
3231
+ return $vo40(input3, _path2, _exceptionable2);
3004
3232
  if ("coord" === input3.kind)
3005
- return $vo41(input3, _path2, _exceptionable2);
3233
+ return $vo43(input3, _path2, _exceptionable2);
3006
3234
  return $report(_exceptionable2, {
3007
3235
  path: _path2,
3008
3236
  expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
3009
3237
  value: input3
3010
3238
  });
3011
3239
  })();
3012
- const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3240
+ const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3013
3241
  if ("numeric" === input3.memberType)
3014
- return $vo44(input3, _path2, _exceptionable2);
3242
+ return $vo46(input3, _path2, _exceptionable2);
3015
3243
  if ("categorical" === input3.memberType)
3016
- return $vo48(input3, _path2, _exceptionable2);
3244
+ return $vo50(input3, _path2, _exceptionable2);
3017
3245
  return $report(_exceptionable2, {
3018
3246
  path: _path2,
3019
3247
  expected: "(NumericTermCollection | CategoricalTermCollection)",