From f2c40790bfd2d42bf3af9e92284afd5433e138bc Mon Sep 17 00:00:00 2001 From: alisman Date: Thu, 20 Apr 2023 15:10:52 -0400 Subject: [PATCH] Update api clients --- .../src/generated/CBioPortalAPI-docs.json | 38 ++--------- .../src/generated/CBioPortalAPI.ts | 65 ------------------- 2 files changed, 4 insertions(+), 99 deletions(-) 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 151d75b2a87..08abf075935 100644 --- a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json +++ b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI-docs.json @@ -2647,30 +2647,6 @@ "application/json" ], "parameters": [ - { - "name": "authenticated", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "authorities[0].authority", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "credentials", - "in": "query", - "required": false, - "type": "object" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "object" - }, { "name": "direction", "in": "query", @@ -2714,12 +2690,6 @@ "exclusiveMinimum": false, "format": "int32" }, - { - "name": "principal", - "in": "query", - "required": false, - "type": "object" - }, { "name": "projection", "in": "query", @@ -4141,7 +4111,7 @@ "description": "tier", "required": false, "type": "string", - "default": "Treatment", + "default": "Agent", "enum": [ "Agent", "AgentClass", @@ -4191,7 +4161,7 @@ "description": "tier", "required": false, "type": "string", - "default": "Treatment", + "default": "Agent", "enum": [ "Agent", "AgentClass", @@ -4238,7 +4208,7 @@ "description": "tier", "required": false, "type": "string", - "default": "Treatment", + "default": "Agent", "enum": [ "Agent", "AgentClass", @@ -4288,7 +4258,7 @@ "description": "tier", "required": false, "type": "string", - "default": "Treatment", + "default": "Agent", "enum": [ "Agent", "AgentClass", diff --git a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts index 91cf5598de9..ea5161ad117 100644 --- a/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts +++ b/packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts @@ -5101,37 +5101,16 @@ export default class CBioPortalAPI { }); }; getAllStudiesUsingGETURL(parameters: { - 'authenticated' ? : boolean, - 'authorities0Authority' ? : string, - 'credentials' ? : {}, - 'details' ? : {}, 'direction' ? : "ASC" | "DESC", 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'principal' ? : {}, 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "cancerTypeId" | "citation" | "description" | "groups" | "importDate" | "name" | "pmid" | "publicStudy" | "status" | "studyId", $queryParameters ? : any }): string { let queryParameters: any = {}; let path = '/studies'; - if (parameters['authenticated'] !== undefined) { - queryParameters['authenticated'] = parameters['authenticated']; - } - - if (parameters['authorities0Authority'] !== undefined) { - queryParameters['authorities[0].authority'] = parameters['authorities0Authority']; - } - - if (parameters['credentials'] !== undefined) { - queryParameters['credentials'] = parameters['credentials']; - } - - if (parameters['details'] !== undefined) { - queryParameters['details'] = parameters['details']; - } - if (parameters['direction'] !== undefined) { queryParameters['direction'] = parameters['direction']; } @@ -5148,10 +5127,6 @@ export default class CBioPortalAPI { queryParameters['pageSize'] = parameters['pageSize']; } - if (parameters['principal'] !== undefined) { - queryParameters['principal'] = parameters['principal']; - } - if (parameters['projection'] !== undefined) { queryParameters['projection'] = parameters['projection']; } @@ -5174,28 +5149,18 @@ export default class CBioPortalAPI { * Get all studies * @method * @name CBioPortalAPI#getAllStudiesUsingGET - * @param {boolean} authenticated - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. - * @param {string} authorities0Authority - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. - * @param {object} credentials - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. - * @param {object} details - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. * @param {string} direction - Direction of the sort * @param {string} keyword - Search keyword that applies to name and cancer type of the studies * @param {integer} pageNumber - Page number of the result list * @param {integer} pageSize - Page size of the result list - * @param {object} principal - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. * @param {string} projection - Level of detail of the response * @param {string} sortBy - Name of the property that the result list is sorted by */ getAllStudiesUsingGETWithHttpInfo(parameters: { - 'authenticated' ? : boolean, - 'authorities0Authority' ? : string, - 'credentials' ? : {}, - 'details' ? : {}, 'direction' ? : "ASC" | "DESC", 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'principal' ? : {}, 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "cancerTypeId" | "citation" | "description" | "groups" | "importDate" | "name" | "pmid" | "publicStudy" | "status" | "studyId", $queryParameters ? : any, @@ -5212,22 +5177,6 @@ export default class CBioPortalAPI { return new Promise(function(resolve, reject) { headers['Accept'] = 'application/json'; - if (parameters['authenticated'] !== undefined) { - queryParameters['authenticated'] = parameters['authenticated']; - } - - if (parameters['authorities0Authority'] !== undefined) { - queryParameters['authorities[0].authority'] = parameters['authorities0Authority']; - } - - if (parameters['credentials'] !== undefined) { - queryParameters['credentials'] = parameters['credentials']; - } - - if (parameters['details'] !== undefined) { - queryParameters['details'] = parameters['details']; - } - if (parameters['direction'] !== undefined) { queryParameters['direction'] = parameters['direction']; } @@ -5244,10 +5193,6 @@ export default class CBioPortalAPI { queryParameters['pageSize'] = parameters['pageSize']; } - if (parameters['principal'] !== undefined) { - queryParameters['principal'] = parameters['principal']; - } - if (parameters['projection'] !== undefined) { queryParameters['projection'] = parameters['projection']; } @@ -5272,28 +5217,18 @@ export default class CBioPortalAPI { * Get all studies * @method * @name CBioPortalAPI#getAllStudiesUsingGET - * @param {boolean} authenticated - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. - * @param {string} authorities0Authority - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. - * @param {object} credentials - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. - * @param {object} details - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. * @param {string} direction - Direction of the sort * @param {string} keyword - Search keyword that applies to name and cancer type of the studies * @param {integer} pageNumber - Page number of the result list * @param {integer} pageSize - Page size of the result list - * @param {object} principal - A web service for supplying JSON formatted data to cBioPortal clients. Please note that this API is currently in beta and subject to change. * @param {string} projection - Level of detail of the response * @param {string} sortBy - Name of the property that the result list is sorted by */ getAllStudiesUsingGET(parameters: { - 'authenticated' ? : boolean, - 'authorities0Authority' ? : string, - 'credentials' ? : {}, - 'details' ? : {}, 'direction' ? : "ASC" | "DESC", 'keyword' ? : string, 'pageNumber' ? : number, 'pageSize' ? : number, - 'principal' ? : {}, 'projection' ? : "DETAILED" | "ID" | "META" | "SUMMARY", 'sortBy' ? : "cancerTypeId" | "citation" | "description" | "groups" | "importDate" | "name" | "pmid" | "publicStudy" | "status" | "studyId", $queryParameters ? : any,