@sjcrh/proteinpaint-types 2.86.0 → 2.87.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/README.md +22 -0
  2. package/dist/brainImaging.js +11 -0
  3. package/dist/brainImagingSamples.js +11 -0
  4. package/dist/burden.js +11 -0
  5. package/dist/chunk-37ZPCVP5.js +111 -0
  6. package/dist/chunk-5GG2FNAY.js +62 -0
  7. package/dist/chunk-5JWTIWVB.js +222 -0
  8. package/dist/chunk-5RZYB4M4.js +171 -0
  9. package/dist/chunk-6EFB6ZMB.js +62 -0
  10. package/dist/chunk-6LFMFM2C.js +122 -0
  11. package/dist/chunk-7PMGKVWQ.js +62 -0
  12. package/dist/chunk-7Z3IHB43.js +152 -0
  13. package/dist/chunk-B3D26X6X.js +337 -0
  14. package/dist/chunk-BY2JABTF.js +256 -0
  15. package/dist/chunk-CETMA2FU.js +144 -0
  16. package/dist/chunk-DCN75URO.js +1740 -0
  17. package/dist/chunk-DIDZMC3G.js +96 -0
  18. package/dist/chunk-DKSPASWZ.js +4058 -0
  19. package/dist/chunk-EWRK4PKZ.js +62 -0
  20. package/dist/chunk-FDTUTGQG.js +288 -0
  21. package/dist/chunk-FZ6QOTGM.js +205 -0
  22. package/dist/chunk-GU7LIGHN.js +174 -0
  23. package/dist/chunk-IL33L6MY.js +126 -0
  24. package/dist/chunk-INDBFC54.js +1538 -0
  25. package/dist/chunk-IT7IGDC4.js +1697 -0
  26. package/dist/chunk-IWG5IPXG.js +3409 -0
  27. package/dist/chunk-JEQ3TBVQ.js +1472 -0
  28. package/dist/chunk-JPW6LFDQ.js +1507 -0
  29. package/dist/chunk-K2KQTFQI.js +113 -0
  30. package/dist/chunk-M33KP65Z.js +3347 -0
  31. package/dist/chunk-MUJUKENL.js +62 -0
  32. package/dist/chunk-N45Z3JCY.js +62 -0
  33. package/dist/chunk-OMHEDUNA.js +62 -0
  34. package/dist/chunk-OY3EKV7F.js +130 -0
  35. package/dist/chunk-Q56YNQFK.js +3417 -0
  36. package/dist/chunk-QDIIM52V.js +165 -0
  37. package/dist/chunk-QX7QLUKY.js +228 -0
  38. package/dist/chunk-RLFGMVJZ.js +234 -0
  39. package/dist/chunk-SDOWCOGK.js +96 -0
  40. package/dist/chunk-UCG25D2C.js +109 -0
  41. package/dist/chunk-UIU3IQH4.js +62 -0
  42. package/dist/chunk-W3F2RMPU.js +3494 -0
  43. package/dist/chunk-W3QYIXXF.js +273 -0
  44. package/dist/chunk-XGAOGA3F.js +159 -0
  45. package/dist/chunk-XJCQEOPB.js +61 -0
  46. package/dist/chunk-XLBSZOMF.js +117 -0
  47. package/dist/chunk-XQQ5G6N6.js +109 -0
  48. package/dist/chunk-Z6B6IQIY.js +1785 -0
  49. package/dist/dataset.js +11 -0
  50. package/dist/dsdata.js +11 -0
  51. package/dist/dzimages.js +11 -0
  52. package/dist/gdc.maf.js +11 -0
  53. package/dist/gdc.mafBuild.js +11 -0
  54. package/dist/gdc.topMutatedGenes.js +11 -0
  55. package/dist/genelookup.js +11 -0
  56. package/dist/genesetEnrichment.js +11 -0
  57. package/dist/genesetOverrepresentation.js +11 -0
  58. package/dist/healthcheck.js +11 -0
  59. package/dist/hicdata.js +11 -0
  60. package/dist/hicgenome.js +11 -0
  61. package/dist/hicstat.js +11 -0
  62. package/dist/index.js +347 -0
  63. package/dist/isoformlst.js +11 -0
  64. package/dist/ntseq.js +11 -0
  65. package/dist/pdomain.js +11 -0
  66. package/dist/samplewsimages.js +11 -0
  67. package/dist/snp.js +11 -0
  68. package/dist/termdb.DE.js +11 -0
  69. package/dist/termdb.boxplot.js +11 -0
  70. package/dist/termdb.categories.js +11 -0
  71. package/dist/termdb.cluster.js +11 -0
  72. package/dist/termdb.cohort.summary.js +11 -0
  73. package/dist/termdb.cohorts.js +11 -0
  74. package/dist/termdb.descrstats.js +11 -0
  75. package/dist/termdb.numericcategories.js +11 -0
  76. package/dist/termdb.percentile.js +11 -0
  77. package/dist/termdb.rootterm.js +11 -0
  78. package/dist/termdb.sampleImages.js +11 -0
  79. package/dist/termdb.singleSampleMutation.js +11 -0
  80. package/dist/termdb.singlecellDEgenes.js +11 -0
  81. package/dist/termdb.singlecellData.js +11 -0
  82. package/dist/termdb.singlecellSamples.js +11 -0
  83. package/dist/termdb.termchildren.js +11 -0
  84. package/dist/termdb.termsbyids.js +11 -0
  85. package/dist/termdb.topTermsByType.js +11 -0
  86. package/dist/termdb.topVariablyExpressedGenes.js +11 -0
  87. package/dist/termdb.violin.js +11 -0
  88. package/dist/tileserver.js +11 -0
  89. package/dist/wsimages.js +11 -0
  90. package/package.json +17 -15
  91. package/src/Mclass.ts +8 -0
  92. package/src/dataset.ts +1588 -0
  93. package/src/docs.json +16417 -0
  94. package/src/fileOrUrl.ts +15 -0
  95. package/src/filter.ts +125 -0
  96. package/src/genome.ts +123 -0
  97. package/src/index.ts +67 -0
  98. package/src/routes/brainImaging.ts +47 -0
  99. package/src/routes/brainImagingSamples.ts +25 -0
  100. package/src/routes/burden.ts +111 -0
  101. package/src/routes/dataset.ts +14 -0
  102. package/src/routes/dsdata.ts +14 -0
  103. package/src/routes/dzimages.ts +25 -0
  104. package/src/routes/errorResponse.ts +6 -0
  105. package/src/routes/filter.gdc.ts +15 -0
  106. package/src/routes/gdc.maf.ts +52 -0
  107. package/src/routes/gdc.mafBuild.ts +20 -0
  108. package/src/routes/gdc.topMutatedGenes.ts +37 -0
  109. package/src/routes/genelookup.ts +22 -0
  110. package/src/routes/genesetEnrichment.ts +60 -0
  111. package/src/routes/genesetOverrepresentation.ts +48 -0
  112. package/src/routes/healthcheck.ts +79 -0
  113. package/src/routes/hicdata.ts +48 -0
  114. package/src/routes/hicgenome.ts +50 -0
  115. package/src/routes/hicstat.ts +57 -0
  116. package/src/routes/isoformlst.ts +14 -0
  117. package/src/routes/ntseq.ts +14 -0
  118. package/src/routes/pdomain.ts +14 -0
  119. package/src/routes/routeApi.ts +41 -0
  120. package/src/routes/samplewsimages.ts +27 -0
  121. package/src/routes/snp.ts +13 -0
  122. package/src/routes/termdb.DE.ts +57 -0
  123. package/src/routes/termdb.boxplot.ts +78 -0
  124. package/src/routes/termdb.categories.ts +73 -0
  125. package/src/routes/termdb.cluster.ts +103 -0
  126. package/src/routes/termdb.cohort.summary.ts +14 -0
  127. package/src/routes/termdb.cohorts.ts +14 -0
  128. package/src/routes/termdb.descrstats.ts +78 -0
  129. package/src/routes/termdb.numericcategories.ts +32 -0
  130. package/src/routes/termdb.percentile.ts +65 -0
  131. package/src/routes/termdb.rootterm.ts +49 -0
  132. package/src/routes/termdb.sampleImages.ts +26 -0
  133. package/src/routes/termdb.singleSampleMutation.ts +29 -0
  134. package/src/routes/termdb.singlecellDEgenes.ts +41 -0
  135. package/src/routes/termdb.singlecellData.ts +69 -0
  136. package/src/routes/termdb.singlecellSamples.ts +46 -0
  137. package/src/routes/termdb.termchildren.ts +49 -0
  138. package/src/routes/termdb.termsbyids.ts +26 -0
  139. package/src/routes/termdb.topTermsByType.ts +32 -0
  140. package/src/routes/termdb.topVariablyExpressedGenes.ts +56 -0
  141. package/src/routes/termdb.violin.ts +122 -0
  142. package/src/routes/tileserver.ts +14 -0
  143. package/src/routes/wsimages.ts +24 -0
  144. package/src/terms/categorical.ts +106 -0
  145. package/src/terms/condition.ts +55 -0
  146. package/src/terms/geneExpression.ts +32 -0
  147. package/src/terms/geneVariant.ts +51 -0
  148. package/src/terms/metaboliteIntensity.ts +31 -0
  149. package/src/terms/numeric.ts +253 -0
  150. package/src/terms/q.ts +38 -0
  151. package/src/terms/samplelst.ts +41 -0
  152. package/src/terms/singleCellCellType.ts +22 -0
  153. package/src/terms/singleCellGeneExpression.ts +28 -0
  154. package/src/terms/snp.ts +28 -0
  155. package/src/terms/snps.ts +110 -0
  156. package/src/terms/term.ts +184 -0
  157. package/src/terms/tw.ts +38 -0
  158. package/src/terms/updated-types.ts +9 -0
  159. package/src/termsetting.ts +197 -0
  160. package/src/test/numeric.type.spec.ts +275 -0
  161. package/src/vocab.ts +37 -0
  162. package/dist/routes.ts +0 -28911
  163. package/src/Mclass.js +0 -0
  164. package/src/checkers/routes.js +0 -167
  165. package/src/dataset.js +0 -0
  166. package/src/fileOrUrl.js +0 -0
  167. package/src/filter.js +0 -0
  168. package/src/genome.js +0 -0
  169. package/src/index.js +0 -66
  170. package/src/routes/brainImaging.js +0 -11
  171. package/src/routes/brainImagingSamples.js +0 -11
  172. package/src/routes/burden.js +0 -44
  173. package/src/routes/dataset.js +0 -12
  174. package/src/routes/dsdata.js +0 -12
  175. package/src/routes/dzimages.js +0 -12
  176. package/src/routes/errorResponse.js +0 -0
  177. package/src/routes/filter.gdc.js +0 -0
  178. package/src/routes/gdc.maf.js +0 -17
  179. package/src/routes/gdc.mafBuild.js +0 -12
  180. package/src/routes/gdc.topMutatedGenes.js +0 -12
  181. package/src/routes/genelookup.js +0 -12
  182. package/src/routes/genesetEnrichment.js +0 -12
  183. package/src/routes/genesetOverrepresentation.js +0 -12
  184. package/src/routes/healthcheck.js +0 -23
  185. package/src/routes/hicdata.js +0 -12
  186. package/src/routes/hicgenome.js +0 -29
  187. package/src/routes/hicstat.js +0 -12
  188. package/src/routes/isoformlst.js +0 -12
  189. package/src/routes/ntseq.js +0 -12
  190. package/src/routes/pdomain.js +0 -12
  191. package/src/routes/routeApi.js +0 -0
  192. package/src/routes/samplewsimages.js +0 -12
  193. package/src/routes/snp.js +0 -11
  194. package/src/routes/termdb.DE.js +0 -13
  195. package/src/routes/termdb.boxplot.js +0 -12
  196. package/src/routes/termdb.categories.js +0 -48
  197. package/src/routes/termdb.cluster.js +0 -12
  198. package/src/routes/termdb.cohort.summary.js +0 -12
  199. package/src/routes/termdb.cohorts.js +0 -12
  200. package/src/routes/termdb.descrstats.js +0 -48
  201. package/src/routes/termdb.numericcategories.js +0 -12
  202. package/src/routes/termdb.percentile.js +0 -49
  203. package/src/routes/termdb.rootterm.js +0 -27
  204. package/src/routes/termdb.sampleImages.js +0 -12
  205. package/src/routes/termdb.singleSampleMutation.js +0 -12
  206. package/src/routes/termdb.singlecellDEgenes.js +0 -12
  207. package/src/routes/termdb.singlecellData.js +0 -12
  208. package/src/routes/termdb.singlecellSamples.js +0 -12
  209. package/src/routes/termdb.termchildren.js +0 -28
  210. package/src/routes/termdb.termsbyids.js +0 -12
  211. package/src/routes/termdb.topTermsByType.js +0 -12
  212. package/src/routes/termdb.topVariablyExpressedGenes.js +0 -12
  213. package/src/routes/termdb.violin.js +0 -49
  214. package/src/routes/tileserver.js +0 -12
  215. package/src/routes/wsimages.js +0 -12
  216. package/src/terms/categorical.js +0 -0
  217. package/src/terms/condition.js +0 -0
  218. package/src/terms/geneExpression.js +0 -0
  219. package/src/terms/geneVariant.js +0 -0
  220. package/src/terms/metaboliteIntensity.js +0 -0
  221. package/src/terms/numeric.js +0 -0
  222. package/src/terms/q.js +0 -0
  223. package/src/terms/samplelst.js +0 -0
  224. package/src/terms/singleCellCellType.js +0 -0
  225. package/src/terms/singleCellGeneExpression.js +0 -0
  226. package/src/terms/snp.js +0 -0
  227. package/src/terms/snps.js +0 -0
  228. package/src/terms/term.js +0 -0
  229. package/src/terms/tw.js +0 -0
  230. package/src/terms/updated-types.js +0 -0
  231. package/src/termsetting.js +0 -0
  232. package/src/test/numeric.type.spec.js +0 -117
  233. package/src/vocab.js +0 -0
