@sjcrh/proteinpaint-types 2.142.0 → 2.143.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/aiProjectAdmin.js +2 -2
  2. package/dist/aiProjectSelectedWSImages.js +11 -0
  3. package/dist/brainImaging.js +2 -2
  4. package/dist/brainImagingSamples.js +2 -2
  5. package/dist/burden.js +2 -2
  6. package/dist/{chunk-W6NLM363.js → chunk-2744ACBX.js} +1 -1
  7. package/dist/{chunk-F5XGJIUS.js → chunk-2BCLGYAG.js} +1 -1
  8. package/dist/{chunk-L5DFYFWX.js → chunk-2C4X5B6N.js} +1 -1
  9. package/dist/{chunk-SOM5WKDM.js → chunk-4DNCZQOB.js} +16 -4
  10. package/dist/{chunk-3BQ57P2P.js → chunk-4MLQS6N7.js} +16 -4
  11. package/dist/{chunk-MVMUZSLL.js → chunk-4VEXL32Q.js} +172 -118
  12. package/dist/{chunk-K5POIB3P.js → chunk-4ZMQ5CTL.js} +1 -1
  13. package/dist/{chunk-CEDL2QZT.js → chunk-5KADNZH2.js} +176 -122
  14. package/dist/{chunk-I2KWGMNM.js → chunk-62XTWOVJ.js} +1 -1
  15. package/dist/{chunk-FXCCZCTN.js → chunk-6GKG55BT.js} +1 -1
  16. package/dist/{chunk-3L3ASC3B.js → chunk-6SOULHNE.js} +290 -154
  17. package/dist/{chunk-2VDOPTRV.js → chunk-74B7B2CV.js} +31 -7
  18. package/dist/{chunk-FVBXC7SY.js → chunk-7ICZFAGK.js} +33 -17
  19. package/dist/{chunk-J4QAF4EU.js → chunk-7MUISZHS.js} +1 -1
  20. package/dist/{chunk-SMS3Y2XZ.js → chunk-BCBSHTHS.js} +1 -1
  21. package/dist/{chunk-SMVDKR2O.js → chunk-C246BWQE.js} +31 -7
  22. package/dist/{chunk-3C26VWPU.js → chunk-CP26DR4V.js} +1 -1
  23. package/dist/{chunk-ERSTC6X6.js → chunk-CQXBQY2H.js} +1 -1
  24. package/dist/{chunk-CQDDRHRY.js → chunk-CT6IBFVP.js} +9 -4
  25. package/dist/{chunk-ZVTZJRGS.js → chunk-D7AKQKDG.js} +1 -1
  26. package/dist/{chunk-YGX6BZZY.js → chunk-EIJT53QB.js} +1 -1
  27. package/dist/{chunk-VKBTOKI2.js → chunk-EOKM345J.js} +1 -1
  28. package/dist/{chunk-XEQWKMZN.js → chunk-EYKGJDKU.js} +1 -1
  29. package/dist/{chunk-EH7VAE5S.js → chunk-FMC4G5BP.js} +1 -1
  30. package/dist/{chunk-KRYTJ2SL.js → chunk-FTPYJPUB.js} +1 -1
  31. package/dist/{chunk-GDM7YUXH.js → chunk-FXXE4S7M.js} +172 -118
  32. package/dist/{chunk-IR4QSJI7.js → chunk-GCAZSDCW.js} +172 -118
  33. package/dist/{chunk-5S3UWYSK.js → chunk-GTS2G4R4.js} +1 -1
  34. package/dist/{chunk-KFVYRW7D.js → chunk-HQV2A7JV.js} +1 -1
  35. package/dist/{chunk-TMQI47YT.js → chunk-J2Y7RIN2.js} +29 -25
  36. package/dist/{chunk-HNETXFC7.js → chunk-K4FSDTDW.js} +1 -1
  37. package/dist/{chunk-HIPWQ6AW.js → chunk-KCMPDEH7.js} +1 -1
  38. package/dist/chunk-KVE2NBC6.js +132 -0
  39. package/dist/{chunk-QX3MRSSK.js → chunk-LRVF7U64.js} +1 -1
  40. package/dist/{chunk-5XCPOWFN.js → chunk-MHDQO7R5.js} +1 -1
  41. package/dist/{chunk-K4RV3N2T.js → chunk-MIOIOFBZ.js} +1 -1
  42. package/dist/{chunk-DMJFOII6.js → chunk-MMFL6N5M.js} +18 -6
  43. package/dist/{chunk-LDQNJLYQ.js → chunk-N7C4SRFX.js} +1 -1
  44. package/dist/chunk-NO2EZKW4.js +291 -0
  45. package/dist/{chunk-HKGWC7OO.js → chunk-P25WDNMD.js} +1 -1
  46. package/dist/{chunk-FYRWYZEE.js → chunk-PPPSDO6G.js} +36 -40
  47. package/dist/{chunk-KVUJPR42.js → chunk-PTE2I7DF.js} +1 -1
  48. package/dist/{chunk-AASWRJMS.js → chunk-Q3HGHP3J.js} +1 -1
  49. package/dist/{chunk-WMI4VKU3.js → chunk-TCEHHLIZ.js} +206 -51
  50. package/dist/{chunk-4R265LDJ.js → chunk-U3AOS5QJ.js} +16 -4
  51. package/dist/{chunk-X2CX5K24.js → chunk-U3BTVE5T.js} +1 -1
  52. package/dist/{chunk-HUMZDPUU.js → chunk-U4A647KI.js} +1 -1
  53. package/dist/{chunk-4GCROGGK.js → chunk-UBOVHONH.js} +1 -1
  54. package/dist/{chunk-GGZUN2GE.js → chunk-UGYLBYUU.js} +1 -1
  55. package/dist/{chunk-XJU4JALX.js → chunk-USAQULWA.js} +35 -31
  56. package/dist/{chunk-IVU6STSJ.js → chunk-X4JBWMXY.js} +1 -1
  57. package/dist/{chunk-LPBYQJG4.js → chunk-XIRCL7KT.js} +1 -1
  58. package/dist/{chunk-CNSSF43V.js → chunk-YNHC5SXO.js} +14 -14
  59. package/dist/{chunk-B43GFRT4.js → chunk-YPEFUAJW.js} +1 -1
  60. package/dist/{chunk-VMSVBNM6.js → chunk-YSTMGNYR.js} +1 -1
  61. package/dist/{chunk-XT2IWGYK.js → chunk-ZCV62ELK.js} +1 -1
  62. package/dist/{chunk-E5MPHTIA.js → chunk-ZIOJDN75.js} +1 -1
  63. package/dist/clearwsisession.js +1 -1
  64. package/dist/clearwsisessions.js +2 -2
  65. package/dist/correlationVolcano.js +2 -2
  66. package/dist/dataset.js +2 -2
  67. package/dist/deleteWSIAnnotation.js +11 -0
  68. package/dist/dsdata.js +2 -2
  69. package/dist/dzimages.js +2 -2
  70. package/dist/gdc.grin2.js +2 -2
  71. package/dist/gdc.maf.js +2 -2
  72. package/dist/gdc.mafBuild.js +2 -2
  73. package/dist/genelookup.js +2 -2
  74. package/dist/genesetEnrichment.js +2 -2
  75. package/dist/genesetOverrepresentation.js +2 -2
  76. package/dist/grin2.js +2 -2
  77. package/dist/healthcheck.js +2 -2
  78. package/dist/hicdata.js +2 -2
  79. package/dist/hicgenome.js +2 -2
  80. package/dist/hicstat.js +2 -2
  81. package/dist/img.js +2 -2
  82. package/dist/index.js +118 -102
  83. package/dist/isoformlst.js +2 -2
  84. package/dist/ntseq.js +2 -2
  85. package/dist/pdomain.js +2 -2
  86. package/dist/samplewsimages.js +2 -2
  87. package/dist/saveWSIAnnotation.js +11 -0
  88. package/dist/snp.js +2 -2
  89. package/dist/termdb.DE.js +2 -2
  90. package/dist/termdb.boxplot.js +2 -2
  91. package/dist/termdb.categories.js +2 -2
  92. package/dist/termdb.cluster.js +2 -2
  93. package/dist/termdb.cohort.summary.js +2 -2
  94. package/dist/termdb.cohorts.js +2 -2
  95. package/dist/termdb.descrstats.js +2 -2
  96. package/dist/termdb.filterTermValues.js +2 -2
  97. package/dist/termdb.numericcategories.js +2 -2
  98. package/dist/termdb.percentile.js +2 -2
  99. package/dist/termdb.profileFormScores.js +2 -2
  100. package/dist/termdb.profileScores.js +2 -2
  101. package/dist/termdb.rootterm.js +2 -2
  102. package/dist/termdb.sampleImages.js +2 -2
  103. package/dist/termdb.singleSampleMutation.js +2 -2
  104. package/dist/termdb.singlecellDEgenes.js +2 -2
  105. package/dist/termdb.singlecellData.js +2 -2
  106. package/dist/termdb.singlecellSamples.js +2 -2
  107. package/dist/termdb.termchildren.js +2 -2
  108. package/dist/termdb.termsbyids.js +2 -2
  109. package/dist/termdb.topMutatedGenes.js +2 -2
  110. package/dist/termdb.topTermsByType.js +2 -2
  111. package/dist/termdb.topVariablyExpressedGenes.js +2 -2
  112. package/dist/termdb.violin.js +2 -2
  113. package/dist/tileserver.js +2 -2
  114. package/dist/wsimages.js +2 -2
  115. package/dist/wsisamples.js +2 -2
  116. package/package.json +1 -1
  117. package/src/dataset.ts +19 -7
  118. package/src/index.ts +3 -1
  119. package/src/routes/aiProjectAdmin.ts +10 -8
  120. package/src/routes/aiProjectSelectedWSImages.ts +23 -0
  121. package/src/routes/deleteWSIAnnotation.ts +23 -0
  122. package/src/routes/grin2.ts +42 -0
  123. package/src/routes/samplewsimages.ts +5 -3
  124. package/src/routes/saveWSIAnnotation.ts +24 -0
  125. package/src/routes/termdb.boxplot.ts +23 -1
  126. package/src/routes/termdb.violin.ts +4 -2
  127. package/src/routes/wsimages.ts +2 -1
  128. package/src/termdb.matrix.ts +2 -0
  129. package/src/terms/categorical.ts +3 -2
  130. package/src/terms/condition.ts +25 -8
  131. package/src/terms/numeric.ts +5 -0
  132. package/src/terms/q.ts +60 -1
  133. package/src/terms/samplelst.ts +2 -2
  134. package/src/terms/singleCellCellType.ts +1 -1
  135. package/src/terms/snp.ts +2 -2
  136. package/src/terms/snps.ts +2 -2
  137. package/src/terms/term.ts +2 -134
  138. package/src/terms/tw.ts +15 -0
  139. package/dist/sampleWsiAiApi.js +0 -11
  140. package/src/routes/sampleWsiAiApi.ts +0 -21
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __toESM,
3
3
  require_lib
