Skip to content

Commit

Permalink
Merge pull request #4591 from alisman/fxAPIU
Browse files Browse the repository at this point in the history
Update api clients
  • Loading branch information
alisman authored Apr 20, 2023
2 parents 8a74ca4 + f2c4079 commit c6def79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -2714,12 +2690,6 @@
"exclusiveMinimum": false,
"format": "int32"
},
{
"name": "principal",
"in": "query",
"required": false,
"type": "object"
},
{
"name": "projection",
"in": "query",
Expand Down Expand Up @@ -4141,7 +4111,7 @@
"description": "tier",
"required": false,
"type": "string",
"default": "Treatment",
"default": "Agent",
"enum": [
"Agent",
"AgentClass",
Expand Down Expand Up @@ -4191,7 +4161,7 @@
"description": "tier",
"required": false,
"type": "string",
"default": "Treatment",
"default": "Agent",
"enum": [
"Agent",
"AgentClass",
Expand Down Expand Up @@ -4238,7 +4208,7 @@
"description": "tier",
"required": false,
"type": "string",
"default": "Treatment",
"default": "Agent",
"enum": [
"Agent",
"AgentClass",
Expand Down Expand Up @@ -4288,7 +4258,7 @@
"description": "tier",
"required": false,
"type": "string",
"default": "Treatment",
"default": "Agent",
"enum": [
"Agent",
"AgentClass",
Expand Down
65 changes: 0 additions & 65 deletions packages/cbioportal-ts-api-client/src/generated/CBioPortalAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
Expand All @@ -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'];
}
Expand All @@ -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,
Expand All @@ -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'];
}
Expand All @@ -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'];
}
Expand All @@ -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,
Expand Down

0 comments on commit c6def79

Please sign in to comment.