@@ -0,0 +1,4058 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.cluster.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.cluster.ts
10
+ var termdbClusterPayload = {
11
+ request: {
12
+ typeId: "TermdbClusterRequest"
13
+ },
14
+ response: {
15
+ typeId: "TermdbClusterResponse"
16
+ }
17
+ //examples: []
18
+ };
19
+
20
+ // dist/termdb.cluster.ts
21
+ var validTermdbClusterRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ const $join = import_typia.createValidate.join;
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
26
+ const $io1 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === input3.join) && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
27
+ const $io2 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io3(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io5(elem)));
28
+ const $io3 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
29
+ const $io4 = (input3) => Object.keys(input3).every((key) => {
30
+ const value = input3[key];
31
+ if (void 0 === value)
32
+ return true;
33
+ if (RegExp(/(.*)/).test(key))
34
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
35
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
36
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io5(value);
37
+ return true;
38
+ });
39
+ const $io5 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
40
+ const $io6 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)));
41
+ const $io7 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
42
+ const $io8 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
43
+ const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
44
+ const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
45
+ const $io11 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
46
+ const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io21(elem)));
47
+ const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "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) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
48
+ const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
49
+ const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
50
+ const $io16 = (input3) => Object.keys(input3).every((key) => {
51
+ const value = input3[key];
52
+ if (void 0 === value)
53
+ return true;
54
+ if (RegExp(/(.*)/).test(key))
55
+ return "number" === typeof value;
56
+ return true;
57
+ });
58
+ const $io17 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
59
+ const $io18 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
60
+ const $io19 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
61
+ const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
62
+ const $io21 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
63
+ const $io22 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io23(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 && $io24(elem)));
64
+ const $io23 = (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) && $io4(input3.values));
65
+ const $io24 = (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;
66
+ const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
67
+ const $io26 = (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) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "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 $io27 = (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) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
69
+ const $io28 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
70
+ const $io29 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
71
+ const $io30 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
72
+ const $io31 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
73
+ const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "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) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "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);
74
+ const $io33 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
75
+ const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "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) && $io4(input3.values)) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite;
76
+ const $io35 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io36(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
77
+ const $io36 = (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) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
78
+ const $iu0 = (input3) => (() => {
79
+ if (void 0 !== input3.type)
80
+ return $io1(input3);
81
+ if (void 0 !== input3.ranges)
82
+ return $io12(input3);
83
+ return (() => {
84
+ if ($io2(input3))
85
+ return $io2(input3);
86
+ if ($io22(input3))
87
+ return $io22(input3);
88
+ if ($io25(input3))
89
+ return $io25(input3);
90
+ return false;
91
+ })();
92
+ })();
93
+ const $iu1 = (input3) => (() => {
94
+ if ("string" === typeof input3.type)
95
+ return $io8(input3);
96
+ if ("filter" === input3.type)
97
+ return $io10(input3);
98
+ return false;
99
+ })();
100
+ const $iu2 = (input3) => (() => {
101
+ if (true === input3.startunbounded)
102
+ return $io17(input3);
103
+ if (true === input3.stopunbounded)
104
+ return $io19(input3);
105
+ return $io18(input3);
106
+ })();
107
+ const $iu3 = (input3) => (() => {
108
+ if (2 === input3.dt)
109
+ return $io31(input3);
110
+ if (5 === input3.dt)
111
+ return $io30(input3);
112
+ if (4 === input3.dt)
113
+ return $io29(input3);
114
+ if (1 === input3.dt)
115
+ return $io28(input3);
116
+ return false;
117
+ })();
118
+ const $iu4 = (input3) => (() => {
119
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)))
120
+ return $io6(input3);
121
+ return $io11(input3);
122
+ })();
123
+ const $iu5 = (input3) => (() => {
124
+ if ("regular-bin" === input3.type)
125
+ return $io15(input3);
126
+ if ("custom-bin" === input3.type)
127
+ return $io20(input3);
128
+ return false;
129
+ })();
130
+ const $iu6 = (input3) => (() => {
131
+ if (true === input3.startunbounded)
132
+ return $io17(input3);
133
+ if (void 0 !== input3.start)
134
+ return $io18(input3);
135
+ return false;
136
+ })();
137
+ const $iu7 = (input3) => (() => {
138
+ if (void 0 !== input3.stop)
139
+ return $io18(input3);
140
+ if (true === input3.stopunbounded)
141
+ return $io19(input3);
142
+ return false;
143
+ })();
144
+ const $iu8 = (input3) => (() => {
145
+ if ("gene" === input3.kind)
146
+ return $io26(input3);
147
+ if ("coord" === input3.kind)
148
+ return $io27(input3);
149
+ return false;
150
+ })();
151
+ const $iu9 = (input3) => (() => {
152
+ if ("numericDictTerm" === input3.dataType)
153
+ return $io35(input3);
154
+ if ("metaboliteIntensity" === input3.dataType)
155
+ return $io33(input3);
156
+ if ("geneExpression" === input3.dataType)
157
+ return $io0(input3);
158
+ return false;
159
+ })();
160
+ return "object" === typeof input2 && null !== input2 && $iu9(input2);
161
+ };
162
+ if (false === __is(input)) {
163
+ const $report = import_typia.createValidate.report(errors);
164
+ ((input2, _path, _exceptionable = true) => {
165
+ const $join = import_typia.createValidate.join;
166
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
167
+ path: _path2 + ".genome",
168
+ expected: "string",
169
+ value: input3.genome
170
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
171
+ path: _path2 + ".dslabel",
172
+ expected: "string",
173
+ value: input3.dslabel
174
+ }), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
175
+ path: _path2 + ".clusterMethod",
176
+ expected: "string",
177
+ value: input3.clusterMethod
178
+ }), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
179
+ path: _path2 + ".distanceMethod",
180
+ expected: "string",
181
+ value: input3.distanceMethod
182
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
183
+ path: _path2 + ".filter",
184
+ expected: "(Filter | undefined)",
185
+ value: input3.filter
186
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
187
+ path: _path2 + ".filter",
188
+ expected: "(Filter | undefined)",
189
+ value: input3.filter
190
+ }), true, "geneExpression" === input3.dataType || $report(_exceptionable2, {
191
+ path: _path2 + ".dataType",
192
+ expected: '"geneExpression"',
193
+ value: input3.dataType
194
+ }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
195
+ path: _path2 + ".terms",
196
+ expected: "Array<GeneExpressionTerm>",
197
+ value: input3.terms
198
+ })) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
199
+ path: _path2 + ".terms[" + _index1 + "]",
200
+ expected: "GeneExpressionTerm",
201
+ value: elem
202
+ })) && $vo32(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
203
+ path: _path2 + ".terms[" + _index1 + "]",
204
+ expected: "GeneExpressionTerm",
205
+ value: elem
206
+ })).every((flag) => flag) || $report(_exceptionable2, {
207
+ path: _path2 + ".terms",
208
+ expected: "Array<GeneExpressionTerm>",
209
+ value: input3.terms
210
+ }), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
211
+ path: _path2 + ".zScoreTransformation",
212
+ expected: "(string | undefined)",
213
+ value: input3.zScoreTransformation
214
+ })].every((flag) => flag);
215
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
216
+ path: _path2 + ".type",
217
+ expected: '"lst"',
218
+ value: input3.type
219
+ }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
220
+ path: _path2 + '["in"]',
221
+ expected: "(boolean | undefined)",
222
+ value: input3["in"]
223
+ }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
224
+ path: _path2 + ".join",
225
+ expected: '("and" | "or")',
226
+ value: input3.join
227
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
228
+ path: _path2 + ".tag",
229
+ expected: "(string | undefined)",
230
+ value: input3.tag
231
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
232
+ path: _path2 + ".lst",
233
+ expected: "Array<Filter | Tvs>",
234
+ value: input3.lst
235
+ })) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
236
+ path: _path2 + ".lst[" + _index2 + "]",
237
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
238
+ value: elem
239
+ })) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
240
+ path: _path2 + ".lst[" + _index2 + "]",
241
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
242
+ value: elem
243
+ })).every((flag) => flag) || $report(_exceptionable2, {
244
+ path: _path2 + ".lst",
245
+ expected: "Array<Filter | Tvs>",
246
+ value: input3.lst
247
+ })].every((flag) => flag);
248
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
249
+ path: _path2 + ".join",
250
+ expected: "(string | undefined)",
251
+ value: input3.join
252
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
253
+ path: _path2 + ".isnot",
254
+ expected: "(boolean | undefined)",
255
+ value: input3.isnot
256
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
257
+ path: _path2 + ".term",
258
+ expected: "CategoricalTerm",
259
+ value: input3.term
260
+ })) && $vo3(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
261
+ path: _path2 + ".term",
262
+ expected: "CategoricalTerm",
263
+ value: input3.term
264
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
265
+ path: _path2 + ".groupset_label",
266
+ expected: "(string | undefined)",
267
+ value: input3.groupset_label
268
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
269
+ path: _path2 + ".values",
270
+ expected: "Array<BaseValue>",
271
+ value: input3.values
272
+ })) && input3.values.map((elem, _index3) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
273
+ path: _path2 + ".values[" + _index3 + "]",
274
+ expected: "BaseValue",
275
+ value: elem
276
+ })) && $vo5(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
277
+ path: _path2 + ".values[" + _index3 + "]",
278
+ expected: "BaseValue",
279
+ value: elem
280
+ })).every((flag) => flag) || $report(_exceptionable2, {
281
+ path: _path2 + ".values",
282
+ expected: "Array<BaseValue>",
283
+ value: input3.values
284
+ })].every((flag) => flag);
285
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
286
+ path: _path2 + ".id",
287
+ expected: "string",
288
+ value: input3.id
289
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
290
+ path: _path2 + ".name",
291
+ expected: "string",
292
+ value: input3.name
293
+ }), "categorical" === input3.type || $report(_exceptionable2, {
294
+ path: _path2 + ".type",
295
+ expected: '"categorical"',
296
+ value: input3.type
297
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
298
+ path: _path2 + ".child_types",
299
+ expected: "(Array<string> | undefined)",
300
+ value: input3.child_types
301
+ })) && input3.child_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
302
+ path: _path2 + ".child_types[" + _index4 + "]",
303
+ expected: "string",
304
+ value: elem
305
+ })).every((flag) => flag) || $report(_exceptionable2, {
306
+ path: _path2 + ".child_types",
307
+ expected: "(Array<string> | undefined)",
308
+ value: input3.child_types
309
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
310
+ path: _path2 + ".hashtmldetail",
311
+ expected: "(boolean | undefined)",
312
+ value: input3.hashtmldetail
313
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
314
+ path: _path2 + ".included_types",
315
+ expected: "(Array<string> | undefined)",
316
+ value: input3.included_types
317
+ })) && input3.included_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
318
+ path: _path2 + ".included_types[" + _index5 + "]",
319
+ expected: "string",
320
+ value: elem
321
+ })).every((flag) => flag) || $report(_exceptionable2, {
322
+ path: _path2 + ".included_types",
323
+ expected: "(Array<string> | undefined)",
324
+ value: input3.included_types
325
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
326
+ path: _path2 + ".isleaf",
327
+ expected: "(boolean | undefined)",
328
+ value: input3.isleaf
329
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
330
+ path: _path2 + ".values",
331
+ expected: "(TermValues | undefined)",
332
+ value: input3.values
333
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
334
+ path: _path2 + ".values",
335
+ expected: "(TermValues | undefined)",
336
+ value: input3.values
337
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
338
+ path: _path2 + ".groupsetting",
339
+ expected: "(EnabledTermGroupSetting | __type.o1)",
340
+ value: input3.groupsetting
341
+ })) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
342
+ path: _path2 + ".groupsetting",
343
+ expected: "(EnabledTermGroupSetting | __type.o1)",
344
+ value: input3.groupsetting
345
+ })].every((flag) => flag);
346
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
347
+ const value = input3[key];
348
+ if (void 0 === value)
349
+ return true;
350
+ if (RegExp(/(.*)/).test(key))
351
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
352
+ path: _path2 + $join(key),
353
+ expected: "BaseValue",
354
+ value
355
+ })) && $vo5(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
356
+ path: _path2 + $join(key),
357
+ expected: "BaseValue",
358
+ value
359
+ });
360
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
361
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
362
+ path: _path2 + $join(key),
363
+ expected: "BaseValue",
364
+ value
365
+ })) && $vo5(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
366
+ path: _path2 + $join(key),
367
+ expected: "BaseValue",
368
+ value
369
+ });
370
+ return true;
371
+ }).every((flag) => flag)].every((flag) => flag);
372
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
373
+ path: _path2 + ".key",
374
+ expected: "(string | undefined)",
375
+ value: input3.key
376
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
377
+ path: _path2 + ".uncomputable",
378
+ expected: "(boolean | undefined)",
379
+ value: input3.uncomputable
380
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
381
+ path: _path2 + ".label",
382
+ expected: "(number | string | undefined)",
383
+ value: input3.label
384
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
385
+ path: _path2 + ".order",
386
+ expected: "(string | undefined)",
387
+ value: input3.order
388
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
389
+ path: _path2 + ".color",
390
+ expected: "(string | undefined)",
391
+ value: input3.color
392
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
393
+ path: _path2 + ".group",
394
+ expected: "(number | undefined)",
395
+ value: input3.group
396
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
397
+ path: _path2 + ".filter",
398
+ expected: "(Filter | undefined)",
399
+ value: input3.filter
400
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
401
+ path: _path2 + ".filter",
402
+ expected: "(Filter | undefined)",
403
+ value: input3.filter
404
+ })].every((flag) => flag);
405
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
406
+ path: _path2 + ".disabled",
407
+ expected: "(boolean | undefined)",
408
+ value: input3.disabled
409
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
410
+ path: _path2 + ".lst",
411
+ expected: "Array<Groupset>",
412
+ value: input3.lst
413
+ })) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
414
+ path: _path2 + ".lst[" + _index6 + "]",
415
+ expected: "Groupset",
416
+ value: elem
417
+ })) && $vo7(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
418
+ path: _path2 + ".lst[" + _index6 + "]",
419
+ expected: "Groupset",
420
+ value: elem
421
+ })).every((flag) => flag) || $report(_exceptionable2, {
422
+ path: _path2 + ".lst",
423
+ expected: "Array<Groupset>",
424
+ value: input3.lst
425
+ })].every((flag) => flag);
426
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
427
+ path: _path2 + ".name",
428
+ expected: "string",
429
+ value: input3.name
430
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
431
+ path: _path2 + ".is_grade",
432
+ expected: "(boolean | undefined)",
433
+ value: input3.is_grade
434
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
435
+ path: _path2 + ".is_subcondition",
436
+ expected: "(boolean | undefined)",
437
+ value: input3.is_subcondition
438
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
439
+ path: _path2 + ".groups",
440
+ expected: "Array<GroupEntry>",
441
+ value: input3.groups
442
+ })) && input3.groups.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
443
+ path: _path2 + ".groups[" + _index7 + "]",
444
+ expected: "(FilterGroup | ValuesGroup)",
445
+ value: elem
446
+ })) && $vu1(elem, _path2 + ".groups[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
447
+ path: _path2 + ".groups[" + _index7 + "]",
448
+ expected: "(FilterGroup | ValuesGroup)",
449
+ value: elem
450
+ })).every((flag) => flag) || $report(_exceptionable2, {
451
+ path: _path2 + ".groups",
452
+ expected: "Array<GroupEntry>",
453
+ value: input3.groups
454
+ })].every((flag) => flag);
455
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
456
+ path: _path2 + ".name",
457
+ expected: "string",
458
+ value: input3.name
459
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
460
+ path: _path2 + ".type",
461
+ expected: "string",
462
+ value: input3.type
463
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
464
+ path: _path2 + ".values",
465
+ expected: "Array<__type>",
466
+ value: input3.values
467
+ })) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
468
+ path: _path2 + ".values[" + _index8 + "]",
469
+ expected: "__type",
470
+ value: elem
471
+ })) && $vo9(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
472
+ path: _path2 + ".values[" + _index8 + "]",
473
+ expected: "__type",
474
+ value: elem
475
+ })).every((flag) => flag) || $report(_exceptionable2, {
476
+ path: _path2 + ".values",
477
+ expected: "Array<__type>",
478
+ value: input3.values
479
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
480
+ path: _path2 + ".uncomputable",
481
+ expected: "(boolean | undefined)",
482
+ value: input3.uncomputable
483
+ })].every((flag) => flag);
484
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
485
+ path: _path2 + ".key",
486
+ expected: "(number | string)",
487
+ value: input3.key
488
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
489
+ path: _path2 + ".label",
490
+ expected: "string",
491
+ value: input3.label
492
+ })].every((flag) => flag);
493
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
494
+ path: _path2 + ".name",
495
+ expected: "string",
496
+ value: input3.name
497
+ }), "filter" === input3.type || $report(_exceptionable2, {
498
+ path: _path2 + ".type",
499
+ expected: '"filter"',
500
+ value: input3.type
501
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
502
+ path: _path2 + ".filter",
503
+ expected: "Filter",
504
+ value: input3.filter
505
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
506
+ path: _path2 + ".filter",
507
+ expected: "Filter",
508
+ value: input3.filter
509
+ })].every((flag) => flag);
510
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
511
+ path: _path2 + ".disabled",
512
+ expected: "boolean",
513
+ value: input3.disabled
514
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
515
+ path: _path2 + ".lst",
516
+ expected: "([] | undefined)",
517
+ value: input3.lst
518
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
519
+ path: _path2 + ".lst",
520
+ expected: "[]",
521
+ value: input3.lst
522
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
523
+ path: _path2 + ".lst",
524
+ expected: "([] | undefined)",
525
+ value: input3.lst
526
+ })].every((flag) => flag);
527
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
528
+ path: _path2 + ".join",
529
+ expected: "(string | undefined)",
530
+ value: input3.join
531
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
532
+ path: _path2 + ".isnot",
533
+ expected: "(boolean | undefined)",
534
+ value: input3.isnot
535
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
536
+ path: _path2 + ".term",
537
+ expected: "NumericTerm",
538
+ value: input3.term
539
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
540
+ path: _path2 + ".term",
541
+ expected: "NumericTerm",
542
+ value: input3.term
543
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
544
+ path: _path2 + ".ranges",
545
+ expected: "Array<NumericBin>",
546
+ value: input3.ranges
547
+ })) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
548
+ path: _path2 + ".ranges[" + _index9 + "]",
549
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
550
+ value: elem
551
+ })) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
552
+ path: _path2 + ".ranges[" + _index9 + "]",
553
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
554
+ value: elem
555
+ })).every((flag) => flag) || $report(_exceptionable2, {
556
+ path: _path2 + ".ranges",
557
+ expected: "Array<NumericBin>",
558
+ value: input3.ranges
559
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
560
+ path: _path2 + ".values",
561
+ expected: "Array<__type>.o1",
562
+ value: input3.values
563
+ })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
564
+ path: _path2 + ".values[" + _index10 + "]",
565
+ expected: "__type.o2",
566
+ value: elem
567
+ })) && $vo21(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
568
+ path: _path2 + ".values[" + _index10 + "]",
569
+ expected: "__type.o2",
570
+ value: elem
571
+ })).every((flag) => flag) || $report(_exceptionable2, {
572
+ path: _path2 + ".values",
573
+ expected: "Array<__type>.o1",
574
+ value: input3.values
575
+ })].every((flag) => flag);
576
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
577
+ path: _path2 + ".id",
578
+ expected: "string",
579
+ value: input3.id
580
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
581
+ path: _path2 + ".name",
582
+ expected: "string",
583
+ value: input3.name
584
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
585
+ path: _path2 + ".type",
586
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
587
+ value: input3.type
588
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
589
+ path: _path2 + ".child_types",
590
+ expected: "(Array<string> | undefined)",
591
+ value: input3.child_types
592
+ })) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
593
+ path: _path2 + ".child_types[" + _index11 + "]",
594
+ expected: "string",
595
+ value: elem
596
+ })).every((flag) => flag) || $report(_exceptionable2, {
597
+ path: _path2 + ".child_types",
598
+ expected: "(Array<string> | undefined)",
599
+ value: input3.child_types
600
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
601
+ path: _path2 + ".hashtmldetail",
602
+ expected: "(boolean | undefined)",
603
+ value: input3.hashtmldetail
604
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
605
+ path: _path2 + ".included_types",
606
+ expected: "(Array<string> | undefined)",
607
+ value: input3.included_types
608
+ })) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
609
+ path: _path2 + ".included_types[" + _index12 + "]",
610
+ expected: "string",
611
+ value: elem
612
+ })).every((flag) => flag) || $report(_exceptionable2, {
613
+ path: _path2 + ".included_types",
614
+ expected: "(Array<string> | undefined)",
615
+ value: input3.included_types
616
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
617
+ path: _path2 + ".isleaf",
618
+ expected: "(boolean | undefined)",
619
+ value: input3.isleaf
620
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
621
+ path: _path2 + ".values",
622
+ expected: "(TermValues | undefined)",
623
+ value: input3.values
624
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
625
+ path: _path2 + ".values",
626
+ expected: "(TermValues | undefined)",
627
+ value: input3.values
628
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
629
+ path: _path2 + ".bins",
630
+ expected: "PresetNumericBins",
631
+ value: input3.bins
632
+ })) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
633
+ path: _path2 + ".bins",
634
+ expected: "PresetNumericBins",
635
+ value: input3.bins
636
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
637
+ path: _path2 + ".unit",
638
+ expected: "(string | undefined)",
639
+ value: input3.unit
640
+ })].every((flag) => flag);
641
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
642
+ path: _path2 + '["default"]',
643
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
644
+ value: input3["default"]
645
+ })) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
646
+ path: _path2 + '["default"]',
647
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
648
+ value: input3["default"]
649
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
650
+ path: _path2 + ".less",
651
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
652
+ value: input3.less
653
+ })) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
654
+ path: _path2 + ".less",
655
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
656
+ value: input3.less
657
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
658
+ path: _path2 + ".label_offset",
659
+ expected: "(number | undefined)",
660
+ value: input3.label_offset
661
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
662
+ path: _path2 + ".label_offset_ignored",
663
+ expected: "(boolean | undefined)",
664
+ value: input3.label_offset_ignored
665
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
666
+ path: _path2 + ".rounding",
667
+ expected: "(string | undefined)",
668
+ value: input3.rounding
669
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
670
+ path: _path2 + ".min",
671
+ expected: "(number | undefined)",
672
+ value: input3.min
673
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
674
+ path: _path2 + ".max",
675
+ expected: "(number | undefined)",
676
+ value: input3.max
677
+ })].every((flag) => flag);
678
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
679
+ path: _path2 + ".hiddenValues",
680
+ expected: "(HiddenValues | undefined)",
681
+ value: input3.hiddenValues
682
+ })) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
683
+ path: _path2 + ".hiddenValues",
684
+ expected: "(HiddenValues | undefined)",
685
+ value: input3.hiddenValues
686
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
687
+ path: _path2 + ".isAtomic",
688
+ expected: "(true | undefined)",
689
+ value: input3.isAtomic
690
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
691
+ path: _path2 + ".name",
692
+ expected: "(string | undefined)",
693
+ value: input3.name
694
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
695
+ path: _path2 + ".reuseId",
696
+ expected: "(string | undefined)",
697
+ value: input3.reuseId
698
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
699
+ path: _path2 + ".type",
700
+ expected: '"regular-bin"',
701
+ value: input3.type
702
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
703
+ path: _path2 + ".mode",
704
+ expected: '("discrete" | undefined)',
705
+ value: input3.mode
706
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
707
+ path: _path2 + ".bin_size",
708
+ expected: "number",
709
+ value: input3.bin_size
710
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
711
+ path: _path2 + ".first_bin",
712
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
713
+ value: input3.first_bin
714
+ })) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
715
+ path: _path2 + ".first_bin",
716
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
717
+ value: input3.first_bin
718
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
719
+ path: _path2 + ".last_bin",
720
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
721
+ value: input3.last_bin
722
+ })) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
723
+ path: _path2 + ".last_bin",
724
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
725
+ value: input3.last_bin
726
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
727
+ path: _path2 + ".label_offset",
728
+ expected: "(number | undefined)",
729
+ value: input3.label_offset
730
+ })].every((flag) => flag);
731
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
732
+ const value = input3[key];
733
+ if (void 0 === value)
734
+ return true;
735
+ if (RegExp(/(.*)/).test(key))
736
+ return "number" === typeof value || $report(_exceptionable2, {
737
+ path: _path2 + $join(key),
738
+ expected: "number",
739
+ value
740
+ });
741
+ return true;
742
+ }).every((flag) => flag)].every((flag) => flag);
743
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
744
+ path: _path2 + ".startunbounded",
745
+ expected: "true",
746
+ value: input3.startunbounded
747
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
748
+ path: _path2 + ".startinclusive",
749
+ expected: "(false | undefined)",
750
+ value: input3.startinclusive
751
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
752
+ path: _path2 + ".stop",
753
+ expected: "number",
754
+ value: input3.stop
755
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
756
+ path: _path2 + ".stopinclusive",
757
+ expected: "(boolean | undefined)",
758
+ value: input3.stopinclusive
759
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
760
+ path: _path2 + ".stopunbounded",
761
+ expected: "(false | undefined)",
762
+ value: input3.stopunbounded
763
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
764
+ path: _path2 + ".label",
765
+ expected: "(string | undefined)",
766
+ value: input3.label
767
+ })].every((flag) => flag);
768
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
769
+ path: _path2 + ".startunbounded",
770
+ expected: "(false | undefined)",
771
+ value: input3.startunbounded
772
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
773
+ path: _path2 + ".startinclusive",
774
+ expected: "(boolean | undefined)",
775
+ value: input3.startinclusive
776
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
777
+ path: _path2 + ".start",
778
+ expected: "number",
779
+ value: input3.start
780
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
781
+ path: _path2 + ".stop",
782
+ expected: "number",
783
+ value: input3.stop
784
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
785
+ path: _path2 + ".stopinclusive",
786
+ expected: "(boolean | undefined)",
787
+ value: input3.stopinclusive
788
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
789
+ path: _path2 + ".stopunbounded",
790
+ expected: "(false | undefined)",
791
+ value: input3.stopunbounded
792
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
793
+ path: _path2 + ".label",
794
+ expected: "(string | undefined)",
795
+ value: input3.label
796
+ })].every((flag) => flag);
797
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
798
+ path: _path2 + ".start",
799
+ expected: "number",
800
+ value: input3.start
801
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
802
+ path: _path2 + ".stopunbounded",
803
+ expected: "true",
804
+ value: input3.stopunbounded
805
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
806
+ path: _path2 + ".startinclusive",
807
+ expected: "(boolean | undefined)",
808
+ value: input3.startinclusive
809
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
810
+ path: _path2 + ".startunbounded",
811
+ expected: "(false | undefined)",
812
+ value: input3.startunbounded
813
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
814
+ path: _path2 + ".stopinclusive",
815
+ expected: "(false | undefined)",
816
+ value: input3.stopinclusive
817
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
818
+ path: _path2 + ".label",
819
+ expected: "(string | undefined)",
820
+ value: input3.label
821
+ })].every((flag) => flag);
822
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
823
+ path: _path2 + ".hiddenValues",
824
+ expected: "(HiddenValues | undefined)",
825
+ value: input3.hiddenValues
826
+ })) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
827
+ path: _path2 + ".hiddenValues",
828
+ expected: "(HiddenValues | undefined)",
829
+ value: input3.hiddenValues
830
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
831
+ path: _path2 + ".isAtomic",
832
+ expected: "(true | undefined)",
833
+ value: input3.isAtomic
834
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
835
+ path: _path2 + ".name",
836
+ expected: "(string | undefined)",
837
+ value: input3.name
838
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
839
+ path: _path2 + ".reuseId",
840
+ expected: "(string | undefined)",
841
+ value: input3.reuseId
842
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
843
+ path: _path2 + ".type",
844
+ expected: '"custom-bin"',
845
+ value: input3.type
846
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
847
+ path: _path2 + ".mode",
848
+ expected: '("binary" | "discrete" | undefined)',
849
+ value: input3.mode
850
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
851
+ path: _path2 + ".lst",
852
+ expected: "[NumericBin, ...NumericBin[]]",
853
+ value: input3.lst
854
+ })) && ([
855
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
856
+ path: _path2 + ".lst[0]",
857
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
858
+ value: input3.lst[0]
859
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
860
+ path: _path2 + ".lst[0]",
861
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
862
+ value: input3.lst[0]
863
+ })
864
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
865
+ path: _path2 + ".lst",
866
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
867
+ value: input3.lst.slice(1)
868
+ })) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
869
+ path: _path2 + ".lst[" + (1 + _index13) + "]",
870
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
871
+ value: elem
872
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
873
+ path: _path2 + ".lst[" + (1 + _index13) + "]",
874
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
875
+ value: elem
876
+ })).every((flag) => flag) || $report(_exceptionable2, {
877
+ path: _path2 + ".lst",
878
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
879
+ value: input3.lst.slice(1)
880
+ }))) || $report(_exceptionable2, {
881
+ path: _path2 + ".lst",
882
+ expected: "[NumericBin, ...NumericBin[]]",
883
+ value: input3.lst
884
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
885
+ path: _path2 + ".preferredBins",
886
+ expected: '("median" | undefined)',
887
+ value: input3.preferredBins
888
+ })].every((flag) => flag);
889
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
890
+ path: _path2 + ".key",
891
+ expected: "string",
892
+ value: input3.key
893
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
894
+ path: _path2 + ".value",
895
+ expected: "number",
896
+ value: input3.value
897
+ }), true === input3.uncomputable || $report(_exceptionable2, {
898
+ path: _path2 + ".uncomputable",
899
+ expected: "true",
900
+ value: input3.uncomputable
901
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
902
+ path: _path2 + ".label",
903
+ expected: "(string | undefined)",
904
+ value: input3.label
905
+ })].every((flag) => flag);
906
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
907
+ path: _path2 + ".join",
908
+ expected: "(string | undefined)",
909
+ value: input3.join
910
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
911
+ path: _path2 + ".isnot",
912
+ expected: "(boolean | undefined)",
913
+ value: input3.isnot
914
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
915
+ path: _path2 + ".term",
916
+ expected: "ConditionTerm",
917
+ value: input3.term
918
+ })) && $vo23(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
919
+ path: _path2 + ".term",
920
+ expected: "ConditionTerm",
921
+ value: input3.term
922
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
923
+ path: _path2 + ".value_by_max_grade",
924
+ expected: "(boolean | undefined)",
925
+ value: input3.value_by_max_grade
926
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
927
+ path: _path2 + ".value_by_most_recent",
928
+ expected: "(boolean | undefined)",
929
+ value: input3.value_by_most_recent
930
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
931
+ path: _path2 + ".value_by_computable_grade",
932
+ expected: "(boolean | undefined)",
933
+ value: input3.value_by_computable_grade
934
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
935
+ path: _path2 + ".grade_and_child",
936
+ expected: "(Array<GradeAndChildEntry> | undefined)",
937
+ value: input3.grade_and_child
938
+ })) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
939
+ path: _path2 + ".grade_and_child[" + _index14 + "]",
940
+ expected: "GradeAndChildEntry",
941
+ value: elem
942
+ })) && $vo24(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
943
+ path: _path2 + ".grade_and_child[" + _index14 + "]",
944
+ expected: "GradeAndChildEntry",
945
+ value: elem
946
+ })).every((flag) => flag) || $report(_exceptionable2, {
947
+ path: _path2 + ".grade_and_child",
948
+ expected: "(Array<GradeAndChildEntry> | undefined)",
949
+ value: input3.grade_and_child
950
+ })].every((flag) => flag);
951
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
952
+ path: _path2 + ".id",
953
+ expected: "string",
954
+ value: input3.id
955
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
956
+ path: _path2 + ".name",
957
+ expected: "string",
958
+ value: input3.name
959
+ }), "condition" === input3.type || $report(_exceptionable2, {
960
+ path: _path2 + ".type",
961
+ expected: '"condition"',
962
+ value: input3.type
963
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
964
+ path: _path2 + ".child_types",
965
+ expected: "(Array<string> | undefined)",
966
+ value: input3.child_types
967
+ })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
968
+ path: _path2 + ".child_types[" + _index15 + "]",
969
+ expected: "string",
970
+ value: elem
971
+ })).every((flag) => flag) || $report(_exceptionable2, {
972
+ path: _path2 + ".child_types",
973
+ expected: "(Array<string> | undefined)",
974
+ value: input3.child_types
975
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
976
+ path: _path2 + ".hashtmldetail",
977
+ expected: "(boolean | undefined)",
978
+ value: input3.hashtmldetail
979
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
980
+ path: _path2 + ".included_types",
981
+ expected: "(Array<string> | undefined)",
982
+ value: input3.included_types
983
+ })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
984
+ path: _path2 + ".included_types[" + _index16 + "]",
985
+ expected: "string",
986
+ value: elem
987
+ })).every((flag) => flag) || $report(_exceptionable2, {
988
+ path: _path2 + ".included_types",
989
+ expected: "(Array<string> | undefined)",
990
+ value: input3.included_types
991
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
992
+ path: _path2 + ".isleaf",
993
+ expected: "(boolean | undefined)",
994
+ value: input3.isleaf
995
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
996
+ path: _path2 + ".values",
997
+ expected: "(TermValues | undefined)",
998
+ value: input3.values
999
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1000
+ path: _path2 + ".values",
1001
+ expected: "(TermValues | undefined)",
1002
+ value: input3.values
1003
+ })].every((flag) => flag);
1004
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1005
+ path: _path2 + ".grade",
1006
+ expected: "number",
1007
+ value: input3.grade
1008
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1009
+ path: _path2 + ".grade_label",
1010
+ expected: "string",
1011
+ value: input3.grade_label
1012
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1013
+ path: _path2 + ".child_id",
1014
+ expected: "(string | undefined)",
1015
+ value: input3.child_id
1016
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1017
+ path: _path2 + ".child_label",
1018
+ expected: "string",
1019
+ value: input3.child_label
1020
+ })].every((flag) => flag);
1021
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1022
+ path: _path2 + ".join",
1023
+ expected: "(string | undefined)",
1024
+ value: input3.join
1025
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1026
+ path: _path2 + ".isnot",
1027
+ expected: "(boolean | undefined)",
1028
+ value: input3.isnot
1029
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1030
+ path: _path2 + ".term",
1031
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1032
+ value: input3.term
1033
+ })) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1034
+ path: _path2 + ".term",
1035
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1036
+ value: input3.term
1037
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1038
+ path: _path2 + ".values",
1039
+ expected: "Array<GeneVariantTvsValue>",
1040
+ value: input3.values
1041
+ })) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1042
+ path: _path2 + ".values[" + _index17 + "]",
1043
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1044
+ value: elem
1045
+ })) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
1046
+ path: _path2 + ".values[" + _index17 + "]",
1047
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1048
+ value: elem
1049
+ })).every((flag) => flag) || $report(_exceptionable2, {
1050
+ path: _path2 + ".values",
1051
+ expected: "Array<GeneVariantTvsValue>",
1052
+ value: input3.values
1053
+ })].every((flag) => flag);
1054
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1055
+ path: _path2 + ".id",
1056
+ expected: "string",
1057
+ value: input3.id
1058
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1059
+ path: _path2 + ".name",
1060
+ expected: "string",
1061
+ value: input3.name
1062
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1063
+ path: _path2 + ".type",
1064
+ expected: '"geneVariant"',
1065
+ value: input3.type
1066
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1067
+ path: _path2 + ".child_types",
1068
+ expected: "(Array<string> | undefined)",
1069
+ value: input3.child_types
1070
+ })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1071
+ path: _path2 + ".child_types[" + _index18 + "]",
1072
+ expected: "string",
1073
+ value: elem
1074
+ })).every((flag) => flag) || $report(_exceptionable2, {
1075
+ path: _path2 + ".child_types",
1076
+ expected: "(Array<string> | undefined)",
1077
+ value: input3.child_types
1078
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1079
+ path: _path2 + ".hashtmldetail",
1080
+ expected: "(boolean | undefined)",
1081
+ value: input3.hashtmldetail
1082
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1083
+ path: _path2 + ".included_types",
1084
+ expected: "(Array<string> | undefined)",
1085
+ value: input3.included_types
1086
+ })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1087
+ path: _path2 + ".included_types[" + _index19 + "]",
1088
+ expected: "string",
1089
+ value: elem
1090
+ })).every((flag) => flag) || $report(_exceptionable2, {
1091
+ path: _path2 + ".included_types",
1092
+ expected: "(Array<string> | undefined)",
1093
+ value: input3.included_types
1094
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1095
+ path: _path2 + ".isleaf",
1096
+ expected: "(boolean | undefined)",
1097
+ value: input3.isleaf
1098
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1099
+ path: _path2 + ".values",
1100
+ expected: "(TermValues | undefined)",
1101
+ value: input3.values
1102
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1103
+ path: _path2 + ".values",
1104
+ expected: "(TermValues | undefined)",
1105
+ value: input3.values
1106
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1107
+ path: _path2 + ".groupsetting",
1108
+ expected: "EnabledTermGroupSetting",
1109
+ value: input3.groupsetting
1110
+ })) && $vo6(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1111
+ path: _path2 + ".groupsetting",
1112
+ expected: "EnabledTermGroupSetting",
1113
+ value: input3.groupsetting
1114
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1115
+ path: _path2 + ".kind",
1116
+ expected: '"gene"',
1117
+ value: input3.kind
1118
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1119
+ path: _path2 + ".gene",
1120
+ expected: "string",
1121
+ value: input3.gene
1122
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1123
+ path: _path2 + ".chr",
1124
+ expected: "(string | undefined)",
1125
+ value: input3.chr
1126
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1127
+ path: _path2 + ".start",
1128
+ expected: "(number | undefined)",
1129
+ value: input3.start
1130
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1131
+ path: _path2 + ".stop",
1132
+ expected: "(number | undefined)",
1133
+ value: input3.stop
1134
+ })].every((flag) => flag);
1135
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1136
+ path: _path2 + ".id",
1137
+ expected: "string",
1138
+ value: input3.id
1139
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1140
+ path: _path2 + ".name",
1141
+ expected: "string",
1142
+ value: input3.name
1143
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1144
+ path: _path2 + ".type",
1145
+ expected: '"geneVariant"',
1146
+ value: input3.type
1147
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1148
+ path: _path2 + ".child_types",
1149
+ expected: "(Array<string> | undefined)",
1150
+ value: input3.child_types
1151
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1152
+ path: _path2 + ".child_types[" + _index20 + "]",
1153
+ expected: "string",
1154
+ value: elem
1155
+ })).every((flag) => flag) || $report(_exceptionable2, {
1156
+ path: _path2 + ".child_types",
1157
+ expected: "(Array<string> | undefined)",
1158
+ value: input3.child_types
1159
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1160
+ path: _path2 + ".hashtmldetail",
1161
+ expected: "(boolean | undefined)",
1162
+ value: input3.hashtmldetail
1163
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1164
+ path: _path2 + ".included_types",
1165
+ expected: "(Array<string> | undefined)",
1166
+ value: input3.included_types
1167
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1168
+ path: _path2 + ".included_types[" + _index21 + "]",
1169
+ expected: "string",
1170
+ value: elem
1171
+ })).every((flag) => flag) || $report(_exceptionable2, {
1172
+ path: _path2 + ".included_types",
1173
+ expected: "(Array<string> | undefined)",
1174
+ value: input3.included_types
1175
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1176
+ path: _path2 + ".isleaf",
1177
+ expected: "(boolean | undefined)",
1178
+ value: input3.isleaf
1179
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1180
+ path: _path2 + ".values",
1181
+ expected: "(TermValues | undefined)",
1182
+ value: input3.values
1183
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1184
+ path: _path2 + ".values",
1185
+ expected: "(TermValues | undefined)",
1186
+ value: input3.values
1187
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1188
+ path: _path2 + ".groupsetting",
1189
+ expected: "EnabledTermGroupSetting",
1190
+ value: input3.groupsetting
1191
+ })) && $vo6(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1192
+ path: _path2 + ".groupsetting",
1193
+ expected: "EnabledTermGroupSetting",
1194
+ value: input3.groupsetting
1195
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1196
+ path: _path2 + ".kind",
1197
+ expected: '"coord"',
1198
+ value: input3.kind
1199
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1200
+ path: _path2 + ".chr",
1201
+ expected: "string",
1202
+ value: input3.chr
1203
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1204
+ path: _path2 + ".start",
1205
+ expected: "number",
1206
+ value: input3.start
1207
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1208
+ path: _path2 + ".stop",
1209
+ expected: "number",
1210
+ value: input3.stop
1211
+ })].every((flag) => flag);
1212
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1213
+ path: _path2 + ".dt",
1214
+ expected: "1",
1215
+ value: input3.dt
1216
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1217
+ path: _path2 + ".mclassLst",
1218
+ expected: "Array<SNVIndelClasses>",
1219
+ value: input3.mclassLst
1220
+ })) && input3.mclassLst.map((elem, _index22) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1221
+ path: _path2 + ".mclassLst[" + _index22 + "]",
1222
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1223
+ value: elem
1224
+ })).every((flag) => flag) || $report(_exceptionable2, {
1225
+ path: _path2 + ".mclassLst",
1226
+ expected: "Array<SNVIndelClasses>",
1227
+ value: input3.mclassLst
1228
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1229
+ path: _path2 + ".mclassExcludeLst",
1230
+ expected: "Array<SNVIndelClasses>",
1231
+ value: input3.mclassExcludeLst
1232
+ })) && input3.mclassExcludeLst.map((elem, _index23) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1233
+ path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
1234
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1235
+ value: elem
1236
+ })).every((flag) => flag) || $report(_exceptionable2, {
1237
+ path: _path2 + ".mclassExcludeLst",
1238
+ expected: "Array<SNVIndelClasses>",
1239
+ value: input3.mclassExcludeLst
1240
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1241
+ path: _path2 + ".origin",
1242
+ expected: '("germline" | "somatic" | undefined)',
1243
+ value: input3.origin
1244
+ })].every((flag) => flag);
1245
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1246
+ path: _path2 + ".dt",
1247
+ expected: "4",
1248
+ value: input3.dt
1249
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1250
+ path: _path2 + ".mclassLst",
1251
+ expected: "Array<CNVClasses>",
1252
+ value: input3.mclassLst
1253
+ })) && input3.mclassLst.map((elem, _index24) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1254
+ path: _path2 + ".mclassLst[" + _index24 + "]",
1255
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1256
+ value: elem
1257
+ })).every((flag) => flag) || $report(_exceptionable2, {
1258
+ path: _path2 + ".mclassLst",
1259
+ expected: "Array<CNVClasses>",
1260
+ value: input3.mclassLst
1261
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1262
+ path: _path2 + ".mclassExcludeLst",
1263
+ expected: "Array<CNVClasses>",
1264
+ value: input3.mclassExcludeLst
1265
+ })) && input3.mclassExcludeLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1266
+ path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
1267
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1268
+ value: elem
1269
+ })).every((flag) => flag) || $report(_exceptionable2, {
1270
+ path: _path2 + ".mclassExcludeLst",
1271
+ expected: "Array<CNVClasses>",
1272
+ value: input3.mclassExcludeLst
1273
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1274
+ path: _path2 + ".origin",
1275
+ expected: '("germline" | "somatic" | undefined)',
1276
+ value: input3.origin
1277
+ })].every((flag) => flag);
1278
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1279
+ path: _path2 + ".dt",
1280
+ expected: "5",
1281
+ value: input3.dt
1282
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1283
+ path: _path2 + ".mclassLst",
1284
+ expected: "Array<SVClasses>",
1285
+ value: input3.mclassLst
1286
+ })) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1287
+ path: _path2 + ".mclassLst[" + _index26 + "]",
1288
+ expected: '("Blank" | "SV" | "WT")',
1289
+ value: elem
1290
+ })).every((flag) => flag) || $report(_exceptionable2, {
1291
+ path: _path2 + ".mclassLst",
1292
+ expected: "Array<SVClasses>",
1293
+ value: input3.mclassLst
1294
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1295
+ path: _path2 + ".mclassExcludeLst",
1296
+ expected: "Array<SVClasses>",
1297
+ value: input3.mclassExcludeLst
1298
+ })) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1299
+ path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
1300
+ expected: '("Blank" | "SV" | "WT")',
1301
+ value: elem
1302
+ })).every((flag) => flag) || $report(_exceptionable2, {
1303
+ path: _path2 + ".mclassExcludeLst",
1304
+ expected: "Array<SVClasses>",
1305
+ value: input3.mclassExcludeLst
1306
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1307
+ path: _path2 + ".origin",
1308
+ expected: '("germline" | "somatic" | undefined)',
1309
+ value: input3.origin
1310
+ })].every((flag) => flag);
1311
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1312
+ path: _path2 + ".dt",
1313
+ expected: "2",
1314
+ value: input3.dt
1315
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1316
+ path: _path2 + ".mclassLst",
1317
+ expected: "Array<FusionRNAClasses>",
1318
+ value: input3.mclassLst
1319
+ })) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1320
+ path: _path2 + ".mclassLst[" + _index28 + "]",
1321
+ expected: '("Blank" | "Fuserna" | "WT")',
1322
+ value: elem
1323
+ })).every((flag) => flag) || $report(_exceptionable2, {
1324
+ path: _path2 + ".mclassLst",
1325
+ expected: "Array<FusionRNAClasses>",
1326
+ value: input3.mclassLst
1327
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1328
+ path: _path2 + ".mclassExcludeLst",
1329
+ expected: "Array<FusionRNAClasses>",
1330
+ value: input3.mclassExcludeLst
1331
+ })) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1332
+ path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
1333
+ expected: '("Blank" | "Fuserna" | "WT")',
1334
+ value: elem
1335
+ })).every((flag) => flag) || $report(_exceptionable2, {
1336
+ path: _path2 + ".mclassExcludeLst",
1337
+ expected: "Array<FusionRNAClasses>",
1338
+ value: input3.mclassExcludeLst
1339
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1340
+ path: _path2 + ".origin",
1341
+ expected: '("germline" | "somatic" | undefined)',
1342
+ value: input3.origin
1343
+ })].every((flag) => flag);
1344
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1345
+ path: _path2 + ".id",
1346
+ expected: "string",
1347
+ value: input3.id
1348
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1349
+ path: _path2 + ".name",
1350
+ expected: "string",
1351
+ value: input3.name
1352
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1353
+ path: _path2 + ".type",
1354
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
1355
+ value: input3.type
1356
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1357
+ path: _path2 + ".child_types",
1358
+ expected: "(Array<string> | undefined)",
1359
+ value: input3.child_types
1360
+ })) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1361
+ path: _path2 + ".child_types[" + _index30 + "]",
1362
+ expected: "string",
1363
+ value: elem
1364
+ })).every((flag) => flag) || $report(_exceptionable2, {
1365
+ path: _path2 + ".child_types",
1366
+ expected: "(Array<string> | undefined)",
1367
+ value: input3.child_types
1368
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1369
+ path: _path2 + ".hashtmldetail",
1370
+ expected: "(boolean | undefined)",
1371
+ value: input3.hashtmldetail
1372
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1373
+ path: _path2 + ".included_types",
1374
+ expected: "(Array<string> | undefined)",
1375
+ value: input3.included_types
1376
+ })) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1377
+ path: _path2 + ".included_types[" + _index31 + "]",
1378
+ expected: "string",
1379
+ value: elem
1380
+ })).every((flag) => flag) || $report(_exceptionable2, {
1381
+ path: _path2 + ".included_types",
1382
+ expected: "(Array<string> | undefined)",
1383
+ value: input3.included_types
1384
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1385
+ path: _path2 + ".isleaf",
1386
+ expected: "(boolean | undefined)",
1387
+ value: input3.isleaf
1388
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1389
+ path: _path2 + ".values",
1390
+ expected: "(TermValues | undefined)",
1391
+ value: input3.values
1392
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1393
+ path: _path2 + ".values",
1394
+ expected: "(TermValues | undefined)",
1395
+ value: input3.values
1396
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1397
+ path: _path2 + ".bins",
1398
+ expected: "PresetNumericBins",
1399
+ value: input3.bins
1400
+ })) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1401
+ path: _path2 + ".bins",
1402
+ expected: "PresetNumericBins",
1403
+ value: input3.bins
1404
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1405
+ path: _path2 + ".unit",
1406
+ expected: "(string | undefined)",
1407
+ value: input3.unit
1408
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1409
+ path: _path2 + ".gene",
1410
+ expected: "string",
1411
+ value: input3.gene
1412
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1413
+ path: _path2 + ".chr",
1414
+ expected: "(string | undefined)",
1415
+ value: input3.chr
1416
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1417
+ path: _path2 + ".start",
1418
+ expected: "(number | undefined)",
1419
+ value: input3.start
1420
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1421
+ path: _path2 + ".stop",
1422
+ expected: "(number | undefined)",
1423
+ value: input3.stop
1424
+ })].every((flag) => flag);
1425
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
1426
+ path: _path2 + ".genome",
1427
+ expected: "string",
1428
+ value: input3.genome
1429
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
1430
+ path: _path2 + ".dslabel",
1431
+ expected: "string",
1432
+ value: input3.dslabel
1433
+ }), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
1434
+ path: _path2 + ".clusterMethod",
1435
+ expected: "string",
1436
+ value: input3.clusterMethod
1437
+ }), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
1438
+ path: _path2 + ".distanceMethod",
1439
+ expected: "string",
1440
+ value: input3.distanceMethod
1441
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
1442
+ path: _path2 + ".filter",
1443
+ expected: "(Filter | undefined)",
1444
+ value: input3.filter
1445
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
1446
+ path: _path2 + ".filter",
1447
+ expected: "(Filter | undefined)",
1448
+ value: input3.filter
1449
+ }), true, "metaboliteIntensity" === input3.dataType || $report(_exceptionable2, {
1450
+ path: _path2 + ".dataType",
1451
+ expected: '"metaboliteIntensity"',
1452
+ value: input3.dataType
1453
+ }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
1454
+ path: _path2 + ".terms",
1455
+ expected: "Array<MetaboliteIntensityTerm>",
1456
+ value: input3.terms
1457
+ })) && input3.terms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1458
+ path: _path2 + ".terms[" + _index32 + "]",
1459
+ expected: "MetaboliteIntensityTerm",
1460
+ value: elem
1461
+ })) && $vo34(elem, _path2 + ".terms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1462
+ path: _path2 + ".terms[" + _index32 + "]",
1463
+ expected: "MetaboliteIntensityTerm",
1464
+ value: elem
1465
+ })).every((flag) => flag) || $report(_exceptionable2, {
1466
+ path: _path2 + ".terms",
1467
+ expected: "Array<MetaboliteIntensityTerm>",
1468
+ value: input3.terms
1469
+ }), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
1470
+ path: _path2 + ".zScoreTransformation",
1471
+ expected: "(string | undefined)",
1472
+ value: input3.zScoreTransformation
1473
+ })].every((flag) => flag);
1474
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1475
+ path: _path2 + ".id",
1476
+ expected: "string",
1477
+ value: input3.id
1478
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1479
+ path: _path2 + ".name",
1480
+ expected: "string",
1481
+ value: input3.name
1482
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1483
+ path: _path2 + ".type",
1484
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
1485
+ value: input3.type
1486
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1487
+ path: _path2 + ".child_types",
1488
+ expected: "(Array<string> | undefined)",
1489
+ value: input3.child_types
1490
+ })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1491
+ path: _path2 + ".child_types[" + _index33 + "]",
1492
+ expected: "string",
1493
+ value: elem
1494
+ })).every((flag) => flag) || $report(_exceptionable2, {
1495
+ path: _path2 + ".child_types",
1496
+ expected: "(Array<string> | undefined)",
1497
+ value: input3.child_types
1498
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1499
+ path: _path2 + ".hashtmldetail",
1500
+ expected: "(boolean | undefined)",
1501
+ value: input3.hashtmldetail
1502
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1503
+ path: _path2 + ".included_types",
1504
+ expected: "(Array<string> | undefined)",
1505
+ value: input3.included_types
1506
+ })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1507
+ path: _path2 + ".included_types[" + _index34 + "]",
1508
+ expected: "string",
1509
+ value: elem
1510
+ })).every((flag) => flag) || $report(_exceptionable2, {
1511
+ path: _path2 + ".included_types",
1512
+ expected: "(Array<string> | undefined)",
1513
+ value: input3.included_types
1514
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1515
+ path: _path2 + ".isleaf",
1516
+ expected: "(boolean | undefined)",
1517
+ value: input3.isleaf
1518
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1519
+ path: _path2 + ".values",
1520
+ expected: "(TermValues | undefined)",
1521
+ value: input3.values
1522
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1523
+ path: _path2 + ".values",
1524
+ expected: "(TermValues | undefined)",
1525
+ value: input3.values
1526
+ }), true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1527
+ path: _path2 + ".unit",
1528
+ expected: "(string | undefined)",
1529
+ value: input3.unit
1530
+ }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1531
+ path: _path2 + ".metabolite",
1532
+ expected: "string",
1533
+ value: input3.metabolite
1534
+ })].every((flag) => flag);
1535
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
1536
+ path: _path2 + ".genome",
1537
+ expected: "string",
1538
+ value: input3.genome
1539
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
1540
+ path: _path2 + ".dslabel",
1541
+ expected: "string",
1542
+ value: input3.dslabel
1543
+ }), "string" === typeof input3.clusterMethod || $report(_exceptionable2, {
1544
+ path: _path2 + ".clusterMethod",
1545
+ expected: "string",
1546
+ value: input3.clusterMethod
1547
+ }), "string" === typeof input3.distanceMethod || $report(_exceptionable2, {
1548
+ path: _path2 + ".distanceMethod",
1549
+ expected: "string",
1550
+ value: input3.distanceMethod
1551
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
1552
+ path: _path2 + ".filter",
1553
+ expected: "(Filter | undefined)",
1554
+ value: input3.filter
1555
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
1556
+ path: _path2 + ".filter",
1557
+ expected: "(Filter | undefined)",
1558
+ value: input3.filter
1559
+ }), true, "numericDictTerm" === input3.dataType || $report(_exceptionable2, {
1560
+ path: _path2 + ".dataType",
1561
+ expected: '"numericDictTerm"',
1562
+ value: input3.dataType
1563
+ }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
1564
+ path: _path2 + ".terms",
1565
+ expected: "Array<NumericDictTerm>",
1566
+ value: input3.terms
1567
+ })) && input3.terms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1568
+ path: _path2 + ".terms[" + _index35 + "]",
1569
+ expected: "NumericDictTerm",
1570
+ value: elem
1571
+ })) && $vo36(elem, _path2 + ".terms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
1572
+ path: _path2 + ".terms[" + _index35 + "]",
1573
+ expected: "NumericDictTerm",
1574
+ value: elem
1575
+ })).every((flag) => flag) || $report(_exceptionable2, {
1576
+ path: _path2 + ".terms",
1577
+ expected: "Array<NumericDictTerm>",
1578
+ value: input3.terms
1579
+ }), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
1580
+ path: _path2 + ".zScoreTransformation",
1581
+ expected: "(string | undefined)",
1582
+ value: input3.zScoreTransformation
1583
+ })].every((flag) => flag);
1584
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1585
+ path: _path2 + ".id",
1586
+ expected: "string",
1587
+ value: input3.id
1588
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1589
+ path: _path2 + ".name",
1590
+ expected: "string",
1591
+ value: input3.name
1592
+ }), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
1593
+ path: _path2 + ".type",
1594
+ expected: '("float" | "integer")',
1595
+ value: input3.type
1596
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1597
+ path: _path2 + ".child_types",
1598
+ expected: "(Array<string> | undefined)",
1599
+ value: input3.child_types
1600
+ })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1601
+ path: _path2 + ".child_types[" + _index36 + "]",
1602
+ expected: "string",
1603
+ value: elem
1604
+ })).every((flag) => flag) || $report(_exceptionable2, {
1605
+ path: _path2 + ".child_types",
1606
+ expected: "(Array<string> | undefined)",
1607
+ value: input3.child_types
1608
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1609
+ path: _path2 + ".hashtmldetail",
1610
+ expected: "(boolean | undefined)",
1611
+ value: input3.hashtmldetail
1612
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1613
+ path: _path2 + ".included_types",
1614
+ expected: "(Array<string> | undefined)",
1615
+ value: input3.included_types
1616
+ })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
1617
+ path: _path2 + ".included_types[" + _index37 + "]",
1618
+ expected: "string",
1619
+ value: elem
1620
+ })).every((flag) => flag) || $report(_exceptionable2, {
1621
+ path: _path2 + ".included_types",
1622
+ expected: "(Array<string> | undefined)",
1623
+ value: input3.included_types
1624
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1625
+ path: _path2 + ".isleaf",
1626
+ expected: "(boolean | undefined)",
1627
+ value: input3.isleaf
1628
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1629
+ path: _path2 + ".values",
1630
+ expected: "(TermValues | undefined)",
1631
+ value: input3.values
1632
+ })) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1633
+ path: _path2 + ".values",
1634
+ expected: "(TermValues | undefined)",
1635
+ value: input3.values
1636
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1637
+ path: _path2 + ".bins",
1638
+ expected: "PresetNumericBins",
1639
+ value: input3.bins
1640
+ })) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1641
+ path: _path2 + ".bins",
1642
+ expected: "PresetNumericBins",
1643
+ value: input3.bins
1644
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1645
+ path: _path2 + ".unit",
1646
+ expected: "(string | undefined)",
1647
+ value: input3.unit
1648
+ })].every((flag) => flag);
1649
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1650
+ if (void 0 !== input3.type)
1651
+ return $vo1(input3, _path2, _exceptionable2);
1652
+ if (void 0 !== input3.ranges)
1653
+ return $vo12(input3, _path2, _exceptionable2);
1654
+ return $vo2(input3, _path2, false) || $vo22(input3, _path2, false) || $vo25(input3, _path2, false);
1655
+ })();
1656
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1657
+ if ("string" === typeof input3.type)
1658
+ return $vo8(input3, _path2, _exceptionable2);
1659
+ if ("filter" === input3.type)
1660
+ return $vo10(input3, _path2, _exceptionable2);
1661
+ return $report(_exceptionable2, {
1662
+ path: _path2,
1663
+ expected: "(ValuesGroup | FilterGroup)",
1664
+ value: input3
1665
+ });
1666
+ })();
1667
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1668
+ if (true === input3.startunbounded)
1669
+ return $vo17(input3, _path2, _exceptionable2);
1670
+ if (true === input3.stopunbounded)
1671
+ return $vo19(input3, _path2, _exceptionable2);
1672
+ return $vo18(input3, _path2, _exceptionable2);
1673
+ })();
1674
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1675
+ if (2 === input3.dt)
1676
+ return $vo31(input3, _path2, _exceptionable2);
1677
+ if (5 === input3.dt)
1678
+ return $vo30(input3, _path2, _exceptionable2);
1679
+ if (4 === input3.dt)
1680
+ return $vo29(input3, _path2, _exceptionable2);
1681
+ if (1 === input3.dt)
1682
+ return $vo28(input3, _path2, _exceptionable2);
1683
+ return $report(_exceptionable2, {
1684
+ path: _path2,
1685
+ expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
1686
+ value: input3
1687
+ });
1688
+ })();
1689
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1690
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index38) => "object" === typeof elem && null !== elem && $vo7(elem, _path2 + ".lst[" + _index38 + "]", false)).every((flag) => flag))
1691
+ return $vo6(input3, _path2, _exceptionable2);
1692
+ return $vo11(input3, _path2, _exceptionable2);
1693
+ })();
1694
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1695
+ if ("regular-bin" === input3.type)
1696
+ return $vo15(input3, _path2, _exceptionable2);
1697
+ if ("custom-bin" === input3.type)
1698
+ return $vo20(input3, _path2, _exceptionable2);
1699
+ return $report(_exceptionable2, {
1700
+ path: _path2,
1701
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
1702
+ value: input3
1703
+ });
1704
+ })();
1705
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1706
+ if (true === input3.startunbounded)
1707
+ return $vo17(input3, _path2, _exceptionable2);
1708
+ if (void 0 !== input3.start)
1709
+ return $vo18(input3, _path2, _exceptionable2);
1710
+ return $report(_exceptionable2, {
1711
+ path: _path2,
1712
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
1713
+ value: input3
1714
+ });
1715
+ })();
1716
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1717
+ if (void 0 !== input3.stop)
1718
+ return $vo18(input3, _path2, _exceptionable2);
1719
+ if (true === input3.stopunbounded)
1720
+ return $vo19(input3, _path2, _exceptionable2);
1721
+ return $report(_exceptionable2, {
1722
+ path: _path2,
1723
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1724
+ value: input3
1725
+ });
1726
+ })();
1727
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1728
+ if ("gene" === input3.kind)
1729
+ return $vo26(input3, _path2, _exceptionable2);
1730
+ if ("coord" === input3.kind)
1731
+ return $vo27(input3, _path2, _exceptionable2);
1732
+ return $report(_exceptionable2, {
1733
+ path: _path2,
1734
+ expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
1735
+ value: input3
1736
+ });
1737
+ })();
1738
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
1739
+ if ("numericDictTerm" === input3.dataType)
1740
+ return $vo35(input3, _path2, _exceptionable2);
1741
+ if ("metaboliteIntensity" === input3.dataType)
1742
+ return $vo33(input3, _path2, _exceptionable2);
1743
+ if ("geneExpression" === input3.dataType)
1744
+ return $vo0(input3, _path2, _exceptionable2);
1745
+ return $report(_exceptionable2, {
1746
+ path: _path2,
1747
+ expected: "(TermdbClusterRequestNumericDictTerm | TermdbClusterRequestMetabolite | TermdbClusterRequestGeneExpression)",
1748
+ value: input3
1749
+ });
1750
+ })();
1751
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
1752
+ path: _path + "",
1753
+ expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
1754
+ value: input2
1755
+ })) && $vu9(input2, _path + "", true) || $report(true, {
1756
+ path: _path + "",
1757
+ expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
1758
+ value: input2
1759
+ });
1760
+ })(input, "$input", true);
1761
+ }
1762
+ const success = 0 === errors.length;
1763
+ return {
1764
+ success,
1765
+ errors,
1766
+ data: success ? input : void 0
1767
+ };
1768
+ };
1769
+ var validTermdbClusterResponse = (input) => {
1770
+ const errors = [];
1771
+ const __is = (input2) => {
1772
+ const $join = import_typia.createValidate.join;
1773
+ const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
1774
+ const $io1 = (input3) => "object" === typeof input3.clustering && null !== input3.clustering && $io2(input3.clustering) && ("object" === typeof input3.byTermId && null !== input3.byTermId && false === Array.isArray(input3.byTermId) && $io7(input3.byTermId)) && ("object" === typeof input3.bySampleId && null !== input3.bySampleId && false === Array.isArray(input3.bySampleId) && $io8(input3.bySampleId));
1775
+ const $io2 = (input3) => "object" === typeof input3.row && null !== input3.row && $io3(input3.row) && ("object" === typeof input3.col && null !== input3.col && $io3(input3.col)) && (Array.isArray(input3.matrix) && input3.matrix.every((elem) => Array.isArray(elem) && elem.every((elem2) => "number" === typeof elem2)));
1776
+ const $io3 = (input3) => Array.isArray(input3.merge) && input3.merge.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && (Array.isArray(input3.height) && input3.height.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && (Array.isArray(input3.order) && input3.order.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input3.inputOrder) && input3.inputOrder.every((elem) => "string" === typeof elem));
1777
+ const $io4 = (input3) => "number" === typeof input3.n1 && "number" === typeof input3.n2;
1778
+ const $io5 = (input3) => "number" === typeof input3.height;
1779
+ const $io6 = (input3) => "string" === typeof input3.name;
1780
+ const $io7 = (input3) => Object.keys(input3).every((key) => {
1781
+ const value = input3[key];
1782
+ if (void 0 === value)
1783
+ return true;
1784
+ if (RegExp(/(.*)/).test(key))
1785
+ return true;
1786
+ return true;
1787
+ });
1788
+ const $io8 = (input3) => Object.keys(input3).every((key) => {
1789
+ const value = input3[key];
1790
+ if (void 0 === value)
1791
+ return true;
1792
+ if (RegExp(/(.*)/).test(key))
1793
+ return true;
1794
+ return true;
1795
+ });
1796
+ const $io9 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu4(input3.term) && true;
1797
+ const $io10 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
1798
+ const $io11 = (input3) => Object.keys(input3).every((key) => {
1799
+ const value = input3[key];
1800
+ if (void 0 === value)
1801
+ return true;
1802
+ if (RegExp(/(.*)/).test(key))
1803
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io12(value);
1804
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
1805
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io12(value);
1806
+ return true;
1807
+ });
1808
+ const $io12 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io13(input3.filter));
1809
+ const $io13 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === input3.join) && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
1810
+ const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io12(elem)));
1811
+ const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
1812
+ const $io16 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)));
1813
+ const $io17 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
1814
+ const $io18 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io19(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
1815
+ const $io19 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
1816
+ const $io20 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io13(input3.filter));
1817
+ const $io21 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
1818
+ const $io22 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io23(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 && $io31(elem)));
1819
+ const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "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) && $io11(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
1820
+ const $io24 = (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);
1821
+ const $io25 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io26(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
1822
+ const $io26 = (input3) => Object.keys(input3).every((key) => {
1823
+ const value = input3[key];
1824
+ if (void 0 === value)
1825
+ return true;
1826
+ if (RegExp(/(.*)/).test(key))
1827
+ return "number" === typeof value;
1828
+ return true;
1829
+ });
1830
+ const $io27 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
1831
+ const $io28 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
1832
+ const $io29 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
1833
+ const $io30 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io26(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
1834
+ const $io31 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
1835
+ 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)) && (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 && $io34(elem)));
1836
+ const $io33 = (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) && $io11(input3.values));
1837
+ const $io34 = (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;
1838
+ const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
1839
+ const $io36 = (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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "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);
1840
+ 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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
1841
+ const $io38 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
1842
+ const $io39 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
1843
+ const $io40 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
1844
+ const $io41 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
1845
+ const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "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) && $io11(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
1846
+ const $io43 = (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) && $io11(input3.values));
1847
+ const $io44 = (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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "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);
1848
+ const $io45 = (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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
1849
+ const $io46 = (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) && $io11(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
1850
+ const $io47 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io48(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io49(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
1851
+ const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
1852
+ const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
1853
+ const $io50 = (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) && $io51(input3.values));
1854
+ const $io51 = (input3) => Object.keys(input3).every((key) => {
1855
+ const value = input3[key];
1856
+ if (void 0 === value)
1857
+ return true;
1858
+ if (RegExp(/(.*)/).test(key))
1859
+ return "object" === typeof value && null !== value && $io52(value);
1860
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
1861
+ return "object" === typeof value && null !== value && $io52(value);
1862
+ return true;
1863
+ });
1864
+ const $io52 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io13(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && true;
1865
+ const $io53 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
1866
+ const $iu0 = (input3) => (() => {
1867
+ if (void 0 !== input3.type)
1868
+ return $io13(input3);
1869
+ if (void 0 !== input3.ranges)
1870
+ return $io22(input3);
1871
+ return (() => {
1872
+ if ($io14(input3))
1873
+ return $io14(input3);
1874
+ if ($io32(input3))
1875
+ return $io32(input3);
1876
+ if ($io35(input3))
1877
+ return $io35(input3);
1878
+ return false;
1879
+ })();
1880
+ })();
1881
+ const $iu1 = (input3) => (() => {
1882
+ if ("string" === typeof input3.type)
1883
+ return $io18(input3);
1884
+ if ("filter" === input3.type)
1885
+ return $io20(input3);
1886
+ return false;
1887
+ })();
1888
+ const $iu2 = (input3) => (() => {
1889
+ if (true === input3.startunbounded)
1890
+ return $io27(input3);
1891
+ if (true === input3.stopunbounded)
1892
+ return $io29(input3);
1893
+ return $io28(input3);
1894
+ })();
1895
+ const $iu3 = (input3) => (() => {
1896
+ if (2 === input3.dt)
1897
+ return $io41(input3);
1898
+ if (5 === input3.dt)
1899
+ return $io40(input3);
1900
+ if (4 === input3.dt)
1901
+ return $io39(input3);
1902
+ if (1 === input3.dt)
1903
+ return $io38(input3);
1904
+ return false;
1905
+ })();
1906
+ const $iu4 = (input3) => (() => {
1907
+ if ("categorical" === input3.type)
1908
+ return $io10(input3);
1909
+ if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
1910
+ return $io42(input3);
1911
+ if ("condition" === input3.type)
1912
+ return $io43(input3);
1913
+ if ("gene" === input3.kind)
1914
+ return $io44(input3);
1915
+ if ("coord" === input3.kind)
1916
+ return $io45(input3);
1917
+ return (() => {
1918
+ if ($io46(input3))
1919
+ return $io46(input3);
1920
+ if ($io50(input3))
1921
+ return $io50(input3);
1922
+ return false;
1923
+ })();
1924
+ })();
1925
+ const $iu5 = (input3) => (() => {
1926
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)))
1927
+ return $io16(input3);
1928
+ return $io21(input3);
1929
+ })();
1930
+ const $iu6 = (input3) => (() => {
1931
+ if ("regular-bin" === input3.type)
1932
+ return $io25(input3);
1933
+ if ("custom-bin" === input3.type)
1934
+ return $io30(input3);
1935
+ return false;
1936
+ })();
1937
+ const $iu7 = (input3) => (() => {
1938
+ if (true === input3.startunbounded)
1939
+ return $io27(input3);
1940
+ if (void 0 !== input3.start)
1941
+ return $io28(input3);
1942
+ return false;
1943
+ })();
1944
+ const $iu8 = (input3) => (() => {
1945
+ if (void 0 !== input3.stop)
1946
+ return $io28(input3);
1947
+ if (true === input3.stopunbounded)
1948
+ return $io29(input3);
1949
+ return false;
1950
+ })();
1951
+ const $iu9 = (input3) => (() => {
1952
+ if ("gene" === input3.kind)
1953
+ return $io36(input3);
1954
+ if ("coord" === input3.kind)
1955
+ return $io37(input3);
1956
+ return false;
1957
+ })();
1958
+ const $iu10 = (input3) => (() => {
1959
+ if (void 0 !== input3.status)
1960
+ return $io0(input3);
1961
+ if (void 0 !== input3.clustering)
1962
+ return $io1(input3);
1963
+ if (void 0 !== input3.term)
1964
+ return $io9(input3);
1965
+ return false;
1966
+ })();
1967
+ return "object" === typeof input2 && null !== input2 && $iu10(input2);
1968
+ };
1969
+ if (false === __is(input)) {
1970
+ const $report = import_typia.createValidate.report(errors);
1971
+ ((input2, _path, _exceptionable = true) => {
1972
+ const $join = import_typia.createValidate.join;
1973
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
1974
+ path: _path2 + ".status",
1975
+ expected: "number",
1976
+ value: input3.status
1977
+ }), "string" === typeof input3.error || $report(_exceptionable2, {
1978
+ path: _path2 + ".error",
1979
+ expected: "string",
1980
+ value: input3.error
1981
+ })].every((flag) => flag);
1982
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.clustering && null !== input3.clustering || $report(_exceptionable2, {
1983
+ path: _path2 + ".clustering",
1984
+ expected: "Clustering",
1985
+ value: input3.clustering
1986
+ })) && $vo2(input3.clustering, _path2 + ".clustering", _exceptionable2) || $report(_exceptionable2, {
1987
+ path: _path2 + ".clustering",
1988
+ expected: "Clustering",
1989
+ value: input3.clustering
1990
+ }), ("object" === typeof input3.byTermId && null !== input3.byTermId && false === Array.isArray(input3.byTermId) || $report(_exceptionable2, {
1991
+ path: _path2 + ".byTermId",
1992
+ expected: "__type.o3",
1993
+ value: input3.byTermId
1994
+ })) && $vo7(input3.byTermId, _path2 + ".byTermId", _exceptionable2) || $report(_exceptionable2, {
1995
+ path: _path2 + ".byTermId",
1996
+ expected: "__type.o3",
1997
+ value: input3.byTermId
1998
+ }), ("object" === typeof input3.bySampleId && null !== input3.bySampleId && false === Array.isArray(input3.bySampleId) || $report(_exceptionable2, {
1999
+ path: _path2 + ".bySampleId",
2000
+ expected: "__type.o4",
2001
+ value: input3.bySampleId
2002
+ })) && $vo8(input3.bySampleId, _path2 + ".bySampleId", _exceptionable2) || $report(_exceptionable2, {
2003
+ path: _path2 + ".bySampleId",
2004
+ expected: "__type.o4",
2005
+ value: input3.bySampleId
2006
+ })].every((flag) => flag);
2007
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.row && null !== input3.row || $report(_exceptionable2, {
2008
+ path: _path2 + ".row",
2009
+ expected: "Hclust",
2010
+ value: input3.row
2011
+ })) && $vo3(input3.row, _path2 + ".row", _exceptionable2) || $report(_exceptionable2, {
2012
+ path: _path2 + ".row",
2013
+ expected: "Hclust",
2014
+ value: input3.row
2015
+ }), ("object" === typeof input3.col && null !== input3.col || $report(_exceptionable2, {
2016
+ path: _path2 + ".col",
2017
+ expected: "Hclust",
2018
+ value: input3.col
2019
+ })) && $vo3(input3.col, _path2 + ".col", _exceptionable2) || $report(_exceptionable2, {
2020
+ path: _path2 + ".col",
2021
+ expected: "Hclust",
2022
+ value: input3.col
2023
+ }), (Array.isArray(input3.matrix) || $report(_exceptionable2, {
2024
+ path: _path2 + ".matrix",
2025
+ expected: "Array<Array<number>>",
2026
+ value: input3.matrix
2027
+ })) && input3.matrix.map((elem, _index1) => (Array.isArray(elem) || $report(_exceptionable2, {
2028
+ path: _path2 + ".matrix[" + _index1 + "]",
2029
+ expected: "Array<number>",
2030
+ value: elem
2031
+ })) && elem.map((elem2, _index2) => "number" === typeof elem2 || $report(_exceptionable2, {
2032
+ path: _path2 + ".matrix[" + _index1 + "][" + _index2 + "]",
2033
+ expected: "number",
2034
+ value: elem2
2035
+ })).every((flag) => flag) || $report(_exceptionable2, {
2036
+ path: _path2 + ".matrix[" + _index1 + "]",
2037
+ expected: "Array<number>",
2038
+ value: elem
2039
+ })).every((flag) => flag) || $report(_exceptionable2, {
2040
+ path: _path2 + ".matrix",
2041
+ expected: "Array<Array<number>>",
2042
+ value: input3.matrix
2043
+ })].every((flag) => flag);
2044
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.merge) || $report(_exceptionable2, {
2045
+ path: _path2 + ".merge",
2046
+ expected: "Array<__type>",
2047
+ value: input3.merge
2048
+ })) && input3.merge.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2049
+ path: _path2 + ".merge[" + _index3 + "]",
2050
+ expected: "__type",
2051
+ value: elem
2052
+ })) && $vo4(elem, _path2 + ".merge[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
2053
+ path: _path2 + ".merge[" + _index3 + "]",
2054
+ expected: "__type",
2055
+ value: elem
2056
+ })).every((flag) => flag) || $report(_exceptionable2, {
2057
+ path: _path2 + ".merge",
2058
+ expected: "Array<__type>",
2059
+ value: input3.merge
2060
+ }), (Array.isArray(input3.height) || $report(_exceptionable2, {
2061
+ path: _path2 + ".height",
2062
+ expected: "Array<__type>.o1",
2063
+ value: input3.height
2064
+ })) && input3.height.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2065
+ path: _path2 + ".height[" + _index4 + "]",
2066
+ expected: "__type.o1",
2067
+ value: elem
2068
+ })) && $vo5(elem, _path2 + ".height[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
2069
+ path: _path2 + ".height[" + _index4 + "]",
2070
+ expected: "__type.o1",
2071
+ value: elem
2072
+ })).every((flag) => flag) || $report(_exceptionable2, {
2073
+ path: _path2 + ".height",
2074
+ expected: "Array<__type>.o1",
2075
+ value: input3.height
2076
+ }), (Array.isArray(input3.order) || $report(_exceptionable2, {
2077
+ path: _path2 + ".order",
2078
+ expected: "Array<__type>.o2",
2079
+ value: input3.order
2080
+ })) && input3.order.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2081
+ path: _path2 + ".order[" + _index5 + "]",
2082
+ expected: "__type.o2",
2083
+ value: elem
2084
+ })) && $vo6(elem, _path2 + ".order[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
2085
+ path: _path2 + ".order[" + _index5 + "]",
2086
+ expected: "__type.o2",
2087
+ value: elem
2088
+ })).every((flag) => flag) || $report(_exceptionable2, {
2089
+ path: _path2 + ".order",
2090
+ expected: "Array<__type>.o2",
2091
+ value: input3.order
2092
+ }), (Array.isArray(input3.inputOrder) || $report(_exceptionable2, {
2093
+ path: _path2 + ".inputOrder",
2094
+ expected: "Array<string>",
2095
+ value: input3.inputOrder
2096
+ })) && input3.inputOrder.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
2097
+ path: _path2 + ".inputOrder[" + _index6 + "]",
2098
+ expected: "string",
2099
+ value: elem
2100
+ })).every((flag) => flag) || $report(_exceptionable2, {
2101
+ path: _path2 + ".inputOrder",
2102
+ expected: "Array<string>",
2103
+ value: input3.inputOrder
2104
+ })].every((flag) => flag);
2105
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.n1 || $report(_exceptionable2, {
2106
+ path: _path2 + ".n1",
2107
+ expected: "number",
2108
+ value: input3.n1
2109
+ }), "number" === typeof input3.n2 || $report(_exceptionable2, {
2110
+ path: _path2 + ".n2",
2111
+ expected: "number",
2112
+ value: input3.n2
2113
+ })].every((flag) => flag);
2114
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.height || $report(_exceptionable2, {
2115
+ path: _path2 + ".height",
2116
+ expected: "number",
2117
+ value: input3.height
2118
+ })].every((flag) => flag);
2119
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2120
+ path: _path2 + ".name",
2121
+ expected: "string",
2122
+ value: input3.name
2123
+ })].every((flag) => flag);
2124
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2125
+ const value = input3[key];
2126
+ if (void 0 === value)
2127
+ return true;
2128
+ if (RegExp(/(.*)/).test(key))
2129
+ return true;
2130
+ return true;
2131
+ }).every((flag) => flag)].every((flag) => flag);
2132
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2133
+ const value = input3[key];
2134
+ if (void 0 === value)
2135
+ return true;
2136
+ if (RegExp(/(.*)/).test(key))
2137
+ return true;
2138
+ return true;
2139
+ }).every((flag) => flag)].every((flag) => flag);
2140
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2141
+ path: _path2 + ".term",
2142
+ expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
2143
+ value: input3.term
2144
+ })) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2145
+ path: _path2 + ".term",
2146
+ expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
2147
+ value: input3.term
2148
+ }), true].every((flag) => flag);
2149
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2150
+ path: _path2 + ".id",
2151
+ expected: "string",
2152
+ value: input3.id
2153
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2154
+ path: _path2 + ".name",
2155
+ expected: "string",
2156
+ value: input3.name
2157
+ }), "categorical" === input3.type || $report(_exceptionable2, {
2158
+ path: _path2 + ".type",
2159
+ expected: '"categorical"',
2160
+ value: input3.type
2161
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2162
+ path: _path2 + ".child_types",
2163
+ expected: "(Array<string> | undefined)",
2164
+ value: input3.child_types
2165
+ })) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
2166
+ path: _path2 + ".child_types[" + _index7 + "]",
2167
+ expected: "string",
2168
+ value: elem
2169
+ })).every((flag) => flag) || $report(_exceptionable2, {
2170
+ path: _path2 + ".child_types",
2171
+ expected: "(Array<string> | undefined)",
2172
+ value: input3.child_types
2173
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2174
+ path: _path2 + ".hashtmldetail",
2175
+ expected: "(boolean | undefined)",
2176
+ value: input3.hashtmldetail
2177
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2178
+ path: _path2 + ".included_types",
2179
+ expected: "(Array<string> | undefined)",
2180
+ value: input3.included_types
2181
+ })) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
2182
+ path: _path2 + ".included_types[" + _index8 + "]",
2183
+ expected: "string",
2184
+ value: elem
2185
+ })).every((flag) => flag) || $report(_exceptionable2, {
2186
+ path: _path2 + ".included_types",
2187
+ expected: "(Array<string> | undefined)",
2188
+ value: input3.included_types
2189
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2190
+ path: _path2 + ".isleaf",
2191
+ expected: "(boolean | undefined)",
2192
+ value: input3.isleaf
2193
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2194
+ path: _path2 + ".values",
2195
+ expected: "(TermValues | undefined)",
2196
+ value: input3.values
2197
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2198
+ path: _path2 + ".values",
2199
+ expected: "(TermValues | undefined)",
2200
+ value: input3.values
2201
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2202
+ path: _path2 + ".groupsetting",
2203
+ expected: "(EnabledTermGroupSetting | __type.o6)",
2204
+ value: input3.groupsetting
2205
+ })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2206
+ path: _path2 + ".groupsetting",
2207
+ expected: "(EnabledTermGroupSetting | __type.o6)",
2208
+ value: input3.groupsetting
2209
+ })].every((flag) => flag);
2210
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2211
+ const value = input3[key];
2212
+ if (void 0 === value)
2213
+ return true;
2214
+ if (RegExp(/(.*)/).test(key))
2215
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
2216
+ path: _path2 + $join(key),
2217
+ expected: "BaseValue",
2218
+ value
2219
+ })) && $vo12(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2220
+ path: _path2 + $join(key),
2221
+ expected: "BaseValue",
2222
+ value
2223
+ });
2224
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
2225
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
2226
+ path: _path2 + $join(key),
2227
+ expected: "BaseValue",
2228
+ value
2229
+ })) && $vo12(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2230
+ path: _path2 + $join(key),
2231
+ expected: "BaseValue",
2232
+ value
2233
+ });
2234
+ return true;
2235
+ }).every((flag) => flag)].every((flag) => flag);
2236
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2237
+ path: _path2 + ".key",
2238
+ expected: "(string | undefined)",
2239
+ value: input3.key
2240
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
2241
+ path: _path2 + ".uncomputable",
2242
+ expected: "(boolean | undefined)",
2243
+ value: input3.uncomputable
2244
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2245
+ path: _path2 + ".label",
2246
+ expected: "(number | string | undefined)",
2247
+ value: input3.label
2248
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
2249
+ path: _path2 + ".order",
2250
+ expected: "(string | undefined)",
2251
+ value: input3.order
2252
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
2253
+ path: _path2 + ".color",
2254
+ expected: "(string | undefined)",
2255
+ value: input3.color
2256
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
2257
+ path: _path2 + ".group",
2258
+ expected: "(number | undefined)",
2259
+ value: input3.group
2260
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
2261
+ path: _path2 + ".filter",
2262
+ expected: "(Filter | undefined)",
2263
+ value: input3.filter
2264
+ })) && $vo13(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
2265
+ path: _path2 + ".filter",
2266
+ expected: "(Filter | undefined)",
2267
+ value: input3.filter
2268
+ })].every((flag) => flag);
2269
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
2270
+ path: _path2 + ".type",
2271
+ expected: '"lst"',
2272
+ value: input3.type
2273
+ }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
2274
+ path: _path2 + '["in"]',
2275
+ expected: "(boolean | undefined)",
2276
+ value: input3["in"]
2277
+ }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
2278
+ path: _path2 + ".join",
2279
+ expected: '("and" | "or")',
2280
+ value: input3.join
2281
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
2282
+ path: _path2 + ".tag",
2283
+ expected: "(string | undefined)",
2284
+ value: input3.tag
2285
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
2286
+ path: _path2 + ".lst",
2287
+ expected: "Array<Filter | Tvs>",
2288
+ value: input3.lst
2289
+ })) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2290
+ path: _path2 + ".lst[" + _index9 + "]",
2291
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
2292
+ value: elem
2293
+ })) && $vu0(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
2294
+ path: _path2 + ".lst[" + _index9 + "]",
2295
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
2296
+ value: elem
2297
+ })).every((flag) => flag) || $report(_exceptionable2, {
2298
+ path: _path2 + ".lst",
2299
+ expected: "Array<Filter | Tvs>",
2300
+ value: input3.lst
2301
+ })].every((flag) => flag);
2302
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2303
+ path: _path2 + ".join",
2304
+ expected: "(string | undefined)",
2305
+ value: input3.join
2306
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2307
+ path: _path2 + ".isnot",
2308
+ expected: "(boolean | undefined)",
2309
+ value: input3.isnot
2310
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2311
+ path: _path2 + ".term",
2312
+ expected: "CategoricalTerm",
2313
+ value: input3.term
2314
+ })) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2315
+ path: _path2 + ".term",
2316
+ expected: "CategoricalTerm",
2317
+ value: input3.term
2318
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
2319
+ path: _path2 + ".groupset_label",
2320
+ expected: "(string | undefined)",
2321
+ value: input3.groupset_label
2322
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2323
+ path: _path2 + ".values",
2324
+ expected: "Array<BaseValue>",
2325
+ value: input3.values
2326
+ })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2327
+ path: _path2 + ".values[" + _index10 + "]",
2328
+ expected: "BaseValue",
2329
+ value: elem
2330
+ })) && $vo12(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
2331
+ path: _path2 + ".values[" + _index10 + "]",
2332
+ expected: "BaseValue",
2333
+ value: elem
2334
+ })).every((flag) => flag) || $report(_exceptionable2, {
2335
+ path: _path2 + ".values",
2336
+ expected: "Array<BaseValue>",
2337
+ value: input3.values
2338
+ })].every((flag) => flag);
2339
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2340
+ path: _path2 + ".id",
2341
+ expected: "string",
2342
+ value: input3.id
2343
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2344
+ path: _path2 + ".name",
2345
+ expected: "string",
2346
+ value: input3.name
2347
+ }), "categorical" === input3.type || $report(_exceptionable2, {
2348
+ path: _path2 + ".type",
2349
+ expected: '"categorical"',
2350
+ value: input3.type
2351
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2352
+ path: _path2 + ".child_types",
2353
+ expected: "(Array<string> | undefined)",
2354
+ value: input3.child_types
2355
+ })) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
2356
+ path: _path2 + ".child_types[" + _index11 + "]",
2357
+ expected: "string",
2358
+ value: elem
2359
+ })).every((flag) => flag) || $report(_exceptionable2, {
2360
+ path: _path2 + ".child_types",
2361
+ expected: "(Array<string> | undefined)",
2362
+ value: input3.child_types
2363
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2364
+ path: _path2 + ".hashtmldetail",
2365
+ expected: "(boolean | undefined)",
2366
+ value: input3.hashtmldetail
2367
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2368
+ path: _path2 + ".included_types",
2369
+ expected: "(Array<string> | undefined)",
2370
+ value: input3.included_types
2371
+ })) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
2372
+ path: _path2 + ".included_types[" + _index12 + "]",
2373
+ expected: "string",
2374
+ value: elem
2375
+ })).every((flag) => flag) || $report(_exceptionable2, {
2376
+ path: _path2 + ".included_types",
2377
+ expected: "(Array<string> | undefined)",
2378
+ value: input3.included_types
2379
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2380
+ path: _path2 + ".isleaf",
2381
+ expected: "(boolean | undefined)",
2382
+ value: input3.isleaf
2383
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2384
+ path: _path2 + ".values",
2385
+ expected: "(TermValues | undefined)",
2386
+ value: input3.values
2387
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2388
+ path: _path2 + ".values",
2389
+ expected: "(TermValues | undefined)",
2390
+ value: input3.values
2391
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2392
+ path: _path2 + ".groupsetting",
2393
+ expected: "(EnabledTermGroupSetting | __type.o6)",
2394
+ value: input3.groupsetting
2395
+ })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2396
+ path: _path2 + ".groupsetting",
2397
+ expected: "(EnabledTermGroupSetting | __type.o6)",
2398
+ value: input3.groupsetting
2399
+ })].every((flag) => flag);
2400
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
2401
+ path: _path2 + ".disabled",
2402
+ expected: "(boolean | undefined)",
2403
+ value: input3.disabled
2404
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
2405
+ path: _path2 + ".lst",
2406
+ expected: "Array<Groupset>",
2407
+ value: input3.lst
2408
+ })) && input3.lst.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2409
+ path: _path2 + ".lst[" + _index13 + "]",
2410
+ expected: "Groupset",
2411
+ value: elem
2412
+ })) && $vo17(elem, _path2 + ".lst[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
2413
+ path: _path2 + ".lst[" + _index13 + "]",
2414
+ expected: "Groupset",
2415
+ value: elem
2416
+ })).every((flag) => flag) || $report(_exceptionable2, {
2417
+ path: _path2 + ".lst",
2418
+ expected: "Array<Groupset>",
2419
+ value: input3.lst
2420
+ })].every((flag) => flag);
2421
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2422
+ path: _path2 + ".name",
2423
+ expected: "string",
2424
+ value: input3.name
2425
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
2426
+ path: _path2 + ".is_grade",
2427
+ expected: "(boolean | undefined)",
2428
+ value: input3.is_grade
2429
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
2430
+ path: _path2 + ".is_subcondition",
2431
+ expected: "(boolean | undefined)",
2432
+ value: input3.is_subcondition
2433
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
2434
+ path: _path2 + ".groups",
2435
+ expected: "Array<GroupEntry>",
2436
+ value: input3.groups
2437
+ })) && input3.groups.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2438
+ path: _path2 + ".groups[" + _index14 + "]",
2439
+ expected: "(FilterGroup | ValuesGroup)",
2440
+ value: elem
2441
+ })) && $vu1(elem, _path2 + ".groups[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
2442
+ path: _path2 + ".groups[" + _index14 + "]",
2443
+ expected: "(FilterGroup | ValuesGroup)",
2444
+ value: elem
2445
+ })).every((flag) => flag) || $report(_exceptionable2, {
2446
+ path: _path2 + ".groups",
2447
+ expected: "Array<GroupEntry>",
2448
+ value: input3.groups
2449
+ })].every((flag) => flag);
2450
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2451
+ path: _path2 + ".name",
2452
+ expected: "string",
2453
+ value: input3.name
2454
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2455
+ path: _path2 + ".type",
2456
+ expected: "string",
2457
+ value: input3.type
2458
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2459
+ path: _path2 + ".values",
2460
+ expected: "Array<__type>.o3",
2461
+ value: input3.values
2462
+ })) && input3.values.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2463
+ path: _path2 + ".values[" + _index15 + "]",
2464
+ expected: "__type.o5",
2465
+ value: elem
2466
+ })) && $vo19(elem, _path2 + ".values[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
2467
+ path: _path2 + ".values[" + _index15 + "]",
2468
+ expected: "__type.o5",
2469
+ value: elem
2470
+ })).every((flag) => flag) || $report(_exceptionable2, {
2471
+ path: _path2 + ".values",
2472
+ expected: "Array<__type>.o3",
2473
+ value: input3.values
2474
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
2475
+ path: _path2 + ".uncomputable",
2476
+ expected: "(boolean | undefined)",
2477
+ value: input3.uncomputable
2478
+ })].every((flag) => flag);
2479
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
2480
+ path: _path2 + ".key",
2481
+ expected: "(number | string)",
2482
+ value: input3.key
2483
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
2484
+ path: _path2 + ".label",
2485
+ expected: "string",
2486
+ value: input3.label
2487
+ })].every((flag) => flag);
2488
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2489
+ path: _path2 + ".name",
2490
+ expected: "string",
2491
+ value: input3.name
2492
+ }), "filter" === input3.type || $report(_exceptionable2, {
2493
+ path: _path2 + ".type",
2494
+ expected: '"filter"',
2495
+ value: input3.type
2496
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
2497
+ path: _path2 + ".filter",
2498
+ expected: "Filter",
2499
+ value: input3.filter
2500
+ })) && $vo13(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
2501
+ path: _path2 + ".filter",
2502
+ expected: "Filter",
2503
+ value: input3.filter
2504
+ })].every((flag) => flag);
2505
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
2506
+ path: _path2 + ".disabled",
2507
+ expected: "boolean",
2508
+ value: input3.disabled
2509
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
2510
+ path: _path2 + ".lst",
2511
+ expected: "([] | undefined)",
2512
+ value: input3.lst
2513
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
2514
+ path: _path2 + ".lst",
2515
+ expected: "[]",
2516
+ value: input3.lst
2517
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
2518
+ path: _path2 + ".lst",
2519
+ expected: "([] | undefined)",
2520
+ value: input3.lst
2521
+ })].every((flag) => flag);
2522
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2523
+ path: _path2 + ".join",
2524
+ expected: "(string | undefined)",
2525
+ value: input3.join
2526
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2527
+ path: _path2 + ".isnot",
2528
+ expected: "(boolean | undefined)",
2529
+ value: input3.isnot
2530
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2531
+ path: _path2 + ".term",
2532
+ expected: "NumericTerm",
2533
+ value: input3.term
2534
+ })) && $vo23(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2535
+ path: _path2 + ".term",
2536
+ expected: "NumericTerm",
2537
+ value: input3.term
2538
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
2539
+ path: _path2 + ".ranges",
2540
+ expected: "Array<NumericBin>",
2541
+ value: input3.ranges
2542
+ })) && input3.ranges.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2543
+ path: _path2 + ".ranges[" + _index16 + "]",
2544
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2545
+ value: elem
2546
+ })) && $vu2(elem, _path2 + ".ranges[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
2547
+ path: _path2 + ".ranges[" + _index16 + "]",
2548
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2549
+ value: elem
2550
+ })).every((flag) => flag) || $report(_exceptionable2, {
2551
+ path: _path2 + ".ranges",
2552
+ expected: "Array<NumericBin>",
2553
+ value: input3.ranges
2554
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2555
+ path: _path2 + ".values",
2556
+ expected: "Array<__type>.o4",
2557
+ value: input3.values
2558
+ })) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2559
+ path: _path2 + ".values[" + _index17 + "]",
2560
+ expected: "__type.o7",
2561
+ value: elem
2562
+ })) && $vo31(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
2563
+ path: _path2 + ".values[" + _index17 + "]",
2564
+ expected: "__type.o7",
2565
+ value: elem
2566
+ })).every((flag) => flag) || $report(_exceptionable2, {
2567
+ path: _path2 + ".values",
2568
+ expected: "Array<__type>.o4",
2569
+ value: input3.values
2570
+ })].every((flag) => flag);
2571
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2572
+ path: _path2 + ".id",
2573
+ expected: "string",
2574
+ value: input3.id
2575
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2576
+ path: _path2 + ".name",
2577
+ expected: "string",
2578
+ value: input3.name
2579
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
2580
+ path: _path2 + ".type",
2581
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
2582
+ value: input3.type
2583
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2584
+ path: _path2 + ".child_types",
2585
+ expected: "(Array<string> | undefined)",
2586
+ value: input3.child_types
2587
+ })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
2588
+ path: _path2 + ".child_types[" + _index18 + "]",
2589
+ expected: "string",
2590
+ value: elem
2591
+ })).every((flag) => flag) || $report(_exceptionable2, {
2592
+ path: _path2 + ".child_types",
2593
+ expected: "(Array<string> | undefined)",
2594
+ value: input3.child_types
2595
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2596
+ path: _path2 + ".hashtmldetail",
2597
+ expected: "(boolean | undefined)",
2598
+ value: input3.hashtmldetail
2599
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2600
+ path: _path2 + ".included_types",
2601
+ expected: "(Array<string> | undefined)",
2602
+ value: input3.included_types
2603
+ })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
2604
+ path: _path2 + ".included_types[" + _index19 + "]",
2605
+ expected: "string",
2606
+ value: elem
2607
+ })).every((flag) => flag) || $report(_exceptionable2, {
2608
+ path: _path2 + ".included_types",
2609
+ expected: "(Array<string> | undefined)",
2610
+ value: input3.included_types
2611
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2612
+ path: _path2 + ".isleaf",
2613
+ expected: "(boolean | undefined)",
2614
+ value: input3.isleaf
2615
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2616
+ path: _path2 + ".values",
2617
+ expected: "(TermValues | undefined)",
2618
+ value: input3.values
2619
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2620
+ path: _path2 + ".values",
2621
+ expected: "(TermValues | undefined)",
2622
+ value: input3.values
2623
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2624
+ path: _path2 + ".bins",
2625
+ expected: "PresetNumericBins",
2626
+ value: input3.bins
2627
+ })) && $vo24(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2628
+ path: _path2 + ".bins",
2629
+ expected: "PresetNumericBins",
2630
+ value: input3.bins
2631
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2632
+ path: _path2 + ".unit",
2633
+ expected: "(string | undefined)",
2634
+ value: input3.unit
2635
+ })].every((flag) => flag);
2636
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
2637
+ path: _path2 + '["default"]',
2638
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2639
+ value: input3["default"]
2640
+ })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
2641
+ path: _path2 + '["default"]',
2642
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2643
+ value: input3["default"]
2644
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
2645
+ path: _path2 + ".less",
2646
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2647
+ value: input3.less
2648
+ })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
2649
+ path: _path2 + ".less",
2650
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2651
+ value: input3.less
2652
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
2653
+ path: _path2 + ".label_offset",
2654
+ expected: "(number | undefined)",
2655
+ value: input3.label_offset
2656
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
2657
+ path: _path2 + ".label_offset_ignored",
2658
+ expected: "(boolean | undefined)",
2659
+ value: input3.label_offset_ignored
2660
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
2661
+ path: _path2 + ".rounding",
2662
+ expected: "(string | undefined)",
2663
+ value: input3.rounding
2664
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
2665
+ path: _path2 + ".min",
2666
+ expected: "(number | undefined)",
2667
+ value: input3.min
2668
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
2669
+ path: _path2 + ".max",
2670
+ expected: "(number | undefined)",
2671
+ value: input3.max
2672
+ })].every((flag) => flag);
2673
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2674
+ path: _path2 + ".hiddenValues",
2675
+ expected: "(HiddenValues | undefined)",
2676
+ value: input3.hiddenValues
2677
+ })) && $vo26(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2678
+ path: _path2 + ".hiddenValues",
2679
+ expected: "(HiddenValues | undefined)",
2680
+ value: input3.hiddenValues
2681
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2682
+ path: _path2 + ".isAtomic",
2683
+ expected: "(true | undefined)",
2684
+ value: input3.isAtomic
2685
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2686
+ path: _path2 + ".name",
2687
+ expected: "(string | undefined)",
2688
+ value: input3.name
2689
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2690
+ path: _path2 + ".reuseId",
2691
+ expected: "(string | undefined)",
2692
+ value: input3.reuseId
2693
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
2694
+ path: _path2 + ".type",
2695
+ expected: '"regular-bin"',
2696
+ value: input3.type
2697
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
2698
+ path: _path2 + ".mode",
2699
+ expected: '("discrete" | undefined)',
2700
+ value: input3.mode
2701
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
2702
+ path: _path2 + ".bin_size",
2703
+ expected: "number",
2704
+ value: input3.bin_size
2705
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
2706
+ path: _path2 + ".first_bin",
2707
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
2708
+ value: input3.first_bin
2709
+ })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
2710
+ path: _path2 + ".first_bin",
2711
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
2712
+ value: input3.first_bin
2713
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
2714
+ path: _path2 + ".last_bin",
2715
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
2716
+ value: input3.last_bin
2717
+ })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
2718
+ path: _path2 + ".last_bin",
2719
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
2720
+ value: input3.last_bin
2721
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
2722
+ path: _path2 + ".label_offset",
2723
+ expected: "(number | undefined)",
2724
+ value: input3.label_offset
2725
+ })].every((flag) => flag);
2726
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2727
+ const value = input3[key];
2728
+ if (void 0 === value)
2729
+ return true;
2730
+ if (RegExp(/(.*)/).test(key))
2731
+ return "number" === typeof value || $report(_exceptionable2, {
2732
+ path: _path2 + $join(key),
2733
+ expected: "number",
2734
+ value
2735
+ });
2736
+ return true;
2737
+ }).every((flag) => flag)].every((flag) => flag);
2738
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
2739
+ path: _path2 + ".startunbounded",
2740
+ expected: "true",
2741
+ value: input3.startunbounded
2742
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
2743
+ path: _path2 + ".startinclusive",
2744
+ expected: "(false | undefined)",
2745
+ value: input3.startinclusive
2746
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2747
+ path: _path2 + ".stop",
2748
+ expected: "number",
2749
+ value: input3.stop
2750
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
2751
+ path: _path2 + ".stopinclusive",
2752
+ expected: "(boolean | undefined)",
2753
+ value: input3.stopinclusive
2754
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
2755
+ path: _path2 + ".stopunbounded",
2756
+ expected: "(false | undefined)",
2757
+ value: input3.stopunbounded
2758
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2759
+ path: _path2 + ".label",
2760
+ expected: "(string | undefined)",
2761
+ value: input3.label
2762
+ })].every((flag) => flag);
2763
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
2764
+ path: _path2 + ".startunbounded",
2765
+ expected: "(false | undefined)",
2766
+ value: input3.startunbounded
2767
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
2768
+ path: _path2 + ".startinclusive",
2769
+ expected: "(boolean | undefined)",
2770
+ value: input3.startinclusive
2771
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
2772
+ path: _path2 + ".start",
2773
+ expected: "number",
2774
+ value: input3.start
2775
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2776
+ path: _path2 + ".stop",
2777
+ expected: "number",
2778
+ value: input3.stop
2779
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
2780
+ path: _path2 + ".stopinclusive",
2781
+ expected: "(boolean | undefined)",
2782
+ value: input3.stopinclusive
2783
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
2784
+ path: _path2 + ".stopunbounded",
2785
+ expected: "(false | undefined)",
2786
+ value: input3.stopunbounded
2787
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2788
+ path: _path2 + ".label",
2789
+ expected: "(string | undefined)",
2790
+ value: input3.label
2791
+ })].every((flag) => flag);
2792
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
2793
+ path: _path2 + ".start",
2794
+ expected: "number",
2795
+ value: input3.start
2796
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
2797
+ path: _path2 + ".stopunbounded",
2798
+ expected: "true",
2799
+ value: input3.stopunbounded
2800
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
2801
+ path: _path2 + ".startinclusive",
2802
+ expected: "(boolean | undefined)",
2803
+ value: input3.startinclusive
2804
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
2805
+ path: _path2 + ".startunbounded",
2806
+ expected: "(false | undefined)",
2807
+ value: input3.startunbounded
2808
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
2809
+ path: _path2 + ".stopinclusive",
2810
+ expected: "(false | undefined)",
2811
+ value: input3.stopinclusive
2812
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2813
+ path: _path2 + ".label",
2814
+ expected: "(string | undefined)",
2815
+ value: input3.label
2816
+ })].every((flag) => flag);
2817
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2818
+ path: _path2 + ".hiddenValues",
2819
+ expected: "(HiddenValues | undefined)",
2820
+ value: input3.hiddenValues
2821
+ })) && $vo26(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2822
+ path: _path2 + ".hiddenValues",
2823
+ expected: "(HiddenValues | undefined)",
2824
+ value: input3.hiddenValues
2825
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2826
+ path: _path2 + ".isAtomic",
2827
+ expected: "(true | undefined)",
2828
+ value: input3.isAtomic
2829
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2830
+ path: _path2 + ".name",
2831
+ expected: "(string | undefined)",
2832
+ value: input3.name
2833
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2834
+ path: _path2 + ".reuseId",
2835
+ expected: "(string | undefined)",
2836
+ value: input3.reuseId
2837
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
2838
+ path: _path2 + ".type",
2839
+ expected: '"custom-bin"',
2840
+ value: input3.type
2841
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
2842
+ path: _path2 + ".mode",
2843
+ expected: '("binary" | "discrete" | undefined)',
2844
+ value: input3.mode
2845
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
2846
+ path: _path2 + ".lst",
2847
+ expected: "[NumericBin, ...NumericBin[]]",
2848
+ value: input3.lst
2849
+ })) && ([
2850
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
2851
+ path: _path2 + ".lst[0]",
2852
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2853
+ value: input3.lst[0]
2854
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
2855
+ path: _path2 + ".lst[0]",
2856
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2857
+ value: input3.lst[0]
2858
+ })
2859
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
2860
+ path: _path2 + ".lst",
2861
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2862
+ value: input3.lst.slice(1)
2863
+ })) && input3.lst.slice(1).map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2864
+ path: _path2 + ".lst[" + (1 + _index20) + "]",
2865
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2866
+ value: elem
2867
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index20) + "]", _exceptionable2) || $report(_exceptionable2, {
2868
+ path: _path2 + ".lst[" + (1 + _index20) + "]",
2869
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2870
+ value: elem
2871
+ })).every((flag) => flag) || $report(_exceptionable2, {
2872
+ path: _path2 + ".lst",
2873
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
2874
+ value: input3.lst.slice(1)
2875
+ }))) || $report(_exceptionable2, {
2876
+ path: _path2 + ".lst",
2877
+ expected: "[NumericBin, ...NumericBin[]]",
2878
+ value: input3.lst
2879
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
2880
+ path: _path2 + ".preferredBins",
2881
+ expected: '("median" | undefined)',
2882
+ value: input3.preferredBins
2883
+ })].every((flag) => flag);
2884
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2885
+ path: _path2 + ".key",
2886
+ expected: "string",
2887
+ value: input3.key
2888
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
2889
+ path: _path2 + ".value",
2890
+ expected: "number",
2891
+ value: input3.value
2892
+ }), true === input3.uncomputable || $report(_exceptionable2, {
2893
+ path: _path2 + ".uncomputable",
2894
+ expected: "true",
2895
+ value: input3.uncomputable
2896
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2897
+ path: _path2 + ".label",
2898
+ expected: "(string | undefined)",
2899
+ value: input3.label
2900
+ })].every((flag) => flag);
2901
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2902
+ path: _path2 + ".join",
2903
+ expected: "(string | undefined)",
2904
+ value: input3.join
2905
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2906
+ path: _path2 + ".isnot",
2907
+ expected: "(boolean | undefined)",
2908
+ value: input3.isnot
2909
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2910
+ path: _path2 + ".term",
2911
+ expected: "ConditionTerm",
2912
+ value: input3.term
2913
+ })) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2914
+ path: _path2 + ".term",
2915
+ expected: "ConditionTerm",
2916
+ value: input3.term
2917
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2918
+ path: _path2 + ".value_by_max_grade",
2919
+ expected: "(boolean | undefined)",
2920
+ value: input3.value_by_max_grade
2921
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2922
+ path: _path2 + ".value_by_most_recent",
2923
+ expected: "(boolean | undefined)",
2924
+ value: input3.value_by_most_recent
2925
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2926
+ path: _path2 + ".value_by_computable_grade",
2927
+ expected: "(boolean | undefined)",
2928
+ value: input3.value_by_computable_grade
2929
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
2930
+ path: _path2 + ".grade_and_child",
2931
+ expected: "(Array<GradeAndChildEntry> | undefined)",
2932
+ value: input3.grade_and_child
2933
+ })) && input3.grade_and_child.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2934
+ path: _path2 + ".grade_and_child[" + _index21 + "]",
2935
+ expected: "GradeAndChildEntry",
2936
+ value: elem
2937
+ })) && $vo34(elem, _path2 + ".grade_and_child[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
2938
+ path: _path2 + ".grade_and_child[" + _index21 + "]",
2939
+ expected: "GradeAndChildEntry",
2940
+ value: elem
2941
+ })).every((flag) => flag) || $report(_exceptionable2, {
2942
+ path: _path2 + ".grade_and_child",
2943
+ expected: "(Array<GradeAndChildEntry> | undefined)",
2944
+ value: input3.grade_and_child
2945
+ })].every((flag) => flag);
2946
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2947
+ path: _path2 + ".id",
2948
+ expected: "string",
2949
+ value: input3.id
2950
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2951
+ path: _path2 + ".name",
2952
+ expected: "string",
2953
+ value: input3.name
2954
+ }), "condition" === input3.type || $report(_exceptionable2, {
2955
+ path: _path2 + ".type",
2956
+ expected: '"condition"',
2957
+ value: input3.type
2958
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2959
+ path: _path2 + ".child_types",
2960
+ expected: "(Array<string> | undefined)",
2961
+ value: input3.child_types
2962
+ })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
2963
+ path: _path2 + ".child_types[" + _index22 + "]",
2964
+ expected: "string",
2965
+ value: elem
2966
+ })).every((flag) => flag) || $report(_exceptionable2, {
2967
+ path: _path2 + ".child_types",
2968
+ expected: "(Array<string> | undefined)",
2969
+ value: input3.child_types
2970
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2971
+ path: _path2 + ".hashtmldetail",
2972
+ expected: "(boolean | undefined)",
2973
+ value: input3.hashtmldetail
2974
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2975
+ path: _path2 + ".included_types",
2976
+ expected: "(Array<string> | undefined)",
2977
+ value: input3.included_types
2978
+ })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
2979
+ path: _path2 + ".included_types[" + _index23 + "]",
2980
+ expected: "string",
2981
+ value: elem
2982
+ })).every((flag) => flag) || $report(_exceptionable2, {
2983
+ path: _path2 + ".included_types",
2984
+ expected: "(Array<string> | undefined)",
2985
+ value: input3.included_types
2986
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2987
+ path: _path2 + ".isleaf",
2988
+ expected: "(boolean | undefined)",
2989
+ value: input3.isleaf
2990
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2991
+ path: _path2 + ".values",
2992
+ expected: "(TermValues | undefined)",
2993
+ value: input3.values
2994
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2995
+ path: _path2 + ".values",
2996
+ expected: "(TermValues | undefined)",
2997
+ value: input3.values
2998
+ })].every((flag) => flag);
2999
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
3000
+ path: _path2 + ".grade",
3001
+ expected: "number",
3002
+ value: input3.grade
3003
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
3004
+ path: _path2 + ".grade_label",
3005
+ expected: "string",
3006
+ value: input3.grade_label
3007
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
3008
+ path: _path2 + ".child_id",
3009
+ expected: "(string | undefined)",
3010
+ value: input3.child_id
3011
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
3012
+ path: _path2 + ".child_label",
3013
+ expected: "string",
3014
+ value: input3.child_label
3015
+ })].every((flag) => flag);
3016
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
3017
+ path: _path2 + ".join",
3018
+ expected: "(string | undefined)",
3019
+ value: input3.join
3020
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
3021
+ path: _path2 + ".isnot",
3022
+ expected: "(boolean | undefined)",
3023
+ value: input3.isnot
3024
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3025
+ path: _path2 + ".term",
3026
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
3027
+ value: input3.term
3028
+ })) && $vu9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3029
+ path: _path2 + ".term",
3030
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
3031
+ value: input3.term
3032
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
3033
+ path: _path2 + ".values",
3034
+ expected: "Array<GeneVariantTvsValue>",
3035
+ value: input3.values
3036
+ })) && input3.values.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3037
+ path: _path2 + ".values[" + _index24 + "]",
3038
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
3039
+ value: elem
3040
+ })) && $vu3(elem, _path2 + ".values[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
3041
+ path: _path2 + ".values[" + _index24 + "]",
3042
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
3043
+ value: elem
3044
+ })).every((flag) => flag) || $report(_exceptionable2, {
3045
+ path: _path2 + ".values",
3046
+ expected: "Array<GeneVariantTvsValue>",
3047
+ value: input3.values
3048
+ })].every((flag) => flag);
3049
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3050
+ path: _path2 + ".id",
3051
+ expected: "string",
3052
+ value: input3.id
3053
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3054
+ path: _path2 + ".name",
3055
+ expected: "string",
3056
+ value: input3.name
3057
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
3058
+ path: _path2 + ".type",
3059
+ expected: '"geneVariant"',
3060
+ value: input3.type
3061
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3062
+ path: _path2 + ".child_types",
3063
+ expected: "(Array<string> | undefined)",
3064
+ value: input3.child_types
3065
+ })) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
3066
+ path: _path2 + ".child_types[" + _index25 + "]",
3067
+ expected: "string",
3068
+ value: elem
3069
+ })).every((flag) => flag) || $report(_exceptionable2, {
3070
+ path: _path2 + ".child_types",
3071
+ expected: "(Array<string> | undefined)",
3072
+ value: input3.child_types
3073
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3074
+ path: _path2 + ".hashtmldetail",
3075
+ expected: "(boolean | undefined)",
3076
+ value: input3.hashtmldetail
3077
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3078
+ path: _path2 + ".included_types",
3079
+ expected: "(Array<string> | undefined)",
3080
+ value: input3.included_types
3081
+ })) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
3082
+ path: _path2 + ".included_types[" + _index26 + "]",
3083
+ expected: "string",
3084
+ value: elem
3085
+ })).every((flag) => flag) || $report(_exceptionable2, {
3086
+ path: _path2 + ".included_types",
3087
+ expected: "(Array<string> | undefined)",
3088
+ value: input3.included_types
3089
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3090
+ path: _path2 + ".isleaf",
3091
+ expected: "(boolean | undefined)",
3092
+ value: input3.isleaf
3093
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3094
+ path: _path2 + ".values",
3095
+ expected: "(TermValues | undefined)",
3096
+ value: input3.values
3097
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3098
+ path: _path2 + ".values",
3099
+ expected: "(TermValues | undefined)",
3100
+ value: input3.values
3101
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
3102
+ path: _path2 + ".groupsetting",
3103
+ expected: "EnabledTermGroupSetting",
3104
+ value: input3.groupsetting
3105
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
3106
+ path: _path2 + ".groupsetting",
3107
+ expected: "EnabledTermGroupSetting",
3108
+ value: input3.groupsetting
3109
+ }), "gene" === input3.kind || $report(_exceptionable2, {
3110
+ path: _path2 + ".kind",
3111
+ expected: '"gene"',
3112
+ value: input3.kind
3113
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
3114
+ path: _path2 + ".gene",
3115
+ expected: "string",
3116
+ value: input3.gene
3117
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
3118
+ path: _path2 + ".chr",
3119
+ expected: "(string | undefined)",
3120
+ value: input3.chr
3121
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
3122
+ path: _path2 + ".start",
3123
+ expected: "(number | undefined)",
3124
+ value: input3.start
3125
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
3126
+ path: _path2 + ".stop",
3127
+ expected: "(number | undefined)",
3128
+ value: input3.stop
3129
+ })].every((flag) => flag);
3130
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3131
+ path: _path2 + ".id",
3132
+ expected: "string",
3133
+ value: input3.id
3134
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3135
+ path: _path2 + ".name",
3136
+ expected: "string",
3137
+ value: input3.name
3138
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
3139
+ path: _path2 + ".type",
3140
+ expected: '"geneVariant"',
3141
+ value: input3.type
3142
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3143
+ path: _path2 + ".child_types",
3144
+ expected: "(Array<string> | undefined)",
3145
+ value: input3.child_types
3146
+ })) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
3147
+ path: _path2 + ".child_types[" + _index27 + "]",
3148
+ expected: "string",
3149
+ value: elem
3150
+ })).every((flag) => flag) || $report(_exceptionable2, {
3151
+ path: _path2 + ".child_types",
3152
+ expected: "(Array<string> | undefined)",
3153
+ value: input3.child_types
3154
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3155
+ path: _path2 + ".hashtmldetail",
3156
+ expected: "(boolean | undefined)",
3157
+ value: input3.hashtmldetail
3158
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3159
+ path: _path2 + ".included_types",
3160
+ expected: "(Array<string> | undefined)",
3161
+ value: input3.included_types
3162
+ })) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
3163
+ path: _path2 + ".included_types[" + _index28 + "]",
3164
+ expected: "string",
3165
+ value: elem
3166
+ })).every((flag) => flag) || $report(_exceptionable2, {
3167
+ path: _path2 + ".included_types",
3168
+ expected: "(Array<string> | undefined)",
3169
+ value: input3.included_types
3170
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3171
+ path: _path2 + ".isleaf",
3172
+ expected: "(boolean | undefined)",
3173
+ value: input3.isleaf
3174
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3175
+ path: _path2 + ".values",
3176
+ expected: "(TermValues | undefined)",
3177
+ value: input3.values
3178
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3179
+ path: _path2 + ".values",
3180
+ expected: "(TermValues | undefined)",
3181
+ value: input3.values
3182
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
3183
+ path: _path2 + ".groupsetting",
3184
+ expected: "EnabledTermGroupSetting",
3185
+ value: input3.groupsetting
3186
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
3187
+ path: _path2 + ".groupsetting",
3188
+ expected: "EnabledTermGroupSetting",
3189
+ value: input3.groupsetting
3190
+ }), "coord" === input3.kind || $report(_exceptionable2, {
3191
+ path: _path2 + ".kind",
3192
+ expected: '"coord"',
3193
+ value: input3.kind
3194
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
3195
+ path: _path2 + ".chr",
3196
+ expected: "string",
3197
+ value: input3.chr
3198
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
3199
+ path: _path2 + ".start",
3200
+ expected: "number",
3201
+ value: input3.start
3202
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
3203
+ path: _path2 + ".stop",
3204
+ expected: "number",
3205
+ value: input3.stop
3206
+ })].every((flag) => flag);
3207
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
3208
+ path: _path2 + ".dt",
3209
+ expected: "1",
3210
+ value: input3.dt
3211
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
3212
+ path: _path2 + ".mclassLst",
3213
+ expected: "Array<SNVIndelClasses>",
3214
+ value: input3.mclassLst
3215
+ })) && input3.mclassLst.map((elem, _index29) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
3216
+ path: _path2 + ".mclassLst[" + _index29 + "]",
3217
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
3218
+ value: elem
3219
+ })).every((flag) => flag) || $report(_exceptionable2, {
3220
+ path: _path2 + ".mclassLst",
3221
+ expected: "Array<SNVIndelClasses>",
3222
+ value: input3.mclassLst
3223
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
3224
+ path: _path2 + ".mclassExcludeLst",
3225
+ expected: "Array<SNVIndelClasses>",
3226
+ value: input3.mclassExcludeLst
3227
+ })) && input3.mclassExcludeLst.map((elem, _index30) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
3228
+ path: _path2 + ".mclassExcludeLst[" + _index30 + "]",
3229
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
3230
+ value: elem
3231
+ })).every((flag) => flag) || $report(_exceptionable2, {
3232
+ path: _path2 + ".mclassExcludeLst",
3233
+ expected: "Array<SNVIndelClasses>",
3234
+ value: input3.mclassExcludeLst
3235
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
3236
+ path: _path2 + ".origin",
3237
+ expected: '("germline" | "somatic" | undefined)',
3238
+ value: input3.origin
3239
+ })].every((flag) => flag);
3240
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
3241
+ path: _path2 + ".dt",
3242
+ expected: "4",
3243
+ value: input3.dt
3244
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
3245
+ path: _path2 + ".mclassLst",
3246
+ expected: "Array<CNVClasses>",
3247
+ value: input3.mclassLst
3248
+ })) && input3.mclassLst.map((elem, _index31) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
3249
+ path: _path2 + ".mclassLst[" + _index31 + "]",
3250
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
3251
+ value: elem
3252
+ })).every((flag) => flag) || $report(_exceptionable2, {
3253
+ path: _path2 + ".mclassLst",
3254
+ expected: "Array<CNVClasses>",
3255
+ value: input3.mclassLst
3256
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
3257
+ path: _path2 + ".mclassExcludeLst",
3258
+ expected: "Array<CNVClasses>",
3259
+ value: input3.mclassExcludeLst
3260
+ })) && input3.mclassExcludeLst.map((elem, _index32) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
3261
+ path: _path2 + ".mclassExcludeLst[" + _index32 + "]",
3262
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
3263
+ value: elem
3264
+ })).every((flag) => flag) || $report(_exceptionable2, {
3265
+ path: _path2 + ".mclassExcludeLst",
3266
+ expected: "Array<CNVClasses>",
3267
+ value: input3.mclassExcludeLst
3268
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
3269
+ path: _path2 + ".origin",
3270
+ expected: '("germline" | "somatic" | undefined)',
3271
+ value: input3.origin
3272
+ })].every((flag) => flag);
3273
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
3274
+ path: _path2 + ".dt",
3275
+ expected: "5",
3276
+ value: input3.dt
3277
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
3278
+ path: _path2 + ".mclassLst",
3279
+ expected: "Array<SVClasses>",
3280
+ value: input3.mclassLst
3281
+ })) && input3.mclassLst.map((elem, _index33) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
3282
+ path: _path2 + ".mclassLst[" + _index33 + "]",
3283
+ expected: '("Blank" | "SV" | "WT")',
3284
+ value: elem
3285
+ })).every((flag) => flag) || $report(_exceptionable2, {
3286
+ path: _path2 + ".mclassLst",
3287
+ expected: "Array<SVClasses>",
3288
+ value: input3.mclassLst
3289
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
3290
+ path: _path2 + ".mclassExcludeLst",
3291
+ expected: "Array<SVClasses>",
3292
+ value: input3.mclassExcludeLst
3293
+ })) && input3.mclassExcludeLst.map((elem, _index34) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
3294
+ path: _path2 + ".mclassExcludeLst[" + _index34 + "]",
3295
+ expected: '("Blank" | "SV" | "WT")',
3296
+ value: elem
3297
+ })).every((flag) => flag) || $report(_exceptionable2, {
3298
+ path: _path2 + ".mclassExcludeLst",
3299
+ expected: "Array<SVClasses>",
3300
+ value: input3.mclassExcludeLst
3301
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
3302
+ path: _path2 + ".origin",
3303
+ expected: '("germline" | "somatic" | undefined)',
3304
+ value: input3.origin
3305
+ })].every((flag) => flag);
3306
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
3307
+ path: _path2 + ".dt",
3308
+ expected: "2",
3309
+ value: input3.dt
3310
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
3311
+ path: _path2 + ".mclassLst",
3312
+ expected: "Array<FusionRNAClasses>",
3313
+ value: input3.mclassLst
3314
+ })) && input3.mclassLst.map((elem, _index35) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
3315
+ path: _path2 + ".mclassLst[" + _index35 + "]",
3316
+ expected: '("Blank" | "Fuserna" | "WT")',
3317
+ value: elem
3318
+ })).every((flag) => flag) || $report(_exceptionable2, {
3319
+ path: _path2 + ".mclassLst",
3320
+ expected: "Array<FusionRNAClasses>",
3321
+ value: input3.mclassLst
3322
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
3323
+ path: _path2 + ".mclassExcludeLst",
3324
+ expected: "Array<FusionRNAClasses>",
3325
+ value: input3.mclassExcludeLst
3326
+ })) && input3.mclassExcludeLst.map((elem, _index36) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
3327
+ path: _path2 + ".mclassExcludeLst[" + _index36 + "]",
3328
+ expected: '("Blank" | "Fuserna" | "WT")',
3329
+ value: elem
3330
+ })).every((flag) => flag) || $report(_exceptionable2, {
3331
+ path: _path2 + ".mclassExcludeLst",
3332
+ expected: "Array<FusionRNAClasses>",
3333
+ value: input3.mclassExcludeLst
3334
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
3335
+ path: _path2 + ".origin",
3336
+ expected: '("germline" | "somatic" | undefined)',
3337
+ value: input3.origin
3338
+ })].every((flag) => flag);
3339
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3340
+ path: _path2 + ".id",
3341
+ expected: "string",
3342
+ value: input3.id
3343
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3344
+ path: _path2 + ".name",
3345
+ expected: "string",
3346
+ value: input3.name
3347
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
3348
+ path: _path2 + ".type",
3349
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
3350
+ value: input3.type
3351
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3352
+ path: _path2 + ".child_types",
3353
+ expected: "(Array<string> | undefined)",
3354
+ value: input3.child_types
3355
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
3356
+ path: _path2 + ".child_types[" + _index37 + "]",
3357
+ expected: "string",
3358
+ value: elem
3359
+ })).every((flag) => flag) || $report(_exceptionable2, {
3360
+ path: _path2 + ".child_types",
3361
+ expected: "(Array<string> | undefined)",
3362
+ value: input3.child_types
3363
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3364
+ path: _path2 + ".hashtmldetail",
3365
+ expected: "(boolean | undefined)",
3366
+ value: input3.hashtmldetail
3367
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3368
+ path: _path2 + ".included_types",
3369
+ expected: "(Array<string> | undefined)",
3370
+ value: input3.included_types
3371
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
3372
+ path: _path2 + ".included_types[" + _index38 + "]",
3373
+ expected: "string",
3374
+ value: elem
3375
+ })).every((flag) => flag) || $report(_exceptionable2, {
3376
+ path: _path2 + ".included_types",
3377
+ expected: "(Array<string> | undefined)",
3378
+ value: input3.included_types
3379
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3380
+ path: _path2 + ".isleaf",
3381
+ expected: "(boolean | undefined)",
3382
+ value: input3.isleaf
3383
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3384
+ path: _path2 + ".values",
3385
+ expected: "(TermValues | undefined)",
3386
+ value: input3.values
3387
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3388
+ path: _path2 + ".values",
3389
+ expected: "(TermValues | undefined)",
3390
+ value: input3.values
3391
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
3392
+ path: _path2 + ".bins",
3393
+ expected: "PresetNumericBins",
3394
+ value: input3.bins
3395
+ })) && $vo24(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
3396
+ path: _path2 + ".bins",
3397
+ expected: "PresetNumericBins",
3398
+ value: input3.bins
3399
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
3400
+ path: _path2 + ".unit",
3401
+ expected: "(string | undefined)",
3402
+ value: input3.unit
3403
+ })].every((flag) => flag);
3404
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3405
+ path: _path2 + ".id",
3406
+ expected: "string",
3407
+ value: input3.id
3408
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3409
+ path: _path2 + ".name",
3410
+ expected: "string",
3411
+ value: input3.name
3412
+ }), "condition" === input3.type || $report(_exceptionable2, {
3413
+ path: _path2 + ".type",
3414
+ expected: '"condition"',
3415
+ value: input3.type
3416
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3417
+ path: _path2 + ".child_types",
3418
+ expected: "(Array<string> | undefined)",
3419
+ value: input3.child_types
3420
+ })) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
3421
+ path: _path2 + ".child_types[" + _index39 + "]",
3422
+ expected: "string",
3423
+ value: elem
3424
+ })).every((flag) => flag) || $report(_exceptionable2, {
3425
+ path: _path2 + ".child_types",
3426
+ expected: "(Array<string> | undefined)",
3427
+ value: input3.child_types
3428
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3429
+ path: _path2 + ".hashtmldetail",
3430
+ expected: "(boolean | undefined)",
3431
+ value: input3.hashtmldetail
3432
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3433
+ path: _path2 + ".included_types",
3434
+ expected: "(Array<string> | undefined)",
3435
+ value: input3.included_types
3436
+ })) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
3437
+ path: _path2 + ".included_types[" + _index40 + "]",
3438
+ expected: "string",
3439
+ value: elem
3440
+ })).every((flag) => flag) || $report(_exceptionable2, {
3441
+ path: _path2 + ".included_types",
3442
+ expected: "(Array<string> | undefined)",
3443
+ value: input3.included_types
3444
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3445
+ path: _path2 + ".isleaf",
3446
+ expected: "(boolean | undefined)",
3447
+ value: input3.isleaf
3448
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3449
+ path: _path2 + ".values",
3450
+ expected: "(TermValues | undefined)",
3451
+ value: input3.values
3452
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3453
+ path: _path2 + ".values",
3454
+ expected: "(TermValues | undefined)",
3455
+ value: input3.values
3456
+ })].every((flag) => flag);
3457
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3458
+ path: _path2 + ".id",
3459
+ expected: "string",
3460
+ value: input3.id
3461
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3462
+ path: _path2 + ".name",
3463
+ expected: "string",
3464
+ value: input3.name
3465
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
3466
+ path: _path2 + ".type",
3467
+ expected: '"geneVariant"',
3468
+ value: input3.type
3469
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3470
+ path: _path2 + ".child_types",
3471
+ expected: "(Array<string> | undefined)",
3472
+ value: input3.child_types
3473
+ })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
3474
+ path: _path2 + ".child_types[" + _index41 + "]",
3475
+ expected: "string",
3476
+ value: elem
3477
+ })).every((flag) => flag) || $report(_exceptionable2, {
3478
+ path: _path2 + ".child_types",
3479
+ expected: "(Array<string> | undefined)",
3480
+ value: input3.child_types
3481
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3482
+ path: _path2 + ".hashtmldetail",
3483
+ expected: "(boolean | undefined)",
3484
+ value: input3.hashtmldetail
3485
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3486
+ path: _path2 + ".included_types",
3487
+ expected: "(Array<string> | undefined)",
3488
+ value: input3.included_types
3489
+ })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
3490
+ path: _path2 + ".included_types[" + _index42 + "]",
3491
+ expected: "string",
3492
+ value: elem
3493
+ })).every((flag) => flag) || $report(_exceptionable2, {
3494
+ path: _path2 + ".included_types",
3495
+ expected: "(Array<string> | undefined)",
3496
+ value: input3.included_types
3497
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3498
+ path: _path2 + ".isleaf",
3499
+ expected: "(boolean | undefined)",
3500
+ value: input3.isleaf
3501
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3502
+ path: _path2 + ".values",
3503
+ expected: "(TermValues | undefined)",
3504
+ value: input3.values
3505
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3506
+ path: _path2 + ".values",
3507
+ expected: "(TermValues | undefined)",
3508
+ value: input3.values
3509
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
3510
+ path: _path2 + ".groupsetting",
3511
+ expected: "EnabledTermGroupSetting",
3512
+ value: input3.groupsetting
3513
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
3514
+ path: _path2 + ".groupsetting",
3515
+ expected: "EnabledTermGroupSetting",
3516
+ value: input3.groupsetting
3517
+ }), "gene" === input3.kind || $report(_exceptionable2, {
3518
+ path: _path2 + ".kind",
3519
+ expected: '"gene"',
3520
+ value: input3.kind
3521
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
3522
+ path: _path2 + ".gene",
3523
+ expected: "string",
3524
+ value: input3.gene
3525
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
3526
+ path: _path2 + ".chr",
3527
+ expected: "(string | undefined)",
3528
+ value: input3.chr
3529
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
3530
+ path: _path2 + ".start",
3531
+ expected: "(number | undefined)",
3532
+ value: input3.start
3533
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
3534
+ path: _path2 + ".stop",
3535
+ expected: "(number | undefined)",
3536
+ value: input3.stop
3537
+ })].every((flag) => flag);
3538
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3539
+ path: _path2 + ".id",
3540
+ expected: "string",
3541
+ value: input3.id
3542
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3543
+ path: _path2 + ".name",
3544
+ expected: "string",
3545
+ value: input3.name
3546
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
3547
+ path: _path2 + ".type",
3548
+ expected: '"geneVariant"',
3549
+ value: input3.type
3550
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3551
+ path: _path2 + ".child_types",
3552
+ expected: "(Array<string> | undefined)",
3553
+ value: input3.child_types
3554
+ })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
3555
+ path: _path2 + ".child_types[" + _index43 + "]",
3556
+ expected: "string",
3557
+ value: elem
3558
+ })).every((flag) => flag) || $report(_exceptionable2, {
3559
+ path: _path2 + ".child_types",
3560
+ expected: "(Array<string> | undefined)",
3561
+ value: input3.child_types
3562
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3563
+ path: _path2 + ".hashtmldetail",
3564
+ expected: "(boolean | undefined)",
3565
+ value: input3.hashtmldetail
3566
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3567
+ path: _path2 + ".included_types",
3568
+ expected: "(Array<string> | undefined)",
3569
+ value: input3.included_types
3570
+ })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
3571
+ path: _path2 + ".included_types[" + _index44 + "]",
3572
+ expected: "string",
3573
+ value: elem
3574
+ })).every((flag) => flag) || $report(_exceptionable2, {
3575
+ path: _path2 + ".included_types",
3576
+ expected: "(Array<string> | undefined)",
3577
+ value: input3.included_types
3578
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3579
+ path: _path2 + ".isleaf",
3580
+ expected: "(boolean | undefined)",
3581
+ value: input3.isleaf
3582
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3583
+ path: _path2 + ".values",
3584
+ expected: "(TermValues | undefined)",
3585
+ value: input3.values
3586
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3587
+ path: _path2 + ".values",
3588
+ expected: "(TermValues | undefined)",
3589
+ value: input3.values
3590
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
3591
+ path: _path2 + ".groupsetting",
3592
+ expected: "EnabledTermGroupSetting",
3593
+ value: input3.groupsetting
3594
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
3595
+ path: _path2 + ".groupsetting",
3596
+ expected: "EnabledTermGroupSetting",
3597
+ value: input3.groupsetting
3598
+ }), "coord" === input3.kind || $report(_exceptionable2, {
3599
+ path: _path2 + ".kind",
3600
+ expected: '"coord"',
3601
+ value: input3.kind
3602
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
3603
+ path: _path2 + ".chr",
3604
+ expected: "string",
3605
+ value: input3.chr
3606
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
3607
+ path: _path2 + ".start",
3608
+ expected: "number",
3609
+ value: input3.start
3610
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
3611
+ path: _path2 + ".stop",
3612
+ expected: "number",
3613
+ value: input3.stop
3614
+ })].every((flag) => flag);
3615
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3616
+ path: _path2 + ".id",
3617
+ expected: "string",
3618
+ value: input3.id
3619
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3620
+ path: _path2 + ".name",
3621
+ expected: "string",
3622
+ value: input3.name
3623
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
3624
+ path: _path2 + ".type",
3625
+ expected: "string",
3626
+ value: input3.type
3627
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3628
+ path: _path2 + ".child_types",
3629
+ expected: "(Array<string> | undefined)",
3630
+ value: input3.child_types
3631
+ })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
3632
+ path: _path2 + ".child_types[" + _index45 + "]",
3633
+ expected: "string",
3634
+ value: elem
3635
+ })).every((flag) => flag) || $report(_exceptionable2, {
3636
+ path: _path2 + ".child_types",
3637
+ expected: "(Array<string> | undefined)",
3638
+ value: input3.child_types
3639
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3640
+ path: _path2 + ".hashtmldetail",
3641
+ expected: "(boolean | undefined)",
3642
+ value: input3.hashtmldetail
3643
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3644
+ path: _path2 + ".included_types",
3645
+ expected: "(Array<string> | undefined)",
3646
+ value: input3.included_types
3647
+ })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
3648
+ path: _path2 + ".included_types[" + _index46 + "]",
3649
+ expected: "string",
3650
+ value: elem
3651
+ })).every((flag) => flag) || $report(_exceptionable2, {
3652
+ path: _path2 + ".included_types",
3653
+ expected: "(Array<string> | undefined)",
3654
+ value: input3.included_types
3655
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3656
+ path: _path2 + ".isleaf",
3657
+ expected: "(boolean | undefined)",
3658
+ value: input3.isleaf
3659
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3660
+ path: _path2 + ".values",
3661
+ expected: "(TermValues | undefined)",
3662
+ value: input3.values
3663
+ })) && $vo11(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3664
+ path: _path2 + ".values",
3665
+ expected: "(TermValues | undefined)",
3666
+ value: input3.values
3667
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
3668
+ path: _path2 + ".reachedVariantLimit",
3669
+ expected: "(boolean | undefined)",
3670
+ value: input3.reachedVariantLimit
3671
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
3672
+ path: _path2 + ".snps",
3673
+ expected: "(Array<SnpsEntry> | undefined)",
3674
+ value: input3.snps
3675
+ })) && input3.snps.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3676
+ path: _path2 + ".snps[" + _index47 + "]",
3677
+ expected: "SnpsEntry",
3678
+ value: elem
3679
+ })) && $vo47(elem, _path2 + ".snps[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
3680
+ path: _path2 + ".snps[" + _index47 + "]",
3681
+ expected: "SnpsEntry",
3682
+ value: elem
3683
+ })).every((flag) => flag) || $report(_exceptionable2, {
3684
+ path: _path2 + ".snps",
3685
+ expected: "(Array<SnpsEntry> | undefined)",
3686
+ value: input3.snps
3687
+ })].every((flag) => flag);
3688
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
3689
+ path: _path2 + ".altAlleles",
3690
+ expected: "(Array<string> | undefined)",
3691
+ value: input3.altAlleles
3692
+ })) && input3.altAlleles.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
3693
+ path: _path2 + ".altAlleles[" + _index48 + "]",
3694
+ expected: "string",
3695
+ value: elem
3696
+ })).every((flag) => flag) || $report(_exceptionable2, {
3697
+ path: _path2 + ".altAlleles",
3698
+ expected: "(Array<string> | undefined)",
3699
+ value: input3.altAlleles
3700
+ }), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
3701
+ path: _path2 + ".alleles",
3702
+ expected: "(Array<AllelesEntry> | undefined)",
3703
+ value: input3.alleles
3704
+ })) && input3.alleles.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3705
+ path: _path2 + ".alleles[" + _index49 + "]",
3706
+ expected: "AllelesEntry",
3707
+ value: elem
3708
+ })) && $vo48(elem, _path2 + ".alleles[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
3709
+ path: _path2 + ".alleles[" + _index49 + "]",
3710
+ expected: "AllelesEntry",
3711
+ value: elem
3712
+ })).every((flag) => flag) || $report(_exceptionable2, {
3713
+ path: _path2 + ".alleles",
3714
+ expected: "(Array<AllelesEntry> | undefined)",
3715
+ value: input3.alleles
3716
+ }), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
3717
+ path: _path2 + ".effectAllele",
3718
+ expected: "boolean",
3719
+ value: input3.effectAllele
3720
+ }), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
3721
+ path: _path2 + ".gt2count",
3722
+ expected: "(__type.o8 | undefined)",
3723
+ value: input3.gt2count
3724
+ })) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
3725
+ path: _path2 + ".gt2count",
3726
+ expected: "(__type.o8 | undefined)",
3727
+ value: input3.gt2count
3728
+ }), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
3729
+ path: _path2 + ".invalid",
3730
+ expected: "(boolean | undefined)",
3731
+ value: input3.invalid
3732
+ }), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
3733
+ path: _path2 + ".referenceAllele",
3734
+ expected: "(string | undefined)",
3735
+ value: input3.referenceAllele
3736
+ }), "string" === typeof input3.rsid || $report(_exceptionable2, {
3737
+ path: _path2 + ".rsid",
3738
+ expected: "string",
3739
+ value: input3.rsid
3740
+ }), "string" === typeof input3.snpid || $report(_exceptionable2, {
3741
+ path: _path2 + ".snpid",
3742
+ expected: "string",
3743
+ value: input3.snpid
3744
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
3745
+ path: _path2 + ".chr",
3746
+ expected: "(string | undefined)",
3747
+ value: input3.chr
3748
+ }), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
3749
+ path: _path2 + ".pos",
3750
+ expected: "(number | undefined)",
3751
+ value: input3.pos
3752
+ })].every((flag) => flag);
3753
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
3754
+ path: _path2 + ".allele",
3755
+ expected: "string",
3756
+ value: input3.allele
3757
+ }), "number" === typeof input3.count || $report(_exceptionable2, {
3758
+ path: _path2 + ".count",
3759
+ expected: "number",
3760
+ value: input3.count
3761
+ }), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
3762
+ path: _path2 + ".isRef",
3763
+ expected: "boolean",
3764
+ value: input3.isRef
3765
+ })].every((flag) => flag);
3766
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
3767
+ path: _path2 + ".k",
3768
+ expected: "string",
3769
+ value: input3.k
3770
+ }), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
3771
+ path: _path2 + ".v",
3772
+ expected: "(number | string)",
3773
+ value: input3.v
3774
+ })].every((flag) => flag);
3775
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3776
+ path: _path2 + ".id",
3777
+ expected: "string",
3778
+ value: input3.id
3779
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3780
+ path: _path2 + ".name",
3781
+ expected: "string",
3782
+ value: input3.name
3783
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
3784
+ path: _path2 + ".type",
3785
+ expected: "string",
3786
+ value: input3.type
3787
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3788
+ path: _path2 + ".child_types",
3789
+ expected: "(Array<string> | undefined)",
3790
+ value: input3.child_types
3791
+ })) && input3.child_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
3792
+ path: _path2 + ".child_types[" + _index50 + "]",
3793
+ expected: "string",
3794
+ value: elem
3795
+ })).every((flag) => flag) || $report(_exceptionable2, {
3796
+ path: _path2 + ".child_types",
3797
+ expected: "(Array<string> | undefined)",
3798
+ value: input3.child_types
3799
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3800
+ path: _path2 + ".hashtmldetail",
3801
+ expected: "(boolean | undefined)",
3802
+ value: input3.hashtmldetail
3803
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3804
+ path: _path2 + ".included_types",
3805
+ expected: "(Array<string> | undefined)",
3806
+ value: input3.included_types
3807
+ })) && input3.included_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
3808
+ path: _path2 + ".included_types[" + _index51 + "]",
3809
+ expected: "string",
3810
+ value: elem
3811
+ })).every((flag) => flag) || $report(_exceptionable2, {
3812
+ path: _path2 + ".included_types",
3813
+ expected: "(Array<string> | undefined)",
3814
+ value: input3.included_types
3815
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3816
+ path: _path2 + ".isleaf",
3817
+ expected: "(boolean | undefined)",
3818
+ value: input3.isleaf
3819
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3820
+ path: _path2 + ".values",
3821
+ expected: "(TermValues & SampleLstTermValues | undefined)",
3822
+ value: input3.values
3823
+ })) && $vo51(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3824
+ path: _path2 + ".values",
3825
+ expected: "(TermValues & SampleLstTermValues | undefined)",
3826
+ value: input3.values
3827
+ })].every((flag) => flag);
3828
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3829
+ const value = input3[key];
3830
+ if (void 0 === value)
3831
+ return true;
3832
+ if (RegExp(/(.*)/).test(key))
3833
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3834
+ path: _path2 + $join(key),
3835
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
3836
+ value
3837
+ })) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3838
+ path: _path2 + $join(key),
3839
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
3840
+ value
3841
+ });
3842
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
3843
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3844
+ path: _path2 + $join(key),
3845
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
3846
+ value
3847
+ })) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3848
+ path: _path2 + $join(key),
3849
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
3850
+ value
3851
+ });
3852
+ return true;
3853
+ }).every((flag) => flag)].every((flag) => flag);
3854
+ const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
3855
+ path: _path2 + ".key",
3856
+ expected: "(string | undefined)",
3857
+ value: input3.key
3858
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
3859
+ path: _path2 + ".uncomputable",
3860
+ expected: "(boolean | undefined)",
3861
+ value: input3.uncomputable
3862
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
3863
+ path: _path2 + ".label",
3864
+ expected: "(number | string | undefined)",
3865
+ value: input3.label
3866
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
3867
+ path: _path2 + ".order",
3868
+ expected: "(string | undefined)",
3869
+ value: input3.order
3870
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
3871
+ path: _path2 + ".color",
3872
+ expected: "(string | undefined)",
3873
+ value: input3.color
3874
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
3875
+ path: _path2 + ".group",
3876
+ expected: "(number | undefined)",
3877
+ value: input3.group
3878
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
3879
+ path: _path2 + ".filter",
3880
+ expected: "(Filter | undefined)",
3881
+ value: input3.filter
3882
+ })) && $vo13(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
3883
+ path: _path2 + ".filter",
3884
+ expected: "(Filter | undefined)",
3885
+ value: input3.filter
3886
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3887
+ path: _path2 + ".name",
3888
+ expected: "string",
3889
+ value: input3.name
3890
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
3891
+ path: _path2 + ".inuse",
3892
+ expected: "boolean",
3893
+ value: input3.inuse
3894
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
3895
+ path: _path2 + ".list",
3896
+ expected: "Array<__type>.o5",
3897
+ value: input3.list
3898
+ })) && input3.list.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3899
+ path: _path2 + ".list[" + _index52 + "]",
3900
+ expected: "__type.o9",
3901
+ value: elem
3902
+ })) && $vo53(elem, _path2 + ".list[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
3903
+ path: _path2 + ".list[" + _index52 + "]",
3904
+ expected: "__type.o9",
3905
+ value: elem
3906
+ })).every((flag) => flag) || $report(_exceptionable2, {
3907
+ path: _path2 + ".list",
3908
+ expected: "Array<__type>.o5",
3909
+ value: input3.list
3910
+ }), true].every((flag) => flag);
3911
+ const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
3912
+ path: _path2 + ".sampleId",
3913
+ expected: "string",
3914
+ value: input3.sampleId
3915
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
3916
+ path: _path2 + ".sample",
3917
+ expected: "string",
3918
+ value: input3.sample
3919
+ })].every((flag) => flag);
3920
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3921
+ if (void 0 !== input3.type)
3922
+ return $vo13(input3, _path2, _exceptionable2);
3923
+ if (void 0 !== input3.ranges)
3924
+ return $vo22(input3, _path2, _exceptionable2);
3925
+ return $vo14(input3, _path2, false) || $vo32(input3, _path2, false) || $vo35(input3, _path2, false);
3926
+ })();
3927
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
3928
+ if ("string" === typeof input3.type)
3929
+ return $vo18(input3, _path2, _exceptionable2);
3930
+ if ("filter" === input3.type)
3931
+ return $vo20(input3, _path2, _exceptionable2);
3932
+ return $report(_exceptionable2, {
3933
+ path: _path2,
3934
+ expected: "(ValuesGroup | FilterGroup)",
3935
+ value: input3
3936
+ });
3937
+ })();
3938
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
3939
+ if (true === input3.startunbounded)
3940
+ return $vo27(input3, _path2, _exceptionable2);
3941
+ if (true === input3.stopunbounded)
3942
+ return $vo29(input3, _path2, _exceptionable2);
3943
+ return $vo28(input3, _path2, _exceptionable2);
3944
+ })();
3945
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
3946
+ if (2 === input3.dt)
3947
+ return $vo41(input3, _path2, _exceptionable2);
3948
+ if (5 === input3.dt)
3949
+ return $vo40(input3, _path2, _exceptionable2);
3950
+ if (4 === input3.dt)
3951
+ return $vo39(input3, _path2, _exceptionable2);
3952
+ if (1 === input3.dt)
3953
+ return $vo38(input3, _path2, _exceptionable2);
3954
+ return $report(_exceptionable2, {
3955
+ path: _path2,
3956
+ expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
3957
+ value: input3
3958
+ });
3959
+ })();
3960
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3961
+ if ("categorical" === input3.type)
3962
+ return $vo10(input3, _path2, _exceptionable2);
3963
+ if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
3964
+ return $vo42(input3, _path2, _exceptionable2);
3965
+ if ("condition" === input3.type)
3966
+ return $vo43(input3, _path2, _exceptionable2);
3967
+ if ("gene" === input3.kind)
3968
+ return $vo44(input3, _path2, _exceptionable2);
3969
+ if ("coord" === input3.kind)
3970
+ return $vo45(input3, _path2, _exceptionable2);
3971
+ return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
3972
+ })();
3973
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3974
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index53) => "object" === typeof elem && null !== elem && $vo17(elem, _path2 + ".lst[" + _index53 + "]", false)).every((flag) => flag))
3975
+ return $vo16(input3, _path2, _exceptionable2);
3976
+ return $vo21(input3, _path2, _exceptionable2);
3977
+ })();
3978
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3979
+ if ("regular-bin" === input3.type)
3980
+ return $vo25(input3, _path2, _exceptionable2);
3981
+ if ("custom-bin" === input3.type)
3982
+ return $vo30(input3, _path2, _exceptionable2);
3983
+ return $report(_exceptionable2, {
3984
+ path: _path2,
3985
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
3986
+ value: input3
3987
+ });
3988
+ })();
3989
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3990
+ if (true === input3.startunbounded)
3991
+ return $vo27(input3, _path2, _exceptionable2);
3992
+ if (void 0 !== input3.start)
3993
+ return $vo28(input3, _path2, _exceptionable2);
3994
+ return $report(_exceptionable2, {
3995
+ path: _path2,
3996
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
3997
+ value: input3
3998
+ });
3999
+ })();
4000
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
4001
+ if (void 0 !== input3.stop)
4002
+ return $vo28(input3, _path2, _exceptionable2);
4003
+ if (true === input3.stopunbounded)
4004
+ return $vo29(input3, _path2, _exceptionable2);
4005
+ return $report(_exceptionable2, {
4006
+ path: _path2,
4007
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
4008
+ value: input3
4009
+ });
4010
+ })();
4011
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
4012
+ if ("gene" === input3.kind)
4013
+ return $vo36(input3, _path2, _exceptionable2);
4014
+ if ("coord" === input3.kind)
4015
+ return $vo37(input3, _path2, _exceptionable2);
4016
+ return $report(_exceptionable2, {
4017
+ path: _path2,
4018
+ expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
4019
+ value: input3
4020
+ });
4021
+ })();
4022
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
4023
+ if (void 0 !== input3.status)
4024
+ return $vo0(input3, _path2, _exceptionable2);
4025
+ if (void 0 !== input3.clustering)
4026
+ return $vo1(input3, _path2, _exceptionable2);
4027
+ if (void 0 !== input3.term)
4028
+ return $vo9(input3, _path2, _exceptionable2);
4029
+ return $report(_exceptionable2, {
4030
+ path: _path2,
4031
+ expected: "(ErrorResponse | ValidResponse | SingletermResponse)",
4032
+ value: input3
4033
+ });
4034
+ })();
4035
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
4036
+ path: _path + "",
4037
+ expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
4038
+ value: input2
4039
+ })) && $vu10(input2, _path + "", true) || $report(true, {
4040
+ path: _path + "",
4041
+ expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
4042
+ value: input2
4043
+ });
4044
+ })(input, "$input", true);
4045
+ }
4046
+ const success = 0 === errors.length;
4047
+ return {
4048
+ success,
4049
+ errors,
4050
+ data: success ? input : void 0
4051
+ };
4052
+ };
4053
+
4054
+ export {
4055
+ termdbClusterPayload,
4056
+ validTermdbClusterRequest,
4057
+ validTermdbClusterResponse
4058
+ };