4
- } from "./chunk-CNSSF43V.js";
4
+ } from "./chunk-YNHC5SXO.js";
5
5
 
6
6
  // dist/termdb.termsbyids.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
@@ -120,9 +120,9 @@ var validTermsByIdsResponse = (input) => {
120
120
  return "number" === typeof value;
121
121
  return true;
122
122
  });
123
- const $io16 = (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);
124
- const $io17 = (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);
125
- const $io18 = (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);
123
+ const $io16 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
124
+ const $io17 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
125
+ const $io18 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
126
126
  const $io19 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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] && $iu1(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
127
127
  const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "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);
128
128
  const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io12(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io13(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
@@ -168,21 +168,22 @@ var validTermsByIdsResponse = (input) => {
168
168
  const $io61 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
169
169
  const $io62 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io63(input3.q));
170
170
  const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io46(input3.customset));
171
- const $io64 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io65(input3.q));
172
- const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (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) && true;
173
- const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io69(input3.term));
174
- const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io68(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io7(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
175
- const $io68 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
176
- const $io69 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io70(elem)));
177
- const $io70 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io71(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io72(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
178
- const $io71 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
179
- const $io72 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
180
- const $io73 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu12(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io78(input3.term));
181
- const $io74 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type);
182
- const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "filter" === input3.type);
183
- const $io76 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "predefined-groupset" === input3.type) && "number" === typeof input3.predefined_groupset_idx;
184
- const $io77 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "custom-groupset" === input3.type) && ("object" === typeof input3.customset && null !== input3.customset && $io46(input3.customset));
185
- const $io78 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
171
+ const $io64 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu12(input3.q));
172
+ const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (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) && true;
173
+ const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
174
+ const $io67 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io68(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io70(input3.term));
175
+ const $io68 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io69(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io7(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
176
+ const $io69 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
177
+ const $io70 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io71(elem)));
178
+ const $io71 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io72(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io73(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
179
+ const $io72 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
180
+ const $io73 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
181
+ const $io74 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io79(input3.term));
182
+ const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
183
+ const $io76 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && "filter" === input3.type;
184
+ const $io77 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
185
+ const $io78 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io15(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io46(input3.customset));
186
+ const $io79 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io34(input3.groupsetting));
186
187
  const $iu0 = (input3) => (() => {
187
188
  if ("tvslst" === input3.type)
188
189
  return $io7(input3);
@@ -227,9 +228,9 @@ var validTermsByIdsResponse = (input) => {
227
228
  })();
228
229
  const $iu6 = (input3) => (() => {
229
230
  if ("SnpTW" === input3.type)
230
- return $io73(input3);
231
+ return $io74(input3);
231
232
  if ("SnpsTW" === input3.type)
232
- return $io66(input3);
233
+ return $io67(input3);
233
234
  if ("ConditionTW" === input3.type)
234
235
  return $io64(input3);
235
236
  if ("GvCustomGsTW" === input3.type)
@@ -308,17 +309,22 @@ var validTermsByIdsResponse = (input) => {
308
309
  return false;
309
310
  })();
310
311
  const $iu12 = (input3) => (() => {
311
- if (void 0 !== input3.predefined_groupset_idx)
312
+ if ("grade" === input3.valueFor)
313
+ return $io65(input3);
314
+ if ("children" === input3.valueFor)
315
+ return $io66(input3);
316
+ return false;
317
+ })();
318
+ const $iu13 = (input3) => (() => {
319
+ if ("values" === input3.type)
320
+ return $io75(input3);
321
+ if ("filter" === input3.type)
312
322
  return $io76(input3);
313
- if (void 0 !== input3.customset)
323
+ if ("predefined-groupset" === input3.type)
314
324
  return $io77(input3);
315
- return (() => {
316
- if ($io75(input3))
317
- return $io75(input3);
318
- if ($io74(input3))
319
- return $io74(input3);
320
- return false;
321
- })();
325
+ if ("custom-groupset" === input3.type)
326
+ return $io78(input3);
327
+ return false;
322
328
  })();
323
329
  return "object" === typeof input2 && null !== input2 && $io0(input2);
324
330
  };
@@ -872,6 +878,10 @@ var validTermsByIdsResponse = (input) => {
872
878
  path: _path2 + ".label",
873
879
  expected: "(string | undefined)",
874
880
  value: input3.label
881
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
882
+ path: _path2 + ".range",
883
+ expected: "(string | undefined)",
884
+ value: input3.range
875
885
  })].every((flag) => flag);
