@sjcrh/proteinpaint-types 2.177.0 → 2.178.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 (54) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-LHJGTOZJ.js → chunk-26UKKPK2.js} +1301 -594
  3. package/dist/{chunk-4SOVPEYQ.js → chunk-2XQJCZEO.js} +842 -243
  4. package/dist/{chunk-UQEAM7BH.js → chunk-2Y7WE3JU.js} +1301 -594
  5. package/dist/chunk-4DCPDZW4.js +143 -0
  6. package/dist/{chunk-5KF6Z3GL.js → chunk-CX2Y673E.js} +923 -329
  7. package/dist/chunk-CYQDO4FX.js +3191 -0
  8. package/dist/{chunk-W7UCAYSF.js → chunk-FQYNRDHB.js} +923 -329
  9. package/dist/chunk-FRXRNCDV.js +14 -0
  10. package/dist/{chunk-F4YCPOQV.js → chunk-GAYJUXNZ.js} +947 -353
  11. package/dist/{chunk-7WEVNKAM.js → chunk-HZEV7D5E.js} +1301 -594
  12. package/dist/{chunk-4ZMQ5CTL.js → chunk-NIEACU6R.js} +7 -31
  13. package/dist/{chunk-Q6MWNJ2V.js → chunk-NRV6MPRM.js} +3421 -1378
  14. package/dist/{chunk-44LN7YTE.js → chunk-PHRILOVX.js} +923 -329
  15. package/dist/{chunk-URHI6FFP.js → chunk-UFYKXOY2.js} +2233 -690
  16. package/dist/{chunk-63OD34W2.js → chunk-UWAVSKMD.js} +1301 -594
  17. package/dist/chunk-VBNF7BRI.js +3492 -0
  18. package/dist/{chunk-2DJFVQUQ.js → chunk-WXCXZRKP.js} +1305 -598
  19. package/dist/{chunk-7NKZVHIZ.js → chunk-YHKFJCXG.js} +1445 -496
  20. package/dist/correlationVolcano.js +1 -1
  21. package/dist/grin2.js +1 -1
  22. package/dist/index.js +79 -61
  23. package/dist/termdb.boxplot.js +1 -1
  24. package/dist/termdb.categories.js +1 -1
  25. package/dist/termdb.chat.js +3122 -5
  26. package/dist/termdb.chat2.js +13 -0
  27. package/dist/termdb.cluster.js +1 -1
  28. package/dist/termdb.descrstats.js +1 -1
  29. package/dist/termdb.diffMeth.js +11 -0
  30. package/dist/termdb.dmr.js +11 -0
  31. package/dist/termdb.numericcategories.js +1 -1
  32. package/dist/termdb.percentile.js +1 -1
  33. package/dist/termdb.singlecellData.js +1 -1
  34. package/dist/termdb.termsbyids.js +1 -1
  35. package/dist/termdb.topTermsByType.js +1 -1
  36. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  37. package/dist/termdb.violin.js +1 -1
  38. package/package.json +1 -1
  39. package/src/dataset.ts +55 -8
  40. package/src/index.ts +5 -1
  41. package/src/routes/grin2.ts +5 -11
  42. package/src/routes/{termdb.chat.ts → termdb.chat2.ts} +42 -15
  43. package/src/routes/termdb.cluster.ts +11 -0
  44. package/src/routes/termdb.diffMeth.ts +49 -0
  45. package/src/routes/termdb.dmr.ts +47 -0
  46. package/src/routes/termdb.singlecellData.ts +3 -1
  47. package/src/terms/dnaMethylation.ts +19 -0
  48. package/src/terms/numeric.ts +13 -2
  49. package/src/terms/singleCellCellType.ts +1 -1
  50. package/src/terms/singleCellGeneExpression.ts +25 -19
  51. package/src/terms/term.ts +1 -1
  52. package/src/terms/termCollection.ts +93 -21
  53. package/src/terms/wholeProteomeAbundance.ts +30 -0
  54. package/dist/chunk-WWE2SDCU.js +0 -494
@@ -3,21 +3,8 @@ import {
3
3
  require_lib
4
4
  } from "./chunk-YNHC5SXO.js";
5
5
 
6
- // dist/termdb.chat.ts
6
+ // dist/termdb.chat2.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.chat.ts
10
- var ChatPayload = {
11
- request: {
12
- typeId: "ChatRequest"
13
- },
14
- response: {
15
- typeId: "ChatResponse"
16
- }
17
- //examples: []
18
- };
19
-
20
- // dist/termdb.chat.ts
21
8
  var validChatRequest = (input) => {
22
9
  const errors = [];
23
10
  const __is = (input2) => {
@@ -44,7 +31,7 @@ var validChatRequest = (input) => {
44
31
  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);
45
32
  const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
46
33
  const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
47
- 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 && $io28(elem)));
34
+ 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)));
48
35
  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));
49
36
  const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
50
37
  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);
@@ -64,31 +51,35 @@ var validChatRequest = (input) => {
64
51
  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);
65
52
  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;
66
53
  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));
67
- const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === 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));
68
- const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
69
- const $io28 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
70
- const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(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 && $io31(elem)));
71
- const $io30 = (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));
72
- const $io31 = (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;
73
- const $io32 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io33(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
74
- const $io33 = (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));
75
- const $io34 = (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 && $io33(elem)));
76
- const $io35 = (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);
77
- const $io36 = (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;
78
- const $io37 = (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 && $io33(elem)));
79
- const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
80
- const $io39 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io40(input3.term)) && "number" === typeof input3.ratio;
81
- const $io40 = (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) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io42(input3.propsByTermId));
82
- 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));
83
- const $io42 = (input3) => Object.keys(input3).every((key) => {
54
+ const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === 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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
55
+ const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === 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));
56
+ const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
57
+ 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));
58
+ 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);
59
+ 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;
60
+ const $io32 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
61
+ 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)));
62
+ 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));
63
+ 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;
64
+ 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);
65
+ 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));
66
+ 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)));
67
+ 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);
68
+ 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;
69
+ 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)));
70
+ const $io42 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
71
+ 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;
72
+ 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));
73
+ 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));
74
+ const $io46 = (input3) => Object.keys(input3).every((key) => {
84
75
  const value = input3[key];
85
76
  if (void 0 === value)
86
77
  return true;
87
78
  if (RegExp(/(.*)/).test(key))
88
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io43(value);
79
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io47(value);
89
80
  return true;
90
81
  });
91
- const $io43 = (input3) => Object.keys(input3).every((key) => {
82
+ const $io47 = (input3) => Object.keys(input3).every((key) => {
92
83
  const value = input3[key];
93
84
  if (void 0 === value)
94
85
  return true;
@@ -96,6 +87,8 @@ var validChatRequest = (input) => {
96
87
  return true;
97
88
  return true;
98
89
  });
90
+ 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)));
91
+ const $io49 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
99
92
  const $iu0 = (input3) => (() => {
100
93
  if ("tvslst" === input3.type)
101
94
  return $io1(input3);
@@ -119,23 +112,23 @@ var validChatRequest = (input) => {
119
112
  })();
120
113
  const $iu3 = (input3) => (() => {
121
114
  if ("gene" === input3.kind)
122
- return $io35(input3);
115
+ return $io39(input3);
123
116
  if ("coord" === input3.kind)
124
- return $io36(input3);
117
+ return $io40(input3);
125
118
  return false;
126
119
  })();
127
120
  const $iu4 = (input3) => (() => {
128
121
  if (void 0 !== input3.ranges)
129
122
  return $io13(input3);
130
123
  if (void 0 !== input3.ratio)
131
- return $io39(input3);
124
+ return $io43(input3);
132
125
  return (() => {
133
126
  if ($io3(input3))
134
127
  return $io3(input3);
135
- if ($io29(input3))
136
- return $io29(input3);
137
- if ($io32(input3))
138
- return $io32(input3);
128
+ if ($io33(input3))
129
+ return $io33(input3);
130
+ if ($io36(input3))
131
+ return $io36(input3);
139
132
  return false;
140
133
  })();
141
134
  })();
@@ -144,15 +137,23 @@ var validChatRequest = (input) => {
144
137
  return $io14(input3);
145
138
  if ("metaboliteIntensity" === input3.type)
146
139
  return $io25(input3);
147
- if ("date" === input3.type)
140
+ if ("wholeProteomeAbundance" === input3.type)
148
141
  return $io26(input3);
149
- if ("ssGSEA" === input3.type)
142
+ if ("date" === input3.type)
150
143
  return $io27(input3);
144
+ if ("ssGSEA" === input3.type)
145
+ return $io28(input3);
146
+ if ("dnaMethylation" === input3.type)
147
+ return $io29(input3);
151
148
  return (() => {
152
149
  if ($io24(input3))
153
150
  return $io24(input3);
154
151
  if ($io23(input3))
155
152
  return $io23(input3);
153
+ if ($io31(input3))
154
+ return $io31(input3);
155
+ if ($io30(input3))
156
+ return $io30(input3);
156
157
  return false;
157
158
  })();
158
159
  })();
@@ -179,9 +180,16 @@ var validChatRequest = (input) => {
179
180
  })();
180
181
  const $iu9 = (input3) => (() => {
181
182
  if ("gene" === input3.kind)
182
- return $io34(input3);
183
+ return $io38(input3);
183
184
  if ("coord" === input3.kind)
184
- return $io37(input3);
185
+ return $io41(input3);
186
+ return false;
187
+ })();
188
+ const $iu10 = (input3) => (() => {
189
+ if ("numeric" === input3.memberType)
190
+ return $io44(input3);
191
+ if ("categorical" === input3.memberType)
192
+ return $io48(input3);
185
193
  return false;
186
194
  })();
