@sjcrh/proteinpaint-types 2.183.0 → 2.183.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.
@@ -3,87 +3,71 @@ import {
3
3
  require_lib
4
4
  } from "./chunk-YNHC5SXO.js";
5
5
 
6
- // dist/termdb.termsbyids.ts
6
+ // dist/termdb.descrstats.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
8
8
 
9
- // src/routes/termdb.termsbyids.ts
10
- var termsByIdsPayload = {
9
+ // src/routes/termdb.descrstats.ts
10
+ var descrStatsPayload = {
11
11
  request: {
12
- typeId: "TermsByIdsRequest"
12
+ typeId: "DescrStatsRequest"
13
13
  },
14
14
  response: {
15
- typeId: "TermsByIdsResponse"
16
- }
17
- // examples: []
15
+ typeId: "DescrStatsResponse"
16
+ },
17
+ examples: [
18
+ {
19
+ request: {
20
+ body: {
21
+ genome: "hg38-test",
22
+ dslabel: "TermdbTest",
23
+ embedder: "localhost",
24
+ tw: { term: { id: "hrtavg" }, q: { mode: "continuous" } },
25
+ filter: {
26
+ type: "tvslst",
27
+ in: true,
28
+ join: "",
29
+ lst: [
30
+ {
31
+ tag: "cohortFilter",
32
+ type: "tvs",
33
+ tvs: {
34
+ term: {
35
+ name: "Cohort",
36
+ type: "categorical",
37
+ values: { ABC: { label: "ABC" }, XYZ: { label: "XYZ" } },
38
+ id: "subcohort",
39
+ isleaf: false,
40
+ groupsetting: { disabled: true }
41
+ },
42
+ values: [{ key: "ABC", label: "ABC" }]
43
+ }
44
+ }
45
+ ]
46
+ }
47
+ }
48
+ },
49
+ response: {
50
+ header: { status: 200 }
51
+ }
52
+ }
53
+ ]
18
54
  };
19
55
 
20
- // dist/termdb.termsbyids.ts
21
- var validTermsByIdsRequest = (input) => {
22
- const errors = [];
23
- const __is = (input2) => {
24
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.ids) && input3.ids.every((elem) => "string" === typeof elem));
25
- return "object" === typeof input2 && null !== input2 && $io0(input2);
26
- };
27
- if (false === __is(input)) {
28
- const $report = import_typia.createValidate.report(errors);
29
- ((input2, _path, _exceptionable = true) => {
30
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
31
- path: _path2 + ".genome",
32
- expected: "string",
33
- value: input3.genome
34
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
35
- path: _path2 + ".dslabel",
36
- expected: "string",
37
- value: input3.dslabel
38
- }), "string" === typeof input3.embedder || $report(_exceptionable2, {
39
- path: _path2 + ".embedder",
40
- expected: "string",
41
- value: input3.embedder
42
- }), (Array.isArray(input3.ids) || $report(_exceptionable2, {
43
- path: _path2 + ".ids",
44
- expected: "Array<string>",
45
- value: input3.ids
46
- })) && input3.ids.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
47
- path: _path2 + ".ids[" + _index1 + "]",
48
- expected: "string",
49
- value: elem
50
- })).every((flag) => flag) || $report(_exceptionable2, {
51
- path: _path2 + ".ids",
52
- expected: "Array<string>",
53
- value: input3.ids
54
- })].every((flag) => flag);
55
- return ("object" === typeof input2 && null !== input2 || $report(true, {
56
- path: _path + "",
57
- expected: "TermsByIdsRequest",
58
- value: input2
59
- })) && $vo0(input2, _path + "", true) || $report(true, {
60
- path: _path + "",
61
- expected: "TermsByIdsRequest",
62
- value: input2
63
- });
64
- })(input, "$input", true);
65
- }
66
- const success = 0 === errors.length;
67
- return {
68
- success,
69
- errors,
70
- data: success ? input : void 0
71
- };
72
- };
73
- var validTermsByIdsResponse = (input) => {
56
+ // dist/termdb.descrstats.ts
57
+ var validDescrStatsRequest = (input) => {
74
58
  const errors = [];
75
59
  const __is = (input2) => {
76
60
  const $join = import_typia.createValidate.join;
77
- const $io0 = (input3) => "object" === typeof input3.terms && null !== input3.terms && false === Array.isArray(input3.terms) && $io1(input3.terms);
78
- const $io1 = (input3) => Object.keys(input3).every((key) => {
61
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu7(input3.tw)) && (void 0 === input3.logScale || "boolean" === typeof input3.logScale) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && true;
62
+ const $io1 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io62(input3.q)) && "QualTWValues" === input3.type;
63
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
79
64
  const value = input3[key];
80
65
  if (void 0 === value)
81
66
  return true;
82
67
  if (RegExp(/(.*)/).test(key))
83
- return "object" === typeof value && null !== value && $iu7(value);
68
+ return true;
84
69
  return true;
85
70
  });
86
- const $io2 = (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 && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io62(input3.q)) && "QualTWValues" === input3.type;
87
71
  const $io3 = (input3) => Object.keys(input3).every((key) => {
88
72
  const value = input3[key];
89
73
  if (void 0 === value)
@@ -188,41 +172,41 @@ var validTermsByIdsResponse = (input) => {
188
172
  const $io59 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "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 && $io44(input3.groupsetting));
189
173
  const $io60 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === 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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting));
190
174
  const $io62 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
191
- const $io63 = (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 && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io64(input3.q)) && "QualTWPredefinedGS" === input3.type;
175
+ const $io63 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io64(input3.q)) && "QualTWPredefinedGS" === input3.type;
192
176
  const $io64 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
193
- const $io65 = (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 && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io66(input3.q)) && "QualTWCustomGS" === input3.type;
177
+ const $io65 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io66(input3.q)) && "QualTWCustomGS" === input3.type;
194
178
  const $io66 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io67(input3.customset));