876
886
  const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
877
887
  path: _path2 + ".startunbounded",
@@ -901,6 +911,10 @@ var validTermsByIdsResponse = (input) => {
901
911
  path: _path2 + ".label",
902
912
  expected: "(string | undefined)",
903
913
  value: input3.label
914
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
915
+ path: _path2 + ".range",
916
+ expected: "(string | undefined)",
917
+ value: input3.range
904
918
  })].every((flag) => flag);
905
919
  const $vo18 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
906
920
  path: _path2 + ".start",
@@ -926,6 +940,10 @@ var validTermsByIdsResponse = (input) => {
926
940
  path: _path2 + ".label",
927
941
  expected: "(string | undefined)",
928
942
  value: input3.label
943
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
944
+ path: _path2 + ".range",
945
+ expected: "(string | undefined)",
946
+ value: input3.range
929
947
  })].every((flag) => flag);
930
948
  const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
931
949
  path: _path2 + ".hiddenValues",
@@ -3287,11 +3305,11 @@ var validTermsByIdsResponse = (input) => {
3287
3305
  value: input3.term
3288
3306
  }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
3289
3307
  path: _path2 + ".q",
3290
- expected: "ConditionQ",
3308
+ expected: "(ConditionChildrenQ | ConditionGradeQ)",
3291
3309
  value: input3.q