187
195
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -562,11 +570,11 @@ var validChatRequest = (input) => {
562
570
  value: input3.isnot
563
571
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
564
572
  path: _path2 + ".term",
565
- 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 | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
573
+ 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)',
566
574
  value: input3.term
567
575
  })) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
568
576
  path: _path2 + ".term",
569
- 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 | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
577
+ 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)',
570
578
  value: input3.term
571
579
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
572
580
  path: _path2 + ".ranges",
@@ -592,7 +600,7 @@ var validChatRequest = (input) => {
592
600
  path: _path2 + ".values[" + _index9 + "]",
593
601
  expected: "__type.o4",
594
602
  value: elem
595
- })) && $vo28(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
603
+ })) && $vo32(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
596
604
  path: _path2 + ".values[" + _index9 + "]",
597
605
  expected: "__type.o4",
598
606
  value: elem
@@ -1282,9 +1290,9 @@ var validChatRequest = (input) => {
1282
1290
  path: _path2 + ".name",
1283
1291
  expected: "string",
1284
1292
  value: input3.name
1285
- }), "date" === input3.type || $report(_exceptionable2, {
1293
+ }), "wholeProteomeAbundance" === input3.type || $report(_exceptionable2, {
1286
1294
  path: _path2 + ".type",
1287
- expected: '"date"',
1295
+ expected: '"wholeProteomeAbundance"',
1288
1296
  value: input3.type
1289
1297
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1290
1298
  path: _path2 + ".child_types",
@@ -1350,6 +1358,10 @@ var validChatRequest = (input) => {
1350
1358
  path: _path2 + ".unit",
1351
1359
  expected: "(string | undefined)",
1352
1360
  value: input3.unit
1361
+ }), "string" === typeof input3.protein || $report(_exceptionable2, {
1362
+ path: _path2 + ".protein",
1363
+ expected: "string",
1364
+ value: input3.protein
1353
1365
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1354
1366
  path: _path2 + ".bins",
1355
1367
  expected: "(PresetNumericBins | undefined)",
@@ -1367,9 +1379,9 @@ var validChatRequest = (input) => {
1367
1379
  path: _path2 + ".name",
1368
1380
  expected: "string",
1369
1381
  value: input3.name
1370
- }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1382
+ }), "date" === input3.type || $report(_exceptionable2, {
1371
1383
  path: _path2 + ".type",
1372
- expected: '"ssGSEA"',
1384
+ expected: '"date"',
1373
1385
  value: input3.type
1374
1386
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1375
1387
  path: _path2 + ".child_types",
@@ -1435,18 +1447,6 @@ var validChatRequest = (input) => {
1435
1447
  path: _path2 + ".unit",
1436
1448
  expected: "(string | undefined)",
1437
1449
  value: input3.unit
1438
- }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1439
- path: _path2 + ".genes",
1440
- expected: "(Array<string> | undefined)",
1441
- value: input3.genes
1442
- })) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1443
- path: _path2 + ".genes[" + _index23 + "]",
1444
- expected: "string",
1445
- value: elem
1446
- })).every((flag) => flag) || $report(_exceptionable2, {
1447
- path: _path2 + ".genes",
1448
- expected: "(Array<string> | undefined)",
1449
- value: input3.genes
1450
1450
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1451
1451
  path: _path2 + ".bins",
1452
1452
  expected: "(PresetNumericBins | undefined)",
@@ -1456,69 +1456,7 @@ var validChatRequest = (input) => {
1456
1456
  expected: "(PresetNumericBins | undefined)",
1457
1457
  value: input3.bins
1458
1458
  })].every((flag) => flag);
1459
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1460
- path: _path2 + ".key",
1461
- expected: "string",
1462
- value: input3.key
1463
- }), "number" === typeof input3.value || $report(_exceptionable2, {
1464
- path: _path2 + ".value",
1465
- expected: "number",
1466
- value: input3.value
1467
- }), true === input3.uncomputable || $report(_exceptionable2, {
1468
- path: _path2 + ".uncomputable",
1469
- expected: "true",
1470
- value: input3.uncomputable
1471
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1472
- path: _path2 + ".label",
1473
- expected: "(string | undefined)",
1474
- value: input3.label
1475
- })].every((flag) => flag);
1476
- const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1477
- path: _path2 + ".join",
1478
- expected: "(string | undefined)",
1479
- value: input3.join
1480
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1481
- path: _path2 + ".isnot",
1482
- expected: "(boolean | undefined)",
1483
- value: input3.isnot
1484
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1485
- path: _path2 + ".term",
1486
- expected: "ConditionTerm",
1487
- value: input3.term
1488
- })) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1489
- path: _path2 + ".term",
1490
- expected: "ConditionTerm",
1491
- value: input3.term
1492
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1493
- path: _path2 + ".value_by_max_grade",
1494
- expected: "(boolean | undefined)",
1495
- value: input3.value_by_max_grade
1496
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
1497
- path: _path2 + ".value_by_most_recent",
1498
- expected: "(boolean | undefined)",
1499
- value: input3.value_by_most_recent
1500
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
1501
- path: _path2 + ".value_by_computable_grade",
1502
- expected: "(boolean | undefined)",
1503
- value: input3.value_by_computable_grade
1504
- }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1505
- path: _path2 + ".grade_and_child",
1506
- expected: "(Array<GradeAndChildEntry> | undefined)",
1507
- value: input3.grade_and_child
1508
- })) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1509
- path: _path2 + ".grade_and_child[" + _index24 + "]",
1510
- expected: "GradeAndChildEntry",
1511
- value: elem
1512
- })) && $vo31(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
1513
- path: _path2 + ".grade_and_child[" + _index24 + "]",
1514
- expected: "GradeAndChildEntry",
1515
- value: elem
1516
- })).every((flag) => flag) || $report(_exceptionable2, {
1517
- path: _path2 + ".grade_and_child",
1518
- expected: "(Array<GradeAndChildEntry> | undefined)",
1519
- value: input3.grade_and_child
1520
- })].every((flag) => flag);
1521
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1459
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1522
1460
  path: _path2 + ".id",
1523
1461
  expected: "string",
1524
1462
  value: input3.id
@@ -1526,16 +1464,16 @@ var validChatRequest = (input) => {
1526
1464
  path: _path2 + ".name",
1527
1465
  expected: "string",
1528
1466
  value: input3.name
1529
- }), "condition" === input3.type || $report(_exceptionable2, {
1467
+ }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1530
1468
  path: _path2 + ".type",
1531
- expected: '"condition"',
1469
+ expected: '"ssGSEA"',
1532
1470
  value: input3.type
1533
1471
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1534
1472
  path: _path2 + ".child_types",
1535
1473
  expected: "(Array<string> | undefined)",
1536
1474
  value: input3.child_types
1537
- })) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1538
- path: _path2 + ".child_types[" + _index25 + "]",
1475
+ })) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1476
+ path: _path2 + ".child_types[" + _index23 + "]",
1539
1477
  expected: "string",
1540
1478
  value: elem
1541
1479
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1550,8 +1488,8 @@ var validChatRequest = (input) => {
1550
1488
  path: _path2 + ".included_types",
1551
1489
  expected: "(Array<string> | undefined)",
1552
1490
  value: input3.included_types
1553
- })) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1554
- path: _path2 + ".included_types[" + _index26 + "]",
1491
+ })) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1492
+ path: _path2 + ".included_types[" + _index24 + "]",
1555
1493
  expected: "string",
1556
1494
  value: elem
1557
1495
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1582,115 +1520,40 @@ var validChatRequest = (input) => {
1582
1520
  path: _path2 + ".valueConversion",
1583
1521
  expected: "(__type.o1 | undefined)",
1584
1522
  value: input3.valueConversion
1585
- })].every((flag) => flag);
1586
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1587
- path: _path2 + ".grade",
1588
- expected: "number",
1589
- value: input3.grade
1590
- }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1591
- path: _path2 + ".grade_label",
1592
- expected: "string",
1593
- value: input3.grade_label
1594
- }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1595
- path: _path2 + ".child_id",
1523
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1524
+ path: _path2 + ".continuousColorScale",
1525
+ expected: "(__type.o3 | undefined)",
1526
+ value: input3.continuousColorScale
1527
+ })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1528
+ path: _path2 + ".continuousColorScale",
1529
+ expected: "(__type.o3 | undefined)",
1530
+ value: input3.continuousColorScale
1531
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1532
+ path: _path2 + ".unit",
1596
1533
  expected: "(string | undefined)",
1597
- value: input3.child_id
1598
- }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1599
- path: _path2 + ".child_label",
1534
+ value: input3.unit
1535
+ }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1536
+ path: _path2 + ".genes",
1537
+ expected: "(Array<string> | undefined)",
1538
+ value: input3.genes
1539
+ })) && input3.genes.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1540
+ path: _path2 + ".genes[" + _index25 + "]",
1600
1541
  expected: "string",