195
179
  const $io67 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
196
- const $io68 = (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 && "NumTWRegularBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io15(input3.q));
197
- const $io69 = (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 && "NumTWCustomBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io20(input3.q));
198
- const $io70 = (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 && "NumTWBinary" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io71(input3.q));
180
+ const $io68 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWRegularBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io15(input3.q));
181
+ const $io69 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWCustomBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io20(input3.q));
182
+ const $io70 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWBinary" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io71(input3.q));
199
183
  const $io71 = (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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu5(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu6(input3.lst[1])))) && (void 0 === input3.cutoffType || "normal" === input3.cutoffType || "percentile" === input3.cutoffType) && (void 0 === input3.cutoffPercentile || "number" === typeof input3.cutoffPercentile);
200
- const $io72 = (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 && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io73(input3.q));
184
+ const $io72 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io73(input3.q));
201
185
  const $io73 = (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) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type) && (void 0 === input3.scale || "number" === typeof input3.scale);
202
- 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 && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io75(input3.q));
186
+ 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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io75(input3.q));
203
187
  const $io75 = (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) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io76(elem))) && (null !== input3.type && void 0 === input3.type);
204
188
  const $io76 = (input3) => "number" === typeof input3.value;
205
- const $io77 = (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 && "GvValuesTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io80(input3.q));
189
+ const $io77 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "GvValuesTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io80(input3.q));
206
190
  const $io78 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
207
191
  const $io79 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
208
192
  const $io80 = (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) && (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) && "values" === input3.type;
209
- const $io81 = (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 && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io82(input3.q));
193
+ const $io81 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io82(input3.q));
210
194
  const $io82 = (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) && (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 && Array.isArray(input3.dtLst);
211
- const $io83 = (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 && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io84(input3.q));
195
+ const $io83 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io84(input3.q));
212
196
  const $io84 = (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) && (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 && $io67(input3.customset)) && Array.isArray(input3.dtLst);