3292
- })) && $vo65(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3310
+ })) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3293
3311
  path: _path2 + ".q",
3294
- expected: "ConditionQ",
3312
+ expected: "(ConditionChildrenQ | ConditionGradeQ)",
3295
3313
  value: input3.q
3296
3314
  })].every((flag) => flag);
3297
3315
  const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
@@ -3302,34 +3320,34 @@ var validTermsByIdsResponse = (input) => {
3302
3320
  path: _path2 + ".hiddenValues",
3303
3321
  expected: "(HiddenValues | undefined)",
3304
3322
  value: input3.hiddenValues
3305
- }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3323
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3306
3324
  path: _path2 + ".isAtomic",
3307
- expected: "(boolean | undefined)",
3325
+ expected: "(true | undefined)",
3308
3326
  value: input3.isAtomic
3309
3327
  }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3310
3328
  path: _path2 + ".name",
3311
3329
  expected: "(string | undefined)",
3312
3330
  value: input3.name
3313
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3314
- path: _path2 + ".mode",
3315
- expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
3316
- value: input3.mode
3317
3331
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3318
3332
  path: _path2 + ".reuseId",
3319
3333
  expected: "(string | undefined)",
3320
3334
  value: input3.reuseId
3321
- }), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
3322
- path: _path2 + ".type",
3323
- expected: '("values" | undefined)',
3324
- value: input3.type
3325
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
3326
- path: _path2 + ".bar_by_children",
3327
- expected: "(boolean | undefined)",
3328
- value: input3.bar_by_children
3329
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
3335
+ }), "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3336
+ path: _path2 + ".mode",
3337
+ expected: '("binary" | "cox" | "cuminc" | "discrete")',
3338
+ value: input3.mode
3339
+ }), "grade" === input3.valueFor || $report(_exceptionable2, {
3340
+ path: _path2 + ".valueFor",
3341
+ expected: '"grade"',
3342
+ value: input3.valueFor
3343
+ }), true === input3.bar_by_grade || $report(_exceptionable2, {
3330
3344
  path: _path2 + ".bar_by_grade",
3331
- expected: "(boolean | undefined)",
3345
+ expected: "true",
3332
3346
  value: input3.bar_by_grade
3347
+ }), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
3348
+ path: _path2 + ".timeScale",
3349
+ expected: '("age" | "time")',
3350
+ value: input3.timeScale
3333
3351
  }), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
