From b35ca82a0a29ca86bfcf29c0e43212aca1d51536 Mon Sep 17 00:00:00 2001 From: lismana Date: Mon, 30 Oct 2023 10:09:59 -0400 Subject: [PATCH] Update API clients --- .../src/generated/GenomeNexusAPI-docs.json | 113 +++++++++--------- .../src/generated/GenomeNexusAPI.ts | 52 ++++---- .../GenomeNexusAPIInternal-docs.json | 108 ++++++++--------- .../src/generated/GenomeNexusAPIInternal.ts | 50 ++++---- 4 files changed, 164 insertions(+), 159 deletions(-) diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json index c21b711bb9b..ee15d500dd1 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI-docs.json @@ -1376,59 +1376,6 @@ } } }, - "ClinVar": { - "type": "object", - "properties": { - "alleleId": { - "type": "integer", - "format": "int32", - "description": "allele_id" - }, - "alt": { - "type": "string", - "description": "alt" - }, - "chrom": { - "type": "string", - "description": "chrom" - }, - "cytogenic": { - "type": "string", - "description": "cytogenic" - }, - "gene": { - "description": "gene", - "$ref": "#/definitions/Gene" - }, - "hg19": { - "description": "hg19", - "$ref": "#/definitions/Hg19" - }, - "hg38": { - "description": "hg38", - "$ref": "#/definitions/Hg38" - }, - "hgvs": { - "description": "hgvs", - "$ref": "#/definitions/Hgvs" - }, - "license": { - "type": "string", - "description": "license" - }, - "rcv": { - "type": "array", - "items": { - "$ref": "#/definitions/Rcv" - } - }, - "variantId": { - "type": "integer", - "format": "int32", - "description": "variant_id" - } - } - }, "Clinvar": { "type": "object", "properties": { @@ -2782,7 +2729,7 @@ "properties": { "clinVar": { "description": "clinvar", - "$ref": "#/definitions/ClinVar" + "$ref": "#/definitions/MyVariantInfoClinVar" }, "cosmic": { "description": "cosmic", @@ -2840,6 +2787,59 @@ } } }, + "MyVariantInfoClinVar": { + "type": "object", + "properties": { + "alleleId": { + "type": "integer", + "format": "int32", + "description": "allele_id" + }, + "alt": { + "type": "string", + "description": "alt" + }, + "chrom": { + "type": "string", + "description": "chrom" + }, + "cytogenic": { + "type": "string", + "description": "cytogenic" + }, + "gene": { + "description": "gene", + "$ref": "#/definitions/Gene" + }, + "hg19": { + "description": "hg19", + "$ref": "#/definitions/Hg19" + }, + "hg38": { + "description": "hg38", + "$ref": "#/definitions/Hg38" + }, + "hgvs": { + "description": "hgvs", + "$ref": "#/definitions/Hgvs" + }, + "license": { + "type": "string", + "description": "license" + }, + "rcv": { + "type": "array", + "items": { + "$ref": "#/definitions/Rcv" + } + }, + "variantId": { + "type": "integer", + "format": "int32", + "description": "variant_id" + } + } + }, "NucleotideContext": { "type": "object", "required": [ @@ -3624,7 +3624,7 @@ "description": "NCBI build number" }, "clinvar": { - "description": "ClinVar", + "description": "MyVariantInfoClinVar", "$ref": "#/definitions/ClinvarAnnotation" }, "colocatedVariants": { @@ -3638,6 +3638,9 @@ "format": "int32", "description": "End position" }, + "errorMessage": { + "type": "string" + }, "genomicLocationExplanation": { "type": "string" }, diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts index 76cdda76994..91458f9748a 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPI.ts @@ -84,30 +84,6 @@ export type Citations = { 'pmids': Array < string > -}; -export type ClinVar = { - 'alleleId': number - - 'alt': string - - 'chrom': string - - 'cytogenic': string - - 'gene': Gene - - 'hg19': Hg19 - - 'hg38': Hg38 - - 'hgvs': Hgvs - - 'license': string - - 'rcv': Array < Rcv > - - 'variantId': number - }; export type Clinvar = { 'alternateAllele': string @@ -605,7 +581,7 @@ export type Mutdb = { }; export type MyVariantInfo = { - 'clinVar': ClinVar + 'clinVar': MyVariantInfoClinVar 'cosmic': Cosmic @@ -635,6 +611,30 @@ export type MyVariantInfoAnnotation = { 'license': string +}; +export type MyVariantInfoClinVar = { + 'alleleId': number + + 'alt': string + + 'chrom': string + + 'cytogenic': string + + 'gene': Gene + + 'hg19': Hg19 + + 'hg38': Hg38 + + 'hgvs': Hgvs + + 'license': string + + 'rcv': Array < Rcv > + + 'variantId': number + }; export type NucleotideContext = { 'hgvs': string @@ -988,6 +988,8 @@ export type VariantAnnotation = { 'end': number + 'errorMessage': string + 'genomicLocationExplanation': string 'hgvsg': string diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json index 64a6424f77e..38a7c4faf11 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal-docs.json @@ -1104,59 +1104,6 @@ } } }, - "ClinVar": { - "type": "object", - "properties": { - "alleleId": { - "type": "integer", - "format": "int32", - "description": "allele_id" - }, - "alt": { - "type": "string", - "description": "alt" - }, - "chrom": { - "type": "string", - "description": "chrom" - }, - "cytogenic": { - "type": "string", - "description": "cytogenic" - }, - "gene": { - "description": "gene", - "$ref": "#/definitions/Gene" - }, - "hg19": { - "description": "hg19", - "$ref": "#/definitions/Hg19" - }, - "hg38": { - "description": "hg38", - "$ref": "#/definitions/Hg38" - }, - "hgvs": { - "description": "hgvs", - "$ref": "#/definitions/Hgvs" - }, - "license": { - "type": "string", - "description": "license" - }, - "rcv": { - "type": "array", - "items": { - "$ref": "#/definitions/Rcv" - } - }, - "variantId": { - "type": "integer", - "format": "int32", - "description": "variant_id" - } - } - }, "Cosmic": { "type": "object", "properties": { @@ -1846,7 +1793,7 @@ "properties": { "clinVar": { "description": "clinvar", - "$ref": "#/definitions/ClinVar" + "$ref": "#/definitions/MyVariantInfoClinVar" }, "cosmic": { "description": "cosmic", @@ -1893,6 +1840,59 @@ } } }, + "MyVariantInfoClinVar": { + "type": "object", + "properties": { + "alleleId": { + "type": "integer", + "format": "int32", + "description": "allele_id" + }, + "alt": { + "type": "string", + "description": "alt" + }, + "chrom": { + "type": "string", + "description": "chrom" + }, + "cytogenic": { + "type": "string", + "description": "cytogenic" + }, + "gene": { + "description": "gene", + "$ref": "#/definitions/Gene" + }, + "hg19": { + "description": "hg19", + "$ref": "#/definitions/Hg19" + }, + "hg38": { + "description": "hg38", + "$ref": "#/definitions/Hg38" + }, + "hgvs": { + "description": "hgvs", + "$ref": "#/definitions/Hgvs" + }, + "license": { + "type": "string", + "description": "license" + }, + "rcv": { + "type": "array", + "items": { + "$ref": "#/definitions/Rcv" + } + }, + "variantId": { + "type": "integer", + "format": "int32", + "description": "variant_id" + } + } + }, "NucleotideContext": { "type": "object", "required": [ diff --git a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts index 4a089ba8a85..134b2595298 100644 --- a/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts +++ b/packages/genome-nexus-ts-api-client/src/generated/GenomeNexusAPIInternal.ts @@ -76,30 +76,6 @@ export type AlleleNumber = { export type Alleles = { 'allele': string -}; -export type ClinVar = { - 'alleleId': number - - 'alt': string - - 'chrom': string - - 'cytogenic': string - - 'gene': Gene - - 'hg19': Hg19 - - 'hg38': Hg38 - - 'hgvs': Hgvs - - 'license': string - - 'rcv': Array < Rcv > - - 'variantId': number - }; export type Cosmic = { 'alt': string @@ -390,7 +366,7 @@ export type Mutdb = { }; export type MyVariantInfo = { - 'clinVar': ClinVar + 'clinVar': MyVariantInfoClinVar 'cosmic': Cosmic @@ -414,6 +390,30 @@ export type MyVariantInfo = { 'version': number +}; +export type MyVariantInfoClinVar = { + 'alleleId': number + + 'alt': string + + 'chrom': string + + 'cytogenic': string + + 'gene': Gene + + 'hg19': Hg19 + + 'hg38': Hg38 + + 'hgvs': Hgvs + + 'license': string + + 'rcv': Array < Rcv > + + 'variantId': number + }; export type NucleotideContext = { 'hgvs': string