From d056d469c4c9e516474200a31dad4ef14ba200ba Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Sat, 24 Aug 2024 14:58:35 +0200 Subject: [PATCH] chore: migrate case list to TanStack Query (#1924) (#1925) --- backend/cases/serializers.py | 7 + backend/cases/urls.py | 5 + backend/cases/views_api.py | 43 + .../varfish_api_schema.yaml | 36 + .../src/lib/@tanstack/vue-query.gen.ts | 3027 ++++++++++++++ .../ext/varfish-api/src/lib/schemas.gen.ts | 11 + .../ext/varfish-api/src/lib/services.gen.ts | 3654 ++++++++--------- frontend/ext/varfish-api/src/lib/types.gen.ts | 2382 +++-------- .../src/lib/@tanstack/vue-query.gen.ts | 103 + .../ext/viguno-api/src/lib/services.gen.ts | 117 +- frontend/ext/viguno-api/src/lib/types.gen.ts | 94 +- frontend/openapi-ts.config.ts | 6 +- frontend/openapi-ts.config.viguno.ts | 6 +- frontend/package-lock.json | 143 +- frontend/package.json | 6 +- .../CaseListTable/CaseListTable.vue | 127 +- frontend/src/cases/plugins/heyApi.ts | 1 - frontend/src/cases/plugins/index.ts | 3 +- frontend/src/cases/queries/cases.ts | 97 + frontend/src/cases/stores/project/store.ts | 10 +- .../src/cases/views/CaseDetail/CaseDetail.vue | 8 +- .../src/cases/views/CaseList/CaseList.vue | 33 +- .../components/QueryEditor/ui/ItemButton.vue | 2 - .../src/seqvars/stores/caseAnalysis/store.ts | 31 +- frontend/src/seqvars/stores/presets/store.ts | 128 +- frontend/src/seqvars/stores/query/store.ts | 24 +- frontend/src/varfish/stores/ctx/store.ts | 4 +- 27 files changed, 6029 insertions(+), 4079 deletions(-) create mode 100644 frontend/ext/varfish-api/src/lib/@tanstack/vue-query.gen.ts create mode 100644 frontend/ext/viguno-api/src/lib/@tanstack/vue-query.gen.ts create mode 100644 frontend/src/cases/queries/cases.ts diff --git a/backend/cases/serializers.py b/backend/cases/serializers.py index c4e7588d8..cc959e7bf 100644 --- a/backend/cases/serializers.py +++ b/backend/cases/serializers.py @@ -71,6 +71,13 @@ class Meta: read_only_fields = fields +class RecordCountSerializer(serializers.Serializer): + """Serializer for the record count.""" + + #: Number of cases. + count = serializers.IntegerField() + + class CaseSerializerNg(CoreCaseSerializerMixin, SODARProjectModelSerializer): """Serializer for the ``Case`` model. diff --git a/backend/cases/urls.py b/backend/cases/urls.py index 24a603451..2e2ee005f 100644 --- a/backend/cases/urls.py +++ b/backend/cases/urls.py @@ -80,6 +80,11 @@ ] api_urlpatterns = [ + url( + regex=r"^api/case/count/(?P[0-9a-f-]+)/?$", + view=views_api.CaseCountApiView.as_view(), + name="api-case-count", + ), url( regex=r"^api/case/list/(?P[0-9a-f-]+)/?$", view=views_api.CaseListApiView.as_view(), diff --git a/backend/cases/views_api.py b/backend/cases/views_api.py index 5b5c388bb..37f5a2761 100644 --- a/backend/cases/views_api.py +++ b/backend/cases/views_api.py @@ -21,6 +21,7 @@ ) from rest_framework.pagination import PageNumberPagination from rest_framework.permissions import BasePermission +from rest_framework.response import Response from cases.models import ExtraAnnoFieldInfo, GlobalSettings, UserAndGlobalSettings, UserSettings from cases.serializers import ( @@ -29,6 +30,7 @@ CaseGeneAnnotationSerializer, CaseSerializerNg, PedigreeRelatednessSerializer, + RecordCountSerializer, SampleVariantStatisticsSerializer, UserAndGlobalSettingsSerializer, ) @@ -61,6 +63,47 @@ class CasePagination(PageNumberPagination): max_page_size = 1000 +@extend_schema_view( + get=extend_schema( + parameters=[ + OpenApiParameter(name="q", type=str), + ], + responses=RecordCountSerializer, + ) +) +class CaseCountApiView(SODARAPIBaseProjectMixin, RetrieveAPIView): + """Return the number of cases, potentially filtered.""" + + permission_classes = [SODARAPIProjectPermission] + + renderer_classes = [VarfishApiRenderer] + versioning_class = VarfishApiVersioning + serializer_class = RecordCountSerializer + + def get(self, request, *args, **kwargs): + return Response({"count": self.get_queryset().count()}) + + def get_queryset(self): + # Use ``select_related()`` so we do not have to explicitely fetch projects and preset sets for serializing as + # projects.sodar_uuid and presetset.sodar_uuid. + qs = Case.objects.filter(project__sodar_uuid=self.kwargs["project"]) + if self.request.GET.get("q"): + qs = qs.filter(name__icontains=self.request.GET.get("q")) + order_by_str = self.request.query_params.get("order_by", "") + if order_by_str: + order_dir = self.request.query_params.get("order_dir", "asc") + order_by = order_by_str.split(",") + if order_dir == "desc": + qs = qs.order_by(*[f"-{value}" for value in order_by]) + else: + qs = qs.order_by(*order_by) + qs = qs.select_related("project", "presetset") + return qs + + def get_permission_required(self): + return "cases.view_data" + + @extend_schema_view( get=extend_schema( parameters=[ diff --git a/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml b/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml index f085ed10c..3144ac083 100644 --- a/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml +++ b/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml @@ -844,6 +844,34 @@ paths: responses: '204': description: No response body + /cases/api/case/count/{project}/: + get: + operationId: cases_api_case_count_retrieve + description: Return the number of cases, potentially filtered. + parameters: + - in: path + name: project + schema: + type: string + pattern: ^[0-9a-f-]+$ + required: true + - in: query + name: q + schema: + type: string + tags: + - cases + security: + - basicAuth: [] + - cookieAuth: [] + - knoxApiToken: [] + responses: + '200': + content: + application/vnd.bihealth.varfish+json: + schema: + $ref: '#/components/schemas/RecordCount' + description: '' /cases/api/case/list/{project}/: get: operationId: cases_api_case_list_list @@ -8833,6 +8861,14 @@ components: * `comphet_recessive` - comphet_recessive * `homozygous_recessive` - homozygous_recessive * `recessive` - recessive + RecordCount: + type: object + description: Serializer for the record count. + properties: + count: + type: integer + required: + - count RegionCoverageStats: description: Per-region QC stats for alignment. properties: diff --git a/frontend/ext/varfish-api/src/lib/@tanstack/vue-query.gen.ts b/frontend/ext/varfish-api/src/lib/@tanstack/vue-query.gen.ts new file mode 100644 index 000000000..20a65fa29 --- /dev/null +++ b/frontend/ext/varfish-api/src/lib/@tanstack/vue-query.gen.ts @@ -0,0 +1,3027 @@ +// This file is auto-generated by @hey-api/openapi-ts + +import type { Options } from '@hey-api/client-fetch'; +import { queryOptions, infiniteQueryOptions, type InfiniteData, type UseMutationOptions } from '@tanstack/vue-query'; +import type { CasesAnalysisApiCaseanalysisListData, CasesAnalysisApiCaseanalysisListError, CasesAnalysisApiCaseanalysisListResponse, CasesAnalysisApiCaseanalysisRetrieveData, CasesAnalysisApiCaseanalysissessionListData, CasesAnalysisApiCaseanalysissessionListError, CasesAnalysisApiCaseanalysissessionListResponse, CasesAnalysisApiCaseanalysissessionRetrieveData, CasesImportApiCaseImportActionListCreateListData, CasesImportApiCaseImportActionListCreateListError, CasesImportApiCaseImportActionListCreateListResponse, CasesImportApiCaseImportActionListCreateCreateData, CasesImportApiCaseImportActionListCreateCreateError, CasesImportApiCaseImportActionListCreateCreateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveData, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateData, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateError, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateData, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateError, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyData, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyError, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyResponse, CasesQcApiCaseqcRetrieveRetrieveData, CasesQcApiVarfishstatsRetrieveRetrieveData, CasesApiAnnotationReleaseInfoListListData, CasesApiCaseCommentListCreateListData, CasesApiCaseCommentListCreateCreateData, CasesApiCaseCommentListCreateCreateError, CasesApiCaseCommentListCreateCreateResponse, CasesApiCasePhenotypeTermsListCreateListData, CasesApiCasePhenotypeTermsListCreateCreateData, CasesApiCasePhenotypeTermsListCreateCreateError, CasesApiCasePhenotypeTermsListCreateCreateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyResponse, CasesApiCaseCountRetrieveData, CasesApiCaseListListData, CasesApiCaseListListError, CasesApiCaseListListResponse, CasesApiCaseRetrieveUpdateDestroyRetrieveData, CasesApiCaseRetrieveUpdateDestroyUpdateData, CasesApiCaseRetrieveUpdateDestroyUpdateError, CasesApiCaseRetrieveUpdateDestroyUpdateResponse, CasesApiCaseRetrieveUpdateDestroyPartialUpdateData, CasesApiCaseRetrieveUpdateDestroyPartialUpdateError, CasesApiCaseRetrieveUpdateDestroyPartialUpdateResponse, CasesApiCaseRetrieveUpdateDestroyDestroyData, CasesApiCaseRetrieveUpdateDestroyDestroyError, CasesApiCaseRetrieveUpdateDestroyDestroyResponse, CasesApiSvAnnotationReleaseInfoListListData, ProjectApiCreateCreateData, ProjectApiCreateCreateError, ProjectApiCreateCreateResponse, ProjectApiInvitesCreateCreateData, ProjectApiInvitesCreateCreateError, ProjectApiInvitesCreateCreateResponse, ProjectApiInvitesListListData, ProjectApiInvitesResendCreateData, ProjectApiInvitesResendCreateError, ProjectApiInvitesResendCreateResponse, ProjectApiInvitesRevokeCreateData, ProjectApiInvitesRevokeCreateError, ProjectApiInvitesRevokeCreateResponse, ProjectApiRemoteGetRetrieveData, ProjectApiRetrieveRetrieveData, ProjectApiRolesCreateCreateData, ProjectApiRolesCreateCreateError, ProjectApiRolesCreateCreateResponse, ProjectApiRolesDestroyDestroyData, ProjectApiRolesDestroyDestroyError, ProjectApiRolesDestroyDestroyResponse, ProjectApiRolesOwnerTransferCreateData, ProjectApiRolesOwnerTransferCreateError, ProjectApiRolesOwnerTransferCreateResponse, ProjectApiRolesUpdateUpdateData, ProjectApiRolesUpdateUpdateError, ProjectApiRolesUpdateUpdateResponse, ProjectApiRolesUpdatePartialUpdateData, ProjectApiRolesUpdatePartialUpdateError, ProjectApiRolesUpdatePartialUpdateResponse, ProjectApiSettingsRetrieveRetrieveData, ProjectApiSettingsSetCreateData, ProjectApiSettingsSetCreateError, ProjectApiSettingsSetCreateResponse, ProjectApiSettingsSetUserCreateError, ProjectApiSettingsSetUserCreateResponse, ProjectApiUpdateUpdateData, ProjectApiUpdateUpdateError, ProjectApiUpdateUpdateResponse, ProjectApiUpdatePartialUpdateData, ProjectApiUpdatePartialUpdateError, ProjectApiUpdatePartialUpdateResponse, SeqmetaApiEnrichmentkitListCreateCreateData, SeqmetaApiEnrichmentkitListCreateCreateError, SeqmetaApiEnrichmentkitListCreateCreateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyResponse, SeqmetaApiTargetbedfileListCreateListData, SeqmetaApiTargetbedfileListCreateCreateData, SeqmetaApiTargetbedfileListCreateCreateError, SeqmetaApiTargetbedfileListCreateCreateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyResponse, SeqvarsApiPredefinedqueryListData, SeqvarsApiPredefinedqueryListError, SeqvarsApiPredefinedqueryListResponse, SeqvarsApiPredefinedqueryCreateData, SeqvarsApiPredefinedqueryCreateError, SeqvarsApiPredefinedqueryCreateResponse, SeqvarsApiPredefinedqueryRetrieveData, SeqvarsApiPredefinedqueryUpdateData, SeqvarsApiPredefinedqueryUpdateError, SeqvarsApiPredefinedqueryUpdateResponse, SeqvarsApiPredefinedqueryPartialUpdateData, SeqvarsApiPredefinedqueryPartialUpdateError, SeqvarsApiPredefinedqueryPartialUpdateResponse, SeqvarsApiPredefinedqueryDestroyData, SeqvarsApiPredefinedqueryDestroyError, SeqvarsApiPredefinedqueryDestroyResponse, SeqvarsApiQueryListData, SeqvarsApiQueryListError, SeqvarsApiQueryListResponse, SeqvarsApiQueryCreateData, SeqvarsApiQueryCreateError, SeqvarsApiQueryCreateResponse, SeqvarsApiQueryRetrieveData, SeqvarsApiQueryUpdateData, SeqvarsApiQueryUpdateError, SeqvarsApiQueryUpdateResponse, SeqvarsApiQueryPartialUpdateData, SeqvarsApiQueryPartialUpdateError, SeqvarsApiQueryPartialUpdateResponse, SeqvarsApiQueryDestroyData, SeqvarsApiQueryDestroyError, SeqvarsApiQueryDestroyResponse, SeqvarsApiQueryCreateFromCreateData, SeqvarsApiQueryCreateFromCreateError, SeqvarsApiQueryCreateFromCreateResponse, SeqvarsApiQueryexecutionListData, SeqvarsApiQueryexecutionListError, SeqvarsApiQueryexecutionListResponse, SeqvarsApiQueryexecutionRetrieveData, SeqvarsApiQuerypresetsclinvarListData, SeqvarsApiQuerypresetsclinvarListError, SeqvarsApiQuerypresetsclinvarListResponse, SeqvarsApiQuerypresetsclinvarCreateData, SeqvarsApiQuerypresetsclinvarCreateError, SeqvarsApiQuerypresetsclinvarCreateResponse, SeqvarsApiQuerypresetsclinvarRetrieveData, SeqvarsApiQuerypresetsclinvarUpdateData, SeqvarsApiQuerypresetsclinvarUpdateError, SeqvarsApiQuerypresetsclinvarUpdateResponse, SeqvarsApiQuerypresetsclinvarPartialUpdateData, SeqvarsApiQuerypresetsclinvarPartialUpdateError, SeqvarsApiQuerypresetsclinvarPartialUpdateResponse, SeqvarsApiQuerypresetsclinvarDestroyData, SeqvarsApiQuerypresetsclinvarDestroyError, SeqvarsApiQuerypresetsclinvarDestroyResponse, SeqvarsApiQuerypresetscolumnsListData, SeqvarsApiQuerypresetscolumnsListError, SeqvarsApiQuerypresetscolumnsListResponse, SeqvarsApiQuerypresetscolumnsCreateData, SeqvarsApiQuerypresetscolumnsCreateError, SeqvarsApiQuerypresetscolumnsCreateResponse, SeqvarsApiQuerypresetscolumnsRetrieveData, SeqvarsApiQuerypresetscolumnsUpdateData, SeqvarsApiQuerypresetscolumnsUpdateError, SeqvarsApiQuerypresetscolumnsUpdateResponse, SeqvarsApiQuerypresetscolumnsPartialUpdateData, SeqvarsApiQuerypresetscolumnsPartialUpdateError, SeqvarsApiQuerypresetscolumnsPartialUpdateResponse, SeqvarsApiQuerypresetscolumnsDestroyData, SeqvarsApiQuerypresetscolumnsDestroyError, SeqvarsApiQuerypresetscolumnsDestroyResponse, SeqvarsApiQuerypresetsconsequenceListData, SeqvarsApiQuerypresetsconsequenceListError, SeqvarsApiQuerypresetsconsequenceListResponse, SeqvarsApiQuerypresetsconsequenceCreateData, SeqvarsApiQuerypresetsconsequenceCreateError, SeqvarsApiQuerypresetsconsequenceCreateResponse, SeqvarsApiQuerypresetsconsequenceRetrieveData, SeqvarsApiQuerypresetsconsequenceUpdateData, SeqvarsApiQuerypresetsconsequenceUpdateError, SeqvarsApiQuerypresetsconsequenceUpdateResponse, SeqvarsApiQuerypresetsconsequencePartialUpdateData, SeqvarsApiQuerypresetsconsequencePartialUpdateError, SeqvarsApiQuerypresetsconsequencePartialUpdateResponse, SeqvarsApiQuerypresetsconsequenceDestroyData, SeqvarsApiQuerypresetsconsequenceDestroyError, SeqvarsApiQuerypresetsconsequenceDestroyResponse, SeqvarsApiQuerypresetsfactorydefaultsListData, SeqvarsApiQuerypresetsfactorydefaultsListError, SeqvarsApiQuerypresetsfactorydefaultsListResponse, SeqvarsApiQuerypresetsfactorydefaultsRetrieveData, SeqvarsApiQuerypresetsfrequencyListData, SeqvarsApiQuerypresetsfrequencyListError, SeqvarsApiQuerypresetsfrequencyListResponse, SeqvarsApiQuerypresetsfrequencyCreateData, SeqvarsApiQuerypresetsfrequencyCreateError, SeqvarsApiQuerypresetsfrequencyCreateResponse, SeqvarsApiQuerypresetsfrequencyRetrieveData, SeqvarsApiQuerypresetsfrequencyUpdateData, SeqvarsApiQuerypresetsfrequencyUpdateError, SeqvarsApiQuerypresetsfrequencyUpdateResponse, SeqvarsApiQuerypresetsfrequencyPartialUpdateData, SeqvarsApiQuerypresetsfrequencyPartialUpdateError, SeqvarsApiQuerypresetsfrequencyPartialUpdateResponse, SeqvarsApiQuerypresetsfrequencyDestroyData, SeqvarsApiQuerypresetsfrequencyDestroyError, SeqvarsApiQuerypresetsfrequencyDestroyResponse, SeqvarsApiQuerypresetslocusListData, SeqvarsApiQuerypresetslocusListError, SeqvarsApiQuerypresetslocusListResponse, SeqvarsApiQuerypresetslocusCreateData, SeqvarsApiQuerypresetslocusCreateError, SeqvarsApiQuerypresetslocusCreateResponse, SeqvarsApiQuerypresetslocusRetrieveData, SeqvarsApiQuerypresetslocusUpdateData, SeqvarsApiQuerypresetslocusUpdateError, SeqvarsApiQuerypresetslocusUpdateResponse, SeqvarsApiQuerypresetslocusPartialUpdateData, SeqvarsApiQuerypresetslocusPartialUpdateError, SeqvarsApiQuerypresetslocusPartialUpdateResponse, SeqvarsApiQuerypresetslocusDestroyData, SeqvarsApiQuerypresetslocusDestroyError, SeqvarsApiQuerypresetslocusDestroyResponse, SeqvarsApiQuerypresetsphenotypeprioListData, SeqvarsApiQuerypresetsphenotypeprioListError, SeqvarsApiQuerypresetsphenotypeprioListResponse, SeqvarsApiQuerypresetsphenotypeprioCreateData, SeqvarsApiQuerypresetsphenotypeprioCreateError, SeqvarsApiQuerypresetsphenotypeprioCreateResponse, SeqvarsApiQuerypresetsphenotypeprioRetrieveData, SeqvarsApiQuerypresetsphenotypeprioUpdateData, SeqvarsApiQuerypresetsphenotypeprioUpdateError, SeqvarsApiQuerypresetsphenotypeprioUpdateResponse, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateData, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateError, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateResponse, SeqvarsApiQuerypresetsphenotypeprioDestroyData, SeqvarsApiQuerypresetsphenotypeprioDestroyError, SeqvarsApiQuerypresetsphenotypeprioDestroyResponse, SeqvarsApiQuerypresetsqualityListData, SeqvarsApiQuerypresetsqualityListError, SeqvarsApiQuerypresetsqualityListResponse, SeqvarsApiQuerypresetsqualityCreateData, SeqvarsApiQuerypresetsqualityCreateError, SeqvarsApiQuerypresetsqualityCreateResponse, SeqvarsApiQuerypresetsqualityRetrieveData, SeqvarsApiQuerypresetsqualityUpdateData, SeqvarsApiQuerypresetsqualityUpdateError, SeqvarsApiQuerypresetsqualityUpdateResponse, SeqvarsApiQuerypresetsqualityPartialUpdateData, SeqvarsApiQuerypresetsqualityPartialUpdateError, SeqvarsApiQuerypresetsqualityPartialUpdateResponse, SeqvarsApiQuerypresetsqualityDestroyData, SeqvarsApiQuerypresetsqualityDestroyError, SeqvarsApiQuerypresetsqualityDestroyResponse, SeqvarsApiQuerypresetssetListData, SeqvarsApiQuerypresetssetListError, SeqvarsApiQuerypresetssetListResponse, SeqvarsApiQuerypresetssetCreateData, SeqvarsApiQuerypresetssetCreateError, SeqvarsApiQuerypresetssetCreateResponse, SeqvarsApiQuerypresetssetRetrieveData, SeqvarsApiQuerypresetssetUpdateData, SeqvarsApiQuerypresetssetUpdateError, SeqvarsApiQuerypresetssetUpdateResponse, SeqvarsApiQuerypresetssetPartialUpdateData, SeqvarsApiQuerypresetssetPartialUpdateError, SeqvarsApiQuerypresetssetPartialUpdateResponse, SeqvarsApiQuerypresetssetDestroyData, SeqvarsApiQuerypresetssetDestroyError, SeqvarsApiQuerypresetssetDestroyResponse, SeqvarsApiQuerypresetssetCopyFromCreateData, SeqvarsApiQuerypresetssetCopyFromCreateError, SeqvarsApiQuerypresetssetCopyFromCreateResponse, SeqvarsApiQuerypresetssetversionListData, SeqvarsApiQuerypresetssetversionListError, SeqvarsApiQuerypresetssetversionListResponse, SeqvarsApiQuerypresetssetversionCreateData, SeqvarsApiQuerypresetssetversionCreateError, SeqvarsApiQuerypresetssetversionCreateResponse, SeqvarsApiQuerypresetssetversionRetrieveData, SeqvarsApiQuerypresetssetversionUpdateData, SeqvarsApiQuerypresetssetversionUpdateError, SeqvarsApiQuerypresetssetversionUpdateResponse, SeqvarsApiQuerypresetssetversionPartialUpdateData, SeqvarsApiQuerypresetssetversionPartialUpdateError, SeqvarsApiQuerypresetssetversionPartialUpdateResponse, SeqvarsApiQuerypresetssetversionDestroyData, SeqvarsApiQuerypresetssetversionDestroyError, SeqvarsApiQuerypresetssetversionDestroyResponse, SeqvarsApiQuerypresetssetversionCopyFromCreateData, SeqvarsApiQuerypresetssetversionCopyFromCreateError, SeqvarsApiQuerypresetssetversionCopyFromCreateResponse, SeqvarsApiQuerypresetsvariantprioListData, SeqvarsApiQuerypresetsvariantprioListError, SeqvarsApiQuerypresetsvariantprioListResponse, SeqvarsApiQuerypresetsvariantprioCreateData, SeqvarsApiQuerypresetsvariantprioCreateError, SeqvarsApiQuerypresetsvariantprioCreateResponse, SeqvarsApiQuerypresetsvariantprioRetrieveData, SeqvarsApiQuerypresetsvariantprioUpdateData, SeqvarsApiQuerypresetsvariantprioUpdateError, SeqvarsApiQuerypresetsvariantprioUpdateResponse, SeqvarsApiQuerypresetsvariantprioPartialUpdateData, SeqvarsApiQuerypresetsvariantprioPartialUpdateError, SeqvarsApiQuerypresetsvariantprioPartialUpdateResponse, SeqvarsApiQuerypresetsvariantprioDestroyData, SeqvarsApiQuerypresetsvariantprioDestroyError, SeqvarsApiQuerypresetsvariantprioDestroyResponse, SeqvarsApiQuerysettingsListData, SeqvarsApiQuerysettingsListError, SeqvarsApiQuerysettingsListResponse, SeqvarsApiQuerysettingsCreateData, SeqvarsApiQuerysettingsCreateError, SeqvarsApiQuerysettingsCreateResponse, SeqvarsApiQuerysettingsRetrieveData, SeqvarsApiQuerysettingsUpdateData, SeqvarsApiQuerysettingsUpdateError, SeqvarsApiQuerysettingsUpdateResponse, SeqvarsApiQuerysettingsPartialUpdateData, SeqvarsApiQuerysettingsPartialUpdateError, SeqvarsApiQuerysettingsPartialUpdateResponse, SeqvarsApiQuerysettingsDestroyData, SeqvarsApiQuerysettingsDestroyError, SeqvarsApiQuerysettingsDestroyResponse, SeqvarsApiResultrowListData, SeqvarsApiResultrowListError, SeqvarsApiResultrowListResponse, SeqvarsApiResultrowRetrieveData, SeqvarsApiResultsetListData, SeqvarsApiResultsetListError, SeqvarsApiResultsetListResponse, SeqvarsApiResultsetRetrieveData } from '../types.gen'; +import { client, casesAnalysisApiCaseanalysisList, casesAnalysisApiCaseanalysisRetrieve, casesAnalysisApiCaseanalysissessionList, casesAnalysisApiCaseanalysissessionRetrieve, casesImportApiCaseImportActionListCreateList, casesImportApiCaseImportActionListCreateCreate, casesImportApiCaseImportActionRetrieveUpdateDestroyRetrieve, casesImportApiCaseImportActionRetrieveUpdateDestroyUpdate, casesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdate, casesImportApiCaseImportActionRetrieveUpdateDestroyDestroy, casesQcApiCaseqcRetrieveRetrieve, casesQcApiVarfishstatsRetrieveRetrieve, casesApiAnnotationReleaseInfoListList, casesApiCaseCommentListCreateList, casesApiCaseCommentListCreateCreate, casesApiCasePhenotypeTermsListCreateList, casesApiCasePhenotypeTermsListCreateCreate, casesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieve, casesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdate, casesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdate, casesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroy, casesApiCaseCountRetrieve, casesApiCaseListList, casesApiCaseRetrieveUpdateDestroyRetrieve, casesApiCaseRetrieveUpdateDestroyUpdate, casesApiCaseRetrieveUpdateDestroyPartialUpdate, casesApiCaseRetrieveUpdateDestroyDestroy, casesApiSvAnnotationReleaseInfoListList, casesApiUserAndGlobalSettingsRetrieve, genepanelsApiGenepanelCategoryListList, genepanelsApiLookupGenepanelRetrieve, projectApiCreateCreate, projectApiInvitesCreateCreate, projectApiInvitesListList, projectApiInvitesResendCreate, projectApiInvitesRevokeCreate, projectApiListRetrieve, projectApiRemoteGetRetrieve, projectApiRetrieveRetrieve, projectApiRolesCreateCreate, projectApiRolesDestroyDestroy, projectApiRolesOwnerTransferCreate, projectApiRolesUpdateUpdate, projectApiRolesUpdatePartialUpdate, projectApiSettingsRetrieveRetrieve, projectApiSettingsRetrieveUserRetrieve, projectApiSettingsSetCreate, projectApiSettingsSetUserCreate, projectApiUpdateUpdate, projectApiUpdatePartialUpdate, projectApiUsersCurrentRetrieve, projectApiUsersListList, seqmetaApiEnrichmentkitListCreateList, seqmetaApiEnrichmentkitListCreateCreate, seqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieve, seqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdate, seqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdate, seqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroy, seqmetaApiTargetbedfileListCreateList, seqmetaApiTargetbedfileListCreateCreate, seqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieve, seqmetaApiTargetbedfileRetrieveUpdateDestroyUpdate, seqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdate, seqmetaApiTargetbedfileRetrieveUpdateDestroyDestroy, seqvarsApiPredefinedqueryList, seqvarsApiPredefinedqueryCreate, seqvarsApiPredefinedqueryRetrieve, seqvarsApiPredefinedqueryUpdate, seqvarsApiPredefinedqueryPartialUpdate, seqvarsApiPredefinedqueryDestroy, seqvarsApiQueryList, seqvarsApiQueryCreate, seqvarsApiQueryRetrieve, seqvarsApiQueryUpdate, seqvarsApiQueryPartialUpdate, seqvarsApiQueryDestroy, seqvarsApiQueryCreateFromCreate, seqvarsApiQueryexecutionList, seqvarsApiQueryexecutionRetrieve, seqvarsApiQuerypresetsclinvarList, seqvarsApiQuerypresetsclinvarCreate, seqvarsApiQuerypresetsclinvarRetrieve, seqvarsApiQuerypresetsclinvarUpdate, seqvarsApiQuerypresetsclinvarPartialUpdate, seqvarsApiQuerypresetsclinvarDestroy, seqvarsApiQuerypresetscolumnsList, seqvarsApiQuerypresetscolumnsCreate, seqvarsApiQuerypresetscolumnsRetrieve, seqvarsApiQuerypresetscolumnsUpdate, seqvarsApiQuerypresetscolumnsPartialUpdate, seqvarsApiQuerypresetscolumnsDestroy, seqvarsApiQuerypresetsconsequenceList, seqvarsApiQuerypresetsconsequenceCreate, seqvarsApiQuerypresetsconsequenceRetrieve, seqvarsApiQuerypresetsconsequenceUpdate, seqvarsApiQuerypresetsconsequencePartialUpdate, seqvarsApiQuerypresetsconsequenceDestroy, seqvarsApiQuerypresetsfactorydefaultsList, seqvarsApiQuerypresetsfactorydefaultsRetrieve, seqvarsApiQuerypresetsfrequencyList, seqvarsApiQuerypresetsfrequencyCreate, seqvarsApiQuerypresetsfrequencyRetrieve, seqvarsApiQuerypresetsfrequencyUpdate, seqvarsApiQuerypresetsfrequencyPartialUpdate, seqvarsApiQuerypresetsfrequencyDestroy, seqvarsApiQuerypresetslocusList, seqvarsApiQuerypresetslocusCreate, seqvarsApiQuerypresetslocusRetrieve, seqvarsApiQuerypresetslocusUpdate, seqvarsApiQuerypresetslocusPartialUpdate, seqvarsApiQuerypresetslocusDestroy, seqvarsApiQuerypresetsphenotypeprioList, seqvarsApiQuerypresetsphenotypeprioCreate, seqvarsApiQuerypresetsphenotypeprioRetrieve, seqvarsApiQuerypresetsphenotypeprioUpdate, seqvarsApiQuerypresetsphenotypeprioPartialUpdate, seqvarsApiQuerypresetsphenotypeprioDestroy, seqvarsApiQuerypresetsqualityList, seqvarsApiQuerypresetsqualityCreate, seqvarsApiQuerypresetsqualityRetrieve, seqvarsApiQuerypresetsqualityUpdate, seqvarsApiQuerypresetsqualityPartialUpdate, seqvarsApiQuerypresetsqualityDestroy, seqvarsApiQuerypresetssetList, seqvarsApiQuerypresetssetCreate, seqvarsApiQuerypresetssetRetrieve, seqvarsApiQuerypresetssetUpdate, seqvarsApiQuerypresetssetPartialUpdate, seqvarsApiQuerypresetssetDestroy, seqvarsApiQuerypresetssetCopyFromCreate, seqvarsApiQuerypresetssetversionList, seqvarsApiQuerypresetssetversionCreate, seqvarsApiQuerypresetssetversionRetrieve, seqvarsApiQuerypresetssetversionUpdate, seqvarsApiQuerypresetssetversionPartialUpdate, seqvarsApiQuerypresetssetversionDestroy, seqvarsApiQuerypresetssetversionCopyFromCreate, seqvarsApiQuerypresetsvariantprioList, seqvarsApiQuerypresetsvariantprioCreate, seqvarsApiQuerypresetsvariantprioRetrieve, seqvarsApiQuerypresetsvariantprioUpdate, seqvarsApiQuerypresetsvariantprioPartialUpdate, seqvarsApiQuerypresetsvariantprioDestroy, seqvarsApiQuerysettingsList, seqvarsApiQuerysettingsCreate, seqvarsApiQuerysettingsRetrieve, seqvarsApiQuerysettingsUpdate, seqvarsApiQuerysettingsPartialUpdate, seqvarsApiQuerysettingsDestroy, seqvarsApiResultrowList, seqvarsApiResultrowRetrieve, seqvarsApiResultsetList, seqvarsApiResultsetRetrieve } from '../services.gen'; + +type QueryKey = [ + Pick & { + _id: string; + _infinite?: boolean; + } +]; + +const createQueryKey = (id: string, options?: TOptions, infinite?: boolean): QueryKey[0] => { + const params: QueryKey[0] = { _id: id, baseUrl: client.getConfig().baseUrl } as QueryKey[0]; + if (infinite) { + params._infinite = infinite; + } + if (options?.body) { + params.body = options.body; + } + if (options?.headers) { + params.headers = options.headers; + } + if (options?.path) { + params.path = options.path; + } + if (options?.query) { + params.query = options.query; + } + return params; +}; + +export const casesAnalysisApiCaseanalysisListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesAnalysisApiCaseanalysisList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesAnalysisApiCaseanalysisList", options) + ] +}); }; + +export const casesAnalysisApiCaseanalysisListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await casesAnalysisApiCaseanalysisList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesAnalysisApiCaseanalysisList", options, true) + ] +}); }; + +export const casesAnalysisApiCaseanalysisRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesAnalysisApiCaseanalysisRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesAnalysisApiCaseanalysisRetrieve", options) + ] +}); }; + +export const casesAnalysisApiCaseanalysissessionListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesAnalysisApiCaseanalysissessionList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesAnalysisApiCaseanalysissessionList", options) + ] +}); }; + +export const casesAnalysisApiCaseanalysissessionListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await casesAnalysisApiCaseanalysissessionList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesAnalysisApiCaseanalysissessionList", options, true) + ] +}); }; + +export const casesAnalysisApiCaseanalysissessionRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesAnalysisApiCaseanalysissessionRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesAnalysisApiCaseanalysissessionRetrieve", options) + ] +}); }; + +export const casesImportApiCaseImportActionListCreateListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesImportApiCaseImportActionListCreateList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesImportApiCaseImportActionListCreateList", options) + ] +}); }; + +export const casesImportApiCaseImportActionListCreateListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, number | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + page: pageParam + } + }; + const { data } = await casesImportApiCaseImportActionListCreateList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesImportApiCaseImportActionListCreateList", options, true) + ] +}); }; + +export const casesImportApiCaseImportActionListCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesImportApiCaseImportActionListCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesImportApiCaseImportActionListCreateCreate", options) + ] +}); }; + +export const casesImportApiCaseImportActionListCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesImportApiCaseImportActionListCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesImportApiCaseImportActionRetrieveUpdateDestroyRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesImportApiCaseImportActionRetrieveUpdateDestroyRetrieve", options) + ] +}); }; + +export const casesImportApiCaseImportActionRetrieveUpdateDestroyUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesImportApiCaseImportActionRetrieveUpdateDestroyUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesImportApiCaseImportActionRetrieveUpdateDestroyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesImportApiCaseImportActionRetrieveUpdateDestroyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesQcApiCaseqcRetrieveRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesQcApiCaseqcRetrieveRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesQcApiCaseqcRetrieveRetrieve", options) + ] +}); }; + +export const casesQcApiVarfishstatsRetrieveRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesQcApiVarfishstatsRetrieveRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesQcApiVarfishstatsRetrieveRetrieve", options) + ] +}); }; + +export const casesApiAnnotationReleaseInfoListListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiAnnotationReleaseInfoListList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiAnnotationReleaseInfoListList", options) + ] +}); }; + +export const casesApiCaseCommentListCreateListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCaseCommentListCreateList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCaseCommentListCreateList", options) + ] +}); }; + +export const casesApiCaseCommentListCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCaseCommentListCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCaseCommentListCreateCreate", options) + ] +}); }; + +export const casesApiCaseCommentListCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCaseCommentListCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCasePhenotypeTermsListCreateListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCasePhenotypeTermsListCreateList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCasePhenotypeTermsListCreateList", options) + ] +}); }; + +export const casesApiCasePhenotypeTermsListCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCasePhenotypeTermsListCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCasePhenotypeTermsListCreateCreate", options) + ] +}); }; + +export const casesApiCasePhenotypeTermsListCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCasePhenotypeTermsListCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieve", options) + ] +}); }; + +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCaseCountRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCaseCountRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCaseCountRetrieve", options) + ] +}); }; + +export const casesApiCaseListListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCaseListList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCaseListList", options) + ] +}); }; + +export const casesApiCaseListListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, number | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + page: pageParam + } + }; + const { data } = await casesApiCaseListList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCaseListList", options, true) + ] +}); }; + +export const casesApiCaseRetrieveUpdateDestroyRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiCaseRetrieveUpdateDestroyRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiCaseRetrieveUpdateDestroyRetrieve", options) + ] +}); }; + +export const casesApiCaseRetrieveUpdateDestroyUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCaseRetrieveUpdateDestroyUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCaseRetrieveUpdateDestroyPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCaseRetrieveUpdateDestroyPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiCaseRetrieveUpdateDestroyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await casesApiCaseRetrieveUpdateDestroyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const casesApiSvAnnotationReleaseInfoListListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiSvAnnotationReleaseInfoListList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiSvAnnotationReleaseInfoListList", options) + ] +}); }; + +export const casesApiUserAndGlobalSettingsRetrieveOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await casesApiUserAndGlobalSettingsRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("casesApiUserAndGlobalSettingsRetrieve", options) + ] +}); }; + +export const genepanelsApiGenepanelCategoryListListOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await genepanelsApiGenepanelCategoryListList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("genepanelsApiGenepanelCategoryListList", options) + ] +}); }; + +export const genepanelsApiLookupGenepanelRetrieveOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await genepanelsApiLookupGenepanelRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("genepanelsApiLookupGenepanelRetrieve", options) + ] +}); }; + +export const projectApiCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiCreateCreate", options) + ] +}); }; + +export const projectApiCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiInvitesCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiInvitesCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiInvitesCreateCreate", options) + ] +}); }; + +export const projectApiInvitesCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiInvitesCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiInvitesListListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiInvitesListList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiInvitesListList", options) + ] +}); }; + +export const projectApiInvitesResendCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiInvitesResendCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiInvitesResendCreate", options) + ] +}); }; + +export const projectApiInvitesResendCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiInvitesResendCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiInvitesRevokeCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiInvitesRevokeCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiInvitesRevokeCreate", options) + ] +}); }; + +export const projectApiInvitesRevokeCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiInvitesRevokeCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiListRetrieveOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiListRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiListRetrieve", options) + ] +}); }; + +export const projectApiRemoteGetRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiRemoteGetRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiRemoteGetRetrieve", options) + ] +}); }; + +export const projectApiRetrieveRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiRetrieveRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiRetrieveRetrieve", options) + ] +}); }; + +export const projectApiRolesCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiRolesCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiRolesCreateCreate", options) + ] +}); }; + +export const projectApiRolesCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiRolesCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiRolesDestroyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiRolesDestroyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiRolesOwnerTransferCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiRolesOwnerTransferCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiRolesOwnerTransferCreate", options) + ] +}); }; + +export const projectApiRolesOwnerTransferCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiRolesOwnerTransferCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiRolesUpdateUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiRolesUpdateUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiRolesUpdatePartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiRolesUpdatePartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiSettingsRetrieveRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiSettingsRetrieveRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiSettingsRetrieveRetrieve", options) + ] +}); }; + +export const projectApiSettingsRetrieveUserRetrieveOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiSettingsRetrieveUserRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiSettingsRetrieveUserRetrieve", options) + ] +}); }; + +export const projectApiSettingsSetCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiSettingsSetCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiSettingsSetCreate", options) + ] +}); }; + +export const projectApiSettingsSetCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiSettingsSetCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiSettingsSetUserCreateOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiSettingsSetUserCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiSettingsSetUserCreate", options) + ] +}); }; + +export const projectApiSettingsSetUserCreateMutation = () => { const mutationOptions: UseMutationOptions = { + mutationFn: async (options) => { + const { data } = await projectApiSettingsSetUserCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiUpdateUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiUpdateUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiUpdatePartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await projectApiUpdatePartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const projectApiUsersCurrentRetrieveOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiUsersCurrentRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiUsersCurrentRetrieve", options) + ] +}); }; + +export const projectApiUsersListListOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await projectApiUsersListList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("projectApiUsersListList", options) + ] +}); }; + +export const seqmetaApiEnrichmentkitListCreateListOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqmetaApiEnrichmentkitListCreateList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqmetaApiEnrichmentkitListCreateList", options) + ] +}); }; + +export const seqmetaApiEnrichmentkitListCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqmetaApiEnrichmentkitListCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqmetaApiEnrichmentkitListCreateCreate", options) + ] +}); }; + +export const seqmetaApiEnrichmentkitListCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiEnrichmentkitListCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieve", options) + ] +}); }; + +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiTargetbedfileListCreateListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqmetaApiTargetbedfileListCreateList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqmetaApiTargetbedfileListCreateList", options) + ] +}); }; + +export const seqmetaApiTargetbedfileListCreateCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqmetaApiTargetbedfileListCreateCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqmetaApiTargetbedfileListCreateCreate", options) + ] +}); }; + +export const seqmetaApiTargetbedfileListCreateCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiTargetbedfileListCreateCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieve", options) + ] +}); }; + +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiTargetbedfileRetrieveUpdateDestroyUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqmetaApiTargetbedfileRetrieveUpdateDestroyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiPredefinedqueryListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiPredefinedqueryList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiPredefinedqueryList", options) + ] +}); }; + +export const seqvarsApiPredefinedqueryListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiPredefinedqueryList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiPredefinedqueryList", options, true) + ] +}); }; + +export const seqvarsApiPredefinedqueryCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiPredefinedqueryCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiPredefinedqueryCreate", options) + ] +}); }; + +export const seqvarsApiPredefinedqueryCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiPredefinedqueryCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiPredefinedqueryRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiPredefinedqueryRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiPredefinedqueryRetrieve", options) + ] +}); }; + +export const seqvarsApiPredefinedqueryUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiPredefinedqueryUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiPredefinedqueryPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiPredefinedqueryPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiPredefinedqueryDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiPredefinedqueryDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQueryListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQueryList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryList", options) + ] +}); }; + +export const seqvarsApiQueryListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQueryList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryList", options, true) + ] +}); }; + +export const seqvarsApiQueryCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQueryCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryCreate", options) + ] +}); }; + +export const seqvarsApiQueryCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQueryCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQueryRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQueryRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryRetrieve", options) + ] +}); }; + +export const seqvarsApiQueryUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQueryUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQueryPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQueryPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQueryDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQueryDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQueryCreateFromCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQueryCreateFromCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryCreateFromCreate", options) + ] +}); }; + +export const seqvarsApiQueryCreateFromCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQueryCreateFromCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQueryexecutionListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQueryexecutionList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryexecutionList", options) + ] +}); }; + +export const seqvarsApiQueryexecutionListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQueryexecutionList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryexecutionList", options, true) + ] +}); }; + +export const seqvarsApiQueryexecutionRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQueryexecutionRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQueryexecutionRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsclinvarListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsclinvarList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsclinvarList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsclinvarListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsclinvarList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsclinvarList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsclinvarCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsclinvarCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsclinvarCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetsclinvarCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsclinvarCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsclinvarRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsclinvarRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsclinvarRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsclinvarUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsclinvarUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsclinvarPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsclinvarPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsclinvarDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsclinvarDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetscolumnsListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetscolumnsList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetscolumnsList", options) + ] +}); }; + +export const seqvarsApiQuerypresetscolumnsListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetscolumnsList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetscolumnsList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetscolumnsCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetscolumnsCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetscolumnsCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetscolumnsCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetscolumnsCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetscolumnsRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetscolumnsRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetscolumnsRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetscolumnsUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetscolumnsUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetscolumnsPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetscolumnsPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetscolumnsDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetscolumnsDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsconsequenceListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsconsequenceList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsconsequenceList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsconsequenceListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsconsequenceList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsconsequenceList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsconsequenceCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsconsequenceCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsconsequenceCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetsconsequenceCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsconsequenceCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsconsequenceRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsconsequenceRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsconsequenceRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsconsequenceUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsconsequenceUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsconsequencePartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsconsequencePartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsconsequenceDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsconsequenceDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsfactorydefaultsListOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsfactorydefaultsList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfactorydefaultsList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsfactorydefaultsListInfiniteOptions = (options?: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsfactorydefaultsList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfactorydefaultsList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsfactorydefaultsRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsfactorydefaultsRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfactorydefaultsRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsfrequencyListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsfrequencyList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfrequencyList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsfrequencyListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsfrequencyList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfrequencyList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsfrequencyCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsfrequencyCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfrequencyCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetsfrequencyCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsfrequencyCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsfrequencyRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsfrequencyRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsfrequencyRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsfrequencyUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsfrequencyUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsfrequencyPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsfrequencyPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsfrequencyDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsfrequencyDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetslocusListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetslocusList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetslocusList", options) + ] +}); }; + +export const seqvarsApiQuerypresetslocusListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetslocusList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetslocusList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetslocusCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetslocusCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetslocusCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetslocusCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetslocusCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetslocusRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetslocusRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetslocusRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetslocusUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetslocusUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetslocusPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetslocusPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetslocusDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetslocusDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsphenotypeprioListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsphenotypeprioList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsphenotypeprioListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsphenotypeprioList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsphenotypeprioList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsphenotypeprioCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsphenotypeprioCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetsphenotypeprioCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsphenotypeprioRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsphenotypeprioRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsphenotypeprioUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsphenotypeprioPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsphenotypeprioDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsphenotypeprioDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsqualityListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsqualityList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsqualityList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsqualityListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsqualityList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsqualityList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsqualityCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsqualityCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsqualityCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetsqualityCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsqualityCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsqualityRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsqualityRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsqualityRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsqualityUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsqualityUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsqualityPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsqualityPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsqualityDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsqualityDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetList", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetssetList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetssetCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetCopyFromCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetCopyFromCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetCopyFromCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetCopyFromCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetCopyFromCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetversionListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetversionList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetversionList", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetversionListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetssetversionList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetversionList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetssetversionCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetversionCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetversionCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetversionCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetversionCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetversionRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetversionRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetversionRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetversionUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetversionUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetversionPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetversionPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetversionDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetversionDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetssetversionCopyFromCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetssetversionCopyFromCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetssetversionCopyFromCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetssetversionCopyFromCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetssetversionCopyFromCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsvariantprioListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsvariantprioList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsvariantprioList", options) + ] +}); }; + +export const seqvarsApiQuerypresetsvariantprioListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerypresetsvariantprioList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsvariantprioList", options, true) + ] +}); }; + +export const seqvarsApiQuerypresetsvariantprioCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsvariantprioCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsvariantprioCreate", options) + ] +}); }; + +export const seqvarsApiQuerypresetsvariantprioCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsvariantprioCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsvariantprioRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerypresetsvariantprioRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerypresetsvariantprioRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerypresetsvariantprioUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsvariantprioUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsvariantprioPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsvariantprioPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerypresetsvariantprioDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerypresetsvariantprioDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerysettingsListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerysettingsList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerysettingsList", options) + ] +}); }; + +export const seqvarsApiQuerysettingsListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiQuerysettingsList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerysettingsList", options, true) + ] +}); }; + +export const seqvarsApiQuerysettingsCreateOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerysettingsCreate({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerysettingsCreate", options) + ] +}); }; + +export const seqvarsApiQuerysettingsCreateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerysettingsCreate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerysettingsRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiQuerysettingsRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiQuerysettingsRetrieve", options) + ] +}); }; + +export const seqvarsApiQuerysettingsUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerysettingsUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerysettingsPartialUpdateMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerysettingsPartialUpdate({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiQuerysettingsDestroyMutation = () => { const mutationOptions: UseMutationOptions> = { + mutationFn: async (options) => { + const { data } = await seqvarsApiQuerysettingsDestroy({ + ...options, + throwOnError: true + }); + return data; + } +}; return mutationOptions; }; + +export const seqvarsApiResultrowListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiResultrowList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiResultrowList", options) + ] +}); }; + +export const seqvarsApiResultrowListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiResultrowList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiResultrowList", options, true) + ] +}); }; + +export const seqvarsApiResultrowRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiResultrowRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiResultrowRetrieve", options) + ] +}); }; + +export const seqvarsApiResultsetListOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiResultsetList({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiResultsetList", options) + ] +}); }; + +export const seqvarsApiResultsetListInfiniteOptions = (options: Options) => { return infiniteQueryOptions, QueryKey>, string | Pick>[0], 'body' | 'headers' | 'path' | 'query'>>( +// @ts-ignore +{ + queryFn: async ({ pageParam, queryKey }) => { + // @ts-ignore + const page: Pick>[0], 'body' | 'headers' | 'path' | 'query'> = typeof pageParam === "object" ? pageParam : { + query: { + cursor: pageParam + } + }; + const { data } = await seqvarsApiResultsetList({ + ...options, + ...queryKey[0], + body: { + ...queryKey[0].body as any, + ...page.body as any + }, + headers: { + ...queryKey[0].headers, + ...page.headers + }, + path: { + ...queryKey[0].path, + ...page.path + }, + query: { + ...queryKey[0].query, + ...page.query + }, + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiResultsetList", options, true) + ] +}); }; + +export const seqvarsApiResultsetRetrieveOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await seqvarsApiResultsetRetrieve({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("seqvarsApiResultsetRetrieve", options) + ] +}); }; \ No newline at end of file diff --git a/frontend/ext/varfish-api/src/lib/schemas.gen.ts b/frontend/ext/varfish-api/src/lib/schemas.gen.ts index c285d18b7..87f28e73b 100644 --- a/frontend/ext/varfish-api/src/lib/schemas.gen.ts +++ b/frontend/ext/varfish-api/src/lib/schemas.gen.ts @@ -4472,6 +4472,17 @@ export const $RecessiveModeEnum = { * \`recessive\` - recessive` } as const; +export const $RecordCount = { + type: 'object', + description: 'Serializer for the record count.', + properties: { + count: { + type: 'integer' + } + }, + required: ['count'] +} as const; + export const $RegionCoverageStats = { description: 'Per-region QC stats for alignment.', properties: { diff --git a/frontend/ext/varfish-api/src/lib/services.gen.ts b/frontend/ext/varfish-api/src/lib/services.gen.ts index 19c0ddbf4..2e3b1ebc9 100644 --- a/frontend/ext/varfish-api/src/lib/services.gen.ts +++ b/frontend/ext/varfish-api/src/lib/services.gen.ts @@ -1,1988 +1,1670 @@ // This file is auto-generated by @hey-api/openapi-ts -import { client, type Options } from '@hey-api/client-fetch'; -import type { CasesAnalysisApiCaseanalysisListData, CasesAnalysisApiCaseanalysisListError, CasesAnalysisApiCaseanalysisListResponse, CasesAnalysisApiCaseanalysisRetrieveData, CasesAnalysisApiCaseanalysisRetrieveError, CasesAnalysisApiCaseanalysisRetrieveResponse, CasesAnalysisApiCaseanalysissessionListData, CasesAnalysisApiCaseanalysissessionListError, CasesAnalysisApiCaseanalysissessionListResponse, CasesAnalysisApiCaseanalysissessionRetrieveData, CasesAnalysisApiCaseanalysissessionRetrieveError, CasesAnalysisApiCaseanalysissessionRetrieveResponse, CasesImportApiCaseImportActionListCreateListData, CasesImportApiCaseImportActionListCreateListError, CasesImportApiCaseImportActionListCreateListResponse, CasesImportApiCaseImportActionListCreateCreateData, CasesImportApiCaseImportActionListCreateCreateError, CasesImportApiCaseImportActionListCreateCreateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveData, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveError, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateData, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateError, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateData, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateError, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyData, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyError, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyResponse, CasesQcApiCaseqcRetrieveRetrieveData, CasesQcApiCaseqcRetrieveRetrieveError, CasesQcApiCaseqcRetrieveRetrieveResponse, CasesQcApiVarfishstatsRetrieveRetrieveData, CasesQcApiVarfishstatsRetrieveRetrieveError, CasesQcApiVarfishstatsRetrieveRetrieveResponse, CasesApiAnnotationReleaseInfoListListData, CasesApiAnnotationReleaseInfoListListError, CasesApiAnnotationReleaseInfoListListResponse, CasesApiCaseCommentListCreateListData, CasesApiCaseCommentListCreateListError, CasesApiCaseCommentListCreateListResponse, CasesApiCaseCommentListCreateCreateData, CasesApiCaseCommentListCreateCreateError, CasesApiCaseCommentListCreateCreateResponse, CasesApiCasePhenotypeTermsListCreateListData, CasesApiCasePhenotypeTermsListCreateListError, CasesApiCasePhenotypeTermsListCreateListResponse, CasesApiCasePhenotypeTermsListCreateCreateData, CasesApiCasePhenotypeTermsListCreateCreateError, CasesApiCasePhenotypeTermsListCreateCreateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyResponse, CasesApiCaseListListData, CasesApiCaseListListError, CasesApiCaseListListResponse, CasesApiCaseRetrieveUpdateDestroyRetrieveData, CasesApiCaseRetrieveUpdateDestroyRetrieveError, CasesApiCaseRetrieveUpdateDestroyRetrieveResponse, CasesApiCaseRetrieveUpdateDestroyUpdateData, CasesApiCaseRetrieveUpdateDestroyUpdateError, CasesApiCaseRetrieveUpdateDestroyUpdateResponse, CasesApiCaseRetrieveUpdateDestroyPartialUpdateData, CasesApiCaseRetrieveUpdateDestroyPartialUpdateError, CasesApiCaseRetrieveUpdateDestroyPartialUpdateResponse, CasesApiCaseRetrieveUpdateDestroyDestroyData, CasesApiCaseRetrieveUpdateDestroyDestroyError, CasesApiCaseRetrieveUpdateDestroyDestroyResponse, CasesApiSvAnnotationReleaseInfoListListData, CasesApiSvAnnotationReleaseInfoListListError, CasesApiSvAnnotationReleaseInfoListListResponse, CasesApiUserAndGlobalSettingsRetrieveError, CasesApiUserAndGlobalSettingsRetrieveResponse, GenepanelsApiGenepanelCategoryListListError, GenepanelsApiGenepanelCategoryListListResponse, GenepanelsApiLookupGenepanelRetrieveError, GenepanelsApiLookupGenepanelRetrieveResponse, ProjectApiCreateCreateData, ProjectApiCreateCreateError, ProjectApiCreateCreateResponse, ProjectApiInvitesCreateCreateData, ProjectApiInvitesCreateCreateError, ProjectApiInvitesCreateCreateResponse, ProjectApiInvitesListListData, ProjectApiInvitesListListError, ProjectApiInvitesListListResponse, ProjectApiInvitesResendCreateData, ProjectApiInvitesResendCreateError, ProjectApiInvitesResendCreateResponse, ProjectApiInvitesRevokeCreateData, ProjectApiInvitesRevokeCreateError, ProjectApiInvitesRevokeCreateResponse, ProjectApiListRetrieveError, ProjectApiListRetrieveResponse, ProjectApiRemoteGetRetrieveData, ProjectApiRemoteGetRetrieveError, ProjectApiRemoteGetRetrieveResponse, ProjectApiRetrieveRetrieveData, ProjectApiRetrieveRetrieveError, ProjectApiRetrieveRetrieveResponse, ProjectApiRolesCreateCreateData, ProjectApiRolesCreateCreateError, ProjectApiRolesCreateCreateResponse, ProjectApiRolesDestroyDestroyData, ProjectApiRolesDestroyDestroyError, ProjectApiRolesDestroyDestroyResponse, ProjectApiRolesOwnerTransferCreateData, ProjectApiRolesOwnerTransferCreateError, ProjectApiRolesOwnerTransferCreateResponse, ProjectApiRolesUpdateUpdateData, ProjectApiRolesUpdateUpdateError, ProjectApiRolesUpdateUpdateResponse, ProjectApiRolesUpdatePartialUpdateData, ProjectApiRolesUpdatePartialUpdateError, ProjectApiRolesUpdatePartialUpdateResponse, ProjectApiSettingsRetrieveRetrieveData, ProjectApiSettingsRetrieveRetrieveError, ProjectApiSettingsRetrieveRetrieveResponse, ProjectApiSettingsRetrieveUserRetrieveError, ProjectApiSettingsRetrieveUserRetrieveResponse, ProjectApiSettingsSetCreateData, ProjectApiSettingsSetCreateError, ProjectApiSettingsSetCreateResponse, ProjectApiSettingsSetUserCreateError, ProjectApiSettingsSetUserCreateResponse, ProjectApiUpdateUpdateData, ProjectApiUpdateUpdateError, ProjectApiUpdateUpdateResponse, ProjectApiUpdatePartialUpdateData, ProjectApiUpdatePartialUpdateError, ProjectApiUpdatePartialUpdateResponse, ProjectApiUsersCurrentRetrieveError, ProjectApiUsersCurrentRetrieveResponse, ProjectApiUsersListListError, ProjectApiUsersListListResponse, SeqmetaApiEnrichmentkitListCreateListError, SeqmetaApiEnrichmentkitListCreateListResponse, SeqmetaApiEnrichmentkitListCreateCreateData, SeqmetaApiEnrichmentkitListCreateCreateError, SeqmetaApiEnrichmentkitListCreateCreateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyResponse, SeqmetaApiTargetbedfileListCreateListData, SeqmetaApiTargetbedfileListCreateListError, SeqmetaApiTargetbedfileListCreateListResponse, SeqmetaApiTargetbedfileListCreateCreateData, SeqmetaApiTargetbedfileListCreateCreateError, SeqmetaApiTargetbedfileListCreateCreateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyResponse, SeqvarsApiPredefinedqueryListData, SeqvarsApiPredefinedqueryListError, SeqvarsApiPredefinedqueryListResponse, SeqvarsApiPredefinedqueryCreateData, SeqvarsApiPredefinedqueryCreateError, SeqvarsApiPredefinedqueryCreateResponse, SeqvarsApiPredefinedqueryRetrieveData, SeqvarsApiPredefinedqueryRetrieveError, SeqvarsApiPredefinedqueryRetrieveResponse, SeqvarsApiPredefinedqueryUpdateData, SeqvarsApiPredefinedqueryUpdateError, SeqvarsApiPredefinedqueryUpdateResponse, SeqvarsApiPredefinedqueryPartialUpdateData, SeqvarsApiPredefinedqueryPartialUpdateError, SeqvarsApiPredefinedqueryPartialUpdateResponse, SeqvarsApiPredefinedqueryDestroyData, SeqvarsApiPredefinedqueryDestroyError, SeqvarsApiPredefinedqueryDestroyResponse, SeqvarsApiQueryListData, SeqvarsApiQueryListError, SeqvarsApiQueryListResponse, SeqvarsApiQueryCreateData, SeqvarsApiQueryCreateError, SeqvarsApiQueryCreateResponse, SeqvarsApiQueryRetrieveData, SeqvarsApiQueryRetrieveError, SeqvarsApiQueryRetrieveResponse, SeqvarsApiQueryUpdateData, SeqvarsApiQueryUpdateError, SeqvarsApiQueryUpdateResponse, SeqvarsApiQueryPartialUpdateData, SeqvarsApiQueryPartialUpdateError, SeqvarsApiQueryPartialUpdateResponse, SeqvarsApiQueryDestroyData, SeqvarsApiQueryDestroyError, SeqvarsApiQueryDestroyResponse, SeqvarsApiQueryCreateFromCreateData, SeqvarsApiQueryCreateFromCreateError, SeqvarsApiQueryCreateFromCreateResponse, SeqvarsApiQueryexecutionListData, SeqvarsApiQueryexecutionListError, SeqvarsApiQueryexecutionListResponse, SeqvarsApiQueryexecutionRetrieveData, SeqvarsApiQueryexecutionRetrieveError, SeqvarsApiQueryexecutionRetrieveResponse, SeqvarsApiQuerypresetsclinvarListData, SeqvarsApiQuerypresetsclinvarListError, SeqvarsApiQuerypresetsclinvarListResponse, SeqvarsApiQuerypresetsclinvarCreateData, SeqvarsApiQuerypresetsclinvarCreateError, SeqvarsApiQuerypresetsclinvarCreateResponse, SeqvarsApiQuerypresetsclinvarRetrieveData, SeqvarsApiQuerypresetsclinvarRetrieveError, SeqvarsApiQuerypresetsclinvarRetrieveResponse, SeqvarsApiQuerypresetsclinvarUpdateData, SeqvarsApiQuerypresetsclinvarUpdateError, SeqvarsApiQuerypresetsclinvarUpdateResponse, SeqvarsApiQuerypresetsclinvarPartialUpdateData, SeqvarsApiQuerypresetsclinvarPartialUpdateError, SeqvarsApiQuerypresetsclinvarPartialUpdateResponse, SeqvarsApiQuerypresetsclinvarDestroyData, SeqvarsApiQuerypresetsclinvarDestroyError, SeqvarsApiQuerypresetsclinvarDestroyResponse, SeqvarsApiQuerypresetscolumnsListData, SeqvarsApiQuerypresetscolumnsListError, SeqvarsApiQuerypresetscolumnsListResponse, SeqvarsApiQuerypresetscolumnsCreateData, SeqvarsApiQuerypresetscolumnsCreateError, SeqvarsApiQuerypresetscolumnsCreateResponse, SeqvarsApiQuerypresetscolumnsRetrieveData, SeqvarsApiQuerypresetscolumnsRetrieveError, SeqvarsApiQuerypresetscolumnsRetrieveResponse, SeqvarsApiQuerypresetscolumnsUpdateData, SeqvarsApiQuerypresetscolumnsUpdateError, SeqvarsApiQuerypresetscolumnsUpdateResponse, SeqvarsApiQuerypresetscolumnsPartialUpdateData, SeqvarsApiQuerypresetscolumnsPartialUpdateError, SeqvarsApiQuerypresetscolumnsPartialUpdateResponse, SeqvarsApiQuerypresetscolumnsDestroyData, SeqvarsApiQuerypresetscolumnsDestroyError, SeqvarsApiQuerypresetscolumnsDestroyResponse, SeqvarsApiQuerypresetsconsequenceListData, SeqvarsApiQuerypresetsconsequenceListError, SeqvarsApiQuerypresetsconsequenceListResponse, SeqvarsApiQuerypresetsconsequenceCreateData, SeqvarsApiQuerypresetsconsequenceCreateError, SeqvarsApiQuerypresetsconsequenceCreateResponse, SeqvarsApiQuerypresetsconsequenceRetrieveData, SeqvarsApiQuerypresetsconsequenceRetrieveError, SeqvarsApiQuerypresetsconsequenceRetrieveResponse, SeqvarsApiQuerypresetsconsequenceUpdateData, SeqvarsApiQuerypresetsconsequenceUpdateError, SeqvarsApiQuerypresetsconsequenceUpdateResponse, SeqvarsApiQuerypresetsconsequencePartialUpdateData, SeqvarsApiQuerypresetsconsequencePartialUpdateError, SeqvarsApiQuerypresetsconsequencePartialUpdateResponse, SeqvarsApiQuerypresetsconsequenceDestroyData, SeqvarsApiQuerypresetsconsequenceDestroyError, SeqvarsApiQuerypresetsconsequenceDestroyResponse, SeqvarsApiQuerypresetsfactorydefaultsListData, SeqvarsApiQuerypresetsfactorydefaultsListError, SeqvarsApiQuerypresetsfactorydefaultsListResponse, SeqvarsApiQuerypresetsfactorydefaultsRetrieveData, SeqvarsApiQuerypresetsfactorydefaultsRetrieveError, SeqvarsApiQuerypresetsfactorydefaultsRetrieveResponse, SeqvarsApiQuerypresetsfrequencyListData, SeqvarsApiQuerypresetsfrequencyListError, SeqvarsApiQuerypresetsfrequencyListResponse, SeqvarsApiQuerypresetsfrequencyCreateData, SeqvarsApiQuerypresetsfrequencyCreateError, SeqvarsApiQuerypresetsfrequencyCreateResponse, SeqvarsApiQuerypresetsfrequencyRetrieveData, SeqvarsApiQuerypresetsfrequencyRetrieveError, SeqvarsApiQuerypresetsfrequencyRetrieveResponse, SeqvarsApiQuerypresetsfrequencyUpdateData, SeqvarsApiQuerypresetsfrequencyUpdateError, SeqvarsApiQuerypresetsfrequencyUpdateResponse, SeqvarsApiQuerypresetsfrequencyPartialUpdateData, SeqvarsApiQuerypresetsfrequencyPartialUpdateError, SeqvarsApiQuerypresetsfrequencyPartialUpdateResponse, SeqvarsApiQuerypresetsfrequencyDestroyData, SeqvarsApiQuerypresetsfrequencyDestroyError, SeqvarsApiQuerypresetsfrequencyDestroyResponse, SeqvarsApiQuerypresetslocusListData, SeqvarsApiQuerypresetslocusListError, SeqvarsApiQuerypresetslocusListResponse, SeqvarsApiQuerypresetslocusCreateData, SeqvarsApiQuerypresetslocusCreateError, SeqvarsApiQuerypresetslocusCreateResponse, SeqvarsApiQuerypresetslocusRetrieveData, SeqvarsApiQuerypresetslocusRetrieveError, SeqvarsApiQuerypresetslocusRetrieveResponse, SeqvarsApiQuerypresetslocusUpdateData, SeqvarsApiQuerypresetslocusUpdateError, SeqvarsApiQuerypresetslocusUpdateResponse, SeqvarsApiQuerypresetslocusPartialUpdateData, SeqvarsApiQuerypresetslocusPartialUpdateError, SeqvarsApiQuerypresetslocusPartialUpdateResponse, SeqvarsApiQuerypresetslocusDestroyData, SeqvarsApiQuerypresetslocusDestroyError, SeqvarsApiQuerypresetslocusDestroyResponse, SeqvarsApiQuerypresetsphenotypeprioListData, SeqvarsApiQuerypresetsphenotypeprioListError, SeqvarsApiQuerypresetsphenotypeprioListResponse, SeqvarsApiQuerypresetsphenotypeprioCreateData, SeqvarsApiQuerypresetsphenotypeprioCreateError, SeqvarsApiQuerypresetsphenotypeprioCreateResponse, SeqvarsApiQuerypresetsphenotypeprioRetrieveData, SeqvarsApiQuerypresetsphenotypeprioRetrieveError, SeqvarsApiQuerypresetsphenotypeprioRetrieveResponse, SeqvarsApiQuerypresetsphenotypeprioUpdateData, SeqvarsApiQuerypresetsphenotypeprioUpdateError, SeqvarsApiQuerypresetsphenotypeprioUpdateResponse, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateData, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateError, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateResponse, SeqvarsApiQuerypresetsphenotypeprioDestroyData, SeqvarsApiQuerypresetsphenotypeprioDestroyError, SeqvarsApiQuerypresetsphenotypeprioDestroyResponse, SeqvarsApiQuerypresetsqualityListData, SeqvarsApiQuerypresetsqualityListError, SeqvarsApiQuerypresetsqualityListResponse, SeqvarsApiQuerypresetsqualityCreateData, SeqvarsApiQuerypresetsqualityCreateError, SeqvarsApiQuerypresetsqualityCreateResponse, SeqvarsApiQuerypresetsqualityRetrieveData, SeqvarsApiQuerypresetsqualityRetrieveError, SeqvarsApiQuerypresetsqualityRetrieveResponse, SeqvarsApiQuerypresetsqualityUpdateData, SeqvarsApiQuerypresetsqualityUpdateError, SeqvarsApiQuerypresetsqualityUpdateResponse, SeqvarsApiQuerypresetsqualityPartialUpdateData, SeqvarsApiQuerypresetsqualityPartialUpdateError, SeqvarsApiQuerypresetsqualityPartialUpdateResponse, SeqvarsApiQuerypresetsqualityDestroyData, SeqvarsApiQuerypresetsqualityDestroyError, SeqvarsApiQuerypresetsqualityDestroyResponse, SeqvarsApiQuerypresetssetListData, SeqvarsApiQuerypresetssetListError, SeqvarsApiQuerypresetssetListResponse, SeqvarsApiQuerypresetssetCreateData, SeqvarsApiQuerypresetssetCreateError, SeqvarsApiQuerypresetssetCreateResponse, SeqvarsApiQuerypresetssetRetrieveData, SeqvarsApiQuerypresetssetRetrieveError, SeqvarsApiQuerypresetssetRetrieveResponse, SeqvarsApiQuerypresetssetUpdateData, SeqvarsApiQuerypresetssetUpdateError, SeqvarsApiQuerypresetssetUpdateResponse, SeqvarsApiQuerypresetssetPartialUpdateData, SeqvarsApiQuerypresetssetPartialUpdateError, SeqvarsApiQuerypresetssetPartialUpdateResponse, SeqvarsApiQuerypresetssetDestroyData, SeqvarsApiQuerypresetssetDestroyError, SeqvarsApiQuerypresetssetDestroyResponse, SeqvarsApiQuerypresetssetCopyFromCreateData, SeqvarsApiQuerypresetssetCopyFromCreateError, SeqvarsApiQuerypresetssetCopyFromCreateResponse, SeqvarsApiQuerypresetssetversionListData, SeqvarsApiQuerypresetssetversionListError, SeqvarsApiQuerypresetssetversionListResponse, SeqvarsApiQuerypresetssetversionCreateData, SeqvarsApiQuerypresetssetversionCreateError, SeqvarsApiQuerypresetssetversionCreateResponse, SeqvarsApiQuerypresetssetversionRetrieveData, SeqvarsApiQuerypresetssetversionRetrieveError, SeqvarsApiQuerypresetssetversionRetrieveResponse, SeqvarsApiQuerypresetssetversionUpdateData, SeqvarsApiQuerypresetssetversionUpdateError, SeqvarsApiQuerypresetssetversionUpdateResponse, SeqvarsApiQuerypresetssetversionPartialUpdateData, SeqvarsApiQuerypresetssetversionPartialUpdateError, SeqvarsApiQuerypresetssetversionPartialUpdateResponse, SeqvarsApiQuerypresetssetversionDestroyData, SeqvarsApiQuerypresetssetversionDestroyError, SeqvarsApiQuerypresetssetversionDestroyResponse, SeqvarsApiQuerypresetssetversionCopyFromCreateData, SeqvarsApiQuerypresetssetversionCopyFromCreateError, SeqvarsApiQuerypresetssetversionCopyFromCreateResponse, SeqvarsApiQuerypresetsvariantprioListData, SeqvarsApiQuerypresetsvariantprioListError, SeqvarsApiQuerypresetsvariantprioListResponse, SeqvarsApiQuerypresetsvariantprioCreateData, SeqvarsApiQuerypresetsvariantprioCreateError, SeqvarsApiQuerypresetsvariantprioCreateResponse, SeqvarsApiQuerypresetsvariantprioRetrieveData, SeqvarsApiQuerypresetsvariantprioRetrieveError, SeqvarsApiQuerypresetsvariantprioRetrieveResponse, SeqvarsApiQuerypresetsvariantprioUpdateData, SeqvarsApiQuerypresetsvariantprioUpdateError, SeqvarsApiQuerypresetsvariantprioUpdateResponse, SeqvarsApiQuerypresetsvariantprioPartialUpdateData, SeqvarsApiQuerypresetsvariantprioPartialUpdateError, SeqvarsApiQuerypresetsvariantprioPartialUpdateResponse, SeqvarsApiQuerypresetsvariantprioDestroyData, SeqvarsApiQuerypresetsvariantprioDestroyError, SeqvarsApiQuerypresetsvariantprioDestroyResponse, SeqvarsApiQuerysettingsListData, SeqvarsApiQuerysettingsListError, SeqvarsApiQuerysettingsListResponse, SeqvarsApiQuerysettingsCreateData, SeqvarsApiQuerysettingsCreateError, SeqvarsApiQuerysettingsCreateResponse, SeqvarsApiQuerysettingsRetrieveData, SeqvarsApiQuerysettingsRetrieveError, SeqvarsApiQuerysettingsRetrieveResponse, SeqvarsApiQuerysettingsUpdateData, SeqvarsApiQuerysettingsUpdateError, SeqvarsApiQuerysettingsUpdateResponse, SeqvarsApiQuerysettingsPartialUpdateData, SeqvarsApiQuerysettingsPartialUpdateError, SeqvarsApiQuerysettingsPartialUpdateResponse, SeqvarsApiQuerysettingsDestroyData, SeqvarsApiQuerysettingsDestroyError, SeqvarsApiQuerysettingsDestroyResponse, SeqvarsApiResultrowListData, SeqvarsApiResultrowListError, SeqvarsApiResultrowListResponse, SeqvarsApiResultrowRetrieveData, SeqvarsApiResultrowRetrieveError, SeqvarsApiResultrowRetrieveResponse, SeqvarsApiResultsetListData, SeqvarsApiResultsetListError, SeqvarsApiResultsetListResponse, SeqvarsApiResultsetRetrieveData, SeqvarsApiResultsetRetrieveError, SeqvarsApiResultsetRetrieveResponse } from './types.gen'; - -export class CasesAnalysisService { - /** - * List the ``CaseAnalysis`` objects for the given case. - * - * Implement the "create single case analysis on listing" logic. - */ - public static casesAnalysisApiCaseanalysisList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-analysis/api/caseanalysis/{case}/' - }); - } - - /** - * Allow listing and retrieval of ``CaseAnalysis`` records for a given case. - * - * As we only allow for one ``CaseAnalysis`` per case, we implicitely create one - * when listing. - */ - public static casesAnalysisApiCaseanalysisRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-analysis/api/caseanalysis/{case}/{caseanalysis}/' - }); - } - - /** - * List the ``CaseAnalysisSession`` objects for the given case and current user. - * - * Implement the "create single case analysis session on listing" logic. - */ - public static casesAnalysisApiCaseanalysissessionList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-analysis/api/caseanalysissession/{case}/' - }); - } - - /** - * Allow retrieval only of ``CaseAnalysisSession`` record for current user. - */ - public static casesAnalysisApiCaseanalysissessionRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-analysis/api/caseanalysissession/{case}/{caseanalysissession}/' - }); - } - -} - -export class CasesImportService { - /** - * API view mixin for generic DRF API views with serializers, SODAR project - * context and permission checkin. - * - * Unless overriding ``permission_classes`` with their own implementation, the - * user MUST supply a ``permission_required`` attribute. - * - * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project - * compatible model name in lowercase). - * - * If the lookup is done via a foreign key, change the ``lookup_field`` - * attribute of your class into ``foreignkey__sodar_uuid``, e.g. - * ``project__sodar_uuid`` for lists. - * - * If your object(s) don't have a direct ``project`` relation, update the - * ``queryset_project_field`` to point to the field, e.g. - * ``someothermodel__project``. - */ - public static casesImportApiCaseImportActionListCreateList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-import/api/case-import-action/list-create/{project}/' - }); - } - - /** - * API view mixin for generic DRF API views with serializers, SODAR project - * context and permission checkin. - * - * Unless overriding ``permission_classes`` with their own implementation, the - * user MUST supply a ``permission_required`` attribute. - * - * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project - * compatible model name in lowercase). - * - * If the lookup is done via a foreign key, change the ``lookup_field`` - * attribute of your class into ``foreignkey__sodar_uuid``, e.g. - * ``project__sodar_uuid`` for lists. - * - * If your object(s) don't have a direct ``project`` relation, update the - * ``queryset_project_field`` to point to the field, e.g. - * ``someothermodel__project``. - */ - public static casesImportApiCaseImportActionListCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/cases-import/api/case-import-action/list-create/{project}/' - }); - } - - /** - * API view mixin for generic DRF API views with serializers, SODAR project - * context and permission checkin. - * - * Unless overriding ``permission_classes`` with their own implementation, the - * user MUST supply a ``permission_required`` attribute. - * - * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project - * compatible model name in lowercase). - * - * If the lookup is done via a foreign key, change the ``lookup_field`` - * attribute of your class into ``foreignkey__sodar_uuid``, e.g. - * ``project__sodar_uuid`` for lists. - * - * If your object(s) don't have a direct ``project`` relation, update the - * ``queryset_project_field`` to point to the field, e.g. - * ``someothermodel__project``. - */ - public static casesImportApiCaseImportActionRetrieveUpdateDestroyRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' - }); - } - - /** - * API view mixin for generic DRF API views with serializers, SODAR project - * context and permission checkin. - * - * Unless overriding ``permission_classes`` with their own implementation, the - * user MUST supply a ``permission_required`` attribute. - * - * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project - * compatible model name in lowercase). - * - * If the lookup is done via a foreign key, change the ``lookup_field`` - * attribute of your class into ``foreignkey__sodar_uuid``, e.g. - * ``project__sodar_uuid`` for lists. - * - * If your object(s) don't have a direct ``project`` relation, update the - * ``queryset_project_field`` to point to the field, e.g. - * ``someothermodel__project``. - */ - public static casesImportApiCaseImportActionRetrieveUpdateDestroyUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' - }); - } - - /** - * API view mixin for generic DRF API views with serializers, SODAR project - * context and permission checkin. - * - * Unless overriding ``permission_classes`` with their own implementation, the - * user MUST supply a ``permission_required`` attribute. - * - * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project - * compatible model name in lowercase). - * - * If the lookup is done via a foreign key, change the ``lookup_field`` - * attribute of your class into ``foreignkey__sodar_uuid``, e.g. - * ``project__sodar_uuid`` for lists. - * - * If your object(s) don't have a direct ``project`` relation, update the - * ``queryset_project_field`` to point to the field, e.g. - * ``someothermodel__project``. - */ - public static casesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' - }); - } - - /** - * API view mixin for generic DRF API views with serializers, SODAR project - * context and permission checkin. - * - * Unless overriding ``permission_classes`` with their own implementation, the - * user MUST supply a ``permission_required`` attribute. - * - * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project - * compatible model name in lowercase). - * - * If the lookup is done via a foreign key, change the ``lookup_field`` - * attribute of your class into ``foreignkey__sodar_uuid``, e.g. - * ``project__sodar_uuid`` for lists. - * - * If your object(s) don't have a direct ``project`` relation, update the - * ``queryset_project_field`` to point to the field, e.g. - * ``someothermodel__project``. - */ - public static casesImportApiCaseImportActionRetrieveUpdateDestroyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' - }); - } - -} - -export class CasesQcService { - /** - * Retrieve the latest ``CaseQc`` for the given case. - * - * This corresponds to the raw QC values imported into VarFish. See - * ``VarfishStatsRetrieveApiView`` for the information used by the UI. - * - * **URL:** ``/cases_qc/api/caseqc/retrieve/{case.sodar_uuid}/`` - * - * **Methods:** ``GET`` - * - * **Returns:** serialized ``CaseQc`` if any, HTTP 404 if not found - */ - public static casesQcApiCaseqcRetrieveRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-qc/api/caseqc/retrieve/{case}/' - }); - } - - /** - * Retrieve the latest statistics to display in the UI for a case. - * - * **URL:** ``/cases_qc/api/varfishstats/retrieve/{case.sodar_uuid}/`` - * - * **Methods:** ``GET`` - * - * **Returns:** serialized ``CaseQc`` if any, HTTP 404 if not found - */ - public static casesQcApiVarfishstatsRetrieveRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases-qc/api/varfishstats/retrieve/{case}/' - }); - } - -} - -export class CasesService { - /** - * List annotation release infos for a given case. - * - * **URL:** ``/cases/api/annotation-release-info/list/{case.sodar_uuid}`` - * - * **Methods:** ``GET`` - */ - public static casesApiAnnotationReleaseInfoListList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/annotation-release-info/list/{case}/' - }); - } - - /** - * List/create case comments for the given case. - * - * **URL:** ``/cases/api/case-comment/list-create/{case.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Parameters:** - * - * - ``page`` - specify page to return (default/first is ``1``) - * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) - * - * **Returns:** - * - * - ``count`` - number of total elements (``int``) - * - ``next`` - URL to next page (``str`` or ``null``) - * - ``previous`` - URL to next page (``str`` or ``null``) - * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) - */ - public static casesApiCaseCommentListCreateList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/case-comment/list-create/{case}/' - }); - } - - /** - * List/create case comments for the given case. - * - * **URL:** ``/cases/api/case-comment/list-create/{case.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Parameters:** - * - * - ``page`` - specify page to return (default/first is ``1``) - * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) - * - * **Returns:** - * - * - ``count`` - number of total elements (``int``) - * - ``next`` - URL to next page (``str`` or ``null``) - * - ``previous`` - URL to next page (``str`` or ``null``) - * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) - */ - public static casesApiCaseCommentListCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/cases/api/case-comment/list-create/{case}/' - }); - } - - /** - * List/create case phenotype term annotations. - * - * **URL:** ``/cases/api/case-phenotype-terms/list-create/{case.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Parameters:** - * - * - ``page`` - specify page to return (default/first is ``1``) - * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) - * - * **Returns:** - * - * - ``count`` - number of total elements (``int``) - * - ``next`` - URL to next page (``str`` or ``null``) - * - ``previous`` - URL to next page (``str`` or ``null``) - * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) - */ - public static casesApiCasePhenotypeTermsListCreateList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/case-phenotype-terms/list-create/{case}/' - }); - } - - /** - * List/create case phenotype term annotations. - * - * **URL:** ``/cases/api/case-phenotype-terms/list-create/{case.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Parameters:** - * - * - ``page`` - specify page to return (default/first is ``1``) - * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) - * - * **Returns:** - * - * - ``count`` - number of total elements (``int``) - * - ``next`` - URL to next page (``str`` or ``null``) - * - ``previous`` - URL to next page (``str`` or ``null``) - * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) - */ - public static casesApiCasePhenotypeTermsListCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/cases/api/case-phenotype-terms/list-create/{case}/' - }); - } - - /** - * Retrieve, update, destroy case comments for the given case. - * - * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` - * - * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` - */ - public static casesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' - }); - } - - /** - * Retrieve, update, destroy case comments for the given case. - * - * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` - * - * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` - */ - public static casesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' - }); - } - - /** - * Retrieve, update, destroy case comments for the given case. - * - * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` - * - * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` - */ - public static casesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' - }); - } - - /** - * Retrieve, update, destroy case comments for the given case. - * - * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` - * - * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` - */ - public static casesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' - }); - } - - /** - * List all cases in the current project. - * - * **URL:** ``/cases/api/case/list/{project.sodar_uid}/`` - * - * **Methods:** ``GET`` - * - * **Returns:** List of project details (see :py:class:`CaseRetrieveApiView`) - */ - public static casesApiCaseListList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/case/list/{project}/' - }); - } - - /** - * Update a given case. - * - * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` - * - * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. - * - * **Returns:** Updated case details. - */ - public static casesApiCaseRetrieveUpdateDestroyRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/case/retrieve-update-destroy/{case}/' - }); - } - - /** - * Update a given case. - * - * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` - * - * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. - * - * **Returns:** Updated case details. - */ - public static casesApiCaseRetrieveUpdateDestroyUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/cases/api/case/retrieve-update-destroy/{case}/' - }); - } - - /** - * Update a given case. - * - * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` - * - * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. - * - * **Returns:** Updated case details. - */ - public static casesApiCaseRetrieveUpdateDestroyPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/cases/api/case/retrieve-update-destroy/{case}/' - }); - } - - /** - * Update a given case. - * - * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` - * - * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. - * - * **Returns:** Updated case details. - */ - public static casesApiCaseRetrieveUpdateDestroyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/cases/api/case/retrieve-update-destroy/{case}/' - }); - } - - /** - * List SVannotation release infos for a given case. - * - * **URL:** ``/cases/api/sv-annotation-release-info/list/{case.sodar_uuid}`` - * - * **Methods:** ``GET`` - */ - public static casesApiSvAnnotationReleaseInfoListList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/sv-annotation-release-info/list/{case}/' - }); - } - - /** - * Retrieve user and global settings. - * - * Also, send the CSRF token as a response token. - */ - public static casesApiUserAndGlobalSettingsRetrieve(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/cases/api/user-and-global-settings/' - }); - } - -} - -export class GenepanelsService { - /** - * List all ``GenePanelCategory`` entries with ``GenePanel``. - * - * **URL:** ``/genepanels/api/gene-panel-category`` - * - * **Methods:** GET - * - * **Returns:** - */ - public static genepanelsApiGenepanelCategoryListList(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/genepanels/api/genepanel-category/list/' - }); - } - - /** - * Retrieve information about a gene panel. - * - * **URL:** ``/genepanels/api/lookup-genepanel/`` - * - * **Methods:** GET - * - * **Returns:** - */ - public static genepanelsApiLookupGenepanelRetrieve(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/genepanels/api/lookup-genepanel/' - }); - } - -} - -export class ProjectService { - /** - * Create a project or a category. - * - * **URL:** ``/project/api/create`` - * - * **Methods:** ``POST`` - * - * **Parameters:** - * - * - ``title``: Project title (string) - * - ``type``: Project type (string, options: ``PROJECT`` or ``CATEGORY``) - * - ``parent``: Parent category UUID (string) - * - ``description``: Project description (string, optional) - * - ``readme``: Project readme (string, optional, supports markdown) - * - ``public_guest_access``: Guest access for all users (boolean) - * - ``owner``: User UUID of the project owner (string) - */ - public static projectApiCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/create' - }); - } - - /** - * Create a project invite. - * - * **URL:** ``/project/api/invites/create/{Project.sodar_uuid}`` - * - * **Methods:** ``POST`` - * - * **Parameters:** - * - * - ``email``: User email (string) - * - ``role``: Desired role for user (string, e.g. "project contributor") - */ - public static projectApiInvitesCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/invites/create/{project}' - }); - } - - /** - * List user invites for a project. - * - * **URL:** ``/project/api/invites/list/{Project.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Returns:** List of project invite details - */ - public static projectApiInvitesListList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/invites/list/{project}' - }); - } - - /** - * Handle invite resending in a POST request - */ - public static projectApiInvitesResendCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/invites/resend/{projectinvite}' - }); - } - - /** - * Handle invite revoking in a POST request - */ - public static projectApiInvitesRevokeCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/invites/revoke/{projectinvite}' - }); - } - - /** - * List all projects and categories for which the requesting user has access. - * - * **URL:** ``/project/api/list`` - * - * **Methods:** ``GET`` - * - * **Returns:** - * - * List of project details (see ``ProjectRetrieveAPIView``). For project finder - * role, only lists title and UUID of projects. - */ - public static projectApiListRetrieve(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/list' - }); - } - - /** - * API view for retrieving remote projects from a source site - */ - public static projectApiRemoteGetRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/remote/get/{secret}' - }); - } - - /** - * Retrieve a project or category by its UUID. - * - * **URL:** ``/project/api/retrieve/{Project.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Returns:** - * - * - ``description``: Project description (string) - * - ``parent``: Parent category UUID (string or null) - * - ``readme``: Project readme (string, supports markdown) - * - ``public_guest_access``: Guest access for all users (boolean) - * - ``roles``: Project role assignments (dict, assignment UUID as key) - * - ``sodar_uuid``: Project UUID (string) - * - ``title``: Project title (string) - * - ``type``: Project type (string, options: ``PROJECT`` or ``CATEGORY``) - */ - public static projectApiRetrieveRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/retrieve/{project}' - }); - } - - /** - * Create a role assignment in a project. - * - * **URL:** ``/project/api/roles/create/{Project.sodar_uuid}`` - * - * **Methods:** ``POST`` - * - * **Parameters:** - * - * - ``role``: Desired role for user (string, e.g. "project contributor") - * - ``user``: User UUID (string) - */ - public static projectApiRolesCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/roles/create/{project}' - }); - } - - /** - * Destroy a role assignment. - * - * The owner role can not be destroyed using this view. - * - * **URL:** ``/project/api/roles/destroy/{RoleAssignment.sodar_uuid}`` - * - * **Methods:** ``DELETE`` - */ - public static projectApiRolesDestroyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/project/api/roles/destroy/{roleassignment}' - }); - } - - /** - * Handle ownership transfer in a POST request - */ - public static projectApiRolesOwnerTransferCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/roles/owner-transfer/{project}' - }); - } - - /** - * Update the role assignment for a user in a project. - * - * The user can not be changed in this API view. - * - * **URL:** ``/project/api/roles/update/{RoleAssignment.sodar_uuid}`` - * - * **Methods:** ``PUT``, ``PATCH`` - * - * **Parameters:** - * - * - ``role``: Desired role for user (string, e.g. "project contributor") - * - ``user``: User UUID (string) - */ - public static projectApiRolesUpdateUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/project/api/roles/update/{roleassignment}' - }); - } - - /** - * Update the role assignment for a user in a project. - * - * The user can not be changed in this API view. - * - * **URL:** ``/project/api/roles/update/{RoleAssignment.sodar_uuid}`` - * - * **Methods:** ``PUT``, ``PATCH`` - * - * **Parameters:** - * - * - ``role``: Desired role for user (string, e.g. "project contributor") - * - ``user``: User UUID (string) - */ - public static projectApiRolesUpdatePartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/project/api/roles/update/{roleassignment}' - }); - } - - /** - * API view for retrieving an app setting with the PROJECT or PROJECT_USER - * scope. - * - * **URL:** ``project/api/settings/retrieve/{Project.sodar_uuid}`` - * - * **Methods:** ``GET`` - * - * **Parameters:** - * - * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) - * - ``setting_name``: Setting name (string) - * - ``user``: User UUID for a PROJECT_USER setting (string or None, optional) - */ - public static projectApiSettingsRetrieveRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/settings/retrieve/{project}' - }); - } - - /** - * API view for retrieving an app setting with the USER scope. - * - * **URL:** ``project/api/settings/retrieve/user`` - * - * **Methods:** ``GET`` - * - * **Parameters:** - * - * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) - * - ``setting_name``: Setting name (string) - */ - public static projectApiSettingsRetrieveUserRetrieve(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/settings/retrieve/user' - }); - } - - /** - * API view for setting the value of an app setting with the PROJECT or - * PROJECT_USER scope. - * - * **URL:** ``project/api/settings/set/{Project.sodar_uuid}`` - * - * **Methods:** ``POST`` - * - * **Parameters:** - * - * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) - * - ``setting_name``: Setting name (string) - * - ``value``: Setting value (string, may contain JSON for JSON settings) - * - ``user``: User UUID for a PROJECT_USER setting (string or None, optional) - */ - public static projectApiSettingsSetCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/settings/set/{project}' - }); - } - - /** - * API view for setting the value of an app setting with the USER scope. Only - * allows the user to set the value of their own settings. - * - * **URL:** ``project/api/settings/set/user`` - * - * **Methods:** ``POST`` - * - * **Parameters:** - * - * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) - * - ``setting_name``: Setting name (string) - * - ``value``: Setting value (string, may contain JSON for JSON settings) - */ - public static projectApiSettingsSetUserCreate(options?: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/project/api/settings/set/user' - }); - } - - /** - * Update the metadata of a project or a category. - * - * Note that the project owner can not be updated here. Instead, use the - * dedicated API view ``RoleAssignmentOwnerTransferAPIView``. - * - * The project type can not be updated once a project has been created. The - * parameter is still required for non-partial updates via the ``PUT`` method. - * - * **URL:** ``/project/api/update/{Project.sodar_uuid}`` - * - * **Methods:** ``PUT``, ``PATCH`` - * - * **Parameters:** - * - * - ``title``: Project title (string) - * - ``type``: Project type (string, can not be modified) - * - ``parent``: Parent category UUID (string) - * - ``description``: Project description (string, optional) - * - ``readme``: Project readme (string, optional, supports markdown) - * - ``public_guest_access``: Guest access for all users (boolean) - */ - public static projectApiUpdateUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/project/api/update/{project}' - }); - } - - /** - * Update the metadata of a project or a category. - * - * Note that the project owner can not be updated here. Instead, use the - * dedicated API view ``RoleAssignmentOwnerTransferAPIView``. - * - * The project type can not be updated once a project has been created. The - * parameter is still required for non-partial updates via the ``PUT`` method. - * - * **URL:** ``/project/api/update/{Project.sodar_uuid}`` - * - * **Methods:** ``PUT``, ``PATCH`` - * - * **Parameters:** - * - * - ``title``: Project title (string) - * - ``type``: Project type (string, can not be modified) - * - ``parent``: Parent category UUID (string) - * - ``description``: Project description (string, optional) - * - ``readme``: Project readme (string, optional, supports markdown) - * - ``public_guest_access``: Guest access for all users (boolean) - */ - public static projectApiUpdatePartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/project/api/update/{project}' - }); - } - - /** - * Return information on the user making the request. - * - * **URL:** ``/project/api/users/current`` - * - * **Methods:** ``GET`` - * - * **Returns**: - * - * For current user: - * - * - ``email``: Email address of the user (string) - * - ``is_superuser``: Superuser status (boolean) - * - ``name``: Full name of the user (string) - * - ``sodar_uuid``: User UUID (string) - * - ``username``: Username of the user (string) - */ - public static projectApiUsersCurrentRetrieve(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/users/current' - }); - } - - /** - * Return a list of all users on the site. Excludes system users, unless called - * with superuser access. - * - * **URL:** ``/project/api/users/list`` - * - * **Methods:** ``GET`` - * - * **Returns**: List of serializers users (see ``CurrentUserRetrieveAPIView``) - */ - public static projectApiUsersListList(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/project/api/users/list' - }); - } - -} - -export class SeqmetaService { - /** - * DRF list-create API view the ``EnrichmentKit`` model. - */ - public static seqmetaApiEnrichmentkitListCreateList(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqmeta/api/enrichmentkit/list-create/' - }); - } - - /** - * DRF list-create API view the ``EnrichmentKit`` model. - */ - public static seqmetaApiEnrichmentkitListCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqmeta/api/enrichmentkit/list-create/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. - */ - public static seqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. - */ - public static seqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. - */ - public static seqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. - */ - public static seqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' - }); - } - - /** - * DRF list-create API view the ``TargetBedFile`` model. - */ - public static seqmetaApiTargetbedfileListCreateList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqmeta/api/targetbedfile/list-create/{enrichmentkit}/' - }); - } - - /** - * DRF list-create API view the ``TargetBedFile`` model. - */ - public static seqmetaApiTargetbedfileListCreateCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqmeta/api/targetbedfile/list-create/{enrichmentkit}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. - */ - public static seqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. - */ - public static seqmetaApiTargetbedfileRetrieveUpdateDestroyUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. - */ - public static seqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' - }); - } - - /** - * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. - */ - public static seqmetaApiTargetbedfileRetrieveUpdateDestroyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' - }); - } - -} - -export class SeqvarsService { - /** - * ViewSet for the ``PredefinedQuery`` model. - */ - public static seqvarsApiPredefinedqueryList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/predefinedquery/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``PredefinedQuery`` model. - */ - public static seqvarsApiPredefinedqueryCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/predefinedquery/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``PredefinedQuery`` model. - */ - public static seqvarsApiPredefinedqueryRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' - }); - } - - /** - * ViewSet for the ``PredefinedQuery`` model. - */ - public static seqvarsApiPredefinedqueryUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' - }); - } - - /** - * ViewSet for the ``PredefinedQuery`` model. - */ - public static seqvarsApiPredefinedqueryPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' - }); - } - - /** - * ViewSet for the ``PredefinedQuery`` model. - */ - public static seqvarsApiPredefinedqueryDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' - }); - } - - /** - * Allow CRUD of the user's queries. - */ - public static seqvarsApiQueryList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/query/{session}/' - }); - } - - /** - * Allow CRUD of the user's queries. - */ - public static seqvarsApiQueryCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/query/{session}/' - }); - } - - /** - * Allow CRUD of the user's queries. - */ - public static seqvarsApiQueryRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/query/{session}/{query}/' - }); - } - - /** - * Allow CRUD of the user's queries. - */ - public static seqvarsApiQueryUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/query/{session}/{query}/' - }); - } - - /** - * Allow CRUD of the user's queries. - */ - public static seqvarsApiQueryPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/query/{session}/{query}/' - }); - } - - /** - * Allow CRUD of the user's queries. - */ - public static seqvarsApiQueryDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/query/{session}/{query}/' - }); - } - - /** - * Create a new seqvars query from a predefined query. - */ - public static seqvarsApiQueryCreateFromCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/query/{session}/create_from/' - }); - } - - /** - * ViewSet for retrieving ``QueryExecution`` records. - */ - public static seqvarsApiQueryexecutionList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/queryexecution/{query}/' - }); - } - - /** - * ViewSet for retrieving ``QueryExecution`` records. - */ - public static seqvarsApiQueryexecutionRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/queryexecution/{query}/{queryexecution}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsClinvar`` model. - */ - public static seqvarsApiQuerypresetsclinvarList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsClinvar`` model. - */ - public static seqvarsApiQuerypresetsclinvarCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsClinvar`` model. - */ - public static seqvarsApiQuerypresetsclinvarRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsClinvar`` model. - */ - public static seqvarsApiQuerypresetsclinvarUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsClinvar`` model. - */ - public static seqvarsApiQuerypresetsclinvarPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsClinvar`` model. - */ - public static seqvarsApiQuerypresetsclinvarDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsColumns`` model. - */ - public static seqvarsApiQuerypresetscolumnsList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsColumns`` model. - */ - public static seqvarsApiQuerypresetscolumnsCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsColumns`` model. - */ - public static seqvarsApiQuerypresetscolumnsRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsColumns`` model. - */ - public static seqvarsApiQuerypresetscolumnsUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsColumns`` model. - */ - public static seqvarsApiQuerypresetscolumnsPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsColumns`` model. - */ - public static seqvarsApiQuerypresetscolumnsDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsConsequence`` model. - */ - public static seqvarsApiQuerypresetsconsequenceList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsConsequence`` model. - */ - public static seqvarsApiQuerypresetsconsequenceCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsConsequence`` model. - */ - public static seqvarsApiQuerypresetsconsequenceRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsConsequence`` model. - */ - public static seqvarsApiQuerypresetsconsequenceUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsConsequence`` model. - */ - public static seqvarsApiQuerypresetsconsequencePartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsConsequence`` model. - */ - public static seqvarsApiQuerypresetsconsequenceDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' - }); - } - - /** - * ViewSet for listing the factory defaults. - * - * This is a public view, no permissions are required. - */ - public static seqvarsApiQuerypresetsfactorydefaultsList(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsfactorydefaults/' - }); - } - - /** - * ViewSet for listing the factory defaults. - * - * This is a public view, no permissions are required. - */ - public static seqvarsApiQuerypresetsfactorydefaultsRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsfactorydefaults/{querypresetsset}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsFrequency`` model. - */ - public static seqvarsApiQuerypresetsfrequencyList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsFrequency`` model. - */ - public static seqvarsApiQuerypresetsfrequencyCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsFrequency`` model. - */ - public static seqvarsApiQuerypresetsfrequencyRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsFrequency`` model. - */ - public static seqvarsApiQuerypresetsfrequencyUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsFrequency`` model. - */ - public static seqvarsApiQuerypresetsfrequencyPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsFrequency`` model. - */ - public static seqvarsApiQuerypresetsfrequencyDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsLocus`` model. - */ - public static seqvarsApiQuerypresetslocusList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsLocus`` model. - */ - public static seqvarsApiQuerypresetslocusCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsLocus`` model. - */ - public static seqvarsApiQuerypresetslocusRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsLocus`` model. - */ - public static seqvarsApiQuerypresetslocusUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsLocus`` model. - */ - public static seqvarsApiQuerypresetslocusPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsLocus`` model. - */ - public static seqvarsApiQuerypresetslocusDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsPhenotypePrio`` model. - */ - public static seqvarsApiQuerypresetsphenotypeprioList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsPhenotypePrio`` model. - */ - public static seqvarsApiQuerypresetsphenotypeprioCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsPhenotypePrio`` model. - */ - public static seqvarsApiQuerypresetsphenotypeprioRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsPhenotypePrio`` model. - */ - public static seqvarsApiQuerypresetsphenotypeprioUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsPhenotypePrio`` model. - */ - public static seqvarsApiQuerypresetsphenotypeprioPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsPhenotypePrio`` model. - */ - public static seqvarsApiQuerypresetsphenotypeprioDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsQuality`` model. - */ - public static seqvarsApiQuerypresetsqualityList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsQuality`` model. - */ - public static seqvarsApiQuerypresetsqualityCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsQuality`` model. - */ - public static seqvarsApiQuerypresetsqualityRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsQuality`` model. - */ - public static seqvarsApiQuerypresetsqualityUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsQuality`` model. - */ - public static seqvarsApiQuerypresetsqualityPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsQuality`` model. - */ - public static seqvarsApiQuerypresetsqualityDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSet`` model. - */ - public static seqvarsApiQuerypresetssetList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSet`` model. - */ - public static seqvarsApiQuerypresetssetCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSet`` model. - */ - public static seqvarsApiQuerypresetssetRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSet`` model. - */ - public static seqvarsApiQuerypresetssetUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSet`` model. - */ - public static seqvarsApiQuerypresetssetPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSet`` model. - */ - public static seqvarsApiQuerypresetssetDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' - }); - } - - /** - * Create a copy/clone of the given preset set. - */ - public static seqvarsApiQuerypresetssetCopyFromCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/copy_from/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSetVersion`` model. - */ - public static seqvarsApiQuerypresetssetversionList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSetVersion`` model. - */ - public static seqvarsApiQuerypresetssetversionCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSetVersion`` model. - */ - public static seqvarsApiQuerypresetssetversionRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSetVersion`` model. - */ - public static seqvarsApiQuerypresetssetversionUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSetVersion`` model. - */ - public static seqvarsApiQuerypresetssetversionPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsSetVersion`` model. - */ - public static seqvarsApiQuerypresetssetversionDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' - }); - } - - /** - * Copy from another presets set version. - */ - public static seqvarsApiQuerypresetssetversionCopyFromCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/copy_from/' - }); - } - - /** - * ViewSet for the ``QueryPresetsVariantPrio`` model. - */ - public static seqvarsApiQuerypresetsvariantprioList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsVariantPrio`` model. - */ - public static seqvarsApiQuerypresetsvariantprioCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsVariantPrio`` model. - */ - public static seqvarsApiQuerypresetsvariantprioRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsVariantPrio`` model. - */ - public static seqvarsApiQuerypresetsvariantprioUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsVariantPrio`` model. - */ - public static seqvarsApiQuerypresetsvariantprioPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' - }); - } - - /** - * ViewSet for the ``QueryPresetsVariantPrio`` model. - */ - public static seqvarsApiQuerypresetsvariantprioDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' - }); - } - - /** - * ViewSet for the ``QuerySettings`` model. - */ - public static seqvarsApiQuerysettingsList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querysettings/{session}/' - }); - } - - /** - * ViewSet for the ``QuerySettings`` model. - */ - public static seqvarsApiQuerysettingsCreate(options: Options) { - return (options?.client ?? client).post({ - ...options, - url: '/seqvars/api/querysettings/{session}/' - }); - } - - /** - * ViewSet for the ``QuerySettings`` model. - */ - public static seqvarsApiQuerysettingsRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/querysettings/{session}/{querysettings}/' - }); - } - - /** - * ViewSet for the ``QuerySettings`` model. - */ - public static seqvarsApiQuerysettingsUpdate(options: Options) { - return (options?.client ?? client).put({ - ...options, - url: '/seqvars/api/querysettings/{session}/{querysettings}/' - }); - } - - /** - * ViewSet for the ``QuerySettings`` model. - */ - public static seqvarsApiQuerysettingsPartialUpdate(options: Options) { - return (options?.client ?? client).patch({ - ...options, - url: '/seqvars/api/querysettings/{session}/{querysettings}/' - }); - } - - /** - * ViewSet for the ``QuerySettings`` model. - */ - public static seqvarsApiQuerysettingsDestroy(options: Options) { - return (options?.client ?? client).delete({ - ...options, - url: '/seqvars/api/querysettings/{session}/{querysettings}/' - }); - } - - /** - * ViewSet for retrieving ``ResultRow`` records. - */ - public static seqvarsApiResultrowList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/resultrow/{resultset}/' - }); - } - - /** - * ViewSet for retrieving ``ResultRow`` records. - */ - public static seqvarsApiResultrowRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/resultrow/{resultset}/{seqvarresultrow}/' - }); - } - - /** - * ViewSet for retrieving ``ResultSet`` records. - */ - public static seqvarsApiResultsetList(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/resultset/{query}/' - }); - } - - /** - * ViewSet for retrieving ``ResultSet`` records. - */ - public static seqvarsApiResultsetRetrieve(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/seqvars/api/resultset/{query}/{resultset}/' - }); - } - -} \ No newline at end of file +import { createClient, createConfig, type Options } from '@hey-api/client-fetch'; +import type { CasesAnalysisApiCaseanalysisListData, CasesAnalysisApiCaseanalysisListError, CasesAnalysisApiCaseanalysisListResponse, CasesAnalysisApiCaseanalysisRetrieveData, CasesAnalysisApiCaseanalysisRetrieveError, CasesAnalysisApiCaseanalysisRetrieveResponse, CasesAnalysisApiCaseanalysissessionListData, CasesAnalysisApiCaseanalysissessionListError, CasesAnalysisApiCaseanalysissessionListResponse, CasesAnalysisApiCaseanalysissessionRetrieveData, CasesAnalysisApiCaseanalysissessionRetrieveError, CasesAnalysisApiCaseanalysissessionRetrieveResponse, CasesImportApiCaseImportActionListCreateListData, CasesImportApiCaseImportActionListCreateListError, CasesImportApiCaseImportActionListCreateListResponse, CasesImportApiCaseImportActionListCreateCreateData, CasesImportApiCaseImportActionListCreateCreateError, CasesImportApiCaseImportActionListCreateCreateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveData, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveError, CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateData, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateError, CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateData, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateError, CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateResponse, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyData, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyError, CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyResponse, CasesQcApiCaseqcRetrieveRetrieveData, CasesQcApiCaseqcRetrieveRetrieveError, CasesQcApiCaseqcRetrieveRetrieveResponse, CasesQcApiVarfishstatsRetrieveRetrieveData, CasesQcApiVarfishstatsRetrieveRetrieveError, CasesQcApiVarfishstatsRetrieveRetrieveResponse, CasesApiAnnotationReleaseInfoListListData, CasesApiAnnotationReleaseInfoListListError, CasesApiAnnotationReleaseInfoListListResponse, CasesApiCaseCommentListCreateListData, CasesApiCaseCommentListCreateListError, CasesApiCaseCommentListCreateListResponse, CasesApiCaseCommentListCreateCreateData, CasesApiCaseCommentListCreateCreateError, CasesApiCaseCommentListCreateCreateResponse, CasesApiCasePhenotypeTermsListCreateListData, CasesApiCasePhenotypeTermsListCreateListError, CasesApiCasePhenotypeTermsListCreateListResponse, CasesApiCasePhenotypeTermsListCreateCreateData, CasesApiCasePhenotypeTermsListCreateCreateError, CasesApiCasePhenotypeTermsListCreateCreateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateResponse, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyData, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyError, CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyResponse, CasesApiCaseCountRetrieveData, CasesApiCaseCountRetrieveError, CasesApiCaseCountRetrieveResponse, CasesApiCaseListListData, CasesApiCaseListListError, CasesApiCaseListListResponse, CasesApiCaseRetrieveUpdateDestroyRetrieveData, CasesApiCaseRetrieveUpdateDestroyRetrieveError, CasesApiCaseRetrieveUpdateDestroyRetrieveResponse, CasesApiCaseRetrieveUpdateDestroyUpdateData, CasesApiCaseRetrieveUpdateDestroyUpdateError, CasesApiCaseRetrieveUpdateDestroyUpdateResponse, CasesApiCaseRetrieveUpdateDestroyPartialUpdateData, CasesApiCaseRetrieveUpdateDestroyPartialUpdateError, CasesApiCaseRetrieveUpdateDestroyPartialUpdateResponse, CasesApiCaseRetrieveUpdateDestroyDestroyData, CasesApiCaseRetrieveUpdateDestroyDestroyError, CasesApiCaseRetrieveUpdateDestroyDestroyResponse, CasesApiSvAnnotationReleaseInfoListListData, CasesApiSvAnnotationReleaseInfoListListError, CasesApiSvAnnotationReleaseInfoListListResponse, CasesApiUserAndGlobalSettingsRetrieveError, CasesApiUserAndGlobalSettingsRetrieveResponse, GenepanelsApiGenepanelCategoryListListError, GenepanelsApiGenepanelCategoryListListResponse, GenepanelsApiLookupGenepanelRetrieveError, GenepanelsApiLookupGenepanelRetrieveResponse, ProjectApiCreateCreateData, ProjectApiCreateCreateError, ProjectApiCreateCreateResponse, ProjectApiInvitesCreateCreateData, ProjectApiInvitesCreateCreateError, ProjectApiInvitesCreateCreateResponse, ProjectApiInvitesListListData, ProjectApiInvitesListListError, ProjectApiInvitesListListResponse, ProjectApiInvitesResendCreateData, ProjectApiInvitesResendCreateError, ProjectApiInvitesResendCreateResponse, ProjectApiInvitesRevokeCreateData, ProjectApiInvitesRevokeCreateError, ProjectApiInvitesRevokeCreateResponse, ProjectApiListRetrieveError, ProjectApiListRetrieveResponse, ProjectApiRemoteGetRetrieveData, ProjectApiRemoteGetRetrieveError, ProjectApiRemoteGetRetrieveResponse, ProjectApiRetrieveRetrieveData, ProjectApiRetrieveRetrieveError, ProjectApiRetrieveRetrieveResponse, ProjectApiRolesCreateCreateData, ProjectApiRolesCreateCreateError, ProjectApiRolesCreateCreateResponse, ProjectApiRolesDestroyDestroyData, ProjectApiRolesDestroyDestroyError, ProjectApiRolesDestroyDestroyResponse, ProjectApiRolesOwnerTransferCreateData, ProjectApiRolesOwnerTransferCreateError, ProjectApiRolesOwnerTransferCreateResponse, ProjectApiRolesUpdateUpdateData, ProjectApiRolesUpdateUpdateError, ProjectApiRolesUpdateUpdateResponse, ProjectApiRolesUpdatePartialUpdateData, ProjectApiRolesUpdatePartialUpdateError, ProjectApiRolesUpdatePartialUpdateResponse, ProjectApiSettingsRetrieveRetrieveData, ProjectApiSettingsRetrieveRetrieveError, ProjectApiSettingsRetrieveRetrieveResponse, ProjectApiSettingsRetrieveUserRetrieveError, ProjectApiSettingsRetrieveUserRetrieveResponse, ProjectApiSettingsSetCreateData, ProjectApiSettingsSetCreateError, ProjectApiSettingsSetCreateResponse, ProjectApiSettingsSetUserCreateError, ProjectApiSettingsSetUserCreateResponse, ProjectApiUpdateUpdateData, ProjectApiUpdateUpdateError, ProjectApiUpdateUpdateResponse, ProjectApiUpdatePartialUpdateData, ProjectApiUpdatePartialUpdateError, ProjectApiUpdatePartialUpdateResponse, ProjectApiUsersCurrentRetrieveError, ProjectApiUsersCurrentRetrieveResponse, ProjectApiUsersListListError, ProjectApiUsersListListResponse, SeqmetaApiEnrichmentkitListCreateListError, SeqmetaApiEnrichmentkitListCreateListResponse, SeqmetaApiEnrichmentkitListCreateCreateData, SeqmetaApiEnrichmentkitListCreateCreateError, SeqmetaApiEnrichmentkitListCreateCreateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateResponse, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyData, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyError, SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyResponse, SeqmetaApiTargetbedfileListCreateListData, SeqmetaApiTargetbedfileListCreateListError, SeqmetaApiTargetbedfileListCreateListResponse, SeqmetaApiTargetbedfileListCreateCreateData, SeqmetaApiTargetbedfileListCreateCreateError, SeqmetaApiTargetbedfileListCreateCreateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateResponse, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyData, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyError, SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyResponse, SeqvarsApiPredefinedqueryListData, SeqvarsApiPredefinedqueryListError, SeqvarsApiPredefinedqueryListResponse, SeqvarsApiPredefinedqueryCreateData, SeqvarsApiPredefinedqueryCreateError, SeqvarsApiPredefinedqueryCreateResponse, SeqvarsApiPredefinedqueryRetrieveData, SeqvarsApiPredefinedqueryRetrieveError, SeqvarsApiPredefinedqueryRetrieveResponse, SeqvarsApiPredefinedqueryUpdateData, SeqvarsApiPredefinedqueryUpdateError, SeqvarsApiPredefinedqueryUpdateResponse, SeqvarsApiPredefinedqueryPartialUpdateData, SeqvarsApiPredefinedqueryPartialUpdateError, SeqvarsApiPredefinedqueryPartialUpdateResponse, SeqvarsApiPredefinedqueryDestroyData, SeqvarsApiPredefinedqueryDestroyError, SeqvarsApiPredefinedqueryDestroyResponse, SeqvarsApiQueryListData, SeqvarsApiQueryListError, SeqvarsApiQueryListResponse, SeqvarsApiQueryCreateData, SeqvarsApiQueryCreateError, SeqvarsApiQueryCreateResponse, SeqvarsApiQueryRetrieveData, SeqvarsApiQueryRetrieveError, SeqvarsApiQueryRetrieveResponse, SeqvarsApiQueryUpdateData, SeqvarsApiQueryUpdateError, SeqvarsApiQueryUpdateResponse, SeqvarsApiQueryPartialUpdateData, SeqvarsApiQueryPartialUpdateError, SeqvarsApiQueryPartialUpdateResponse, SeqvarsApiQueryDestroyData, SeqvarsApiQueryDestroyError, SeqvarsApiQueryDestroyResponse, SeqvarsApiQueryCreateFromCreateData, SeqvarsApiQueryCreateFromCreateError, SeqvarsApiQueryCreateFromCreateResponse, SeqvarsApiQueryexecutionListData, SeqvarsApiQueryexecutionListError, SeqvarsApiQueryexecutionListResponse, SeqvarsApiQueryexecutionRetrieveData, SeqvarsApiQueryexecutionRetrieveError, SeqvarsApiQueryexecutionRetrieveResponse, SeqvarsApiQuerypresetsclinvarListData, SeqvarsApiQuerypresetsclinvarListError, SeqvarsApiQuerypresetsclinvarListResponse, SeqvarsApiQuerypresetsclinvarCreateData, SeqvarsApiQuerypresetsclinvarCreateError, SeqvarsApiQuerypresetsclinvarCreateResponse, SeqvarsApiQuerypresetsclinvarRetrieveData, SeqvarsApiQuerypresetsclinvarRetrieveError, SeqvarsApiQuerypresetsclinvarRetrieveResponse, SeqvarsApiQuerypresetsclinvarUpdateData, SeqvarsApiQuerypresetsclinvarUpdateError, SeqvarsApiQuerypresetsclinvarUpdateResponse, SeqvarsApiQuerypresetsclinvarPartialUpdateData, SeqvarsApiQuerypresetsclinvarPartialUpdateError, SeqvarsApiQuerypresetsclinvarPartialUpdateResponse, SeqvarsApiQuerypresetsclinvarDestroyData, SeqvarsApiQuerypresetsclinvarDestroyError, SeqvarsApiQuerypresetsclinvarDestroyResponse, SeqvarsApiQuerypresetscolumnsListData, SeqvarsApiQuerypresetscolumnsListError, SeqvarsApiQuerypresetscolumnsListResponse, SeqvarsApiQuerypresetscolumnsCreateData, SeqvarsApiQuerypresetscolumnsCreateError, SeqvarsApiQuerypresetscolumnsCreateResponse, SeqvarsApiQuerypresetscolumnsRetrieveData, SeqvarsApiQuerypresetscolumnsRetrieveError, SeqvarsApiQuerypresetscolumnsRetrieveResponse, SeqvarsApiQuerypresetscolumnsUpdateData, SeqvarsApiQuerypresetscolumnsUpdateError, SeqvarsApiQuerypresetscolumnsUpdateResponse, SeqvarsApiQuerypresetscolumnsPartialUpdateData, SeqvarsApiQuerypresetscolumnsPartialUpdateError, SeqvarsApiQuerypresetscolumnsPartialUpdateResponse, SeqvarsApiQuerypresetscolumnsDestroyData, SeqvarsApiQuerypresetscolumnsDestroyError, SeqvarsApiQuerypresetscolumnsDestroyResponse, SeqvarsApiQuerypresetsconsequenceListData, SeqvarsApiQuerypresetsconsequenceListError, SeqvarsApiQuerypresetsconsequenceListResponse, SeqvarsApiQuerypresetsconsequenceCreateData, SeqvarsApiQuerypresetsconsequenceCreateError, SeqvarsApiQuerypresetsconsequenceCreateResponse, SeqvarsApiQuerypresetsconsequenceRetrieveData, SeqvarsApiQuerypresetsconsequenceRetrieveError, SeqvarsApiQuerypresetsconsequenceRetrieveResponse, SeqvarsApiQuerypresetsconsequenceUpdateData, SeqvarsApiQuerypresetsconsequenceUpdateError, SeqvarsApiQuerypresetsconsequenceUpdateResponse, SeqvarsApiQuerypresetsconsequencePartialUpdateData, SeqvarsApiQuerypresetsconsequencePartialUpdateError, SeqvarsApiQuerypresetsconsequencePartialUpdateResponse, SeqvarsApiQuerypresetsconsequenceDestroyData, SeqvarsApiQuerypresetsconsequenceDestroyError, SeqvarsApiQuerypresetsconsequenceDestroyResponse, SeqvarsApiQuerypresetsfactorydefaultsListData, SeqvarsApiQuerypresetsfactorydefaultsListError, SeqvarsApiQuerypresetsfactorydefaultsListResponse, SeqvarsApiQuerypresetsfactorydefaultsRetrieveData, SeqvarsApiQuerypresetsfactorydefaultsRetrieveError, SeqvarsApiQuerypresetsfactorydefaultsRetrieveResponse, SeqvarsApiQuerypresetsfrequencyListData, SeqvarsApiQuerypresetsfrequencyListError, SeqvarsApiQuerypresetsfrequencyListResponse, SeqvarsApiQuerypresetsfrequencyCreateData, SeqvarsApiQuerypresetsfrequencyCreateError, SeqvarsApiQuerypresetsfrequencyCreateResponse, SeqvarsApiQuerypresetsfrequencyRetrieveData, SeqvarsApiQuerypresetsfrequencyRetrieveError, SeqvarsApiQuerypresetsfrequencyRetrieveResponse, SeqvarsApiQuerypresetsfrequencyUpdateData, SeqvarsApiQuerypresetsfrequencyUpdateError, SeqvarsApiQuerypresetsfrequencyUpdateResponse, SeqvarsApiQuerypresetsfrequencyPartialUpdateData, SeqvarsApiQuerypresetsfrequencyPartialUpdateError, SeqvarsApiQuerypresetsfrequencyPartialUpdateResponse, SeqvarsApiQuerypresetsfrequencyDestroyData, SeqvarsApiQuerypresetsfrequencyDestroyError, SeqvarsApiQuerypresetsfrequencyDestroyResponse, SeqvarsApiQuerypresetslocusListData, SeqvarsApiQuerypresetslocusListError, SeqvarsApiQuerypresetslocusListResponse, SeqvarsApiQuerypresetslocusCreateData, SeqvarsApiQuerypresetslocusCreateError, SeqvarsApiQuerypresetslocusCreateResponse, SeqvarsApiQuerypresetslocusRetrieveData, SeqvarsApiQuerypresetslocusRetrieveError, SeqvarsApiQuerypresetslocusRetrieveResponse, SeqvarsApiQuerypresetslocusUpdateData, SeqvarsApiQuerypresetslocusUpdateError, SeqvarsApiQuerypresetslocusUpdateResponse, SeqvarsApiQuerypresetslocusPartialUpdateData, SeqvarsApiQuerypresetslocusPartialUpdateError, SeqvarsApiQuerypresetslocusPartialUpdateResponse, SeqvarsApiQuerypresetslocusDestroyData, SeqvarsApiQuerypresetslocusDestroyError, SeqvarsApiQuerypresetslocusDestroyResponse, SeqvarsApiQuerypresetsphenotypeprioListData, SeqvarsApiQuerypresetsphenotypeprioListError, SeqvarsApiQuerypresetsphenotypeprioListResponse, SeqvarsApiQuerypresetsphenotypeprioCreateData, SeqvarsApiQuerypresetsphenotypeprioCreateError, SeqvarsApiQuerypresetsphenotypeprioCreateResponse, SeqvarsApiQuerypresetsphenotypeprioRetrieveData, SeqvarsApiQuerypresetsphenotypeprioRetrieveError, SeqvarsApiQuerypresetsphenotypeprioRetrieveResponse, SeqvarsApiQuerypresetsphenotypeprioUpdateData, SeqvarsApiQuerypresetsphenotypeprioUpdateError, SeqvarsApiQuerypresetsphenotypeprioUpdateResponse, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateData, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateError, SeqvarsApiQuerypresetsphenotypeprioPartialUpdateResponse, SeqvarsApiQuerypresetsphenotypeprioDestroyData, SeqvarsApiQuerypresetsphenotypeprioDestroyError, SeqvarsApiQuerypresetsphenotypeprioDestroyResponse, SeqvarsApiQuerypresetsqualityListData, SeqvarsApiQuerypresetsqualityListError, SeqvarsApiQuerypresetsqualityListResponse, SeqvarsApiQuerypresetsqualityCreateData, SeqvarsApiQuerypresetsqualityCreateError, SeqvarsApiQuerypresetsqualityCreateResponse, SeqvarsApiQuerypresetsqualityRetrieveData, SeqvarsApiQuerypresetsqualityRetrieveError, SeqvarsApiQuerypresetsqualityRetrieveResponse, SeqvarsApiQuerypresetsqualityUpdateData, SeqvarsApiQuerypresetsqualityUpdateError, SeqvarsApiQuerypresetsqualityUpdateResponse, SeqvarsApiQuerypresetsqualityPartialUpdateData, SeqvarsApiQuerypresetsqualityPartialUpdateError, SeqvarsApiQuerypresetsqualityPartialUpdateResponse, SeqvarsApiQuerypresetsqualityDestroyData, SeqvarsApiQuerypresetsqualityDestroyError, SeqvarsApiQuerypresetsqualityDestroyResponse, SeqvarsApiQuerypresetssetListData, SeqvarsApiQuerypresetssetListError, SeqvarsApiQuerypresetssetListResponse, SeqvarsApiQuerypresetssetCreateData, SeqvarsApiQuerypresetssetCreateError, SeqvarsApiQuerypresetssetCreateResponse, SeqvarsApiQuerypresetssetRetrieveData, SeqvarsApiQuerypresetssetRetrieveError, SeqvarsApiQuerypresetssetRetrieveResponse, SeqvarsApiQuerypresetssetUpdateData, SeqvarsApiQuerypresetssetUpdateError, SeqvarsApiQuerypresetssetUpdateResponse, SeqvarsApiQuerypresetssetPartialUpdateData, SeqvarsApiQuerypresetssetPartialUpdateError, SeqvarsApiQuerypresetssetPartialUpdateResponse, SeqvarsApiQuerypresetssetDestroyData, SeqvarsApiQuerypresetssetDestroyError, SeqvarsApiQuerypresetssetDestroyResponse, SeqvarsApiQuerypresetssetCopyFromCreateData, SeqvarsApiQuerypresetssetCopyFromCreateError, SeqvarsApiQuerypresetssetCopyFromCreateResponse, SeqvarsApiQuerypresetssetversionListData, SeqvarsApiQuerypresetssetversionListError, SeqvarsApiQuerypresetssetversionListResponse, SeqvarsApiQuerypresetssetversionCreateData, SeqvarsApiQuerypresetssetversionCreateError, SeqvarsApiQuerypresetssetversionCreateResponse, SeqvarsApiQuerypresetssetversionRetrieveData, SeqvarsApiQuerypresetssetversionRetrieveError, SeqvarsApiQuerypresetssetversionRetrieveResponse, SeqvarsApiQuerypresetssetversionUpdateData, SeqvarsApiQuerypresetssetversionUpdateError, SeqvarsApiQuerypresetssetversionUpdateResponse, SeqvarsApiQuerypresetssetversionPartialUpdateData, SeqvarsApiQuerypresetssetversionPartialUpdateError, SeqvarsApiQuerypresetssetversionPartialUpdateResponse, SeqvarsApiQuerypresetssetversionDestroyData, SeqvarsApiQuerypresetssetversionDestroyError, SeqvarsApiQuerypresetssetversionDestroyResponse, SeqvarsApiQuerypresetssetversionCopyFromCreateData, SeqvarsApiQuerypresetssetversionCopyFromCreateError, SeqvarsApiQuerypresetssetversionCopyFromCreateResponse, SeqvarsApiQuerypresetsvariantprioListData, SeqvarsApiQuerypresetsvariantprioListError, SeqvarsApiQuerypresetsvariantprioListResponse, SeqvarsApiQuerypresetsvariantprioCreateData, SeqvarsApiQuerypresetsvariantprioCreateError, SeqvarsApiQuerypresetsvariantprioCreateResponse, SeqvarsApiQuerypresetsvariantprioRetrieveData, SeqvarsApiQuerypresetsvariantprioRetrieveError, SeqvarsApiQuerypresetsvariantprioRetrieveResponse, SeqvarsApiQuerypresetsvariantprioUpdateData, SeqvarsApiQuerypresetsvariantprioUpdateError, SeqvarsApiQuerypresetsvariantprioUpdateResponse, SeqvarsApiQuerypresetsvariantprioPartialUpdateData, SeqvarsApiQuerypresetsvariantprioPartialUpdateError, SeqvarsApiQuerypresetsvariantprioPartialUpdateResponse, SeqvarsApiQuerypresetsvariantprioDestroyData, SeqvarsApiQuerypresetsvariantprioDestroyError, SeqvarsApiQuerypresetsvariantprioDestroyResponse, SeqvarsApiQuerysettingsListData, SeqvarsApiQuerysettingsListError, SeqvarsApiQuerysettingsListResponse, SeqvarsApiQuerysettingsCreateData, SeqvarsApiQuerysettingsCreateError, SeqvarsApiQuerysettingsCreateResponse, SeqvarsApiQuerysettingsRetrieveData, SeqvarsApiQuerysettingsRetrieveError, SeqvarsApiQuerysettingsRetrieveResponse, SeqvarsApiQuerysettingsUpdateData, SeqvarsApiQuerysettingsUpdateError, SeqvarsApiQuerysettingsUpdateResponse, SeqvarsApiQuerysettingsPartialUpdateData, SeqvarsApiQuerysettingsPartialUpdateError, SeqvarsApiQuerysettingsPartialUpdateResponse, SeqvarsApiQuerysettingsDestroyData, SeqvarsApiQuerysettingsDestroyError, SeqvarsApiQuerysettingsDestroyResponse, SeqvarsApiResultrowListData, SeqvarsApiResultrowListError, SeqvarsApiResultrowListResponse, SeqvarsApiResultrowRetrieveData, SeqvarsApiResultrowRetrieveError, SeqvarsApiResultrowRetrieveResponse, SeqvarsApiResultsetListData, SeqvarsApiResultsetListError, SeqvarsApiResultsetListResponse, SeqvarsApiResultsetRetrieveData, SeqvarsApiResultsetRetrieveError, SeqvarsApiResultsetRetrieveResponse } from './types.gen'; + +export const client = createClient(createConfig()); + +/** + * List the ``CaseAnalysis`` objects for the given case. + * + * Implement the "create single case analysis on listing" logic. + */ +export const casesAnalysisApiCaseanalysisList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-analysis/api/caseanalysis/{case}/' +}); }; + +/** + * Allow listing and retrieval of ``CaseAnalysis`` records for a given case. + * + * As we only allow for one ``CaseAnalysis`` per case, we implicitely create one + * when listing. + */ +export const casesAnalysisApiCaseanalysisRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-analysis/api/caseanalysis/{case}/{caseanalysis}/' +}); }; + +/** + * List the ``CaseAnalysisSession`` objects for the given case and current user. + * + * Implement the "create single case analysis session on listing" logic. + */ +export const casesAnalysisApiCaseanalysissessionList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-analysis/api/caseanalysissession/{case}/' +}); }; + +/** + * Allow retrieval only of ``CaseAnalysisSession`` record for current user. + */ +export const casesAnalysisApiCaseanalysissessionRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-analysis/api/caseanalysissession/{case}/{caseanalysissession}/' +}); }; + +/** + * API view mixin for generic DRF API views with serializers, SODAR project + * context and permission checkin. + * + * Unless overriding ``permission_classes`` with their own implementation, the + * user MUST supply a ``permission_required`` attribute. + * + * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project + * compatible model name in lowercase). + * + * If the lookup is done via a foreign key, change the ``lookup_field`` + * attribute of your class into ``foreignkey__sodar_uuid``, e.g. + * ``project__sodar_uuid`` for lists. + * + * If your object(s) don't have a direct ``project`` relation, update the + * ``queryset_project_field`` to point to the field, e.g. + * ``someothermodel__project``. + */ +export const casesImportApiCaseImportActionListCreateList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-import/api/case-import-action/list-create/{project}/' +}); }; + +/** + * API view mixin for generic DRF API views with serializers, SODAR project + * context and permission checkin. + * + * Unless overriding ``permission_classes`` with their own implementation, the + * user MUST supply a ``permission_required`` attribute. + * + * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project + * compatible model name in lowercase). + * + * If the lookup is done via a foreign key, change the ``lookup_field`` + * attribute of your class into ``foreignkey__sodar_uuid``, e.g. + * ``project__sodar_uuid`` for lists. + * + * If your object(s) don't have a direct ``project`` relation, update the + * ``queryset_project_field`` to point to the field, e.g. + * ``someothermodel__project``. + */ +export const casesImportApiCaseImportActionListCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/cases-import/api/case-import-action/list-create/{project}/' +}); }; + +/** + * API view mixin for generic DRF API views with serializers, SODAR project + * context and permission checkin. + * + * Unless overriding ``permission_classes`` with their own implementation, the + * user MUST supply a ``permission_required`` attribute. + * + * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project + * compatible model name in lowercase). + * + * If the lookup is done via a foreign key, change the ``lookup_field`` + * attribute of your class into ``foreignkey__sodar_uuid``, e.g. + * ``project__sodar_uuid`` for lists. + * + * If your object(s) don't have a direct ``project`` relation, update the + * ``queryset_project_field`` to point to the field, e.g. + * ``someothermodel__project``. + */ +export const casesImportApiCaseImportActionRetrieveUpdateDestroyRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' +}); }; + +/** + * API view mixin for generic DRF API views with serializers, SODAR project + * context and permission checkin. + * + * Unless overriding ``permission_classes`` with their own implementation, the + * user MUST supply a ``permission_required`` attribute. + * + * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project + * compatible model name in lowercase). + * + * If the lookup is done via a foreign key, change the ``lookup_field`` + * attribute of your class into ``foreignkey__sodar_uuid``, e.g. + * ``project__sodar_uuid`` for lists. + * + * If your object(s) don't have a direct ``project`` relation, update the + * ``queryset_project_field`` to point to the field, e.g. + * ``someothermodel__project``. + */ +export const casesImportApiCaseImportActionRetrieveUpdateDestroyUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' +}); }; + +/** + * API view mixin for generic DRF API views with serializers, SODAR project + * context and permission checkin. + * + * Unless overriding ``permission_classes`` with their own implementation, the + * user MUST supply a ``permission_required`` attribute. + * + * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project + * compatible model name in lowercase). + * + * If the lookup is done via a foreign key, change the ``lookup_field`` + * attribute of your class into ``foreignkey__sodar_uuid``, e.g. + * ``project__sodar_uuid`` for lists. + * + * If your object(s) don't have a direct ``project`` relation, update the + * ``queryset_project_field`` to point to the field, e.g. + * ``someothermodel__project``. + */ +export const casesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' +}); }; + +/** + * API view mixin for generic DRF API views with serializers, SODAR project + * context and permission checkin. + * + * Unless overriding ``permission_classes`` with their own implementation, the + * user MUST supply a ``permission_required`` attribute. + * + * Replace ``lookup_url_kwarg`` with your view's url kwarg (SODAR project + * compatible model name in lowercase). + * + * If the lookup is done via a foreign key, change the ``lookup_field`` + * attribute of your class into ``foreignkey__sodar_uuid``, e.g. + * ``project__sodar_uuid`` for lists. + * + * If your object(s) don't have a direct ``project`` relation, update the + * ``queryset_project_field`` to point to the field, e.g. + * ``someothermodel__project``. + */ +export const casesImportApiCaseImportActionRetrieveUpdateDestroyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/' +}); }; + +/** + * Retrieve the latest ``CaseQc`` for the given case. + * + * This corresponds to the raw QC values imported into VarFish. See + * ``VarfishStatsRetrieveApiView`` for the information used by the UI. + * + * **URL:** ``/cases_qc/api/caseqc/retrieve/{case.sodar_uuid}/`` + * + * **Methods:** ``GET`` + * + * **Returns:** serialized ``CaseQc`` if any, HTTP 404 if not found + */ +export const casesQcApiCaseqcRetrieveRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-qc/api/caseqc/retrieve/{case}/' +}); }; + +/** + * Retrieve the latest statistics to display in the UI for a case. + * + * **URL:** ``/cases_qc/api/varfishstats/retrieve/{case.sodar_uuid}/`` + * + * **Methods:** ``GET`` + * + * **Returns:** serialized ``CaseQc`` if any, HTTP 404 if not found + */ +export const casesQcApiVarfishstatsRetrieveRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases-qc/api/varfishstats/retrieve/{case}/' +}); }; + +/** + * List annotation release infos for a given case. + * + * **URL:** ``/cases/api/annotation-release-info/list/{case.sodar_uuid}`` + * + * **Methods:** ``GET`` + */ +export const casesApiAnnotationReleaseInfoListList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/annotation-release-info/list/{case}/' +}); }; + +/** + * List/create case comments for the given case. + * + * **URL:** ``/cases/api/case-comment/list-create/{case.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Parameters:** + * + * - ``page`` - specify page to return (default/first is ``1``) + * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) + * + * **Returns:** + * + * - ``count`` - number of total elements (``int``) + * - ``next`` - URL to next page (``str`` or ``null``) + * - ``previous`` - URL to next page (``str`` or ``null``) + * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) + */ +export const casesApiCaseCommentListCreateList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/case-comment/list-create/{case}/' +}); }; + +/** + * List/create case comments for the given case. + * + * **URL:** ``/cases/api/case-comment/list-create/{case.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Parameters:** + * + * - ``page`` - specify page to return (default/first is ``1``) + * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) + * + * **Returns:** + * + * - ``count`` - number of total elements (``int``) + * - ``next`` - URL to next page (``str`` or ``null``) + * - ``previous`` - URL to next page (``str`` or ``null``) + * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) + */ +export const casesApiCaseCommentListCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/cases/api/case-comment/list-create/{case}/' +}); }; + +/** + * List/create case phenotype term annotations. + * + * **URL:** ``/cases/api/case-phenotype-terms/list-create/{case.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Parameters:** + * + * - ``page`` - specify page to return (default/first is ``1``) + * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) + * + * **Returns:** + * + * - ``count`` - number of total elements (``int``) + * - ``next`` - URL to next page (``str`` or ``null``) + * - ``previous`` - URL to next page (``str`` or ``null``) + * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) + */ +export const casesApiCasePhenotypeTermsListCreateList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/case-phenotype-terms/list-create/{case}/' +}); }; + +/** + * List/create case phenotype term annotations. + * + * **URL:** ``/cases/api/case-phenotype-terms/list-create/{case.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Parameters:** + * + * - ``page`` - specify page to return (default/first is ``1``) + * - ``page_size`` -- number of elements per page (default is ``10``, maximum is ``100``) + * + * **Returns:** + * + * - ``count`` - number of total elements (``int``) + * - ``next`` - URL to next page (``str`` or ``null``) + * - ``previous`` - URL to next page (``str`` or ``null``) + * - ``results`` - ``list`` of case small variant query details (see :py:class:`SmallVariantQuery`) + */ +export const casesApiCasePhenotypeTermsListCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/cases/api/case-phenotype-terms/list-create/{case}/' +}); }; + +/** + * Retrieve, update, destroy case comments for the given case. + * + * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` + * + * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` + */ +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' +}); }; + +/** + * Retrieve, update, destroy case comments for the given case. + * + * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` + * + * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` + */ +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' +}); }; + +/** + * Retrieve, update, destroy case comments for the given case. + * + * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` + * + * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` + */ +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' +}); }; + +/** + * Retrieve, update, destroy case comments for the given case. + * + * **URL:** ``/cases/api/case-phenotype-terms/retrieve-update-destroy/{case_phenotype_terms.sodar_uuid}`` + * + * **Methods:** ``GET``, ``PATCH``, ``PUT``, ``DELETE`` + */ +export const casesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/' +}); }; + +/** + * Return the number of cases, potentially filtered. + */ +export const casesApiCaseCountRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/case/count/{project}/' +}); }; + +/** + * List all cases in the current project. + * + * **URL:** ``/cases/api/case/list/{project.sodar_uid}/`` + * + * **Methods:** ``GET`` + * + * **Returns:** List of project details (see :py:class:`CaseRetrieveApiView`) + */ +export const casesApiCaseListList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/case/list/{project}/' +}); }; + +/** + * Update a given case. + * + * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` + * + * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. + * + * **Returns:** Updated case details. + */ +export const casesApiCaseRetrieveUpdateDestroyRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/case/retrieve-update-destroy/{case}/' +}); }; + +/** + * Update a given case. + * + * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` + * + * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. + * + * **Returns:** Updated case details. + */ +export const casesApiCaseRetrieveUpdateDestroyUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/cases/api/case/retrieve-update-destroy/{case}/' +}); }; + +/** + * Update a given case. + * + * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` + * + * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. + * + * **Returns:** Updated case details. + */ +export const casesApiCaseRetrieveUpdateDestroyPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/cases/api/case/retrieve-update-destroy/{case}/' +}); }; + +/** + * Update a given case. + * + * **URL:** ``/cases/api/case/update/{case.sodar_uid}/`` + * + * **Methods:** ``PATCH``, ``PUT``, ``DELETE``. + * + * **Returns:** Updated case details. + */ +export const casesApiCaseRetrieveUpdateDestroyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/cases/api/case/retrieve-update-destroy/{case}/' +}); }; + +/** + * List SVannotation release infos for a given case. + * + * **URL:** ``/cases/api/sv-annotation-release-info/list/{case.sodar_uuid}`` + * + * **Methods:** ``GET`` + */ +export const casesApiSvAnnotationReleaseInfoListList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/sv-annotation-release-info/list/{case}/' +}); }; + +/** + * Retrieve user and global settings. + * + * Also, send the CSRF token as a response token. + */ +export const casesApiUserAndGlobalSettingsRetrieve = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/cases/api/user-and-global-settings/' +}); }; + +/** + * List all ``GenePanelCategory`` entries with ``GenePanel``. + * + * **URL:** ``/genepanels/api/gene-panel-category`` + * + * **Methods:** GET + * + * **Returns:** + */ +export const genepanelsApiGenepanelCategoryListList = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/genepanels/api/genepanel-category/list/' +}); }; + +/** + * Retrieve information about a gene panel. + * + * **URL:** ``/genepanels/api/lookup-genepanel/`` + * + * **Methods:** GET + * + * **Returns:** + */ +export const genepanelsApiLookupGenepanelRetrieve = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/genepanels/api/lookup-genepanel/' +}); }; + +/** + * Create a project or a category. + * + * **URL:** ``/project/api/create`` + * + * **Methods:** ``POST`` + * + * **Parameters:** + * + * - ``title``: Project title (string) + * - ``type``: Project type (string, options: ``PROJECT`` or ``CATEGORY``) + * - ``parent``: Parent category UUID (string) + * - ``description``: Project description (string, optional) + * - ``readme``: Project readme (string, optional, supports markdown) + * - ``public_guest_access``: Guest access for all users (boolean) + * - ``owner``: User UUID of the project owner (string) + */ +export const projectApiCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/create' +}); }; + +/** + * Create a project invite. + * + * **URL:** ``/project/api/invites/create/{Project.sodar_uuid}`` + * + * **Methods:** ``POST`` + * + * **Parameters:** + * + * - ``email``: User email (string) + * - ``role``: Desired role for user (string, e.g. "project contributor") + */ +export const projectApiInvitesCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/invites/create/{project}' +}); }; + +/** + * List user invites for a project. + * + * **URL:** ``/project/api/invites/list/{Project.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Returns:** List of project invite details + */ +export const projectApiInvitesListList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/invites/list/{project}' +}); }; + +/** + * Handle invite resending in a POST request + */ +export const projectApiInvitesResendCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/invites/resend/{projectinvite}' +}); }; + +/** + * Handle invite revoking in a POST request + */ +export const projectApiInvitesRevokeCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/invites/revoke/{projectinvite}' +}); }; + +/** + * List all projects and categories for which the requesting user has access. + * + * **URL:** ``/project/api/list`` + * + * **Methods:** ``GET`` + * + * **Returns:** + * + * List of project details (see ``ProjectRetrieveAPIView``). For project finder + * role, only lists title and UUID of projects. + */ +export const projectApiListRetrieve = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/list' +}); }; + +/** + * API view for retrieving remote projects from a source site + */ +export const projectApiRemoteGetRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/remote/get/{secret}' +}); }; + +/** + * Retrieve a project or category by its UUID. + * + * **URL:** ``/project/api/retrieve/{Project.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Returns:** + * + * - ``description``: Project description (string) + * - ``parent``: Parent category UUID (string or null) + * - ``readme``: Project readme (string, supports markdown) + * - ``public_guest_access``: Guest access for all users (boolean) + * - ``roles``: Project role assignments (dict, assignment UUID as key) + * - ``sodar_uuid``: Project UUID (string) + * - ``title``: Project title (string) + * - ``type``: Project type (string, options: ``PROJECT`` or ``CATEGORY``) + */ +export const projectApiRetrieveRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/retrieve/{project}' +}); }; + +/** + * Create a role assignment in a project. + * + * **URL:** ``/project/api/roles/create/{Project.sodar_uuid}`` + * + * **Methods:** ``POST`` + * + * **Parameters:** + * + * - ``role``: Desired role for user (string, e.g. "project contributor") + * - ``user``: User UUID (string) + */ +export const projectApiRolesCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/roles/create/{project}' +}); }; + +/** + * Destroy a role assignment. + * + * The owner role can not be destroyed using this view. + * + * **URL:** ``/project/api/roles/destroy/{RoleAssignment.sodar_uuid}`` + * + * **Methods:** ``DELETE`` + */ +export const projectApiRolesDestroyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/project/api/roles/destroy/{roleassignment}' +}); }; + +/** + * Handle ownership transfer in a POST request + */ +export const projectApiRolesOwnerTransferCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/roles/owner-transfer/{project}' +}); }; + +/** + * Update the role assignment for a user in a project. + * + * The user can not be changed in this API view. + * + * **URL:** ``/project/api/roles/update/{RoleAssignment.sodar_uuid}`` + * + * **Methods:** ``PUT``, ``PATCH`` + * + * **Parameters:** + * + * - ``role``: Desired role for user (string, e.g. "project contributor") + * - ``user``: User UUID (string) + */ +export const projectApiRolesUpdateUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/project/api/roles/update/{roleassignment}' +}); }; + +/** + * Update the role assignment for a user in a project. + * + * The user can not be changed in this API view. + * + * **URL:** ``/project/api/roles/update/{RoleAssignment.sodar_uuid}`` + * + * **Methods:** ``PUT``, ``PATCH`` + * + * **Parameters:** + * + * - ``role``: Desired role for user (string, e.g. "project contributor") + * - ``user``: User UUID (string) + */ +export const projectApiRolesUpdatePartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/project/api/roles/update/{roleassignment}' +}); }; + +/** + * API view for retrieving an app setting with the PROJECT or PROJECT_USER + * scope. + * + * **URL:** ``project/api/settings/retrieve/{Project.sodar_uuid}`` + * + * **Methods:** ``GET`` + * + * **Parameters:** + * + * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) + * - ``setting_name``: Setting name (string) + * - ``user``: User UUID for a PROJECT_USER setting (string or None, optional) + */ +export const projectApiSettingsRetrieveRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/settings/retrieve/{project}' +}); }; + +/** + * API view for retrieving an app setting with the USER scope. + * + * **URL:** ``project/api/settings/retrieve/user`` + * + * **Methods:** ``GET`` + * + * **Parameters:** + * + * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) + * - ``setting_name``: Setting name (string) + */ +export const projectApiSettingsRetrieveUserRetrieve = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/settings/retrieve/user' +}); }; + +/** + * API view for setting the value of an app setting with the PROJECT or + * PROJECT_USER scope. + * + * **URL:** ``project/api/settings/set/{Project.sodar_uuid}`` + * + * **Methods:** ``POST`` + * + * **Parameters:** + * + * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) + * - ``setting_name``: Setting name (string) + * - ``value``: Setting value (string, may contain JSON for JSON settings) + * - ``user``: User UUID for a PROJECT_USER setting (string or None, optional) + */ +export const projectApiSettingsSetCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/settings/set/{project}' +}); }; + +/** + * API view for setting the value of an app setting with the USER scope. Only + * allows the user to set the value of their own settings. + * + * **URL:** ``project/api/settings/set/user`` + * + * **Methods:** ``POST`` + * + * **Parameters:** + * + * - ``app_name``: Name of app plugin for the setting, use "projectroles" for projectroles settings (string) + * - ``setting_name``: Setting name (string) + * - ``value``: Setting value (string, may contain JSON for JSON settings) + */ +export const projectApiSettingsSetUserCreate = (options?: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/project/api/settings/set/user' +}); }; + +/** + * Update the metadata of a project or a category. + * + * Note that the project owner can not be updated here. Instead, use the + * dedicated API view ``RoleAssignmentOwnerTransferAPIView``. + * + * The project type can not be updated once a project has been created. The + * parameter is still required for non-partial updates via the ``PUT`` method. + * + * **URL:** ``/project/api/update/{Project.sodar_uuid}`` + * + * **Methods:** ``PUT``, ``PATCH`` + * + * **Parameters:** + * + * - ``title``: Project title (string) + * - ``type``: Project type (string, can not be modified) + * - ``parent``: Parent category UUID (string) + * - ``description``: Project description (string, optional) + * - ``readme``: Project readme (string, optional, supports markdown) + * - ``public_guest_access``: Guest access for all users (boolean) + */ +export const projectApiUpdateUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/project/api/update/{project}' +}); }; + +/** + * Update the metadata of a project or a category. + * + * Note that the project owner can not be updated here. Instead, use the + * dedicated API view ``RoleAssignmentOwnerTransferAPIView``. + * + * The project type can not be updated once a project has been created. The + * parameter is still required for non-partial updates via the ``PUT`` method. + * + * **URL:** ``/project/api/update/{Project.sodar_uuid}`` + * + * **Methods:** ``PUT``, ``PATCH`` + * + * **Parameters:** + * + * - ``title``: Project title (string) + * - ``type``: Project type (string, can not be modified) + * - ``parent``: Parent category UUID (string) + * - ``description``: Project description (string, optional) + * - ``readme``: Project readme (string, optional, supports markdown) + * - ``public_guest_access``: Guest access for all users (boolean) + */ +export const projectApiUpdatePartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/project/api/update/{project}' +}); }; + +/** + * Return information on the user making the request. + * + * **URL:** ``/project/api/users/current`` + * + * **Methods:** ``GET`` + * + * **Returns**: + * + * For current user: + * + * - ``email``: Email address of the user (string) + * - ``is_superuser``: Superuser status (boolean) + * - ``name``: Full name of the user (string) + * - ``sodar_uuid``: User UUID (string) + * - ``username``: Username of the user (string) + */ +export const projectApiUsersCurrentRetrieve = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/users/current' +}); }; + +/** + * Return a list of all users on the site. Excludes system users, unless called + * with superuser access. + * + * **URL:** ``/project/api/users/list`` + * + * **Methods:** ``GET`` + * + * **Returns**: List of serializers users (see ``CurrentUserRetrieveAPIView``) + */ +export const projectApiUsersListList = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/project/api/users/list' +}); }; + +/** + * DRF list-create API view the ``EnrichmentKit`` model. + */ +export const seqmetaApiEnrichmentkitListCreateList = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqmeta/api/enrichmentkit/list-create/' +}); }; + +/** + * DRF list-create API view the ``EnrichmentKit`` model. + */ +export const seqmetaApiEnrichmentkitListCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqmeta/api/enrichmentkit/list-create/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. + */ +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. + */ +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. + */ +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``EnrichmentKit`` model. + */ +export const seqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/' +}); }; + +/** + * DRF list-create API view the ``TargetBedFile`` model. + */ +export const seqmetaApiTargetbedfileListCreateList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqmeta/api/targetbedfile/list-create/{enrichmentkit}/' +}); }; + +/** + * DRF list-create API view the ``TargetBedFile`` model. + */ +export const seqmetaApiTargetbedfileListCreateCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqmeta/api/targetbedfile/list-create/{enrichmentkit}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. + */ +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. + */ +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. + */ +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' +}); }; + +/** + * DRF retrieve-update-destroy API view for the ``TargetBedFile`` model. + */ +export const seqmetaApiTargetbedfileRetrieveUpdateDestroyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/' +}); }; + +/** + * ViewSet for the ``PredefinedQuery`` model. + */ +export const seqvarsApiPredefinedqueryList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/predefinedquery/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``PredefinedQuery`` model. + */ +export const seqvarsApiPredefinedqueryCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/predefinedquery/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``PredefinedQuery`` model. + */ +export const seqvarsApiPredefinedqueryRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' +}); }; + +/** + * ViewSet for the ``PredefinedQuery`` model. + */ +export const seqvarsApiPredefinedqueryUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' +}); }; + +/** + * ViewSet for the ``PredefinedQuery`` model. + */ +export const seqvarsApiPredefinedqueryPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' +}); }; + +/** + * ViewSet for the ``PredefinedQuery`` model. + */ +export const seqvarsApiPredefinedqueryDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/' +}); }; + +/** + * Allow CRUD of the user's queries. + */ +export const seqvarsApiQueryList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/query/{session}/' +}); }; + +/** + * Allow CRUD of the user's queries. + */ +export const seqvarsApiQueryCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/query/{session}/' +}); }; + +/** + * Allow CRUD of the user's queries. + */ +export const seqvarsApiQueryRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/query/{session}/{query}/' +}); }; + +/** + * Allow CRUD of the user's queries. + */ +export const seqvarsApiQueryUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/query/{session}/{query}/' +}); }; + +/** + * Allow CRUD of the user's queries. + */ +export const seqvarsApiQueryPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/query/{session}/{query}/' +}); }; + +/** + * Allow CRUD of the user's queries. + */ +export const seqvarsApiQueryDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/query/{session}/{query}/' +}); }; + +/** + * Create a new seqvars query from a predefined query. + */ +export const seqvarsApiQueryCreateFromCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/query/{session}/create_from/' +}); }; + +/** + * ViewSet for retrieving ``QueryExecution`` records. + */ +export const seqvarsApiQueryexecutionList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/queryexecution/{query}/' +}); }; + +/** + * ViewSet for retrieving ``QueryExecution`` records. + */ +export const seqvarsApiQueryexecutionRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/queryexecution/{query}/{queryexecution}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsClinvar`` model. + */ +export const seqvarsApiQuerypresetsclinvarList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsClinvar`` model. + */ +export const seqvarsApiQuerypresetsclinvarCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsClinvar`` model. + */ +export const seqvarsApiQuerypresetsclinvarRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsClinvar`` model. + */ +export const seqvarsApiQuerypresetsclinvarUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsClinvar`` model. + */ +export const seqvarsApiQuerypresetsclinvarPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsClinvar`` model. + */ +export const seqvarsApiQuerypresetsclinvarDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsColumns`` model. + */ +export const seqvarsApiQuerypresetscolumnsList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsColumns`` model. + */ +export const seqvarsApiQuerypresetscolumnsCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsColumns`` model. + */ +export const seqvarsApiQuerypresetscolumnsRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsColumns`` model. + */ +export const seqvarsApiQuerypresetscolumnsUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsColumns`` model. + */ +export const seqvarsApiQuerypresetscolumnsPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsColumns`` model. + */ +export const seqvarsApiQuerypresetscolumnsDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsConsequence`` model. + */ +export const seqvarsApiQuerypresetsconsequenceList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsConsequence`` model. + */ +export const seqvarsApiQuerypresetsconsequenceCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsConsequence`` model. + */ +export const seqvarsApiQuerypresetsconsequenceRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsConsequence`` model. + */ +export const seqvarsApiQuerypresetsconsequenceUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsConsequence`` model. + */ +export const seqvarsApiQuerypresetsconsequencePartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsConsequence`` model. + */ +export const seqvarsApiQuerypresetsconsequenceDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/' +}); }; + +/** + * ViewSet for listing the factory defaults. + * + * This is a public view, no permissions are required. + */ +export const seqvarsApiQuerypresetsfactorydefaultsList = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsfactorydefaults/' +}); }; + +/** + * ViewSet for listing the factory defaults. + * + * This is a public view, no permissions are required. + */ +export const seqvarsApiQuerypresetsfactorydefaultsRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsfactorydefaults/{querypresetsset}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsFrequency`` model. + */ +export const seqvarsApiQuerypresetsfrequencyList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsFrequency`` model. + */ +export const seqvarsApiQuerypresetsfrequencyCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsFrequency`` model. + */ +export const seqvarsApiQuerypresetsfrequencyRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsFrequency`` model. + */ +export const seqvarsApiQuerypresetsfrequencyUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsFrequency`` model. + */ +export const seqvarsApiQuerypresetsfrequencyPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsFrequency`` model. + */ +export const seqvarsApiQuerypresetsfrequencyDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsLocus`` model. + */ +export const seqvarsApiQuerypresetslocusList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsLocus`` model. + */ +export const seqvarsApiQuerypresetslocusCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsLocus`` model. + */ +export const seqvarsApiQuerypresetslocusRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsLocus`` model. + */ +export const seqvarsApiQuerypresetslocusUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsLocus`` model. + */ +export const seqvarsApiQuerypresetslocusPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsLocus`` model. + */ +export const seqvarsApiQuerypresetslocusDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsPhenotypePrio`` model. + */ +export const seqvarsApiQuerypresetsphenotypeprioList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsPhenotypePrio`` model. + */ +export const seqvarsApiQuerypresetsphenotypeprioCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsPhenotypePrio`` model. + */ +export const seqvarsApiQuerypresetsphenotypeprioRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsPhenotypePrio`` model. + */ +export const seqvarsApiQuerypresetsphenotypeprioUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsPhenotypePrio`` model. + */ +export const seqvarsApiQuerypresetsphenotypeprioPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsPhenotypePrio`` model. + */ +export const seqvarsApiQuerypresetsphenotypeprioDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsQuality`` model. + */ +export const seqvarsApiQuerypresetsqualityList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsQuality`` model. + */ +export const seqvarsApiQuerypresetsqualityCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsQuality`` model. + */ +export const seqvarsApiQuerypresetsqualityRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsQuality`` model. + */ +export const seqvarsApiQuerypresetsqualityUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsQuality`` model. + */ +export const seqvarsApiQuerypresetsqualityPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsQuality`` model. + */ +export const seqvarsApiQuerypresetsqualityDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSet`` model. + */ +export const seqvarsApiQuerypresetssetList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSet`` model. + */ +export const seqvarsApiQuerypresetssetCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSet`` model. + */ +export const seqvarsApiQuerypresetssetRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSet`` model. + */ +export const seqvarsApiQuerypresetssetUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSet`` model. + */ +export const seqvarsApiQuerypresetssetPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSet`` model. + */ +export const seqvarsApiQuerypresetssetDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/' +}); }; + +/** + * Create a copy/clone of the given preset set. + */ +export const seqvarsApiQuerypresetssetCopyFromCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsset/{project}/{querypresetsset}/copy_from/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSetVersion`` model. + */ +export const seqvarsApiQuerypresetssetversionList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSetVersion`` model. + */ +export const seqvarsApiQuerypresetssetversionCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSetVersion`` model. + */ +export const seqvarsApiQuerypresetssetversionRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSetVersion`` model. + */ +export const seqvarsApiQuerypresetssetversionUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSetVersion`` model. + */ +export const seqvarsApiQuerypresetssetversionPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsSetVersion`` model. + */ +export const seqvarsApiQuerypresetssetversionDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/' +}); }; + +/** + * Copy from another presets set version. + */ +export const seqvarsApiQuerypresetssetversionCopyFromCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/copy_from/' +}); }; + +/** + * ViewSet for the ``QueryPresetsVariantPrio`` model. + */ +export const seqvarsApiQuerypresetsvariantprioList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsVariantPrio`` model. + */ +export const seqvarsApiQuerypresetsvariantprioCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsVariantPrio`` model. + */ +export const seqvarsApiQuerypresetsvariantprioRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsVariantPrio`` model. + */ +export const seqvarsApiQuerypresetsvariantprioUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsVariantPrio`` model. + */ +export const seqvarsApiQuerypresetsvariantprioPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' +}); }; + +/** + * ViewSet for the ``QueryPresetsVariantPrio`` model. + */ +export const seqvarsApiQuerypresetsvariantprioDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/' +}); }; + +/** + * ViewSet for the ``QuerySettings`` model. + */ +export const seqvarsApiQuerysettingsList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querysettings/{session}/' +}); }; + +/** + * ViewSet for the ``QuerySettings`` model. + */ +export const seqvarsApiQuerysettingsCreate = (options: Options) => { return (options?.client ?? client).post({ + ...options, + url: '/seqvars/api/querysettings/{session}/' +}); }; + +/** + * ViewSet for the ``QuerySettings`` model. + */ +export const seqvarsApiQuerysettingsRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/querysettings/{session}/{querysettings}/' +}); }; + +/** + * ViewSet for the ``QuerySettings`` model. + */ +export const seqvarsApiQuerysettingsUpdate = (options: Options) => { return (options?.client ?? client).put({ + ...options, + url: '/seqvars/api/querysettings/{session}/{querysettings}/' +}); }; + +/** + * ViewSet for the ``QuerySettings`` model. + */ +export const seqvarsApiQuerysettingsPartialUpdate = (options: Options) => { return (options?.client ?? client).patch({ + ...options, + url: '/seqvars/api/querysettings/{session}/{querysettings}/' +}); }; + +/** + * ViewSet for the ``QuerySettings`` model. + */ +export const seqvarsApiQuerysettingsDestroy = (options: Options) => { return (options?.client ?? client).delete({ + ...options, + url: '/seqvars/api/querysettings/{session}/{querysettings}/' +}); }; + +/** + * ViewSet for retrieving ``ResultRow`` records. + */ +export const seqvarsApiResultrowList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/resultrow/{resultset}/' +}); }; + +/** + * ViewSet for retrieving ``ResultRow`` records. + */ +export const seqvarsApiResultrowRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/resultrow/{resultset}/{seqvarresultrow}/' +}); }; + +/** + * ViewSet for retrieving ``ResultSet`` records. + */ +export const seqvarsApiResultsetList = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/resultset/{query}/' +}); }; + +/** + * ViewSet for retrieving ``ResultSet`` records. + */ +export const seqvarsApiResultsetRetrieve = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/seqvars/api/resultset/{query}/{resultset}/' +}); }; \ No newline at end of file diff --git a/frontend/ext/varfish-api/src/lib/types.gen.ts b/frontend/ext/varfish-api/src/lib/types.gen.ts index 7e443eab4..fff5c9e70 100644 --- a/frontend/ext/varfish-api/src/lib/types.gen.ts +++ b/frontend/ext/varfish-api/src/lib/types.gen.ts @@ -28,7 +28,7 @@ export type AppSetting = { * Project SODAR UUID */ readonly project: string; - readonly user: SODARUser; + readonly user: (SODARUser); /** * Name of the setting */ @@ -40,7 +40,7 @@ export type AppSetting = { /** * Value of the setting */ - readonly value: string | null; + readonly value: (string) | null; /** * Setting visibility in forms */ @@ -70,7 +70,7 @@ export type BcftoolsStatsIddRecordList = Array<{ length: number; sites: number; gts: number; - mean_vaf: number | null; + mean_vaf: (number | null); }>; /** @@ -92,7 +92,7 @@ export type BcftoolsStatsMetrics = { }; export type BcftoolsStatsQualRecordList = Array<{ - qual: number | null; + qual: (number | null); snps: number; ts: number; tv: number; @@ -111,7 +111,7 @@ export type BcftoolsStatsSisRecordList = Array<{ export type BcftoolsStatsSnRecordList = Array<{ key: string; - value: number | string | null; + value: (number | string | null); }>; export type BcftoolsStatsStRecordList = Array<{ @@ -324,10 +324,10 @@ export type CaseSerializerNg = { [key: string]: Array<(string)>; }; readonly smallvariantqueryresultset: { - [key: string]: (number | string | null); + [key: string]: ((number | string) | null); }; readonly svqueryresultset: { - [key: string]: (number | string | null); + [key: string]: ((number | string) | null); }; /** * Obtain the latest CaseQC for this in active state and serialize it. @@ -335,19 +335,19 @@ export type CaseSerializerNg = { * If there is no such record then return ``None``. */ readonly caseqc: { - [key: string]: (number | string | null); + [key: string]: ((number | string) | null); } | null; /** * Obtain the pedigree for this case and serialize it. */ readonly pedigree_obj: { - [key: string]: (number | string | null); + [key: string]: ((number | string) | null); } | null; - readonly release: string | null; + readonly release: (string) | null; name: string; index: string; readonly pedigree: unknown; - notes?: string | null; + notes?: (string) | null; status?: CaseStatusEnum; tags?: Array<(string)> | null; /** @@ -359,15 +359,15 @@ export type CaseSerializerNg = { */ readonly date_modified: string; case_version?: number; - readonly state: CaseSerializerNgStateEnum | NullEnum | null; + readonly state: ((CaseSerializerNgStateEnum | NullEnum) | null); /** * Number of small variants, empty if no small variants have been imported */ - readonly num_small_vars: number | null; + readonly num_small_vars: (number) | null; /** * Number of structural variants, empty if no structural variants have been imported */ - readonly num_svs: number | null; + readonly num_svs: (number) | null; }; /** @@ -379,7 +379,7 @@ export type CaseSerializerNg = { export type CaseSerializerNgRequest = { name: string; index: string; - notes?: string | null; + notes?: (string) | null; status?: CaseStatusEnum; tags?: Array<(string)> | null; case_version?: number; @@ -457,7 +457,7 @@ export type CraminoMetrics = { export type CraminoSummaryRecordList = Array<{ key: string; - value: number | string; + value: (number | string); }>; /** @@ -614,11 +614,11 @@ export type DragenStyleCoverageList = Array<{ }>; export type DragenStyleMetricList = Array<{ - section: string | null; - entry: string | null; - name: string | null; - value: number | string | null; - value_float?: number | null; + section: (string | null); + entry: (string | null); + name: (string | null); + value: (number | string | null); + value_float?: (number | null); }>; /** @@ -764,7 +764,7 @@ export type EnrichmentKit = { /** * Optional description of the enrichment kit */ - description?: string | null; + description?: (string) | null; }; /** @@ -782,7 +782,7 @@ export type EnrichmentKitRequest = { /** * Optional description of the enrichment kit */ - description?: string | null; + description?: (string) | null; }; /** @@ -816,7 +816,7 @@ export type GenePanel = { * * `active` - active * * `retired` - retired */ - readonly state: GenePanelStateEnum; + readonly state: (GenePanelStateEnum); /** * Major version of the gene panel (by identifier) */ @@ -832,7 +832,7 @@ export type GenePanel = { /** * Description of the panel */ - readonly description: string | null; + readonly description: (string) | null; }; /** @@ -846,8 +846,8 @@ export type GenePanelCategory = { /** * Optional description of the category */ - readonly description: string | null; - readonly genepanel_set: GenePanel; + readonly description: (string) | null; + readonly genepanel_set: (GenePanel); }; export type GenePanelPydanticList = Array<{ @@ -872,9 +872,9 @@ export type GenePanelStateEnum = 'draft' | 'active' | 'retired'; export type GenePydanticList = Array<{ hgnc_id: string; symbol: string; - name?: string | null; - entrez_id?: number | null; - ensembl_id?: string | null; + name?: (string | null); + entrez_id?: (number | null); + ensembl_id?: (string | null); }>; /** @@ -892,7 +892,7 @@ export type GeneRelatedAnnotationPydantic = { */ export type GeneRelatedConsequencesPydantic = { hgvs_t: string; - hgvs_p: string | null; + hgvs_p: (string | null); consequences: Array; }; @@ -900,11 +900,11 @@ export type GeneRelatedConsequencesPydantic = { * Gene-wise constraints. */ export type GeneRelatedConstraintsPydantic = { - gnomad?: GnomadConstraintsPydantic | null; - decipher?: DecipherConstraintsPydantic | null; - rcnv?: RcnvConstraintsPydantic | null; - shet?: ShetConstraintsPydantic | null; - clingen?: ClingenDosageAnnotationPydantic | null; + gnomad?: (GnomadConstraintsPydantic | null); + decipher?: (DecipherConstraintsPydantic | null); + rcnv?: (RcnvConstraintsPydantic | null); + shet?: (ShetConstraintsPydantic | null); + clingen?: (ClingenDosageAnnotationPydantic | null); }; /** @@ -920,12 +920,12 @@ export type GeneRelatedPhenotypesPydantic = { */ export type GenomeRegionPydantic = { chromosome: string; - range?: OneBasedRangePydantic | null; + range?: (OneBasedRangePydantic | null); }; export type GenomeRegionPydanticList = Array<{ chromosome: string; - range?: OneBasedRangePydantic | null; + range?: (OneBasedRangePydantic | null); }>; /** @@ -959,7 +959,7 @@ export type GnomadConstraintsPydantic = { */ export type InsertSizeStats = { insert_size_mean: number; - insert_size_median: number | null; + insert_size_median: (number | null); insert_size_stddev: number; insert_size_histogram: Array>; }; @@ -979,7 +979,7 @@ export type NgsbitsMappingqcMetrics = { export type NgsbitsMappingqcRecordList = Array<{ key: string; - value: number | string | null; + value: (number | string | null); }>; export type NullEnum = unknown; @@ -993,124 +993,124 @@ export type OneBasedRangePydantic = { }; export type PaginatedCaseAnalysisList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedCaseAnalysisSessionList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedCaseImportActionList = { count?: number; - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedCaseSerializerNgList = { count?: number; - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsPredefinedQueryList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryExecutionList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsClinvarList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsColumnsList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsConsequenceList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsFrequencyList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsLocusList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsPhenotypePrioList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsQualityList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsSetList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsSetVersionList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQueryPresetsVariantPrioList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsQuerySettingsList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsResultRowList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; export type PaginatedSeqvarsResultSetList = { - next?: string | null; - previous?: string | null; + next?: (string) | null; + previous?: (string) | null; results?: Array; }; @@ -1144,7 +1144,7 @@ export type PatchedCasePhenotypeTermsRequest = { export type PatchedCaseSerializerNgRequest = { name?: string; index?: string; - notes?: string | null; + notes?: (string) | null; status?: CaseStatusEnum; tags?: Array<(string)> | null; case_version?: number; @@ -1165,7 +1165,7 @@ export type PatchedEnrichmentKitRequest = { /** * Optional description of the enrichment kit */ - description?: string | null; + description?: (string) | null; }; /** @@ -1182,15 +1182,15 @@ export type PatchedProjectRequest = { * * `CATEGORY` - Category * * `PROJECT` - Project */ - type?: TypeEnum; + type?: (TypeEnum); /** * Project SODAR UUID */ - parent?: string | null; + parent?: (string) | null; /** * Short project description */ - description?: string | null; + description?: (string) | null; readme?: string; /** * Allow public guest access for the project, also including unauthenticated users if allowed on the site @@ -1219,19 +1219,19 @@ export type PatchedRoleAssignmentRequest = { export type PatchedSeqvarsPredefinedQueryRequest = { rank?: number; label?: string; - description?: string | null; + description?: (string) | null; included_in_sop?: boolean; - genotype?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - quality?: string | null; - frequency?: string | null; - consequence?: string | null; - locus?: string | null; - phenotypeprio?: string | null; - variantprio?: string | null; - clinvar?: string | null; - columns?: string | null; + genotype?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + quality?: (string) | null; + frequency?: (string) | null; + consequence?: (string) | null; + locus?: (string) | null; + phenotypeprio?: (string) | null; + variantprio?: (string) | null; + clinvar?: (string) | null; + columns?: (string) | null; }; /** @@ -1258,7 +1258,7 @@ export type PatchedSeqvarsQueryPresetsClinvarRequest = { allow_conflicting_interpretations?: boolean; rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1270,7 +1270,7 @@ export type PatchedSeqvarsQueryPresetsColumnsRequest = { column_settings?: SeqvarsColumnConfigPydanticList; rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1282,10 +1282,10 @@ export type PatchedSeqvarsQueryPresetsConsequenceRequest = { variant_types?: SeqvarsVariantTypeChoiceList; transcript_types?: SeqvarsTranscriptTypeChoiceList; variant_consequences?: SeqvarsVariantConsequenceChoiceList; - max_distance_to_exon?: number | null; + max_distance_to_exon?: (number) | null; rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1294,42 +1294,42 @@ export type PatchedSeqvarsQueryPresetsConsequenceRequest = { * Not used directly but used as base class. */ export type PatchedSeqvarsQueryPresetsFrequencyRequest = { - gnomad_exomes?: { + gnomad_exomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_genomes?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_genomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_mitochondrial?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_mitochondrial?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - helixmtdb?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + helixmtdb?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - inhouse?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + inhouse?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - carriers?: number | null; -} | null | null; + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + carriers?: (number | null); +} | null) | null); rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1343,7 +1343,7 @@ export type PatchedSeqvarsQueryPresetsLocusRequest = { genome_regions?: GenomeRegionPydanticList; rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1353,11 +1353,11 @@ export type PatchedSeqvarsQueryPresetsLocusRequest = { */ export type PatchedSeqvarsQueryPresetsPhenotypePrioRequest = { phenotype_prio_enabled?: boolean; - phenotype_prio_algorithm?: string | null; + phenotype_prio_algorithm?: (string) | null; terms?: TermPresencePydanticList; rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1368,14 +1368,14 @@ export type PatchedSeqvarsQueryPresetsPhenotypePrioRequest = { export type PatchedSeqvarsQueryPresetsQualityRequest = { rank?: number; label?: string; - description?: string | null; + description?: (string) | null; filter_active?: boolean; - min_dp_het?: number | null; - min_dp_hom?: number | null; - min_ab_het?: number | null; - min_gq?: number | null; - min_ad?: number | null; - max_ad?: number | null; + min_dp_het?: (number) | null; + min_dp_hom?: (number) | null; + min_ab_het?: (number) | null; + min_gq?: (number) | null; + min_ad?: (number) | null; + max_ad?: (number) | null; }; /** @@ -1384,7 +1384,7 @@ export type PatchedSeqvarsQueryPresetsQualityRequest = { export type PatchedSeqvarsQueryPresetsSetRequest = { rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1406,7 +1406,7 @@ export type PatchedSeqvarsQueryPresetsVariantPrioRequest = { services?: SeqvarsPrioServicePydanticList; rank?: number; label?: string; - description?: string | null; + description?: (string) | null; }; /** @@ -1416,17 +1416,17 @@ export type PatchedSeqvarsQueryPresetsVariantPrioRequest = { * owned category settings. */ export type PatchedSeqvarsQuerySettingsDetailsRequest = { - genotypepresets?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - qualitypresets?: string | null; - consequencepresets?: string | null; - locuspresets?: string | null; - frequencypresets?: string | null; - phenotypepriopresets?: string | null; - variantpriopresets?: string | null; - clinvarpresets?: string | null; - columnspresets?: string | null; + genotypepresets?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + qualitypresets?: (string) | null; + consequencepresets?: (string) | null; + locuspresets?: (string) | null; + frequencypresets?: (string) | null; + phenotypepriopresets?: (string) | null; + variantpriopresets?: (string) | null; + clinvarpresets?: (string) | null; + columnspresets?: (string) | null; genotype?: SeqvarsQuerySettingsGenotypeRequest; quality?: SeqvarsQuerySettingsQualityRequest; consequence?: SeqvarsQuerySettingsConsequenceRequest; @@ -1451,7 +1451,7 @@ export type PatchedTargetBedFileRequest = { * * `grch37` - GRCh37 * * `grch38` - GRCh38 */ - genome_release?: GenomeReleaseEnum; + genome_release?: (GenomeReleaseEnum); }; /** @@ -1468,15 +1468,15 @@ export type Project = { * * `CATEGORY` - Category * * `PROJECT` - Project */ - type?: TypeEnum; + type?: (TypeEnum); /** * Project SODAR UUID */ - parent: string | null; + parent: (string) | null; /** * Short project description */ - description?: string | null; + description?: (string) | null; readme?: string; /** * Allow public guest access for the project, also including unauthenticated users if allowed on the site @@ -1503,7 +1503,7 @@ export type ProjectInvite = { * Name of role */ role: string; - readonly issuer: SODARUser; + readonly issuer: (SODARUser); /** * DateTime of invite creation */ @@ -1551,15 +1551,15 @@ export type ProjectRequest = { * * `CATEGORY` - Category * * `PROJECT` - Project */ - type?: TypeEnum; + type?: (TypeEnum); /** * Project SODAR UUID */ - parent: string | null; + parent: (string) | null; /** * Short project description */ - description?: string | null; + description?: (string) | null; readme?: string; /** * Allow public guest access for the project, also including unauthenticated users if allowed on the site @@ -1584,6 +1584,13 @@ export type RcnvConstraintsPydantic = { */ export type RecessiveModeEnum = 'disabled' | 'comphet_recessive' | 'homozygous_recessive' | 'recessive'; +/** + * Serializer for the record count. + */ +export type RecordCount = { + count: number; +}; + /** * Per-region QC stats for alignment. */ @@ -1610,8 +1617,8 @@ export type RegionVariantStats = { * Store resource usage information. */ export type ResourcesUsedPydantic = { - start_time?: string | null; - end_time?: string | null; + start_time?: (string | null); + end_time?: (string | null); memory_used?: number; }; @@ -1642,7 +1649,7 @@ export type RoleAssignmentNestedList = { * Name of role */ role: string; - readonly user: SODARUser; + readonly user: (SODARUser); readonly sodar_uuid: string; }; @@ -1717,8 +1724,8 @@ export type SampleReadStatsList = Array<{ read_length_histogram: Array>; total_reads: number; total_yield: number; - fragment_first: number | null; - fragment_last: number | null; + fragment_first: (number | null); + fragment_last: (number | null); }>; export type SampleSeqvarStatsList = Array<{ @@ -1891,7 +1898,7 @@ export type SamtoolsStatsMainMetrics = { export type SamtoolsStatsSnRecordList = Array<{ key: string; - value: number | string | null; + value: (number | string | null); }>; /** @@ -1925,18 +1932,18 @@ export type SeqvarsCallRelatedAnnotationPydantic = { * Pydantic representation of ``SeqvarsCaseQuery``. */ export type SeqvarsCaseQueryPydantic = { - genotype?: SeqvarsQuerySettingsGenotypePydantic | null; - quality?: SeqvarsQuerySettingsQualityPydantic | null; - frequency?: SeqvarsQuerySettingsFrequencyPydantic | null; - consequence?: SeqvarsQuerySettingsConsequencePydantic | null; - locus?: SeqvarsQuerySettingsLocusPydantic | null; - clinvar?: SeqvarsQuerySettingsClinvarPydantic | null; + genotype?: (SeqvarsQuerySettingsGenotypePydantic | null); + quality?: (SeqvarsQuerySettingsQualityPydantic | null); + frequency?: (SeqvarsQuerySettingsFrequencyPydantic | null); + consequence?: (SeqvarsQuerySettingsConsequencePydantic | null); + locus?: (SeqvarsQuerySettingsLocusPydantic | null); + clinvar?: (SeqvarsQuerySettingsClinvarPydantic | null); }; export type SeqvarsColumnConfigPydanticList = Array<{ name: string; label: string; - description?: string | null; + description?: (string | null); width: number; visible: boolean; }>; @@ -1945,18 +1952,18 @@ export type SeqvarsColumnConfigPydanticList = Array<{ * Store database identifiers. */ export type SeqvarsDbIdsPydantic = { - dbsnp_id?: string | null; + dbsnp_id?: (string | null); }; /** * SPopulation frequency information */ export type SeqvarsFrequencyAnnotationPydantic = { - gnomad_exomes?: SeqvarsNuclearFrequencyPydantic | null; - gnomad_genomes?: SeqvarsNuclearFrequencyPydantic | null; - gnomad_mtdna?: SeqvarsGnomadMitochondrialFrequencyPydantic | null; - helixmtdb?: SeqvarsHelixMtDbFrequencyPydantic | null; - inhouse?: SeqvarsNuclearFrequencyPydantic | null; + gnomad_exomes?: (SeqvarsNuclearFrequencyPydantic | null); + gnomad_genomes?: (SeqvarsNuclearFrequencyPydantic | null); + gnomad_mtdna?: (SeqvarsGnomadMitochondrialFrequencyPydantic | null); + helixmtdb?: (SeqvarsHelixMtDbFrequencyPydantic | null); + inhouse?: (SeqvarsNuclearFrequencyPydantic | null); }; /** @@ -1984,9 +1991,9 @@ export type SeqvarsGnomadMitochondrialFrequencyPydantic = { */ export type SeqvarsGnomadMitochondrialFrequencySettingsPydantic = { enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); }; /** @@ -2004,9 +2011,9 @@ export type SeqvarsHelixMtDbFrequencyPydantic = { */ export type SeqvarsHelixMtDbFrequencySettingsPydantic = { enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); }; /** @@ -2025,10 +2032,10 @@ export type SeqvarsNuclearFrequencyPydantic = { */ export type SeqvarsNuclearFrequencySettingsPydantic = { enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); }; /** @@ -2051,20 +2058,20 @@ export type SeqvarsPredefinedQuery = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; included_in_sop?: boolean; - genotype?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - quality?: string | null; - frequency?: string | null; - consequence?: string | null; - locus?: string | null; - phenotypeprio?: string | null; - variantprio?: string | null; - clinvar?: string | null; - columns?: string | null; + genotype?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + quality?: (string) | null; + frequency?: (string) | null; + consequence?: (string) | null; + locus?: (string) | null; + phenotypeprio?: (string) | null; + variantprio?: (string) | null; + clinvar?: (string) | null; + columns?: (string) | null; }; /** @@ -2073,19 +2080,19 @@ export type SeqvarsPredefinedQuery = { export type SeqvarsPredefinedQueryRequest = { rank?: number; label: string; - description?: string | null; + description?: (string) | null; included_in_sop?: boolean; - genotype?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - quality?: string | null; - frequency?: string | null; - consequence?: string | null; - locus?: string | null; - phenotypeprio?: string | null; - variantprio?: string | null; - clinvar?: string | null; - columns?: string | null; + genotype?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + quality?: (string) | null; + frequency?: (string) | null; + consequence?: (string) | null; + locus?: (string) | null; + phenotypeprio?: (string) | null; + variantprio?: (string) | null; + clinvar?: (string) | null; + columns?: (string) | null; }; export type SeqvarsPrioServicePydanticList = Array<{ @@ -2169,11 +2176,11 @@ export type SeqvarsQueryExecution = { readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; - readonly state: SeqvarsQueryExecutionStateEnum; - readonly complete_percent: number | null; - readonly start_time: string | null; - readonly end_time: string | null; - readonly elapsed_seconds: number | null; + readonly state: (SeqvarsQueryExecutionStateEnum); + readonly complete_percent: (number) | null; + readonly start_time: (string) | null; + readonly end_time: (string) | null; + readonly elapsed_seconds: (number) | null; readonly query: string; readonly querysettings: string; }; @@ -2185,11 +2192,11 @@ export type SeqvarsQueryExecutionDetails = { readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; - readonly state: SeqvarsQueryExecutionStateEnum; - readonly complete_percent: number | null; - readonly start_time: string | null; - readonly end_time: string | null; - readonly elapsed_seconds: number | null; + readonly state: (SeqvarsQueryExecutionStateEnum); + readonly complete_percent: (number) | null; + readonly start_time: (string) | null; + readonly end_time: (string) | null; + readonly elapsed_seconds: (number) | null; readonly query: string; querysettings: SeqvarsQuerySettingsDetails; }; @@ -2218,7 +2225,7 @@ export type SeqvarsQueryPresetsClinvar = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2233,7 +2240,7 @@ export type SeqvarsQueryPresetsClinvarRequest = { allow_conflicting_interpretations?: boolean; rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2248,7 +2255,7 @@ export type SeqvarsQueryPresetsColumns = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2261,7 +2268,7 @@ export type SeqvarsQueryPresetsColumnsRequest = { column_settings?: SeqvarsColumnConfigPydanticList; rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2273,13 +2280,13 @@ export type SeqvarsQueryPresetsConsequence = { variant_types?: SeqvarsVariantTypeChoiceList; transcript_types?: SeqvarsTranscriptTypeChoiceList; variant_consequences?: SeqvarsVariantConsequenceChoiceList; - max_distance_to_exon?: number | null; + max_distance_to_exon?: (number) | null; readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2292,10 +2299,10 @@ export type SeqvarsQueryPresetsConsequenceRequest = { variant_types?: SeqvarsVariantTypeChoiceList; transcript_types?: SeqvarsTranscriptTypeChoiceList; variant_consequences?: SeqvarsVariantConsequenceChoiceList; - max_distance_to_exon?: number | null; + max_distance_to_exon?: (number) | null; rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2304,45 +2311,45 @@ export type SeqvarsQueryPresetsConsequenceRequest = { * Not used directly but used as base class. */ export type SeqvarsQueryPresetsFrequency = { - gnomad_exomes?: { + gnomad_exomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_genomes?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_genomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_mitochondrial?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_mitochondrial?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - helixmtdb?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + helixmtdb?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - inhouse?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + inhouse?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - carriers?: number | null; -} | null | null; + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + carriers?: (number | null); +} | null) | null); readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2352,42 +2359,42 @@ export type SeqvarsQueryPresetsFrequency = { * Not used directly but used as base class. */ export type SeqvarsQueryPresetsFrequencyRequest = { - gnomad_exomes?: { + gnomad_exomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_genomes?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_genomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_mitochondrial?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_mitochondrial?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - helixmtdb?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + helixmtdb?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - inhouse?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + inhouse?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - carriers?: number | null; -} | null | null; + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + carriers?: (number | null); +} | null) | null); rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2404,7 +2411,7 @@ export type SeqvarsQueryPresetsLocus = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2419,7 +2426,7 @@ export type SeqvarsQueryPresetsLocusRequest = { genome_regions?: GenomeRegionPydanticList; rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2429,14 +2436,14 @@ export type SeqvarsQueryPresetsLocusRequest = { */ export type SeqvarsQueryPresetsPhenotypePrio = { phenotype_prio_enabled?: boolean; - phenotype_prio_algorithm?: string | null; + phenotype_prio_algorithm?: (string) | null; terms?: TermPresencePydanticList; readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2447,11 +2454,11 @@ export type SeqvarsQueryPresetsPhenotypePrio = { */ export type SeqvarsQueryPresetsPhenotypePrioRequest = { phenotype_prio_enabled?: boolean; - phenotype_prio_algorithm?: string | null; + phenotype_prio_algorithm?: (string) | null; terms?: TermPresencePydanticList; rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2465,15 +2472,15 @@ export type SeqvarsQueryPresetsQuality = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; filter_active?: boolean; - min_dp_het?: number | null; - min_dp_hom?: number | null; - min_ab_het?: number | null; - min_gq?: number | null; - min_ad?: number | null; - max_ad?: number | null; + min_dp_het?: (number) | null; + min_dp_hom?: (number) | null; + min_ab_het?: (number) | null; + min_gq?: (number) | null; + min_ad?: (number) | null; + max_ad?: (number) | null; }; /** @@ -2484,14 +2491,14 @@ export type SeqvarsQueryPresetsQuality = { export type SeqvarsQueryPresetsQualityRequest = { rank?: number; label: string; - description?: string | null; + description?: (string) | null; filter_active?: boolean; - min_dp_het?: number | null; - min_dp_hom?: number | null; - min_ab_het?: number | null; - min_gq?: number | null; - min_ad?: number | null; - max_ad?: number | null; + min_dp_het?: (number) | null; + min_dp_hom?: (number) | null; + min_ab_het?: (number) | null; + min_gq?: (number) | null; + min_ad?: (number) | null; + max_ad?: (number) | null; }; /** @@ -2503,7 +2510,7 @@ export type SeqvarsQueryPresetsSet = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; /** * Project SODAR UUID */ @@ -2526,7 +2533,7 @@ export type SeqvarsQueryPresetsSetDetails = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; /** * Project SODAR UUID */ @@ -2540,7 +2547,7 @@ export type SeqvarsQueryPresetsSetDetails = { export type SeqvarsQueryPresetsSetRequest = { rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2554,7 +2561,7 @@ export type SeqvarsQueryPresetsSetVersion = { version_major?: number; version_minor?: number; status?: string; - readonly signed_off_by: SODARUser; + readonly signed_off_by: (SODARUser); }; /** @@ -2567,11 +2574,11 @@ export type SeqvarsQueryPresetsSetVersionDetails = { readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; - readonly presetsset: SeqvarsQueryPresetsSet; + readonly presetsset: (SeqvarsQueryPresetsSet); version_major?: number; version_minor?: number; status?: string; - readonly signed_off_by: SODARUser; + readonly signed_off_by: (SODARUser); readonly seqvarsquerypresetsquality_set: Array; readonly seqvarsquerypresetsfrequency_set: Array; readonly seqvarsquerypresetsconsequence_set: Array; @@ -2617,7 +2624,7 @@ export type SeqvarsQueryPresetsVariantPrio = { readonly date_modified: string; rank?: number; label: string; - description?: string | null; + description?: (string) | null; readonly presetssetversion: string; }; @@ -2631,7 +2638,7 @@ export type SeqvarsQueryPresetsVariantPrioRequest = { services?: SeqvarsPrioServicePydanticList; rank?: number; label: string; - description?: string | null; + description?: (string) | null; }; /** @@ -2644,17 +2651,17 @@ export type SeqvarsQuerySettings = { readonly session: string; readonly presetssetversion: string; readonly predefinedquery: string; - genotypepresets?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - readonly qualitypresets: string | null; - readonly consequencepresets: string | null; - readonly locuspresets: string | null; - readonly frequencypresets: string | null; - readonly phenotypepriopresets: string | null; - readonly variantpriopresets: string | null; - readonly clinvarpresets: string | null; - readonly columnspresets: string | null; + genotypepresets?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + readonly qualitypresets: (string) | null; + readonly consequencepresets: (string) | null; + readonly locuspresets: (string) | null; + readonly frequencypresets: (string) | null; + readonly phenotypepriopresets: (string) | null; + readonly variantpriopresets: (string) | null; + readonly clinvarpresets: (string) | null; + readonly columnspresets: (string) | null; readonly genotype: string; readonly quality: string; readonly consequence: string; @@ -2703,7 +2710,7 @@ export type SeqvarsQuerySettingsConsequence = { variant_types?: SeqvarsVariantTypeChoiceList; transcript_types?: SeqvarsTranscriptTypeChoiceList; variant_consequences?: SeqvarsVariantConsequenceChoiceList; - max_distance_to_exon?: number | null; + max_distance_to_exon?: (number) | null; readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; @@ -2717,7 +2724,7 @@ export type SeqvarsQuerySettingsConsequencePydantic = { variant_types?: Array; transcript_types?: Array; consequences?: Array; - max_dist_to_exon?: number | null; + max_dist_to_exon?: (number | null); }; /** @@ -2727,7 +2734,7 @@ export type SeqvarsQuerySettingsConsequenceRequest = { variant_types?: SeqvarsVariantTypeChoiceList; transcript_types?: SeqvarsTranscriptTypeChoiceList; variant_consequences?: SeqvarsVariantConsequenceChoiceList; - max_distance_to_exon?: number | null; + max_distance_to_exon?: (number) | null; }; /** @@ -2743,17 +2750,17 @@ export type SeqvarsQuerySettingsDetails = { readonly session: string; readonly presetssetversion: string; readonly predefinedquery: string; - genotypepresets?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - qualitypresets?: string | null; - consequencepresets?: string | null; - locuspresets?: string | null; - frequencypresets?: string | null; - phenotypepriopresets?: string | null; - variantpriopresets?: string | null; - clinvarpresets?: string | null; - columnspresets?: string | null; + genotypepresets?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + qualitypresets?: (string) | null; + consequencepresets?: (string) | null; + locuspresets?: (string) | null; + frequencypresets?: (string) | null; + phenotypepriopresets?: (string) | null; + variantpriopresets?: (string) | null; + clinvarpresets?: (string) | null; + columnspresets?: (string) | null; genotype: SeqvarsQuerySettingsGenotype; quality: SeqvarsQuerySettingsQuality; consequence: SeqvarsQuerySettingsConsequence; @@ -2771,17 +2778,17 @@ export type SeqvarsQuerySettingsDetails = { * owned category settings. */ export type SeqvarsQuerySettingsDetailsRequest = { - genotypepresets?: { - choice?: SeqvarsGenotypePresetChoice | null; -} | null | null; - qualitypresets?: string | null; - consequencepresets?: string | null; - locuspresets?: string | null; - frequencypresets?: string | null; - phenotypepriopresets?: string | null; - variantpriopresets?: string | null; - clinvarpresets?: string | null; - columnspresets?: string | null; + genotypepresets?: (({ + choice?: (SeqvarsGenotypePresetChoice | null); +} | null) | null); + qualitypresets?: (string) | null; + consequencepresets?: (string) | null; + locuspresets?: (string) | null; + frequencypresets?: (string) | null; + phenotypepriopresets?: (string) | null; + variantpriopresets?: (string) | null; + clinvarpresets?: (string) | null; + columnspresets?: (string) | null; genotype: SeqvarsQuerySettingsGenotypeRequest; quality: SeqvarsQuerySettingsQualityRequest; consequence: SeqvarsQuerySettingsConsequenceRequest; @@ -2796,39 +2803,39 @@ export type SeqvarsQuerySettingsDetailsRequest = { * Serializer for ``QuerySettingsFrequency``. */ export type SeqvarsQuerySettingsFrequency = { - gnomad_exomes?: { + gnomad_exomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_genomes?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_genomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_mitochondrial?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_mitochondrial?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - helixmtdb?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + helixmtdb?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - inhouse?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + inhouse?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - carriers?: number | null; -} | null | null; + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + carriers?: (number | null); +} | null) | null); readonly sodar_uuid: string; readonly date_created: string; readonly date_modified: string; @@ -2839,48 +2846,48 @@ export type SeqvarsQuerySettingsFrequency = { * Pydantic representation of ``SeqvarsQuerySettingsFrequency``. */ export type SeqvarsQuerySettingsFrequencyPydantic = { - nuclear?: SeqvarsNuclearFrequencySettingsPydantic | null; - gnomad_mtdna?: SeqvarsGnomadMitochondrialFrequencySettingsPydantic | null; - helixmtdb?: SeqvarsHelixMtDbFrequencySettingsPydantic | null; + nuclear?: (SeqvarsNuclearFrequencySettingsPydantic | null); + gnomad_mtdna?: (SeqvarsGnomadMitochondrialFrequencySettingsPydantic | null); + helixmtdb?: (SeqvarsHelixMtDbFrequencySettingsPydantic | null); }; /** * Serializer for ``QuerySettingsFrequency``. */ export type SeqvarsQuerySettingsFrequencyRequest = { - gnomad_exomes?: { + gnomad_exomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_genomes?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_genomes?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - frequency?: number | null; -} | null | null; - gnomad_mitochondrial?: { + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + frequency?: (number | null); +} | null) | null); + gnomad_mitochondrial?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - helixmtdb?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + helixmtdb?: (({ enabled?: boolean; - heteroplasmic?: number | null; - homoplasmic?: number | null; - frequency?: number | null; -} | null | null; - inhouse?: { + heteroplasmic?: (number | null); + homoplasmic?: (number | null); + frequency?: (number | null); +} | null) | null); + inhouse?: (({ enabled?: boolean; - heterozygous?: number | null; - homozygous?: number | null; - hemizygous?: number | null; - carriers?: number | null; -} | null | null; + heterozygous?: (number | null); + homozygous?: (number | null); + hemizygous?: (number | null); + carriers?: (number | null); +} | null) | null); }; /** @@ -2891,7 +2898,7 @@ export type SeqvarsQuerySettingsGenotype = { readonly date_created: string; readonly date_modified: string; readonly querysettings: string; - recessive_mode?: RecessiveModeEnum; + recessive_mode?: (RecessiveModeEnum); sample_genotype_choices?: SeqvarsSampleGenotypePydanticList; }; @@ -2899,7 +2906,7 @@ export type SeqvarsQuerySettingsGenotype = { * Pydantic representation of ``SeqvarsQuerySettingsGenotype``. */ export type SeqvarsQuerySettingsGenotypePydantic = { - recessive_mode?: SeqvarsRecessiveModeChoice; + recessive_mode?: (SeqvarsRecessiveModeChoice); sample_genotypes?: Array; }; @@ -2907,7 +2914,7 @@ export type SeqvarsQuerySettingsGenotypePydantic = { * Serializer for ``QuerySettingsGenotype``. */ export type SeqvarsQuerySettingsGenotypeRequest = { - recessive_mode?: RecessiveModeEnum; + recessive_mode?: (RecessiveModeEnum); sample_genotype_choices?: SeqvarsSampleGenotypePydanticList; }; @@ -2946,7 +2953,7 @@ export type SeqvarsQuerySettingsLocusRequest = { */ export type SeqvarsQuerySettingsPhenotypePrio = { phenotype_prio_enabled?: boolean; - phenotype_prio_algorithm?: string | null; + phenotype_prio_algorithm?: (string) | null; terms?: TermPresencePydanticList; readonly sodar_uuid: string; readonly date_created: string; @@ -2959,7 +2966,7 @@ export type SeqvarsQuerySettingsPhenotypePrio = { */ export type SeqvarsQuerySettingsPhenotypePrioRequest = { phenotype_prio_enabled?: boolean; - phenotype_prio_algorithm?: string | null; + phenotype_prio_algorithm?: (string) | null; terms?: TermPresencePydanticList; }; @@ -3025,12 +3032,12 @@ export type SeqvarsResultRow = { readonly pos: number; readonly ref_allele: string; readonly alt_allele: string; - payload: { + payload: ({ uuid: string; case_uuid: string; - vcf_variant: SeqvarsVcfVariantPydantic | null; - variant_annotation: SeqvarsVariantAnnotationPydantic | null; -} | null; + vcf_variant: (SeqvarsVcfVariantPydantic | null); + variant_annotation: (SeqvarsVariantAnnotationPydantic | null); +} | null); }; /** @@ -3047,17 +3054,17 @@ export type SeqvarsResultSet = { datasource_infos: { infos?: Array; }; - output_header: { + output_header: ({ genome_release: GenomeReleaseChoice; versions: { [key: string]: (string); }; - query: SeqvarsCaseQueryPydantic | null; + query: (SeqvarsCaseQueryPydantic | null); case_uuid: string; - resources: ResourcesUsedPydantic | null; - statistics: SeqvarsOutputStatisticsPydantic | null; + resources: (ResourcesUsedPydantic | null); + statistics: (SeqvarsOutputStatisticsPydantic | null); variant_score_columns?: Array; -} | null; +} | null); }; /** @@ -3065,11 +3072,11 @@ export type SeqvarsResultSet = { */ export type SeqvarsSampleCallInfoPydantic = { sample: string; - genotype?: string | null; - dp?: number | null; - ad?: number | null; - gq?: number | null; - ps?: number | null; + genotype?: (string | null); + dp?: (number | null); + ad?: (number | null); + gq?: (number | null); + ps?: (number | null); }; /** @@ -3092,12 +3099,12 @@ export type SeqvarsSampleGenotypePydanticList = Array<{ export type SeqvarsSampleQualityFilterPydanticList = Array<{ sample: string; filter_active?: boolean; - min_dp_het?: number | null; - min_dp_hom?: number | null; - min_ab_het?: number | null; - min_gq?: number | null; - min_ad?: number | null; - max_ad?: number | null; + min_dp_het?: (number | null); + min_dp_hom?: (number | null); + min_ab_het?: (number | null); + min_gq?: (number | null); + min_ad?: (number | null); + max_ad?: (number | null); }>; /** @@ -3106,12 +3113,12 @@ export type SeqvarsSampleQualityFilterPydanticList = Array<{ export type SeqvarsSampleQualitySettingsPydantic = { sample: string; filter_active?: boolean; - min_dp_het?: number | null; - min_dp_hom?: number | null; - min_gq?: number | null; - min_ab?: number | null; - min_ad?: number | null; - max_ad?: number | null; + min_dp_het?: (number | null); + min_dp_hom?: (number | null); + min_gq?: (number | null); + min_ab?: (number | null); + min_ad?: (number | null); + max_ad?: (number | null); }; /** @@ -3134,9 +3141,9 @@ export type SeqvarsTranscriptTypeChoiceList = Array<('coding' | 'non_coding')>; * Store the variant annotation payload (always for a single gene). */ export type SeqvarsVariantAnnotationPydantic = { - gene?: GeneRelatedAnnotationPydantic | null; - variant?: SeqvarsVariantRelatedAnnotationPydantic | null; - call?: SeqvarsCallRelatedAnnotationPydantic | null; + gene?: (GeneRelatedAnnotationPydantic | null); + variant?: (SeqvarsVariantRelatedAnnotationPydantic | null); + call?: (SeqvarsCallRelatedAnnotationPydantic | null); }; /** @@ -3150,10 +3157,10 @@ export type SeqvarsVariantConsequenceChoiceList = Array<('transcript_ablation' | * Store variant-related annotation. */ export type SeqvarsVariantRelatedAnnotationPydantic = { - dbids?: SeqvarsDbIdsPydantic | null; - frequency?: SeqvarsFrequencyAnnotationPydantic | null; - clinvar?: ClinvarAnnotationPydantic | null; - scores?: SeqvarsScoreAnnotationsPydantic | null; + dbids?: (SeqvarsDbIdsPydantic | null); + frequency?: (SeqvarsFrequencyAnnotationPydantic | null); + clinvar?: (ClinvarAnnotationPydantic | null); + scores?: (SeqvarsScoreAnnotationsPydantic | null); }; /** @@ -3162,7 +3169,7 @@ export type SeqvarsVariantRelatedAnnotationPydantic = { export type SeqvarsVariantScoreColumnPydantic = { name: string; label: string; - description?: string | null; + description?: (string | null); type: SevarsVariantScoreColumnTypeChoice; }; @@ -3234,7 +3241,7 @@ export type TargetBedFile = { * * `grch37` - GRCh37 * * `grch38` - GRCh38 */ - genome_release?: GenomeReleaseEnum; + genome_release?: (GenomeReleaseEnum); }; /** @@ -3251,12 +3258,12 @@ export type TargetBedFileRequest = { * * `grch37` - GRCh37 * * `grch38` - GRCh38 */ - genome_release?: GenomeReleaseEnum; + genome_release?: (GenomeReleaseEnum); }; export type TermPresencePydanticList = Array<{ term: TermPydantic; - excluded?: boolean | null; + excluded?: (boolean | null); }>; /** @@ -3264,7 +3271,7 @@ export type TermPresencePydanticList = Array<{ */ export type TermPydantic = { term_id: string; - label: string | null; + label: (string | null); }; /** @@ -3281,7 +3288,7 @@ export type UserAndGlobalSettings = { * Transient information about user settings. */ user_settings: { - umd_predictor_api_token: string | null; + umd_predictor_api_token: (string | null); ga4gh_beacon_network_widget_enabled?: boolean; }; /** @@ -3323,7 +3330,7 @@ export type CasesAnalysisApiCaseanalysisListData = { }; }; -export type CasesAnalysisApiCaseanalysisListResponse = PaginatedCaseAnalysisList; +export type CasesAnalysisApiCaseanalysisListResponse = (PaginatedCaseAnalysisList); export type CasesAnalysisApiCaseanalysisListError = unknown; @@ -3334,7 +3341,7 @@ export type CasesAnalysisApiCaseanalysisRetrieveData = { }; }; -export type CasesAnalysisApiCaseanalysisRetrieveResponse = CaseAnalysis; +export type CasesAnalysisApiCaseanalysisRetrieveResponse = (CaseAnalysis); export type CasesAnalysisApiCaseanalysisRetrieveError = unknown; @@ -3354,7 +3361,7 @@ export type CasesAnalysisApiCaseanalysissessionListData = { }; }; -export type CasesAnalysisApiCaseanalysissessionListResponse = PaginatedCaseAnalysisSessionList; +export type CasesAnalysisApiCaseanalysissessionListResponse = (PaginatedCaseAnalysisSessionList); export type CasesAnalysisApiCaseanalysissessionListError = unknown; @@ -3365,7 +3372,7 @@ export type CasesAnalysisApiCaseanalysissessionRetrieveData = { }; }; -export type CasesAnalysisApiCaseanalysissessionRetrieveResponse = CaseAnalysisSession; +export type CasesAnalysisApiCaseanalysissessionRetrieveResponse = (CaseAnalysisSession); export type CasesAnalysisApiCaseanalysissessionRetrieveError = unknown; @@ -3385,7 +3392,7 @@ export type CasesImportApiCaseImportActionListCreateListData = { }; }; -export type CasesImportApiCaseImportActionListCreateListResponse = PaginatedCaseImportActionList; +export type CasesImportApiCaseImportActionListCreateListResponse = (PaginatedCaseImportActionList); export type CasesImportApiCaseImportActionListCreateListError = unknown; @@ -3396,7 +3403,7 @@ export type CasesImportApiCaseImportActionListCreateCreateData = { }; }; -export type CasesImportApiCaseImportActionListCreateCreateResponse = CaseImportAction; +export type CasesImportApiCaseImportActionListCreateCreateResponse = (CaseImportAction); export type CasesImportApiCaseImportActionListCreateCreateError = unknown; @@ -3406,7 +3413,7 @@ export type CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveData = { }; }; -export type CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveResponse = CaseImportAction; +export type CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveResponse = (CaseImportAction); export type CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveError = unknown; @@ -3417,7 +3424,7 @@ export type CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateData = { }; }; -export type CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateResponse = CaseImportAction; +export type CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateResponse = (CaseImportAction); export type CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateError = unknown; @@ -3428,7 +3435,7 @@ export type CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateData }; }; -export type CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateResponse = CaseImportAction; +export type CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateResponse = (CaseImportAction); export type CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateError = unknown; @@ -3438,7 +3445,7 @@ export type CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyData = { }; }; -export type CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyResponse = void; +export type CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyResponse = (void); export type CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyError = unknown; @@ -3448,7 +3455,7 @@ export type CasesQcApiCaseqcRetrieveRetrieveData = { }; }; -export type CasesQcApiCaseqcRetrieveRetrieveResponse = CaseQc; +export type CasesQcApiCaseqcRetrieveRetrieveResponse = (CaseQc); export type CasesQcApiCaseqcRetrieveRetrieveError = unknown; @@ -3458,7 +3465,7 @@ export type CasesQcApiVarfishstatsRetrieveRetrieveData = { }; }; -export type CasesQcApiVarfishstatsRetrieveRetrieveResponse = VarfishStats; +export type CasesQcApiVarfishstatsRetrieveRetrieveResponse = (VarfishStats); export type CasesQcApiVarfishstatsRetrieveRetrieveError = unknown; @@ -3468,7 +3475,7 @@ export type CasesApiAnnotationReleaseInfoListListData = { }; }; -export type CasesApiAnnotationReleaseInfoListListResponse = Array; +export type CasesApiAnnotationReleaseInfoListListResponse = (Array); export type CasesApiAnnotationReleaseInfoListListError = unknown; @@ -3478,7 +3485,7 @@ export type CasesApiCaseCommentListCreateListData = { }; }; -export type CasesApiCaseCommentListCreateListResponse = Array; +export type CasesApiCaseCommentListCreateListResponse = (Array); export type CasesApiCaseCommentListCreateListError = unknown; @@ -3489,7 +3496,7 @@ export type CasesApiCaseCommentListCreateCreateData = { }; }; -export type CasesApiCaseCommentListCreateCreateResponse = CaseComment; +export type CasesApiCaseCommentListCreateCreateResponse = (CaseComment); export type CasesApiCaseCommentListCreateCreateError = unknown; @@ -3499,7 +3506,7 @@ export type CasesApiCasePhenotypeTermsListCreateListData = { }; }; -export type CasesApiCasePhenotypeTermsListCreateListResponse = Array; +export type CasesApiCasePhenotypeTermsListCreateListResponse = (Array); export type CasesApiCasePhenotypeTermsListCreateListError = unknown; @@ -3510,7 +3517,7 @@ export type CasesApiCasePhenotypeTermsListCreateCreateData = { }; }; -export type CasesApiCasePhenotypeTermsListCreateCreateResponse = CasePhenotypeTerms; +export type CasesApiCasePhenotypeTermsListCreateCreateResponse = (CasePhenotypeTerms); export type CasesApiCasePhenotypeTermsListCreateCreateError = unknown; @@ -3520,7 +3527,7 @@ export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveData = { }; }; -export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveResponse = CasePhenotypeTerms; +export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveResponse = (CasePhenotypeTerms); export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveError = unknown; @@ -3531,7 +3538,7 @@ export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateData = { }; }; -export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateResponse = CasePhenotypeTerms; +export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateResponse = (CasePhenotypeTerms); export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateError = unknown; @@ -3542,7 +3549,7 @@ export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateData = { }; }; -export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateResponse = CasePhenotypeTerms; +export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateResponse = (CasePhenotypeTerms); export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateError = unknown; @@ -3552,10 +3559,23 @@ export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyData = { }; }; -export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyResponse = void; +export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyResponse = (void); export type CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyError = unknown; +export type CasesApiCaseCountRetrieveData = { + path: { + project: string; + }; + query?: { + q?: string; + }; +}; + +export type CasesApiCaseCountRetrieveResponse = (RecordCount); + +export type CasesApiCaseCountRetrieveError = unknown; + export type CasesApiCaseListListData = { path: { project: string; @@ -3575,7 +3595,7 @@ export type CasesApiCaseListListData = { }; }; -export type CasesApiCaseListListResponse = PaginatedCaseSerializerNgList; +export type CasesApiCaseListListResponse = (PaginatedCaseSerializerNgList); export type CasesApiCaseListListError = unknown; @@ -3585,7 +3605,7 @@ export type CasesApiCaseRetrieveUpdateDestroyRetrieveData = { }; }; -export type CasesApiCaseRetrieveUpdateDestroyRetrieveResponse = CaseSerializerNg; +export type CasesApiCaseRetrieveUpdateDestroyRetrieveResponse = (CaseSerializerNg); export type CasesApiCaseRetrieveUpdateDestroyRetrieveError = unknown; @@ -3596,7 +3616,7 @@ export type CasesApiCaseRetrieveUpdateDestroyUpdateData = { }; }; -export type CasesApiCaseRetrieveUpdateDestroyUpdateResponse = CaseSerializerNg; +export type CasesApiCaseRetrieveUpdateDestroyUpdateResponse = (CaseSerializerNg); export type CasesApiCaseRetrieveUpdateDestroyUpdateError = unknown; @@ -3607,7 +3627,7 @@ export type CasesApiCaseRetrieveUpdateDestroyPartialUpdateData = { }; }; -export type CasesApiCaseRetrieveUpdateDestroyPartialUpdateResponse = CaseSerializerNg; +export type CasesApiCaseRetrieveUpdateDestroyPartialUpdateResponse = (CaseSerializerNg); export type CasesApiCaseRetrieveUpdateDestroyPartialUpdateError = unknown; @@ -3617,7 +3637,7 @@ export type CasesApiCaseRetrieveUpdateDestroyDestroyData = { }; }; -export type CasesApiCaseRetrieveUpdateDestroyDestroyResponse = void; +export type CasesApiCaseRetrieveUpdateDestroyDestroyResponse = (void); export type CasesApiCaseRetrieveUpdateDestroyDestroyError = unknown; @@ -3627,19 +3647,19 @@ export type CasesApiSvAnnotationReleaseInfoListListData = { }; }; -export type CasesApiSvAnnotationReleaseInfoListListResponse = Array; +export type CasesApiSvAnnotationReleaseInfoListListResponse = (Array); export type CasesApiSvAnnotationReleaseInfoListListError = unknown; -export type CasesApiUserAndGlobalSettingsRetrieveResponse = UserAndGlobalSettings; +export type CasesApiUserAndGlobalSettingsRetrieveResponse = (UserAndGlobalSettings); export type CasesApiUserAndGlobalSettingsRetrieveError = unknown; -export type GenepanelsApiGenepanelCategoryListListResponse = Array; +export type GenepanelsApiGenepanelCategoryListListResponse = (Array); export type GenepanelsApiGenepanelCategoryListListError = unknown; -export type GenepanelsApiLookupGenepanelRetrieveResponse = GenePanel; +export type GenepanelsApiLookupGenepanelRetrieveResponse = (GenePanel); export type GenepanelsApiLookupGenepanelRetrieveError = unknown; @@ -3647,7 +3667,7 @@ export type ProjectApiCreateCreateData = { body: ProjectRequest; }; -export type ProjectApiCreateCreateResponse = Project; +export type ProjectApiCreateCreateResponse = (Project); export type ProjectApiCreateCreateError = unknown; @@ -3658,7 +3678,7 @@ export type ProjectApiInvitesCreateCreateData = { }; }; -export type ProjectApiInvitesCreateCreateResponse = ProjectInvite; +export type ProjectApiInvitesCreateCreateResponse = (ProjectInvite); export type ProjectApiInvitesCreateCreateError = unknown; @@ -3668,7 +3688,7 @@ export type ProjectApiInvitesListListData = { }; }; -export type ProjectApiInvitesListListResponse = Array; +export type ProjectApiInvitesListListResponse = (Array); export type ProjectApiInvitesListListError = unknown; @@ -3678,7 +3698,7 @@ export type ProjectApiInvitesResendCreateData = { }; }; -export type ProjectApiInvitesResendCreateResponse = unknown; +export type ProjectApiInvitesResendCreateResponse = (unknown); export type ProjectApiInvitesResendCreateError = unknown; @@ -3688,11 +3708,11 @@ export type ProjectApiInvitesRevokeCreateData = { }; }; -export type ProjectApiInvitesRevokeCreateResponse = unknown; +export type ProjectApiInvitesRevokeCreateResponse = (unknown); export type ProjectApiInvitesRevokeCreateError = unknown; -export type ProjectApiListRetrieveResponse = unknown; +export type ProjectApiListRetrieveResponse = (unknown); export type ProjectApiListRetrieveError = unknown; @@ -3702,7 +3722,7 @@ export type ProjectApiRemoteGetRetrieveData = { }; }; -export type ProjectApiRemoteGetRetrieveResponse = unknown; +export type ProjectApiRemoteGetRetrieveResponse = (unknown); export type ProjectApiRemoteGetRetrieveError = unknown; @@ -3712,7 +3732,7 @@ export type ProjectApiRetrieveRetrieveData = { }; }; -export type ProjectApiRetrieveRetrieveResponse = Project; +export type ProjectApiRetrieveRetrieveResponse = (Project); export type ProjectApiRetrieveRetrieveError = unknown; @@ -3723,7 +3743,7 @@ export type ProjectApiRolesCreateCreateData = { }; }; -export type ProjectApiRolesCreateCreateResponse = RoleAssignment; +export type ProjectApiRolesCreateCreateResponse = (RoleAssignment); export type ProjectApiRolesCreateCreateError = unknown; @@ -3733,7 +3753,7 @@ export type ProjectApiRolesDestroyDestroyData = { }; }; -export type ProjectApiRolesDestroyDestroyResponse = void; +export type ProjectApiRolesDestroyDestroyResponse = (void); export type ProjectApiRolesDestroyDestroyError = unknown; @@ -3743,7 +3763,7 @@ export type ProjectApiRolesOwnerTransferCreateData = { }; }; -export type ProjectApiRolesOwnerTransferCreateResponse = unknown; +export type ProjectApiRolesOwnerTransferCreateResponse = (unknown); export type ProjectApiRolesOwnerTransferCreateError = unknown; @@ -3754,7 +3774,7 @@ export type ProjectApiRolesUpdateUpdateData = { }; }; -export type ProjectApiRolesUpdateUpdateResponse = RoleAssignment; +export type ProjectApiRolesUpdateUpdateResponse = (RoleAssignment); export type ProjectApiRolesUpdateUpdateError = unknown; @@ -3765,7 +3785,7 @@ export type ProjectApiRolesUpdatePartialUpdateData = { }; }; -export type ProjectApiRolesUpdatePartialUpdateResponse = RoleAssignment; +export type ProjectApiRolesUpdatePartialUpdateResponse = (RoleAssignment); export type ProjectApiRolesUpdatePartialUpdateError = unknown; @@ -3775,11 +3795,11 @@ export type ProjectApiSettingsRetrieveRetrieveData = { }; }; -export type ProjectApiSettingsRetrieveRetrieveResponse = AppSetting; +export type ProjectApiSettingsRetrieveRetrieveResponse = (AppSetting); export type ProjectApiSettingsRetrieveRetrieveError = unknown; -export type ProjectApiSettingsRetrieveUserRetrieveResponse = AppSetting; +export type ProjectApiSettingsRetrieveUserRetrieveResponse = (AppSetting); export type ProjectApiSettingsRetrieveUserRetrieveError = unknown; @@ -3789,11 +3809,11 @@ export type ProjectApiSettingsSetCreateData = { }; }; -export type ProjectApiSettingsSetCreateResponse = unknown; +export type ProjectApiSettingsSetCreateResponse = (unknown); export type ProjectApiSettingsSetCreateError = unknown; -export type ProjectApiSettingsSetUserCreateResponse = unknown; +export type ProjectApiSettingsSetUserCreateResponse = (unknown); export type ProjectApiSettingsSetUserCreateError = unknown; @@ -3804,7 +3824,7 @@ export type ProjectApiUpdateUpdateData = { }; }; -export type ProjectApiUpdateUpdateResponse = Project; +export type ProjectApiUpdateUpdateResponse = (Project); export type ProjectApiUpdateUpdateError = unknown; @@ -3815,19 +3835,19 @@ export type ProjectApiUpdatePartialUpdateData = { }; }; -export type ProjectApiUpdatePartialUpdateResponse = Project; +export type ProjectApiUpdatePartialUpdateResponse = (Project); export type ProjectApiUpdatePartialUpdateError = unknown; -export type ProjectApiUsersCurrentRetrieveResponse = SODARUser; +export type ProjectApiUsersCurrentRetrieveResponse = (SODARUser); export type ProjectApiUsersCurrentRetrieveError = unknown; -export type ProjectApiUsersListListResponse = Array; +export type ProjectApiUsersListListResponse = (Array); export type ProjectApiUsersListListError = unknown; -export type SeqmetaApiEnrichmentkitListCreateListResponse = Array; +export type SeqmetaApiEnrichmentkitListCreateListResponse = (Array); export type SeqmetaApiEnrichmentkitListCreateListError = unknown; @@ -3835,7 +3855,7 @@ export type SeqmetaApiEnrichmentkitListCreateCreateData = { body: EnrichmentKitRequest; }; -export type SeqmetaApiEnrichmentkitListCreateCreateResponse = EnrichmentKit; +export type SeqmetaApiEnrichmentkitListCreateCreateResponse = (EnrichmentKit); export type SeqmetaApiEnrichmentkitListCreateCreateError = unknown; @@ -3845,7 +3865,7 @@ export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveData = { }; }; -export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveResponse = EnrichmentKit; +export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveResponse = (EnrichmentKit); export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveError = unknown; @@ -3856,7 +3876,7 @@ export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateData = { }; }; -export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateResponse = EnrichmentKit; +export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateResponse = (EnrichmentKit); export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateError = unknown; @@ -3867,7 +3887,7 @@ export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateData = { }; }; -export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateResponse = EnrichmentKit; +export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateResponse = (EnrichmentKit); export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateError = unknown; @@ -3877,7 +3897,7 @@ export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyData = { }; }; -export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyResponse = void; +export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyResponse = (void); export type SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyError = unknown; @@ -3887,7 +3907,7 @@ export type SeqmetaApiTargetbedfileListCreateListData = { }; }; -export type SeqmetaApiTargetbedfileListCreateListResponse = Array; +export type SeqmetaApiTargetbedfileListCreateListResponse = (Array); export type SeqmetaApiTargetbedfileListCreateListError = unknown; @@ -3898,7 +3918,7 @@ export type SeqmetaApiTargetbedfileListCreateCreateData = { }; }; -export type SeqmetaApiTargetbedfileListCreateCreateResponse = TargetBedFile; +export type SeqmetaApiTargetbedfileListCreateCreateResponse = (TargetBedFile); export type SeqmetaApiTargetbedfileListCreateCreateError = unknown; @@ -3908,7 +3928,7 @@ export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveData = { }; }; -export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveResponse = TargetBedFile; +export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveResponse = (TargetBedFile); export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveError = unknown; @@ -3919,7 +3939,7 @@ export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateData = { }; }; -export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateResponse = TargetBedFile; +export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateResponse = (TargetBedFile); export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateError = unknown; @@ -3930,7 +3950,7 @@ export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateData = { }; }; -export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateResponse = TargetBedFile; +export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateResponse = (TargetBedFile); export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateError = unknown; @@ -3940,7 +3960,7 @@ export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyData = { }; }; -export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyResponse = void; +export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyResponse = (void); export type SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyError = unknown; @@ -3960,7 +3980,7 @@ export type SeqvarsApiPredefinedqueryListData = { }; }; -export type SeqvarsApiPredefinedqueryListResponse = PaginatedSeqvarsPredefinedQueryList; +export type SeqvarsApiPredefinedqueryListResponse = (PaginatedSeqvarsPredefinedQueryList); export type SeqvarsApiPredefinedqueryListError = unknown; @@ -3971,7 +3991,7 @@ export type SeqvarsApiPredefinedqueryCreateData = { }; }; -export type SeqvarsApiPredefinedqueryCreateResponse = SeqvarsPredefinedQuery; +export type SeqvarsApiPredefinedqueryCreateResponse = (SeqvarsPredefinedQuery); export type SeqvarsApiPredefinedqueryCreateError = unknown; @@ -3982,7 +4002,7 @@ export type SeqvarsApiPredefinedqueryRetrieveData = { }; }; -export type SeqvarsApiPredefinedqueryRetrieveResponse = SeqvarsPredefinedQuery; +export type SeqvarsApiPredefinedqueryRetrieveResponse = (SeqvarsPredefinedQuery); export type SeqvarsApiPredefinedqueryRetrieveError = unknown; @@ -3994,7 +4014,7 @@ export type SeqvarsApiPredefinedqueryUpdateData = { }; }; -export type SeqvarsApiPredefinedqueryUpdateResponse = SeqvarsPredefinedQuery; +export type SeqvarsApiPredefinedqueryUpdateResponse = (SeqvarsPredefinedQuery); export type SeqvarsApiPredefinedqueryUpdateError = unknown; @@ -4006,7 +4026,7 @@ export type SeqvarsApiPredefinedqueryPartialUpdateData = { }; }; -export type SeqvarsApiPredefinedqueryPartialUpdateResponse = SeqvarsPredefinedQuery; +export type SeqvarsApiPredefinedqueryPartialUpdateResponse = (SeqvarsPredefinedQuery); export type SeqvarsApiPredefinedqueryPartialUpdateError = unknown; @@ -4017,7 +4037,7 @@ export type SeqvarsApiPredefinedqueryDestroyData = { }; }; -export type SeqvarsApiPredefinedqueryDestroyResponse = void; +export type SeqvarsApiPredefinedqueryDestroyResponse = (void); export type SeqvarsApiPredefinedqueryDestroyError = unknown; @@ -4037,7 +4057,7 @@ export type SeqvarsApiQueryListData = { }; }; -export type SeqvarsApiQueryListResponse = PaginatedSeqvarsQueryList; +export type SeqvarsApiQueryListResponse = (PaginatedSeqvarsQueryList); export type SeqvarsApiQueryListError = unknown; @@ -4048,7 +4068,7 @@ export type SeqvarsApiQueryCreateData = { }; }; -export type SeqvarsApiQueryCreateResponse = SeqvarsQueryDetails; +export type SeqvarsApiQueryCreateResponse = (SeqvarsQueryDetails); export type SeqvarsApiQueryCreateError = unknown; @@ -4059,7 +4079,7 @@ export type SeqvarsApiQueryRetrieveData = { }; }; -export type SeqvarsApiQueryRetrieveResponse = SeqvarsQueryDetails; +export type SeqvarsApiQueryRetrieveResponse = (SeqvarsQueryDetails); export type SeqvarsApiQueryRetrieveError = unknown; @@ -4071,7 +4091,7 @@ export type SeqvarsApiQueryUpdateData = { }; }; -export type SeqvarsApiQueryUpdateResponse = SeqvarsQueryDetails; +export type SeqvarsApiQueryUpdateResponse = (SeqvarsQueryDetails); export type SeqvarsApiQueryUpdateError = unknown; @@ -4083,7 +4103,7 @@ export type SeqvarsApiQueryPartialUpdateData = { }; }; -export type SeqvarsApiQueryPartialUpdateResponse = SeqvarsQueryDetails; +export type SeqvarsApiQueryPartialUpdateResponse = (SeqvarsQueryDetails); export type SeqvarsApiQueryPartialUpdateError = unknown; @@ -4094,7 +4114,7 @@ export type SeqvarsApiQueryDestroyData = { }; }; -export type SeqvarsApiQueryDestroyResponse = void; +export type SeqvarsApiQueryDestroyResponse = (void); export type SeqvarsApiQueryDestroyError = unknown; @@ -4105,7 +4125,7 @@ export type SeqvarsApiQueryCreateFromCreateData = { }; }; -export type SeqvarsApiQueryCreateFromCreateResponse = SeqvarsQueryDetails; +export type SeqvarsApiQueryCreateFromCreateResponse = (SeqvarsQueryDetails); export type SeqvarsApiQueryCreateFromCreateError = unknown; @@ -4125,7 +4145,7 @@ export type SeqvarsApiQueryexecutionListData = { }; }; -export type SeqvarsApiQueryexecutionListResponse = PaginatedSeqvarsQueryExecutionList; +export type SeqvarsApiQueryexecutionListResponse = (PaginatedSeqvarsQueryExecutionList); export type SeqvarsApiQueryexecutionListError = unknown; @@ -4136,7 +4156,7 @@ export type SeqvarsApiQueryexecutionRetrieveData = { }; }; -export type SeqvarsApiQueryexecutionRetrieveResponse = SeqvarsQueryExecutionDetails; +export type SeqvarsApiQueryexecutionRetrieveResponse = (SeqvarsQueryExecutionDetails); export type SeqvarsApiQueryexecutionRetrieveError = unknown; @@ -4156,7 +4176,7 @@ export type SeqvarsApiQuerypresetsclinvarListData = { }; }; -export type SeqvarsApiQuerypresetsclinvarListResponse = PaginatedSeqvarsQueryPresetsClinvarList; +export type SeqvarsApiQuerypresetsclinvarListResponse = (PaginatedSeqvarsQueryPresetsClinvarList); export type SeqvarsApiQuerypresetsclinvarListError = unknown; @@ -4167,7 +4187,7 @@ export type SeqvarsApiQuerypresetsclinvarCreateData = { }; }; -export type SeqvarsApiQuerypresetsclinvarCreateResponse = SeqvarsQueryPresetsClinvar; +export type SeqvarsApiQuerypresetsclinvarCreateResponse = (SeqvarsQueryPresetsClinvar); export type SeqvarsApiQuerypresetsclinvarCreateError = unknown; @@ -4178,7 +4198,7 @@ export type SeqvarsApiQuerypresetsclinvarRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsclinvarRetrieveResponse = SeqvarsQueryPresetsClinvar; +export type SeqvarsApiQuerypresetsclinvarRetrieveResponse = (SeqvarsQueryPresetsClinvar); export type SeqvarsApiQuerypresetsclinvarRetrieveError = unknown; @@ -4190,7 +4210,7 @@ export type SeqvarsApiQuerypresetsclinvarUpdateData = { }; }; -export type SeqvarsApiQuerypresetsclinvarUpdateResponse = SeqvarsQueryPresetsClinvar; +export type SeqvarsApiQuerypresetsclinvarUpdateResponse = (SeqvarsQueryPresetsClinvar); export type SeqvarsApiQuerypresetsclinvarUpdateError = unknown; @@ -4202,7 +4222,7 @@ export type SeqvarsApiQuerypresetsclinvarPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetsclinvarPartialUpdateResponse = SeqvarsQueryPresetsClinvar; +export type SeqvarsApiQuerypresetsclinvarPartialUpdateResponse = (SeqvarsQueryPresetsClinvar); export type SeqvarsApiQuerypresetsclinvarPartialUpdateError = unknown; @@ -4213,7 +4233,7 @@ export type SeqvarsApiQuerypresetsclinvarDestroyData = { }; }; -export type SeqvarsApiQuerypresetsclinvarDestroyResponse = void; +export type SeqvarsApiQuerypresetsclinvarDestroyResponse = (void); export type SeqvarsApiQuerypresetsclinvarDestroyError = unknown; @@ -4233,7 +4253,7 @@ export type SeqvarsApiQuerypresetscolumnsListData = { }; }; -export type SeqvarsApiQuerypresetscolumnsListResponse = PaginatedSeqvarsQueryPresetsColumnsList; +export type SeqvarsApiQuerypresetscolumnsListResponse = (PaginatedSeqvarsQueryPresetsColumnsList); export type SeqvarsApiQuerypresetscolumnsListError = unknown; @@ -4244,7 +4264,7 @@ export type SeqvarsApiQuerypresetscolumnsCreateData = { }; }; -export type SeqvarsApiQuerypresetscolumnsCreateResponse = SeqvarsQueryPresetsColumns; +export type SeqvarsApiQuerypresetscolumnsCreateResponse = (SeqvarsQueryPresetsColumns); export type SeqvarsApiQuerypresetscolumnsCreateError = unknown; @@ -4255,7 +4275,7 @@ export type SeqvarsApiQuerypresetscolumnsRetrieveData = { }; }; -export type SeqvarsApiQuerypresetscolumnsRetrieveResponse = SeqvarsQueryPresetsColumns; +export type SeqvarsApiQuerypresetscolumnsRetrieveResponse = (SeqvarsQueryPresetsColumns); export type SeqvarsApiQuerypresetscolumnsRetrieveError = unknown; @@ -4267,7 +4287,7 @@ export type SeqvarsApiQuerypresetscolumnsUpdateData = { }; }; -export type SeqvarsApiQuerypresetscolumnsUpdateResponse = SeqvarsQueryPresetsColumns; +export type SeqvarsApiQuerypresetscolumnsUpdateResponse = (SeqvarsQueryPresetsColumns); export type SeqvarsApiQuerypresetscolumnsUpdateError = unknown; @@ -4279,7 +4299,7 @@ export type SeqvarsApiQuerypresetscolumnsPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetscolumnsPartialUpdateResponse = SeqvarsQueryPresetsColumns; +export type SeqvarsApiQuerypresetscolumnsPartialUpdateResponse = (SeqvarsQueryPresetsColumns); export type SeqvarsApiQuerypresetscolumnsPartialUpdateError = unknown; @@ -4290,7 +4310,7 @@ export type SeqvarsApiQuerypresetscolumnsDestroyData = { }; }; -export type SeqvarsApiQuerypresetscolumnsDestroyResponse = void; +export type SeqvarsApiQuerypresetscolumnsDestroyResponse = (void); export type SeqvarsApiQuerypresetscolumnsDestroyError = unknown; @@ -4310,7 +4330,7 @@ export type SeqvarsApiQuerypresetsconsequenceListData = { }; }; -export type SeqvarsApiQuerypresetsconsequenceListResponse = PaginatedSeqvarsQueryPresetsConsequenceList; +export type SeqvarsApiQuerypresetsconsequenceListResponse = (PaginatedSeqvarsQueryPresetsConsequenceList); export type SeqvarsApiQuerypresetsconsequenceListError = unknown; @@ -4321,7 +4341,7 @@ export type SeqvarsApiQuerypresetsconsequenceCreateData = { }; }; -export type SeqvarsApiQuerypresetsconsequenceCreateResponse = SeqvarsQueryPresetsConsequence; +export type SeqvarsApiQuerypresetsconsequenceCreateResponse = (SeqvarsQueryPresetsConsequence); export type SeqvarsApiQuerypresetsconsequenceCreateError = unknown; @@ -4332,7 +4352,7 @@ export type SeqvarsApiQuerypresetsconsequenceRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsconsequenceRetrieveResponse = SeqvarsQueryPresetsConsequence; +export type SeqvarsApiQuerypresetsconsequenceRetrieveResponse = (SeqvarsQueryPresetsConsequence); export type SeqvarsApiQuerypresetsconsequenceRetrieveError = unknown; @@ -4344,7 +4364,7 @@ export type SeqvarsApiQuerypresetsconsequenceUpdateData = { }; }; -export type SeqvarsApiQuerypresetsconsequenceUpdateResponse = SeqvarsQueryPresetsConsequence; +export type SeqvarsApiQuerypresetsconsequenceUpdateResponse = (SeqvarsQueryPresetsConsequence); export type SeqvarsApiQuerypresetsconsequenceUpdateError = unknown; @@ -4356,7 +4376,7 @@ export type SeqvarsApiQuerypresetsconsequencePartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetsconsequencePartialUpdateResponse = SeqvarsQueryPresetsConsequence; +export type SeqvarsApiQuerypresetsconsequencePartialUpdateResponse = (SeqvarsQueryPresetsConsequence); export type SeqvarsApiQuerypresetsconsequencePartialUpdateError = unknown; @@ -4367,7 +4387,7 @@ export type SeqvarsApiQuerypresetsconsequenceDestroyData = { }; }; -export type SeqvarsApiQuerypresetsconsequenceDestroyResponse = void; +export type SeqvarsApiQuerypresetsconsequenceDestroyResponse = (void); export type SeqvarsApiQuerypresetsconsequenceDestroyError = unknown; @@ -4384,7 +4404,7 @@ export type SeqvarsApiQuerypresetsfactorydefaultsListData = { }; }; -export type SeqvarsApiQuerypresetsfactorydefaultsListResponse = PaginatedSeqvarsQueryPresetsSetList; +export type SeqvarsApiQuerypresetsfactorydefaultsListResponse = (PaginatedSeqvarsQueryPresetsSetList); export type SeqvarsApiQuerypresetsfactorydefaultsListError = unknown; @@ -4394,7 +4414,7 @@ export type SeqvarsApiQuerypresetsfactorydefaultsRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsfactorydefaultsRetrieveResponse = SeqvarsQueryPresetsSetDetails; +export type SeqvarsApiQuerypresetsfactorydefaultsRetrieveResponse = (SeqvarsQueryPresetsSetDetails); export type SeqvarsApiQuerypresetsfactorydefaultsRetrieveError = unknown; @@ -4414,7 +4434,7 @@ export type SeqvarsApiQuerypresetsfrequencyListData = { }; }; -export type SeqvarsApiQuerypresetsfrequencyListResponse = PaginatedSeqvarsQueryPresetsFrequencyList; +export type SeqvarsApiQuerypresetsfrequencyListResponse = (PaginatedSeqvarsQueryPresetsFrequencyList); export type SeqvarsApiQuerypresetsfrequencyListError = unknown; @@ -4425,7 +4445,7 @@ export type SeqvarsApiQuerypresetsfrequencyCreateData = { }; }; -export type SeqvarsApiQuerypresetsfrequencyCreateResponse = SeqvarsQueryPresetsFrequency; +export type SeqvarsApiQuerypresetsfrequencyCreateResponse = (SeqvarsQueryPresetsFrequency); export type SeqvarsApiQuerypresetsfrequencyCreateError = unknown; @@ -4436,7 +4456,7 @@ export type SeqvarsApiQuerypresetsfrequencyRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsfrequencyRetrieveResponse = SeqvarsQueryPresetsFrequency; +export type SeqvarsApiQuerypresetsfrequencyRetrieveResponse = (SeqvarsQueryPresetsFrequency); export type SeqvarsApiQuerypresetsfrequencyRetrieveError = unknown; @@ -4448,7 +4468,7 @@ export type SeqvarsApiQuerypresetsfrequencyUpdateData = { }; }; -export type SeqvarsApiQuerypresetsfrequencyUpdateResponse = SeqvarsQueryPresetsFrequency; +export type SeqvarsApiQuerypresetsfrequencyUpdateResponse = (SeqvarsQueryPresetsFrequency); export type SeqvarsApiQuerypresetsfrequencyUpdateError = unknown; @@ -4460,7 +4480,7 @@ export type SeqvarsApiQuerypresetsfrequencyPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetsfrequencyPartialUpdateResponse = SeqvarsQueryPresetsFrequency; +export type SeqvarsApiQuerypresetsfrequencyPartialUpdateResponse = (SeqvarsQueryPresetsFrequency); export type SeqvarsApiQuerypresetsfrequencyPartialUpdateError = unknown; @@ -4471,7 +4491,7 @@ export type SeqvarsApiQuerypresetsfrequencyDestroyData = { }; }; -export type SeqvarsApiQuerypresetsfrequencyDestroyResponse = void; +export type SeqvarsApiQuerypresetsfrequencyDestroyResponse = (void); export type SeqvarsApiQuerypresetsfrequencyDestroyError = unknown; @@ -4491,7 +4511,7 @@ export type SeqvarsApiQuerypresetslocusListData = { }; }; -export type SeqvarsApiQuerypresetslocusListResponse = PaginatedSeqvarsQueryPresetsLocusList; +export type SeqvarsApiQuerypresetslocusListResponse = (PaginatedSeqvarsQueryPresetsLocusList); export type SeqvarsApiQuerypresetslocusListError = unknown; @@ -4502,7 +4522,7 @@ export type SeqvarsApiQuerypresetslocusCreateData = { }; }; -export type SeqvarsApiQuerypresetslocusCreateResponse = SeqvarsQueryPresetsLocus; +export type SeqvarsApiQuerypresetslocusCreateResponse = (SeqvarsQueryPresetsLocus); export type SeqvarsApiQuerypresetslocusCreateError = unknown; @@ -4513,7 +4533,7 @@ export type SeqvarsApiQuerypresetslocusRetrieveData = { }; }; -export type SeqvarsApiQuerypresetslocusRetrieveResponse = SeqvarsQueryPresetsLocus; +export type SeqvarsApiQuerypresetslocusRetrieveResponse = (SeqvarsQueryPresetsLocus); export type SeqvarsApiQuerypresetslocusRetrieveError = unknown; @@ -4525,7 +4545,7 @@ export type SeqvarsApiQuerypresetslocusUpdateData = { }; }; -export type SeqvarsApiQuerypresetslocusUpdateResponse = SeqvarsQueryPresetsLocus; +export type SeqvarsApiQuerypresetslocusUpdateResponse = (SeqvarsQueryPresetsLocus); export type SeqvarsApiQuerypresetslocusUpdateError = unknown; @@ -4537,7 +4557,7 @@ export type SeqvarsApiQuerypresetslocusPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetslocusPartialUpdateResponse = SeqvarsQueryPresetsLocus; +export type SeqvarsApiQuerypresetslocusPartialUpdateResponse = (SeqvarsQueryPresetsLocus); export type SeqvarsApiQuerypresetslocusPartialUpdateError = unknown; @@ -4548,7 +4568,7 @@ export type SeqvarsApiQuerypresetslocusDestroyData = { }; }; -export type SeqvarsApiQuerypresetslocusDestroyResponse = void; +export type SeqvarsApiQuerypresetslocusDestroyResponse = (void); export type SeqvarsApiQuerypresetslocusDestroyError = unknown; @@ -4568,7 +4588,7 @@ export type SeqvarsApiQuerypresetsphenotypeprioListData = { }; }; -export type SeqvarsApiQuerypresetsphenotypeprioListResponse = PaginatedSeqvarsQueryPresetsPhenotypePrioList; +export type SeqvarsApiQuerypresetsphenotypeprioListResponse = (PaginatedSeqvarsQueryPresetsPhenotypePrioList); export type SeqvarsApiQuerypresetsphenotypeprioListError = unknown; @@ -4579,7 +4599,7 @@ export type SeqvarsApiQuerypresetsphenotypeprioCreateData = { }; }; -export type SeqvarsApiQuerypresetsphenotypeprioCreateResponse = SeqvarsQueryPresetsPhenotypePrio; +export type SeqvarsApiQuerypresetsphenotypeprioCreateResponse = (SeqvarsQueryPresetsPhenotypePrio); export type SeqvarsApiQuerypresetsphenotypeprioCreateError = unknown; @@ -4590,7 +4610,7 @@ export type SeqvarsApiQuerypresetsphenotypeprioRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsphenotypeprioRetrieveResponse = SeqvarsQueryPresetsPhenotypePrio; +export type SeqvarsApiQuerypresetsphenotypeprioRetrieveResponse = (SeqvarsQueryPresetsPhenotypePrio); export type SeqvarsApiQuerypresetsphenotypeprioRetrieveError = unknown; @@ -4602,7 +4622,7 @@ export type SeqvarsApiQuerypresetsphenotypeprioUpdateData = { }; }; -export type SeqvarsApiQuerypresetsphenotypeprioUpdateResponse = SeqvarsQueryPresetsPhenotypePrio; +export type SeqvarsApiQuerypresetsphenotypeprioUpdateResponse = (SeqvarsQueryPresetsPhenotypePrio); export type SeqvarsApiQuerypresetsphenotypeprioUpdateError = unknown; @@ -4614,7 +4634,7 @@ export type SeqvarsApiQuerypresetsphenotypeprioPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetsphenotypeprioPartialUpdateResponse = SeqvarsQueryPresetsPhenotypePrio; +export type SeqvarsApiQuerypresetsphenotypeprioPartialUpdateResponse = (SeqvarsQueryPresetsPhenotypePrio); export type SeqvarsApiQuerypresetsphenotypeprioPartialUpdateError = unknown; @@ -4625,7 +4645,7 @@ export type SeqvarsApiQuerypresetsphenotypeprioDestroyData = { }; }; -export type SeqvarsApiQuerypresetsphenotypeprioDestroyResponse = void; +export type SeqvarsApiQuerypresetsphenotypeprioDestroyResponse = (void); export type SeqvarsApiQuerypresetsphenotypeprioDestroyError = unknown; @@ -4645,7 +4665,7 @@ export type SeqvarsApiQuerypresetsqualityListData = { }; }; -export type SeqvarsApiQuerypresetsqualityListResponse = PaginatedSeqvarsQueryPresetsQualityList; +export type SeqvarsApiQuerypresetsqualityListResponse = (PaginatedSeqvarsQueryPresetsQualityList); export type SeqvarsApiQuerypresetsqualityListError = unknown; @@ -4656,7 +4676,7 @@ export type SeqvarsApiQuerypresetsqualityCreateData = { }; }; -export type SeqvarsApiQuerypresetsqualityCreateResponse = SeqvarsQueryPresetsQuality; +export type SeqvarsApiQuerypresetsqualityCreateResponse = (SeqvarsQueryPresetsQuality); export type SeqvarsApiQuerypresetsqualityCreateError = unknown; @@ -4667,7 +4687,7 @@ export type SeqvarsApiQuerypresetsqualityRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsqualityRetrieveResponse = SeqvarsQueryPresetsQuality; +export type SeqvarsApiQuerypresetsqualityRetrieveResponse = (SeqvarsQueryPresetsQuality); export type SeqvarsApiQuerypresetsqualityRetrieveError = unknown; @@ -4679,7 +4699,7 @@ export type SeqvarsApiQuerypresetsqualityUpdateData = { }; }; -export type SeqvarsApiQuerypresetsqualityUpdateResponse = SeqvarsQueryPresetsQuality; +export type SeqvarsApiQuerypresetsqualityUpdateResponse = (SeqvarsQueryPresetsQuality); export type SeqvarsApiQuerypresetsqualityUpdateError = unknown; @@ -4691,7 +4711,7 @@ export type SeqvarsApiQuerypresetsqualityPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetsqualityPartialUpdateResponse = SeqvarsQueryPresetsQuality; +export type SeqvarsApiQuerypresetsqualityPartialUpdateResponse = (SeqvarsQueryPresetsQuality); export type SeqvarsApiQuerypresetsqualityPartialUpdateError = unknown; @@ -4702,7 +4722,7 @@ export type SeqvarsApiQuerypresetsqualityDestroyData = { }; }; -export type SeqvarsApiQuerypresetsqualityDestroyResponse = void; +export type SeqvarsApiQuerypresetsqualityDestroyResponse = (void); export type SeqvarsApiQuerypresetsqualityDestroyError = unknown; @@ -4722,7 +4742,7 @@ export type SeqvarsApiQuerypresetssetListData = { }; }; -export type SeqvarsApiQuerypresetssetListResponse = PaginatedSeqvarsQueryPresetsSetList; +export type SeqvarsApiQuerypresetssetListResponse = (PaginatedSeqvarsQueryPresetsSetList); export type SeqvarsApiQuerypresetssetListError = unknown; @@ -4733,7 +4753,7 @@ export type SeqvarsApiQuerypresetssetCreateData = { }; }; -export type SeqvarsApiQuerypresetssetCreateResponse = SeqvarsQueryPresetsSet; +export type SeqvarsApiQuerypresetssetCreateResponse = (SeqvarsQueryPresetsSet); export type SeqvarsApiQuerypresetssetCreateError = unknown; @@ -4744,7 +4764,7 @@ export type SeqvarsApiQuerypresetssetRetrieveData = { }; }; -export type SeqvarsApiQuerypresetssetRetrieveResponse = SeqvarsQueryPresetsSet; +export type SeqvarsApiQuerypresetssetRetrieveResponse = (SeqvarsQueryPresetsSet); export type SeqvarsApiQuerypresetssetRetrieveError = unknown; @@ -4756,7 +4776,7 @@ export type SeqvarsApiQuerypresetssetUpdateData = { }; }; -export type SeqvarsApiQuerypresetssetUpdateResponse = SeqvarsQueryPresetsSet; +export type SeqvarsApiQuerypresetssetUpdateResponse = (SeqvarsQueryPresetsSet); export type SeqvarsApiQuerypresetssetUpdateError = unknown; @@ -4768,7 +4788,7 @@ export type SeqvarsApiQuerypresetssetPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetssetPartialUpdateResponse = SeqvarsQueryPresetsSet; +export type SeqvarsApiQuerypresetssetPartialUpdateResponse = (SeqvarsQueryPresetsSet); export type SeqvarsApiQuerypresetssetPartialUpdateError = unknown; @@ -4779,7 +4799,7 @@ export type SeqvarsApiQuerypresetssetDestroyData = { }; }; -export type SeqvarsApiQuerypresetssetDestroyResponse = void; +export type SeqvarsApiQuerypresetssetDestroyResponse = (void); export type SeqvarsApiQuerypresetssetDestroyError = unknown; @@ -4791,7 +4811,7 @@ export type SeqvarsApiQuerypresetssetCopyFromCreateData = { }; }; -export type SeqvarsApiQuerypresetssetCopyFromCreateResponse = SeqvarsQueryPresetsSet; +export type SeqvarsApiQuerypresetssetCopyFromCreateResponse = (SeqvarsQueryPresetsSet); export type SeqvarsApiQuerypresetssetCopyFromCreateError = unknown; @@ -4811,7 +4831,7 @@ export type SeqvarsApiQuerypresetssetversionListData = { }; }; -export type SeqvarsApiQuerypresetssetversionListResponse = PaginatedSeqvarsQueryPresetsSetVersionList; +export type SeqvarsApiQuerypresetssetversionListResponse = (PaginatedSeqvarsQueryPresetsSetVersionList); export type SeqvarsApiQuerypresetssetversionListError = unknown; @@ -4822,7 +4842,7 @@ export type SeqvarsApiQuerypresetssetversionCreateData = { }; }; -export type SeqvarsApiQuerypresetssetversionCreateResponse = SeqvarsQueryPresetsSetVersion; +export type SeqvarsApiQuerypresetssetversionCreateResponse = (SeqvarsQueryPresetsSetVersion); export type SeqvarsApiQuerypresetssetversionCreateError = unknown; @@ -4833,7 +4853,7 @@ export type SeqvarsApiQuerypresetssetversionRetrieveData = { }; }; -export type SeqvarsApiQuerypresetssetversionRetrieveResponse = SeqvarsQueryPresetsSetVersionDetails; +export type SeqvarsApiQuerypresetssetversionRetrieveResponse = (SeqvarsQueryPresetsSetVersionDetails); export type SeqvarsApiQuerypresetssetversionRetrieveError = unknown; @@ -4845,7 +4865,7 @@ export type SeqvarsApiQuerypresetssetversionUpdateData = { }; }; -export type SeqvarsApiQuerypresetssetversionUpdateResponse = SeqvarsQueryPresetsSetVersion; +export type SeqvarsApiQuerypresetssetversionUpdateResponse = (SeqvarsQueryPresetsSetVersion); export type SeqvarsApiQuerypresetssetversionUpdateError = unknown; @@ -4857,7 +4877,7 @@ export type SeqvarsApiQuerypresetssetversionPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetssetversionPartialUpdateResponse = SeqvarsQueryPresetsSetVersion; +export type SeqvarsApiQuerypresetssetversionPartialUpdateResponse = (SeqvarsQueryPresetsSetVersion); export type SeqvarsApiQuerypresetssetversionPartialUpdateError = unknown; @@ -4868,7 +4888,7 @@ export type SeqvarsApiQuerypresetssetversionDestroyData = { }; }; -export type SeqvarsApiQuerypresetssetversionDestroyResponse = void; +export type SeqvarsApiQuerypresetssetversionDestroyResponse = (void); export type SeqvarsApiQuerypresetssetversionDestroyError = unknown; @@ -4880,7 +4900,7 @@ export type SeqvarsApiQuerypresetssetversionCopyFromCreateData = { }; }; -export type SeqvarsApiQuerypresetssetversionCopyFromCreateResponse = SeqvarsQueryPresetsSetVersionDetails; +export type SeqvarsApiQuerypresetssetversionCopyFromCreateResponse = (SeqvarsQueryPresetsSetVersionDetails); export type SeqvarsApiQuerypresetssetversionCopyFromCreateError = unknown; @@ -4900,7 +4920,7 @@ export type SeqvarsApiQuerypresetsvariantprioListData = { }; }; -export type SeqvarsApiQuerypresetsvariantprioListResponse = PaginatedSeqvarsQueryPresetsVariantPrioList; +export type SeqvarsApiQuerypresetsvariantprioListResponse = (PaginatedSeqvarsQueryPresetsVariantPrioList); export type SeqvarsApiQuerypresetsvariantprioListError = unknown; @@ -4911,7 +4931,7 @@ export type SeqvarsApiQuerypresetsvariantprioCreateData = { }; }; -export type SeqvarsApiQuerypresetsvariantprioCreateResponse = SeqvarsQueryPresetsVariantPrio; +export type SeqvarsApiQuerypresetsvariantprioCreateResponse = (SeqvarsQueryPresetsVariantPrio); export type SeqvarsApiQuerypresetsvariantprioCreateError = unknown; @@ -4922,7 +4942,7 @@ export type SeqvarsApiQuerypresetsvariantprioRetrieveData = { }; }; -export type SeqvarsApiQuerypresetsvariantprioRetrieveResponse = SeqvarsQueryPresetsVariantPrio; +export type SeqvarsApiQuerypresetsvariantprioRetrieveResponse = (SeqvarsQueryPresetsVariantPrio); export type SeqvarsApiQuerypresetsvariantprioRetrieveError = unknown; @@ -4934,7 +4954,7 @@ export type SeqvarsApiQuerypresetsvariantprioUpdateData = { }; }; -export type SeqvarsApiQuerypresetsvariantprioUpdateResponse = SeqvarsQueryPresetsVariantPrio; +export type SeqvarsApiQuerypresetsvariantprioUpdateResponse = (SeqvarsQueryPresetsVariantPrio); export type SeqvarsApiQuerypresetsvariantprioUpdateError = unknown; @@ -4946,7 +4966,7 @@ export type SeqvarsApiQuerypresetsvariantprioPartialUpdateData = { }; }; -export type SeqvarsApiQuerypresetsvariantprioPartialUpdateResponse = SeqvarsQueryPresetsVariantPrio; +export type SeqvarsApiQuerypresetsvariantprioPartialUpdateResponse = (SeqvarsQueryPresetsVariantPrio); export type SeqvarsApiQuerypresetsvariantprioPartialUpdateError = unknown; @@ -4957,7 +4977,7 @@ export type SeqvarsApiQuerypresetsvariantprioDestroyData = { }; }; -export type SeqvarsApiQuerypresetsvariantprioDestroyResponse = void; +export type SeqvarsApiQuerypresetsvariantprioDestroyResponse = (void); export type SeqvarsApiQuerypresetsvariantprioDestroyError = unknown; @@ -4977,7 +4997,7 @@ export type SeqvarsApiQuerysettingsListData = { }; }; -export type SeqvarsApiQuerysettingsListResponse = PaginatedSeqvarsQuerySettingsList; +export type SeqvarsApiQuerysettingsListResponse = (PaginatedSeqvarsQuerySettingsList); export type SeqvarsApiQuerysettingsListError = unknown; @@ -4988,7 +5008,7 @@ export type SeqvarsApiQuerysettingsCreateData = { }; }; -export type SeqvarsApiQuerysettingsCreateResponse = SeqvarsQuerySettingsDetails; +export type SeqvarsApiQuerysettingsCreateResponse = (SeqvarsQuerySettingsDetails); export type SeqvarsApiQuerysettingsCreateError = unknown; @@ -4999,7 +5019,7 @@ export type SeqvarsApiQuerysettingsRetrieveData = { }; }; -export type SeqvarsApiQuerysettingsRetrieveResponse = SeqvarsQuerySettingsDetails; +export type SeqvarsApiQuerysettingsRetrieveResponse = (SeqvarsQuerySettingsDetails); export type SeqvarsApiQuerysettingsRetrieveError = unknown; @@ -5011,7 +5031,7 @@ export type SeqvarsApiQuerysettingsUpdateData = { }; }; -export type SeqvarsApiQuerysettingsUpdateResponse = SeqvarsQuerySettingsDetails; +export type SeqvarsApiQuerysettingsUpdateResponse = (SeqvarsQuerySettingsDetails); export type SeqvarsApiQuerysettingsUpdateError = unknown; @@ -5023,7 +5043,7 @@ export type SeqvarsApiQuerysettingsPartialUpdateData = { }; }; -export type SeqvarsApiQuerysettingsPartialUpdateResponse = SeqvarsQuerySettingsDetails; +export type SeqvarsApiQuerysettingsPartialUpdateResponse = (SeqvarsQuerySettingsDetails); export type SeqvarsApiQuerysettingsPartialUpdateError = unknown; @@ -5034,7 +5054,7 @@ export type SeqvarsApiQuerysettingsDestroyData = { }; }; -export type SeqvarsApiQuerysettingsDestroyResponse = void; +export type SeqvarsApiQuerysettingsDestroyResponse = (void); export type SeqvarsApiQuerysettingsDestroyError = unknown; @@ -5054,7 +5074,7 @@ export type SeqvarsApiResultrowListData = { }; }; -export type SeqvarsApiResultrowListResponse = PaginatedSeqvarsResultRowList; +export type SeqvarsApiResultrowListResponse = (PaginatedSeqvarsResultRowList); export type SeqvarsApiResultrowListError = unknown; @@ -5065,7 +5085,7 @@ export type SeqvarsApiResultrowRetrieveData = { }; }; -export type SeqvarsApiResultrowRetrieveResponse = SeqvarsResultRow; +export type SeqvarsApiResultrowRetrieveResponse = (SeqvarsResultRow); export type SeqvarsApiResultrowRetrieveError = unknown; @@ -5085,7 +5105,7 @@ export type SeqvarsApiResultsetListData = { }; }; -export type SeqvarsApiResultsetListResponse = PaginatedSeqvarsResultSetList; +export type SeqvarsApiResultsetListResponse = (PaginatedSeqvarsResultSetList); export type SeqvarsApiResultsetListError = unknown; @@ -5096,1146 +5116,6 @@ export type SeqvarsApiResultsetRetrieveData = { }; }; -export type SeqvarsApiResultsetRetrieveResponse = SeqvarsResultSet; - -export type SeqvarsApiResultsetRetrieveError = unknown; - -export type $OpenApiTs = { - '/cases-analysis/api/caseanalysis/{case}/': { - get: { - req: CasesAnalysisApiCaseanalysisListData; - res: { - '200': PaginatedCaseAnalysisList; - }; - }; - }; - '/cases-analysis/api/caseanalysis/{case}/{caseanalysis}/': { - get: { - req: CasesAnalysisApiCaseanalysisRetrieveData; - res: { - '200': CaseAnalysis; - }; - }; - }; - '/cases-analysis/api/caseanalysissession/{case}/': { - get: { - req: CasesAnalysisApiCaseanalysissessionListData; - res: { - '200': PaginatedCaseAnalysisSessionList; - }; - }; - }; - '/cases-analysis/api/caseanalysissession/{case}/{caseanalysissession}/': { - get: { - req: CasesAnalysisApiCaseanalysissessionRetrieveData; - res: { - '200': CaseAnalysisSession; - }; - }; - }; - '/cases-import/api/case-import-action/list-create/{project}/': { - get: { - req: CasesImportApiCaseImportActionListCreateListData; - res: { - '200': PaginatedCaseImportActionList; - }; - }; - post: { - req: CasesImportApiCaseImportActionListCreateCreateData; - res: { - '201': CaseImportAction; - }; - }; - }; - '/cases-import/api/case-import-action/retrieve-update-destroy/{caseimportaction}/': { - get: { - req: CasesImportApiCaseImportActionRetrieveUpdateDestroyRetrieveData; - res: { - '200': CaseImportAction; - }; - }; - put: { - req: CasesImportApiCaseImportActionRetrieveUpdateDestroyUpdateData; - res: { - '200': CaseImportAction; - }; - }; - patch: { - req: CasesImportApiCaseImportActionRetrieveUpdateDestroyPartialUpdateData; - res: { - '200': CaseImportAction; - }; - }; - delete: { - req: CasesImportApiCaseImportActionRetrieveUpdateDestroyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/cases-qc/api/caseqc/retrieve/{case}/': { - get: { - req: CasesQcApiCaseqcRetrieveRetrieveData; - res: { - '200': CaseQc; - }; - }; - }; - '/cases-qc/api/varfishstats/retrieve/{case}/': { - get: { - req: CasesQcApiVarfishstatsRetrieveRetrieveData; - res: { - '200': VarfishStats; - }; - }; - }; - '/cases/api/annotation-release-info/list/{case}/': { - get: { - req: CasesApiAnnotationReleaseInfoListListData; - res: { - '200': Array; - }; - }; - }; - '/cases/api/case-comment/list-create/{case}/': { - get: { - req: CasesApiCaseCommentListCreateListData; - res: { - '200': Array; - }; - }; - post: { - req: CasesApiCaseCommentListCreateCreateData; - res: { - '201': CaseComment; - }; - }; - }; - '/cases/api/case-phenotype-terms/list-create/{case}/': { - get: { - req: CasesApiCasePhenotypeTermsListCreateListData; - res: { - '200': Array; - }; - }; - post: { - req: CasesApiCasePhenotypeTermsListCreateCreateData; - res: { - '201': CasePhenotypeTerms; - }; - }; - }; - '/cases/api/case-phenotype-terms/retrieve-update-destroy/{casephenotypeterms}/': { - get: { - req: CasesApiCasePhenotypeTermsRetrieveUpdateDestroyRetrieveData; - res: { - '200': CasePhenotypeTerms; - }; - }; - put: { - req: CasesApiCasePhenotypeTermsRetrieveUpdateDestroyUpdateData; - res: { - '200': CasePhenotypeTerms; - }; - }; - patch: { - req: CasesApiCasePhenotypeTermsRetrieveUpdateDestroyPartialUpdateData; - res: { - '200': CasePhenotypeTerms; - }; - }; - delete: { - req: CasesApiCasePhenotypeTermsRetrieveUpdateDestroyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/cases/api/case/list/{project}/': { - get: { - req: CasesApiCaseListListData; - res: { - '200': PaginatedCaseSerializerNgList; - }; - }; - }; - '/cases/api/case/retrieve-update-destroy/{case}/': { - get: { - req: CasesApiCaseRetrieveUpdateDestroyRetrieveData; - res: { - '200': CaseSerializerNg; - }; - }; - put: { - req: CasesApiCaseRetrieveUpdateDestroyUpdateData; - res: { - '200': CaseSerializerNg; - }; - }; - patch: { - req: CasesApiCaseRetrieveUpdateDestroyPartialUpdateData; - res: { - '200': CaseSerializerNg; - }; - }; - delete: { - req: CasesApiCaseRetrieveUpdateDestroyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/cases/api/sv-annotation-release-info/list/{case}/': { - get: { - req: CasesApiSvAnnotationReleaseInfoListListData; - res: { - '200': Array; - }; - }; - }; - '/cases/api/user-and-global-settings/': { - get: { - res: { - '200': UserAndGlobalSettings; - }; - }; - }; - '/genepanels/api/genepanel-category/list/': { - get: { - res: { - '200': Array; - }; - }; - }; - '/genepanels/api/lookup-genepanel/': { - get: { - res: { - '200': GenePanel; - }; - }; - }; - '/project/api/create': { - post: { - req: ProjectApiCreateCreateData; - res: { - '201': Project; - }; - }; - }; - '/project/api/invites/create/{project}': { - post: { - req: ProjectApiInvitesCreateCreateData; - res: { - '201': ProjectInvite; - }; - }; - }; - '/project/api/invites/list/{project}': { - get: { - req: ProjectApiInvitesListListData; - res: { - '200': Array; - }; - }; - }; - '/project/api/invites/resend/{projectinvite}': { - post: { - req: ProjectApiInvitesResendCreateData; - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/invites/revoke/{projectinvite}': { - post: { - req: ProjectApiInvitesRevokeCreateData; - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/list': { - get: { - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/remote/get/{secret}': { - get: { - req: ProjectApiRemoteGetRetrieveData; - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/retrieve/{project}': { - get: { - req: ProjectApiRetrieveRetrieveData; - res: { - '200': Project; - }; - }; - }; - '/project/api/roles/create/{project}': { - post: { - req: ProjectApiRolesCreateCreateData; - res: { - '201': RoleAssignment; - }; - }; - }; - '/project/api/roles/destroy/{roleassignment}': { - delete: { - req: ProjectApiRolesDestroyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/project/api/roles/owner-transfer/{project}': { - post: { - req: ProjectApiRolesOwnerTransferCreateData; - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/roles/update/{roleassignment}': { - put: { - req: ProjectApiRolesUpdateUpdateData; - res: { - '200': RoleAssignment; - }; - }; - patch: { - req: ProjectApiRolesUpdatePartialUpdateData; - res: { - '200': RoleAssignment; - }; - }; - }; - '/project/api/settings/retrieve/{project}': { - get: { - req: ProjectApiSettingsRetrieveRetrieveData; - res: { - '200': AppSetting; - }; - }; - }; - '/project/api/settings/retrieve/user': { - get: { - res: { - '200': AppSetting; - }; - }; - }; - '/project/api/settings/set/{project}': { - post: { - req: ProjectApiSettingsSetCreateData; - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/settings/set/user': { - post: { - res: { - /** - * No response body - */ - '200': unknown; - }; - }; - }; - '/project/api/update/{project}': { - put: { - req: ProjectApiUpdateUpdateData; - res: { - '200': Project; - }; - }; - patch: { - req: ProjectApiUpdatePartialUpdateData; - res: { - '200': Project; - }; - }; - }; - '/project/api/users/current': { - get: { - res: { - '200': SODARUser; - }; - }; - }; - '/project/api/users/list': { - get: { - res: { - '200': Array; - }; - }; - }; - '/seqmeta/api/enrichmentkit/list-create/': { - get: { - res: { - '200': Array; - }; - }; - post: { - req: SeqmetaApiEnrichmentkitListCreateCreateData; - res: { - '201': EnrichmentKit; - }; - }; - }; - '/seqmeta/api/enrichmentkit/retrieve-update-destroy/{enrichmentkit}/': { - get: { - req: SeqmetaApiEnrichmentkitRetrieveUpdateDestroyRetrieveData; - res: { - '200': EnrichmentKit; - }; - }; - put: { - req: SeqmetaApiEnrichmentkitRetrieveUpdateDestroyUpdateData; - res: { - '200': EnrichmentKit; - }; - }; - patch: { - req: SeqmetaApiEnrichmentkitRetrieveUpdateDestroyPartialUpdateData; - res: { - '200': EnrichmentKit; - }; - }; - delete: { - req: SeqmetaApiEnrichmentkitRetrieveUpdateDestroyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqmeta/api/targetbedfile/list-create/{enrichmentkit}/': { - get: { - req: SeqmetaApiTargetbedfileListCreateListData; - res: { - '200': Array; - }; - }; - post: { - req: SeqmetaApiTargetbedfileListCreateCreateData; - res: { - '201': TargetBedFile; - }; - }; - }; - '/seqmeta/api/targetbedfile/retrieve-update-destroy/{targetbedfile}/': { - get: { - req: SeqmetaApiTargetbedfileRetrieveUpdateDestroyRetrieveData; - res: { - '200': TargetBedFile; - }; - }; - put: { - req: SeqmetaApiTargetbedfileRetrieveUpdateDestroyUpdateData; - res: { - '200': TargetBedFile; - }; - }; - patch: { - req: SeqmetaApiTargetbedfileRetrieveUpdateDestroyPartialUpdateData; - res: { - '200': TargetBedFile; - }; - }; - delete: { - req: SeqmetaApiTargetbedfileRetrieveUpdateDestroyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/predefinedquery/{querypresetssetversion}/': { - get: { - req: SeqvarsApiPredefinedqueryListData; - res: { - '200': PaginatedSeqvarsPredefinedQueryList; - }; - }; - post: { - req: SeqvarsApiPredefinedqueryCreateData; - res: { - '201': SeqvarsPredefinedQuery; - }; - }; - }; - '/seqvars/api/predefinedquery/{querypresetssetversion}/{predefinedquery}/': { - get: { - req: SeqvarsApiPredefinedqueryRetrieveData; - res: { - '200': SeqvarsPredefinedQuery; - }; - }; - put: { - req: SeqvarsApiPredefinedqueryUpdateData; - res: { - '200': SeqvarsPredefinedQuery; - }; - }; - patch: { - req: SeqvarsApiPredefinedqueryPartialUpdateData; - res: { - '200': SeqvarsPredefinedQuery; - }; - }; - delete: { - req: SeqvarsApiPredefinedqueryDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/query/{session}/': { - get: { - req: SeqvarsApiQueryListData; - res: { - '200': PaginatedSeqvarsQueryList; - }; - }; - post: { - req: SeqvarsApiQueryCreateData; - res: { - '201': SeqvarsQueryDetails; - }; - }; - }; - '/seqvars/api/query/{session}/{query}/': { - get: { - req: SeqvarsApiQueryRetrieveData; - res: { - '200': SeqvarsQueryDetails; - }; - }; - put: { - req: SeqvarsApiQueryUpdateData; - res: { - '200': SeqvarsQueryDetails; - }; - }; - patch: { - req: SeqvarsApiQueryPartialUpdateData; - res: { - '200': SeqvarsQueryDetails; - }; - }; - delete: { - req: SeqvarsApiQueryDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/query/{session}/create_from/': { - post: { - req: SeqvarsApiQueryCreateFromCreateData; - res: { - '200': SeqvarsQueryDetails; - }; - }; - }; - '/seqvars/api/queryexecution/{query}/': { - get: { - req: SeqvarsApiQueryexecutionListData; - res: { - '200': PaginatedSeqvarsQueryExecutionList; - }; - }; - }; - '/seqvars/api/queryexecution/{query}/{queryexecution}/': { - get: { - req: SeqvarsApiQueryexecutionRetrieveData; - res: { - '200': SeqvarsQueryExecutionDetails; - }; - }; - }; - '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetsclinvarListData; - res: { - '200': PaginatedSeqvarsQueryPresetsClinvarList; - }; - }; - post: { - req: SeqvarsApiQuerypresetsclinvarCreateData; - res: { - '201': SeqvarsQueryPresetsClinvar; - }; - }; - }; - '/seqvars/api/querypresetsclinvar/{querypresetssetversion}/{querypresetsclinvar}/': { - get: { - req: SeqvarsApiQuerypresetsclinvarRetrieveData; - res: { - '200': SeqvarsQueryPresetsClinvar; - }; - }; - put: { - req: SeqvarsApiQuerypresetsclinvarUpdateData; - res: { - '200': SeqvarsQueryPresetsClinvar; - }; - }; - patch: { - req: SeqvarsApiQuerypresetsclinvarPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsClinvar; - }; - }; - delete: { - req: SeqvarsApiQuerypresetsclinvarDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetscolumns/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetscolumnsListData; - res: { - '200': PaginatedSeqvarsQueryPresetsColumnsList; - }; - }; - post: { - req: SeqvarsApiQuerypresetscolumnsCreateData; - res: { - '201': SeqvarsQueryPresetsColumns; - }; - }; - }; - '/seqvars/api/querypresetscolumns/{querypresetssetversion}/{querypresetscolumns}/': { - get: { - req: SeqvarsApiQuerypresetscolumnsRetrieveData; - res: { - '200': SeqvarsQueryPresetsColumns; - }; - }; - put: { - req: SeqvarsApiQuerypresetscolumnsUpdateData; - res: { - '200': SeqvarsQueryPresetsColumns; - }; - }; - patch: { - req: SeqvarsApiQuerypresetscolumnsPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsColumns; - }; - }; - delete: { - req: SeqvarsApiQuerypresetscolumnsDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetsconsequenceListData; - res: { - '200': PaginatedSeqvarsQueryPresetsConsequenceList; - }; - }; - post: { - req: SeqvarsApiQuerypresetsconsequenceCreateData; - res: { - '201': SeqvarsQueryPresetsConsequence; - }; - }; - }; - '/seqvars/api/querypresetsconsequence/{querypresetssetversion}/{querypresetsconsequence}/': { - get: { - req: SeqvarsApiQuerypresetsconsequenceRetrieveData; - res: { - '200': SeqvarsQueryPresetsConsequence; - }; - }; - put: { - req: SeqvarsApiQuerypresetsconsequenceUpdateData; - res: { - '200': SeqvarsQueryPresetsConsequence; - }; - }; - patch: { - req: SeqvarsApiQuerypresetsconsequencePartialUpdateData; - res: { - '200': SeqvarsQueryPresetsConsequence; - }; - }; - delete: { - req: SeqvarsApiQuerypresetsconsequenceDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetsfactorydefaults/': { - get: { - req: SeqvarsApiQuerypresetsfactorydefaultsListData; - res: { - '200': PaginatedSeqvarsQueryPresetsSetList; - }; - }; - }; - '/seqvars/api/querypresetsfactorydefaults/{querypresetsset}/': { - get: { - req: SeqvarsApiQuerypresetsfactorydefaultsRetrieveData; - res: { - '200': SeqvarsQueryPresetsSetDetails; - }; - }; - }; - '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetsfrequencyListData; - res: { - '200': PaginatedSeqvarsQueryPresetsFrequencyList; - }; - }; - post: { - req: SeqvarsApiQuerypresetsfrequencyCreateData; - res: { - '201': SeqvarsQueryPresetsFrequency; - }; - }; - }; - '/seqvars/api/querypresetsfrequency/{querypresetssetversion}/{querypresetsfrequency}/': { - get: { - req: SeqvarsApiQuerypresetsfrequencyRetrieveData; - res: { - '200': SeqvarsQueryPresetsFrequency; - }; - }; - put: { - req: SeqvarsApiQuerypresetsfrequencyUpdateData; - res: { - '200': SeqvarsQueryPresetsFrequency; - }; - }; - patch: { - req: SeqvarsApiQuerypresetsfrequencyPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsFrequency; - }; - }; - delete: { - req: SeqvarsApiQuerypresetsfrequencyDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetslocus/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetslocusListData; - res: { - '200': PaginatedSeqvarsQueryPresetsLocusList; - }; - }; - post: { - req: SeqvarsApiQuerypresetslocusCreateData; - res: { - '201': SeqvarsQueryPresetsLocus; - }; - }; - }; - '/seqvars/api/querypresetslocus/{querypresetssetversion}/{querypresetslocus}/': { - get: { - req: SeqvarsApiQuerypresetslocusRetrieveData; - res: { - '200': SeqvarsQueryPresetsLocus; - }; - }; - put: { - req: SeqvarsApiQuerypresetslocusUpdateData; - res: { - '200': SeqvarsQueryPresetsLocus; - }; - }; - patch: { - req: SeqvarsApiQuerypresetslocusPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsLocus; - }; - }; - delete: { - req: SeqvarsApiQuerypresetslocusDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetsphenotypeprioListData; - res: { - '200': PaginatedSeqvarsQueryPresetsPhenotypePrioList; - }; - }; - post: { - req: SeqvarsApiQuerypresetsphenotypeprioCreateData; - res: { - '201': SeqvarsQueryPresetsPhenotypePrio; - }; - }; - }; - '/seqvars/api/querypresetsphenotypeprio/{querypresetssetversion}/{querypresetsphenotypeprio}/': { - get: { - req: SeqvarsApiQuerypresetsphenotypeprioRetrieveData; - res: { - '200': SeqvarsQueryPresetsPhenotypePrio; - }; - }; - put: { - req: SeqvarsApiQuerypresetsphenotypeprioUpdateData; - res: { - '200': SeqvarsQueryPresetsPhenotypePrio; - }; - }; - patch: { - req: SeqvarsApiQuerypresetsphenotypeprioPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsPhenotypePrio; - }; - }; - delete: { - req: SeqvarsApiQuerypresetsphenotypeprioDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetsquality/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetsqualityListData; - res: { - '200': PaginatedSeqvarsQueryPresetsQualityList; - }; - }; - post: { - req: SeqvarsApiQuerypresetsqualityCreateData; - res: { - '201': SeqvarsQueryPresetsQuality; - }; - }; - }; - '/seqvars/api/querypresetsquality/{querypresetssetversion}/{querypresetsquality}/': { - get: { - req: SeqvarsApiQuerypresetsqualityRetrieveData; - res: { - '200': SeqvarsQueryPresetsQuality; - }; - }; - put: { - req: SeqvarsApiQuerypresetsqualityUpdateData; - res: { - '200': SeqvarsQueryPresetsQuality; - }; - }; - patch: { - req: SeqvarsApiQuerypresetsqualityPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsQuality; - }; - }; - delete: { - req: SeqvarsApiQuerypresetsqualityDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetsset/{project}/': { - get: { - req: SeqvarsApiQuerypresetssetListData; - res: { - '200': PaginatedSeqvarsQueryPresetsSetList; - }; - }; - post: { - req: SeqvarsApiQuerypresetssetCreateData; - res: { - '201': SeqvarsQueryPresetsSet; - }; - }; - }; - '/seqvars/api/querypresetsset/{project}/{querypresetsset}/': { - get: { - req: SeqvarsApiQuerypresetssetRetrieveData; - res: { - '200': SeqvarsQueryPresetsSet; - }; - }; - put: { - req: SeqvarsApiQuerypresetssetUpdateData; - res: { - '200': SeqvarsQueryPresetsSet; - }; - }; - patch: { - req: SeqvarsApiQuerypresetssetPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsSet; - }; - }; - delete: { - req: SeqvarsApiQuerypresetssetDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetsset/{project}/{querypresetsset}/copy_from/': { - post: { - req: SeqvarsApiQuerypresetssetCopyFromCreateData; - res: { - '200': SeqvarsQueryPresetsSet; - }; - }; - }; - '/seqvars/api/querypresetssetversion/{querypresetsset}/': { - get: { - req: SeqvarsApiQuerypresetssetversionListData; - res: { - '200': PaginatedSeqvarsQueryPresetsSetVersionList; - }; - }; - post: { - req: SeqvarsApiQuerypresetssetversionCreateData; - res: { - '201': SeqvarsQueryPresetsSetVersion; - }; - }; - }; - '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetssetversionRetrieveData; - res: { - '200': SeqvarsQueryPresetsSetVersionDetails; - }; - }; - put: { - req: SeqvarsApiQuerypresetssetversionUpdateData; - res: { - '200': SeqvarsQueryPresetsSetVersion; - }; - }; - patch: { - req: SeqvarsApiQuerypresetssetversionPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsSetVersion; - }; - }; - delete: { - req: SeqvarsApiQuerypresetssetversionDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querypresetssetversion/{querypresetsset}/{querypresetssetversion}/copy_from/': { - post: { - req: SeqvarsApiQuerypresetssetversionCopyFromCreateData; - res: { - '200': SeqvarsQueryPresetsSetVersionDetails; - }; - }; - }; - '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/': { - get: { - req: SeqvarsApiQuerypresetsvariantprioListData; - res: { - '200': PaginatedSeqvarsQueryPresetsVariantPrioList; - }; - }; - post: { - req: SeqvarsApiQuerypresetsvariantprioCreateData; - res: { - '201': SeqvarsQueryPresetsVariantPrio; - }; - }; - }; - '/seqvars/api/querypresetsvariantprio/{querypresetssetversion}/{querypresetsvariantprio}/': { - get: { - req: SeqvarsApiQuerypresetsvariantprioRetrieveData; - res: { - '200': SeqvarsQueryPresetsVariantPrio; - }; - }; - put: { - req: SeqvarsApiQuerypresetsvariantprioUpdateData; - res: { - '200': SeqvarsQueryPresetsVariantPrio; - }; - }; - patch: { - req: SeqvarsApiQuerypresetsvariantprioPartialUpdateData; - res: { - '200': SeqvarsQueryPresetsVariantPrio; - }; - }; - delete: { - req: SeqvarsApiQuerypresetsvariantprioDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/querysettings/{session}/': { - get: { - req: SeqvarsApiQuerysettingsListData; - res: { - '200': PaginatedSeqvarsQuerySettingsList; - }; - }; - post: { - req: SeqvarsApiQuerysettingsCreateData; - res: { - '201': SeqvarsQuerySettingsDetails; - }; - }; - }; - '/seqvars/api/querysettings/{session}/{querysettings}/': { - get: { - req: SeqvarsApiQuerysettingsRetrieveData; - res: { - '200': SeqvarsQuerySettingsDetails; - }; - }; - put: { - req: SeqvarsApiQuerysettingsUpdateData; - res: { - '200': SeqvarsQuerySettingsDetails; - }; - }; - patch: { - req: SeqvarsApiQuerysettingsPartialUpdateData; - res: { - '200': SeqvarsQuerySettingsDetails; - }; - }; - delete: { - req: SeqvarsApiQuerysettingsDestroyData; - res: { - /** - * No response body - */ - '204': void; - }; - }; - }; - '/seqvars/api/resultrow/{resultset}/': { - get: { - req: SeqvarsApiResultrowListData; - res: { - '200': PaginatedSeqvarsResultRowList; - }; - }; - }; - '/seqvars/api/resultrow/{resultset}/{seqvarresultrow}/': { - get: { - req: SeqvarsApiResultrowRetrieveData; - res: { - '200': SeqvarsResultRow; - }; - }; - }; - '/seqvars/api/resultset/{query}/': { - get: { - req: SeqvarsApiResultsetListData; - res: { - '200': PaginatedSeqvarsResultSetList; - }; - }; - }; - '/seqvars/api/resultset/{query}/{resultset}/': { - get: { - req: SeqvarsApiResultsetRetrieveData; - res: { - '200': SeqvarsResultSet; - }; - }; - }; -}; \ No newline at end of file +export type SeqvarsApiResultsetRetrieveResponse = (SeqvarsResultSet); + +export type SeqvarsApiResultsetRetrieveError = unknown; \ No newline at end of file diff --git a/frontend/ext/viguno-api/src/lib/@tanstack/vue-query.gen.ts b/frontend/ext/viguno-api/src/lib/@tanstack/vue-query.gen.ts new file mode 100644 index 000000000..3cd688598 --- /dev/null +++ b/frontend/ext/viguno-api/src/lib/@tanstack/vue-query.gen.ts @@ -0,0 +1,103 @@ +// This file is auto-generated by @hey-api/openapi-ts + +import type { Options } from '@hey-api/client-fetch'; +import { queryOptions } from '@tanstack/vue-query'; +import type { HpoGenesData, HpoOmimsData, HpoSimTermGeneData, HpoSimTermTermData, HpoTermsData } from '../types.gen'; +import { client, hpoGenes, hpoOmims, hpoSimTermGene, hpoSimTermTerm, hpoTerms } from '../services.gen'; + +type QueryKey = [ + Pick & { + _id: string; + _infinite?: boolean; + } +]; + +const createQueryKey = (id: string, options?: TOptions, infinite?: boolean): QueryKey[0] => { + const params: QueryKey[0] = { _id: id, baseUrl: client.getConfig().baseUrl } as QueryKey[0]; + if (infinite) { + params._infinite = infinite; + } + if (options?.body) { + params.body = options.body; + } + if (options?.headers) { + params.headers = options.headers; + } + if (options?.path) { + params.path = options.path; + } + if (options?.query) { + params.query = options.query; + } + return params; +}; + +export const hpoGenesOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await hpoGenes({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("hpoGenes", options) + ] +}); }; + +export const hpoOmimsOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await hpoOmims({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("hpoOmims", options) + ] +}); }; + +export const hpoSimTermGeneOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await hpoSimTermGene({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("hpoSimTermGene", options) + ] +}); }; + +export const hpoSimTermTermOptions = (options: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await hpoSimTermTerm({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("hpoSimTermTerm", options) + ] +}); }; + +export const hpoTermsOptions = (options?: Options) => { return queryOptions({ + queryFn: async ({ queryKey }) => { + const { data } = await hpoTerms({ + ...options, + ...queryKey[0], + throwOnError: true + }); + return data; + }, + queryKey: [ + createQueryKey("hpoTerms", options) + ] +}); }; \ No newline at end of file diff --git a/frontend/ext/viguno-api/src/lib/services.gen.ts b/frontend/ext/viguno-api/src/lib/services.gen.ts index 547027099..fd100f2de 100644 --- a/frontend/ext/viguno-api/src/lib/services.gen.ts +++ b/frontend/ext/viguno-api/src/lib/services.gen.ts @@ -1,78 +1,55 @@ // This file is auto-generated by @hey-api/openapi-ts -import { client, type Options } from '@hey-api/client-fetch'; +import { createClient, createConfig, type Options } from '@hey-api/client-fetch'; import type { HpoGenesData, HpoGenesError, HpoGenesResponse, HpoOmimsData, HpoOmimsError, HpoOmimsResponse, HpoSimTermGeneData, HpoSimTermGeneError, HpoSimTermGeneResponse, HpoSimTermTermData, HpoSimTermTermError, HpoSimTermTermResponse, HpoTermsData, HpoTermsError, HpoTermsResponse } from './types.gen'; -export class HpoGenesService { - /** - * Query for genes in the HPO database. - */ - public static hpoGenes(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/hpo/genes' - }); - } - -} +export const client = createClient(createConfig()); -export class HpoOmimsService { - /** - * Query for OMIM diseases in the HPO database. - */ - public static hpoOmims(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/hpo/omims' - }); - } - -} +/** + * Query for genes in the HPO database. + */ +export const hpoGenes = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/hpo/genes' +}); }; -export class HpoSimTermGeneService { - /** - * Query for similarity between a set of terms to each entry in a - * list of genes. - */ - public static hpoSimTermGene(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/hpo/sim/term-gene' - }); - } - -} +/** + * Query for OMIM diseases in the HPO database. + */ +export const hpoOmims = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/hpo/omims' +}); }; -export class HpoSimTermTermService { - /** - * Query for pairwise term similarity. - * In the case of Resnik, this corresponds to `IC(MICA(t_1, t_2))`. - * - * # Errors - * - * In the case that there is an error running the server. - */ - public static hpoSimTermTerm(options: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/hpo/sim/term-term' - }); - } - -} +/** + * Query for similarity between a set of terms to each entry in a + * list of genes. + */ +export const hpoSimTermGene = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/hpo/sim/term-gene' +}); }; -export class HpoTermsService { - /** - * Query for terms in the HPO database. - * # Errors - * - * In the case that there is an error running the server. - */ - public static hpoTerms(options?: Options) { - return (options?.client ?? client).get({ - ...options, - url: '/hpo/terms' - }); - } - -} \ No newline at end of file +/** + * Query for pairwise term similarity. + * In the case of Resnik, this corresponds to `IC(MICA(t_1, t_2))`. + * + * # Errors + * + * In the case that there is an error running the server. + */ +export const hpoSimTermTerm = (options: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/hpo/sim/term-term' +}); }; + +/** + * Query for terms in the HPO database. + * # Errors + * + * In the case that there is an error running the server. + */ +export const hpoTerms = (options?: Options) => { return (options?.client ?? client).get({ + ...options, + url: '/hpo/terms' +}); }; \ No newline at end of file diff --git a/frontend/ext/viguno-api/src/lib/types.gen.ts b/frontend/ext/viguno-api/src/lib/types.gen.ts index 80f5dc054..6a3f3c8e1 100644 --- a/frontend/ext/viguno-api/src/lib/types.gen.ts +++ b/frontend/ext/viguno-api/src/lib/types.gen.ts @@ -11,7 +11,7 @@ export type HpoTerm = { /** * The term name (optional). */ - term_name?: string | null; + term_name?: (string) | null; }; /** @@ -117,7 +117,7 @@ export type ResultGene = { /** * The HGNC ID. */ - hgnc_id?: string | null; + hgnc_id?: (string) | null; }; /** @@ -166,7 +166,7 @@ export type SimilarityMethod = 'distance-gene' | 'graph-ic' | 'information-coeff * Detailed term scores. */ export type TermDetails = { - term_query?: (HpoTerm) | null; + term_query?: ((HpoTerm) | null); term_gene: HpoTerm; /** * The similarity score. @@ -193,11 +193,11 @@ export type HpoGenesData = { /** * The gene ID to search for. */ - gene_id?: string | null; + gene_id?: (string) | null; /** * The gene symbol to search for. */ - gene_symbol?: string | null; + gene_symbol?: (string) | null; /** * Whether to include HPO terms. */ @@ -205,7 +205,7 @@ export type HpoGenesData = { /** * The match mode. */ - match_?: (Match) | null; + match_?: ((Match) | null); /** * Maximal number of results to return. */ @@ -213,7 +213,7 @@ export type HpoGenesData = { }; }; -export type HpoGenesResponse = Result; +export type HpoGenesResponse = (Result); export type HpoGenesError = unknown; @@ -226,11 +226,11 @@ export type HpoOmimsData = { /** * Whether case is insentivie, default is `false`. */ - ignore_case?: boolean | null; + ignore_case?: (boolean) | null; /** * The match mode, default is `Match::Exact`. */ - match_?: (Match) | null; + match_?: ((Match) | null); /** * Maximal number of results to return. */ @@ -238,15 +238,15 @@ export type HpoOmimsData = { /** * The disease name to search for. */ - name?: string | null; + name?: (string) | null; /** * The OMIM ID to search for. */ - omim_id?: string | null; + omim_id?: (string) | null; }; }; -export type HpoOmimsResponse = Result; +export type HpoOmimsResponse = (Result); export type HpoOmimsError = unknown; @@ -267,7 +267,7 @@ export type HpoSimTermGeneData = { }; }; -export type HpoSimTermGeneResponse = Result; +export type HpoSimTermGeneResponse = (Result); export type HpoSimTermGeneError = unknown; @@ -296,7 +296,7 @@ export type HpoSimTermTermData = { }; }; -export type HpoSimTermTermResponse = Result; +export type HpoSimTermTermResponse = (Result); export type HpoSimTermTermError = unknown; @@ -313,72 +313,14 @@ export type HpoTermsData = { /** * The term name to search for. */ - name?: string | null; + name?: (string) | null; /** * The term ID to search for. */ - term_id?: string | null; + term_id?: (string) | null; }; }; -export type HpoTermsResponse = Result; +export type HpoTermsResponse = (Result); -export type HpoTermsError = unknown; - -export type $OpenApiTs = { - '/hpo/genes': { - get: { - req: HpoGenesData; - res: { - /** - * The query was successful. - */ - '200': Result; - }; - }; - }; - '/hpo/omims': { - get: { - req: HpoOmimsData; - res: { - /** - * The query was successful. - */ - '200': Result; - }; - }; - }; - '/hpo/sim/term-gene': { - get: { - req: HpoSimTermGeneData; - res: { - /** - * The query was successful. - */ - '200': Result; - }; - }; - }; - '/hpo/sim/term-term': { - get: { - req: HpoSimTermTermData; - res: { - /** - * The query was successful. - */ - '200': Result; - }; - }; - }; - '/hpo/terms': { - get: { - req: HpoTermsData; - res: { - /** - * The query was successful. - */ - '200': Result; - }; - }; - }; -}; \ No newline at end of file +export type HpoTermsError = unknown; \ No newline at end of file diff --git a/frontend/openapi-ts.config.ts b/frontend/openapi-ts.config.ts index 3c3e2dfd6..d6277ff55 100644 --- a/frontend/openapi-ts.config.ts +++ b/frontend/openapi-ts.config.ts @@ -4,7 +4,7 @@ export default defineConfig({ client: '@hey-api/client-fetch', input: '../backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml', output: 'ext/varfish-api/src/lib', - services: { - asClass: true, - }, + plugins: [ + '@tanstack/vue-query' + ] }); diff --git a/frontend/openapi-ts.config.viguno.ts b/frontend/openapi-ts.config.viguno.ts index fdcfa64d6..52202d929 100644 --- a/frontend/openapi-ts.config.viguno.ts +++ b/frontend/openapi-ts.config.viguno.ts @@ -4,7 +4,7 @@ export default defineConfig({ client: '@hey-api/client-fetch', input: 'ext/viguno-api/openapi.yaml', output: 'ext/viguno-api/src/lib', - services: { - asClass: true, - }, + plugins: [ + '@tanstack/vue-query' + ] }); diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 49817842f..a8c8acd43 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,10 +8,12 @@ "name": "varfish-server", "version": "2.0.0", "dependencies": { - "@hey-api/client-fetch": "^0.1.7", + "@hey-api/client-fetch": "^0.2.4", "@mdi/font": "^7.4.47", "@protobuf-ts/runtime": "^2.9.4", "@reactgular/chunks": "^1.0.1", + "@tanstack/vue-query": "^5.52.0", + "@tanstack/vue-query-devtools": "^5.52.0", "@types/lodash.debounce": "^4.0.9", "@types/luxon": "^3.4.2", "@vueform/multiselect": "^2.6.7", @@ -50,7 +52,7 @@ "@babel/core": "^7.25.2", "@babel/eslint-parser": "^7.24.8", "@babel/preset-env": "^7.24.7", - "@hey-api/openapi-ts": "^0.51.0", + "@hey-api/openapi-ts": "^0.52.9", "@iconify-json/bi": "^1.1.23", "@iconify-json/carbon": "^1.1.36", "@iconify-json/cil": "^1.1.8", @@ -164,10 +166,11 @@ } }, "node_modules/@apidevtools/json-schema-ref-parser": { - "version": "11.6.4", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.6.4.tgz", - "integrity": "sha512-9K6xOqeevacvweLGik6LnZCb1fBtCOSIWQs8d096XGeqoLKC33UVMGz9+77Gw44KvbH4pKcQPWo4ZpxkXYj05w==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.7.0.tgz", + "integrity": "sha512-pRrmXMCwnmrkS3MLgAIW5dXRzeTv6GLjkjb4HmxNnvAKXN1Nfzp4KmGADBQvlVUcqi+a5D+hfGDLLnd5NnYxog==", "dev": true, + "license": "MIT", "dependencies": { "@jsdevtools/ono": "^7.1.3", "@types/json-schema": "^7.0.15", @@ -2686,19 +2689,20 @@ "dev": true }, "node_modules/@hey-api/client-fetch": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@hey-api/client-fetch/-/client-fetch-0.1.7.tgz", - "integrity": "sha512-WXQrj63YyTjfjR469fyFUdXyRw3vYfvFoQzg6I6mKyZBCbzLnOuz+BUVOeRbIe7fRij7g0uLS33JHusMTuRjiA==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@hey-api/client-fetch/-/client-fetch-0.2.4.tgz", + "integrity": "sha512-SGTVAVw3PlKDLw+IyhNhb/jCH3P1P2xJzLxA8Kyz1g95HrkYOJdRpl9F5I7LLwo9aCIB7nwR2NrSeX7QaQD7vQ==", + "license": "MIT" }, "node_modules/@hey-api/openapi-ts": { - "version": "0.51.0", - "resolved": "https://registry.npmjs.org/@hey-api/openapi-ts/-/openapi-ts-0.51.0.tgz", - "integrity": "sha512-ODZyPrUIVeufqPr6A2MEuLlk+UtaPQT40sgDD2OyfpK5gYFXS+/3A11guQoTX+wdgUgM6CR+cNh4MDXAScAlKg==", + "version": "0.52.9", + "resolved": "https://registry.npmjs.org/@hey-api/openapi-ts/-/openapi-ts-0.52.9.tgz", + "integrity": "sha512-257xD5lHAszpbj4US5GGnb5keqcYmnB0Sh+6BmPX4atettBOF9c3knU4mgZWEy75Dx3eEzgSMsJyUjRIVADX4w==", "dev": true, + "license": "MIT", "dependencies": { - "@apidevtools/json-schema-ref-parser": "11.6.4", + "@apidevtools/json-schema-ref-parser": "11.7.0", "c12": "1.11.1", - "camelcase": "8.0.0", "commander": "12.1.0", "handlebars": "4.7.8" }, @@ -3198,7 +3202,8 @@ "version": "7.1.3", "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@mdi/font": { "version": "7.4.47", @@ -6625,6 +6630,110 @@ "node": ">=14.16" } }, + "node_modules/@tanstack/match-sorter-utils": { + "version": "8.19.4", + "resolved": "https://registry.npmjs.org/@tanstack/match-sorter-utils/-/match-sorter-utils-8.19.4.tgz", + "integrity": "sha512-Wo1iKt2b9OT7d+YGhvEPD3DXvPv2etTusIMhMUoG7fbhmxcXCtIjJDEygy91Y2JFlwGyjqiBPRozme7UD8hoqg==", + "license": "MIT", + "dependencies": { + "remove-accents": "0.5.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/query-core": { + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.52.0.tgz", + "integrity": "sha512-U1DOEgltjUwalN6uWYTewSnA14b+tE7lSylOiASKCAO61ENJeCq9VVD/TXHA6O5u9+6v5+UgGYBSccTKDoyMqw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/query-devtools": { + "version": "5.51.16", + "resolved": "https://registry.npmjs.org/@tanstack/query-devtools/-/query-devtools-5.51.16.tgz", + "integrity": "sha512-ajwuq4WnkNCMj/Hy3KR8d3RtZ6PSKc1dD2vs2T408MdjgKzQ3klVoL6zDgVO7X+5jlb5zfgcO3thh4ojPhfIaw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "node_modules/@tanstack/vue-query": { + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@tanstack/vue-query/-/vue-query-5.52.0.tgz", + "integrity": "sha512-AfPLrWBIxbLy6x04eylfvpiCaAUJrIyz3MCWtANatFwme8QabQQ3F2/lskdNjeAqF0B2Tn2N2tzDrUa1aCCPVg==", + "license": "MIT", + "dependencies": { + "@tanstack/match-sorter-utils": "^8.15.1", + "@tanstack/query-core": "5.52.0", + "@vue/devtools-api": "^6.6.3", + "vue-demi": "^0.14.10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "@vue/composition-api": "^1.1.2", + "vue": "^2.6.0 || ^3.3.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/@tanstack/vue-query-devtools": { + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@tanstack/vue-query-devtools/-/vue-query-devtools-5.52.0.tgz", + "integrity": "sha512-RwR/t8fBYVtnoRtwx9fWT1XNzkTiogNQCSiwbTsW7zofjDQTbmp44DlnjmTc9mfidfpb6hFQs2zZhVpvjjz7Yg==", + "license": "MIT", + "dependencies": { + "@tanstack/query-devtools": "5.51.16" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "@tanstack/vue-query": "^5.52.0", + "vue": "^3.3.0" + } + }, + "node_modules/@tanstack/vue-query/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, "node_modules/@testing-library/dom": { "version": "9.3.4", "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.4.tgz", @@ -21688,6 +21797,12 @@ "node": ">=8" } }, + "node_modules/remove-accents": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.5.0.tgz", + "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==", + "license": "MIT" + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", diff --git a/frontend/package.json b/frontend/package.json index a31fce737..087b0720c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -16,10 +16,12 @@ "build-storybook": "storybook build" }, "dependencies": { - "@hey-api/client-fetch": "^0.1.7", + "@hey-api/client-fetch": "^0.2.4", "@mdi/font": "^7.4.47", "@protobuf-ts/runtime": "^2.9.4", "@reactgular/chunks": "^1.0.1", + "@tanstack/vue-query": "^5.52.0", + "@tanstack/vue-query-devtools": "^5.52.0", "@types/lodash.debounce": "^4.0.9", "@types/luxon": "^3.4.2", "@vueform/multiselect": "^2.6.7", @@ -58,7 +60,7 @@ "@babel/core": "^7.25.2", "@babel/eslint-parser": "^7.24.8", "@babel/preset-env": "^7.24.7", - "@hey-api/openapi-ts": "^0.51.0", + "@hey-api/openapi-ts": "^0.52.9", "@iconify-json/bi": "^1.1.23", "@iconify-json/carbon": "^1.1.36", "@iconify-json/cil": "^1.1.8", diff --git a/frontend/src/cases/components/CaseListTable/CaseListTable.vue b/frontend/src/cases/components/CaseListTable/CaseListTable.vue index e39971e99..220ca00e0 100644 --- a/frontend/src/cases/components/CaseListTable/CaseListTable.vue +++ b/frontend/src/cases/components/CaseListTable/CaseListTable.vue @@ -1,18 +1,17 @@