@sjcrh/proteinpaint-types 2.85.0 → 2.87.0

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