213
- const $io85 = (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 && $io36(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu15(input3.q));
197
+ const $io85 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io36(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu15(input3.q));
214
198
  const $io86 = (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) && ("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;
215
199
  const $io87 = (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) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
216
- const $io88 = (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 && $io89(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io91(input3.term));
200
+ const $io88 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io89(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io91(input3.term));
217
201
  const $io89 = (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) && "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 && $io90(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;
218
202
  const $io90 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu9(input3.tvs));
219
203
  const $io91 = (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.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (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 && $io92(elem)));
220
204
  const $io92 = (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 && $io93(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io94(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);
221
205
  const $io93 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
222
206
  const $io94 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
223
- const $io95 = (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 && "TermCollectionTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io52(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io96(input3.q));
207
+ const $io95 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "TermCollectionTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io52(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io96(input3.q));
224
208
  const $io96 = (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) && "continuous" === input3.mode && "values" === input3.type && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
225
- const $io97 = (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 && "TermCollectionTWQual" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io57(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io98(input3.q));
209
+ const $io97 = (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) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "TermCollectionTWQual" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io57(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io98(input3.q));
226
210
  const $io98 = (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) && "discrete" === input3.mode && "values" === input3.type && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.categoryKeys || Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io58(elem)));
227
211
  const $iu0 = (input3) => (() => {
228
212
  if ("tvslst" === input3.type)
@@ -305,7 +289,7 @@ var validTermsByIdsResponse = (input) => {
305
289
  if ("QualTWPredefinedGS" === input3.type)
306
290
  return $io63(input3);
307
291
  if ("QualTWValues" === input3.type)
308
- return $io2(input3);
292
+ return $io1(input3);
309
293
  return false;
310
294
  })();
311
295
  const $iu8 = (input3) => (() => {
@@ -402,32 +386,40 @@ var validTermsByIdsResponse = (input) => {
402
386
  const $report = import_typia.createValidate.report(errors);
403
387
  ((input2, _path, _exceptionable = true) => {
404
388
  const $join = import_typia.createValidate.join;
405
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.terms && null !== input3.terms && false === Array.isArray(input3.terms) || $report(_exceptionable2, {
406
- path: _path2 + ".terms",
407
- expected: "__type",
408
- value: input3.terms
409
- })) && $vo1(input3.terms, _path2 + ".terms", _exceptionable2) || $report(_exceptionable2, {
410
- path: _path2 + ".terms",
411
- expected: "__type",
412
- value: input3.terms
413
- })].every((flag) => flag);
414
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
415
- const value = input3[key];
416
- if (void 0 === value)
417
- return true;
418
- if (RegExp(/(.*)/).test(key))
419
- return ("object" === typeof value && null !== value || $report(_exceptionable2, {
420
- path: _path2 + $join(key),
421
- expected: "(ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | QualTWCustomGS | QualTWPredefinedGS | QualTWValues | SnpsTW | TermCollectionTWCont | TermCollectionTWQual)",
422
- value
423
- })) && $vu7(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
424
- path: _path2 + $join(key),
425
- expected: "(ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | QualTWCustomGS | QualTWPredefinedGS | QualTWValues | SnpsTW | TermCollectionTWCont | TermCollectionTWQual)",
426
- value
427
- });
428
- return true;
429
- }).every((flag) => flag)].every((flag) => flag);
430
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
389
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
390
+ path: _path2 + ".genome",
391
+ expected: "string",
392
+ value: input3.genome
393
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
394
+ path: _path2 + ".dslabel",
395
+ expected: "string",
396
+ value: input3.dslabel
397
+ }), "string" === typeof input3.embedder || $report(_exceptionable2, {
398
+ path: _path2 + ".embedder",
399
+ expected: "string",
400
+ value: input3.embedder
401
+ }), ("object" === typeof input3.tw && null !== input3.tw || $report(_exceptionable2, {
402
+ path: _path2 + ".tw",
403
+ expected: "(ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | QualTWCustomGS | QualTWPredefinedGS | QualTWValues | SnpsTW | TermCollectionTWCont | TermCollectionTWQual)",
404
+ value: input3.tw
405
+ })) && $vu7(input3.tw, _path2 + ".tw", _exceptionable2) || $report(_exceptionable2, {
406
+ path: _path2 + ".tw",
407
+ expected: "(ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | QualTWCustomGS | QualTWPredefinedGS | QualTWValues | SnpsTW | TermCollectionTWCont | TermCollectionTWQual)",
408
+ value: input3.tw
409
+ }), void 0 === input3.logScale || "boolean" === typeof input3.logScale || $report(_exceptionable2, {
410
+ path: _path2 + ".logScale",
411
+ expected: "(boolean | undefined)",
412
+ value: input3.logScale
413
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
414
+ path: _path2 + ".filter",
415
+ expected: "(Filter | undefined)",
416
+ value: input3.filter
417
+ })) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
418
+ path: _path2 + ".filter",
419
+ expected: "(Filter | undefined)",
420
+ value: input3.filter
421
+ }), true].every((flag) => flag);
422
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
431
423
  path: _path2 + ".id",
432
424
  expected: "(string | undefined)",
433
425
  value: input3.id
@@ -441,17 +433,25 @@ var validTermsByIdsResponse = (input) => {
441
433
  value: input3.isAtomic
442
434
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
443
435
  path: _path2 + ".settings",
444
- expected: "(__type.o1 | undefined)",
436
+ expected: "(__type | undefined)",
445
437
  value: input3.settings
446
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
438
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
447
439
  path: _path2 + ".settings",
448
- expected: "(__type.o1 | undefined)",
440
+ expected: "(__type | undefined)",
449
441
  value: input3.settings
450
442
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
451
443
  path: _path2 + ".minNumSamples",
452
444
  expected: "(number | undefined)",
453
445
  value: input3.minNumSamples
454
- }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
446
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
447
+ path: _path2 + ".values",
448
+ expected: "(__type.o1 | undefined)",
449
+ value: input3.values
450
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
451
+ path: _path2 + ".values",
452
+ expected: "(__type.o1 | undefined)",
453
+ value: input3.values
454
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
455
455
  path: _path2 + ".term",
