a Umg&@sdZddlmZddlmZddlmZGdddeeZGdddeeZ Gd d d eZ Gd d d eZ Gd ddeZ GdddeZ GdddeZddddddiiddddddiiiidZddddddiiidiZd dddd!iiidddddd"iiiid#Zd$ddddddddddddddddddd%giidddddd&iiiid'Zd(ddd)gggdggggdgd* iid+gid,d-dddd.gid/d0giid1iidddddd2iiiidZdd3ddddggddddggggggggd4d5gddd6iidiZdd7dddgggggd8ddddd9gd:gd;iidiZdiiiiddddd?iiiid@Zdz,Successfully return the one off access token one_off_tokenzSuccessfully remove the accesszSuccessfully revoke the accessz)Unable to remove default access authority)r>iz?Successfully return a json object contains gen3 record metadata)idtyper*Zassociated_experimentZcopy_numbers_identifiedZdata_descriptionZexperimental_descriptionZexperimental_intentZindels_identifiedZmarker_panel_descriptionZnumber_experimental_groupZ%number_samples_per_experimental_groupZsomatic_mutations_identifiedZ type_of_dataZtype_of_sampleZtype_of_specimenz0Data does not exist or unable to access the data)r>z.Successfully return a list of queried datasetsr) ZcasesZdataset_descriptions dicomImagesrAmrisplots scaffoldViews scaffoldsr* thumbnailsz filter name)rrr)rterm facetPropPathr z file name)z data modez detail modez facet modezmri modezNMode detail/facet/mri only available when query one dataset in experiment nodez2Successfully return a list of datasets informationT)Zdata_urlZsource_url_prefixZ contributorskeywordsZ numberSamplesZnumberSubjectsnameZ datasetIdZorgansZspeciesrFrGrHrIrErDZ detailsReady)items numberPerPagetotalz&Successfully return filter information)sizetitlesnodesfieldselementsids)rKlabel)keyrWchildren)ZnormalsidebarzISuccessfully return all folders/files name and path under selected folder)foldersfileszInvalid path format is usedz#Data not found in the provided path)r>r?rCz+Resource is not found in the orthanc serverN)r enumrtypingrpydanticrrrrrrr.r4r7access_token_responsesone_off_access_responsesaccess_revoke_responsesrecord_responsesquery_responsespagination_responsesfilter_responsescollection_responsesinstance_responsesrrrrst      *  *%