1601
- value: input3.child_label
1602
- })].every((flag) => flag);
1603
- const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1604
- path: _path2 + ".join",
1605
- expected: "(string | undefined)",
1606
- value: input3.join
1607
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1608
- path: _path2 + ".isnot",
1609
- expected: "(boolean | undefined)",
1610
- value: input3.isnot
1611
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1612
- path: _path2 + ".term",
1613
- expected: "DtTerm",
1614
- value: input3.term
1615
- })) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1616
- path: _path2 + ".term",
1617
- expected: "DtTerm",
1618
- value: input3.term
1619
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1620
- path: _path2 + ".values",
1621
- expected: "Array<__type>.o2",
1622
- value: input3.values
1623
- })) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1624
- path: _path2 + ".values[" + _index27 + "]",
1625
- expected: "__type.o5",
1626
- value: elem
1627
- })) && $vo38(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
1628
- path: _path2 + ".values[" + _index27 + "]",
1629
- expected: "__type.o5",
1630
1542
  value: elem
1631
1543
  })).every((flag) => flag) || $report(_exceptionable2, {
1632
- path: _path2 + ".values",
1633
- expected: "Array<__type>.o2",
1634
- value: input3.values
1635
- }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
1636
- path: _path2 + ".includeNotTested",
1637
- expected: "(boolean | undefined)",
1638
- value: input3.includeNotTested
1639
- }), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
1640
- path: _path2 + ".excludeGeneName",
1641
- expected: "(boolean | undefined)",
1642
- value: input3.excludeGeneName
1643
- })].every((flag) => flag);
1644
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1645
- path: _path2 + ".id",
1646
- expected: "string",
1647
- value: input3.id
1648
- }), "string" === typeof input3.query || $report(_exceptionable2, {
1649
- path: _path2 + ".query",
1650
- expected: "string",
1651
- value: input3.query
1652
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1653
- path: _path2 + ".name",
1654
- expected: "string",
1655
- value: input3.name
1656
- }), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
1657
- path: _path2 + ".name_noOrigin",
1658
- expected: "string",
1659
- value: input3.name_noOrigin
1660
- }), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
1661
- path: _path2 + ".parentTerm",
1662
- 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)',
1663
- value: input3.parentTerm
1664
- })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
1665
- path: _path2 + ".parentTerm",
1666
- 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)',
1667
- value: input3.parentTerm
1668
- }), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1669
- path: _path2 + ".isleaf",
1670
- expected: "boolean",
1671
- value: input3.isleaf
1672
- }), "string" === typeof input3.type || $report(_exceptionable2, {
1673
- path: _path2 + ".type",
1674
- expected: "string",
1675
- value: input3.type
1676
- }), "number" === typeof input3.dt || $report(_exceptionable2, {
1677
- path: _path2 + ".dt",
1678
- expected: "number",
1679
- value: input3.dt
1680
- }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
1681
- path: _path2 + ".origin",
1682
- expected: "(string | undefined)",
1683
- value: input3.origin
1684
- }), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1685
- path: _path2 + ".values",
1686
- expected: "TermValues",
1687
- value: input3.values
1688
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1689
- path: _path2 + ".values",
1690
- expected: "TermValues",
1691
- value: input3.values
1544
+ path: _path2 + ".genes",
1545
+ expected: "(Array<string> | undefined)",
1546
+ value: input3.genes
1547
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1548
+ path: _path2 + ".bins",
1549
+ expected: "(PresetNumericBins | undefined)",
1550
+ value: input3.bins
1551
+ })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1552
+ path: _path2 + ".bins",
1553
+ expected: "(PresetNumericBins | undefined)",
1554
+ value: input3.bins
1692
1555
  })].every((flag) => flag);
1693
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1556
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1694
1557
  path: _path2 + ".id",
1695
1558
  expected: "string",
1696
1559
  value: input3.id
@@ -1698,16 +1561,16 @@ var validChatRequest = (input) => {
1698
1561
  path: _path2 + ".name",
1699
1562
  expected: "string",
1700
1563
  value: input3.name
1701
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
1564
+ }), "dnaMethylation" === input3.type || $report(_exceptionable2, {
1702
1565
  path: _path2 + ".type",
1703
- expected: '"geneVariant"',
1566
+ expected: '"dnaMethylation"',
1704
1567
  value: input3.type
1705
1568
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1706
1569
  path: _path2 + ".child_types",
1707
1570
  expected: "(Array<string> | undefined)",
1708
1571
  value: input3.child_types
1709
- })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1710
- path: _path2 + ".child_types[" + _index28 + "]",
1572
+ })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1573
+ path: _path2 + ".child_types[" + _index26 + "]",
1711
1574
  expected: "string",
1712
1575
  value: elem
1713
1576
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1722,8 +1585,8 @@ var validChatRequest = (input) => {
1722
1585
  path: _path2 + ".included_types",
1723
1586
  expected: "(Array<string> | undefined)",
1724
1587
  value: input3.included_types
1725
- })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1726
- path: _path2 + ".included_types[" + _index29 + "]",
1588
+ })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1589
+ path: _path2 + ".included_types[" + _index27 + "]",
1727
1590
  expected: "string",
1728
1591
  value: elem
1729
1592
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1754,37 +1617,586 @@ var validChatRequest = (input) => {
1754
1617
  path: _path2 + ".valueConversion",
1755
1618
  expected: "(__type.o1 | undefined)",
1756
1619
  value: input3.valueConversion
1757
- }), "gene" === input3.kind || $report(_exceptionable2, {
1758
- path: _path2 + ".kind",
1759
- expected: '"gene"',
1760
- value: input3.kind
1761
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1762
- path: _path2 + ".gene",
1763
- expected: "string",
1764
- value: input3.gene
1765
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1766
- path: _path2 + ".chr",
1620
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1621
+ path: _path2 + ".continuousColorScale",
1622
+ expected: "(__type.o3 | undefined)",
1623
+ value: input3.continuousColorScale
1624
+ })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1625
+ path: _path2 + ".continuousColorScale",
1626
+ expected: "(__type.o3 | undefined)",
1627
+ value: input3.continuousColorScale
1628
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1629
+ path: _path2 + ".unit",
1767
1630
  expected: "(string | undefined)",
1631
+ value: input3.unit
1632
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1633
+ path: _path2 + ".chr",
1634
+ expected: "string",
1768
1635
  value: input3.chr
1769
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1636
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1770
1637
  path: _path2 + ".start",
1771
- expected: "(number | undefined)",
1638
+ expected: "number",
1772
1639
  value: input3.start
1773
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1640
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1774
1641
  path: _path2 + ".stop",
1775
- expected: "(number | undefined)",
1642
+ expected: "number",
1776
1643
  value: input3.stop
