@sjcrh/proteinpaint-types 2.86.0 → 2.87.1

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