diff --git a/package.json b/package.json index d2ab3981e9d..30804e4ae51 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "buildBootstrap": "sass --style :compressed src/globalStyles/bootstrap-entry.scss src/globalStyles/prefixed-bootstrap.min.css", "heroku-postbuild": "yarn run build && yarn add pushstate-server@3.0.1 -g", "updateAPI": "yarn run fetchAPI && yarn run buildAPI && yarn run updateOncoKbAPI && yarn run updateGenomeNexusAPI", - "fetchAPILocal": "export CBIOPORTAL_URL=http://localhost:8090 && curl -k ${CBIOPORTAL_URL}/api/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json && curl -k ${CBIOPORTAL_URL}/api/api-docs?group=internal | json | grep -v host | grep -v basePath | grep -v termsOfService > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json", - "fetchAPI": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && curl -k ${CBIOPORTAL_URL}/api/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json && curl -k ${CBIOPORTAL_URL}/api/api-docs?group=internal | json | grep -v host | grep -v basePath | grep -v termsOfService > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json", + "fetchAPILocal": "export CBIOPORTAL_URL=http://localhost:8090 && curl -L -k ${CBIOPORTAL_URL}/api/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json && curl -L -k ${CBIOPORTAL_URL}/api/api-docs?group=internal | json | grep -v host | grep -v basePath | grep -v termsOfService > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json", + "fetchAPI": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && curl -L -k ${CBIOPORTAL_URL}/api/api-docs | json | grep -v basePath | grep -v termsOfService | grep -v host > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json && curl -L -k ${CBIOPORTAL_URL}/api/api-docs?group=internal | json | grep -v host | grep -v basePath | grep -v termsOfService > packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json", "buildAPI": "node scripts/generate-api.js packages/cbioportal-ts-api-client/src/generated CBioPortalAPI CBioPortalAPIInternal", "updateOncoKbAPI": "yarn run fetchOncoKbAPI && yarn run buildOncoKbAPI", "fetchOncoKbAPI": "curl -k https://www.oncokb.org/api/v1/v2/api-docs?group=Public%20APIs | json | grep -v basePath | grep -v termsOfService | grep -v host > packages/oncokb-ts-api-client/src/generated/OncoKbAPI-docs.json", diff --git a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json index 542f4bfc72a..f2728054e09 100644 --- a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json +++ b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json @@ -98,7 +98,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -113,8 +112,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -127,8 +125,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -137,12 +134,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -151,13 +147,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "cancerTypeId", - "name", "dedicatedColor", - "shortName", - "parent" + "name", + "parent", + "shortName" ] } ], @@ -171,8 +166,7 @@ } } } - }, - "deprecated": false + } } }, "/cancer-types/{cancerTypeId}": { @@ -201,8 +195,7 @@ "$ref": "#/definitions/TypeOfCancer" } } - }, - "deprecated": false + } } }, "/clinical-attributes": { @@ -223,7 +216,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -238,8 +230,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -252,8 +243,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -262,12 +252,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -276,12 +265,11 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "clinicalAttributeId", - "displayName", - "description", "datatype", + "description", + "displayName", "patientAttribute", "priority", "studyId" @@ -298,8 +286,7 @@ } } } - }, - "deprecated": false + } } }, "/clinical-attributes/fetch": { @@ -323,12 +310,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -354,8 +340,7 @@ } } } - }, - "deprecated": false + } } }, "/clinical-data/fetch": { @@ -388,10 +373,9 @@ "required": false, "type": "string", "default": "SAMPLE", - "allowEmptyValue": false, "enum": [ - "SAMPLE", - "PATIENT" + "PATIENT", + "SAMPLE" ] }, { @@ -401,12 +385,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -420,8 +403,7 @@ } } } - }, - "deprecated": false + } } }, "/copy-number-segments/fetch": { @@ -443,8 +425,7 @@ "in": "query", "description": "Chromosome", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "projection", @@ -453,12 +434,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -484,8 +464,7 @@ } } } - }, - "deprecated": false + } } }, "/gene-panel-data/fetch": { @@ -522,8 +501,7 @@ } } } - }, - "deprecated": false + } } }, "/gene-panels": { @@ -544,7 +522,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -559,8 +536,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -573,8 +549,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -583,12 +558,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -597,10 +571,9 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "genePanelId", - "description" + "description", + "genePanelId" ] } ], @@ -614,8 +587,7 @@ } } } - }, - "deprecated": false + } } }, "/gene-panels/fetch": { @@ -651,12 +623,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -670,8 +641,7 @@ } } } - }, - "deprecated": false + } } }, "/gene-panels/{genePanelId}": { @@ -700,8 +670,7 @@ "$ref": "#/definitions/GenePanel" } } - }, - "deprecated": false + } } }, "/generic-assay-data/{molecularProfileId}/generic-assay/{genericAssayStableId}": { @@ -736,12 +705,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -755,8 +723,7 @@ } } } - }, - "deprecated": false + } } }, "/generic-assay-meta/generic-assay/{genericAssayStableId}": { @@ -774,7 +741,7 @@ "name": "genericAssayStableId", "in": "path", "description": "Generic Assay stable ID", - "required": false, + "required": true, "type": "string" }, { @@ -784,12 +751,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -803,8 +769,7 @@ } } } - }, - "deprecated": false + } } }, "/generic-assay-meta/{molecularProfileId}": { @@ -832,12 +797,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -851,8 +815,7 @@ } } } - }, - "deprecated": false + } } }, "/generic_assay_data/fetch": { @@ -885,12 +848,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -904,8 +866,7 @@ } } } - }, - "deprecated": false + } } }, "/generic_assay_data/{molecularProfileId}/fetch": { @@ -945,12 +906,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -964,8 +924,7 @@ } } } - }, - "deprecated": false + } } }, "/generic_assay_meta/fetch": { @@ -998,12 +957,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1017,8 +975,7 @@ } } } - }, - "deprecated": false + } } }, "/genes": { @@ -1037,8 +994,7 @@ "in": "query", "description": "Alias of the gene", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "direction", @@ -1047,7 +1003,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -1058,8 +1013,7 @@ "in": "query", "description": "Search keyword that applies to hugo gene symbol of the genes", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "pageNumber", @@ -1070,8 +1024,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -1084,8 +1037,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -1094,12 +1046,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -1108,13 +1059,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ + "cytoband", "entrezGeneId", "hugoGeneSymbol", - "type", - "cytoband", - "length" + "length", + "type" ] } ], @@ -1128,8 +1078,7 @@ } } } - }, - "deprecated": false + } } }, "/genes/fetch": { @@ -1146,19 +1095,6 @@ "application/json" ], "parameters": [ - { - "name": "geneIdType", - "in": "query", - "description": "Type of gene ID", - "required": false, - "type": "string", - "default": "ENTREZ_GENE_ID", - "allowEmptyValue": false, - "enum": [ - "ENTREZ_GENE_ID", - "HUGO_GENE_SYMBOL" - ] - }, { "in": "body", "name": "geneIds", @@ -1171,6 +1107,18 @@ } } }, + { + "name": "geneIdType", + "in": "query", + "description": "Type of gene ID", + "required": false, + "type": "string", + "default": "ENTREZ_GENE_ID", + "enum": [ + "ENTREZ_GENE_ID", + "HUGO_GENE_SYMBOL" + ] + }, { "name": "projection", "in": "query", @@ -1178,12 +1126,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1197,8 +1144,7 @@ } } } - }, - "deprecated": false + } } }, "/genes/{geneId}": { @@ -1227,8 +1173,7 @@ "$ref": "#/definitions/Gene" } } - }, - "deprecated": false + } } }, "/genes/{geneId}/aliases": { @@ -1260,8 +1205,7 @@ } } } - }, - "deprecated": false + } } }, "/health": { @@ -1281,8 +1225,7 @@ "$ref": "#/definitions/ServerStatusMessage" } } - }, - "deprecated": false + } } }, "/info": { @@ -1302,8 +1245,7 @@ "$ref": "#/definitions/Info" } } - }, - "deprecated": false + } } }, "/molecular-data/fetch": { @@ -1336,12 +1278,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1355,8 +1296,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles": { @@ -1377,7 +1317,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -1392,8 +1331,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -1406,8 +1344,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -1416,12 +1353,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -1430,13 +1366,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "molecularProfileId", - "molecularAlterationType", "datatype", - "name", "description", + "molecularAlterationType", + "molecularProfileId", + "name", "showProfileInAnalysisTab" ] } @@ -1451,8 +1386,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/fetch": { @@ -1485,12 +1419,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1504,8 +1437,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}": { @@ -1534,8 +1466,7 @@ "$ref": "#/definitions/MolecularProfile" } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/discrete-copy-number": { @@ -1556,15 +1487,14 @@ "required": false, "type": "string", "default": "HOMDEL_AND_AMP", - "allowEmptyValue": false, "enum": [ - "HOMDEL_AND_AMP", - "HOMDEL", + "ALL", "AMP", + "DIPLOID", "GAIN", "HETLOSS", - "DIPLOID", - "ALL" + "HOMDEL", + "HOMDEL_AND_AMP" ] }, { @@ -1581,12 +1511,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -1594,8 +1523,7 @@ "in": "query", "description": "Sample List ID e.g. acc_tcga_all", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" } ], "responses": { @@ -1608,8 +1536,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/discrete-copy-number/fetch": { @@ -1633,15 +1560,14 @@ "required": false, "type": "string", "default": "HOMDEL_AND_AMP", - "allowEmptyValue": false, "enum": [ - "HOMDEL_AND_AMP", - "HOMDEL", + "ALL", "AMP", + "DIPLOID", "GAIN", "HETLOSS", - "DIPLOID", - "ALL" + "HOMDEL", + "HOMDEL_AND_AMP" ] }, { @@ -1667,12 +1593,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1686,8 +1611,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/gene-panel-data/fetch": { @@ -1731,8 +1655,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/molecular-data": { @@ -1752,8 +1675,7 @@ "description": "Entrez Gene ID e.g. 1", "required": true, "type": "integer", - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "molecularProfileId", @@ -1769,12 +1691,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -1782,8 +1703,7 @@ "in": "query", "description": "Sample List ID e.g. acc_tcga_all", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" } ], "responses": { @@ -1796,8 +1716,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/molecular-data/fetch": { @@ -1837,12 +1756,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1856,8 +1774,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/mutations": { @@ -1878,7 +1795,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -1890,8 +1806,7 @@ "description": "Entrez Gene ID", "required": false, "type": "integer", - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "molecularProfileId", @@ -1909,8 +1824,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -1923,8 +1837,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -1933,12 +1846,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -1946,8 +1858,7 @@ "in": "query", "description": "Sample List ID e.g. acc_tcga_all", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "sortBy", @@ -1955,29 +1866,28 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "entrezGeneId", + "aminoAcidChange", "center", + "endPosition", + "entrezGeneId", + "keyword", "mutationStatus", - "validationStatus", - "tumorAltCount", - "tumorRefCount", + "mutationType", + "ncbiBuild", "normalAltCount", "normalRefCount", - "aminoAcidChange", - "startPosition", - "endPosition", - "referenceAllele", - "variantAllele", "proteinChange", - "mutationType", - "ncbiBuild", - "variantType", - "refseqMrnaId", - "proteinPosStart", "proteinPosEnd", - "keyword" + "proteinPosStart", + "referenceAllele", + "refseqMrnaId", + "startPosition", + "tumorAltCount", + "tumorRefCount", + "validationStatus", + "variantAllele", + "variantType" ] } ], @@ -1991,8 +1901,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/mutations/fetch": { @@ -2016,7 +1925,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2047,8 +1955,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2061,8 +1968,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2071,12 +1977,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2085,29 +1990,28 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "entrezGeneId", + "aminoAcidChange", "center", + "endPosition", + "entrezGeneId", + "keyword", "mutationStatus", - "validationStatus", - "tumorAltCount", - "tumorRefCount", + "mutationType", + "ncbiBuild", "normalAltCount", "normalRefCount", - "aminoAcidChange", - "startPosition", - "endPosition", - "referenceAllele", - "variantAllele", "proteinChange", - "mutationType", - "ncbiBuild", - "variantType", - "refseqMrnaId", - "proteinPosStart", "proteinPosEnd", - "keyword" + "proteinPosStart", + "referenceAllele", + "refseqMrnaId", + "startPosition", + "tumorAltCount", + "tumorRefCount", + "validationStatus", + "variantAllele", + "variantType" ] } ], @@ -2121,8 +2025,7 @@ } } } - }, - "deprecated": false + } } }, "/mutations/fetch": { @@ -2146,7 +2049,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2170,8 +2072,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2184,8 +2085,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2194,12 +2094,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2208,29 +2107,28 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "entrezGeneId", + "aminoAcidChange", "center", + "endPosition", + "entrezGeneId", + "keyword", "mutationStatus", - "validationStatus", - "tumorAltCount", - "tumorRefCount", + "mutationType", + "ncbiBuild", "normalAltCount", "normalRefCount", - "aminoAcidChange", - "startPosition", - "endPosition", - "referenceAllele", - "variantAllele", "proteinChange", - "mutationType", - "ncbiBuild", - "variantType", - "refseqMrnaId", - "proteinPosStart", "proteinPosEnd", - "keyword" + "proteinPosStart", + "referenceAllele", + "refseqMrnaId", + "startPosition", + "tumorAltCount", + "tumorRefCount", + "validationStatus", + "variantAllele", + "variantType" ] } ], @@ -2244,8 +2142,7 @@ } } } - }, - "deprecated": false + } } }, "/patients": { @@ -2266,7 +2163,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2277,8 +2173,7 @@ "in": "query", "description": "Search keyword that applies to ID of the patients", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "pageNumber", @@ -2289,8 +2184,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2303,8 +2197,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2313,12 +2206,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2327,7 +2219,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "patientId" ] @@ -2343,8 +2234,7 @@ } } } - }, - "deprecated": false + } } }, "/patients/fetch": { @@ -2377,12 +2267,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -2396,8 +2285,7 @@ } } } - }, - "deprecated": false + } } }, "/sample-lists": { @@ -2418,7 +2306,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2433,8 +2320,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2447,8 +2333,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2457,12 +2342,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2471,13 +2355,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "sampleListId", "category", - "studyId", + "description", "name", - "description" + "sampleListId", + "studyId" ] } ], @@ -2491,8 +2374,7 @@ } } } - }, - "deprecated": false + } } }, "/sample-lists/fetch": { @@ -2516,12 +2398,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2547,8 +2428,7 @@ } } } - }, - "deprecated": false + } } }, "/sample-lists/{sampleListId}": { @@ -2577,8 +2457,7 @@ "$ref": "#/definitions/SampleList" } } - }, - "deprecated": false + } } }, "/sample-lists/{sampleListId}/sample-ids": { @@ -2610,8 +2489,7 @@ } } } - }, - "deprecated": false + } } }, "/samples": { @@ -2632,7 +2510,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2643,8 +2520,7 @@ "in": "query", "description": "Search keyword that applies to the study ID", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "pageNumber", @@ -2655,8 +2531,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2669,8 +2544,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2679,12 +2553,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2693,7 +2566,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "sampleId", "sampleType" @@ -2710,8 +2582,7 @@ } } } - }, - "deprecated": false + } } }, "/samples/fetch": { @@ -2735,12 +2606,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2763,8 +2633,7 @@ } } } - }, - "deprecated": false + } } }, "/studies": { @@ -2809,7 +2678,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2820,8 +2688,7 @@ "in": "query", "description": "Search keyword that applies to name and cancer type of the studies", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "pageNumber", @@ -2832,8 +2699,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2846,8 +2712,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "principal", @@ -2862,12 +2727,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2876,18 +2740,17 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "studyId", "cancerTypeId", - "name", - "description", - "publicStudy", - "pmid", "citation", + "description", "groups", + "importDate", + "name", + "pmid", + "publicStudy", "status", - "importDate" + "studyId" ] } ], @@ -2901,8 +2764,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/fetch": { @@ -2926,12 +2788,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2957,8 +2818,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/tags/fetch": { @@ -2998,8 +2858,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}": { @@ -3028,8 +2887,7 @@ "$ref": "#/definitions/CancerStudy" } } - }, - "deprecated": false + } } }, "/studies/{studyId}/clinical-attributes": { @@ -3050,7 +2908,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3065,8 +2922,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3079,8 +2935,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3089,12 +2944,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3103,12 +2957,11 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "clinicalAttributeId", - "displayName", - "description", "datatype", + "description", + "displayName", "patientAttribute", "priority", "studyId" @@ -3132,8 +2985,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/clinical-attributes/{clinicalAttributeId}": { @@ -3169,8 +3021,7 @@ "$ref": "#/definitions/ClinicalAttribute" } } - }, - "deprecated": false + } } }, "/studies/{studyId}/clinical-data": { @@ -3189,8 +3040,7 @@ "in": "query", "description": "Attribute ID e.g. CANCER_TYPE", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "clinicalDataType", @@ -3199,10 +3049,9 @@ "required": false, "type": "string", "default": "SAMPLE", - "allowEmptyValue": false, "enum": [ - "SAMPLE", - "PATIENT" + "PATIENT", + "SAMPLE" ] }, { @@ -3212,7 +3061,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3227,8 +3075,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3241,8 +3088,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3251,12 +3097,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3265,7 +3110,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "clinicalAttributeId", "value" @@ -3289,8 +3133,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/clinical-data/fetch": { @@ -3323,10 +3166,9 @@ "required": false, "type": "string", "default": "SAMPLE", - "allowEmptyValue": false, "enum": [ - "SAMPLE", - "PATIENT" + "PATIENT", + "SAMPLE" ] }, { @@ -3336,12 +3178,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3362,8 +3203,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/molecular-profiles": { @@ -3384,7 +3224,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3399,8 +3238,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3413,8 +3251,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3423,12 +3260,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3437,13 +3273,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "molecularProfileId", - "molecularAlterationType", "datatype", - "name", "description", + "molecularAlterationType", + "molecularProfileId", + "name", "showProfileInAnalysisTab" ] }, @@ -3465,8 +3300,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/patients": { @@ -3487,7 +3321,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3502,8 +3335,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3516,8 +3348,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3526,12 +3357,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3540,7 +3370,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "patientId" ] @@ -3563,8 +3392,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/patients/{patientId}": { @@ -3600,8 +3428,7 @@ "$ref": "#/definitions/Patient" } } - }, - "deprecated": false + } } }, "/studies/{studyId}/patients/{patientId}/clinical-data": { @@ -3620,8 +3447,7 @@ "in": "query", "description": "Attribute ID e.g. AGE", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "direction", @@ -3630,7 +3456,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3645,8 +3470,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3659,8 +3483,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "patientId", @@ -3676,12 +3499,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3690,7 +3512,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "clinicalAttributeId", "value" @@ -3714,8 +3535,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/patients/{patientId}/samples": { @@ -3736,7 +3556,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3751,8 +3570,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3765,8 +3583,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "patientId", @@ -3782,12 +3599,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3796,7 +3612,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "sampleId", "sampleType" @@ -3820,8 +3635,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/sample-lists": { @@ -3842,7 +3656,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3857,8 +3670,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3871,8 +3683,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3881,12 +3692,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3895,13 +3705,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "sampleListId", "category", - "studyId", + "description", "name", - "description" + "sampleListId", + "studyId" ] }, { @@ -3922,8 +3731,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/samples": { @@ -3944,7 +3752,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3959,8 +3766,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3973,8 +3779,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3983,12 +3788,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3997,7 +3801,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "sampleId", "sampleType" @@ -4021,8 +3824,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/samples/{sampleId}": { @@ -4058,8 +3860,7 @@ "$ref": "#/definitions/Sample" } } - }, - "deprecated": false + } } }, "/studies/{studyId}/samples/{sampleId}/clinical-data": { @@ -4078,8 +3879,7 @@ "in": "query", "description": "Attribute ID e.g. CANCER_TYPE", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "direction", @@ -4088,7 +3888,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -4103,8 +3902,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -4117,8 +3915,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -4127,12 +3924,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -4148,7 +3944,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "clinicalAttributeId", "value" @@ -4172,8 +3967,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/samples/{sampleId}/copy-number-segments": { @@ -4192,8 +3986,7 @@ "in": "query", "description": "Chromosome", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "direction", @@ -4202,7 +3995,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -4217,8 +4009,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -4231,8 +4022,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -4241,12 +4031,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -4262,13 +4051,12 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "chromosome", - "start", "end", "numberOfProbes", - "segmentMean" + "segmentMean", + "start" ] }, { @@ -4289,8 +4077,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/tags": { @@ -4319,8 +4106,7 @@ "type": "object" } } - }, - "deprecated": false + } } }, "/treatments/display-patient": { @@ -4356,7 +4142,6 @@ "required": false, "type": "string", "default": "Treatment", - "allowEmptyValue": false, "enum": [ "Agent", "AgentClass", @@ -4371,8 +4156,7 @@ "type": "boolean" } } - }, - "deprecated": false + } } }, "/treatments/display-sample": { @@ -4408,7 +4192,6 @@ "required": false, "type": "string", "default": "Treatment", - "allowEmptyValue": false, "enum": [ "Agent", "AgentClass", @@ -4423,8 +4206,7 @@ "type": "boolean" } } - }, - "deprecated": false + } } }, "/treatments/patient": { @@ -4457,7 +4239,6 @@ "required": false, "type": "string", "default": "Treatment", - "allowEmptyValue": false, "enum": [ "Agent", "AgentClass", @@ -4475,8 +4256,7 @@ } } } - }, - "deprecated": false + } } }, "/treatments/sample": { @@ -4509,7 +4289,6 @@ "required": false, "type": "string", "default": "Treatment", - "allowEmptyValue": false, "enum": [ "Agent", "AgentClass", @@ -4527,8 +4306,7 @@ } } } - }, - "deprecated": false + } } } }, @@ -5024,9 +4802,7 @@ "type": "array", "items": { "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 50000 + "format": "int32" } }, "sampleIds": { @@ -5080,6 +4856,7 @@ }, "molecularProfileIds": { "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -5096,8 +4873,8 @@ "type": "string", "enum": [ "AMP", - "GAIN", "DIPLOID", + "GAIN", "HETLOSS", "HOMDEL" ] @@ -5469,9 +5246,7 @@ "type": "array", "items": { "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 10000000 + "format": "int32" } }, "sampleIds": { @@ -5493,9 +5268,7 @@ "type": "array", "items": { "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 10000000 + "format": "int32" } }, "molecularProfileIds": { @@ -5533,23 +5306,23 @@ "molecularAlterationType": { "type": "string", "enum": [ - "MUTATION_EXTENDED", - "MUTATION_UNCALLED", - "FUSION", - "STRUCTURAL_VARIANT", "COPY_NUMBER_ALTERATION", + "FUSION", + "GENERIC_ASSAY", + "GENESET_SCORE", + "METHYLATION", + "METHYLATION_BINARY", "MICRO_RNA_EXPRESSION", "MRNA_EXPRESSION", "MRNA_EXPRESSION_NORMALS", - "RNA_EXPRESSION", - "METHYLATION", - "METHYLATION_BINARY", + "MUTATION_EXTENDED", + "MUTATION_UNCALLED", "PHOSPHORYLATION", - "PROTEIN_LEVEL", - "PROTEIN_ARRAY_PROTEIN_LEVEL", "PROTEIN_ARRAY_PHOSPHORYLATION", - "GENESET_SCORE", - "GENERIC_ASSAY" + "PROTEIN_ARRAY_PROTEIN_LEVEL", + "PROTEIN_LEVEL", + "RNA_EXPRESSION", + "STRUCTURAL_VARIANT" ] }, "molecularProfileId": { @@ -5585,6 +5358,7 @@ "properties": { "molecularProfileIds": { "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -5750,9 +5524,7 @@ "type": "array", "items": { "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 10000000 + "format": "int32" } }, "sampleIds": { @@ -5774,9 +5546,7 @@ "type": "array", "items": { "type": "integer", - "format": "int32", - "minimum": 1, - "maximum": 10000000 + "format": "int32" } }, "molecularProfileIds": { @@ -5933,6 +5703,7 @@ }, "samples": { "type": "array", + "uniqueItems": true, "items": { "$ref": "#/definitions/ClinicalEventSample" } @@ -5966,13 +5737,13 @@ "sampleType": { "type": "string", "enum": [ - "Primary Solid Tumor", - "Recurrent Solid Tumor", - "Primary Blood Tumor", - "Recurrent Blood Tumor", - "Metastatic", - "Blood Derived Normal", - "Solid Tissues Normal" + "BLOOD_NORMAL", + "METASTATIC", + "PRIMARY_BLOOD_TUMOR", + "PRIMARY_SOLID_TUMOR", + "RECURRENT_BLOOD_TUMOR", + "RECURRENT_SOLID_TUMOR", + "SOLID_NORMAL" ] }, "sequenced": { @@ -6078,8 +5849,8 @@ "time": { "type": "string", "enum": [ - "Pre", - "Post" + "Post", + "Pre" ] }, "treatment": { @@ -6097,6 +5868,7 @@ }, "samples": { "type": "array", + "uniqueItems": true, "items": { "$ref": "#/definitions/ClinicalEventSample" } @@ -6104,8 +5876,8 @@ "time": { "type": "string", "enum": [ - "Pre", - "Post" + "Post", + "Pre" ] }, "treatment": { diff --git a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts index ba4a6966c43..37a607442e9 100644 --- a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts +++ b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts @@ -259,7 +259,7 @@ export type GeneFilter = { }; export type GeneFilterQuery = { - 'alterations': Array < "AMP" | "GAIN" | "DIPLOID" | "HETLOSS" | "HOMDEL" > + 'alterations': Array < "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" > 'entrezGeneId': number @@ -441,7 +441,7 @@ export type MolecularProfile = { 'genericAssayType': string - 'molecularAlterationType': "MUTATION_EXTENDED" | "MUTATION_UNCALLED" | "FUSION" | "STRUCTURAL_VARIANT" | "COPY_NUMBER_ALTERATION" | "MICRO_RNA_EXPRESSION" | "MRNA_EXPRESSION" | "MRNA_EXPRESSION_NORMALS" | "RNA_EXPRESSION" | "METHYLATION" | "METHYLATION_BINARY" | "PHOSPHORYLATION" | "PROTEIN_LEVEL" | "PROTEIN_ARRAY_PROTEIN_LEVEL" | "PROTEIN_ARRAY_PHOSPHORYLATION" | "GENESET_SCORE" | "GENERIC_ASSAY" + 'molecularAlterationType': "COPY_NUMBER_ALTERATION" | "FUSION" | "GENERIC_ASSAY" | "GENESET_SCORE" | "METHYLATION" | "METHYLATION_BINARY" | "MICRO_RNA_EXPRESSION" | "MRNA_EXPRESSION" | "MRNA_EXPRESSION_NORMALS" | "MUTATION_EXTENDED" | "MUTATION_UNCALLED" | "PHOSPHORYLATION" | "PROTEIN_ARRAY_PHOSPHORYLATION" | "PROTEIN_ARRAY_PROTEIN_LEVEL" | "PROTEIN_LEVEL" | "RNA_EXPRESSION" | "STRUCTURAL_VARIANT" 'molecularProfileId': string @@ -637,7 +637,7 @@ export type Sample = { 'sampleId': string - 'sampleType': "Primary Solid Tumor" | "Recurrent Solid Tumor" | "Primary Blood Tumor" | "Recurrent Blood Tumor" | "Metastatic" | "Blood Derived Normal" | "Solid Tissues Normal" + 'sampleType': "BLOOD_NORMAL" | "METASTATIC" | "PRIMARY_BLOOD_TUMOR" | "PRIMARY_SOLID_TUMOR" | "RECURRENT_BLOOD_TUMOR" | "RECURRENT_SOLID_TUMOR" | "SOLID_NORMAL" 'sequenced': boolean @@ -685,7 +685,7 @@ export type SampleMolecularIdentifier = { }; export type SampleTreatmentFilter = { - 'time': "Pre" | "Post" + 'time': "Post" | "Pre" 'treatment': string @@ -695,7 +695,7 @@ export type SampleTreatmentRow = { 'samples': Array < ClinicalEventSample > - 'time': "Pre" | "Post" + 'time': "Post" | "Pre" 'treatment': string @@ -811,8 +811,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "cancerTypeId" | "name" | "dedicatedColor" | "shortName" | "parent", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cancerTypeId" | "dedicatedColor" | "name" | "parent" | "shortName", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -861,8 +861,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "cancerTypeId" | "name" | "dedicatedColor" | "shortName" | "parent", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cancerTypeId" | "dedicatedColor" | "name" | "parent" | "shortName", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -923,8 +923,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "cancerTypeId" | "name" | "dedicatedColor" | "shortName" | "parent", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cancerTypeId" | "dedicatedColor" | "name" | "parent" | "shortName", $queryParameters ? : any, $domain ? : string }): Promise < Array < TypeOfCancer > @@ -1012,8 +1012,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "clinicalAttributeId" | "displayName" | "description" | "datatype" | "patientAttribute" | "priority" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "clinicalAttributeId" | "datatype" | "description" | "displayName" | "patientAttribute" | "priority" | "studyId", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1062,8 +1062,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "clinicalAttributeId" | "displayName" | "description" | "datatype" | "patientAttribute" | "priority" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "clinicalAttributeId" | "datatype" | "description" | "displayName" | "patientAttribute" | "priority" | "studyId", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1124,8 +1124,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "clinicalAttributeId" | "displayName" | "description" | "datatype" | "patientAttribute" | "priority" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "clinicalAttributeId" | "datatype" | "description" | "displayName" | "patientAttribute" | "priority" | "studyId", $queryParameters ? : any, $domain ? : string }): Promise < Array < ClinicalAttribute > @@ -1135,7 +1135,7 @@ export default class CBioPortalAPI { }); }; fetchClinicalAttributesUsingPOSTURL(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any }): string { @@ -1163,7 +1163,7 @@ export default class CBioPortalAPI { * @param {} studyIds - List of Study IDs */ fetchClinicalAttributesUsingPOSTWithHttpInfo(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -1213,7 +1213,7 @@ export default class CBioPortalAPI { * @param {} studyIds - List of Study IDs */ fetchClinicalAttributesUsingPOST(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -1225,8 +1225,8 @@ export default class CBioPortalAPI { }; fetchClinicalDataUsingPOSTURL(parameters: { 'clinicalDataMultiStudyFilter': ClinicalDataMultiStudyFilter, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1260,8 +1260,8 @@ export default class CBioPortalAPI { */ fetchClinicalDataUsingPOSTWithHttpInfo(parameters: { 'clinicalDataMultiStudyFilter': ClinicalDataMultiStudyFilter, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1316,8 +1316,8 @@ export default class CBioPortalAPI { */ fetchClinicalDataUsingPOST(parameters: { 'clinicalDataMultiStudyFilter': ClinicalDataMultiStudyFilter, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < ClinicalData > @@ -1328,7 +1328,7 @@ export default class CBioPortalAPI { }; fetchCopyNumberSegmentsUsingPOSTURL(parameters: { 'chromosome' ? : string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleIdentifiers': Array < SampleIdentifier > , $queryParameters ? : any }): string { @@ -1362,7 +1362,7 @@ export default class CBioPortalAPI { */ fetchCopyNumberSegmentsUsingPOSTWithHttpInfo(parameters: { 'chromosome' ? : string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleIdentifiers': Array < SampleIdentifier > , $queryParameters ? : any, $domain ? : string @@ -1418,7 +1418,7 @@ export default class CBioPortalAPI { */ fetchCopyNumberSegmentsUsingPOST(parameters: { 'chromosome' ? : string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleIdentifiers': Array < SampleIdentifier > , $queryParameters ? : any, $domain ? : string @@ -1509,8 +1509,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "genePanelId" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "description" | "genePanelId", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1559,8 +1559,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "genePanelId" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "description" | "genePanelId", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1621,8 +1621,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "genePanelId" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "description" | "genePanelId", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenePanel > @@ -1633,7 +1633,7 @@ export default class CBioPortalAPI { }; fetchGenePanelsUsingPOSTURL(parameters: { 'genePanelIds': Array < string > , - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1662,7 +1662,7 @@ export default class CBioPortalAPI { */ fetchGenePanelsUsingPOSTWithHttpInfo(parameters: { 'genePanelIds': Array < string > , - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1712,7 +1712,7 @@ export default class CBioPortalAPI { */ fetchGenePanelsUsingPOST(parameters: { 'genePanelIds': Array < string > , - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenePanel > @@ -1799,7 +1799,7 @@ export default class CBioPortalAPI { getGenericAssayDataInMolecularProfileUsingGETURL(parameters: { 'genericAssayStableId': string, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1833,7 +1833,7 @@ export default class CBioPortalAPI { getGenericAssayDataInMolecularProfileUsingGETWithHttpInfo(parameters: { 'genericAssayStableId': string, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1889,7 +1889,7 @@ export default class CBioPortalAPI { getGenericAssayDataInMolecularProfileUsingGET(parameters: { 'genericAssayStableId': string, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenericAssayData > @@ -1899,8 +1899,8 @@ export default class CBioPortalAPI { }); }; getGenericAssayMeta_gaUsingGETURL(parameters: { - 'genericAssayStableId' ? : string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'genericAssayStableId': string, + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1929,10 +1929,10 @@ export default class CBioPortalAPI { * @param {string} projection - Level of detail of the response */ getGenericAssayMeta_gaUsingGETWithHttpInfo(parameters: { - 'genericAssayStableId' ? : string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'genericAssayStableId': string, + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, - $domain ? : string + $domain ? : string }): Promise < request.Response > { const domain = parameters.$domain ? parameters.$domain : this.domain; const errorHandlers = this.errorHandlers; @@ -1947,6 +1947,11 @@ export default class CBioPortalAPI { path = path.replace('{genericAssayStableId}', parameters['genericAssayStableId'] + ''); + if (parameters['genericAssayStableId'] === undefined) { + reject(new Error('Missing required parameter: genericAssayStableId')); + return; + } + if (parameters['projection'] !== undefined) { queryParameters['projection'] = parameters['projection']; } @@ -1971,10 +1976,10 @@ export default class CBioPortalAPI { * @param {string} projection - Level of detail of the response */ getGenericAssayMeta_gaUsingGET(parameters: { - 'genericAssayStableId' ? : string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'genericAssayStableId': string, + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, - $domain ? : string + $domain ? : string }): Promise < Array < GenericAssayMeta > > { return this.getGenericAssayMeta_gaUsingGETWithHttpInfo(parameters).then(function(response: request.Response) { @@ -1983,7 +1988,7 @@ export default class CBioPortalAPI { }; getGenericAssayMetaUsingGETURL(parameters: { 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -2013,7 +2018,7 @@ export default class CBioPortalAPI { */ getGenericAssayMetaUsingGETWithHttpInfo(parameters: { 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -2060,7 +2065,7 @@ export default class CBioPortalAPI { */ getGenericAssayMetaUsingGET(parameters: { 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenericAssayMeta > @@ -2071,7 +2076,7 @@ export default class CBioPortalAPI { }; fetchGenericAssayDataInMultipleMolecularProfilesUsingPOSTURL(parameters: { 'genericAssayDataMultipleStudyFilter': GenericAssayDataMultipleStudyFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -2100,7 +2105,7 @@ export default class CBioPortalAPI { */ fetchGenericAssayDataInMultipleMolecularProfilesUsingPOSTWithHttpInfo(parameters: { 'genericAssayDataMultipleStudyFilter': GenericAssayDataMultipleStudyFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -2150,7 +2155,7 @@ export default class CBioPortalAPI { */ fetchGenericAssayDataInMultipleMolecularProfilesUsingPOST(parameters: { 'genericAssayDataMultipleStudyFilter': GenericAssayDataMultipleStudyFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenericAssayData > @@ -2162,7 +2167,7 @@ export default class CBioPortalAPI { fetchGenericAssayDataInMolecularProfileUsingPOSTURL(parameters: { 'genericAssayDataFilter': GenericAssayFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -2194,7 +2199,7 @@ export default class CBioPortalAPI { fetchGenericAssayDataInMolecularProfileUsingPOSTWithHttpInfo(parameters: { 'genericAssayDataFilter': GenericAssayFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -2253,7 +2258,7 @@ export default class CBioPortalAPI { fetchGenericAssayDataInMolecularProfileUsingPOST(parameters: { 'genericAssayDataFilter': GenericAssayFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenericAssayData > @@ -2264,7 +2269,7 @@ export default class CBioPortalAPI { }; fetchGenericAssayMetaUsingPOSTURL(parameters: { 'genericAssayMetaFilter': GenericAssayMetaFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -2293,7 +2298,7 @@ export default class CBioPortalAPI { */ fetchGenericAssayMetaUsingPOSTWithHttpInfo(parameters: { 'genericAssayMetaFilter': GenericAssayMetaFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -2343,7 +2348,7 @@ export default class CBioPortalAPI { */ fetchGenericAssayMetaUsingPOST(parameters: { 'genericAssayMetaFilter': GenericAssayMetaFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < GenericAssayMeta > @@ -2358,8 +2363,8 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "type" | "cytoband" | "length", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cytoband" | "entrezGeneId" | "hugoGeneSymbol" | "length" | "type", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -2420,8 +2425,8 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "type" | "cytoband" | "length", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cytoband" | "entrezGeneId" | "hugoGeneSymbol" | "length" | "type", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -2494,8 +2499,8 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "type" | "cytoband" | "length", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cytoband" | "entrezGeneId" | "hugoGeneSymbol" | "length" | "type", $queryParameters ? : any, $domain ? : string }): Promise < Array < Gene > @@ -2505,13 +2510,14 @@ export default class CBioPortalAPI { }); }; fetchGenesUsingPOSTURL(parameters: { - 'geneIdType' ? : "ENTREZ_GENE_ID" | "HUGO_GENE_SYMBOL", 'geneIds': Array < string > , - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - $queryParameters ? : any + 'geneIdType' ? : "ENTREZ_GENE_ID" | "HUGO_GENE_SYMBOL", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + $queryParameters ? : any }): string { let queryParameters: any = {}; let path = '/genes/fetch'; + if (parameters['geneIdType'] !== undefined) { queryParameters['geneIdType'] = parameters['geneIdType']; } @@ -2534,16 +2540,16 @@ export default class CBioPortalAPI { * Fetch genes by ID * @method * @name CBioPortalAPI#fetchGenesUsingPOST - * @param {string} geneIdType - Type of gene ID * @param {} geneIds - List of Entrez Gene IDs or Hugo Gene Symbols + * @param {string} geneIdType - Type of gene ID * @param {string} projection - Level of detail of the response */ fetchGenesUsingPOSTWithHttpInfo(parameters: { - 'geneIdType' ? : "ENTREZ_GENE_ID" | "HUGO_GENE_SYMBOL", 'geneIds': Array < string > , - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - $queryParameters ? : any, - $domain ? : string + 'geneIdType' ? : "ENTREZ_GENE_ID" | "HUGO_GENE_SYMBOL", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + $queryParameters ? : any, + $domain ? : string }): Promise < request.Response > { const domain = parameters.$domain ? parameters.$domain : this.domain; const errorHandlers = this.errorHandlers; @@ -2557,10 +2563,6 @@ export default class CBioPortalAPI { headers['Accept'] = 'application/json'; headers['Content-Type'] = 'application/json'; - if (parameters['geneIdType'] !== undefined) { - queryParameters['geneIdType'] = parameters['geneIdType']; - } - if (parameters['geneIds'] !== undefined) { body = parameters['geneIds']; } @@ -2570,6 +2572,10 @@ export default class CBioPortalAPI { return; } + if (parameters['geneIdType'] !== undefined) { + queryParameters['geneIdType'] = parameters['geneIdType']; + } + if (parameters['projection'] !== undefined) { queryParameters['projection'] = parameters['projection']; } @@ -2590,16 +2596,16 @@ export default class CBioPortalAPI { * Fetch genes by ID * @method * @name CBioPortalAPI#fetchGenesUsingPOST - * @param {string} geneIdType - Type of gene ID * @param {} geneIds - List of Entrez Gene IDs or Hugo Gene Symbols + * @param {string} geneIdType - Type of gene ID * @param {string} projection - Level of detail of the response */ fetchGenesUsingPOST(parameters: { - 'geneIdType' ? : "ENTREZ_GENE_ID" | "HUGO_GENE_SYMBOL", 'geneIds': Array < string > , - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - $queryParameters ? : any, - $domain ? : string + 'geneIdType' ? : "ENTREZ_GENE_ID" | "HUGO_GENE_SYMBOL", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + $queryParameters ? : any, + $domain ? : string }): Promise < Array < Gene > > { return this.fetchGenesUsingPOSTWithHttpInfo(parameters).then(function(response: request.Response) { @@ -2881,7 +2887,7 @@ export default class CBioPortalAPI { }; fetchMolecularDataInMultipleMolecularProfilesUsingPOSTURL(parameters: { 'molecularDataMultipleStudyFilter': MolecularDataMultipleStudyFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -2910,7 +2916,7 @@ export default class CBioPortalAPI { */ fetchMolecularDataInMultipleMolecularProfilesUsingPOSTWithHttpInfo(parameters: { 'molecularDataMultipleStudyFilter': MolecularDataMultipleStudyFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -2960,7 +2966,7 @@ export default class CBioPortalAPI { */ fetchMolecularDataInMultipleMolecularProfilesUsingPOST(parameters: { 'molecularDataMultipleStudyFilter': MolecularDataMultipleStudyFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < NumericGeneMolecularData > @@ -2973,8 +2979,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "molecularProfileId" | "molecularAlterationType" | "datatype" | "name" | "description" | "showProfileInAnalysisTab", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "datatype" | "description" | "molecularAlterationType" | "molecularProfileId" | "name" | "showProfileInAnalysisTab", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -3023,8 +3029,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "molecularProfileId" | "molecularAlterationType" | "datatype" | "name" | "description" | "showProfileInAnalysisTab", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "datatype" | "description" | "molecularAlterationType" | "molecularProfileId" | "name" | "showProfileInAnalysisTab", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -3085,8 +3091,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "molecularProfileId" | "molecularAlterationType" | "datatype" | "name" | "description" | "showProfileInAnalysisTab", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "datatype" | "description" | "molecularAlterationType" | "molecularProfileId" | "name" | "showProfileInAnalysisTab", $queryParameters ? : any, $domain ? : string }): Promise < Array < MolecularProfile > @@ -3097,7 +3103,7 @@ export default class CBioPortalAPI { }; fetchMolecularProfilesUsingPOSTURL(parameters: { 'molecularProfileFilter': MolecularProfileFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -3126,7 +3132,7 @@ export default class CBioPortalAPI { */ fetchMolecularProfilesUsingPOSTWithHttpInfo(parameters: { 'molecularProfileFilter': MolecularProfileFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -3176,7 +3182,7 @@ export default class CBioPortalAPI { */ fetchMolecularProfilesUsingPOST(parameters: { 'molecularProfileFilter': MolecularProfileFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < MolecularProfile > @@ -3261,9 +3267,9 @@ export default class CBioPortalAPI { }); }; getDiscreteCopyNumbersInMolecularProfileUsingGETURL(parameters: { - 'discreteCopyNumberEventType' ? : "HOMDEL_AND_AMP" | "HOMDEL" | "AMP" | "GAIN" | "HETLOSS" | "DIPLOID" | "ALL", + 'discreteCopyNumberEventType' ? : "ALL" | "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" | "HOMDEL_AND_AMP", 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, $queryParameters ? : any }): string { @@ -3302,9 +3308,9 @@ export default class CBioPortalAPI { * @param {string} sampleListId - Sample List ID e.g. acc_tcga_all */ getDiscreteCopyNumbersInMolecularProfileUsingGETWithHttpInfo(parameters: { - 'discreteCopyNumberEventType' ? : "HOMDEL_AND_AMP" | "HOMDEL" | "AMP" | "GAIN" | "HETLOSS" | "DIPLOID" | "ALL", + 'discreteCopyNumberEventType' ? : "ALL" | "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" | "HOMDEL_AND_AMP", 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, $queryParameters ? : any, $domain ? : string @@ -3366,9 +3372,9 @@ export default class CBioPortalAPI { * @param {string} sampleListId - Sample List ID e.g. acc_tcga_all */ getDiscreteCopyNumbersInMolecularProfileUsingGET(parameters: { - 'discreteCopyNumberEventType' ? : "HOMDEL_AND_AMP" | "HOMDEL" | "AMP" | "GAIN" | "HETLOSS" | "DIPLOID" | "ALL", + 'discreteCopyNumberEventType' ? : "ALL" | "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" | "HOMDEL_AND_AMP", 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, $queryParameters ? : any, $domain ? : string @@ -3379,10 +3385,10 @@ export default class CBioPortalAPI { }); }; fetchDiscreteCopyNumbersInMolecularProfileUsingPOSTURL(parameters: { - 'discreteCopyNumberEventType' ? : "HOMDEL_AND_AMP" | "HOMDEL" | "AMP" | "GAIN" | "HETLOSS" | "DIPLOID" | "ALL", + 'discreteCopyNumberEventType' ? : "ALL" | "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" | "HOMDEL_AND_AMP", 'discreteCopyNumberFilter': DiscreteCopyNumberFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -3416,10 +3422,10 @@ export default class CBioPortalAPI { * @param {string} projection - Level of detail of the response */ fetchDiscreteCopyNumbersInMolecularProfileUsingPOSTWithHttpInfo(parameters: { - 'discreteCopyNumberEventType' ? : "HOMDEL_AND_AMP" | "HOMDEL" | "AMP" | "GAIN" | "HETLOSS" | "DIPLOID" | "ALL", + 'discreteCopyNumberEventType' ? : "ALL" | "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" | "HOMDEL_AND_AMP", 'discreteCopyNumberFilter': DiscreteCopyNumberFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -3481,10 +3487,10 @@ export default class CBioPortalAPI { * @param {string} projection - Level of detail of the response */ fetchDiscreteCopyNumbersInMolecularProfileUsingPOST(parameters: { - 'discreteCopyNumberEventType' ? : "HOMDEL_AND_AMP" | "HOMDEL" | "AMP" | "GAIN" | "HETLOSS" | "DIPLOID" | "ALL", + 'discreteCopyNumberEventType' ? : "ALL" | "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" | "HOMDEL_AND_AMP", 'discreteCopyNumberFilter': DiscreteCopyNumberFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < DiscreteCopyNumberData > @@ -3587,7 +3593,7 @@ export default class CBioPortalAPI { getAllMolecularDataInMolecularProfileUsingGETURL(parameters: { 'entrezGeneId': number, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, $queryParameters ? : any }): string { @@ -3628,7 +3634,7 @@ export default class CBioPortalAPI { getAllMolecularDataInMolecularProfileUsingGETWithHttpInfo(parameters: { 'entrezGeneId': number, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, $queryParameters ? : any, $domain ? : string @@ -3697,7 +3703,7 @@ export default class CBioPortalAPI { getAllMolecularDataInMolecularProfileUsingGET(parameters: { 'entrezGeneId': number, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, $queryParameters ? : any, $domain ? : string @@ -3710,7 +3716,7 @@ export default class CBioPortalAPI { fetchAllMolecularDataInMolecularProfileUsingPOSTURL(parameters: { 'molecularDataFilter': MolecularDataFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -3742,7 +3748,7 @@ export default class CBioPortalAPI { fetchAllMolecularDataInMolecularProfileUsingPOSTWithHttpInfo(parameters: { 'molecularDataFilter': MolecularDataFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -3801,7 +3807,7 @@ export default class CBioPortalAPI { fetchAllMolecularDataInMolecularProfileUsingPOST(parameters: { 'molecularDataFilter': MolecularDataFilter, 'molecularProfileId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < NumericGeneMolecularData > @@ -3816,9 +3822,9 @@ export default class CBioPortalAPI { 'molecularProfileId': string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -3881,9 +3887,9 @@ export default class CBioPortalAPI { 'molecularProfileId': string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -3969,9 +3975,9 @@ export default class CBioPortalAPI { 'molecularProfileId': string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListId': string, - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any, $domain ? : string }): Promise < Array < Mutation > @@ -3986,8 +3992,8 @@ export default class CBioPortalAPI { 'mutationFilter': MutationFilter, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -4042,8 +4048,8 @@ export default class CBioPortalAPI { 'mutationFilter': MutationFilter, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -4125,8 +4131,8 @@ export default class CBioPortalAPI { 'mutationFilter': MutationFilter, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any, $domain ? : string }): Promise < Array < Mutation > @@ -4140,8 +4146,8 @@ export default class CBioPortalAPI { 'mutationMultipleStudyFilter': MutationMultipleStudyFilter, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -4192,8 +4198,8 @@ export default class CBioPortalAPI { 'mutationMultipleStudyFilter': MutationMultipleStudyFilter, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -4266,8 +4272,8 @@ export default class CBioPortalAPI { 'mutationMultipleStudyFilter': MutationMultipleStudyFilter, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "center" | "mutationStatus" | "validationStatus" | "tumorAltCount" | "tumorRefCount" | "normalAltCount" | "normalRefCount" | "aminoAcidChange" | "startPosition" | "endPosition" | "referenceAllele" | "variantAllele" | "proteinChange" | "mutationType" | "ncbiBuild" | "variantType" | "refseqMrnaId" | "proteinPosStart" | "proteinPosEnd" | "keyword", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "aminoAcidChange" | "center" | "endPosition" | "entrezGeneId" | "keyword" | "mutationStatus" | "mutationType" | "ncbiBuild" | "normalAltCount" | "normalRefCount" | "proteinChange" | "proteinPosEnd" | "proteinPosStart" | "referenceAllele" | "refseqMrnaId" | "startPosition" | "tumorAltCount" | "tumorRefCount" | "validationStatus" | "variantAllele" | "variantType", $queryParameters ? : any, $domain ? : string }): Promise < Array < Mutation > @@ -4281,7 +4287,7 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -4334,7 +4340,7 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -4399,7 +4405,7 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < Patient > @@ -4410,7 +4416,7 @@ export default class CBioPortalAPI { }; fetchPatientsUsingPOSTURL(parameters: { 'patientFilter': PatientFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -4439,7 +4445,7 @@ export default class CBioPortalAPI { */ fetchPatientsUsingPOSTWithHttpInfo(parameters: { 'patientFilter': PatientFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -4489,7 +4495,7 @@ export default class CBioPortalAPI { */ fetchPatientsUsingPOST(parameters: { 'patientFilter': PatientFilter, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < Patient > @@ -4502,8 +4508,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "sampleListId" | "category" | "studyId" | "name" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "category" | "description" | "name" | "sampleListId" | "studyId", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -4552,8 +4558,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "sampleListId" | "category" | "studyId" | "name" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "category" | "description" | "name" | "sampleListId" | "studyId", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -4614,8 +4620,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "sampleListId" | "category" | "studyId" | "name" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "category" | "description" | "name" | "sampleListId" | "studyId", $queryParameters ? : any, $domain ? : string }): Promise < Array < SampleList > @@ -4625,7 +4631,7 @@ export default class CBioPortalAPI { }); }; fetchSampleListsUsingPOSTURL(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListIds': Array < string > , $queryParameters ? : any }): string { @@ -4653,7 +4659,7 @@ export default class CBioPortalAPI { * @param {} sampleListIds - List of sample list IDs */ fetchSampleListsUsingPOSTWithHttpInfo(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -4703,7 +4709,7 @@ export default class CBioPortalAPI { * @param {} sampleListIds - List of sample list IDs */ fetchSampleListsUsingPOST(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleListIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -4869,7 +4875,7 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", $queryParameters ? : any }): string { @@ -4925,7 +4931,7 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", $queryParameters ? : any, $domain ? : string @@ -4993,7 +4999,7 @@ export default class CBioPortalAPI { 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", $queryParameters ? : any, $domain ? : string @@ -5004,7 +5010,7 @@ export default class CBioPortalAPI { }); }; fetchSamplesUsingPOSTURL(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleFilter': SampleFilter, $queryParameters ? : any }): string { @@ -5032,7 +5038,7 @@ export default class CBioPortalAPI { * @param {} sampleFilter - List of sample identifiers */ fetchSamplesUsingPOSTWithHttpInfo(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleFilter': SampleFilter, $queryParameters ? : any, $domain ? : string @@ -5082,7 +5088,7 @@ export default class CBioPortalAPI { * @param {} sampleFilter - List of sample identifiers */ fetchSamplesUsingPOST(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleFilter': SampleFilter, $queryParameters ? : any, $domain ? : string @@ -5102,8 +5108,8 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'principal' ? : {}, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "studyId" | "cancerTypeId" | "name" | "description" | "publicStudy" | "pmid" | "citation" | "groups" | "status" | "importDate", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cancerTypeId" | "citation" | "description" | "groups" | "importDate" | "name" | "pmid" | "publicStudy" | "status" | "studyId", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -5188,8 +5194,8 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'principal' ? : {}, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "studyId" | "cancerTypeId" | "name" | "description" | "publicStudy" | "pmid" | "citation" | "groups" | "status" | "importDate", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cancerTypeId" | "citation" | "description" | "groups" | "importDate" | "name" | "pmid" | "publicStudy" | "status" | "studyId", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -5286,8 +5292,8 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'principal' ? : {}, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "studyId" | "cancerTypeId" | "name" | "description" | "publicStudy" | "pmid" | "citation" | "groups" | "status" | "importDate", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "cancerTypeId" | "citation" | "description" | "groups" | "importDate" | "name" | "pmid" | "publicStudy" | "status" | "studyId", $queryParameters ? : any, $domain ? : string }): Promise < Array < CancerStudy > @@ -5297,7 +5303,7 @@ export default class CBioPortalAPI { }); }; fetchStudiesUsingPOSTURL(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any }): string { @@ -5325,7 +5331,7 @@ export default class CBioPortalAPI { * @param {} studyIds - List of Study IDs */ fetchStudiesUsingPOSTWithHttpInfo(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -5375,7 +5381,7 @@ export default class CBioPortalAPI { * @param {} studyIds - List of Study IDs */ fetchStudiesUsingPOST(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -5541,8 +5547,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "clinicalAttributeId" | "displayName" | "description" | "datatype" | "patientAttribute" | "priority" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "clinicalAttributeId" | "datatype" | "description" | "displayName" | "patientAttribute" | "priority" | "studyId", 'studyId': string, $queryParameters ? : any }): string { @@ -5595,8 +5601,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "clinicalAttributeId" | "displayName" | "description" | "datatype" | "patientAttribute" | "priority" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "clinicalAttributeId" | "datatype" | "description" | "displayName" | "patientAttribute" | "priority" | "studyId", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -5666,8 +5672,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "clinicalAttributeId" | "displayName" | "description" | "datatype" | "patientAttribute" | "priority" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "clinicalAttributeId" | "datatype" | "description" | "displayName" | "patientAttribute" | "priority" | "studyId", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -5768,11 +5774,11 @@ export default class CBioPortalAPI { }; getAllClinicalDataInStudyUsingGETURL(parameters: { 'attributeId' ? : string, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, $queryParameters ? : any @@ -5834,11 +5840,11 @@ export default class CBioPortalAPI { */ getAllClinicalDataInStudyUsingGETWithHttpInfo(parameters: { 'attributeId' ? : string, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, $queryParameters ? : any, @@ -5917,11 +5923,11 @@ export default class CBioPortalAPI { */ getAllClinicalDataInStudyUsingGET(parameters: { 'attributeId' ? : string, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, $queryParameters ? : any, @@ -5934,8 +5940,8 @@ export default class CBioPortalAPI { }; fetchAllClinicalDataInStudyUsingPOSTURL(parameters: { 'clinicalDataSingleStudyFilter': ClinicalDataSingleStudyFilter, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyId': string, $queryParameters ? : any }): string { @@ -5973,8 +5979,8 @@ export default class CBioPortalAPI { */ fetchAllClinicalDataInStudyUsingPOSTWithHttpInfo(parameters: { 'clinicalDataSingleStudyFilter': ClinicalDataSingleStudyFilter, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6038,8 +6044,8 @@ export default class CBioPortalAPI { */ fetchAllClinicalDataInStudyUsingPOST(parameters: { 'clinicalDataSingleStudyFilter': ClinicalDataSingleStudyFilter, - 'clinicalDataType' ? : "SAMPLE" | "PATIENT", - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'clinicalDataType' ? : "PATIENT" | "SAMPLE", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6053,8 +6059,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "molecularProfileId" | "molecularAlterationType" | "datatype" | "name" | "description" | "showProfileInAnalysisTab", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "datatype" | "description" | "molecularAlterationType" | "molecularProfileId" | "name" | "showProfileInAnalysisTab", 'studyId': string, $queryParameters ? : any }): string { @@ -6107,8 +6113,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "molecularProfileId" | "molecularAlterationType" | "datatype" | "name" | "description" | "showProfileInAnalysisTab", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "datatype" | "description" | "molecularAlterationType" | "molecularProfileId" | "name" | "showProfileInAnalysisTab", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6178,8 +6184,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "molecularProfileId" | "molecularAlterationType" | "datatype" | "name" | "description" | "showProfileInAnalysisTab", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "datatype" | "description" | "molecularAlterationType" | "molecularProfileId" | "name" | "showProfileInAnalysisTab", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6193,7 +6199,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyId': string, $queryParameters ? : any }): string { @@ -6244,7 +6250,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6312,7 +6318,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6417,7 +6423,7 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, $queryParameters ? : any @@ -6480,7 +6486,7 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, $queryParameters ? : any, @@ -6566,7 +6572,7 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, $queryParameters ? : any, @@ -6582,7 +6588,7 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", 'studyId': string, $queryParameters ? : any @@ -6639,7 +6645,7 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", 'studyId': string, $queryParameters ? : any, @@ -6719,7 +6725,7 @@ export default class CBioPortalAPI { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", 'studyId': string, $queryParameters ? : any, @@ -6734,8 +6740,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "sampleListId" | "category" | "studyId" | "name" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "category" | "description" | "name" | "sampleListId" | "studyId", 'studyId': string, $queryParameters ? : any }): string { @@ -6788,8 +6794,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "sampleListId" | "category" | "studyId" | "name" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "category" | "description" | "name" | "sampleListId" | "studyId", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6859,8 +6865,8 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "sampleListId" | "category" | "studyId" | "name" | "description", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "category" | "description" | "name" | "sampleListId" | "studyId", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6874,7 +6880,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", 'studyId': string, $queryParameters ? : any @@ -6928,7 +6934,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", 'studyId': string, $queryParameters ? : any, @@ -6999,7 +7005,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "sampleId" | "sampleType", 'studyId': string, $queryParameters ? : any, @@ -7104,7 +7110,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleId': string, 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, @@ -7167,7 +7173,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleId': string, 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, @@ -7253,7 +7259,7 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleId': string, 'sortBy' ? : "clinicalAttributeId" | "value", 'studyId': string, @@ -7270,9 +7276,9 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleId': string, - 'sortBy' ? : "chromosome" | "start" | "end" | "numberOfProbes" | "segmentMean", + 'sortBy' ? : "chromosome" | "end" | "numberOfProbes" | "segmentMean" | "start", 'studyId': string, $queryParameters ? : any }): string { @@ -7333,9 +7339,9 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleId': string, - 'sortBy' ? : "chromosome" | "start" | "end" | "numberOfProbes" | "segmentMean", + 'sortBy' ? : "chromosome" | "end" | "numberOfProbes" | "segmentMean" | "start", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -7419,9 +7425,9 @@ export default class CBioPortalAPI { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sampleId': string, - 'sortBy' ? : "chromosome" | "start" | "end" | "numberOfProbes" | "segmentMean", + 'sortBy' ? : "chromosome" | "end" | "numberOfProbes" | "segmentMean" | "start", 'studyId': string, $queryParameters ? : any, $domain ? : string diff --git a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json index ff1467894f9..8538aa9df9d 100644 --- a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json +++ b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal-docs.json @@ -146,10 +146,9 @@ "required": false, "type": "string", "default": "SAMPLE", - "allowEmptyValue": false, "enum": [ - "SAMPLE", - "PATIENT" + "PATIENT", + "SAMPLE" ] }, { @@ -172,8 +171,7 @@ } } } - }, - "deprecated": false + } } }, "/cache": { @@ -187,21 +185,20 @@ "text/plain" ], "parameters": [ - { - "name": "X-API-KEY", - "in": "header", - "description": "Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance.", - "required": false, - "type": "string" - }, { "name": "springManagedCache", "in": "query", "description": "Clear Spring-managed caches", "required": false, "type": "boolean", - "default": true, - "allowEmptyValue": false + "default": true + }, + { + "name": "X-API-KEY", + "in": "header", + "description": "Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance.", + "required": true, + "type": "string" } ], "responses": { @@ -211,8 +208,7 @@ "type": "string" } } - }, - "deprecated": false + } } }, "/cache/{studyId}": { @@ -226,21 +222,13 @@ "text/plain" ], "parameters": [ - { - "name": "X-API-KEY", - "in": "header", - "description": "Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance.", - "required": false, - "type": "string" - }, { "name": "springManagedCache", "in": "query", "description": "Clear Spring-managed caches", "required": false, "type": "boolean", - "default": true, - "allowEmptyValue": false + "default": true }, { "name": "studyId", @@ -248,6 +236,13 @@ "description": "studyId", "required": true, "type": "string" + }, + { + "name": "X-API-KEY", + "in": "header", + "description": "Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance.", + "required": true, + "type": "string" } ], "responses": { @@ -257,8 +252,7 @@ "type": "string" } } - }, - "deprecated": false + } } }, "/clinical-attributes/counts/fetch": { @@ -295,8 +289,7 @@ } } } - }, - "deprecated": false + } } }, "/clinical-data-bin-counts/fetch": { @@ -329,10 +322,9 @@ "required": false, "type": "string", "default": "DYNAMIC", - "allowEmptyValue": false, "enum": [ - "STATIC", - "DYNAMIC" + "DYNAMIC", + "STATIC" ] } ], @@ -346,8 +338,7 @@ } } } - }, - "deprecated": false + } } }, "/clinical-data-counts/fetch": { @@ -384,8 +375,7 @@ } } } - }, - "deprecated": false + } } }, "/clinical-data-density-plot/fetch": { @@ -416,8 +406,7 @@ "in": "query", "description": "Clinical Attribute ID of the X axis", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "xAxisBinCount", @@ -426,16 +415,14 @@ "required": false, "type": "integer", "default": 50, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "xAxisEnd", "in": "query", "description": "Starting point of the X axis, if different than largest value", "required": false, - "type": "number", - "allowEmptyValue": false + "type": "number" }, { "name": "xAxisLogScale", @@ -443,25 +430,21 @@ "description": "Use log scale for X axis", "required": false, "type": "boolean", - "default": false, - "allowEmptyValue": false, - "x-example": false + "default": false }, { "name": "xAxisStart", "in": "query", "description": "Starting point of the X axis, if different than smallest value", "required": false, - "type": "number", - "allowEmptyValue": false + "type": "number" }, { "name": "yAxisAttributeId", "in": "query", "description": "Clinical Attribute ID of the Y axis", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "yAxisBinCount", @@ -470,16 +453,14 @@ "required": false, "type": "integer", "default": 50, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "yAxisEnd", "in": "query", "description": "Starting point of the Y axis, if different than largest value", "required": false, - "type": "number", - "allowEmptyValue": false + "type": "number" }, { "name": "yAxisLogScale", @@ -487,17 +468,14 @@ "description": "Use log scale for Y axis", "required": false, "type": "boolean", - "default": false, - "allowEmptyValue": false, - "x-example": false + "default": false }, { "name": "yAxisStart", "in": "query", "description": "Starting point of the Y axis, if different than smallest value", "required": false, - "type": "number", - "allowEmptyValue": false + "type": "number" } ], "responses": { @@ -507,8 +485,7 @@ "$ref": "#/definitions/DensityPlotData" } } - }, - "deprecated": false + } } }, "/clinical-data-enrichments/fetch": { @@ -545,8 +522,7 @@ } } } - }, - "deprecated": false + } } }, "/clinical-data-violin-plots/fetch": { @@ -568,24 +544,21 @@ "in": "query", "description": "Ending point of the violin plot axis, if different than largest value", "required": false, - "type": "number", - "allowEmptyValue": false + "type": "number" }, { "name": "axisStart", "in": "query", "description": "Starting point of the violin plot axis, if different than smallest value", "required": false, - "type": "number", - "allowEmptyValue": false + "type": "number" }, { "name": "categoricalAttributeId", "in": "query", "description": "Clinical Attribute ID of the categorical attribute", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "logScale", @@ -593,9 +566,7 @@ "description": "Use log scale for the numerical attribute", "required": false, "type": "boolean", - "default": false, - "allowEmptyValue": false, - "x-example": false + "default": false }, { "name": "numCurvePoints", @@ -603,16 +574,14 @@ "description": "Number of points in the curve", "required": false, "type": "number", - "default": 100, - "allowEmptyValue": false + "default": 100 }, { "name": "numericalAttributeId", "in": "query", "description": "Clinical Attribute ID of the numerical attribute", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "sigmaMultiplier", @@ -620,8 +589,7 @@ "description": "Sigma stepsize multiplier", "required": false, "type": "number", - "default": 1, - "allowEmptyValue": false + "default": 1 }, { "in": "body", @@ -640,8 +608,7 @@ "$ref": "#/definitions/ClinicalViolinPlotData" } } - }, - "deprecated": false + } } }, "/cna-genes/fetch": { @@ -678,8 +645,7 @@ } } } - }, - "deprecated": false + } } }, "/cosmic-counts/fetch": { @@ -719,8 +685,7 @@ } } } - }, - "deprecated": false + } } }, "/custom-data-counts/fetch": { @@ -757,8 +722,7 @@ } } } - }, - "deprecated": false + } } }, "/custom-driver-annotation-report/fetch": { @@ -795,8 +759,7 @@ "$ref": "#/definitions/CustomDriverAnnotationReport" } } - }, - "deprecated": false + } } }, "/data-access-token": { @@ -848,8 +811,7 @@ "type": "string" } } - }, - "deprecated": false + } } }, "/data-access-tokens": { @@ -904,8 +866,7 @@ } } } - }, - "deprecated": false + } }, "post": { "tags": [ @@ -958,8 +919,7 @@ "$ref": "#/definitions/DataAccessToken" } } - }, - "deprecated": false + } }, "delete": { "tags": [ @@ -1006,8 +966,7 @@ "200": { "description": "OK" } - }, - "deprecated": false + } } }, "/data-access-tokens/{token}": { @@ -1036,8 +995,7 @@ "$ref": "#/definitions/DataAccessToken" } } - }, - "deprecated": false + } }, "delete": { "tags": [ @@ -1061,8 +1019,7 @@ "200": { "description": "OK" } - }, - "deprecated": false + } } }, "/expression-enrichments/fetch": { @@ -1086,10 +1043,9 @@ "required": false, "type": "string", "default": "SAMPLE", - "allowEmptyValue": false, "enum": [ - "SAMPLE", - "PATIENT" + "PATIENT", + "SAMPLE" ] }, { @@ -1115,8 +1071,7 @@ } } } - }, - "deprecated": false + } } }, "/filtered-samples/fetch": { @@ -1139,9 +1094,7 @@ "description": "Whether to negate the study view filters", "required": false, "type": "boolean", - "default": false, - "allowEmptyValue": false, - "x-example": false + "default": false }, { "in": "body", @@ -1163,8 +1116,7 @@ } } } - }, - "deprecated": false + } } }, "/generic-assay-data-bin-counts/fetch": { @@ -1188,10 +1140,9 @@ "required": false, "type": "string", "default": "DYNAMIC", - "allowEmptyValue": false, "enum": [ - "STATIC", - "DYNAMIC" + "DYNAMIC", + "STATIC" ] }, { @@ -1214,8 +1165,7 @@ } } } - }, - "deprecated": false + } } }, "/generic-assay-data-counts/fetch": { @@ -1252,8 +1202,7 @@ } } } - }, - "deprecated": false + } } }, "/generic-assay-enrichments/fetch": { @@ -1277,10 +1226,9 @@ "required": false, "type": "string", "default": "SAMPLE", - "allowEmptyValue": false, "enum": [ - "SAMPLE", - "PATIENT" + "PATIENT", + "SAMPLE" ] }, { @@ -1306,8 +1254,7 @@ } } } - }, - "deprecated": false + } } }, "/geneset-hierarchy/fetch": { @@ -1329,8 +1276,7 @@ "in": "query", "description": "Genetic Profile ID e.g. gbm_tcga_gsva_scores. The final hierarchy will only include gene sets scored in the specified profile.", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "percentile", @@ -1343,8 +1289,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pvalueThreshold", @@ -1357,8 +1302,7 @@ "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, - "format": "double", - "allowEmptyValue": false + "format": "double" }, { "in": "body", @@ -1377,8 +1321,7 @@ "in": "query", "description": "Identifier of pre-defined sample list with samples to query, e.g. brca_tcga_all", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "scoreThreshold", @@ -1391,8 +1334,7 @@ "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, - "format": "double", - "allowEmptyValue": false + "format": "double" } ], "responses": { @@ -1405,8 +1347,7 @@ } } } - }, - "deprecated": false + } } }, "/genesets": { @@ -1429,8 +1370,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -1443,8 +1383,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -1453,12 +1392,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] } ], @@ -1472,8 +1410,7 @@ } } } - }, - "deprecated": false + } } }, "/genesets/fetch": { @@ -1513,8 +1450,7 @@ } } } - }, - "deprecated": false + } } }, "/genesets/version": { @@ -1534,8 +1470,7 @@ "type": "string" } } - }, - "deprecated": false + } } }, "/genesets/{genesetId}": { @@ -1564,8 +1499,7 @@ "$ref": "#/definitions/Geneset" } } - }, - "deprecated": false + } } }, "/genesets/{genesetId}/expression-correlation/fetch": { @@ -1593,8 +1527,7 @@ "exclusiveMaximum": false, "minimum": 0, "exclusiveMinimum": false, - "format": "double", - "allowEmptyValue": false + "format": "double" }, { "name": "genesetId", @@ -1608,8 +1541,7 @@ "in": "query", "description": "Genetic Profile ID e.g. gbm_tcga_gsva_scores", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "in": "body", @@ -1628,8 +1560,7 @@ "in": "query", "description": "Identifier of pre-defined sample list with samples to query, e.g. brca_tcga_all", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" } ], "responses": { @@ -1642,8 +1573,7 @@ } } } - }, - "deprecated": false + } } }, "/genetic-profiles/{geneticProfileId}/geneset-genetic-data/fetch": { @@ -1687,8 +1617,7 @@ } } } - }, - "deprecated": false + } } }, "/genomic-data-bin-counts/fetch": { @@ -1712,10 +1641,9 @@ "required": false, "type": "string", "default": "DYNAMIC", - "allowEmptyValue": false, "enum": [ - "STATIC", - "DYNAMIC" + "DYNAMIC", + "STATIC" ] }, { @@ -1738,8 +1666,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profile-sample-counts/fetch": { @@ -1776,8 +1703,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/co-expressions/fetch": { @@ -1808,16 +1734,14 @@ "in": "query", "description": "Molecular Profile ID from the Genetic Entity referenced in the co-expression filter e.g. acc_tcga_rna_seq_v2_mrna", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "molecularProfileIdB", "in": "query", "description": "Molecular Profile ID (can be the same as molecularProfileIdA) e.g. acc_tcga_rna_seq_v2_mrna", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "threshold", @@ -1826,8 +1750,7 @@ "required": false, "type": "number", "default": 0.3, - "format": "double", - "allowEmptyValue": false + "format": "double" } ], "responses": { @@ -1840,8 +1763,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/discrete-copy-number-counts/fetch": { @@ -1888,8 +1810,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/mrna-percentile/fetch": { @@ -1931,8 +1852,7 @@ "in": "query", "description": "Sample ID e.g. TCGA-OR-A5J2-01", "required": true, - "type": "string", - "allowEmptyValue": false + "type": "string" } ], "responses": { @@ -1945,8 +1865,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/mutation-spectrums/fetch": { @@ -1990,8 +1909,7 @@ } } } - }, - "deprecated": false + } } }, "/molecular-profiles/{molecularProfileId}/variant-counts/fetch": { @@ -2038,8 +1956,7 @@ } } } - }, - "deprecated": false + } } }, "/mutated-genes/fetch": { @@ -2076,8 +1993,7 @@ } } } - }, - "deprecated": false + } } }, "/mutation-counts-by-position/fetch": { @@ -2117,8 +2033,7 @@ } } } - }, - "deprecated": false + } } }, "/reference-genome-genes/{genomeName}": { @@ -2150,8 +2065,7 @@ } } } - }, - "deprecated": false + } } }, "/reference-genome-genes/{genomeName}/fetch": { @@ -2198,8 +2112,7 @@ } } } - }, - "deprecated": false + } } }, "/reference-genome-genes/{genomeName}/{geneId}": { @@ -2236,8 +2149,7 @@ "$ref": "#/definitions/ReferenceGenomeGene" } } - }, - "deprecated": false + } } }, "/resource-definitions/fetch": { @@ -2261,12 +2173,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2292,8 +2203,7 @@ } } } - }, - "deprecated": false + } } }, "/sample-lists-counts/fetch": { @@ -2330,8 +2240,7 @@ } } } - }, - "deprecated": false + } } }, "/structural-variant/fetch": { @@ -2357,9 +2266,7 @@ "type": "integer", "format": "int32" }, - "collectionFormat": "multi", - "maximum": 10000000, - "minimum": 0 + "collectionFormat": "multi" }, { "name": "molecularProfileIds", @@ -2369,9 +2276,7 @@ "items": { "type": "string" }, - "collectionFormat": "multi", - "maximum": 10000000, - "minimum": 0 + "collectionFormat": "multi" }, { "name": "sampleMolecularIdentifiers[0].molecularProfileId", @@ -2405,8 +2310,7 @@ } } } - }, - "deprecated": false + } } }, "/structuralvariant-genes/fetch": { @@ -2443,8 +2347,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/clinical-events": { @@ -2465,7 +2368,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2480,8 +2382,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2494,8 +2395,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2504,12 +2404,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2518,11 +2417,10 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ + "endNumberOfDaysSinceDiagnosis", "eventType", - "startNumberOfDaysSinceDiagnosis", - "endNumberOfDaysSinceDiagnosis" + "startNumberOfDaysSinceDiagnosis" ] }, { @@ -2543,8 +2441,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/patients/{patientId}/clinical-events": { @@ -2565,7 +2462,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2580,8 +2476,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2594,8 +2489,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "patientId", @@ -2611,12 +2505,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2625,11 +2518,10 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ + "endNumberOfDaysSinceDiagnosis", "eventType", - "startNumberOfDaysSinceDiagnosis", - "endNumberOfDaysSinceDiagnosis" + "startNumberOfDaysSinceDiagnosis" ] }, { @@ -2650,8 +2542,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/patients/{patientId}/resource-data": { @@ -2672,7 +2563,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2687,8 +2577,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2701,8 +2590,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "patientId", @@ -2718,12 +2606,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2731,8 +2618,7 @@ "in": "query", "description": "Resource ID", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "sortBy", @@ -2740,7 +2626,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "ResourceId", "url" @@ -2764,8 +2649,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/resource-data": { @@ -2786,7 +2670,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2801,8 +2684,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2815,8 +2697,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2825,12 +2706,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2838,8 +2718,7 @@ "in": "query", "description": "Resource ID", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "sortBy", @@ -2847,7 +2726,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "ResourceId", "url" @@ -2871,8 +2749,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/resource-definitions": { @@ -2893,7 +2770,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -2908,8 +2784,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -2922,8 +2797,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -2932,12 +2806,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -2946,14 +2819,13 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ - "resourceId", - "displayName", "description", - "resourceType", - "priority", + "displayName", "openByDefault", + "priority", + "resourceId", + "resourceType", "studyId" ] }, @@ -2975,8 +2847,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/resource-definitions/{resourceId}": { @@ -3012,8 +2883,7 @@ "$ref": "#/definitions/ResourceDefinition" } } - }, - "deprecated": false + } } }, "/studies/{studyId}/samples/{sampleId}/resource-data": { @@ -3034,7 +2904,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3049,8 +2918,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3063,8 +2931,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3073,12 +2940,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3086,8 +2952,7 @@ "in": "query", "description": "Resource ID", "required": false, - "type": "string", - "allowEmptyValue": false + "type": "string" }, { "name": "sampleId", @@ -3102,7 +2967,6 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "ResourceId", "url" @@ -3126,8 +2990,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/significant-copy-number-regions": { @@ -3148,7 +3011,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3163,8 +3025,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3177,8 +3038,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3187,12 +3047,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3201,14 +3060,13 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ + "amp", "chromosome", "cytoband", - "widePeakStart", - "widePeakEnd", "qValue", - "amp" + "widePeakEnd", + "widePeakStart" ] }, { @@ -3229,8 +3087,7 @@ } } } - }, - "deprecated": false + } } }, "/studies/{studyId}/significantly-mutated-genes": { @@ -3251,7 +3108,6 @@ "required": false, "type": "string", "default": "ASC", - "allowEmptyValue": false, "enum": [ "ASC", "DESC" @@ -3266,8 +3122,7 @@ "default": 0, "minimum": 0, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "pageSize", @@ -3280,8 +3135,7 @@ "exclusiveMaximum": false, "minimum": 1, "exclusiveMinimum": false, - "format": "int32", - "allowEmptyValue": false + "format": "int32" }, { "name": "projection", @@ -3290,12 +3144,11 @@ "required": false, "type": "string", "default": "SUMMARY", - "allowEmptyValue": false, "enum": [ - "ID", - "SUMMARY", "DETAILED", - "META" + "ID", + "META", + "SUMMARY" ] }, { @@ -3304,14 +3157,13 @@ "description": "Name of the property that the result list is sorted by", "required": false, "type": "string", - "allowEmptyValue": false, "enum": [ "entrezGeneId", "hugoGeneSymbol", - "rank", "numberOfMutations", "pValue", - "qValue" + "qValue", + "rank" ] }, { @@ -3332,8 +3184,7 @@ } } } - }, - "deprecated": false + } } }, "/timestamps": { @@ -3356,8 +3207,7 @@ } } } - }, - "deprecated": false + } } } }, @@ -3374,6 +3224,7 @@ }, "matchingGenePanelIds": { "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -3633,10 +3484,10 @@ "binMethod": { "type": "string", "enum": [ - "MEDIAN", - "QUARTILE", "CUSTOM", - "GENERATE" + "GENERATE", + "MEDIAN", + "QUARTILE" ] }, "binsGeneratorConfig": { @@ -3905,9 +3756,9 @@ "type": "string", "enum": [ "GENE", + "GENERIC_ASSAY", "GENESET", - "PHOSPHOPROTEIN", - "GENERIC_ASSAY" + "PHOSPHOPROTEIN" ] }, "pValue": { @@ -3992,6 +3843,7 @@ }, "matchingGenePanelIds": { "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -4082,6 +3934,7 @@ }, "tiers": { "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -4189,6 +4042,7 @@ }, "molecularProfileIds": { "type": "array", + "uniqueItems": true, "items": { "type": "string" } @@ -4205,8 +4059,8 @@ "type": "string", "enum": [ "AMP", - "GAIN", "DIPLOID", + "GAIN", "HETLOSS", "HOMDEL" ] @@ -4295,10 +4149,10 @@ "binMethod": { "type": "string", "enum": [ - "MEDIAN", - "QUARTILE", "CUSTOM", - "GENERATE" + "GENERATE", + "MEDIAN", + "QUARTILE" ] }, "binsGeneratorConfig": { @@ -4608,10 +4462,10 @@ "binMethod": { "type": "string", "enum": [ - "MEDIAN", - "QUARTILE", "CUSTOM", - "GENERATE" + "GENERATE", + "MEDIAN", + "QUARTILE" ] }, "binsGeneratorConfig": { @@ -5197,9 +5051,9 @@ "resourceType": { "type": "string", "enum": [ - "STUDY", + "PATIENT", "SAMPLE", - "PATIENT" + "STUDY" ] }, "studyId": { @@ -5231,13 +5085,13 @@ "sampleType": { "type": "string", "enum": [ - "Primary Solid Tumor", - "Recurrent Solid Tumor", - "Primary Blood Tumor", - "Recurrent Blood Tumor", - "Metastatic", - "Blood Derived Normal", - "Solid Tissues Normal" + "BLOOD_NORMAL", + "METASTATIC", + "PRIMARY_BLOOD_TUMOR", + "PRIMARY_SOLID_TUMOR", + "RECURRENT_BLOOD_TUMOR", + "RECURRENT_SOLID_TUMOR", + "SOLID_NORMAL" ] }, "sequenced": { @@ -5285,8 +5139,8 @@ "time": { "type": "string", "enum": [ - "Pre", - "Post" + "Post", + "Pre" ] }, "treatment": { @@ -5458,9 +5312,7 @@ "type": "array", "items": { "type": "integer", - "format": "int32", - "minimum": 0, - "maximum": 10000000 + "format": "int32" } }, "molecularProfileIds": { diff --git a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal.ts b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal.ts index 2af7e8dfa31..86474a4e28a 100644 --- a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal.ts +++ b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal.ts @@ -124,7 +124,7 @@ export type ClinicalDataBinCountFilter = { export type ClinicalDataBinFilter = { 'attributeId': string - 'binMethod': "MEDIAN" | "QUARTILE" | "CUSTOM" | "GENERATE" + 'binMethod': "CUSTOM" | "GENERATE" | "MEDIAN" | "QUARTILE" 'binsGeneratorConfig': BinsGeneratorConfig @@ -238,7 +238,7 @@ export type ClinicalViolinPlotRowData = { export type CoExpression = { 'geneticEntityId': string - 'geneticEntityType': "GENE" | "GENESET" | "PHOSPHOPROTEIN" | "GENERIC_ASSAY" + 'geneticEntityType': "GENE" | "GENERIC_ASSAY" | "GENESET" | "PHOSPHOPROTEIN" 'pValue': number @@ -367,7 +367,7 @@ export type GeneFilter = { }; export type GeneFilterQuery = { - 'alterations': Array < "AMP" | "GAIN" | "DIPLOID" | "HETLOSS" | "HOMDEL" > + 'alterations': Array < "AMP" | "DIPLOID" | "GAIN" | "HETLOSS" | "HOMDEL" > 'entrezGeneId': number @@ -411,7 +411,7 @@ export type GenericAssayDataBinCountFilter = { }; export type GenericAssayDataBinFilter = { - 'binMethod': "MEDIAN" | "QUARTILE" | "CUSTOM" | "GENERATE" + 'binMethod': "CUSTOM" | "GENERATE" | "MEDIAN" | "QUARTILE" 'binsGeneratorConfig': BinsGeneratorConfig @@ -555,7 +555,7 @@ export type GenomicDataBinCountFilter = { }; export type GenomicDataBinFilter = { - 'binMethod': "MEDIAN" | "QUARTILE" | "CUSTOM" | "GENERATE" + 'binMethod': "CUSTOM" | "GENERATE" | "MEDIAN" | "QUARTILE" 'binsGeneratorConfig': BinsGeneratorConfig @@ -803,7 +803,7 @@ export type ResourceDefinition = { 'resourceId': string - 'resourceType': "STUDY" | "SAMPLE" | "PATIENT" + 'resourceType': "PATIENT" | "SAMPLE" | "STUDY" 'studyId': string @@ -817,7 +817,7 @@ export type Sample = { 'sampleId': string - 'sampleType': "Primary Solid Tumor" | "Recurrent Solid Tumor" | "Primary Blood Tumor" | "Recurrent Blood Tumor" | "Metastatic" | "Blood Derived Normal" | "Solid Tissues Normal" + 'sampleType': "BLOOD_NORMAL" | "METASTATIC" | "PRIMARY_BLOOD_TUMOR" | "PRIMARY_SOLID_TUMOR" | "RECURRENT_BLOOD_TUMOR" | "RECURRENT_SOLID_TUMOR" | "SOLID_NORMAL" 'sequenced': boolean @@ -841,7 +841,7 @@ export type SampleMolecularIdentifier = { }; export type SampleTreatmentFilter = { - 'time': "Pre" | "Post" + 'time': "Post" | "Pre" 'treatment': string @@ -1058,7 +1058,7 @@ export default class CBioPortalAPIInternal { } fetchAlterationEnrichmentsUsingPOSTURL(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groupsAndAlterationTypes': MolecularProfileCasesGroupAndAlterationTypeFilter, $queryParameters ? : any }): string { @@ -1086,7 +1086,7 @@ export default class CBioPortalAPIInternal { * @param {} groupsAndAlterationTypes - List of groups containing sample identifiers and list of Alteration Types */ fetchAlterationEnrichmentsUsingPOSTWithHttpInfo(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groupsAndAlterationTypes': MolecularProfileCasesGroupAndAlterationTypeFilter, $queryParameters ? : any, $domain ? : string @@ -1136,7 +1136,7 @@ export default class CBioPortalAPIInternal { * @param {} groupsAndAlterationTypes - List of groups containing sample identifiers and list of Alteration Types */ fetchAlterationEnrichmentsUsingPOST(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groupsAndAlterationTypes': MolecularProfileCasesGroupAndAlterationTypeFilter, $queryParameters ? : any, $domain ? : string @@ -1147,13 +1147,12 @@ export default class CBioPortalAPIInternal { }); }; clearAllCachesUsingDELETEURL(parameters: { - 'xApiKey' ? : string, 'springManagedCache' ? : boolean, + 'xApiKey': string, $queryParameters ? : any }): string { let queryParameters: any = {}; let path = '/cache'; - if (parameters['springManagedCache'] !== undefined) { queryParameters['springManagedCache'] = parameters['springManagedCache']; } @@ -1172,12 +1171,12 @@ export default class CBioPortalAPIInternal { * Clear and reinitialize caches * @method * @name CBioPortalAPIInternal#clearAllCachesUsingDELETE - * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. * @param {boolean} springManagedCache - Clear Spring-managed caches + * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. */ clearAllCachesUsingDELETEWithHttpInfo(parameters: { - 'xApiKey' ? : string, 'springManagedCache' ? : boolean, + 'xApiKey': string, $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1192,12 +1191,17 @@ export default class CBioPortalAPIInternal { return new Promise(function(resolve, reject) { headers['Accept'] = 'text/plain'; + if (parameters['springManagedCache'] !== undefined) { + queryParameters['springManagedCache'] = parameters['springManagedCache']; + } + if (parameters['xApiKey'] !== undefined) { headers['X-API-KEY'] = parameters['xApiKey']; } - if (parameters['springManagedCache'] !== undefined) { - queryParameters['springManagedCache'] = parameters['springManagedCache']; + if (parameters['xApiKey'] === undefined) { + reject(new Error('Missing required parameter: xApiKey')); + return; } if (parameters.$queryParameters) { @@ -1216,12 +1220,12 @@ export default class CBioPortalAPIInternal { * Clear and reinitialize caches * @method * @name CBioPortalAPIInternal#clearAllCachesUsingDELETE - * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. * @param {boolean} springManagedCache - Clear Spring-managed caches + * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. */ clearAllCachesUsingDELETE(parameters: { - 'xApiKey' ? : string, 'springManagedCache' ? : boolean, + 'xApiKey': string, $queryParameters ? : any, $domain ? : string }): Promise < string > { @@ -1230,14 +1234,13 @@ export default class CBioPortalAPIInternal { }); }; clearCachesForStudyUsingDELETEURL(parameters: { - 'xApiKey' ? : string, 'springManagedCache' ? : boolean, 'studyId': string, + 'xApiKey': string, $queryParameters ? : any }): string { let queryParameters: any = {}; let path = '/cache/{studyId}'; - if (parameters['springManagedCache'] !== undefined) { queryParameters['springManagedCache'] = parameters['springManagedCache']; } @@ -1258,14 +1261,14 @@ export default class CBioPortalAPIInternal { * Clear and reinitialize caches after import/removal/update of a study * @method * @name CBioPortalAPIInternal#clearCachesForStudyUsingDELETE - * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. * @param {boolean} springManagedCache - Clear Spring-managed caches * @param {string} studyId - studyId + * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. */ clearCachesForStudyUsingDELETEWithHttpInfo(parameters: { - 'xApiKey' ? : string, 'springManagedCache' ? : boolean, 'studyId': string, + 'xApiKey': string, $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1280,10 +1283,6 @@ export default class CBioPortalAPIInternal { return new Promise(function(resolve, reject) { headers['Accept'] = 'text/plain'; - if (parameters['xApiKey'] !== undefined) { - headers['X-API-KEY'] = parameters['xApiKey']; - } - if (parameters['springManagedCache'] !== undefined) { queryParameters['springManagedCache'] = parameters['springManagedCache']; } @@ -1295,6 +1294,15 @@ export default class CBioPortalAPIInternal { return; } + if (parameters['xApiKey'] !== undefined) { + headers['X-API-KEY'] = parameters['xApiKey']; + } + + if (parameters['xApiKey'] === undefined) { + reject(new Error('Missing required parameter: xApiKey')); + return; + } + if (parameters.$queryParameters) { Object.keys(parameters.$queryParameters).forEach(function(parameterName) { var parameter = parameters.$queryParameters[parameterName]; @@ -1311,14 +1319,14 @@ export default class CBioPortalAPIInternal { * Clear and reinitialize caches after import/removal/update of a study * @method * @name CBioPortalAPIInternal#clearCachesForStudyUsingDELETE - * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. * @param {boolean} springManagedCache - Clear Spring-managed caches * @param {string} studyId - studyId + * @param {string} xApiKey - Secret API key passed in HTTP header. The key is configured in portal.properties of the portal instance. */ clearCachesForStudyUsingDELETE(parameters: { - 'xApiKey' ? : string, 'springManagedCache' ? : boolean, 'studyId': string, + 'xApiKey': string, $queryParameters ? : any, $domain ? : string }): Promise < string > { @@ -1405,7 +1413,7 @@ export default class CBioPortalAPIInternal { }; fetchClinicalDataBinCountsUsingPOSTURL(parameters: { 'clinicalDataBinCountFilter': ClinicalDataBinCountFilter, - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -1434,7 +1442,7 @@ export default class CBioPortalAPIInternal { */ fetchClinicalDataBinCountsUsingPOSTWithHttpInfo(parameters: { 'clinicalDataBinCountFilter': ClinicalDataBinCountFilter, - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -1484,7 +1492,7 @@ export default class CBioPortalAPIInternal { */ fetchClinicalDataBinCountsUsingPOST(parameters: { 'clinicalDataBinCountFilter': ClinicalDataBinCountFilter, - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", $queryParameters ? : any, $domain ? : string }): Promise < Array < ClinicalDataBin > @@ -2999,7 +3007,7 @@ export default class CBioPortalAPIInternal { }); }; fetchGenomicEnrichmentsUsingPOSTURL(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groups': Array < MolecularProfileCasesGroupFilter > , $queryParameters ? : any }): string { @@ -3027,7 +3035,7 @@ export default class CBioPortalAPIInternal { * @param {} groups - List of groups containing sample and molecular profile identifiers */ fetchGenomicEnrichmentsUsingPOSTWithHttpInfo(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groups': Array < MolecularProfileCasesGroupFilter > , $queryParameters ? : any, $domain ? : string @@ -3077,7 +3085,7 @@ export default class CBioPortalAPIInternal { * @param {} groups - List of groups containing sample and molecular profile identifiers */ fetchGenomicEnrichmentsUsingPOST(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groups': Array < MolecularProfileCasesGroupFilter > , $queryParameters ? : any, $domain ? : string @@ -3177,7 +3185,7 @@ export default class CBioPortalAPIInternal { }); }; fetchGenericAssayDataBinCountsUsingPOSTURL(parameters: { - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", 'genericAssayDataBinCountFilter': GenericAssayDataBinCountFilter, $queryParameters ? : any }): string { @@ -3205,7 +3213,7 @@ export default class CBioPortalAPIInternal { * @param {} genericAssayDataBinCountFilter - Generic assay data bin count filter */ fetchGenericAssayDataBinCountsUsingPOSTWithHttpInfo(parameters: { - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", 'genericAssayDataBinCountFilter': GenericAssayDataBinCountFilter, $queryParameters ? : any, $domain ? : string @@ -3255,7 +3263,7 @@ export default class CBioPortalAPIInternal { * @param {} genericAssayDataBinCountFilter - Generic assay data bin count filter */ fetchGenericAssayDataBinCountsUsingPOST(parameters: { - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", 'genericAssayDataBinCountFilter': GenericAssayDataBinCountFilter, $queryParameters ? : any, $domain ? : string @@ -3343,7 +3351,7 @@ export default class CBioPortalAPIInternal { }); }; fetchGenericAssayEnrichmentsUsingPOSTURL(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groups': Array < MolecularProfileCasesGroupFilter > , $queryParameters ? : any }): string { @@ -3371,7 +3379,7 @@ export default class CBioPortalAPIInternal { * @param {} groups - List of groups containing sample and molecular profile identifiers */ fetchGenericAssayEnrichmentsUsingPOSTWithHttpInfo(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groups': Array < MolecularProfileCasesGroupFilter > , $queryParameters ? : any, $domain ? : string @@ -3421,7 +3429,7 @@ export default class CBioPortalAPIInternal { * @param {} groups - List of groups containing sample and molecular profile identifiers */ fetchGenericAssayEnrichmentsUsingPOST(parameters: { - 'enrichmentType' ? : "SAMPLE" | "PATIENT", + 'enrichmentType' ? : "PATIENT" | "SAMPLE", 'groups': Array < MolecularProfileCasesGroupFilter > , $queryParameters ? : any, $domain ? : string @@ -3575,7 +3583,7 @@ export default class CBioPortalAPIInternal { getAllGenesetsUsingGETURL(parameters: { 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any }): string { let queryParameters: any = {}; @@ -3613,7 +3621,7 @@ export default class CBioPortalAPIInternal { getAllGenesetsUsingGETWithHttpInfo(parameters: { 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < request.Response > { @@ -3663,7 +3671,7 @@ export default class CBioPortalAPIInternal { getAllGenesetsUsingGET(parameters: { 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", $queryParameters ? : any, $domain ? : string }): Promise < Array < Geneset > @@ -4105,7 +4113,7 @@ export default class CBioPortalAPIInternal { }); }; fetchGenomicDataBinCountsUsingPOSTURL(parameters: { - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", 'genomicDataBinCountFilter': GenomicDataBinCountFilter, $queryParameters ? : any }): string { @@ -4133,7 +4141,7 @@ export default class CBioPortalAPIInternal { * @param {} genomicDataBinCountFilter - Genomic data bin count filter */ fetchGenomicDataBinCountsUsingPOSTWithHttpInfo(parameters: { - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", 'genomicDataBinCountFilter': GenomicDataBinCountFilter, $queryParameters ? : any, $domain ? : string @@ -4183,7 +4191,7 @@ export default class CBioPortalAPIInternal { * @param {} genomicDataBinCountFilter - Genomic data bin count filter */ fetchGenomicDataBinCountsUsingPOST(parameters: { - 'dataBinMethod' ? : "STATIC" | "DYNAMIC", + 'dataBinMethod' ? : "DYNAMIC" | "STATIC", 'genomicDataBinCountFilter': GenomicDataBinCountFilter, $queryParameters ? : any, $domain ? : string @@ -5188,7 +5196,7 @@ export default class CBioPortalAPIInternal { }); }; fetchResourceDefinitionsUsingPOSTURL(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any }): string { @@ -5216,7 +5224,7 @@ export default class CBioPortalAPIInternal { * @param {} studyIds - List of Study IDs */ fetchResourceDefinitionsUsingPOSTWithHttpInfo(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -5266,7 +5274,7 @@ export default class CBioPortalAPIInternal { * @param {} studyIds - List of Study IDs */ fetchResourceDefinitionsUsingPOST(parameters: { - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'studyIds': Array < string > , $queryParameters ? : any, $domain ? : string @@ -5562,8 +5570,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "eventType" | "startNumberOfDaysSinceDiagnosis" | "endNumberOfDaysSinceDiagnosis", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "endNumberOfDaysSinceDiagnosis" | "eventType" | "startNumberOfDaysSinceDiagnosis", 'studyId': string, $queryParameters ? : any }): string { @@ -5616,8 +5624,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "eventType" | "startNumberOfDaysSinceDiagnosis" | "endNumberOfDaysSinceDiagnosis", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "endNumberOfDaysSinceDiagnosis" | "eventType" | "startNumberOfDaysSinceDiagnosis", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -5687,8 +5695,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "eventType" | "startNumberOfDaysSinceDiagnosis" | "endNumberOfDaysSinceDiagnosis", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "endNumberOfDaysSinceDiagnosis" | "eventType" | "startNumberOfDaysSinceDiagnosis", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -5703,8 +5711,8 @@ export default class CBioPortalAPIInternal { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "eventType" | "startNumberOfDaysSinceDiagnosis" | "endNumberOfDaysSinceDiagnosis", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "endNumberOfDaysSinceDiagnosis" | "eventType" | "startNumberOfDaysSinceDiagnosis", 'studyId': string, $queryParameters ? : any }): string { @@ -5760,8 +5768,8 @@ export default class CBioPortalAPIInternal { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "eventType" | "startNumberOfDaysSinceDiagnosis" | "endNumberOfDaysSinceDiagnosis", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "endNumberOfDaysSinceDiagnosis" | "eventType" | "startNumberOfDaysSinceDiagnosis", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -5840,8 +5848,8 @@ export default class CBioPortalAPIInternal { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "eventType" | "startNumberOfDaysSinceDiagnosis" | "endNumberOfDaysSinceDiagnosis", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "endNumberOfDaysSinceDiagnosis" | "eventType" | "startNumberOfDaysSinceDiagnosis", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -5856,7 +5864,7 @@ export default class CBioPortalAPIInternal { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sortBy' ? : "ResourceId" | "url", 'studyId': string, @@ -5919,7 +5927,7 @@ export default class CBioPortalAPIInternal { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sortBy' ? : "ResourceId" | "url", 'studyId': string, @@ -6005,7 +6013,7 @@ export default class CBioPortalAPIInternal { 'pageNumber' ? : number, 'pageSize' ? : number, 'patientId': string, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sortBy' ? : "ResourceId" | "url", 'studyId': string, @@ -6021,7 +6029,7 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sortBy' ? : "ResourceId" | "url", 'studyId': string, @@ -6081,7 +6089,7 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sortBy' ? : "ResourceId" | "url", 'studyId': string, @@ -6158,7 +6166,7 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sortBy' ? : "ResourceId" | "url", 'studyId': string, @@ -6174,8 +6182,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "resourceId" | "displayName" | "description" | "resourceType" | "priority" | "openByDefault" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "description" | "displayName" | "openByDefault" | "priority" | "resourceId" | "resourceType" | "studyId", 'studyId': string, $queryParameters ? : any }): string { @@ -6228,8 +6236,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "resourceId" | "displayName" | "description" | "resourceType" | "priority" | "openByDefault" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "description" | "displayName" | "openByDefault" | "priority" | "resourceId" | "resourceType" | "studyId", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6299,8 +6307,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "resourceId" | "displayName" | "description" | "resourceType" | "priority" | "openByDefault" | "studyId", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "description" | "displayName" | "openByDefault" | "priority" | "resourceId" | "resourceType" | "studyId", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6403,7 +6411,7 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sampleId': string, 'sortBy' ? : "ResourceId" | "url", @@ -6466,7 +6474,7 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sampleId': string, 'sortBy' ? : "ResourceId" | "url", @@ -6552,7 +6560,7 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'resourceId' ? : string, 'sampleId': string, 'sortBy' ? : "ResourceId" | "url", @@ -6569,8 +6577,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "chromosome" | "cytoband" | "widePeakStart" | "widePeakEnd" | "qValue" | "amp", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "amp" | "chromosome" | "cytoband" | "qValue" | "widePeakEnd" | "widePeakStart", 'studyId': string, $queryParameters ? : any }): string { @@ -6623,8 +6631,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "chromosome" | "cytoband" | "widePeakStart" | "widePeakEnd" | "qValue" | "amp", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "amp" | "chromosome" | "cytoband" | "qValue" | "widePeakEnd" | "widePeakStart", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6694,8 +6702,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "chromosome" | "cytoband" | "widePeakStart" | "widePeakEnd" | "qValue" | "amp", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "amp" | "chromosome" | "cytoband" | "qValue" | "widePeakEnd" | "widePeakStart", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6709,8 +6717,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "rank" | "numberOfMutations" | "pValue" | "qValue", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "numberOfMutations" | "pValue" | "qValue" | "rank", 'studyId': string, $queryParameters ? : any }): string { @@ -6763,8 +6771,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "rank" | "numberOfMutations" | "pValue" | "qValue", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "numberOfMutations" | "pValue" | "qValue" | "rank", 'studyId': string, $queryParameters ? : any, $domain ? : string @@ -6834,8 +6842,8 @@ export default class CBioPortalAPIInternal { 'direction' ? : "ASC" | "DESC", 'pageNumber' ? : number, 'pageSize' ? : number, - 'projection' ? : "ID" | "SUMMARY" | "DETAILED" | "META", - 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "rank" | "numberOfMutations" | "pValue" | "qValue", + 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", + 'sortBy' ? : "entrezGeneId" | "hugoGeneSymbol" | "numberOfMutations" | "pValue" | "qValue" | "rank", 'studyId': string, $queryParameters ? : any, $domain ? : string diff --git a/src/pages/resultsView/ResultsViewPageStore.spec.ts b/src/pages/resultsView/ResultsViewPageStore.spec.ts index 851cb266c96..076ba01cd59 100644 --- a/src/pages/resultsView/ResultsViewPageStore.spec.ts +++ b/src/pages/resultsView/ResultsViewPageStore.spec.ts @@ -93,7 +93,7 @@ describe('extendSamplesWithCancerType', () => { var arg0: Sample[]; beforeEach(() => { - arg0 = [ + arg0 = ([ { uniqueSampleKey: 'QlRfNTQ5OmNlbGxsaW5lX25jaTYw', uniquePatientKey: 'QlRfNTQ5OmNlbGxsaW5lX25jaTYw', @@ -102,7 +102,7 @@ describe('extendSamplesWithCancerType', () => { patientId: 'BT_549', studyId: 'cellline_nci60', }, - ] as Sample[]; + ] as unknown) as Sample[]; }); it('when both CANCER_TYPE and CANCER_TYPE_DETAILED are present, should populated appropriately', () => { diff --git a/src/pages/resultsView/ResultsViewPageStoreUtils.spec.ts b/src/pages/resultsView/ResultsViewPageStoreUtils.spec.ts index e06734c567b..2a807c8e2bb 100644 --- a/src/pages/resultsView/ResultsViewPageStoreUtils.spec.ts +++ b/src/pages/resultsView/ResultsViewPageStoreUtils.spec.ts @@ -1540,7 +1540,7 @@ describe('getSampleAlteredMap', () => { }, ] as IQueriedMergedTrackCaseData[]; - var samples = [ + var samples = ([ { uniqueSampleKey: 'QjA4NTpjaG9sX251c18yMDEy', uniquePatientKey: 'QjA4NTpjaG9sX251c18yMDEy', @@ -1621,7 +1621,7 @@ describe('getSampleAlteredMap', () => { patientId: 'W040', studyId: 'chol_nus_2012', }, - ] as Sample[]; + ] as unknown) as Sample[]; const oqlQuery = '["RAS" KRAS NRAS]\n[SMAD4 RAN]\nSMAD4: MUT\nKRAS'; diff --git a/src/pages/resultsView/download/DownloadUtils.spec.ts b/src/pages/resultsView/download/DownloadUtils.spec.ts index dff53586ecc..c386687c7df 100644 --- a/src/pages/resultsView/download/DownloadUtils.spec.ts +++ b/src/pages/resultsView/download/DownloadUtils.spec.ts @@ -45,7 +45,7 @@ describe('DownloadUtils', () => { }, ]; - const samples = [ + const samples = ([ { uniqueSampleKey: 'UC0wMDAwMzc4LVQwMS1JTTM6bXNrX2ltcGFjdF8yMDE3', uniquePatientKey: 'UC0wMDAwMzc4Om1za19pbXBhY3RfMjAxNw', @@ -62,7 +62,7 @@ describe('DownloadUtils', () => { patientId: 'TCGA-EE-A20C', studyId: 'skcm_tcga', }, - ] as Sample[]; + ] as unknown) as Sample[]; const sampleDataWithNoAlteration: (ExtendedAlteration & AnnotatedMutation)[] = []; diff --git a/src/pages/studyView/addChartButton/customCaseSelection/CustomCaseSelectionUtils.spec.ts b/src/pages/studyView/addChartButton/customCaseSelection/CustomCaseSelectionUtils.spec.ts index f225c786525..bee7e1d6d17 100644 --- a/src/pages/studyView/addChartButton/customCaseSelection/CustomCaseSelectionUtils.spec.ts +++ b/src/pages/studyView/addChartButton/customCaseSelection/CustomCaseSelectionUtils.spec.ts @@ -17,7 +17,7 @@ import { Sample } from 'cbioportal-ts-api-client'; describe('CustomCaseSelectionUtils', () => { describe('getData', () => { - const s1 = { + const s1 = ({ studyId: 's1', sampleId: 'c1', patientId: 'p1', @@ -26,9 +26,9 @@ describe('CustomCaseSelectionUtils', () => { sequenced: true, uniquePatientKey: 's1_p1', uniqueSampleKey: 's1_c1', - } as Sample; + } as unknown) as Sample; - const s2 = { + const s2 = ({ studyId: 's1', sampleId: 'c2', patientId: 'p2', @@ -37,7 +37,7 @@ describe('CustomCaseSelectionUtils', () => { sequenced: true, uniquePatientKey: 's1_p2', uniqueSampleKey: 's1_c2', - } as Sample; + } as unknown) as Sample; it("group name should be Selected when it's not specified by user", () => { const sampleIdentifiersWithData = getData( @@ -146,7 +146,7 @@ describe('CustomCaseSelectionUtils', () => { }); describe('validateLines', () => { - const st1 = _.map(new Array(10), (item, index) => { + const st1 = (_.map(new Array(10), (item, index) => { return { studyId: 'chol_nus_2012', sampleId: 's' + index, @@ -157,9 +157,9 @@ describe('CustomCaseSelectionUtils', () => { uniquePatientKey: 'chol_nus_2012_p' + index, uniqueSampleKey: 'chol_nus_2012_s' + index, }; - }) as Sample[]; + }) as unknown) as Sample[]; - const st2 = _.map(new Array(5), (item, index) => { + const st2 = (_.map(new Array(5), (item, index) => { return { studyId: 'lgg_tcga', sampleId: 's' + index, @@ -170,7 +170,7 @@ describe('CustomCaseSelectionUtils', () => { uniquePatientKey: 'lgg_tcga_p' + index, uniqueSampleKey: 'lgg_tcga_s' + index, }; - }) as Sample[]; + }) as unknown) as Sample[]; it('In multiple studies, study id needs to be specified', () => { const lines: InputLine[] = [