@sjcrh/proteinpaint-types 2.189.0 → 2.190.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 (245) hide show
  1. package/README.md +8 -20
  2. package/dist/index.js +422 -553
  3. package/dist/index.js.map +7 -0
  4. package/package.json +13 -25
  5. package/dist/aiProjectAdmin.js +0 -11
  6. package/dist/aiProjectSelectedWSImages.js +0 -11
  7. package/dist/aiProjectTrainModel.js +0 -11
  8. package/dist/alphaGenome.js +0 -11
  9. package/dist/alphaGenomeTypes.js +0 -11
  10. package/dist/brainImaging.js +0 -11
  11. package/dist/brainImagingSamples.js +0 -11
  12. package/dist/burden.js +0 -11
  13. package/dist/chunk-2744ACBX.js +0 -126
  14. package/dist/chunk-2BCLGYAG.js +0 -96
  15. package/dist/chunk-2C4X5B6N.js +0 -62
  16. package/dist/chunk-2VJRTZE2.js +0 -287
  17. package/dist/chunk-2X36CBQF.js +0 -158
  18. package/dist/chunk-46YIGVUP.js +0 -908
  19. package/dist/chunk-4EAGOSMN.js +0 -128
  20. package/dist/chunk-5H2LJKPX.js +0 -104
  21. package/dist/chunk-5L4VF3ZL.js +0 -266
  22. package/dist/chunk-5N7V62ZL.js +0 -231
  23. package/dist/chunk-62XTWOVJ.js +0 -273
  24. package/dist/chunk-6GKG55BT.js +0 -232
  25. package/dist/chunk-7MUISZHS.js +0 -61
  26. package/dist/chunk-7OA6G77M.js +0 -113
  27. package/dist/chunk-BCBSHTHS.js +0 -75
  28. package/dist/chunk-CQXBQY2H.js +0 -161
  29. package/dist/chunk-CWACV4MW.js +0 -305
  30. package/dist/chunk-D7AKQKDG.js +0 -238
  31. package/dist/chunk-DDKGTDDB.js +0 -6739
  32. package/dist/chunk-DI4Q26E7.js +0 -16
  33. package/dist/chunk-EIJT53QB.js +0 -240
  34. package/dist/chunk-EOKM345J.js +0 -222
  35. package/dist/chunk-FK7OCBPT.js +0 -341
  36. package/dist/chunk-FMC4G5BP.js +0 -62
  37. package/dist/chunk-GCJESMM2.js +0 -354
  38. package/dist/chunk-GTS2G4R4.js +0 -62
  39. package/dist/chunk-HD3J5BKM.js +0 -409
  40. package/dist/chunk-HQV2A7JV.js +0 -62
  41. package/dist/chunk-IS74WYQF.js +0 -207
  42. package/dist/chunk-JEQGBUK2.js +0 -5993
  43. package/dist/chunk-K4FSDTDW.js +0 -109
  44. package/dist/chunk-KCMPDEH7.js +0 -62
  45. package/dist/chunk-KXYFG2HO.js +0 -307
  46. package/dist/chunk-LC6KLHCJ.js +0 -8903
  47. package/dist/chunk-LQYSPLDQ.js +0 -3613
  48. package/dist/chunk-LRVF7U64.js +0 -62
  49. package/dist/chunk-MHDQO7R5.js +0 -195
  50. package/dist/chunk-MKYLCBTP.js +0 -5475
  51. package/dist/chunk-MNT3GF7M.js +0 -3628
  52. package/dist/chunk-MVB7LQS5.js +0 -3986
  53. package/dist/chunk-P25WDNMD.js +0 -171
  54. package/dist/chunk-P3WBZJFF.js +0 -158
  55. package/dist/chunk-PTE2I7DF.js +0 -91
  56. package/dist/chunk-Q3HGHP3J.js +0 -174
  57. package/dist/chunk-RPX4TVMD.js +0 -14
  58. package/dist/chunk-RXJNXOZC.js +0 -326
  59. package/dist/chunk-SDZIGJY3.js +0 -5931
  60. package/dist/chunk-SLXGWQZ4.js +0 -458
  61. package/dist/chunk-SZZXZZKO.js +0 -3991
  62. package/dist/chunk-TD4YLTHL.js +0 -158
  63. package/dist/chunk-TEXOICIS.js +0 -11810
  64. package/dist/chunk-THQOFV2K.js +0 -205
  65. package/dist/chunk-TLZ5ROOU.js +0 -347
  66. package/dist/chunk-TQQWSHFM.js +0 -5980
  67. package/dist/chunk-U3BTVE5T.js +0 -111
  68. package/dist/chunk-UBOVHONH.js +0 -62
  69. package/dist/chunk-UDTEGP3G.js +0 -365
  70. package/dist/chunk-UYJA4UM7.js +0 -97
  71. package/dist/chunk-V3JDD3ZG.js +0 -3671
  72. package/dist/chunk-VUKRI3TG.js +0 -164
  73. package/dist/chunk-W3F3CLYP.js +0 -61
  74. package/dist/chunk-X4JBWMXY.js +0 -130
  75. package/dist/chunk-X5E72ZXA.js +0 -5979
  76. package/dist/chunk-YNHC5SXO.js +0 -1780
  77. package/dist/chunk-YPEFUAJW.js +0 -62
  78. package/dist/chunk-YSTMGNYR.js +0 -113
  79. package/dist/chunk-Z3IYM5OK.js +0 -296
  80. package/dist/chunk-ZCV62ELK.js +0 -96
  81. package/dist/chunk-ZIOJDN75.js +0 -197
  82. package/dist/chunk-ZMDZYG5B.js +0 -4224
  83. package/dist/clearwsisession.js +0 -78
  84. package/dist/clearwsisessions.js +0 -13
  85. package/dist/correlationVolcano.js +0 -11
  86. package/dist/dataset.js +0 -11
  87. package/dist/deleteWSITileSelection.js +0 -11
  88. package/dist/dsdata.js +0 -11
  89. package/dist/dzimages.js +0 -11
  90. package/dist/gdc.grin2.js +0 -17
  91. package/dist/gdc.maf.js +0 -11
  92. package/dist/gdc.mafBuild.js +0 -11
  93. package/dist/genelookup.js +0 -11
  94. package/dist/genesetEnrichment.js +0 -11
  95. package/dist/genesetOverrepresentation.js +0 -11
  96. package/dist/grin2.js +0 -11
  97. package/dist/healthcheck.js +0 -11
  98. package/dist/hicdata.js +0 -11
  99. package/dist/hicgenome.js +0 -11
  100. package/dist/hicstat.js +0 -11
  101. package/dist/img.js +0 -11
  102. package/dist/isoformlst.js +0 -11
  103. package/dist/ntseq.js +0 -11
  104. package/dist/pdomain.js +0 -11
  105. package/dist/samplewsimages.js +0 -13
  106. package/dist/saveWSIAnnotation.js +0 -11
  107. package/dist/snp.js +0 -11
  108. package/dist/termdb.DE.js +0 -11
  109. package/dist/termdb.categories.js +0 -11
  110. package/dist/termdb.chat.js +0 -3631
  111. package/dist/termdb.chat2.js +0 -15
  112. package/dist/termdb.cluster.js +0 -11
  113. package/dist/termdb.cohort.summary.js +0 -11
  114. package/dist/termdb.cohorts.js +0 -11
  115. package/dist/termdb.dapVolcano.js +0 -11
  116. package/dist/termdb.descrstats.js +0 -11
  117. package/dist/termdb.diffMeth.js +0 -11
  118. package/dist/termdb.dmr.js +0 -11
  119. package/dist/termdb.filterTermValues.js +0 -11
  120. package/dist/termdb.isoformAvailability.js +0 -11
  121. package/dist/termdb.numericcategories.js +0 -11
  122. package/dist/termdb.percentile.js +0 -11
  123. package/dist/termdb.profileFormScores.js +0 -11
  124. package/dist/termdb.profileForms2Scores.js +0 -11
  125. package/dist/termdb.profileScores.js +0 -11
  126. package/dist/termdb.proteome.js +0 -11
  127. package/dist/termdb.rootterm.js +0 -11
  128. package/dist/termdb.runChart.js +0 -13
  129. package/dist/termdb.sampleImages.js +0 -11
  130. package/dist/termdb.sampleScatter.js +0 -11
  131. package/dist/termdb.singleSampleMutation.js +0 -11
  132. package/dist/termdb.singlecellDEgenes.js +0 -11
  133. package/dist/termdb.singlecellData.js +0 -11
  134. package/dist/termdb.singlecellSamples.js +0 -11
  135. package/dist/termdb.termchildren.js +0 -11
  136. package/dist/termdb.termsbyids.js +0 -11
  137. package/dist/termdb.topMutatedGenes.js +0 -11
  138. package/dist/termdb.topTermsByType.js +0 -11
  139. package/dist/termdb.topVariablyExpressedGenes.js +0 -11
  140. package/dist/termdb.violinBox.js +0 -17
  141. package/dist/tileserver.js +0 -11
  142. package/dist/wsimages.js +0 -11
  143. package/dist/wsisamples.js +0 -11
  144. package/src/Mclass.ts +0 -8
  145. package/src/dataset.ts +0 -2188
  146. package/src/docs.json +0 -16417
  147. package/src/fileOrUrl.ts +0 -15
  148. package/src/filter.ts +0 -110
  149. package/src/genome.ts +0 -129
  150. package/src/index.ts +0 -94
  151. package/src/routes/aiProjectAdmin.ts +0 -37
  152. package/src/routes/aiProjectSelectedWSImages.ts +0 -47
  153. package/src/routes/aiProjectTrainModel.ts +0 -20
  154. package/src/routes/alphaGenome.ts +0 -27
  155. package/src/routes/alphaGenomeTypes.ts +0 -21
  156. package/src/routes/brainImaging.ts +0 -47
  157. package/src/routes/brainImagingSamples.ts +0 -25
  158. package/src/routes/burden.ts +0 -113
  159. package/src/routes/clearwsisessions.ts +0 -19
  160. package/src/routes/correlationVolcano.ts +0 -51
  161. package/src/routes/dataset.ts +0 -14
  162. package/src/routes/deleteWSITileSelection.ts +0 -25
  163. package/src/routes/dsdata.ts +0 -14
  164. package/src/routes/dzimages.ts +0 -25
  165. package/src/routes/errorResponse.ts +0 -6
  166. package/src/routes/filter.gdc.ts +0 -15
  167. package/src/routes/gdc.grin2.ts +0 -246
  168. package/src/routes/gdc.maf.ts +0 -52
  169. package/src/routes/gdc.mafBuild.ts +0 -20
  170. package/src/routes/genelookup.ts +0 -22
  171. package/src/routes/genesetEnrichment.ts +0 -116
  172. package/src/routes/genesetOverrepresentation.ts +0 -48
  173. package/src/routes/grin2.ts +0 -173
  174. package/src/routes/healthcheck.ts +0 -80
  175. package/src/routes/hicdata.ts +0 -48
  176. package/src/routes/hicgenome.ts +0 -50
  177. package/src/routes/hicstat.ts +0 -57
  178. package/src/routes/img.ts +0 -23
  179. package/src/routes/isoformlst.ts +0 -14
  180. package/src/routes/ntseq.ts +0 -14
  181. package/src/routes/pdomain.ts +0 -14
  182. package/src/routes/routeApi.ts +0 -47
  183. package/src/routes/samplewsimages.ts +0 -44
  184. package/src/routes/saveWSIAnnotation.ts +0 -25
  185. package/src/routes/snp.ts +0 -13
  186. package/src/routes/termdb.DE.ts +0 -226
  187. package/src/routes/termdb.categories.ts +0 -74
  188. package/src/routes/termdb.chat2.ts +0 -190
  189. package/src/routes/termdb.cluster.ts +0 -134
  190. package/src/routes/termdb.cohort.summary.ts +0 -14
  191. package/src/routes/termdb.cohorts.ts +0 -14
  192. package/src/routes/termdb.dapVolcano.ts +0 -35
  193. package/src/routes/termdb.descrstats.ts +0 -75
  194. package/src/routes/termdb.diffMeth.ts +0 -63
  195. package/src/routes/termdb.dmr.ts +0 -121
  196. package/src/routes/termdb.filterTermValues.ts +0 -23
  197. package/src/routes/termdb.isoformAvailability.ts +0 -22
  198. package/src/routes/termdb.numericcategories.ts +0 -32
  199. package/src/routes/termdb.percentile.ts +0 -67
  200. package/src/routes/termdb.profileFormScores.ts +0 -26
  201. package/src/routes/termdb.profileForms2Scores.ts +0 -25
  202. package/src/routes/termdb.profileScores.ts +0 -27
  203. package/src/routes/termdb.proteome.ts +0 -13
  204. package/src/routes/termdb.rootterm.ts +0 -49
  205. package/src/routes/termdb.runChart.ts +0 -66
  206. package/src/routes/termdb.sampleImages.ts +0 -26
  207. package/src/routes/termdb.sampleScatter.ts +0 -60
  208. package/src/routes/termdb.singleSampleMutation.ts +0 -51
  209. package/src/routes/termdb.singlecellDEgenes.ts +0 -50
  210. package/src/routes/termdb.singlecellData.ts +0 -75
  211. package/src/routes/termdb.singlecellSamples.ts +0 -50
  212. package/src/routes/termdb.termchildren.ts +0 -49
  213. package/src/routes/termdb.termsbyids.ts +0 -26
  214. package/src/routes/termdb.topMutatedGenes.ts +0 -51
  215. package/src/routes/termdb.topTermsByType.ts +0 -32
  216. package/src/routes/termdb.topVariablyExpressedGenes.ts +0 -54
  217. package/src/routes/termdb.violinBox.ts +0 -230
  218. package/src/routes/tileserver.ts +0 -14
  219. package/src/routes/wsimages.ts +0 -34
  220. package/src/routes/wsisamples.ts +0 -25
  221. package/src/termdb.matrix.ts +0 -57
  222. package/src/terms/categorical.ts +0 -18
  223. package/src/terms/condition.ts +0 -73
  224. package/src/terms/date.ts +0 -20
  225. package/src/terms/dnaMethylation.ts +0 -28
  226. package/src/terms/geneExpression.ts +0 -38
  227. package/src/terms/geneVariant.ts +0 -132
  228. package/src/terms/isoformExpression.ts +0 -36
  229. package/src/terms/metaboliteIntensity.ts +0 -30
  230. package/src/terms/numeric.ts +0 -278
  231. package/src/terms/proteomeAbundance.ts +0 -38
  232. package/src/terms/q.ts +0 -105
  233. package/src/terms/qualitative.ts +0 -73
  234. package/src/terms/samplelst.ts +0 -34
  235. package/src/terms/singleCellCellType.ts +0 -18
  236. package/src/terms/singleCellGeneExpression.ts +0 -32
  237. package/src/terms/snp.ts +0 -24
  238. package/src/terms/snps.ts +0 -111
  239. package/src/terms/ssGSEA.ts +0 -26
  240. package/src/terms/term.ts +0 -60
  241. package/src/terms/termCollection.ts +0 -139
  242. package/src/terms/tw.ts +0 -64
  243. package/src/termsetting.ts +0 -201
  244. package/src/test/numeric.type.spec.ts +0 -275
  245. package/src/vocab.ts +0 -37