1777
- }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
1778
- path: _path2 + ".genes",
1779
- expected: "Array<GvGeneTerm>",
1780
- value: input3.genes
1781
- })) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1782
- path: _path2 + ".genes[" + _index30 + "]",
1783
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1784
- value: elem
1785
- })) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1786
- path: _path2 + ".genes[" + _index30 + "]",
1787
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1644
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1645
+ path: _path2 + ".bins",
1646
+ expected: "(PresetNumericBins | undefined)",
1647
+ value: input3.bins
1648
+ })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1649
+ path: _path2 + ".bins",
1650
+ expected: "(PresetNumericBins | undefined)",
1651
+ value: input3.bins
1652
+ })].every((flag) => flag);
1653
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1654
+ path: _path2 + ".id",
1655
+ expected: "string",
1656
+ value: input3.id
1657
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1658
+ path: _path2 + ".name",
1659
+ expected: "string",
1660
+ value: input3.name
1661
+ }), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
1662
+ path: _path2 + ".type",
1663
+ expected: '"singleCellGeneExpression"',
1664
+ value: input3.type
1665
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1666
+ path: _path2 + ".child_types",
1667
+ expected: "(Array<string> | undefined)",
1668
+ value: input3.child_types
1669
+ })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1670
+ path: _path2 + ".child_types[" + _index28 + "]",
1671
+ expected: "string",
1672
+ value: elem
1673
+ })).every((flag) => flag) || $report(_exceptionable2, {
1674
+ path: _path2 + ".child_types",
1675
+ expected: "(Array<string> | undefined)",
1676
+ value: input3.child_types
1677
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1678
+ path: _path2 + ".hashtmldetail",
1679
+ expected: "(boolean | undefined)",
1680
+ value: input3.hashtmldetail
1681
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1682
+ path: _path2 + ".included_types",
1683
+ expected: "(Array<string> | undefined)",
1684
+ value: input3.included_types
1685
+ })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1686
+ path: _path2 + ".included_types[" + _index29 + "]",
1687
+ expected: "string",
1688
+ value: elem
1689
+ })).every((flag) => flag) || $report(_exceptionable2, {
1690
+ path: _path2 + ".included_types",
1691
+ expected: "(Array<string> | undefined)",
1692
+ value: input3.included_types
1693
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1694
+ path: _path2 + ".isleaf",
1695
+ expected: "(boolean | undefined)",
1696
+ value: input3.isleaf
1697
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1698
+ path: _path2 + ".values",
1699
+ expected: "(TermValues | undefined)",
1700
+ value: input3.values
1701
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1702
+ path: _path2 + ".values",
1703
+ expected: "(TermValues | undefined)",
1704
+ value: input3.values
1705
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1706
+ path: _path2 + ".skipValuesBuild",
1707
+ expected: "(boolean | undefined)",
1708
+ value: input3.skipValuesBuild
1709
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1710
+ path: _path2 + ".valueConversion",
1711
+ expected: "(__type.o1 | undefined)",
1712
+ value: input3.valueConversion
1713
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1714
+ path: _path2 + ".valueConversion",
1715
+ expected: "(__type.o1 | undefined)",
1716
+ value: input3.valueConversion
1717
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1718
+ path: _path2 + ".continuousColorScale",
1719
+ expected: "(__type.o3 | undefined)",
1720
+ value: input3.continuousColorScale
1721
+ })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1722
+ path: _path2 + ".continuousColorScale",
1723
+ expected: "(__type.o3 | undefined)",
1724
+ value: input3.continuousColorScale
1725
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1726
+ path: _path2 + ".unit",
1727
+ expected: "(string | undefined)",
1728
+ value: input3.unit
1729
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1730
+ path: _path2 + ".gene",
1731
+ expected: "string",
1732
+ value: input3.gene
1733
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
1734
+ path: _path2 + ".sample",
1735
+ expected: "string",
1736
+ value: input3.sample
1737
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1738
+ path: _path2 + ".bins",
1739
+ expected: "(PresetNumericBins | undefined)",
1740
+ value: input3.bins
1741
+ })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1742
+ path: _path2 + ".bins",
1743
+ expected: "(PresetNumericBins | undefined)",
1744
+ value: input3.bins
1745
+ }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
1746
+ path: _path2 + ".kind",
1747
+ expected: '("gene" | undefined)',
1748
+ value: input3.kind
1749
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1750
+ path: _path2 + ".chr",
1751
+ expected: "(string | undefined)",
1752
+ value: input3.chr
1753
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1754
+ path: _path2 + ".start",
1755
+ expected: "(number | undefined)",
1756
+ value: input3.start
1757
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1758
+ path: _path2 + ".stop",
1759
+ expected: "(number | undefined)",
1760
+ value: input3.stop
1761
+ })].every((flag) => flag);
1762
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1763
+ path: _path2 + ".id",
1764
+ expected: "string",
1765
+ value: input3.id
1766
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1767
+ path: _path2 + ".name",
1768
+ expected: "string",
1769
+ value: input3.name
1770
+ }), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
1771
+ path: _path2 + ".type",
1772
+ expected: '"singleCellGeneExpression"',
1773
+ value: input3.type
1774
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1775
+ path: _path2 + ".child_types",
1776
+ expected: "(Array<string> | undefined)",
1777
+ value: input3.child_types
1778
+ })) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1779
+ path: _path2 + ".child_types[" + _index30 + "]",
1780
+ expected: "string",
1781
+ value: elem
1782
+ })).every((flag) => flag) || $report(_exceptionable2, {
1783
+ path: _path2 + ".child_types",
1784
+ expected: "(Array<string> | undefined)",
1785
+ value: input3.child_types
1786
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1787
+ path: _path2 + ".hashtmldetail",
1788
+ expected: "(boolean | undefined)",
1789
+ value: input3.hashtmldetail
1790
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1791
+ path: _path2 + ".included_types",
1792
+ expected: "(Array<string> | undefined)",
1793
+ value: input3.included_types
1794
+ })) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1795
+ path: _path2 + ".included_types[" + _index31 + "]",
1796
+ expected: "string",
1797
+ value: elem
1798
+ })).every((flag) => flag) || $report(_exceptionable2, {
1799
+ path: _path2 + ".included_types",
1800
+ expected: "(Array<string> | undefined)",
1801
+ value: input3.included_types
1802
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1803
+ path: _path2 + ".isleaf",
1804
+ expected: "(boolean | undefined)",
1805
+ value: input3.isleaf
1806
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1807
+ path: _path2 + ".values",
1808
+ expected: "(TermValues | undefined)",
1809
+ value: input3.values
1810
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1811
+ path: _path2 + ".values",
1812
+ expected: "(TermValues | undefined)",
1813
+ value: input3.values
1814
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1815
+ path: _path2 + ".skipValuesBuild",
1816
+ expected: "(boolean | undefined)",
1817
+ value: input3.skipValuesBuild
1818
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1819
+ path: _path2 + ".valueConversion",
1820
+ expected: "(__type.o1 | undefined)",
1821
+ value: input3.valueConversion
1822
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1823
+ path: _path2 + ".valueConversion",
1824
+ expected: "(__type.o1 | undefined)",
1825
+ value: input3.valueConversion
1826
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1827
+ path: _path2 + ".continuousColorScale",
1828
+ expected: "(__type.o3 | undefined)",
1829
+ value: input3.continuousColorScale
1830
+ })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1831
+ path: _path2 + ".continuousColorScale",
1832
+ expected: "(__type.o3 | undefined)",
1833
+ value: input3.continuousColorScale
1834
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1835
+ path: _path2 + ".unit",
1836
+ expected: "(string | undefined)",
1837
+ value: input3.unit
1838
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1839
+ path: _path2 + ".gene",
1840
+ expected: "string",
1841
+ value: input3.gene
1842
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
1843
+ path: _path2 + ".sample",
1844
+ expected: "string",
1845
+ value: input3.sample
1846
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1847
+ path: _path2 + ".bins",
1848
+ expected: "(PresetNumericBins | undefined)",
1849
+ value: input3.bins
1850
+ })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1851
+ path: _path2 + ".bins",
1852
+ expected: "(PresetNumericBins | undefined)",
1853
+ value: input3.bins
1854
+ }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1855
+ path: _path2 + ".kind",
1856
+ expected: '("coord" | undefined)',
1857
+ value: input3.kind
1858
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1859
+ path: _path2 + ".chr",
1860
+ expected: "string",
1861
+ value: input3.chr
1862
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1863
+ path: _path2 + ".start",
1864
+ expected: "number",
1865
+ value: input3.start
1866
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1867
+ path: _path2 + ".stop",
1868
+ expected: "number",
1869
+ value: input3.stop
1870
+ })].every((flag) => flag);
1871
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1872
+ path: _path2 + ".key",
1873
+ expected: "string",
1874
+ value: input3.key
1875
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
1876
+ path: _path2 + ".value",
1877
+ expected: "number",
1878
+ value: input3.value
1879
+ }), true === input3.uncomputable || $report(_exceptionable2, {
1880
+ path: _path2 + ".uncomputable",
1881
+ expected: "true",
1882
+ value: input3.uncomputable
1883
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1884
+ path: _path2 + ".label",
1885
+ expected: "(string | undefined)",
1886
+ value: input3.label
1887
+ })].every((flag) => flag);
1888
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1889
+ path: _path2 + ".join",
1890
+ expected: "(string | undefined)",
1891
+ value: input3.join
1892
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1893
+ path: _path2 + ".isnot",
1894
+ expected: "(boolean | undefined)",
1895
+ value: input3.isnot
1896
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1897
+ path: _path2 + ".term",
1898
+ expected: "ConditionTerm",
1899
+ value: input3.term
1900
+ })) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1901
+ path: _path2 + ".term",
1902
+ expected: "ConditionTerm",
1903
+ value: input3.term
1904
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1905
+ path: _path2 + ".value_by_max_grade",
1906
+ expected: "(boolean | undefined)",
1907
+ value: input3.value_by_max_grade
1908
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
1909
+ path: _path2 + ".value_by_most_recent",
1910
+ expected: "(boolean | undefined)",
1911
+ value: input3.value_by_most_recent
1912
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
1913
+ path: _path2 + ".value_by_computable_grade",
1914
+ expected: "(boolean | undefined)",
1915
+ value: input3.value_by_computable_grade
1916
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1917
+ path: _path2 + ".grade_and_child",
1918
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1919
+ value: input3.grade_and_child
1920
+ })) && input3.grade_and_child.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1921
+ path: _path2 + ".grade_and_child[" + _index32 + "]",
1922
+ expected: "GradeAndChildEntry",
1923
+ value: elem
1924
+ })) && $vo35(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1925
+ path: _path2 + ".grade_and_child[" + _index32 + "]",
1926
+ expected: "GradeAndChildEntry",
1927
+ value: elem
1928
+ })).every((flag) => flag) || $report(_exceptionable2, {
1929
+ path: _path2 + ".grade_and_child",
1930
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1931
+ value: input3.grade_and_child
1932
+ })].every((flag) => flag);
1933
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1934
+ path: _path2 + ".id",
1935
+ expected: "string",
1936
+ value: input3.id
1937
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1938
+ path: _path2 + ".name",
1939
+ expected: "string",
1940
+ value: input3.name
1941
+ }), "condition" === input3.type || $report(_exceptionable2, {
1942
+ path: _path2 + ".type",
1943
+ expected: '"condition"',
1944
+ value: input3.type
1945
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1946
+ path: _path2 + ".child_types",
1947
+ expected: "(Array<string> | undefined)",
1948
+ value: input3.child_types
1949
+ })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1950
+ path: _path2 + ".child_types[" + _index33 + "]",
1951
+ expected: "string",
1952
+ value: elem
1953
+ })).every((flag) => flag) || $report(_exceptionable2, {
1954
+ path: _path2 + ".child_types",
1955
+ expected: "(Array<string> | undefined)",
1956
+ value: input3.child_types
1957
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1958
+ path: _path2 + ".hashtmldetail",
1959
+ expected: "(boolean | undefined)",
1960
+ value: input3.hashtmldetail
1961
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1962
+ path: _path2 + ".included_types",
1963
+ expected: "(Array<string> | undefined)",
1964
+ value: input3.included_types
1965
+ })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1966
+ path: _path2 + ".included_types[" + _index34 + "]",
1967
+ expected: "string",
1968
+ value: elem
1969
+ })).every((flag) => flag) || $report(_exceptionable2, {
1970
+ path: _path2 + ".included_types",
1971
+ expected: "(Array<string> | undefined)",
1972
+ value: input3.included_types
1973
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1974
+ path: _path2 + ".isleaf",
1975
+ expected: "(boolean | undefined)",
1976
+ value: input3.isleaf
1977
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1978
+ path: _path2 + ".values",
1979
+ expected: "(TermValues | undefined)",
1980
+ value: input3.values
1981
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1982
+ path: _path2 + ".values",
1983
+ expected: "(TermValues | undefined)",
1984
+ value: input3.values
1985
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1986
+ path: _path2 + ".skipValuesBuild",
1987
+ expected: "(boolean | undefined)",
1988
+ value: input3.skipValuesBuild
1989
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1990
+ path: _path2 + ".valueConversion",
1991
+ expected: "(__type.o1 | undefined)",
1992
+ value: input3.valueConversion
1993
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1994
+ path: _path2 + ".valueConversion",
1995
+ expected: "(__type.o1 | undefined)",
1996
+ value: input3.valueConversion
1997
+ })].every((flag) => flag);
1998
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1999
+ path: _path2 + ".grade",
2000
+ expected: "number",
2001
+ value: input3.grade
2002
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
2003
+ path: _path2 + ".grade_label",
2004
+ expected: "string",
2005
+ value: input3.grade_label
2006
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
2007
+ path: _path2 + ".child_id",
2008
+ expected: "(string | undefined)",
2009
+ value: input3.child_id
2010
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
2011
+ path: _path2 + ".child_label",
2012
+ expected: "string",
2013
+ value: input3.child_label
2014
+ })].every((flag) => flag);
2015
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2016
+ path: _path2 + ".join",
2017
+ expected: "(string | undefined)",
2018
+ value: input3.join
2019
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2020
+ path: _path2 + ".isnot",
2021
+ expected: "(boolean | undefined)",
2022
+ value: input3.isnot
2023
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2024
+ path: _path2 + ".term",
2025
+ expected: "DtTerm",
2026
+ value: input3.term
2027
+ })) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2028
+ path: _path2 + ".term",
2029
+ expected: "DtTerm",
2030
+ value: input3.term
2031
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2032
+ path: _path2 + ".values",
2033
+ expected: "Array<__type>.o2",
2034
+ value: input3.values
2035
+ })) && input3.values.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2036
+ path: _path2 + ".values[" + _index35 + "]",
2037
+ expected: "__type.o5",
2038
+ value: elem
2039
+ })) && $vo42(elem, _path2 + ".values[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
2040
+ path: _path2 + ".values[" + _index35 + "]",
2041
+ expected: "__type.o5",
2042
+ value: elem
2043
+ })).every((flag) => flag) || $report(_exceptionable2, {
2044
+ path: _path2 + ".values",
2045
+ expected: "Array<__type>.o2",
2046
+ value: input3.values
2047
+ }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
2048
+ path: _path2 + ".includeNotTested",
2049
+ expected: "(boolean | undefined)",
2050
+ value: input3.includeNotTested
2051
+ }), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
2052
+ path: _path2 + ".excludeGeneName",
2053
+ expected: "(boolean | undefined)",
2054
+ value: input3.excludeGeneName
2055
+ })].every((flag) => flag);
2056
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2057
+ path: _path2 + ".id",
2058
+ expected: "string",
2059
+ value: input3.id
2060
+ }), "string" === typeof input3.query || $report(_exceptionable2, {
2061
+ path: _path2 + ".query",
2062
+ expected: "string",
2063
+ value: input3.query
2064
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2065
+ path: _path2 + ".name",
2066
+ expected: "string",
2067
+ value: input3.name
2068
+ }), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
2069
+ path: _path2 + ".name_noOrigin",
2070
+ expected: "string",
2071
+ value: input3.name_noOrigin
2072
+ }), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
2073
+ path: _path2 + ".parentTerm",
2074
+ 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)',
2075
+ value: input3.parentTerm
2076
+ })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2077
+ path: _path2 + ".parentTerm",
2078
+ 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)',
2079
+ value: input3.parentTerm
2080
+ }), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2081
+ path: _path2 + ".isleaf",
2082
+ expected: "boolean",
2083
+ value: input3.isleaf
2084
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2085
+ path: _path2 + ".type",
2086
+ expected: "string",
2087
+ value: input3.type
2088
+ }), "number" === typeof input3.dt || $report(_exceptionable2, {
2089
+ path: _path2 + ".dt",
2090
+ expected: "number",
2091
+ value: input3.dt
2092
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2093
+ path: _path2 + ".origin",
2094
+ expected: "(string | undefined)",
2095
+ value: input3.origin
2096
+ }), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2097
+ path: _path2 + ".values",
2098
+ expected: "TermValues",
2099
+ value: input3.values
2100
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2101
+ path: _path2 + ".values",
2102
+ expected: "TermValues",
2103
+ value: input3.values
2104
+ })].every((flag) => flag);
2105
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2106
+ path: _path2 + ".id",
2107
+ expected: "string",
2108
+ value: input3.id
2109
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2110
+ path: _path2 + ".name",
2111
+ expected: "string",
2112
+ value: input3.name
2113
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
2114
+ path: _path2 + ".type",
2115
+ expected: '"geneVariant"',
2116
+ value: input3.type
2117
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2118
+ path: _path2 + ".child_types",
2119
+ expected: "(Array<string> | undefined)",
2120
+ value: input3.child_types
2121
+ })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2122
+ path: _path2 + ".child_types[" + _index36 + "]",
2123
+ expected: "string",
2124
+ value: elem
2125
+ })).every((flag) => flag) || $report(_exceptionable2, {
2126
+ path: _path2 + ".child_types",
2127
+ expected: "(Array<string> | undefined)",
2128
+ value: input3.child_types
2129
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2130
+ path: _path2 + ".hashtmldetail",
2131
+ expected: "(boolean | undefined)",
2132
+ value: input3.hashtmldetail
2133
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2134
+ path: _path2 + ".included_types",
2135
+ expected: "(Array<string> | undefined)",
2136
+ value: input3.included_types
2137
+ })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2138
+ path: _path2 + ".included_types[" + _index37 + "]",
2139
+ expected: "string",
2140
+ value: elem
2141
+ })).every((flag) => flag) || $report(_exceptionable2, {
2142
+ path: _path2 + ".included_types",
2143
+ expected: "(Array<string> | undefined)",
2144
+ value: input3.included_types
2145
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2146
+ path: _path2 + ".isleaf",
2147
+ expected: "(boolean | undefined)",
2148
+ value: input3.isleaf
2149
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2150
+ path: _path2 + ".values",
2151
+ expected: "(TermValues | undefined)",
2152
+ value: input3.values
2153
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2154
+ path: _path2 + ".values",
2155
+ expected: "(TermValues | undefined)",
2156
+ value: input3.values
2157
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2158
+ path: _path2 + ".skipValuesBuild",
2159
+ expected: "(boolean | undefined)",
2160
+ value: input3.skipValuesBuild
2161
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2162
+ path: _path2 + ".valueConversion",
2163
+ expected: "(__type.o1 | undefined)",
2164
+ value: input3.valueConversion
2165
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2166
+ path: _path2 + ".valueConversion",
2167
+ expected: "(__type.o1 | undefined)",
2168
+ value: input3.valueConversion
2169
+ }), "gene" === input3.kind || $report(_exceptionable2, {
2170
+ path: _path2 + ".kind",
2171
+ expected: '"gene"',
2172
+ value: input3.kind
2173
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
2174
+ path: _path2 + ".gene",
2175
+ expected: "string",
2176
+ value: input3.gene
2177
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2178
+ path: _path2 + ".chr",
2179
+ expected: "(string | undefined)",
2180
+ value: input3.chr
2181
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2182
+ path: _path2 + ".start",
2183
+ expected: "(number | undefined)",
2184
+ value: input3.start
2185
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2186
+ path: _path2 + ".stop",
2187
+ expected: "(number | undefined)",
2188
+ value: input3.stop
2189
+ }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2190
+ path: _path2 + ".genes",
2191
+ expected: "Array<GvGeneTerm>",
2192
+ value: input3.genes
2193
+ })) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2194
+ path: _path2 + ".genes[" + _index38 + "]",
2195
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2196
+ value: elem
2197
+ })) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
2198
+ path: _path2 + ".genes[" + _index38 + "]",
2199
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1788
2200
  value: elem