456
456
  expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
457
457
  value: input3.term
@@ -472,6 +472,14 @@ var validTermsByIdsResponse = (input) => {
472
472
  expected: '"QualTWValues"',
473
473
  value: input3.type
474
474
  })].every((flag) => flag);
475
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
476
+ const value = input3[key];
477
+ if (void 0 === value)
478
+ return true;
479
+ if (RegExp(/(.*)/).test(key))
480
+ return true;
481
+ return true;
482
+ }).every((flag) => flag)].every((flag) => flag);
475
483
  const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
476
484
  const value = input3[key];
477
485
  if (void 0 === value)
@@ -3850,17 +3858,25 @@ var validTermsByIdsResponse = (input) => {
3850
3858
  value: input3.isAtomic
3851
3859
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
3852
3860
  path: _path2 + ".settings",
3853
- expected: "(__type.o1 | undefined)",
3861
+ expected: "(__type | undefined)",
3854
3862
  value: input3.settings
3855
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
3863
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
3856
3864
  path: _path2 + ".settings",
3857
- expected: "(__type.o1 | undefined)",
3865
+ expected: "(__type | undefined)",
3858
3866
  value: input3.settings
3859
3867
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
3860
3868
  path: _path2 + ".minNumSamples",
3861
3869
  expected: "(number | undefined)",
3862
3870
  value: input3.minNumSamples
3863
- }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3871
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3872
+ path: _path2 + ".values",
3873
+ expected: "(__type.o1 | undefined)",
3874
+ value: input3.values
3875
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3876
+ path: _path2 + ".values",
3877
+ expected: "(__type.o1 | undefined)",
3878
+ value: input3.values
3879
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3864
3880
  path: _path2 + ".term",
3865
3881
  expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
3866
3882
  value: input3.term
@@ -3928,17 +3944,25 @@ var validTermsByIdsResponse = (input) => {
3928
3944
  value: input3.isAtomic
3929
3945
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
3930
3946
  path: _path2 + ".settings",
3931
- expected: "(__type.o1 | undefined)",
3947
+ expected: "(__type | undefined)",
3932
3948
  value: input3.settings
3933
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
3949
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
3934
3950
  path: _path2 + ".settings",
3935
- expected: "(__type.o1 | undefined)",
3951
+ expected: "(__type | undefined)",
3936
3952
  value: input3.settings
3937
3953
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
3938
3954
  path: _path2 + ".minNumSamples",
3939
3955
  expected: "(number | undefined)",
3940
3956
  value: input3.minNumSamples
3941
- }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3957
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3958
+ path: _path2 + ".values",
3959
+ expected: "(__type.o1 | undefined)",
3960
+ value: input3.values
3961
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3962
+ path: _path2 + ".values",
3963
+ expected: "(__type.o1 | undefined)",
3964
+ value: input3.values
3965
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3942
3966
  path: _path2 + ".term",
3943
3967
  expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
3944
3968
  value: input3.term
