@sjcrh/proteinpaint-types 2.86.0 → 2.87.1

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