3334
3352
  path: _path2 + ".breaks",
3335
3353
  expected: "(Array<number> | undefined)",
@@ -3342,10 +3360,6 @@ var validTermsByIdsResponse = (input) => {
3342
3360
  path: _path2 + ".breaks",
3343
3361
  expected: "(Array<number> | undefined)",
3344
3362
  value: input3.breaks
3345
- }), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
3346
- path: _path2 + ".timeScale",
3347
- expected: '("age" | "time")',
3348
- value: input3.timeScale
3349
3363
  }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
3350
3364
  path: _path2 + ".value_by_max_grade",
3351
3365
  expected: "(boolean | undefined)",
@@ -3359,7 +3373,40 @@ var validTermsByIdsResponse = (input) => {
3359
3373
  expected: "(boolean | undefined)",
3360
3374
  value: input3.value_by_computable_grade
3361
3375
  }), true].every((flag) => flag);
3362
- const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3376
+ const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3377
+ path: _path2 + ".hiddenValues",
3378
+ expected: "(HiddenValues | undefined)",
3379
+ value: input3.hiddenValues
3380
+ })) && $vo15(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3381
+ path: _path2 + ".hiddenValues",
3382
+ expected: "(HiddenValues | undefined)",
3383
+ value: input3.hiddenValues
3384
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3385
+ path: _path2 + ".isAtomic",
3386
+ expected: "(true | undefined)",
3387
+ value: input3.isAtomic
3388
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3389
+ path: _path2 + ".name",
3390
+ expected: "(string | undefined)",
3391
+ value: input3.name
3392
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3393
+ path: _path2 + ".reuseId",
3394
+ expected: "(string | undefined)",
3395
+ value: input3.reuseId
3396
+ }), "discrete" === input3.mode || $report(_exceptionable2, {
3397
+ path: _path2 + ".mode",
3398
+ expected: '"discrete"',
3399
+ value: input3.mode
3400
+ }), "children" === input3.valueFor || $report(_exceptionable2, {
3401
+ path: _path2 + ".valueFor",
3402
+ expected: '"children"',
3403
+ value: input3.valueFor
3404
+ }), true === input3.bar_by_children || $report(_exceptionable2, {
3405
+ path: _path2 + ".bar_by_children",
3406
+ expected: "true",
3407
+ value: input3.bar_by_children
3408
+ }), true].every((flag) => flag);
3409
+ const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3363
3410
  path: _path2 + ".id",
3364
3411
  expected: "(string | undefined)",
3365
3412
  value: input3.id
@@ -3391,7 +3438,7 @@ var validTermsByIdsResponse = (input) => {
3391
3438
  path: _path2 + ".q",
3392
3439
  expected: "SnpsQ",
3393
3440
  value: input3.q
3394
- })) && $vo67(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3441
+ })) && $vo68(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3395
3442
  path: _path2 + ".q",
3396
3443
  expected: "SnpsQ",
3397
3444
  value: input3.q
@@ -3399,12 +3446,12 @@ var validTermsByIdsResponse = (input) => {
3399
3446
  path: _path2 + ".term",
3400
3447
  expected: "SnpsTerm",
3401
3448
  value: input3.term
3402
- })) && $vo69(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3449
+ })) && $vo70(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3403
3450
  path: _path2 + ".term",
3404
3451
  expected: "SnpsTerm",
3405
3452
  value: input3.term
3406
3453
  })].every((flag) => flag);
3407
- const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3454
+ const $vo68 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3408
3455
  path: _path2 + ".hiddenValues",
3409
3456
  expected: "(HiddenValues | undefined)",
3410
3457
  value: input3.hiddenValues
@@ -3412,26 +3459,18 @@ var validTermsByIdsResponse = (input) => {
3412
3459
  path: _path2 + ".hiddenValues",
3413
3460
  expected: "(HiddenValues | undefined)",
3414
3461
  value: input3.hiddenValues
3415
- }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3462
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3416
3463
  path: _path2 + ".isAtomic",
3417
- expected: "(boolean | undefined)",
3464
+ expected: "(true | undefined)",
3418
3465
  value: input3.isAtomic
3419
3466
  }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3420
3467
  path: _path2 + ".name",
3421
3468
  expected: "(string | undefined)",
3422
3469
  value: input3.name