@@ -1,908 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/gdc.grin2.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/gdc.grin2.ts
10
- var gdcGRIN2listPayload = {
11
- request: {
12
- typeId: "GdcGRIN2listRequest"
13
- },
14
- response: {
15
- typeId: "GdcGRIN2listResponse"
16
- }
17
- };
18
- var runGRIN2Payload = {
19
- request: {
20
- typeId: "RunGRIN2Request"
21
- },
22
- response: {
23
- typeId: "RunGRIN2Response"
24
- }
25
- };
26
-
27
- // dist/gdc.grin2.ts
28
- var validGdcGRIN2listRequest = (input) => {
29
- const errors = [];
30
- const __is = (input2) => {
31
- const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io3(input3.cnvOptions)) && true;
32
- const $io1 = (input3) => "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io2(input3.experimentalStrategy);
33
- const $io2 = (input3) => "WXS" === input3.wxs;
34
- const $io3 = (input3) => void 0 === input3.dataType || "string" === typeof input3.dataType;
35
- return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
36
- };
37
- if (false === __is(input)) {
38
- const $report = import_typia.createValidate.report(errors);
39
- ((input2, _path, _exceptionable = true) => {
40
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.mafOptions || ("object" === typeof input3.mafOptions && null !== input3.mafOptions || $report(_exceptionable2, {
41
- path: _path2 + ".mafOptions",
42
- expected: "(__type | undefined)",
43
- value: input3.mafOptions
44
- })) && $vo1(input3.mafOptions, _path2 + ".mafOptions", _exceptionable2) || $report(_exceptionable2, {
45
- path: _path2 + ".mafOptions",
46
- expected: "(__type | undefined)",
47
- value: input3.mafOptions
48
- }), void 0 === input3.cnvOptions || ("object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) || $report(_exceptionable2, {
49
- path: _path2 + ".cnvOptions",
50
- expected: "(__type.o1 | undefined)",
51
- value: input3.cnvOptions
52
- })) && $vo3(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
53
- path: _path2 + ".cnvOptions",
54
- expected: "(__type.o1 | undefined)",
55
- value: input3.cnvOptions
56
- }), true].every((flag) => flag);
57
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
58
- path: _path2 + ".experimentalStrategy",
59
- expected: "ExperimentalStrategy",
60
- value: input3.experimentalStrategy
61
- })) && $vo2(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
62
- path: _path2 + ".experimentalStrategy",
63
- expected: "ExperimentalStrategy",
64
- value: input3.experimentalStrategy
65
- })].every((flag) => flag);
66
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.wxs || $report(_exceptionable2, {
67
- path: _path2 + ".wxs",
68
- expected: '"WXS"',
69
- value: input3.wxs
70
- })].every((flag) => flag);
71
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dataType || "string" === typeof input3.dataType || $report(_exceptionable2, {
72
- path: _path2 + ".dataType",
73
- expected: "(string | undefined)",
74
- value: input3.dataType
75
- })].every((flag) => flag);
76
- return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
77
- path: _path + "",
78
- expected: "GdcGRIN2listRequest",
79
- value: input2
80
- })) && $vo0(input2, _path + "", true) || $report(true, {
81
- path: _path + "",
82
- expected: "GdcGRIN2listRequest",
83
- value: input2
84
- });
85
- })(input, "$input", true);
86
- }
87
- const success = 0 === errors.length;
88
- return {
89
- success,
90
- errors,
91
- data: success ? input : void 0
92
- };
93
- };
94
- var validGdcGRIN2listResponse = (input) => {
95
- const errors = [];
96
- const __is = (input2) => {
97
- const $io0 = (input3) => (void 0 === input3.mafFiles || "object" === typeof input3.mafFiles && null !== input3.mafFiles && $io1(input3.mafFiles)) && (void 0 === input3.cnvFiles || "object" === typeof input3.cnvFiles && null !== input3.cnvFiles && $io9(input3.cnvFiles));
98
- const $io1 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io3(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io4(input3.appliedFilters)) && (void 0 === input3.deduplicationStats || "object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats && $io6(input3.deduplicationStats));
99
- const $io2 = (input3) => "string" === typeof input3.id && "string" === typeof input3.case_submitter_id && "string" === typeof input3.case_uuid && "number" === typeof input3.file_size && (Array.isArray(input3.sample_types) && input3.sample_types.every((elem) => "string" === typeof elem)) && "string" === typeof input3.project_id && (void 0 === input3.file_format || "MAF" === input3.file_format);
100
- const $io3 = (input3) => "number" === typeof input3.maf;
101
- const $io4 = (input3) => void 0 === input3.experimentalStrategy || "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io5(input3.experimentalStrategy);
102
- const $io5 = (input3) => "WXS" === input3.wxs;
103
- const $io6 = (input3) => "number" === typeof input3.originalFileCount && "number" === typeof input3.deduplicatedFileCount && "number" === typeof input3.duplicatesRemoved && (void 0 === input3.caseDetails || Array.isArray(input3.caseDetails) && input3.caseDetails.every((elem) => "object" === typeof elem && null !== elem && $io7(elem))) && (Array.isArray(input3.filteredFiles) && input3.filteredFiles.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
104
- const $io7 = (input3) => "string" === typeof input3.caseName && "number" === typeof input3.fileCount && "number" === typeof input3.keptFileSize;
105
- const $io8 = (input3) => "string" === typeof input3.fileId && "number" === typeof input3.fileSize && "string" === typeof input3.reason;
106
- const $io9 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.maxTotalSizeCompressed;
107
- return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
108
- };
109
- if (false === __is(input)) {
110
- const $report = import_typia.createValidate.report(errors);
111
- ((input2, _path, _exceptionable = true) => {
112
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.mafFiles || ("object" === typeof input3.mafFiles && null !== input3.mafFiles || $report(_exceptionable2, {
113
- path: _path2 + ".mafFiles",
114
- expected: "(__type | undefined)",
115
- value: input3.mafFiles
116
- })) && $vo1(input3.mafFiles, _path2 + ".mafFiles", _exceptionable2) || $report(_exceptionable2, {
117
- path: _path2 + ".mafFiles",
118
- expected: "(__type | undefined)",
119
- value: input3.mafFiles
120
- }), void 0 === input3.cnvFiles || ("object" === typeof input3.cnvFiles && null !== input3.cnvFiles || $report(_exceptionable2, {
121
- path: _path2 + ".cnvFiles",
122
- expected: "(__type.o6 | undefined)",
123
- value: input3.cnvFiles
124
- })) && $vo9(input3.cnvFiles, _path2 + ".cnvFiles", _exceptionable2) || $report(_exceptionable2, {
125
- path: _path2 + ".cnvFiles",
126
- expected: "(__type.o6 | undefined)",
127
- value: input3.cnvFiles
128
- })].every((flag) => flag);
129
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
130
- path: _path2 + ".files",
131
- expected: "Array<GdcGRIN2File>",
132
- value: input3.files
133
- })) && input3.files.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
134
- path: _path2 + ".files[" + _index1 + "]",
135
- expected: "GdcGRIN2File",
136
- value: elem
137
- })) && $vo2(elem, _path2 + ".files[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
138
- path: _path2 + ".files[" + _index1 + "]",
139
- expected: "GdcGRIN2File",
140
- value: elem
141
- })).every((flag) => flag) || $report(_exceptionable2, {
142
- path: _path2 + ".files",
143
- expected: "Array<GdcGRIN2File>",
144
- value: input3.files
145
- }), "number" === typeof input3.filesTotal || $report(_exceptionable2, {
146
- path: _path2 + ".filesTotal",
147
- expected: "number",
148
- value: input3.filesTotal
149
- }), "number" === typeof input3.maxTotalSizeCompressed || $report(_exceptionable2, {
150
- path: _path2 + ".maxTotalSizeCompressed",
151
- expected: "number",
152
- value: input3.maxTotalSizeCompressed
153
- }), void 0 === input3.fileCounts || ("object" === typeof input3.fileCounts && null !== input3.fileCounts || $report(_exceptionable2, {
154
- path: _path2 + ".fileCounts",
155
- expected: "(__type.o1 | undefined)",
156
- value: input3.fileCounts
157
- })) && $vo3(input3.fileCounts, _path2 + ".fileCounts", _exceptionable2) || $report(_exceptionable2, {
158
- path: _path2 + ".fileCounts",
159
- expected: "(__type.o1 | undefined)",
160
- value: input3.fileCounts
161
- }), void 0 === input3.appliedFilters || ("object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) || $report(_exceptionable2, {
162
- path: _path2 + ".appliedFilters",
163
- expected: "(__type.o2 | undefined)",
164
- value: input3.appliedFilters
165
- })) && $vo4(input3.appliedFilters, _path2 + ".appliedFilters", _exceptionable2) || $report(_exceptionable2, {
166
- path: _path2 + ".appliedFilters",
167
- expected: "(__type.o2 | undefined)",
168
- value: input3.appliedFilters
169
- }), void 0 === input3.deduplicationStats || ("object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats || $report(_exceptionable2, {
170
- path: _path2 + ".deduplicationStats",
171
- expected: "(__type.o3 | undefined)",
172
- value: input3.deduplicationStats
173
- })) && $vo6(input3.deduplicationStats, _path2 + ".deduplicationStats", _exceptionable2) || $report(_exceptionable2, {
174
- path: _path2 + ".deduplicationStats",
175
- expected: "(__type.o3 | undefined)",
176
- value: input3.deduplicationStats
177
- })].every((flag) => flag);
178
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
179
- path: _path2 + ".id",
180
- expected: "string",
181
- value: input3.id
182
- }), "string" === typeof input3.case_submitter_id || $report(_exceptionable2, {
183
- path: _path2 + ".case_submitter_id",
184
- expected: "string",
185
- value: input3.case_submitter_id
186
- }), "string" === typeof input3.case_uuid || $report(_exceptionable2, {
187
- path: _path2 + ".case_uuid",
188
- expected: "string",
189
- value: input3.case_uuid
190
- }), "number" === typeof input3.file_size || $report(_exceptionable2, {
191
- path: _path2 + ".file_size",
192
- expected: "number",
193
- value: input3.file_size
194
- }), (Array.isArray(input3.sample_types) || $report(_exceptionable2, {
195
- path: _path2 + ".sample_types",
196
- expected: "Array<string>",
197
- value: input3.sample_types
198
- })) && input3.sample_types.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
199
- path: _path2 + ".sample_types[" + _index2 + "]",
200
- expected: "string",
201
- value: elem
202
- })).every((flag) => flag) || $report(_exceptionable2, {
203
- path: _path2 + ".sample_types",
204
- expected: "Array<string>",
205
- value: input3.sample_types
206
- }), "string" === typeof input3.project_id || $report(_exceptionable2, {
207
- path: _path2 + ".project_id",
208
- expected: "string",
209
- value: input3.project_id
210
- }), void 0 === input3.file_format || "MAF" === input3.file_format || $report(_exceptionable2, {
211
- path: _path2 + ".file_format",
212
- expected: '("MAF" | undefined)',
213
- value: input3.file_format
214
- })].every((flag) => flag);
215
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.maf || $report(_exceptionable2, {
216
- path: _path2 + ".maf",
217
- expected: "number",
218
- value: input3.maf
219
- })].every((flag) => flag);
220
- const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.experimentalStrategy || ("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
221
- path: _path2 + ".experimentalStrategy",
222
- expected: "(ExperimentalStrategy | undefined)",
223
- value: input3.experimentalStrategy
224
- })) && $vo5(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
225
- path: _path2 + ".experimentalStrategy",
226
- expected: "(ExperimentalStrategy | undefined)",
227
- value: input3.experimentalStrategy
228
- })].every((flag) => flag);
229
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.wxs || $report(_exceptionable2, {
230
- path: _path2 + ".wxs",
231
- expected: '"WXS"',
232
- value: input3.wxs
233
- })].every((flag) => flag);
234
- const $vo6 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.originalFileCount || $report(_exceptionable2, {
235
- path: _path2 + ".originalFileCount",
236
- expected: "number",
237
- value: input3.originalFileCount
238
- }), "number" === typeof input3.deduplicatedFileCount || $report(_exceptionable2, {
239
- path: _path2 + ".deduplicatedFileCount",
240
- expected: "number",
241
- value: input3.deduplicatedFileCount
242
- }), "number" === typeof input3.duplicatesRemoved || $report(_exceptionable2, {
243
- path: _path2 + ".duplicatesRemoved",
244
- expected: "number",
245
- value: input3.duplicatesRemoved
246
- }), void 0 === input3.caseDetails || (Array.isArray(input3.caseDetails) || $report(_exceptionable2, {
247
- path: _path2 + ".caseDetails",
248
- expected: "(Array<__type> | undefined)",
249
- value: input3.caseDetails
250
- })) && input3.caseDetails.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
251
- path: _path2 + ".caseDetails[" + _index3 + "]",
252
- expected: "__type.o4",
253
- value: elem
254
- })) && $vo7(elem, _path2 + ".caseDetails[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
255
- path: _path2 + ".caseDetails[" + _index3 + "]",
256
- expected: "__type.o4",
257
- value: elem
258
- })).every((flag) => flag) || $report(_exceptionable2, {
259
- path: _path2 + ".caseDetails",
260
- expected: "(Array<__type> | undefined)",
261
- value: input3.caseDetails
262
- }), (Array.isArray(input3.filteredFiles) || $report(_exceptionable2, {
263
- path: _path2 + ".filteredFiles",
264
- expected: "Array<__type>.o1",
265
- value: input3.filteredFiles
266
- })) && input3.filteredFiles.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
267
- path: _path2 + ".filteredFiles[" + _index4 + "]",
268
- expected: "__type.o5",
269
- value: elem
270
- })) && $vo8(elem, _path2 + ".filteredFiles[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
271
- path: _path2 + ".filteredFiles[" + _index4 + "]",
272
- expected: "__type.o5",
273
- value: elem
274
- })).every((flag) => flag) || $report(_exceptionable2, {
275
- path: _path2 + ".filteredFiles",
276
- expected: "Array<__type>.o1",
277
- value: input3.filteredFiles
278
- })].every((flag) => flag);
279
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.caseName || $report(_exceptionable2, {
280
- path: _path2 + ".caseName",
281
- expected: "string",
282
- value: input3.caseName
283
- }), "number" === typeof input3.fileCount || $report(_exceptionable2, {
284
- path: _path2 + ".fileCount",
285
- expected: "number",
286
- value: input3.fileCount
287
- }), "number" === typeof input3.keptFileSize || $report(_exceptionable2, {
288
- path: _path2 + ".keptFileSize",
289
- expected: "number",
290
- value: input3.keptFileSize
291
- })].every((flag) => flag);
292
- const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fileId || $report(_exceptionable2, {
293
- path: _path2 + ".fileId",
294
- expected: "string",
295
- value: input3.fileId
296
- }), "number" === typeof input3.fileSize || $report(_exceptionable2, {
297
- path: _path2 + ".fileSize",
298
- expected: "number",
299
- value: input3.fileSize
300
- }), "string" === typeof input3.reason || $report(_exceptionable2, {
301
- path: _path2 + ".reason",
302
- expected: "string",
303
- value: input3.reason
304
- })].every((flag) => flag);
305
- const $vo9 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
306
- path: _path2 + ".files",
307
- expected: "Array<GdcGRIN2File>",
308
- value: input3.files
309
- })) && input3.files.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
310
- path: _path2 + ".files[" + _index5 + "]",
311
- expected: "GdcGRIN2File",
312
- value: elem
313
- })) && $vo2(elem, _path2 + ".files[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
314
- path: _path2 + ".files[" + _index5 + "]",
315
- expected: "GdcGRIN2File",
316
- value: elem
317
- })).every((flag) => flag) || $report(_exceptionable2, {
318
- path: _path2 + ".files",
319
- expected: "Array<GdcGRIN2File>",
320
- value: input3.files
321
- }), "number" === typeof input3.maxTotalSizeCompressed || $report(_exceptionable2, {
322
- path: _path2 + ".maxTotalSizeCompressed",
323
- expected: "number",
324
- value: input3.maxTotalSizeCompressed
325
- })].every((flag) => flag);
326
- return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
327
- path: _path + "",
328
- expected: "GdcGRIN2listResponse",
329
- value: input2
330
- })) && $vo0(input2, _path + "", true) || $report(true, {
331
- path: _path + "",
332
- expected: "GdcGRIN2listResponse",
333
- value: input2
334
- });
335
- })(input, "$input", true);
336
- }
337
- const success = 0 === errors.length;
338
- return {
339
- success,
340
- errors,
341
- data: success ? input : void 0
342
- };
343
- };
344
- var validRunGRIN2Request = (input) => {
345
- const errors = [];
346
- const __is = (input2) => {
347
- const $join = import_typia.createValidate.join;
348
- const $io0 = (input3) => "object" === typeof input3.caseFiles && null !== input3.caseFiles && false === Array.isArray(input3.caseFiles) && $io1(input3.caseFiles) && (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && false === Array.isArray(input3.mafOptions) && $io3(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io4(input3.cnvOptions)) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.plot_width || "number" === typeof input3.plot_width) && (void 0 === input3.plot_height || "number" === typeof input3.plot_height) && (void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius);
349
- const $io1 = (input3) => Object.keys(input3).every((key) => {
350
- const value = input3[key];
351
- if (void 0 === value)
352
- return true;
353
- if (RegExp(/(.*)/).test(key))
354
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
355
- return true;
356
- });
357
- const $io2 = (input3) => (void 0 === input3.maf || "string" === typeof input3.maf) && (void 0 === input3.cnv || "string" === typeof input3.cnv);
358
- const $io3 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount) && (void 0 === input3.consequences || Array.isArray(input3.consequences) && input3.consequences.every((elem) => "string" === typeof elem)) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
359
- const $io4 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.segLength || "number" === typeof input3.segLength) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
360
- return "object" === typeof input2 && null !== input2 && $io0(input2);
361
- };
362
- if (false === __is(input)) {
363
- const $report = import_typia.createValidate.report(errors);
364
- ((input2, _path, _exceptionable = true) => {
365
- const $join = import_typia.createValidate.join;
366
- const $vo0 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.caseFiles && null !== input3.caseFiles && false === Array.isArray(input3.caseFiles) || $report(_exceptionable2, {
367
- path: _path2 + ".caseFiles",
368
- expected: "__type",
369
- value: input3.caseFiles
370
- })) && $vo1(input3.caseFiles, _path2 + ".caseFiles", _exceptionable2) || $report(_exceptionable2, {
371
- path: _path2 + ".caseFiles",
372
- expected: "__type",
373
- value: input3.caseFiles
374
- }), void 0 === input3.mafOptions || ("object" === typeof input3.mafOptions && null !== input3.mafOptions && false === Array.isArray(input3.mafOptions) || $report(_exceptionable2, {
375
- path: _path2 + ".mafOptions",
376
- expected: "(__type.o2 | undefined)",
377
- value: input3.mafOptions
378
- })) && $vo3(input3.mafOptions, _path2 + ".mafOptions", _exceptionable2) || $report(_exceptionable2, {
379
- path: _path2 + ".mafOptions",
380
- expected: "(__type.o2 | undefined)",
381
- value: input3.mafOptions
382
- }), void 0 === input3.cnvOptions || ("object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) || $report(_exceptionable2, {
383
- path: _path2 + ".cnvOptions",
384
- expected: "(__type.o3 | undefined)",
385
- value: input3.cnvOptions
386
- })) && $vo4(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
387
- path: _path2 + ".cnvOptions",
388
- expected: "(__type.o3 | undefined)",
389
- value: input3.cnvOptions
390
- }), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
391
- path: _path2 + ".devicePixelRatio",
392
- expected: "(number | undefined)",
393
- value: input3.devicePixelRatio
394
- }), void 0 === input3.plot_width || "number" === typeof input3.plot_width || $report(_exceptionable2, {
395
- path: _path2 + ".plot_width",
396
- expected: "(number | undefined)",
397
- value: input3.plot_width
398
- }), void 0 === input3.plot_height || "number" === typeof input3.plot_height || $report(_exceptionable2, {
399
- path: _path2 + ".plot_height",
400
- expected: "(number | undefined)",
401
- value: input3.plot_height
402
- }), void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius || $report(_exceptionable2, {
403
- path: _path2 + ".pngDotRadius",
404
- expected: "(number | undefined)",
405
- value: input3.pngDotRadius
406
- })].every((flag) => flag);
407
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
408
- const value = input3[key];
409
- if (void 0 === value)
410
- return true;
411
- if (RegExp(/(.*)/).test(key))
412
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
413
- path: _path2 + $join(key),
414
- expected: "__type.o1",
415
- value
416
- })) && $vo2(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
417
- path: _path2 + $join(key),
418
- expected: "__type.o1",
419
- value
420
- });
421
- return true;
422
- }).every((flag) => flag)].every((flag) => flag);
423
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.maf || "string" === typeof input3.maf || $report(_exceptionable2, {
424
- path: _path2 + ".maf",
425
- expected: "(string | undefined)",
426
- value: input3.maf
427
- }), void 0 === input3.cnv || "string" === typeof input3.cnv || $report(_exceptionable2, {
428
- path: _path2 + ".cnv",
429
- expected: "(string | undefined)",
430
- value: input3.cnv
431
- })].every((flag) => flag);
432
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth || $report(_exceptionable2, {
433
- path: _path2 + ".minTotalDepth",
434
- expected: "(number | undefined)",
435
- value: input3.minTotalDepth
436
- }), void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount || $report(_exceptionable2, {
437
- path: _path2 + ".minAltAlleleCount",
438
- expected: "(number | undefined)",
439
- value: input3.minAltAlleleCount
440
- }), void 0 === input3.consequences || (Array.isArray(input3.consequences) || $report(_exceptionable2, {
441
- path: _path2 + ".consequences",
442
- expected: "(Array<string> | undefined)",
443
- value: input3.consequences
444
- })) && input3.consequences.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
445
- path: _path2 + ".consequences[" + _index1 + "]",
446
- expected: "string",
447
- value: elem
448
- })).every((flag) => flag) || $report(_exceptionable2, {
449
- path: _path2 + ".consequences",
450
- expected: "(Array<string> | undefined)",
451
- value: input3.consequences
452
- }), void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator || $report(_exceptionable2, {
453
- path: _path2 + ".hyperMutator",
454
- expected: "(number | undefined)",
455
- value: input3.hyperMutator
456
- })].every((flag) => flag);
457
- const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold || $report(_exceptionable2, {
458
- path: _path2 + ".lossThreshold",
459
- expected: "(number | undefined)",
460
- value: input3.lossThreshold
461
- }), void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold || $report(_exceptionable2, {
462
- path: _path2 + ".gainThreshold",
463
- expected: "(number | undefined)",
464
- value: input3.gainThreshold
465
- }), void 0 === input3.segLength || "number" === typeof input3.segLength || $report(_exceptionable2, {
466
- path: _path2 + ".segLength",
467
- expected: "(number | undefined)",
468
- value: input3.segLength
469
- }), void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator || $report(_exceptionable2, {
470
- path: _path2 + ".hyperMutator",
471
- expected: "(number | undefined)",
472
- value: input3.hyperMutator
473
- })].every((flag) => flag);
474
- return ("object" === typeof input2 && null !== input2 || $report(true, {
475
- path: _path + "",
476
- expected: "RunGRIN2Request",
477
- value: input2
478
- })) && $vo0(input2, _path + "", true) || $report(true, {
479
- path: _path + "",
480
- expected: "RunGRIN2Request",
481
- value: input2
482
- });
483
- })(input, "$input", true);
484
- }
485
- const success = 0 === errors.length;
486
- return {
487
- success,
488
- errors,
489
- data: success ? input : void 0
490
- };
491
- };
492
- var validRunGRIN2Response = (input) => {
493
- const errors = [];
494
- const __is = (input2) => {
495
- const $join = import_typia.createValidate.join;
496
- const $io0 = (input3) => ("error" === input3.status || "success" === input3.status) && (void 0 === input3.error || "string" === typeof input3.error) && (void 0 === input3.pngImg || "string" === typeof input3.pngImg) && true && true && (void 0 === input3.rustResult || "object" === typeof input3.rustResult && null !== input3.rustResult && $io1(input3.rustResult)) && (void 0 === input3.timing || "object" === typeof input3.timing && null !== input3.timing && $io11(input3.timing));
497
- const $io1 = (input3) => "string" === typeof input3.successful_data && (Array.isArray(input3.failed_files) && input3.failed_files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && ("object" === typeof input3.summary && null !== input3.summary && $io3(input3.summary));
498
- const $io2 = (input3) => "string" === typeof input3.case_id && "string" === typeof input3.data_type && "string" === typeof input3.error_type && "string" === typeof input3.error_details && "number" === typeof input3.attempts_made;
499
- const $io3 = (input3) => "summary" === input3.type && "number" === typeof input3.total_files && "number" === typeof input3.successful_files && "number" === typeof input3.failed_files && (Array.isArray(input3.errors) && input3.errors.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && "number" === typeof input3.filtered_records && "number" === typeof input3.filtered_maf_records && "number" === typeof input3.filtered_cnv_records && "number" === typeof input3.included_maf_records && "number" === typeof input3.included_cnv_records && ("object" === typeof input3.filtered_records_by_case && null !== input3.filtered_records_by_case && false === Array.isArray(input3.filtered_records_by_case) && $io4(input3.filtered_records_by_case)) && ("object" === typeof input3.hyper_mutator_records && null !== input3.hyper_mutator_records && false === Array.isArray(input3.hyper_mutator_records) && $io10(input3.hyper_mutator_records)) && ("object" === typeof input3.excluded_by_max_record && null !== input3.excluded_by_max_record && false === Array.isArray(input3.excluded_by_max_record) && $io10(input3.excluded_by_max_record));
500
- const $io4 = (input3) => Object.keys(input3).every((key) => {
501
- const value = input3[key];
502
- if (void 0 === value)
503
- return true;
504
- if (RegExp(/(.*)/).test(key))
505
- return "object" === typeof value && null !== value && $io5(value);
506
- return true;
507
- });
508
- const $io5 = (input3) => "object" === typeof input3.maf && null !== input3.maf && $io6(input3.maf) && ("object" === typeof input3.cnv && null !== input3.cnv && $io9(input3.cnv));
509
- const $io6 = (input3) => "object" === typeof input3.matched_consequences && null !== input3.matched_consequences && false === Array.isArray(input3.matched_consequences) && $io7(input3.matched_consequences) && ("object" === typeof input3.rejected_consequences && null !== input3.rejected_consequences && false === Array.isArray(input3.rejected_consequences) && $io7(input3.rejected_consequences)) && "number" === typeof input3.t_alt_count && "number" === typeof input3.t_depth && "number" === typeof input3.invalid_rows && "number" === typeof input3.excluded_by_min_depth && "number" === typeof input3.excluded_by_min_alt_count && "number" === typeof input3.excluded_by_consequence_type && "number" === typeof input3.total_processed && "number" === typeof input3.total_included && ("object" === typeof input3.skipped_chromosomes && null !== input3.skipped_chromosomes && false === Array.isArray(input3.skipped_chromosomes) && $io8(input3.skipped_chromosomes));
510
- const $io7 = (input3) => Object.keys(input3).every((key) => {
511
- const value = input3[key];
512
- if (void 0 === value)
513
- return true;
514
- if (RegExp(/(.*)/).test(key))
515
- return true;
516
- return true;
517
- });
518
- const $io8 = (input3) => Object.keys(input3).every((key) => {
519
- const value = input3[key];
520
- if (void 0 === value)
521
- return true;
522
- if (RegExp(/(.*)/).test(key))
523
- return "number" === typeof value;
524
- return true;
525
- });
526
- const $io9 = (input3) => "number" === typeof input3.segment_mean && "number" === typeof input3.seg_length && "number" === typeof input3.invalid_rows && "number" === typeof input3.excluded_by_loss_threshold && "number" === typeof input3.excluded_by_gain_threshold && "number" === typeof input3.excluded_by_segment_length && "number" === typeof input3.total_processed && "number" === typeof input3.total_included && ("object" === typeof input3.skipped_chromosomes && null !== input3.skipped_chromosomes && false === Array.isArray(input3.skipped_chromosomes) && $io8(input3.skipped_chromosomes));
527
- const $io10 = (input3) => Object.keys(input3).every((key) => {
528
- const value = input3[key];
529
- if (void 0 === value)
530
- return true;
531
- if (RegExp(/(.*)/).test(key))
532
- return Array.isArray(value) && value.every((elem) => "string" === typeof elem);
533
- return true;
534
- });
535
- const $io11 = (input3) => "number" === typeof input3.rustProcessingTime && "number" === typeof input3.grin2Time && "number" === typeof input3.totalTime;
536
- return "object" === typeof input2 && null !== input2 && $io0(input2);
537
- };
538
- if (false === __is(input)) {
539
- const $report = import_typia.createValidate.report(errors);
540
- ((input2, _path, _exceptionable = true) => {
541
- const $join = import_typia.createValidate.join;
542
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["error" === input3.status || "success" === input3.status || $report(_exceptionable2, {
543
- path: _path2 + ".status",
544
- expected: '("error" | "success")',
545
- value: input3.status
546
- }), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
547
- path: _path2 + ".error",
548
- expected: "(string | undefined)",
549
- value: input3.error
550
- }), void 0 === input3.pngImg || "string" === typeof input3.pngImg || $report(_exceptionable2, {
551
- path: _path2 + ".pngImg",
552
- expected: "(string | undefined)",
553
- value: input3.pngImg
554
- }), true, true, void 0 === input3.rustResult || ("object" === typeof input3.rustResult && null !== input3.rustResult || $report(_exceptionable2, {
555
- path: _path2 + ".rustResult",
556
- expected: "(RustGRIN2Result | undefined)",
557
- value: input3.rustResult
558
- })) && $vo1(input3.rustResult, _path2 + ".rustResult", _exceptionable2) || $report(_exceptionable2, {
559
- path: _path2 + ".rustResult",
560
- expected: "(RustGRIN2Result | undefined)",
561
- value: input3.rustResult
562
- }), void 0 === input3.timing || ("object" === typeof input3.timing && null !== input3.timing || $report(_exceptionable2, {
563
- path: _path2 + ".timing",
564
- expected: "(__type.o3 | undefined)",
565
- value: input3.timing
566
- })) && $vo11(input3.timing, _path2 + ".timing", _exceptionable2) || $report(_exceptionable2, {
567
- path: _path2 + ".timing",
568
- expected: "(__type.o3 | undefined)",
569
- value: input3.timing
570
- })].every((flag) => flag);
571
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.successful_data || $report(_exceptionable2, {
572
- path: _path2 + ".successful_data",
573
- expected: "string",
574
- value: input3.successful_data
575
- }), (Array.isArray(input3.failed_files) || $report(_exceptionable2, {
576
- path: _path2 + ".failed_files",
577
- expected: "Array<RustErrorEntry>",
578
- value: input3.failed_files
579
- })) && input3.failed_files.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
580
- path: _path2 + ".failed_files[" + _index1 + "]",
581
- expected: "RustErrorEntry",
582
- value: elem
583
- })) && $vo2(elem, _path2 + ".failed_files[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
584
- path: _path2 + ".failed_files[" + _index1 + "]",
585
- expected: "RustErrorEntry",
586
- value: elem
587
- })).every((flag) => flag) || $report(_exceptionable2, {
588
- path: _path2 + ".failed_files",
589
- expected: "Array<RustErrorEntry>",
590
- value: input3.failed_files
591
- }), ("object" === typeof input3.summary && null !== input3.summary || $report(_exceptionable2, {
592
- path: _path2 + ".summary",
593
- expected: "RustSummary",
594
- value: input3.summary
595
- })) && $vo3(input3.summary, _path2 + ".summary", _exceptionable2) || $report(_exceptionable2, {
596
- path: _path2 + ".summary",
597
- expected: "RustSummary",
598
- value: input3.summary
599
- })].every((flag) => flag);
600
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.case_id || $report(_exceptionable2, {
601
- path: _path2 + ".case_id",
602
- expected: "string",
603
- value: input3.case_id
604
- }), "string" === typeof input3.data_type || $report(_exceptionable2, {
605
- path: _path2 + ".data_type",
606
- expected: "string",
607
- value: input3.data_type
608
- }), "string" === typeof input3.error_type || $report(_exceptionable2, {
609
- path: _path2 + ".error_type",
610
- expected: "string",
611
- value: input3.error_type
612
- }), "string" === typeof input3.error_details || $report(_exceptionable2, {
613
- path: _path2 + ".error_details",
614
- expected: "string",
615
- value: input3.error_details
616
- }), "number" === typeof input3.attempts_made || $report(_exceptionable2, {
617
- path: _path2 + ".attempts_made",
618
- expected: "number",
619
- value: input3.attempts_made
620
- })].every((flag) => flag);
621
- const $vo3 = (input3, _path2, _exceptionable2 = true) => ["summary" === input3.type || $report(_exceptionable2, {
622
- path: _path2 + ".type",
623
- expected: '"summary"',
624
- value: input3.type
625
- }), "number" === typeof input3.total_files || $report(_exceptionable2, {
626
- path: _path2 + ".total_files",
627
- expected: "number",
628
- value: input3.total_files
629
- }), "number" === typeof input3.successful_files || $report(_exceptionable2, {
630
- path: _path2 + ".successful_files",
631
- expected: "number",
632
- value: input3.successful_files
633
- }), "number" === typeof input3.failed_files || $report(_exceptionable2, {
634
- path: _path2 + ".failed_files",
635
- expected: "number",
636
- value: input3.failed_files
637
- }), (Array.isArray(input3.errors) || $report(_exceptionable2, {
638
- path: _path2 + ".errors",
639
- expected: "Array<RustErrorEntry>",
640
- value: input3.errors
641
- })) && input3.errors.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
642
- path: _path2 + ".errors[" + _index2 + "]",
643
- expected: "RustErrorEntry",
644
- value: elem
645
- })) && $vo2(elem, _path2 + ".errors[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
646
- path: _path2 + ".errors[" + _index2 + "]",
647
- expected: "RustErrorEntry",
648
- value: elem
649
- })).every((flag) => flag) || $report(_exceptionable2, {
650
- path: _path2 + ".errors",
651
- expected: "Array<RustErrorEntry>",
652
- value: input3.errors
653
- }), "number" === typeof input3.filtered_records || $report(_exceptionable2, {
654
- path: _path2 + ".filtered_records",
655
- expected: "number",
656
- value: input3.filtered_records
657
- }), "number" === typeof input3.filtered_maf_records || $report(_exceptionable2, {
658
- path: _path2 + ".filtered_maf_records",
659
- expected: "number",
660
- value: input3.filtered_maf_records
661
- }), "number" === typeof input3.filtered_cnv_records || $report(_exceptionable2, {
662
- path: _path2 + ".filtered_cnv_records",
663
- expected: "number",
664
- value: input3.filtered_cnv_records
665
- }), "number" === typeof input3.included_maf_records || $report(_exceptionable2, {
666
- path: _path2 + ".included_maf_records",
667
- expected: "number",
668
- value: input3.included_maf_records
669
- }), "number" === typeof input3.included_cnv_records || $report(_exceptionable2, {
670
- path: _path2 + ".included_cnv_records",
671
- expected: "number",
672
- value: input3.included_cnv_records
673
- }), ("object" === typeof input3.filtered_records_by_case && null !== input3.filtered_records_by_case && false === Array.isArray(input3.filtered_records_by_case) || $report(_exceptionable2, {
674
- path: _path2 + ".filtered_records_by_case",
675
- expected: "Record<string, __type>",
676
- value: input3.filtered_records_by_case
677
- })) && $vo4(input3.filtered_records_by_case, _path2 + ".filtered_records_by_case", _exceptionable2) || $report(_exceptionable2, {
678
- path: _path2 + ".filtered_records_by_case",
679
- expected: "Record<string, __type>",
680
- value: input3.filtered_records_by_case
681
- }), ("object" === typeof input3.hyper_mutator_records && null !== input3.hyper_mutator_records && false === Array.isArray(input3.hyper_mutator_records) || $report(_exceptionable2, {
682
- path: _path2 + ".hyper_mutator_records",
683
- expected: "Record<string, Array<string>>",
684
- value: input3.hyper_mutator_records
685
- })) && $vo10(input3.hyper_mutator_records, _path2 + ".hyper_mutator_records", _exceptionable2) || $report(_exceptionable2, {
686
- path: _path2 + ".hyper_mutator_records",
687
- expected: "Record<string, Array<string>>",
688
- value: input3.hyper_mutator_records
689
- }), ("object" === typeof input3.excluded_by_max_record && null !== input3.excluded_by_max_record && false === Array.isArray(input3.excluded_by_max_record) || $report(_exceptionable2, {
690
- path: _path2 + ".excluded_by_max_record",
691
- expected: "Record<string, Array<string>>",
692
- value: input3.excluded_by_max_record
693
- })) && $vo10(input3.excluded_by_max_record, _path2 + ".excluded_by_max_record", _exceptionable2) || $report(_exceptionable2, {
694
- path: _path2 + ".excluded_by_max_record",
695
- expected: "Record<string, Array<string>>",
696
- value: input3.excluded_by_max_record
697
- })].every((flag) => flag);
698
- const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
699
- const value = input3[key];
700
- if (void 0 === value)
701
- return true;
702
- if (RegExp(/(.*)/).test(key))
703
- return ("object" === typeof value && null !== value || $report(_exceptionable2, {
704
- path: _path2 + $join(key),
705
- expected: "__type",
706
- value
707
- })) && $vo5(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
708
- path: _path2 + $join(key),
709
- expected: "__type",
710
- value
711
- });
712
- return true;
713
- }).every((flag) => flag)].every((flag) => flag);
714
- const $vo5 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.maf && null !== input3.maf || $report(_exceptionable2, {
715
- path: _path2 + ".maf",
716
- expected: "__type.o1",
717
- value: input3.maf
718
- })) && $vo6(input3.maf, _path2 + ".maf", _exceptionable2) || $report(_exceptionable2, {
719
- path: _path2 + ".maf",
720
- expected: "__type.o1",
721
- value: input3.maf
722
- }), ("object" === typeof input3.cnv && null !== input3.cnv || $report(_exceptionable2, {
723
- path: _path2 + ".cnv",
724
- expected: "__type.o2",
725
- value: input3.cnv
726
- })) && $vo9(input3.cnv, _path2 + ".cnv", _exceptionable2) || $report(_exceptionable2, {
727
- path: _path2 + ".cnv",
728
- expected: "__type.o2",
729
- value: input3.cnv
730
- })].every((flag) => flag);
731
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.matched_consequences && null !== input3.matched_consequences && false === Array.isArray(input3.matched_consequences) || $report(_exceptionable2, {
732
- path: _path2 + ".matched_consequences",
733
- expected: "Record<string, any>",
734
- value: input3.matched_consequences
735
- })) && $vo7(input3.matched_consequences, _path2 + ".matched_consequences", _exceptionable2) || $report(_exceptionable2, {
736
- path: _path2 + ".matched_consequences",
737
- expected: "Record<string, any>",
738
- value: input3.matched_consequences
739
- }), ("object" === typeof input3.rejected_consequences && null !== input3.rejected_consequences && false === Array.isArray(input3.rejected_consequences) || $report(_exceptionable2, {
740
- path: _path2 + ".rejected_consequences",
741
- expected: "Record<string, any>",
742
- value: input3.rejected_consequences
743
- })) && $vo7(input3.rejected_consequences, _path2 + ".rejected_consequences", _exceptionable2) || $report(_exceptionable2, {
744
- path: _path2 + ".rejected_consequences",
745
- expected: "Record<string, any>",
746
- value: input3.rejected_consequences
747
- }), "number" === typeof input3.t_alt_count || $report(_exceptionable2, {
748
- path: _path2 + ".t_alt_count",
749
- expected: "number",
750
- value: input3.t_alt_count
751
- }), "number" === typeof input3.t_depth || $report(_exceptionable2, {
752
- path: _path2 + ".t_depth",
753
- expected: "number",
754
- value: input3.t_depth
755
- }), "number" === typeof input3.invalid_rows || $report(_exceptionable2, {
756
- path: _path2 + ".invalid_rows",
757
- expected: "number",
758
- value: input3.invalid_rows
759
- }), "number" === typeof input3.excluded_by_min_depth || $report(_exceptionable2, {
760
- path: _path2 + ".excluded_by_min_depth",
761
- expected: "number",
762
- value: input3.excluded_by_min_depth
763
- }), "number" === typeof input3.excluded_by_min_alt_count || $report(_exceptionable2, {
764
- path: _path2 + ".excluded_by_min_alt_count",
765
- expected: "number",
766
- value: input3.excluded_by_min_alt_count
767
- }), "number" === typeof input3.excluded_by_consequence_type || $report(_exceptionable2, {
768
- path: _path2 + ".excluded_by_consequence_type",
769
- expected: "number",
770
- value: input3.excluded_by_consequence_type
771
- }), "number" === typeof input3.total_processed || $report(_exceptionable2, {
772
- path: _path2 + ".total_processed",
773
- expected: "number",
774
- value: input3.total_processed
775
- }), "number" === typeof input3.total_included || $report(_exceptionable2, {
776
- path: _path2 + ".total_included",
777
- expected: "number",
778
- value: input3.total_included
779
- }), ("object" === typeof input3.skipped_chromosomes && null !== input3.skipped_chromosomes && false === Array.isArray(input3.skipped_chromosomes) || $report(_exceptionable2, {
780
- path: _path2 + ".skipped_chromosomes",
781
- expected: "Record<string, number>",
782
- value: input3.skipped_chromosomes
783
- })) && $vo8(input3.skipped_chromosomes, _path2 + ".skipped_chromosomes", _exceptionable2) || $report(_exceptionable2, {
784
- path: _path2 + ".skipped_chromosomes",
785
- expected: "Record<string, number>",
786
- value: input3.skipped_chromosomes
787
- })].every((flag) => flag);
788
- const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
789
- const value = input3[key];
790
- if (void 0 === value)
791
- return true;
792
- if (RegExp(/(.*)/).test(key))
793
- return true;
794
- return true;
795
- }).every((flag) => flag)].every((flag) => flag);
796
- const $vo8 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
797
- const value = input3[key];
798
- if (void 0 === value)
799
- return true;
800
- if (RegExp(/(.*)/).test(key))
801
- return "number" === typeof value || $report(_exceptionable2, {
802
- path: _path2 + $join(key),
803
- expected: "number",
804
- value
805
- });
806
- return true;
807
- }).every((flag) => flag)].every((flag) => flag);
808
- const $vo9 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.segment_mean || $report(_exceptionable2, {
809
- path: _path2 + ".segment_mean",
810
- expected: "number",
811
- value: input3.segment_mean
812
- }), "number" === typeof input3.seg_length || $report(_exceptionable2, {
813
- path: _path2 + ".seg_length",
814
- expected: "number",
815
- value: input3.seg_length
816
- }), "number" === typeof input3.invalid_rows || $report(_exceptionable2, {
817
- path: _path2 + ".invalid_rows",
818
- expected: "number",
819
- value: input3.invalid_rows
820
- }), "number" === typeof input3.excluded_by_loss_threshold || $report(_exceptionable2, {
821
- path: _path2 + ".excluded_by_loss_threshold",
822
- expected: "number",
823
- value: input3.excluded_by_loss_threshold
824
- }), "number" === typeof input3.excluded_by_gain_threshold || $report(_exceptionable2, {
825
- path: _path2 + ".excluded_by_gain_threshold",
826
- expected: "number",
827
- value: input3.excluded_by_gain_threshold
828
- }), "number" === typeof input3.excluded_by_segment_length || $report(_exceptionable2, {
829
- path: _path2 + ".excluded_by_segment_length",
830
- expected: "number",
831
- value: input3.excluded_by_segment_length
832
- }), "number" === typeof input3.total_processed || $report(_exceptionable2, {
833
- path: _path2 + ".total_processed",
834
- expected: "number",
835
- value: input3.total_processed
836
- }), "number" === typeof input3.total_included || $report(_exceptionable2, {
837
- path: _path2 + ".total_included",
838
- expected: "number",
839
- value: input3.total_included
840
- }), ("object" === typeof input3.skipped_chromosomes && null !== input3.skipped_chromosomes && false === Array.isArray(input3.skipped_chromosomes) || $report(_exceptionable2, {
841
- path: _path2 + ".skipped_chromosomes",
842
- expected: "Record<string, number>",
843
- value: input3.skipped_chromosomes
844
- })) && $vo8(input3.skipped_chromosomes, _path2 + ".skipped_chromosomes", _exceptionable2) || $report(_exceptionable2, {
845
- path: _path2 + ".skipped_chromosomes",
846
- expected: "Record<string, number>",
847
- value: input3.skipped_chromosomes
848
- })].every((flag) => flag);
849
- const $vo10 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
850
- const value = input3[key];
851
- if (void 0 === value)
852
- return true;
853
- if (RegExp(/(.*)/).test(key))
854
- return (Array.isArray(value) || $report(_exceptionable2, {
855
- path: _path2 + $join(key),
856
- expected: "Array<string>",
857
- value
858
- })) && value.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable2, {
859
- path: _path2 + $join(key) + "[" + _index3 + "]",
860
- expected: "string",
861
- value: elem
862
- })).every((flag) => flag) || $report(_exceptionable2, {
863
- path: _path2 + $join(key),
864
- expected: "Array<string>",
865
- value
866
- });
867
- return true;
868
- }).every((flag) => flag)].every((flag) => flag);
869
- const $vo11 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.rustProcessingTime || $report(_exceptionable2, {
870
- path: _path2 + ".rustProcessingTime",
871
- expected: "number",
872
- value: input3.rustProcessingTime
873
- }), "number" === typeof input3.grin2Time || $report(_exceptionable2, {
874
- path: _path2 + ".grin2Time",
875
- expected: "number",
876
- value: input3.grin2Time
877
- }), "number" === typeof input3.totalTime || $report(_exceptionable2, {
878
- path: _path2 + ".totalTime",
879
- expected: "number",
880
- value: input3.totalTime
881
- })].every((flag) => flag);
882
- return ("object" === typeof input2 && null !== input2 || $report(true, {
883
- path: _path + "",
884
- expected: "RunGRIN2Response",
885
- value: input2
886
- })) && $vo0(input2, _path + "", true) || $report(true, {
887
- path: _path + "",
888
- expected: "RunGRIN2Response",
889
- value: input2
890
- });
891
- })(input, "$input", true);
892
- }
893
- const success = 0 === errors.length;
894
- return {
895
- success,
896
- errors,
897
- data: success ? input : void 0
898
- };
899
- };
900
-
901
- export {
902
- gdcGRIN2listPayload,
903
- runGRIN2Payload,
904
- validGdcGRIN2listRequest,
905
- validGdcGRIN2listResponse,
906
- validRunGRIN2Request,
907
- validRunGRIN2Response
908
- };