1789
2201
  })).every((flag) => flag) || $report(_exceptionable2, {
1790
2202
  path: _path2 + ".genes",
@@ -1802,12 +2214,12 @@ var validChatRequest = (input) => {
1802
2214
  path: _path2 + ".childTerms",
1803
2215
  expected: "(Array<DtTerm> | undefined)",
1804
2216
  value: input3.childTerms
1805
- })) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1806
- path: _path2 + ".childTerms[" + _index31 + "]",
2217
+ })) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2218
+ path: _path2 + ".childTerms[" + _index39 + "]",
1807
2219
  expected: "DtTerm",
1808
2220
  value: elem
1809
- })) && $vo33(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1810
- path: _path2 + ".childTerms[" + _index31 + "]",
2221
+ })) && $vo37(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2222
+ path: _path2 + ".childTerms[" + _index39 + "]",
1811
2223
  expected: "DtTerm",
1812
2224
  value: elem
1813
2225
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1815,7 +2227,7 @@ var validChatRequest = (input) => {
1815
2227
  expected: "(Array<DtTerm> | undefined)",
1816
2228
  value: input3.childTerms
1817
2229
  })].every((flag) => flag);
1818
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2230
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1819
2231
  path: _path2 + ".id",
1820
2232
  expected: "string",
1821
2233
  value: input3.id