3423
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3424
- path: _path2 + ".mode",
3425
- expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
3426
- value: input3.mode
3427
3470
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3428
3471
  path: _path2 + ".reuseId",
3429
3472
  expected: "(string | undefined)",
3430
3473
  value: input3.reuseId
3431
- }), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
3432
- path: _path2 + ".type",
3433
- expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
3434
- value: input3.type
3435
3474
  }), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
3436
3475
  path: _path2 + ".AFcutoff",
3437
3476
  expected: "number",
@@ -3460,7 +3499,7 @@ var validTermsByIdsResponse = (input) => {
3460
3499
  path: _path2 + ".restrictAncestry",
3461
3500
  expected: "RestrictAncestry",
3462
3501
  value: input3.restrictAncestry
3463
- })) && $vo68(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
3502
+ })) && $vo69(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
3464
3503
  path: _path2 + ".restrictAncestry",
3465
3504
  expected: "RestrictAncestry",
3466
3505
  value: input3.restrictAncestry
@@ -3485,7 +3524,7 @@ var validTermsByIdsResponse = (input) => {
3485
3524
  expected: "number",
3486
3525
  value: input3.stop
3487
3526
  })].every((flag) => flag);
3488
- const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3527
+ const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3489
3528
  path: _path2 + ".name",
3490
3529
  expected: "string",
3491
3530
  value: input3.name
@@ -3498,7 +3537,7 @@ var validTermsByIdsResponse = (input) => {
3498
3537
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
3499
3538
  value: input3.tvs
3500
3539
  })].every((flag) => flag);
3501
- const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3540
+ const $vo70 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3502
3541
  path: _path2 + ".id",
3503
3542
  expected: "string",
3504
3543
  value: input3.id
@@ -3566,7 +3605,7 @@ var validTermsByIdsResponse = (input) => {
3566
3605
  path: _path2 + ".snps[" + _index53 + "]",
3567
3606
  expected: "SnpsEntry",
3568
3607
  value: elem
3569
- })) && $vo70(elem, _path2 + ".snps[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
3608
+ })) && $vo71(elem, _path2 + ".snps[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
3570
3609
  path: _path2 + ".snps[" + _index53 + "]",
3571
3610
  expected: "SnpsEntry",
3572
3611
  value: elem
@@ -3575,7 +3614,7 @@ var validTermsByIdsResponse = (input) => {
3575
3614
  expected: "(Array<SnpsEntry> | undefined)",
3576
3615
  value: input3.snps
3577
3616
  })].every((flag) => flag);
3578
- const $vo70 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
3617
+ const $vo71 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
3579
3618
  path: _path2 + ".altAlleles",
3580
3619
  expected: "(Array<string> | undefined)",
3581
3620
  value: input3.altAlleles
@@ -3595,7 +3634,7 @@ var validTermsByIdsResponse = (input) => {
3595
3634
  path: _path2 + ".alleles[" + _index55 + "]",
3596
3635
  expected: "AllelesEntry",
3597
3636
  value: elem
3598
- })) && $vo71(elem, _path2 + ".alleles[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
3637
+ })) && $vo72(elem, _path2 + ".alleles[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
3599
3638
  path: _path2 + ".alleles[" + _index55 + "]",
3600
3639
  expected: "AllelesEntry",
3601
3640
  value: elem
@@ -3611,7 +3650,7 @@ var validTermsByIdsResponse = (input) => {
3611
3650
  path: _path2 + ".gt2count",
3612
3651
  expected: "(__type.o8 | undefined)",
3613
3652
  value: input3.gt2count
3614
- })) && $vo72(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
3653
+ })) && $vo73(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
3615
3654
  path: _path2 + ".gt2count",
3616
3655
  expected: "(__type.o8 | undefined)",
3617
3656
  value: input3.gt2count
@@ -3640,7 +3679,7 @@ var validTermsByIdsResponse = (input) => {
3640
3679
  expected: "(number | undefined)",
3641
3680
  value: input3.pos
3642
3681
  })].every((flag) => flag);
3643
- const $vo71 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
3682
+ const $vo72 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
3644
3683
  path: _path2 + ".allele",
3645
3684
  expected: "string",
3646
3685
  value: input3.allele
@@ -3653,7 +3692,7 @@ var validTermsByIdsResponse = (input) => {
3653
3692
  expected: "boolean",
3654
3693
  value: input3.isRef
3655
3694
  })].every((flag) => flag);
3656
- const $vo72 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
3695
+ const $vo73 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
3657
3696
  path: _path2 + ".k",
3658
3697
  expected: "string",
3659
3698
  value: input3.k
@@ -3662,7 +3701,7 @@ var validTermsByIdsResponse = (input) => {
3662
3701
  expected: "(number | string)",
3663
3702
  value: input3.v
3664
3703
  })].every((flag) => flag);