@@ -4027,17 +4051,25 @@ var validTermsByIdsResponse = (input) => {
4027
4051
  value: input3.isAtomic
4028
4052
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4029
4053
  path: _path2 + ".settings",
4030
- expected: "(__type.o1 | undefined)",
4054
+ expected: "(__type | undefined)",
4031
4055
  value: input3.settings
4032
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4056
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4033
4057
  path: _path2 + ".settings",
4034
- expected: "(__type.o1 | undefined)",
4058
+ expected: "(__type | undefined)",
4035
4059
  value: input3.settings
4036
4060
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4037
4061
  path: _path2 + ".minNumSamples",
4038
4062
  expected: "(number | undefined)",
4039
4063
  value: input3.minNumSamples
4040
- }), true, "NumTWRegularBin" === input3.type || $report(_exceptionable2, {
4064
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4065
+ path: _path2 + ".values",
4066
+ expected: "(__type.o1 | undefined)",
4067
+ value: input3.values
4068
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4069
+ path: _path2 + ".values",
4070
+ expected: "(__type.o1 | undefined)",
4071
+ value: input3.values
4072
+ }), "NumTWRegularBin" === input3.type || $report(_exceptionable2, {
4041
4073
  path: _path2 + ".type",
4042
4074
  expected: '"NumTWRegularBin"',
4043
4075
  value: input3.type
@@ -4072,17 +4104,25 @@ var validTermsByIdsResponse = (input) => {
4072
4104
  value: input3.isAtomic
4073
4105
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4074
4106
  path: _path2 + ".settings",
4075
- expected: "(__type.o1 | undefined)",
4107
+ expected: "(__type | undefined)",
4076
4108
  value: input3.settings
4077
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4109
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4078
4110
  path: _path2 + ".settings",
4079
- expected: "(__type.o1 | undefined)",
4111
+ expected: "(__type | undefined)",
4080
4112
  value: input3.settings
4081
4113
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4082
4114
  path: _path2 + ".minNumSamples",
4083
4115
  expected: "(number | undefined)",
4084
4116
  value: input3.minNumSamples
4085
- }), true, "NumTWCustomBin" === input3.type || $report(_exceptionable2, {
4117
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4118
+ path: _path2 + ".values",
4119
+ expected: "(__type.o1 | undefined)",
4120
+ value: input3.values
4121
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4122
+ path: _path2 + ".values",
4123
+ expected: "(__type.o1 | undefined)",
4124
+ value: input3.values
4125
+ }), "NumTWCustomBin" === input3.type || $report(_exceptionable2, {
4086
4126
  path: _path2 + ".type",
4087
4127
  expected: '"NumTWCustomBin"',
4088
4128
  value: input3.type
@@ -4117,17 +4157,25 @@ var validTermsByIdsResponse = (input) => {
4117
4157
  value: input3.isAtomic
4118
4158
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4119
4159
  path: _path2 + ".settings",
4120
- expected: "(__type.o1 | undefined)",
4160
+ expected: "(__type | undefined)",
4121
4161
  value: input3.settings
4122
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4162
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4123
4163
  path: _path2 + ".settings",
4124
- expected: "(__type.o1 | undefined)",
4164
+ expected: "(__type | undefined)",
4125
4165
  value: input3.settings
4126
4166
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4127
4167
  path: _path2 + ".minNumSamples",
4128
4168
  expected: "(number | undefined)",
4129
4169
  value: input3.minNumSamples
4130
- }), true, "NumTWBinary" === input3.type || $report(_exceptionable2, {
4170
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4171
+ path: _path2 + ".values",
4172
+ expected: "(__type.o1 | undefined)",
4173
+ value: input3.values
4174
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4175
+ path: _path2 + ".values",
4176
+ expected: "(__type.o1 | undefined)",
4177
+ value: input3.values
4178
+ }), "NumTWBinary" === input3.type || $report(_exceptionable2, {
4131
4179
  path: _path2 + ".type",
4132
4180
  expected: '"NumTWBinary"',
4133
4181
  value: input3.type
@@ -4230,17 +4278,25 @@ var validTermsByIdsResponse = (input) => {
4230
4278
  value: input3.isAtomic
4231
4279
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4232
4280
  path: _path2 + ".settings",
4233
- expected: "(__type.o1 | undefined)",
4281
+ expected: "(__type | undefined)",
4234
4282
  value: input3.settings
4235
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4283
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4236
4284
  path: _path2 + ".settings",
4237
- expected: "(__type.o1 | undefined)",
4285
+ expected: "(__type | undefined)",
4238
4286
  value: input3.settings
4239
4287
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4240
4288
  path: _path2 + ".minNumSamples",
4241
4289
  expected: "(number | undefined)",
4242
4290
  value: input3.minNumSamples
4243
- }), true, "NumTWCont" === input3.type || $report(_exceptionable2, {
4291
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4292
+ path: _path2 + ".values",
4293
+ expected: "(__type.o1 | undefined)",
4294
+ value: input3.values
4295
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4296
+ path: _path2 + ".values",
4297
+ expected: "(__type.o1 | undefined)",
4298
+ value: input3.values
4299
+ }), "NumTWCont" === input3.type || $report(_exceptionable2, {
4244
4300
  path: _path2 + ".type",
4245
4301
  expected: '"NumTWCont"',
4246
4302
  value: input3.type
@@ -4316,17 +4372,25 @@ var validTermsByIdsResponse = (input) => {
4316
4372
  value: input3.isAtomic
4317
4373
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4318
4374
  path: _path2 + ".settings",
4319
- expected: "(__type.o1 | undefined)",
4375
+ expected: "(__type | undefined)",
4320
4376
  value: input3.settings
4321
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4377
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4322
4378
  path: _path2 + ".settings",
4323
- expected: "(__type.o1 | undefined)",
4379
+ expected: "(__type | undefined)",
4324
4380
  value: input3.settings
4325
4381
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4326
4382
  path: _path2 + ".minNumSamples",
4327
4383
  expected: "(number | undefined)",
4328
4384
  value: input3.minNumSamples
4329
- }), true, "NumTWSpline" === input3.type || $report(_exceptionable2, {
4385
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4386
+ path: _path2 + ".values",
4387
+ expected: "(__type.o1 | undefined)",
4388
+ value: input3.values
4389
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4390
+ path: _path2 + ".values",
4391
+ expected: "(__type.o1 | undefined)",
4392
+ value: input3.values
4393
+ }), "NumTWSpline" === input3.type || $report(_exceptionable2, {
4330
4394
  path: _path2 + ".type",
4331
4395
  expected: '"NumTWSpline"',
4332
4396
  value: input3.type
@@ -4415,17 +4479,25 @@ var validTermsByIdsResponse = (input) => {
4415
4479
  value: input3.isAtomic
4416
4480
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4417
4481
  path: _path2 + ".settings",
4418
- expected: "(__type.o1 | undefined)",
4482
+ expected: "(__type | undefined)",
4419
4483
  value: input3.settings
4420
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4484
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4421
4485
  path: _path2 + ".settings",
4422
- expected: "(__type.o1 | undefined)",
4486
+ expected: "(__type | undefined)",
4423
4487
  value: input3.settings
4424
4488
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4425
4489
  path: _path2 + ".minNumSamples",
4426
4490
  expected: "(number | undefined)",
4427
4491
  value: input3.minNumSamples
4428
- }), true, "GvValuesTW" === input3.type || $report(_exceptionable2, {
4492
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4493
+ path: _path2 + ".values",
4494
+ expected: "(__type.o1 | undefined)",
4495
+ value: input3.values
4496
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4497
+ path: _path2 + ".values",
4498
+ expected: "(__type.o1 | undefined)",
4499
+ value: input3.values
4500
+ }), "GvValuesTW" === input3.type || $report(_exceptionable2, {
4429
4501
  path: _path2 + ".type",
4430
4502
  expected: '"GvValuesTW"',
4431
4503
  value: input3.type
@@ -4747,17 +4819,25 @@ var validTermsByIdsResponse = (input) => {
4747
4819
  value: input3.isAtomic
4748
4820
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4749
4821
  path: _path2 + ".settings",
4750
- expected: "(__type.o1 | undefined)",
4822
+ expected: "(__type | undefined)",
4751
4823
  value: input3.settings
4752
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4824
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4753
4825
  path: _path2 + ".settings",
4754
- expected: "(__type.o1 | undefined)",
4826
+ expected: "(__type | undefined)",
4755
4827
  value: input3.settings
4756
4828
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4757
4829
  path: _path2 + ".minNumSamples",
4758
4830
  expected: "(number | undefined)",
4759
4831
  value: input3.minNumSamples
4760
- }), true, "GvPredefinedGsTW" === input3.type || $report(_exceptionable2, {
4832
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4833
+ path: _path2 + ".values",
4834
+ expected: "(__type.o1 | undefined)",
4835
+ value: input3.values
4836
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4837
+ path: _path2 + ".values",
4838
+ expected: "(__type.o1 | undefined)",
4839
+ value: input3.values
4840
+ }), "GvPredefinedGsTW" === input3.type || $report(_exceptionable2, {
4761
4841
  path: _path2 + ".type",
4762
4842
  expected: '"GvPredefinedGsTW"',
4763
4843
  value: input3.type
@@ -4841,17 +4921,25 @@ var validTermsByIdsResponse = (input) => {
4841
4921
  value: input3.isAtomic
4842
4922
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4843
4923
  path: _path2 + ".settings",
4844
- expected: "(__type.o1 | undefined)",
4924
+ expected: "(__type | undefined)",
4845
4925
  value: input3.settings
4846
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4926
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4847
4927
  path: _path2 + ".settings",
4848
- expected: "(__type.o1 | undefined)",
4928
+ expected: "(__type | undefined)",
4849
4929
  value: input3.settings
4850
4930
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4851
4931
  path: _path2 + ".minNumSamples",
4852
4932
  expected: "(number | undefined)",
4853
4933
  value: input3.minNumSamples
4854
- }), true, "GvCustomGsTW" === input3.type || $report(_exceptionable2, {
4934
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4935
+ path: _path2 + ".values",
4936
+ expected: "(__type.o1 | undefined)",
4937
+ value: input3.values
4938
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4939
+ path: _path2 + ".values",
4940
+ expected: "(__type.o1 | undefined)",
4941
+ value: input3.values
4942
+ }), "GvCustomGsTW" === input3.type || $report(_exceptionable2, {
4855
4943
  path: _path2 + ".type",
4856
4944
  expected: '"GvCustomGsTW"',
4857
4945
  value: input3.type
@@ -4939,17 +5027,25 @@ var validTermsByIdsResponse = (input) => {
4939
5027
  value: input3.isAtomic
4940
5028
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
4941
5029
  path: _path2 + ".settings",
4942
- expected: "(__type.o1 | undefined)",
5030
+ expected: "(__type | undefined)",
4943
5031
  value: input3.settings
4944
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5032
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
4945
5033
  path: _path2 + ".settings",
4946
- expected: "(__type.o1 | undefined)",
5034
+ expected: "(__type | undefined)",
4947
5035
  value: input3.settings
4948
5036
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
4949
5037
  path: _path2 + ".minNumSamples",
4950
5038
  expected: "(number | undefined)",
4951
5039
  value: input3.minNumSamples
4952
- }), true, "ConditionTW" === input3.type || $report(_exceptionable2, {
5040
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
5041
+ path: _path2 + ".values",
5042
+ expected: "(__type.o1 | undefined)",
5043
+ value: input3.values
5044
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
5045
+ path: _path2 + ".values",
5046
+ expected: "(__type.o1 | undefined)",
5047
+ value: input3.values
5048
+ }), "ConditionTW" === input3.type || $report(_exceptionable2, {
4953
5049
  path: _path2 + ".type",
4954
5050
  expected: '"ConditionTW"',
4955
5051
  value: input3.type
@@ -5078,17 +5174,25 @@ var validTermsByIdsResponse = (input) => {
5078
5174
  value: input3.isAtomic
5079
5175
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
5080
5176
  path: _path2 + ".settings",
5081
- expected: "(__type.o1 | undefined)",
5177
+ expected: "(__type | undefined)",
5082
5178
  value: input3.settings
5083
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5179
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5084
5180
  path: _path2 + ".settings",
5085
- expected: "(__type.o1 | undefined)",
5181
+ expected: "(__type | undefined)",
5086
5182
  value: input3.settings
5087
5183
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
5088
5184
  path: _path2 + ".minNumSamples",
5089
5185
  expected: "(number | undefined)",
5090
5186
  value: input3.minNumSamples
5091
- }), true, "SnpsTW" === input3.type || $report(_exceptionable2, {
5187
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
5188
+ path: _path2 + ".values",
5189
+ expected: "(__type.o1 | undefined)",
5190
+ value: input3.values
5191
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
5192
+ path: _path2 + ".values",
5193
+ expected: "(__type.o1 | undefined)",
5194
+ value: input3.values
5195
+ }), "SnpsTW" === input3.type || $report(_exceptionable2, {
5092
5196
  path: _path2 + ".type",
5093
5197
  expected: '"SnpsTW"',
5094
5198
  value: input3.type
@@ -5381,17 +5485,25 @@ var validTermsByIdsResponse = (input) => {
5381
5485
  value: input3.isAtomic
5382
5486
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
5383
5487
  path: _path2 + ".settings",
5384
- expected: "(__type.o1 | undefined)",
5488
+ expected: "(__type | undefined)",
5385
5489
  value: input3.settings
5386
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5490
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5387
5491
  path: _path2 + ".settings",
5388
- expected: "(__type.o1 | undefined)",
5492
+ expected: "(__type | undefined)",
5389
5493
  value: input3.settings
5390
5494
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
5391
5495
  path: _path2 + ".minNumSamples",
5392
5496
  expected: "(number | undefined)",
5393
5497
  value: input3.minNumSamples
5394
- }), true, "TermCollectionTWCont" === input3.type || $report(_exceptionable2, {
5498
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
5499
+ path: _path2 + ".values",
5500
+ expected: "(__type.o1 | undefined)",
5501
+ value: input3.values
5502
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
5503
+ path: _path2 + ".values",
5504
+ expected: "(__type.o1 | undefined)",
5505
+ value: input3.values
5506
+ }), "TermCollectionTWCont" === input3.type || $report(_exceptionable2, {
5395
5507
  path: _path2 + ".type",
5396
5508
  expected: '"TermCollectionTWCont"',
5397
5509
  value: input3.type
@@ -5479,17 +5591,25 @@ var validTermsByIdsResponse = (input) => {
5479
5591
  value: input3.isAtomic
5480
5592
  }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
5481
5593
  path: _path2 + ".settings",
5482
- expected: "(__type.o1 | undefined)",
5594
+ expected: "(__type | undefined)",
5483
5595
  value: input3.settings
5484
- })) && $vo3(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5596
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
5485
5597
  path: _path2 + ".settings",
5486
- expected: "(__type.o1 | undefined)",
5598
+ expected: "(__type | undefined)",
5487
5599
  value: input3.settings
5488
5600
  }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
5489
5601
  path: _path2 + ".minNumSamples",
5490
5602
  expected: "(number | undefined)",
5491
5603
  value: input3.minNumSamples
5492
- }), true, "TermCollectionTWQual" === input3.type || $report(_exceptionable2, {
5604
+ }), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
5605
+ path: _path2 + ".values",
5606
+ expected: "(__type.o1 | undefined)",
5607
+ value: input3.values
5608
+ })) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
5609
+ path: _path2 + ".values",
5610
+ expected: "(__type.o1 | undefined)",
5611
+ value: input3.values
5612
+ }), "TermCollectionTWQual" === input3.type || $report(_exceptionable2, {
5493
5613
  path: _path2 + ".type",
5494
5614
  expected: '"TermCollectionTWQual"',
5495
5615
  value: input3.type
@@ -5668,7 +5788,7 @@ var validTermsByIdsResponse = (input) => {
5668
5788
  if ("QualTWPredefinedGS" === input3.type)
5669
5789
  return $vo63(input3, _path2, _exceptionable2);
5670
5790
  if ("QualTWValues" === input3.type)
5671
- return $vo2(input3, _path2, _exceptionable2);
5791
+ return $vo1(input3, _path2, _exceptionable2);
5672
5792
  return $report(_exceptionable2, {
5673
5793
  path: _path2,
5674
5794
  expected: "(TermCollectionTWQual | TermCollectionTWCont | SnpsTW | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWSpline | NumTWCont | NumTWBinary | NumTWCustomBin | NumTWRegularBin | QualTWCustomGS | QualTWPredefinedGS | QualTWValues)",
@@ -5767,11 +5887,76 @@ var validTermsByIdsResponse = (input) => {
5767
5887
  })();
5768
5888
  return ("object" === typeof input2 && null !== input2 || $report(true, {
5769
5889
  path: _path + "",
5770
- expected: "TermsByIdsResponse",
5890
+ expected: "DescrStatsRequest",
5891
+ value: input2
5892
+ })) && $vo0(input2, _path + "", true) || $report(true, {
5893
+ path: _path + "",
5894
+ expected: "DescrStatsRequest",
5895
+ value: input2
5896
+ });
5897
+ })(input, "$input", true);
5898
+ }
5899
+ const success = 0 === errors.length;
5900
+ return {
5901
+ success,
5902
+ errors,
5903
+ data: success ? input : void 0
5904
+ };
5905
+ };
5906
+ var validDescrStatsResponse = (input) => {
5907
+ const errors = [];
5908
+ const __is = (input2) => {
5909
+ const $join = import_typia.createValidate.join;
5910
+ const $io0 = (input3) => Object.keys(input3).every((key) => {
5911
+ const value = input3[key];
5912
+ if (void 0 === value)
5913
+ return true;
5914
+ if (RegExp(/(.*)/).test(key))
5915
+ return "object" === typeof value && null !== value && ("string" === typeof value.key && "string" === typeof value.label && "number" === typeof value.value);
5916
+ return true;
5917
+ });
5918
+ return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
5919
+ };
5920
+ if (false === __is(input)) {
5921
+ const $report = import_typia.createValidate.report(errors);
5922
+ ((input2, _path, _exceptionable = true) => {
5923
+ const $join = import_typia.createValidate.join;
5924
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
5925
+ const value = input3[key];
5926
+ if (void 0 === value)
5927
+ return true;
5928
+ if (RegExp(/(.*)/).test(key))
5929
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
5930
+ path: _path2 + $join(key),
5931
+ expected: "__type",
5932
+ value
5933
+ })) && $vo1(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
5934
+ path: _path2 + $join(key),
5935
+ expected: "__type",
5936
+ value
5937
+ });
5938
+ return true;
5939
+ }).every((flag) => flag)].every((flag) => flag);
5940
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
5941
+ path: _path2 + ".key",
5942
+ expected: "string",
5943
+ value: input3.key
5944
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
5945
+ path: _path2 + ".label",
5946
+ expected: "string",
5947
+ value: input3.label
5948
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
5949
+ path: _path2 + ".value",
5950
+ expected: "number",
5951
+ value: input3.value
5952
+ })].every((flag) => flag);
5953
+ return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
5954
+ path: _path + "",
5955
+ expected: "DescrStats",
5771
5956
  value: input2
5772
5957
  })) && $vo0(input2, _path + "", true) || $report(true, {
5773
5958
  path: _path + "",
5774
- expected: "TermsByIdsResponse",
5959
+ expected: "DescrStats",
5775
5960
  value: input2
5776
5961
  });
5777
5962
  })(input, "$input", true);
@@ -5785,7 +5970,7 @@ var validTermsByIdsResponse = (input) => {
5785
5970
  };
5786
5971
 
5787
5972
  export {
5788
- termsByIdsPayload,
5789
- validTermsByIdsRequest,
5790
- validTermsByIdsResponse
5973
+ descrStatsPayload,
5974
+ validDescrStatsRequest,
5975
+ validDescrStatsResponse
5791
5976
  };