@@ -1831,8 +2243,8 @@ var validChatRequest = (input) => {
1831
2243
  path: _path2 + ".child_types",
1832
2244
  expected: "(Array<string> | undefined)",
1833
2245
  value: input3.child_types
1834
- })) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1835
- path: _path2 + ".child_types[" + _index32 + "]",
2246
+ })) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2247
+ path: _path2 + ".child_types[" + _index40 + "]",
1836
2248
  expected: "string",
1837
2249
  value: elem
1838
2250
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1847,8 +2259,8 @@ var validChatRequest = (input) => {
1847
2259
  path: _path2 + ".included_types",
1848
2260
  expected: "(Array<string> | undefined)",
1849
2261
  value: input3.included_types
1850
- })) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1851
- path: _path2 + ".included_types[" + _index33 + "]",
2262
+ })) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2263
+ path: _path2 + ".included_types[" + _index41 + "]",
1852
2264
  expected: "string",
1853
2265
  value: elem
1854
2266
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1900,7 +2312,7 @@ var validChatRequest = (input) => {
1900
2312
  expected: "(number | undefined)",
1901
2313
  value: input3.stop
1902
2314
  })].every((flag) => flag);
1903
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2315
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1904
2316
  path: _path2 + ".id",
1905
2317
  expected: "string",
1906
2318
  value: input3.id
@@ -1916,8 +2328,8 @@ var validChatRequest = (input) => {
1916
2328
  path: _path2 + ".child_types",
1917
2329
  expected: "(Array<string> | undefined)",
1918
2330
  value: input3.child_types
1919
- })) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1920
- path: _path2 + ".child_types[" + _index34 + "]",
2331
+ })) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2332
+ path: _path2 + ".child_types[" + _index42 + "]",
1921
2333
  expected: "string",
1922
2334
  value: elem
1923
2335
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1932,8 +2344,8 @@ var validChatRequest = (input) => {
1932
2344
  path: _path2 + ".included_types",
1933
2345
  expected: "(Array<string> | undefined)",
1934
2346
  value: input3.included_types
1935
- })) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1936
- path: _path2 + ".included_types[" + _index35 + "]",
2347
+ })) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2348
+ path: _path2 + ".included_types[" + _index43 + "]",
1937
2349
  expected: "string",
1938
2350
  value: elem
1939
2351
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1981,7 +2393,7 @@ var validChatRequest = (input) => {
1981
2393
  expected: "number",
1982
2394
  value: input3.stop
1983
2395
  })].every((flag) => flag);
1984
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2396
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1985
2397
  path: _path2 + ".id",
1986
2398
  expected: "string",
1987
2399
  value: input3.id
@@ -1997,8 +2409,8 @@ var validChatRequest = (input) => {
1997
2409
  path: _path2 + ".child_types",
1998
2410
  expected: "(Array<string> | undefined)",
1999
2411
  value: input3.child_types
2000
- })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2001
- path: _path2 + ".child_types[" + _index36 + "]",
2412
+ })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2413
+ path: _path2 + ".child_types[" + _index44 + "]",
2002
2414
  expected: "string",
2003
2415
  value: elem
2004
2416
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2013,8 +2425,8 @@ var validChatRequest = (input) => {
2013
2425
  path: _path2 + ".included_types",
2014
2426
  expected: "(Array<string> | undefined)",
2015
2427
  value: input3.included_types
2016
- })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2017
- path: _path2 + ".included_types[" + _index37 + "]",
2428
+ })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2429
+ path: _path2 + ".included_types[" + _index45 + "]",
2018
2430
  expected: "string",
2019
2431
  value: elem
2020
2432
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2065,12 +2477,12 @@ var validChatRequest = (input) => {
2065
2477
  path: _path2 + ".genes",
2066
2478
  expected: "Array<GvGeneTerm>",
2067
2479
  value: input3.genes
2068
- })) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2069
- path: _path2 + ".genes[" + _index38 + "]",
2480
+ })) && input3.genes.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2481
+ path: _path2 + ".genes[" + _index46 + "]",
2070
2482
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2071
2483
  value: elem
2072
- })) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
2073
- path: _path2 + ".genes[" + _index38 + "]",
2484
+ })) && $vu3(elem, _path2 + ".genes[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
2485
+ path: _path2 + ".genes[" + _index46 + "]",
2074
2486
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2075
2487
  value: elem
2076
2488
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2089,12 +2501,12 @@ var validChatRequest = (input) => {
2089
2501
  path: _path2 + ".childTerms",
2090
2502
  expected: "(Array<DtTerm> | undefined)",
2091
2503
  value: input3.childTerms
2092
- })) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2093
- path: _path2 + ".childTerms[" + _index39 + "]",
2504
+ })) && input3.childTerms.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2505
+ path: _path2 + ".childTerms[" + _index47 + "]",
2094
2506
  expected: "DtTerm",
2095
2507
  value: elem
2096
- })) && $vo33(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2097
- path: _path2 + ".childTerms[" + _index39 + "]",
2508
+ })) && $vo37(elem, _path2 + ".childTerms[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
2509
+ path: _path2 + ".childTerms[" + _index47 + "]",
2098
2510
  expected: "DtTerm",
2099
2511
  value: elem
2100
2512
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2102,7 +2514,7 @@ var validChatRequest = (input) => {
2102
2514
  expected: "(Array<DtTerm> | undefined)",
2103
2515
  value: input3.childTerms
2104
2516
  })].every((flag) => flag);
2105
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2517
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2106
2518
  path: _path2 + ".key",
2107
2519
  expected: "string",
2108
2520
  value: input3.key
@@ -2115,7 +2527,7 @@ var validChatRequest = (input) => {
2115
2527
  expected: "string",
2116
2528
  value: input3.value
2117
2529
  })].every((flag) => flag);
2118
- const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2530
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2119
2531
  path: _path2 + ".join",
2120
2532
  expected: "(string | undefined)",
2121
2533
  value: input3.join
@@ -2125,18 +2537,18 @@ var validChatRequest = (input) => {
2125
2537
  value: input3.isnot
2126
2538
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2127
2539
  path: _path2 + ".term",
2128
- expected: "TermCollection",
2540
+ expected: "(CategoricalTermCollection | NumericTermCollection)",
2129
2541
  value: input3.term
2130
- })) && $vo40(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2542
+ })) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2131
2543
  path: _path2 + ".term",
2132
- expected: "TermCollection",
2544
+ expected: "(CategoricalTermCollection | NumericTermCollection)",
2133
2545
  value: input3.term
2134
2546
  }), "number" === typeof input3.ratio || $report(_exceptionable2, {
2135
2547
  path: _path2 + ".ratio",
2136
2548
  expected: "number",
2137
2549
  value: input3.ratio
2138
2550
  })].every((flag) => flag);
2139
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2551
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2140
2552
  path: _path2 + ".id",
2141
2553
  expected: "string",
2142
2554
  value: input3.id
@@ -2152,8 +2564,8 @@ var validChatRequest = (input) => {
2152
2564
  path: _path2 + ".child_types",
2153
2565
  expected: "(Array<string> | undefined)",
2154
2566
  value: input3.child_types
2155
- })) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2156
- path: _path2 + ".child_types[" + _index40 + "]",
2567
+ })) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
2568
+ path: _path2 + ".child_types[" + _index48 + "]",
2157
2569
  expected: "string",
2158
2570
  value: elem
2159
2571
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2168,8 +2580,8 @@ var validChatRequest = (input) => {
2168
2580
  path: _path2 + ".included_types",
2169
2581
  expected: "(Array<string> | undefined)",
2170
2582
  value: input3.included_types
2171
- })) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2172
- path: _path2 + ".included_types[" + _index41 + "]",
2583
+ })) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2584
+ path: _path2 + ".included_types[" + _index49 + "]",
2173
2585
  expected: "string",
2174
2586
  value: elem
2175
2587
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2204,34 +2616,34 @@ var validChatRequest = (input) => {
2204
2616
  path: _path2 + ".collectionId",
2205
2617
  expected: "(string | undefined)",
2206
2618
  value: input3.collectionId
2619
+ }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2620
+ path: _path2 + ".termIds",
2621
+ expected: "(Array<string> | undefined)",
2622
+ value: input3.termIds
2623
+ })) && input3.termIds.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2624
+ path: _path2 + ".termIds[" + _index50 + "]",
2625
+ expected: "string",
2626
+ value: elem
2627
+ })).every((flag) => flag) || $report(_exceptionable2, {
2628
+ path: _path2 + ".termIds",
2629
+ expected: "(Array<string> | undefined)",
2630
+ value: input3.termIds
2207
2631
  }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
2208
2632
  path: _path2 + ".termlst",
2209
2633
  expected: "Array<BaseTerm>",
2210
2634
  value: input3.termlst
2211
- })) && input3.termlst.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2212
- path: _path2 + ".termlst[" + _index42 + "]",
2635
+ })) && input3.termlst.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2636
+ path: _path2 + ".termlst[" + _index51 + "]",
2213
2637
  expected: "BaseTerm",
2214
2638
  value: elem