3665
- const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3704
+ const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3666
3705
  path: _path2 + ".id",
3667
3706
  expected: "(string | undefined)",
3668
3707
  value: input3.id
@@ -3690,24 +3729,24 @@ var validTermsByIdsResponse = (input) => {
3690
3729
  path: _path2 + ".type",
3691
3730
  expected: '"SnpTW"',
3692
3731
  value: input3.type
3693
- }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
3732
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
3694
3733
  path: _path2 + ".q",
3695
- expected: '(BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | BaseQ & { type: "filter"; })',
3734
+ expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; })',
3696
3735
  value: input3.q
3697
- })) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3736
+ })) && $vu13(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3698
3737
  path: _path2 + ".q",
3699
- expected: '(BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | BaseQ & { type: "filter"; })',
3738
+ expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; })',
3700
3739
  value: input3.q
3701
3740
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3702
3741
  path: _path2 + ".term",
3703
3742
  expected: "SnpTerm",
3704
3743
  value: input3.term
3705
- })) && $vo78(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3744
+ })) && $vo79(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3706
3745
  path: _path2 + ".term",
3707
3746
  expected: "SnpTerm",
3708
3747
  value: input3.term
3709
3748
  })].every((flag) => flag);
3710
- const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3749
+ const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3711
3750
  path: _path2 + ".hiddenValues",
3712
3751
  expected: "(HiddenValues | undefined)",
3713
3752
  value: input3.hiddenValues
@@ -3723,20 +3762,20 @@ var validTermsByIdsResponse = (input) => {
3723
3762
  path: _path2 + ".name",
3724
3763
  expected: "(string | undefined)",
3725
3764
  value: input3.name
3726
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3727
- path: _path2 + ".mode",
3728
- expected: '("binary" | "discrete" | undefined)',
3729
- value: input3.mode
3730
3765
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3731
3766
  path: _path2 + ".reuseId",
3732
3767
  expected: "(string | undefined)",
3733
3768
  value: input3.reuseId
3734
- }), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
3769
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3770
+ path: _path2 + ".mode",
3771
+ expected: '("binary" | "discrete" | undefined)',
3772
+ value: input3.mode
3773
+ }), "values" === input3.type || $report(_exceptionable2, {
3735
3774
  path: _path2 + ".type",
3736
- expected: '("values" | undefined)',
3775
+ expected: '"values"',
3737
3776
  value: input3.type
3738
3777
  })].every((flag) => flag);
3739
- const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3778
+ const $vo76 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3740
3779
  path: _path2 + ".hiddenValues",
3741
3780
  expected: "(HiddenValues | undefined)",
3742
3781
  value: input3.hiddenValues
@@ -3744,28 +3783,24 @@ var validTermsByIdsResponse = (input) => {
3744
3783
  path: _path2 + ".hiddenValues",
3745
3784
  expected: "(HiddenValues | undefined)",
3746
3785
  value: input3.hiddenValues
3747
- }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3786
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3748
3787
  path: _path2 + ".isAtomic",
3749
- expected: "(boolean | undefined)",
3788
+ expected: "(true | undefined)",
3750
3789
  value: input3.isAtomic
3751
3790
  }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3752
3791
  path: _path2 + ".name",
3753
3792
  expected: "(string | undefined)",
3754
3793
  value: input3.name
3755
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3756
- path: _path2 + ".mode",
3757
- expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
3758
- value: input3.mode
3759
3794
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3760
3795
  path: _path2 + ".reuseId",
3761
3796
  expected: "(string | undefined)",
3762
3797
  value: input3.reuseId
3763
- }), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
3798
+ }), "filter" === input3.type || $report(_exceptionable2, {
3764
3799
  path: _path2 + ".type",
3765
- expected: '("filter" | undefined)',
3800
+ expected: '"filter"',
3766
3801
  value: input3.type
3767
3802
  })].every((flag) => flag);
3768
- const $vo76 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3803
+ const $vo77 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3769
3804
  path: _path2 + ".hiddenValues",
3770
3805
  expected: "(HiddenValues | undefined)",
3771
3806
  value: input3.hiddenValues
