@sjcrh/proteinpaint-types 2.86.0 → 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1578 -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,1538 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.topVariablyExpressedGenes.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.topVariablyExpressedGenes.ts
10
+ var termdbTopVariablyExpressedGenesPayload = {
11
+ request: {
12
+ typeId: "TermdbTopVariablyExpressedGenesRequest"
13
+ },
14
+ response: {
15
+ typeId: "TermdbTopVariablyExpressedGenesResponse"
16
+ }
17
+ // examples: []
18
+ };
19
+
20
+ // dist/termdb.topVariablyExpressedGenes.ts
21
+ var validTermdbTopVariablyExpressedGenesRequest = (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 && "number" === typeof input3.maxGenes && (void 0 === input3.geneSet || "object" === typeof input3.geneSet && null !== input3.geneSet && $io1(input3.geneSet)) && (void 0 === input3.min_median_log2_uqfpkm || "number" === typeof input3.min_median_log2_uqfpkm) && (void 0 === input3.filter_extreme_values || "number" === typeof input3.filter_extreme_values) && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.rank_type || "object" === typeof input3.rank_type && null !== input3.rank_type && $io2(input3.rank_type)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && true;
26
+ const $io1 = (input3) => ("all" === input3.type || "custom" === input3.type || "msigdb" === input3.type) && (null === input3.geneList || Array.isArray(input3.geneList) && input3.geneList.every((elem) => "string" === typeof elem));
27
+ const $io2 = (input3) => "var" === input3.type || "iqr" === input3.type;
28
+ const $io3 = (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)));
29
+ const $io4 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io5(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) && $io7(elem)));
30
+ const $io5 = (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) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
31
+ const $io6 = (input3) => Object.keys(input3).every((key) => {
32
+ const value = input3[key];
33
+ if (void 0 === value)
34
+ return true;
35
+ if (RegExp(/(.*)/).test(key))
36
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io7(value);
37
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
38
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io7(value);
39
+ return true;
40
+ });
41
+ const $io7 = (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 && $io3(input3.filter));
42
+ const $io8 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
43
+ const $io9 = (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)));
44
+ const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
45
+ const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
46
+ const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter));
47
+ const $io13 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
48
+ 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)) && (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 && $io23(elem)));
49
+ const $io15 = (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) && $io6(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
50
+ const $io16 = (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);
51
+ const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $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);
52
+ const $io18 = (input3) => Object.keys(input3).every((key) => {
53
+ const value = input3[key];
54
+ if (void 0 === value)
55
+ return true;
56
+ if (RegExp(/(.*)/).test(key))
57
+ return "number" === typeof value;
58
+ return true;
59
+ });
60
+ const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
61
+ const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
62
+ const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
63
+ const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
64
+ const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
65
+ const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io26(elem)));
66
+ const $io25 = (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) && $io6(input3.values));
67
+ const $io26 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
68
+ const $io27 = (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)));
69
+ const $io28 = (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) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(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);
70
+ const $io29 = (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) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
71
+ const $io30 = (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);
72
+ const $io31 = (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);
73
+ const $io32 = (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);
74
+ const $io33 = (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);
75
+ const $iu0 = (input3) => (() => {
76
+ if (void 0 !== input3.type)
77
+ return $io3(input3);
78
+ if (void 0 !== input3.ranges)
79
+ return $io14(input3);
80
+ return (() => {
81
+ if ($io4(input3))
82
+ return $io4(input3);
83
+ if ($io24(input3))
84
+ return $io24(input3);
85
+ if ($io27(input3))
86
+ return $io27(input3);
87
+ return false;
88
+ })();
89
+ })();
90
+ const $iu1 = (input3) => (() => {
91
+ if ("string" === typeof input3.type)
92
+ return $io10(input3);
93
+ if ("filter" === input3.type)
94
+ return $io12(input3);
95
+ return false;
96
+ })();
97
+ const $iu2 = (input3) => (() => {
98
+ if (true === input3.startunbounded)
99
+ return $io19(input3);
100
+ if (true === input3.stopunbounded)
101
+ return $io21(input3);
102
+ return $io20(input3);
103
+ })();
104
+ const $iu3 = (input3) => (() => {
105
+ if (2 === input3.dt)
106
+ return $io33(input3);
107
+ if (5 === input3.dt)
108
+ return $io32(input3);
109
+ if (4 === input3.dt)
110
+ return $io31(input3);
111
+ if (1 === input3.dt)
112
+ return $io30(input3);
113
+ return false;
114
+ })();
115
+ const $iu4 = (input3) => (() => {
116
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)))
117
+ return $io8(input3);
118
+ return $io13(input3);
119
+ })();
120
+ const $iu5 = (input3) => (() => {
121
+ if ("regular-bin" === input3.type)
122
+ return $io17(input3);
123
+ if ("custom-bin" === input3.type)
124
+ return $io22(input3);
125
+ return false;
126
+ })();
127
+ const $iu6 = (input3) => (() => {
128
+ if (true === input3.startunbounded)
129
+ return $io19(input3);
130
+ if (void 0 !== input3.start)
131
+ return $io20(input3);
132
+ return false;
133
+ })();
134
+ const $iu7 = (input3) => (() => {
135
+ if (void 0 !== input3.stop)
136
+ return $io20(input3);
137
+ if (true === input3.stopunbounded)
138
+ return $io21(input3);
139
+ return false;
140
+ })();
141
+ const $iu8 = (input3) => (() => {
142
+ if ("gene" === input3.kind)
143
+ return $io28(input3);
144
+ if ("coord" === input3.kind)
145
+ return $io29(input3);
146
+ return false;
147
+ })();
148
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
149
+ };
150
+ if (false === __is(input)) {
151
+ const $report = import_typia.createValidate.report(errors);
152
+ ((input2, _path, _exceptionable = true) => {
153
+ const $join = import_typia.createValidate.join;
154
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
155
+ path: _path2 + ".genome",
156
+ expected: "string",
157
+ value: input3.genome
158
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
159
+ path: _path2 + ".dslabel",
160
+ expected: "string",
161
+ value: input3.dslabel
162
+ }), "number" === typeof input3.maxGenes || $report(_exceptionable2, {
163
+ path: _path2 + ".maxGenes",
164
+ expected: "number",
165
+ value: input3.maxGenes
166
+ }), void 0 === input3.geneSet || ("object" === typeof input3.geneSet && null !== input3.geneSet || $report(_exceptionable2, {
167
+ path: _path2 + ".geneSet",
168
+ expected: "(__type | undefined)",
169
+ value: input3.geneSet
170
+ })) && $vo1(input3.geneSet, _path2 + ".geneSet", _exceptionable2) || $report(_exceptionable2, {
171
+ path: _path2 + ".geneSet",
172
+ expected: "(__type | undefined)",
173
+ value: input3.geneSet
174
+ }), void 0 === input3.min_median_log2_uqfpkm || "number" === typeof input3.min_median_log2_uqfpkm || $report(_exceptionable2, {
175
+ path: _path2 + ".min_median_log2_uqfpkm",
176
+ expected: "(number | undefined)",
177
+ value: input3.min_median_log2_uqfpkm
178
+ }), void 0 === input3.filter_extreme_values || "number" === typeof input3.filter_extreme_values || $report(_exceptionable2, {
179
+ path: _path2 + ".filter_extreme_values",
180
+ expected: "(number | undefined)",
181
+ value: input3.filter_extreme_values
182
+ }), void 0 === input3.min_count || "number" === typeof input3.min_count || $report(_exceptionable2, {
183
+ path: _path2 + ".min_count",
184
+ expected: "(number | undefined)",
185
+ value: input3.min_count
186
+ }), void 0 === input3.min_total_count || "number" === typeof input3.min_total_count || $report(_exceptionable2, {
187
+ path: _path2 + ".min_total_count",
188
+ expected: "(number | undefined)",
189
+ value: input3.min_total_count
190
+ }), void 0 === input3.rank_type || ("object" === typeof input3.rank_type && null !== input3.rank_type || $report(_exceptionable2, {
191
+ path: _path2 + ".rank_type",
192
+ expected: "(__type.o1 | undefined)",
193
+ value: input3.rank_type
194
+ })) && $vo2(input3.rank_type, _path2 + ".rank_type", _exceptionable2) || $report(_exceptionable2, {
195
+ path: _path2 + ".rank_type",
196
+ expected: "(__type.o1 | undefined)",
197
+ value: input3.rank_type
198
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
199
+ path: _path2 + ".filter",
200
+ expected: "(Filter | undefined)",
201
+ value: input3.filter
202
+ })) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
203
+ path: _path2 + ".filter",
204
+ expected: "(Filter | undefined)",
205
+ value: input3.filter
206
+ }), true].every((flag) => flag);
207
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["all" === input3.type || "custom" === input3.type || "msigdb" === input3.type || $report(_exceptionable2, {
208
+ path: _path2 + ".type",
209
+ expected: '("all" | "custom" | "msigdb")',
210
+ value: input3.type
211
+ }), null === input3.geneList || (Array.isArray(input3.geneList) || $report(_exceptionable2, {
212
+ path: _path2 + ".geneList",
213
+ expected: "(Array<string> | null)",
214
+ value: input3.geneList
215
+ })) && input3.geneList.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
216
+ path: _path2 + ".geneList[" + _index1 + "]",
217
+ expected: "string",
218
+ value: elem
219
+ })).every((flag) => flag) || $report(_exceptionable2, {
220
+ path: _path2 + ".geneList",
221
+ expected: "(Array<string> | null)",
222
+ value: input3.geneList
223
+ })].every((flag) => flag);
224
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["var" === input3.type || "iqr" === input3.type || $report(_exceptionable2, {
225
+ path: _path2 + ".type",
226
+ expected: '("iqr" | "var")',
227
+ value: input3.type
228
+ })].every((flag) => flag);
229
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
230
+ path: _path2 + ".type",
231
+ expected: '"lst"',
232
+ value: input3.type
233
+ }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
234
+ path: _path2 + '["in"]',
235
+ expected: "(boolean | undefined)",
236
+ value: input3["in"]
237
+ }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
238
+ path: _path2 + ".join",
239
+ expected: '("and" | "or")',
240
+ value: input3.join
241
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
242
+ path: _path2 + ".tag",
243
+ expected: "(string | undefined)",
244
+ value: input3.tag
245
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
246
+ path: _path2 + ".lst",
247
+ expected: "Array<Filter | Tvs>",
248
+ value: input3.lst
249
+ })) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
250
+ path: _path2 + ".lst[" + _index2 + "]",
251
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
252
+ value: elem
253
+ })) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
254
+ path: _path2 + ".lst[" + _index2 + "]",
255
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
256
+ value: elem
257
+ })).every((flag) => flag) || $report(_exceptionable2, {
258
+ path: _path2 + ".lst",
259
+ expected: "Array<Filter | Tvs>",
260
+ value: input3.lst
261
+ })].every((flag) => flag);
262
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
263
+ path: _path2 + ".join",
264
+ expected: "(string | undefined)",
265
+ value: input3.join
266
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
267
+ path: _path2 + ".isnot",
268
+ expected: "(boolean | undefined)",
269
+ value: input3.isnot
270
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
271
+ path: _path2 + ".term",
272
+ expected: "CategoricalTerm",
273
+ value: input3.term
274
+ })) && $vo5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
275
+ path: _path2 + ".term",
276
+ expected: "CategoricalTerm",
277
+ value: input3.term
278
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
279
+ path: _path2 + ".groupset_label",
280
+ expected: "(string | undefined)",
281
+ value: input3.groupset_label
282
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
283
+ path: _path2 + ".values",
284
+ expected: "Array<BaseValue>",
285
+ value: input3.values
286
+ })) && input3.values.map((elem, _index3) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
287
+ path: _path2 + ".values[" + _index3 + "]",
288
+ expected: "BaseValue",
289
+ value: elem
290
+ })) && $vo7(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
291
+ path: _path2 + ".values[" + _index3 + "]",
292
+ expected: "BaseValue",
293
+ value: elem
294
+ })).every((flag) => flag) || $report(_exceptionable2, {
295
+ path: _path2 + ".values",
296
+ expected: "Array<BaseValue>",
297
+ value: input3.values
298
+ })].every((flag) => flag);
299
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
300
+ path: _path2 + ".id",
301
+ expected: "string",
302
+ value: input3.id
303
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
304
+ path: _path2 + ".name",
305
+ expected: "string",
306
+ value: input3.name
307
+ }), "categorical" === input3.type || $report(_exceptionable2, {
308
+ path: _path2 + ".type",
309
+ expected: '"categorical"',
310
+ value: input3.type
311
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
312
+ path: _path2 + ".child_types",
313
+ expected: "(Array<string> | undefined)",
314
+ value: input3.child_types
315
+ })) && input3.child_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
316
+ path: _path2 + ".child_types[" + _index4 + "]",
317
+ expected: "string",
318
+ value: elem
319
+ })).every((flag) => flag) || $report(_exceptionable2, {
320
+ path: _path2 + ".child_types",
321
+ expected: "(Array<string> | undefined)",
322
+ value: input3.child_types
323
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
324
+ path: _path2 + ".hashtmldetail",
325
+ expected: "(boolean | undefined)",
326
+ value: input3.hashtmldetail
327
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
328
+ path: _path2 + ".included_types",
329
+ expected: "(Array<string> | undefined)",
330
+ value: input3.included_types
331
+ })) && input3.included_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
332
+ path: _path2 + ".included_types[" + _index5 + "]",
333
+ expected: "string",
334
+ value: elem
335
+ })).every((flag) => flag) || $report(_exceptionable2, {
336
+ path: _path2 + ".included_types",
337
+ expected: "(Array<string> | undefined)",
338
+ value: input3.included_types
339
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
340
+ path: _path2 + ".isleaf",
341
+ expected: "(boolean | undefined)",
342
+ value: input3.isleaf
343
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
344
+ path: _path2 + ".values",
345
+ expected: "(TermValues | undefined)",
346
+ value: input3.values
347
+ })) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
348
+ path: _path2 + ".values",
349
+ expected: "(TermValues | undefined)",
350
+ value: input3.values
351
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
352
+ path: _path2 + ".groupsetting",
353
+ expected: "(EnabledTermGroupSetting | __type.o3)",
354
+ value: input3.groupsetting
355
+ })) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
356
+ path: _path2 + ".groupsetting",
357
+ expected: "(EnabledTermGroupSetting | __type.o3)",
358
+ value: input3.groupsetting
359
+ })].every((flag) => flag);
360
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
361
+ const value = input3[key];
362
+ if (void 0 === value)
363
+ return true;
364
+ if (RegExp(/(.*)/).test(key))
365
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
366
+ path: _path2 + $join(key),
367
+ expected: "BaseValue",
368
+ value
369
+ })) && $vo7(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
370
+ path: _path2 + $join(key),
371
+ expected: "BaseValue",
372
+ value
373
+ });
374
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
375
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
376
+ path: _path2 + $join(key),
377
+ expected: "BaseValue",
378
+ value
379
+ })) && $vo7(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
380
+ path: _path2 + $join(key),
381
+ expected: "BaseValue",
382
+ value
383
+ });
384
+ return true;
385
+ }).every((flag) => flag)].every((flag) => flag);
386
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
387
+ path: _path2 + ".key",
388
+ expected: "(string | undefined)",
389
+ value: input3.key
390
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
391
+ path: _path2 + ".uncomputable",
392
+ expected: "(boolean | undefined)",
393
+ value: input3.uncomputable
394
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
395
+ path: _path2 + ".label",
396
+ expected: "(number | string | undefined)",
397
+ value: input3.label
398
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
399
+ path: _path2 + ".order",
400
+ expected: "(string | undefined)",
401
+ value: input3.order
402
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
403
+ path: _path2 + ".color",
404
+ expected: "(string | undefined)",
405
+ value: input3.color
406
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
407
+ path: _path2 + ".group",
408
+ expected: "(number | undefined)",
409
+ value: input3.group
410
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
411
+ path: _path2 + ".filter",
412
+ expected: "(Filter | undefined)",
413
+ value: input3.filter
414
+ })) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
415
+ path: _path2 + ".filter",
416
+ expected: "(Filter | undefined)",
417
+ value: input3.filter
418
+ })].every((flag) => flag);
419
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
420
+ path: _path2 + ".disabled",
421
+ expected: "(boolean | undefined)",
422
+ value: input3.disabled
423
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
424
+ path: _path2 + ".lst",
425
+ expected: "Array<Groupset>",
426
+ value: input3.lst
427
+ })) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
428
+ path: _path2 + ".lst[" + _index6 + "]",
429
+ expected: "Groupset",
430
+ value: elem
431
+ })) && $vo9(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
432
+ path: _path2 + ".lst[" + _index6 + "]",
433
+ expected: "Groupset",
434
+ value: elem
435
+ })).every((flag) => flag) || $report(_exceptionable2, {
436
+ path: _path2 + ".lst",
437
+ expected: "Array<Groupset>",
438
+ value: input3.lst
439
+ })].every((flag) => flag);
440
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
441
+ path: _path2 + ".name",
442
+ expected: "string",
443
+ value: input3.name
444
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
445
+ path: _path2 + ".is_grade",
446
+ expected: "(boolean | undefined)",
447
+ value: input3.is_grade
448
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
449
+ path: _path2 + ".is_subcondition",
450
+ expected: "(boolean | undefined)",
451
+ value: input3.is_subcondition
452
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
453
+ path: _path2 + ".groups",
454
+ expected: "Array<GroupEntry>",
455
+ value: input3.groups
456
+ })) && input3.groups.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
457
+ path: _path2 + ".groups[" + _index7 + "]",
458
+ expected: "(FilterGroup | ValuesGroup)",
459
+ value: elem
460
+ })) && $vu1(elem, _path2 + ".groups[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
461
+ path: _path2 + ".groups[" + _index7 + "]",
462
+ expected: "(FilterGroup | ValuesGroup)",
463
+ value: elem
464
+ })).every((flag) => flag) || $report(_exceptionable2, {
465
+ path: _path2 + ".groups",
466
+ expected: "Array<GroupEntry>",
467
+ value: input3.groups
468
+ })].every((flag) => flag);
469
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
470
+ path: _path2 + ".name",
471
+ expected: "string",
472
+ value: input3.name
473
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
474
+ path: _path2 + ".type",
475
+ expected: "string",
476
+ value: input3.type
477
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
478
+ path: _path2 + ".values",
479
+ expected: "Array<__type>",
480
+ value: input3.values
481
+ })) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
482
+ path: _path2 + ".values[" + _index8 + "]",
483
+ expected: "__type.o2",
484
+ value: elem
485
+ })) && $vo11(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
486
+ path: _path2 + ".values[" + _index8 + "]",
487
+ expected: "__type.o2",
488
+ value: elem
489
+ })).every((flag) => flag) || $report(_exceptionable2, {
490
+ path: _path2 + ".values",
491
+ expected: "Array<__type>",
492
+ value: input3.values
493
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
494
+ path: _path2 + ".uncomputable",
495
+ expected: "(boolean | undefined)",
496
+ value: input3.uncomputable
497
+ })].every((flag) => flag);
498
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
499
+ path: _path2 + ".key",
500
+ expected: "(number | string)",
501
+ value: input3.key
502
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
503
+ path: _path2 + ".label",
504
+ expected: "string",
505
+ value: input3.label
506
+ })].every((flag) => flag);
507
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
508
+ path: _path2 + ".name",
509
+ expected: "string",
510
+ value: input3.name
511
+ }), "filter" === input3.type || $report(_exceptionable2, {
512
+ path: _path2 + ".type",
513
+ expected: '"filter"',
514
+ value: input3.type
515
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
516
+ path: _path2 + ".filter",
517
+ expected: "Filter",
518
+ value: input3.filter
519
+ })) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
520
+ path: _path2 + ".filter",
521
+ expected: "Filter",
522
+ value: input3.filter
523
+ })].every((flag) => flag);
524
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
525
+ path: _path2 + ".disabled",
526
+ expected: "boolean",
527
+ value: input3.disabled
528
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
529
+ path: _path2 + ".lst",
530
+ expected: "([] | undefined)",
531
+ value: input3.lst
532
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
533
+ path: _path2 + ".lst",
534
+ expected: "[]",
535
+ value: input3.lst
536
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
537
+ path: _path2 + ".lst",
538
+ expected: "([] | undefined)",
539
+ value: input3.lst
540
+ })].every((flag) => flag);
541
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
542
+ path: _path2 + ".join",
543
+ expected: "(string | undefined)",
544
+ value: input3.join
545
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
546
+ path: _path2 + ".isnot",
547
+ expected: "(boolean | undefined)",
548
+ value: input3.isnot
549
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
550
+ path: _path2 + ".term",
551
+ expected: "NumericTerm",
552
+ value: input3.term
553
+ })) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
554
+ path: _path2 + ".term",
555
+ expected: "NumericTerm",
556
+ value: input3.term
557
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
558
+ path: _path2 + ".ranges",
559
+ expected: "Array<NumericBin>",
560
+ value: input3.ranges
561
+ })) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
562
+ path: _path2 + ".ranges[" + _index9 + "]",
563
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
564
+ value: elem
565
+ })) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
566
+ path: _path2 + ".ranges[" + _index9 + "]",
567
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
568
+ value: elem
569
+ })).every((flag) => flag) || $report(_exceptionable2, {
570
+ path: _path2 + ".ranges",
571
+ expected: "Array<NumericBin>",
572
+ value: input3.ranges
573
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
574
+ path: _path2 + ".values",
575
+ expected: "Array<__type>.o1",
576
+ value: input3.values
577
+ })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
578
+ path: _path2 + ".values[" + _index10 + "]",
579
+ expected: "__type.o4",
580
+ value: elem
581
+ })) && $vo23(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
582
+ path: _path2 + ".values[" + _index10 + "]",
583
+ expected: "__type.o4",
584
+ value: elem
585
+ })).every((flag) => flag) || $report(_exceptionable2, {
586
+ path: _path2 + ".values",
587
+ expected: "Array<__type>.o1",
588
+ value: input3.values
589
+ })].every((flag) => flag);
590
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
591
+ path: _path2 + ".id",
592
+ expected: "string",
593
+ value: input3.id
594
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
595
+ path: _path2 + ".name",
596
+ expected: "string",
597
+ value: input3.name
598
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
599
+ path: _path2 + ".type",
600
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
601
+ value: input3.type
602
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
603
+ path: _path2 + ".child_types",
604
+ expected: "(Array<string> | undefined)",
605
+ value: input3.child_types
606
+ })) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
607
+ path: _path2 + ".child_types[" + _index11 + "]",
608
+ expected: "string",
609
+ value: elem
610
+ })).every((flag) => flag) || $report(_exceptionable2, {
611
+ path: _path2 + ".child_types",
612
+ expected: "(Array<string> | undefined)",
613
+ value: input3.child_types
614
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
615
+ path: _path2 + ".hashtmldetail",
616
+ expected: "(boolean | undefined)",
617
+ value: input3.hashtmldetail
618
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
619
+ path: _path2 + ".included_types",
620
+ expected: "(Array<string> | undefined)",
621
+ value: input3.included_types
622
+ })) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
623
+ path: _path2 + ".included_types[" + _index12 + "]",
624
+ expected: "string",
625
+ value: elem
626
+ })).every((flag) => flag) || $report(_exceptionable2, {
627
+ path: _path2 + ".included_types",
628
+ expected: "(Array<string> | undefined)",
629
+ value: input3.included_types
630
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
631
+ path: _path2 + ".isleaf",
632
+ expected: "(boolean | undefined)",
633
+ value: input3.isleaf
634
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
635
+ path: _path2 + ".values",
636
+ expected: "(TermValues | undefined)",
637
+ value: input3.values
638
+ })) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
639
+ path: _path2 + ".values",
640
+ expected: "(TermValues | undefined)",
641
+ value: input3.values
642
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
643
+ path: _path2 + ".bins",
644
+ expected: "PresetNumericBins",
645
+ value: input3.bins
646
+ })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
647
+ path: _path2 + ".bins",
648
+ expected: "PresetNumericBins",
649
+ value: input3.bins
650
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
651
+ path: _path2 + ".unit",
652
+ expected: "(string | undefined)",
653
+ value: input3.unit
654
+ })].every((flag) => flag);
655
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
656
+ path: _path2 + '["default"]',
657
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
658
+ value: input3["default"]
659
+ })) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
660
+ path: _path2 + '["default"]',
661
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
662
+ value: input3["default"]
663
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
664
+ path: _path2 + ".less",
665
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
666
+ value: input3.less
667
+ })) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
668
+ path: _path2 + ".less",
669
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
670
+ value: input3.less
671
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
672
+ path: _path2 + ".label_offset",
673
+ expected: "(number | undefined)",
674
+ value: input3.label_offset
675
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
676
+ path: _path2 + ".label_offset_ignored",
677
+ expected: "(boolean | undefined)",
678
+ value: input3.label_offset_ignored
679
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
680
+ path: _path2 + ".rounding",
681
+ expected: "(string | undefined)",
682
+ value: input3.rounding
683
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
684
+ path: _path2 + ".min",
685
+ expected: "(number | undefined)",
686
+ value: input3.min
687
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
688
+ path: _path2 + ".max",
689
+ expected: "(number | undefined)",
690
+ value: input3.max
691
+ })].every((flag) => flag);
692
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
693
+ path: _path2 + ".hiddenValues",
694
+ expected: "(HiddenValues | undefined)",
695
+ value: input3.hiddenValues
696
+ })) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
697
+ path: _path2 + ".hiddenValues",
698
+ expected: "(HiddenValues | undefined)",
699
+ value: input3.hiddenValues
700
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
701
+ path: _path2 + ".isAtomic",
702
+ expected: "(true | undefined)",
703
+ value: input3.isAtomic
704
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
705
+ path: _path2 + ".name",
706
+ expected: "(string | undefined)",
707
+ value: input3.name
708
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
709
+ path: _path2 + ".reuseId",
710
+ expected: "(string | undefined)",
711
+ value: input3.reuseId
712
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
713
+ path: _path2 + ".type",
714
+ expected: '"regular-bin"',
715
+ value: input3.type
716
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
717
+ path: _path2 + ".mode",
718
+ expected: '("discrete" | undefined)',
719
+ value: input3.mode
720
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
721
+ path: _path2 + ".bin_size",
722
+ expected: "number",
723
+ value: input3.bin_size
724
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
725
+ path: _path2 + ".first_bin",
726
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
727
+ value: input3.first_bin
728
+ })) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
729
+ path: _path2 + ".first_bin",
730
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
731
+ value: input3.first_bin
732
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
733
+ path: _path2 + ".last_bin",
734
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
735
+ value: input3.last_bin
736
+ })) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
737
+ path: _path2 + ".last_bin",
738
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
739
+ value: input3.last_bin
740
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
741
+ path: _path2 + ".label_offset",
742
+ expected: "(number | undefined)",
743
+ value: input3.label_offset
744
+ })].every((flag) => flag);
745
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
746
+ const value = input3[key];
747
+ if (void 0 === value)
748
+ return true;
749
+ if (RegExp(/(.*)/).test(key))
750
+ return "number" === typeof value || $report(_exceptionable2, {
751
+ path: _path2 + $join(key),
752
+ expected: "number",
753
+ value
754
+ });
755
+ return true;
756
+ }).every((flag) => flag)].every((flag) => flag);
757
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
758
+ path: _path2 + ".startunbounded",
759
+ expected: "true",
760
+ value: input3.startunbounded
761
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
762
+ path: _path2 + ".startinclusive",
763
+ expected: "(false | undefined)",
764
+ value: input3.startinclusive
765
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
766
+ path: _path2 + ".stop",
767
+ expected: "number",
768
+ value: input3.stop
769
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
770
+ path: _path2 + ".stopinclusive",
771
+ expected: "(boolean | undefined)",
772
+ value: input3.stopinclusive
773
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
774
+ path: _path2 + ".stopunbounded",
775
+ expected: "(false | undefined)",
776
+ value: input3.stopunbounded
777
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
778
+ path: _path2 + ".label",
779
+ expected: "(string | undefined)",
780
+ value: input3.label
781
+ })].every((flag) => flag);
782
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
783
+ path: _path2 + ".startunbounded",
784
+ expected: "(false | undefined)",
785
+ value: input3.startunbounded
786
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
787
+ path: _path2 + ".startinclusive",
788
+ expected: "(boolean | undefined)",
789
+ value: input3.startinclusive
790
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
791
+ path: _path2 + ".start",
792
+ expected: "number",
793
+ value: input3.start
794
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
795
+ path: _path2 + ".stop",
796
+ expected: "number",
797
+ value: input3.stop
798
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
799
+ path: _path2 + ".stopinclusive",
800
+ expected: "(boolean | undefined)",
801
+ value: input3.stopinclusive
802
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
803
+ path: _path2 + ".stopunbounded",
804
+ expected: "(false | undefined)",
805
+ value: input3.stopunbounded
806
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
807
+ path: _path2 + ".label",
808
+ expected: "(string | undefined)",
809
+ value: input3.label
810
+ })].every((flag) => flag);
811
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
812
+ path: _path2 + ".start",
813
+ expected: "number",
814
+ value: input3.start
815
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
816
+ path: _path2 + ".stopunbounded",
817
+ expected: "true",
818
+ value: input3.stopunbounded
819
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
820
+ path: _path2 + ".startinclusive",
821
+ expected: "(boolean | undefined)",
822
+ value: input3.startinclusive
823
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
824
+ path: _path2 + ".startunbounded",
825
+ expected: "(false | undefined)",
826
+ value: input3.startunbounded
827
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
828
+ path: _path2 + ".stopinclusive",
829
+ expected: "(false | undefined)",
830
+ value: input3.stopinclusive
831
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
832
+ path: _path2 + ".label",
833
+ expected: "(string | undefined)",
834
+ value: input3.label
835
+ })].every((flag) => flag);
836
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
837
+ path: _path2 + ".hiddenValues",
838
+ expected: "(HiddenValues | undefined)",
839
+ value: input3.hiddenValues
840
+ })) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
841
+ path: _path2 + ".hiddenValues",
842
+ expected: "(HiddenValues | undefined)",
843
+ value: input3.hiddenValues
844
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
845
+ path: _path2 + ".isAtomic",
846
+ expected: "(true | undefined)",
847
+ value: input3.isAtomic
848
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
849
+ path: _path2 + ".name",
850
+ expected: "(string | undefined)",
851
+ value: input3.name
852
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
853
+ path: _path2 + ".reuseId",
854
+ expected: "(string | undefined)",
855
+ value: input3.reuseId
856
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
857
+ path: _path2 + ".type",
858
+ expected: '"custom-bin"',
859
+ value: input3.type
860
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
861
+ path: _path2 + ".mode",
862
+ expected: '("binary" | "discrete" | undefined)',
863
+ value: input3.mode
864
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
865
+ path: _path2 + ".lst",
866
+ expected: "[NumericBin, ...NumericBin[]]",
867
+ value: input3.lst
868
+ })) && ([
869
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
870
+ path: _path2 + ".lst[0]",
871
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
872
+ value: input3.lst[0]
873
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
874
+ path: _path2 + ".lst[0]",
875
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
876
+ value: input3.lst[0]
877
+ })
878
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
879
+ path: _path2 + ".lst",
880
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
881
+ value: input3.lst.slice(1)
882
+ })) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
883
+ path: _path2 + ".lst[" + (1 + _index13) + "]",
884
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
885
+ value: elem
886
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
887
+ path: _path2 + ".lst[" + (1 + _index13) + "]",
888
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
889
+ value: elem
890
+ })).every((flag) => flag) || $report(_exceptionable2, {
891
+ path: _path2 + ".lst",
892
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
893
+ value: input3.lst.slice(1)
894
+ }))) || $report(_exceptionable2, {
895
+ path: _path2 + ".lst",
896
+ expected: "[NumericBin, ...NumericBin[]]",
897
+ value: input3.lst
898
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
899
+ path: _path2 + ".preferredBins",
900
+ expected: '("median" | undefined)',
901
+ value: input3.preferredBins
902
+ })].every((flag) => flag);
903
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
904
+ path: _path2 + ".key",
905
+ expected: "string",
906
+ value: input3.key
907
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
908
+ path: _path2 + ".value",
909
+ expected: "number",
910
+ value: input3.value
911
+ }), true === input3.uncomputable || $report(_exceptionable2, {
912
+ path: _path2 + ".uncomputable",
913
+ expected: "true",
914
+ value: input3.uncomputable
915
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
916
+ path: _path2 + ".label",
917
+ expected: "(string | undefined)",
918
+ value: input3.label
919
+ })].every((flag) => flag);
920
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
921
+ path: _path2 + ".join",
922
+ expected: "(string | undefined)",
923
+ value: input3.join
924
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
925
+ path: _path2 + ".isnot",
926
+ expected: "(boolean | undefined)",
927
+ value: input3.isnot
928
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
929
+ path: _path2 + ".term",
930
+ expected: "ConditionTerm",
931
+ value: input3.term
932
+ })) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
933
+ path: _path2 + ".term",
934
+ expected: "ConditionTerm",
935
+ value: input3.term
936
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
937
+ path: _path2 + ".value_by_max_grade",
938
+ expected: "(boolean | undefined)",
939
+ value: input3.value_by_max_grade
940
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
941
+ path: _path2 + ".value_by_most_recent",
942
+ expected: "(boolean | undefined)",
943
+ value: input3.value_by_most_recent
944
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
945
+ path: _path2 + ".value_by_computable_grade",
946
+ expected: "(boolean | undefined)",
947
+ value: input3.value_by_computable_grade
948
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
949
+ path: _path2 + ".grade_and_child",
950
+ expected: "(Array<GradeAndChildEntry> | undefined)",
951
+ value: input3.grade_and_child
952
+ })) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
953
+ path: _path2 + ".grade_and_child[" + _index14 + "]",
954
+ expected: "GradeAndChildEntry",
955
+ value: elem
956
+ })) && $vo26(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
957
+ path: _path2 + ".grade_and_child[" + _index14 + "]",
958
+ expected: "GradeAndChildEntry",
959
+ value: elem
960
+ })).every((flag) => flag) || $report(_exceptionable2, {
961
+ path: _path2 + ".grade_and_child",
962
+ expected: "(Array<GradeAndChildEntry> | undefined)",
963
+ value: input3.grade_and_child
964
+ })].every((flag) => flag);
965
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
966
+ path: _path2 + ".id",
967
+ expected: "string",
968
+ value: input3.id
969
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
970
+ path: _path2 + ".name",
971
+ expected: "string",
972
+ value: input3.name
973
+ }), "condition" === input3.type || $report(_exceptionable2, {
974
+ path: _path2 + ".type",
975
+ expected: '"condition"',
976
+ value: input3.type
977
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
978
+ path: _path2 + ".child_types",
979
+ expected: "(Array<string> | undefined)",
980
+ value: input3.child_types
981
+ })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
982
+ path: _path2 + ".child_types[" + _index15 + "]",
983
+ expected: "string",
984
+ value: elem
985
+ })).every((flag) => flag) || $report(_exceptionable2, {
986
+ path: _path2 + ".child_types",
987
+ expected: "(Array<string> | undefined)",
988
+ value: input3.child_types
989
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
990
+ path: _path2 + ".hashtmldetail",
991
+ expected: "(boolean | undefined)",
992
+ value: input3.hashtmldetail
993
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
994
+ path: _path2 + ".included_types",
995
+ expected: "(Array<string> | undefined)",
996
+ value: input3.included_types
997
+ })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
998
+ path: _path2 + ".included_types[" + _index16 + "]",
999
+ expected: "string",
1000
+ value: elem
1001
+ })).every((flag) => flag) || $report(_exceptionable2, {
1002
+ path: _path2 + ".included_types",
1003
+ expected: "(Array<string> | undefined)",
1004
+ value: input3.included_types
1005
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1006
+ path: _path2 + ".isleaf",
1007
+ expected: "(boolean | undefined)",
1008
+ value: input3.isleaf
1009
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1010
+ path: _path2 + ".values",
1011
+ expected: "(TermValues | undefined)",
1012
+ value: input3.values
1013
+ })) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1014
+ path: _path2 + ".values",
1015
+ expected: "(TermValues | undefined)",
1016
+ value: input3.values
1017
+ })].every((flag) => flag);
1018
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1019
+ path: _path2 + ".grade",
1020
+ expected: "number",
1021
+ value: input3.grade
1022
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1023
+ path: _path2 + ".grade_label",
1024
+ expected: "string",
1025
+ value: input3.grade_label
1026
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1027
+ path: _path2 + ".child_id",
1028
+ expected: "(string | undefined)",
1029
+ value: input3.child_id
1030
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1031
+ path: _path2 + ".child_label",
1032
+ expected: "string",
1033
+ value: input3.child_label
1034
+ })].every((flag) => flag);
1035
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1036
+ path: _path2 + ".join",
1037
+ expected: "(string | undefined)",
1038
+ value: input3.join
1039
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1040
+ path: _path2 + ".isnot",
1041
+ expected: "(boolean | undefined)",
1042
+ value: input3.isnot
1043
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1044
+ path: _path2 + ".term",
1045
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1046
+ value: input3.term
1047
+ })) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1048
+ path: _path2 + ".term",
1049
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1050
+ value: input3.term
1051
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1052
+ path: _path2 + ".values",
1053
+ expected: "Array<GeneVariantTvsValue>",
1054
+ value: input3.values
1055
+ })) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1056
+ path: _path2 + ".values[" + _index17 + "]",
1057
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1058
+ value: elem
1059
+ })) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
1060
+ path: _path2 + ".values[" + _index17 + "]",
1061
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1062
+ value: elem
1063
+ })).every((flag) => flag) || $report(_exceptionable2, {
1064
+ path: _path2 + ".values",
1065
+ expected: "Array<GeneVariantTvsValue>",
1066
+ value: input3.values
1067
+ })].every((flag) => flag);
1068
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1069
+ path: _path2 + ".id",
1070
+ expected: "string",
1071
+ value: input3.id
1072
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1073
+ path: _path2 + ".name",
1074
+ expected: "string",
1075
+ value: input3.name
1076
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1077
+ path: _path2 + ".type",
1078
+ expected: '"geneVariant"',
1079
+ value: input3.type
1080
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1081
+ path: _path2 + ".child_types",
1082
+ expected: "(Array<string> | undefined)",
1083
+ value: input3.child_types
1084
+ })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1085
+ path: _path2 + ".child_types[" + _index18 + "]",
1086
+ expected: "string",
1087
+ value: elem
1088
+ })).every((flag) => flag) || $report(_exceptionable2, {
1089
+ path: _path2 + ".child_types",
1090
+ expected: "(Array<string> | undefined)",
1091
+ value: input3.child_types
1092
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1093
+ path: _path2 + ".hashtmldetail",
1094
+ expected: "(boolean | undefined)",
1095
+ value: input3.hashtmldetail
1096
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1097
+ path: _path2 + ".included_types",
1098
+ expected: "(Array<string> | undefined)",
1099
+ value: input3.included_types
1100
+ })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1101
+ path: _path2 + ".included_types[" + _index19 + "]",
1102
+ expected: "string",
1103
+ value: elem
1104
+ })).every((flag) => flag) || $report(_exceptionable2, {
1105
+ path: _path2 + ".included_types",
1106
+ expected: "(Array<string> | undefined)",
1107
+ value: input3.included_types
1108
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1109
+ path: _path2 + ".isleaf",
1110
+ expected: "(boolean | undefined)",
1111
+ value: input3.isleaf
1112
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1113
+ path: _path2 + ".values",
1114
+ expected: "(TermValues | undefined)",
1115
+ value: input3.values
1116
+ })) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1117
+ path: _path2 + ".values",
1118
+ expected: "(TermValues | undefined)",
1119
+ value: input3.values
1120
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1121
+ path: _path2 + ".groupsetting",
1122
+ expected: "EnabledTermGroupSetting",
1123
+ value: input3.groupsetting
1124
+ })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1125
+ path: _path2 + ".groupsetting",
1126
+ expected: "EnabledTermGroupSetting",
1127
+ value: input3.groupsetting
1128
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1129
+ path: _path2 + ".kind",
1130
+ expected: '"gene"',
1131
+ value: input3.kind
1132
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1133
+ path: _path2 + ".gene",
1134
+ expected: "string",
1135
+ value: input3.gene
1136
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1137
+ path: _path2 + ".chr",
1138
+ expected: "(string | undefined)",
1139
+ value: input3.chr
1140
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1141
+ path: _path2 + ".start",
1142
+ expected: "(number | undefined)",
1143
+ value: input3.start
1144
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1145
+ path: _path2 + ".stop",
1146
+ expected: "(number | undefined)",
1147
+ value: input3.stop
1148
+ })].every((flag) => flag);
1149
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1150
+ path: _path2 + ".id",
1151
+ expected: "string",
1152
+ value: input3.id
1153
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1154
+ path: _path2 + ".name",
1155
+ expected: "string",
1156
+ value: input3.name
1157
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1158
+ path: _path2 + ".type",
1159
+ expected: '"geneVariant"',
1160
+ value: input3.type
1161
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1162
+ path: _path2 + ".child_types",
1163
+ expected: "(Array<string> | undefined)",
1164
+ value: input3.child_types
1165
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1166
+ path: _path2 + ".child_types[" + _index20 + "]",
1167
+ expected: "string",
1168
+ value: elem
1169
+ })).every((flag) => flag) || $report(_exceptionable2, {
1170
+ path: _path2 + ".child_types",
1171
+ expected: "(Array<string> | undefined)",
1172
+ value: input3.child_types
1173
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1174
+ path: _path2 + ".hashtmldetail",
1175
+ expected: "(boolean | undefined)",
1176
+ value: input3.hashtmldetail
1177
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1178
+ path: _path2 + ".included_types",
1179
+ expected: "(Array<string> | undefined)",
1180
+ value: input3.included_types
1181
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1182
+ path: _path2 + ".included_types[" + _index21 + "]",
1183
+ expected: "string",
1184
+ value: elem
1185
+ })).every((flag) => flag) || $report(_exceptionable2, {
1186
+ path: _path2 + ".included_types",
1187
+ expected: "(Array<string> | undefined)",
1188
+ value: input3.included_types
1189
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1190
+ path: _path2 + ".isleaf",
1191
+ expected: "(boolean | undefined)",
1192
+ value: input3.isleaf
1193
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1194
+ path: _path2 + ".values",
1195
+ expected: "(TermValues | undefined)",
1196
+ value: input3.values
1197
+ })) && $vo6(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1198
+ path: _path2 + ".values",
1199
+ expected: "(TermValues | undefined)",
1200
+ value: input3.values
1201
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1202
+ path: _path2 + ".groupsetting",
1203
+ expected: "EnabledTermGroupSetting",
1204
+ value: input3.groupsetting
1205
+ })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1206
+ path: _path2 + ".groupsetting",
1207
+ expected: "EnabledTermGroupSetting",
1208
+ value: input3.groupsetting
1209
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1210
+ path: _path2 + ".kind",
1211
+ expected: '"coord"',
1212
+ value: input3.kind
1213
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1214
+ path: _path2 + ".chr",
1215
+ expected: "string",
1216
+ value: input3.chr
1217
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1218
+ path: _path2 + ".start",
1219
+ expected: "number",
1220
+ value: input3.start
1221
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1222
+ path: _path2 + ".stop",
1223
+ expected: "number",
1224
+ value: input3.stop
1225
+ })].every((flag) => flag);
1226
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1227
+ path: _path2 + ".dt",
1228
+ expected: "1",
1229
+ value: input3.dt
1230
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1231
+ path: _path2 + ".mclassLst",
1232
+ expected: "Array<SNVIndelClasses>",
1233
+ value: input3.mclassLst
1234
+ })) && 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, {
1235
+ path: _path2 + ".mclassLst[" + _index22 + "]",
1236
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1237
+ value: elem
1238
+ })).every((flag) => flag) || $report(_exceptionable2, {
1239
+ path: _path2 + ".mclassLst",
1240
+ expected: "Array<SNVIndelClasses>",
1241
+ value: input3.mclassLst
1242
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1243
+ path: _path2 + ".mclassExcludeLst",
1244
+ expected: "Array<SNVIndelClasses>",
1245
+ value: input3.mclassExcludeLst
1246
+ })) && 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, {
1247
+ path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
1248
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1249
+ value: elem
1250
+ })).every((flag) => flag) || $report(_exceptionable2, {
1251
+ path: _path2 + ".mclassExcludeLst",
1252
+ expected: "Array<SNVIndelClasses>",
1253
+ value: input3.mclassExcludeLst
1254
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1255
+ path: _path2 + ".origin",
1256
+ expected: '("germline" | "somatic" | undefined)',
1257
+ value: input3.origin
1258
+ })].every((flag) => flag);
1259
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1260
+ path: _path2 + ".dt",
1261
+ expected: "4",
1262
+ value: input3.dt
1263
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1264
+ path: _path2 + ".mclassLst",
1265
+ expected: "Array<CNVClasses>",
1266
+ value: input3.mclassLst
1267
+ })) && input3.mclassLst.map((elem, _index24) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1268
+ path: _path2 + ".mclassLst[" + _index24 + "]",
1269
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1270
+ value: elem
1271
+ })).every((flag) => flag) || $report(_exceptionable2, {
1272
+ path: _path2 + ".mclassLst",
1273
+ expected: "Array<CNVClasses>",
1274
+ value: input3.mclassLst
1275
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1276
+ path: _path2 + ".mclassExcludeLst",
1277
+ expected: "Array<CNVClasses>",
1278
+ value: input3.mclassExcludeLst
1279
+ })) && input3.mclassExcludeLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1280
+ path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
1281
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1282
+ value: elem
1283
+ })).every((flag) => flag) || $report(_exceptionable2, {
1284
+ path: _path2 + ".mclassExcludeLst",
1285
+ expected: "Array<CNVClasses>",
1286
+ value: input3.mclassExcludeLst
1287
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1288
+ path: _path2 + ".origin",
1289
+ expected: '("germline" | "somatic" | undefined)',
1290
+ value: input3.origin
1291
+ })].every((flag) => flag);
1292
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1293
+ path: _path2 + ".dt",
1294
+ expected: "5",
1295
+ value: input3.dt
1296
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1297
+ path: _path2 + ".mclassLst",
1298
+ expected: "Array<SVClasses>",
1299
+ value: input3.mclassLst
1300
+ })) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1301
+ path: _path2 + ".mclassLst[" + _index26 + "]",
1302
+ expected: '("Blank" | "SV" | "WT")',
1303
+ value: elem
1304
+ })).every((flag) => flag) || $report(_exceptionable2, {
1305
+ path: _path2 + ".mclassLst",
1306
+ expected: "Array<SVClasses>",
1307
+ value: input3.mclassLst
1308
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1309
+ path: _path2 + ".mclassExcludeLst",
1310
+ expected: "Array<SVClasses>",
1311
+ value: input3.mclassExcludeLst
1312
+ })) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1313
+ path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
1314
+ expected: '("Blank" | "SV" | "WT")',
1315
+ value: elem
1316
+ })).every((flag) => flag) || $report(_exceptionable2, {
1317
+ path: _path2 + ".mclassExcludeLst",
1318
+ expected: "Array<SVClasses>",
1319
+ value: input3.mclassExcludeLst
1320
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1321
+ path: _path2 + ".origin",
1322
+ expected: '("germline" | "somatic" | undefined)',
1323
+ value: input3.origin
1324
+ })].every((flag) => flag);
1325
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1326
+ path: _path2 + ".dt",
1327
+ expected: "2",
1328
+ value: input3.dt
1329
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1330
+ path: _path2 + ".mclassLst",
1331
+ expected: "Array<FusionRNAClasses>",
1332
+ value: input3.mclassLst
1333
+ })) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1334
+ path: _path2 + ".mclassLst[" + _index28 + "]",
1335
+ expected: '("Blank" | "Fuserna" | "WT")',
1336
+ value: elem
1337
+ })).every((flag) => flag) || $report(_exceptionable2, {
1338
+ path: _path2 + ".mclassLst",
1339
+ expected: "Array<FusionRNAClasses>",
1340
+ value: input3.mclassLst
1341
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1342
+ path: _path2 + ".mclassExcludeLst",
1343
+ expected: "Array<FusionRNAClasses>",
1344
+ value: input3.mclassExcludeLst
1345
+ })) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1346
+ path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
1347
+ expected: '("Blank" | "Fuserna" | "WT")',
1348
+ value: elem
1349
+ })).every((flag) => flag) || $report(_exceptionable2, {
1350
+ path: _path2 + ".mclassExcludeLst",
1351
+ expected: "Array<FusionRNAClasses>",
1352
+ value: input3.mclassExcludeLst
1353
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1354
+ path: _path2 + ".origin",
1355
+ expected: '("germline" | "somatic" | undefined)',
1356
+ value: input3.origin
1357
+ })].every((flag) => flag);
1358
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1359
+ if (void 0 !== input3.type)
1360
+ return $vo3(input3, _path2, _exceptionable2);
1361
+ if (void 0 !== input3.ranges)
1362
+ return $vo14(input3, _path2, _exceptionable2);
1363
+ return $vo4(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
1364
+ })();
1365
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1366
+ if ("string" === typeof input3.type)
1367
+ return $vo10(input3, _path2, _exceptionable2);
1368
+ if ("filter" === input3.type)
1369
+ return $vo12(input3, _path2, _exceptionable2);
1370
+ return $report(_exceptionable2, {
1371
+ path: _path2,
1372
+ expected: "(ValuesGroup | FilterGroup)",
1373
+ value: input3
1374
+ });
1375
+ })();
1376
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1377
+ if (true === input3.startunbounded)
1378
+ return $vo19(input3, _path2, _exceptionable2);
1379
+ if (true === input3.stopunbounded)
1380
+ return $vo21(input3, _path2, _exceptionable2);
1381
+ return $vo20(input3, _path2, _exceptionable2);
1382
+ })();
1383
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1384
+ if (2 === input3.dt)
1385
+ return $vo33(input3, _path2, _exceptionable2);
1386
+ if (5 === input3.dt)
1387
+ return $vo32(input3, _path2, _exceptionable2);
1388
+ if (4 === input3.dt)
1389
+ return $vo31(input3, _path2, _exceptionable2);
1390
+ if (1 === input3.dt)
1391
+ return $vo30(input3, _path2, _exceptionable2);
1392
+ return $report(_exceptionable2, {
1393
+ path: _path2,
1394
+ expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
1395
+ value: input3
1396
+ });
1397
+ })();
1398
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1399
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index30) => "object" === typeof elem && null !== elem && $vo9(elem, _path2 + ".lst[" + _index30 + "]", false)).every((flag) => flag))
1400
+ return $vo8(input3, _path2, _exceptionable2);
1401
+ return $vo13(input3, _path2, _exceptionable2);
1402
+ })();
1403
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1404
+ if ("regular-bin" === input3.type)
1405
+ return $vo17(input3, _path2, _exceptionable2);
1406
+ if ("custom-bin" === input3.type)
1407
+ return $vo22(input3, _path2, _exceptionable2);
1408
+ return $report(_exceptionable2, {
1409
+ path: _path2,
1410
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
1411
+ value: input3
1412
+ });
1413
+ })();
1414
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1415
+ if (true === input3.startunbounded)
1416
+ return $vo19(input3, _path2, _exceptionable2);
1417
+ if (void 0 !== input3.start)
1418
+ return $vo20(input3, _path2, _exceptionable2);
1419
+ return $report(_exceptionable2, {
1420
+ path: _path2,
1421
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
1422
+ value: input3
1423
+ });
1424
+ })();
1425
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1426
+ if (void 0 !== input3.stop)
1427
+ return $vo20(input3, _path2, _exceptionable2);
1428
+ if (true === input3.stopunbounded)
1429
+ return $vo21(input3, _path2, _exceptionable2);
1430
+ return $report(_exceptionable2, {
1431
+ path: _path2,
1432
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1433
+ value: input3
1434
+ });
1435
+ })();
1436
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1437
+ if ("gene" === input3.kind)
1438
+ return $vo28(input3, _path2, _exceptionable2);
1439
+ if ("coord" === input3.kind)
1440
+ return $vo29(input3, _path2, _exceptionable2);
1441
+ return $report(_exceptionable2, {
1442
+ path: _path2,
1443
+ expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
1444
+ value: input3
1445
+ });
1446
+ })();
1447
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
1448
+ path: _path + "",
1449
+ expected: "TermdbTopVariablyExpressedGenesRequest",
1450
+ value: input2
1451
+ })) && $vo0(input2, _path + "", true) || $report(true, {
1452
+ path: _path + "",
1453
+ expected: "TermdbTopVariablyExpressedGenesRequest",
1454
+ value: input2
1455
+ });
1456
+ })(input, "$input", true);
1457
+ }
1458
+ const success = 0 === errors.length;
1459
+ return {
1460
+ success,
1461
+ errors,
1462
+ data: success ? input : void 0
1463
+ };
1464
+ };
1465
+ var validTermdbTopVariablyExpressedGenesResponse = (input) => {
1466
+ const errors = [];
1467
+ const __is = (input2) => {
1468
+ const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
1469
+ const $io1 = (input3) => Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem);
1470
+ const $iu0 = (input3) => (() => {
1471
+ if (void 0 !== input3.status)
1472
+ return $io0(input3);
1473
+ if (void 0 !== input3.genes)
1474
+ return $io1(input3);
1475
+ return false;
1476
+ })();
1477
+ return "object" === typeof input2 && null !== input2 && $iu0(input2);
1478
+ };
1479
+ if (false === __is(input)) {
1480
+ const $report = import_typia.createValidate.report(errors);
1481
+ ((input2, _path, _exceptionable = true) => {
1482
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
1483
+ path: _path2 + ".status",
1484
+ expected: "number",
1485
+ value: input3.status
1486
+ }), "string" === typeof input3.error || $report(_exceptionable2, {
1487
+ path: _path2 + ".error",
1488
+ expected: "string",
1489
+ value: input3.error
1490
+ })].every((flag) => flag);
1491
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.genes) || $report(_exceptionable2, {
1492
+ path: _path2 + ".genes",
1493
+ expected: "Array<string>",
1494
+ value: input3.genes
1495
+ })) && input3.genes.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
1496
+ path: _path2 + ".genes[" + _index1 + "]",
1497
+ expected: "string",
1498
+ value: elem
1499
+ })).every((flag) => flag) || $report(_exceptionable2, {
1500
+ path: _path2 + ".genes",
1501
+ expected: "Array<string>",
1502
+ value: input3.genes
1503
+ })].every((flag) => flag);
1504
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1505
+ if (void 0 !== input3.status)
1506
+ return $vo0(input3, _path2, _exceptionable2);
1507
+ if (void 0 !== input3.genes)
1508
+ return $vo1(input3, _path2, _exceptionable2);
1509
+ return $report(_exceptionable2, {
1510
+ path: _path2,
1511
+ expected: "(ErrorResponse | ValidResponse)",
1512
+ value: input3
1513
+ });
1514
+ })();
1515
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
1516
+ path: _path + "",
1517
+ expected: "(ErrorResponse | ValidResponse)",
1518
+ value: input2
1519
+ })) && $vu0(input2, _path + "", true) || $report(true, {
1520
+ path: _path + "",
1521
+ expected: "(ErrorResponse | ValidResponse)",
1522
+ value: input2
1523
+ });
1524
+ })(input, "$input", true);
1525
+ }
1526
+ const success = 0 === errors.length;
1527
+ return {
1528
+ success,
1529
+ errors,
1530
+ data: success ? input : void 0
1531
+ };
1532
+ };
1533
+
1534
+ export {
1535
+ termdbTopVariablyExpressedGenesPayload,
1536
+ validTermdbTopVariablyExpressedGenesRequest,
1537
+ validTermdbTopVariablyExpressedGenesResponse
1538
+ };