2215
- })) && $vo41(elem, _path2 + ".termlst[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
2216
- path: _path2 + ".termlst[" + _index42 + "]",
2639
+ })) && $vo45(elem, _path2 + ".termlst[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
2640
+ path: _path2 + ".termlst[" + _index51 + "]",
2217
2641
  expected: "BaseTerm",
2218
2642
  value: elem
2219
2643
  })).every((flag) => flag) || $report(_exceptionable2, {
2220
2644
  path: _path2 + ".termlst",
2221
2645
  expected: "Array<BaseTerm>",
2222
2646
  value: input3.termlst
2223
- }), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
2224
- path: _path2 + ".numerators",
2225
- expected: "(Array<string> | undefined)",
2226
- value: input3.numerators
2227
- })) && input3.numerators.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2228
- path: _path2 + ".numerators[" + _index43 + "]",
2229
- expected: "string",
2230
- value: elem
2231
- })).every((flag) => flag) || $report(_exceptionable2, {
2232
- path: _path2 + ".numerators",
2233
- expected: "(Array<string> | undefined)",
2234
- value: input3.numerators
2235
2647
  }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
2236
2648
  path: _path2 + ".newTvs",
2237
2649
  expected: "(boolean | undefined)",
@@ -2240,12 +2652,28 @@ var validChatRequest = (input) => {
2240
2652
  path: _path2 + ".propsByTermId",
2241
2653
  expected: "__type.o6",
2242
2654
  value: input3.propsByTermId
2243
- })) && $vo42(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2655
+ })) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2244
2656
  path: _path2 + ".propsByTermId",
2245
2657
  expected: "__type.o6",
2246
2658
  value: input3.propsByTermId
2659
+ }), "numeric" === input3.memberType || $report(_exceptionable2, {
2660
+ path: _path2 + ".memberType",
2661
+ expected: '"numeric"',
2662
+ value: input3.memberType
2663
+ }), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
2664
+ path: _path2 + ".numerators",
2665
+ expected: "(Array<string> | undefined)",
2666
+ value: input3.numerators
2667
+ })) && input3.numerators.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
2668
+ path: _path2 + ".numerators[" + _index52 + "]",
2669
+ expected: "string",
2670
+ value: elem
2671
+ })).every((flag) => flag) || $report(_exceptionable2, {
2672
+ path: _path2 + ".numerators",
2673
+ expected: "(Array<string> | undefined)",
2674
+ value: input3.numerators
2247
2675
  })].every((flag) => flag);
2248
- const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2676
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2249
2677
  path: _path2 + ".id",
2250
2678
  expected: "string",
2251
2679
  value: input3.id
@@ -2261,8 +2689,8 @@ var validChatRequest = (input) => {
2261
2689
  path: _path2 + ".child_types",
2262
2690
  expected: "(Array<string> | undefined)",
2263
2691
  value: input3.child_types
2264
- })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2265
- path: _path2 + ".child_types[" + _index44 + "]",
2692
+ })) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2693
+ path: _path2 + ".child_types[" + _index53 + "]",
2266
2694
  expected: "string",
2267
2695
  value: elem
2268
2696
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2277,8 +2705,8 @@ var validChatRequest = (input) => {
2277
2705
  path: _path2 + ".included_types",
2278
2706
  expected: "(Array<string> | undefined)",
2279
2707
  value: input3.included_types
2280
- })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2281
- path: _path2 + ".included_types[" + _index45 + "]",
2708
+ })) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2709
+ path: _path2 + ".included_types[" + _index54 + "]",
2282
2710
  expected: "string",
2283
2711
  value: elem
2284
2712
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2310,7 +2738,7 @@ var validChatRequest = (input) => {
2310
2738
  expected: "(__type.o1 | undefined)",
2311
2739
  value: input3.valueConversion
2312
2740
  })].every((flag) => flag);
2313
- const $vo42 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2741
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2314
2742
  const value = input3[key];
2315
2743
  if (void 0 === value)
2316
2744
  return true;
@@ -2319,14 +2747,14 @@ var validChatRequest = (input) => {
2319
2747
  path: _path2 + $join(key),
2320
2748
  expected: "__type.o7",
2321
2749
  value
2322
- })) && $vo43(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2750
+ })) && $vo47(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2323
2751
  path: _path2 + $join(key),
2324
2752
  expected: "__type.o7",
2325
2753
  value
2326
2754
  });
2327
2755
  return true;
2328
2756
  }).every((flag) => flag)].every((flag) => flag);
2329
- const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2757
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2330
2758
  const value = input3[key];
2331
2759
  if (void 0 === value)
2332
2760
  return true;
@@ -2334,6 +2762,144 @@ var validChatRequest = (input) => {
2334
2762
  return true;
2335
2763
  return true;
2336
2764
  }).every((flag) => flag)].every((flag) => flag);
2765
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2766
+ path: _path2 + ".id",
2767
+ expected: "string",
2768
+ value: input3.id
2769
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2770
+ path: _path2 + ".name",
2771
+ expected: "string",
2772
+ value: input3.name
2773
+ }), "termCollection" === input3.type || $report(_exceptionable2, {
2774
+ path: _path2 + ".type",
2775
+ expected: '"termCollection"',
2776
+ value: input3.type
2777
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2778
+ path: _path2 + ".child_types",
2779
+ expected: "(Array<string> | undefined)",
2780
+ value: input3.child_types
2781
+ })) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
2782
+ path: _path2 + ".child_types[" + _index55 + "]",
2783
+ expected: "string",
2784
+ value: elem
2785
+ })).every((flag) => flag) || $report(_exceptionable2, {
2786
+ path: _path2 + ".child_types",
2787
+ expected: "(Array<string> | undefined)",
2788
+ value: input3.child_types
2789
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2790
+ path: _path2 + ".hashtmldetail",
2791
+ expected: "(boolean | undefined)",
2792
+ value: input3.hashtmldetail
2793
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2794
+ path: _path2 + ".included_types",
2795
+ expected: "(Array<string> | undefined)",
2796
+ value: input3.included_types
2797
+ })) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
2798
+ path: _path2 + ".included_types[" + _index56 + "]",
2799
+ expected: "string",
2800
+ value: elem
2801
+ })).every((flag) => flag) || $report(_exceptionable2, {
2802
+ path: _path2 + ".included_types",
2803
+ expected: "(Array<string> | undefined)",
2804
+ value: input3.included_types
2805
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2806
+ path: _path2 + ".isleaf",
2807
+ expected: "(boolean | undefined)",
2808
+ value: input3.isleaf
2809
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2810
+ path: _path2 + ".values",
2811
+ expected: "(TermValues | undefined)",
2812
+ value: input3.values
2813
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2814
+ path: _path2 + ".values",
2815
+ expected: "(TermValues | undefined)",
2816
+ value: input3.values
2817
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2818
+ path: _path2 + ".skipValuesBuild",
2819
+ expected: "(boolean | undefined)",
2820
+ value: input3.skipValuesBuild
2821
+ }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2822
+ path: _path2 + ".valueConversion",
2823
+ expected: "(__type.o1 | undefined)",
2824
+ value: input3.valueConversion
2825
+ })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2826
+ path: _path2 + ".valueConversion",
2827
+ expected: "(__type.o1 | undefined)",
2828
+ value: input3.valueConversion
2829
+ }), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
2830
+ path: _path2 + ".collectionId",
2831
+ expected: "(string | undefined)",
2832
+ value: input3.collectionId
2833
+ }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2834
+ path: _path2 + ".termIds",
2835
+ expected: "(Array<string> | undefined)",
2836
+ value: input3.termIds
2837
+ })) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
2838
+ path: _path2 + ".termIds[" + _index57 + "]",
2839
+ expected: "string",
2840
+ value: elem
2841
+ })).every((flag) => flag) || $report(_exceptionable2, {
2842
+ path: _path2 + ".termIds",
2843
+ expected: "(Array<string> | undefined)",
2844
+ value: input3.termIds
2845
+ }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
2846
+ path: _path2 + ".termlst",
2847
+ expected: "Array<BaseTerm>",
2848
+ value: input3.termlst
2849
+ })) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2850
+ path: _path2 + ".termlst[" + _index58 + "]",
2851
+ expected: "BaseTerm",
2852
+ value: elem
2853
+ })) && $vo45(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
2854
+ path: _path2 + ".termlst[" + _index58 + "]",
2855
+ expected: "BaseTerm",
2856
+ value: elem
2857
+ })).every((flag) => flag) || $report(_exceptionable2, {
2858
+ path: _path2 + ".termlst",
2859
+ expected: "Array<BaseTerm>",
2860
+ value: input3.termlst
2861
+ }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
2862
+ path: _path2 + ".newTvs",
2863
+ expected: "(boolean | undefined)",
2864
+ value: input3.newTvs
2865
+ }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
2866
+ path: _path2 + ".propsByTermId",
2867
+ expected: "__type.o6",
2868
+ value: input3.propsByTermId
2869
+ })) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2870
+ path: _path2 + ".propsByTermId",
2871
+ expected: "__type.o6",
2872
+ value: input3.propsByTermId
2873
+ }), "categorical" === input3.memberType || $report(_exceptionable2, {
2874
+ path: _path2 + ".memberType",
2875
+ expected: '"categorical"',
2876
+ value: input3.memberType
2877
+ }), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
2878
+ path: _path2 + ".categoryKeys",
2879
+ expected: "Array<CategoryKey>",
2880
+ value: input3.categoryKeys
2881
+ })) && input3.categoryKeys.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2882
+ path: _path2 + ".categoryKeys[" + _index59 + "]",
2883
+ expected: "CategoryKey",
2884
+ value: elem
2885
+ })) && $vo49(elem, _path2 + ".categoryKeys[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
2886
+ path: _path2 + ".categoryKeys[" + _index59 + "]",
2887
+ expected: "CategoryKey",
2888
+ value: elem
2889
+ })).every((flag) => flag) || $report(_exceptionable2, {
2890
+ path: _path2 + ".categoryKeys",
2891
+ expected: "Array<CategoryKey>",
2892
+ value: input3.categoryKeys
2893
+ })].every((flag) => flag);
2894
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2895
+ path: _path2 + ".key",
2896
+ expected: "string",
2897
+ value: input3.key
2898
+ }), "boolean" === typeof input3.shown || $report(_exceptionable2, {
2899
+ path: _path2 + ".shown",
2900
+ expected: "boolean",
2901
+ value: input3.shown
2902
+ })].every((flag) => flag);
2337
2903
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
2338
2904
  if ("tvslst" === input3.type)