@@ -3781,24 +3816,24 @@ var validTermsByIdsResponse = (input) => {
3781
3816
  path: _path2 + ".name",
3782
3817
  expected: "(string | undefined)",
3783
3818
  value: input3.name
3784
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3785
- path: _path2 + ".mode",
3786
- expected: '("binary" | "discrete" | undefined)',
3787
- value: input3.mode
3788
3819
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3789
3820
  path: _path2 + ".reuseId",
3790
3821
  expected: "(string | undefined)",
3791
3822
  value: input3.reuseId
3792
- }), void 0 === input3.type || "predefined-groupset" === input3.type || $report(_exceptionable2, {
3823
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3824
+ path: _path2 + ".mode",
3825
+ expected: '("binary" | "discrete" | undefined)',
3826
+ value: input3.mode
3827
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
3793
3828
  path: _path2 + ".type",
3794
- expected: '("predefined-groupset" | undefined)',
3829
+ expected: '"predefined-groupset"',
3795
3830
  value: input3.type
3796
3831
  }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
3797
3832
  path: _path2 + ".predefined_groupset_idx",
3798
3833
  expected: "number",
3799
3834
  value: input3.predefined_groupset_idx
3800
3835
  })].every((flag) => flag);
3801
- const $vo77 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3836
+ const $vo78 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3802
3837
  path: _path2 + ".hiddenValues",
3803
3838
  expected: "(HiddenValues | undefined)",
3804
3839
  value: input3.hiddenValues
@@ -3814,17 +3849,17 @@ var validTermsByIdsResponse = (input) => {
3814
3849
  path: _path2 + ".name",
3815
3850
  expected: "(string | undefined)",
3816
3851
  value: input3.name
3817
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3818
- path: _path2 + ".mode",
3819
- expected: '("binary" | "discrete" | undefined)',
3820
- value: input3.mode
3821
3852
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3822
3853
  path: _path2 + ".reuseId",
3823
3854
  expected: "(string | undefined)",
3824
3855
  value: input3.reuseId
3825
- }), void 0 === input3.type || "custom-groupset" === input3.type || $report(_exceptionable2, {
3856
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3857
+ path: _path2 + ".mode",
3858
+ expected: '("binary" | "discrete" | undefined)',
3859
+ value: input3.mode
3860
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
3826
3861
  path: _path2 + ".type",
3827
- expected: '("custom-groupset" | undefined)',
3862
+ expected: '"custom-groupset"',
3828
3863
  value: input3.type
3829
3864
  }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
3830
3865
  path: _path2 + ".customset",
@@ -3835,7 +3870,7 @@ var validTermsByIdsResponse = (input) => {
3835
3870
  expected: "BaseGroupSet",
3836
3871
  value: input3.customset
3837
3872
  })].every((flag) => flag);
3838
- const $vo78 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3873
+ const $vo79 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3839
3874
  path: _path2 + ".id",
3840
3875
  expected: "string",
3841
3876
  value: input3.id
@@ -3992,9 +4027,9 @@ var validTermsByIdsResponse = (input) => {
3992
4027
  })();
3993
4028
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3994
4029
  if ("SnpTW" === input3.type)
3995
- return $vo73(input3, _path2, _exceptionable2);
4030
+ return $vo74(input3, _path2, _exceptionable2);
3996
4031
  if ("SnpsTW" === input3.type)
3997
- return $vo66(input3, _path2, _exceptionable2);
4032
+ return $vo67(input3, _path2, _exceptionable2);
3998
4033
  if ("ConditionTW" === input3.type)
3999
4034
  return $vo64(input3, _path2, _exceptionable2);
4000
4035
  if ("GvCustomGsTW" === input3.type)
@@ -4075,11 +4110,30 @@ var validTermsByIdsResponse = (input) => {
4075
4110
  });
4076
4111
  })();
4077
4112
  const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
4078
- if (void 0 !== input3.predefined_groupset_idx)
4113
+ if ("grade" === input3.valueFor)
4114
+ return $vo65(input3, _path2, _exceptionable2);
4115
+ if ("children" === input3.valueFor)
4116
+ return $vo66(input3, _path2, _exceptionable2);
4117
+ return $report(_exceptionable2, {
4118
+ path: _path2,
4119
+ expected: "(ConditionGradeQ | ConditionChildrenQ)",
4120
+ value: input3
4121
+ });
4122
+ })();
4123
+ const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
4124
+ if ("values" === input3.type)
4125
+ return $vo75(input3, _path2, _exceptionable2);
4126
+ if ("filter" === input3.type)
4079
4127
  return $vo76(input3, _path2, _exceptionable2);
4080
- if (void 0 !== input3.customset)
4128
+ if ("predefined-groupset" === input3.type)
4081
4129
  return $vo77(input3, _path2, _exceptionable2);
4082
- return $vo75(input3, _path2, false) || $vo74(input3, _path2, false);
4130
+ if ("custom-groupset" === input3.type)
4131
+ return $vo78(input3, _path2, _exceptionable2);
4132
+ return $report(_exceptionable2, {
4133
+ path: _path2,
4134
+ expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; })',
4135
+ value: input3
4136
+ });
4083
4137
  })();
4084
4138
  return ("object" === typeof input2 && null !== input2 || $report(true, {
4085
4139
  path: _path + "",