2339
2905
  return $vo1(input3, _path2, _exceptionable2);
@@ -2365,9 +2931,9 @@ var validChatRequest = (input) => {
2365
2931
  })();
2366
2932
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
2367
2933
  if ("gene" === input3.kind)
2368
- return $vo35(input3, _path2, _exceptionable2);
2934
+ return $vo39(input3, _path2, _exceptionable2);
2369
2935
  if ("coord" === input3.kind)
2370
- return $vo36(input3, _path2, _exceptionable2);
2936
+ return $vo40(input3, _path2, _exceptionable2);
2371
2937
  return $report(_exceptionable2, {
2372
2938
  path: _path2,
2373
2939
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -2378,19 +2944,23 @@ var validChatRequest = (input) => {
2378
2944
  if (void 0 !== input3.ranges)
2379
2945
  return $vo13(input3, _path2, _exceptionable2);
2380
2946
  if (void 0 !== input3.ratio)
2381
- return $vo39(input3, _path2, _exceptionable2);
2382
- return $vo3(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
2947
+ return $vo43(input3, _path2, _exceptionable2);
2948
+ return $vo3(input3, _path2, false) || $vo33(input3, _path2, false) || $vo36(input3, _path2, false);
2383
2949
  })();
2384
2950
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
2385
2951
  if ("integer" === input3.type || "float" === input3.type)
2386
2952
  return $vo14(input3, _path2, _exceptionable2);
2387
2953
  if ("metaboliteIntensity" === input3.type)
2388
2954
  return $vo25(input3, _path2, _exceptionable2);
2389
- if ("date" === input3.type)
2955
+ if ("wholeProteomeAbundance" === input3.type)
2390
2956
  return $vo26(input3, _path2, _exceptionable2);
2391
- if ("ssGSEA" === input3.type)
2957
+ if ("date" === input3.type)
2392
2958
  return $vo27(input3, _path2, _exceptionable2);
2393
- return $vo24(input3, _path2, false) || $vo23(input3, _path2, false);
2959
+ if ("ssGSEA" === input3.type)
2960
+ return $vo28(input3, _path2, _exceptionable2);
2961
+ if ("dnaMethylation" === input3.type)
2962
+ return $vo29(input3, _path2, _exceptionable2);
2963
+ return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
2394
2964
  })();
2395
2965
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
2396
2966
  if ("regular-bin" === input3.type)
@@ -2427,15 +2997,26 @@ var validChatRequest = (input) => {
2427
2997
  })();
2428
2998
  const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
2429
2999
  if ("gene" === input3.kind)
2430
- return $vo34(input3, _path2, _exceptionable2);
3000
+ return $vo38(input3, _path2, _exceptionable2);
2431
3001
  if ("coord" === input3.kind)
2432
- return $vo37(input3, _path2, _exceptionable2);
3002
+ return $vo41(input3, _path2, _exceptionable2);
2433
3003
  return $report(_exceptionable2, {
2434
3004
  path: _path2,
2435
3005
  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; })',
2436
3006
  value: input3
2437
3007
  });
2438
3008
  })();
3009
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3010
+ if ("numeric" === input3.memberType)
3011
+ return $vo44(input3, _path2, _exceptionable2);
3012
+ if ("categorical" === input3.memberType)
3013
+ return $vo48(input3, _path2, _exceptionable2);
3014
+ return $report(_exceptionable2, {
3015
+ path: _path2,
3016
+ expected: "(NumericTermCollection | CategoricalTermCollection)",
3017
+ value: input3
3018
+ });
3019
+ })();
2439
3020
  return ("object" === typeof input2 && null !== input2 || $report(true, {
2440
3021
  path: _path + "",
2441
3022
  expected: "ChatRequest",
@@ -2457,13 +3038,16 @@ var validChatRequest = (input) => {
2457
3038
  var validChatResponse = (input) => {
2458
3039
  const errors = [];
2459
3040
  const __is = (input2) => {
2460
- const $io0 = (input3) => "html" === input3.type && "string" === typeof input3.html;
2461
- const $io1 = (input3) => "plot" === input3.type && ("object" === typeof input3.plot && null !== input3.plot && true);
3041
+ const $io0 = (input3) => "text" === input3.type && "string" === typeof input3.text;
3042
+ const $io1 = (input3) => "html" === input3.type && "string" === typeof input3.html;
3043
+ const $io2 = (input3) => "plot" === input3.type && ("object" === typeof input3.plot && null !== input3.plot && true);
2462
3044
  const $iu0 = (input3) => (() => {
2463
- if ("html" === input3.type)
3045
+ if ("text" === input3.type)
2464
3046
  return $io0(input3);
2465
- if ("plot" === input3.type)
3047
+ if ("html" === input3.type)
2466
3048
  return $io1(input3);
3049
+ if ("plot" === input3.type)
3050
+ return $io2(input3);
2467
3051
  return false;
2468
3052
  })();
2469
3053
  return "object" === typeof input2 && null !== input2 && $iu0(input2);
@@ -2471,7 +3055,16 @@ var validChatResponse = (input) => {
2471
3055
  if (false === __is(input)) {
2472
3056
  const $report = import_typia.createValidate.report(errors);
2473
3057
  ((input2, _path, _exceptionable = true) => {
2474
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["html" === input3.type || $report(_exceptionable2, {
3058
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["text" === input3.type || $report(_exceptionable2, {
3059
+ path: _path2 + ".type",
3060
+ expected: '"text"',
3061
+ value: input3.type
3062
+ }), "string" === typeof input3.text || $report(_exceptionable2, {
3063
+ path: _path2 + ".text",
3064
+ expected: "string",
3065
+ value: input3.text
3066
+ })].every((flag) => flag);
3067
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["html" === input3.type || $report(_exceptionable2, {
2475
3068
  path: _path2 + ".type",
2476
3069
  expected: '"html"',
2477
3070
  value: input3.type
@@ -2480,7 +3073,7 @@ var validChatResponse = (input) => {
2480
3073
  expected: "string",
2481
3074
  value: input3.html
2482
3075
  })].every((flag) => flag);
2483
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["plot" === input3.type || $report(_exceptionable2, {
3076
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["plot" === input3.type || $report(_exceptionable2, {
2484
3077
  path: _path2 + ".type",
2485
3078
  expected: '"plot"',
2486
3079
  value: input3.type
@@ -2488,30 +3081,32 @@ var validChatResponse = (input) => {
2488
3081
  path: _path2 + ".plot",
2489
3082
  expected: "object",
2490
3083
  value: input3.plot
2491
- })) && $vo2(input3.plot, _path2 + ".plot", _exceptionable2) || $report(_exceptionable2, {
3084
+ })) && $vo3(input3.plot, _path2 + ".plot", _exceptionable2) || $report(_exceptionable2, {
2492
3085
  path: _path2 + ".plot",
2493
3086
  expected: "object",
2494
3087
  value: input3.plot
2495
3088
  })].every((flag) => flag);
2496
- const $vo2 = (input3, _path2, _exceptionable2 = true) => true;
3089
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => true;
2497
3090
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
2498
- if ("html" === input3.type)
3091
+ if ("text" === input3.type)
2499
3092
  return $vo0(input3, _path2, _exceptionable2);
2500
- if ("plot" === input3.type)
3093
+ if ("html" === input3.type)
2501
3094
  return $vo1(input3, _path2, _exceptionable2);
3095
+ if ("plot" === input3.type)
3096
+ return $vo2(input3, _path2, _exceptionable2);
2502
3097
  return $report(_exceptionable2, {
2503
3098
  path: _path2,
2504
- expected: "(HtmlResponse | PlotResponse)",
3099
+ expected: "(TextResponse | HtmlResponse | PlotResponse)",
2505
3100
  value: input3
2506
3101
  });
2507
3102
  })();
2508
3103
  return ("object" === typeof input2 && null !== input2 || $report(true, {
2509
3104
  path: _path + "",
2510
- expected: "(HtmlResponse | PlotResponse)",
3105
+ expected: "(HtmlResponse | PlotResponse | TextResponse)",
2511
3106
  value: input2
2512
3107
  })) && $vu0(input2, _path + "", true) || $report(true, {
2513
3108
  path: _path + "",
2514
- expected: "(HtmlResponse | PlotResponse)",
3109
+ expected: "(HtmlResponse | PlotResponse | TextResponse)",
2515
3110
  value: input2
2516
3111
  });
2517
3112
  })(input, "$input", true);
@@ -2525,7 +3120,6 @@ var validChatResponse = (input) => {
2525
3120
  };
2526
3121
 
2527
3122
  export {
2528
- ChatPayload,
2529
3123
  validChatRequest,
2530
3124
  validChatResponse
2531
3125
  };